@doist/reactist 15.1.0 → 15.3.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 (101) hide show
  1. package/dist/reactist.cjs.development.js +90 -73
  2. package/dist/reactist.cjs.development.js.map +1 -1
  3. package/dist/reactist.cjs.production.min.js +1 -1
  4. package/dist/reactist.cjs.production.min.js.map +1 -1
  5. package/es/components/color-picker/color-picker.js +10 -10
  6. package/es/components/color-picker/color-picker.js.map +1 -1
  7. package/es/components/deprecated-button/deprecated-button.js +4 -4
  8. package/es/components/deprecated-button/deprecated-button.js.map +1 -1
  9. package/es/components/deprecated-dropdown/dropdown.js +9 -9
  10. package/es/components/deprecated-dropdown/dropdown.js.map +1 -1
  11. package/es/components/deprecated-input/input.js +3 -3
  12. package/es/components/deprecated-input/input.js.map +1 -1
  13. package/es/components/deprecated-select/select.js +3 -3
  14. package/es/components/deprecated-select/select.js.map +1 -1
  15. package/es/components/icons/CloseIcon.svg.js +3 -3
  16. package/es/components/icons/CloseIcon.svg.js.map +1 -1
  17. package/es/components/key-capturer/key-capturer.js +2 -2
  18. package/es/components/key-capturer/key-capturer.js.map +1 -1
  19. package/es/components/notification/notification.js +9 -9
  20. package/es/components/notification/notification.js.map +1 -1
  21. package/es/components/progress-bar/progress-bar.js +4 -4
  22. package/es/components/progress-bar/progress-bar.js.map +1 -1
  23. package/es/components/time/time.js +5 -5
  24. package/es/components/time/time.js.map +1 -1
  25. package/es/components/tooltip/tooltip.js +10 -10
  26. package/es/components/tooltip/tooltip.js.map +1 -1
  27. package/es/index.js +1 -0
  28. package/es/index.js.map +1 -1
  29. package/es/new-components/avatar/avatar.js +2 -2
  30. package/es/new-components/avatar/avatar.js.map +1 -1
  31. package/es/new-components/badge/badge.js +22 -0
  32. package/es/new-components/badge/badge.js.map +1 -0
  33. package/es/new-components/badge/badge.module.css.js +4 -0
  34. package/es/new-components/badge/badge.module.css.js.map +1 -0
  35. package/es/new-components/checkbox-field/checkbox-field.js.map +1 -1
  36. package/es/new-components/loading/loading.js +3 -3
  37. package/es/new-components/loading/loading.js.map +1 -1
  38. package/lib/components/color-picker/color-picker.d.ts +1 -1
  39. package/lib/components/color-picker/color-picker.js +1 -1
  40. package/lib/components/color-picker/color-picker.js.map +1 -1
  41. package/lib/components/deprecated-button/deprecated-button.d.ts +1 -1
  42. package/lib/components/deprecated-button/deprecated-button.js +1 -1
  43. package/lib/components/deprecated-button/deprecated-button.js.map +1 -1
  44. package/lib/components/deprecated-dropdown/dropdown.d.ts +1 -1
  45. package/lib/components/deprecated-dropdown/dropdown.js +1 -1
  46. package/lib/components/deprecated-dropdown/dropdown.js.map +1 -1
  47. package/lib/components/deprecated-input/input.d.ts +1 -1
  48. package/lib/components/deprecated-input/input.js +1 -1
  49. package/lib/components/deprecated-input/input.js.map +1 -1
  50. package/lib/components/deprecated-select/select.js +1 -1
  51. package/lib/components/deprecated-select/select.js.map +1 -1
  52. package/lib/components/icons/CloseIcon.svg.js +1 -1
  53. package/lib/components/icons/CloseIcon.svg.js.map +1 -1
  54. package/lib/components/key-capturer/key-capturer.d.ts +1 -1
  55. package/lib/components/key-capturer/key-capturer.js +1 -1
  56. package/lib/components/key-capturer/key-capturer.js.map +1 -1
  57. package/lib/components/keyboard-shortcut/keyboard-shortcut.js +1 -1
  58. package/lib/components/keyboard-shortcut/keyboard-shortcut.js.map +1 -1
  59. package/lib/components/menu/menu.js +1 -1
  60. package/lib/components/menu/menu.js.map +1 -1
  61. package/lib/components/notification/notification.d.ts +1 -1
  62. package/lib/components/notification/notification.js +1 -1
  63. package/lib/components/notification/notification.js.map +1 -1
  64. package/lib/components/progress-bar/progress-bar.js +1 -1
  65. package/lib/components/progress-bar/progress-bar.js.map +1 -1
  66. package/lib/components/time/time.d.ts +1 -1
  67. package/lib/components/time/time.js +1 -1
  68. package/lib/components/time/time.js.map +1 -1
  69. package/lib/components/tooltip/tooltip.d.ts +1 -1
  70. package/lib/components/tooltip/tooltip.js +1 -1
  71. package/lib/components/tooltip/tooltip.js.map +1 -1
  72. package/lib/index.d.ts +1 -0
  73. package/lib/index.js +1 -1
  74. package/lib/new-components/avatar/avatar.js +1 -1
  75. package/lib/new-components/avatar/avatar.js.map +1 -1
  76. package/lib/new-components/badge/badge.d.ts +7 -0
  77. package/lib/new-components/badge/badge.js +2 -0
  78. package/lib/new-components/badge/badge.js.map +1 -0
  79. package/lib/new-components/badge/badge.module.css.js +2 -0
  80. package/lib/new-components/badge/badge.module.css.js.map +1 -0
  81. package/lib/new-components/badge/index.d.ts +1 -0
  82. package/lib/new-components/box/box.js +1 -1
  83. package/lib/new-components/box/box.js.map +1 -1
  84. package/lib/new-components/checkbox-field/checkbox-field.d.ts +1 -1
  85. package/lib/new-components/checkbox-field/checkbox-field.js.map +1 -1
  86. package/lib/new-components/deprecated-modal/modal.js +1 -1
  87. package/lib/new-components/deprecated-modal/modal.js.map +1 -1
  88. package/lib/new-components/loading/loading.js +1 -1
  89. package/lib/new-components/loading/loading.js.map +1 -1
  90. package/lib/new-components/modal/modal.js +1 -1
  91. package/lib/new-components/modal/modal.js.map +1 -1
  92. package/lib/new-components/stack/stack.js +1 -1
  93. package/lib/new-components/stack/stack.js.map +1 -1
  94. package/lib/new-components/tabs/tabs.js +1 -1
  95. package/lib/new-components/tabs/tabs.js.map +1 -1
  96. package/package.json +1 -1
  97. package/styles/badge.css +5 -0
  98. package/styles/badge.module.css.css +1 -0
  99. package/styles/modal.css +1 -1
  100. package/styles/modal.module.css.css +1 -1
  101. package/styles/reactist.css +1 -0
@@ -1,2 +1,2 @@
1
- "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),a=e(t),l=e(require("classnames")),n=e(require("react-keyed-flatten-children")),i=require("ariakit/tooltip"),r=require("ariakit-utils"),o=e(require("react-focus-lock")),s=require("aria-hidden"),c=require("ariakit/dialog"),d=require("ariakit/portal"),m=require("ariakit/tab"),u=e(require("react-dom")),p=e(require("dayjs")),f=e(require("dayjs/plugin/localizedFormat")),g=require("ariakit/menu"),b=require("@reach/dialog");function h(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function x(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?h(Object(a),!0).forEach((function(t){_(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):h(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function _(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function y(e,t){if(null==e)return{};var a,l,n=function(e,t){if(null==e)return{};var a,l,n={},i=Object.keys(e);for(l=0;l<i.length;l++)t.indexOf(a=i[l])>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t.indexOf(a=i[l])>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function v(e){return t.forwardRef(e)}function E(e,t,a){if(!a)return null;const l=[];return"string"==typeof a?l.push(e[t+"-"+a]):(a.mobile&&l.push(e[t+"-"+a.mobile]),a.tablet&&l.push(e["tablet-"+t+"-"+a.tablet]),a.desktop&&l.push(e["desktop-"+t+"-"+a.desktop])),l}function C(e,t){if(e)return"object"!=typeof e?t(e):{mobile:e.mobile?t(e.mobile):void 0,tablet:e.tablet?t(e.tablet):void 0,desktop:e.desktop?t(e.desktop):void 0}}var k={box:"f9408a0e","position-absolute":"_7807dcdd","position-fixed":"dc5f328c","position-relative":"_0e4ff085","position-sticky":"_4019d94a","tablet-position-absolute":"b1865c0f","tablet-position-fixed":"af8c5967","tablet-position-relative":"ef2b609f","tablet-position-sticky":"_04935ffd","desktop-position-absolute":"bda94091","desktop-position-fixed":"_691dfd31","desktop-position-relative":"efda904e","desktop-position-sticky":"bcf04687","display-block":"b5b9f34a","display-flex":"_6e9db9aa","display-inline":"ece6d246","display-inlineBlock":"e5e2223f","display-inlineFlex":"f344a0e2","display-none":"_9002f8c2","tablet-display-block":"d896f0ff","tablet-display-flex":"_56412665","tablet-display-inline":"_6b430cc5","tablet-display-inlineBlock":"_4158c5ad","tablet-display-inlineFlex":"c598eaab","tablet-display-none":"_5a2a6d3f","desktop-display-block":"_132ef8fb","desktop-display-flex":"_5bd11385","desktop-display-inline":"a51c2ec9","desktop-display-inlineBlock":"_93506988","desktop-display-inlineFlex":"_385d45a5","desktop-display-none":"_921732eb","flexDirection-column":"_41ef5755","flexDirection-row":"_6cad1a19","tablet-flexDirection-column":"f1c16205","tablet-flexDirection-row":"_65305ae1","desktop-flexDirection-column":"_4916f0f9","desktop-flexDirection-row":"_430dfc8e","flexWrap-wrap":"_3d2d56fe","flexWrap-nowrap":"_826e4adf","flexShrink-0":"f8344e0f","flexGrow-0":"f117e2ab","flexGrow-1":"_1355325c","alignItems-flexStart":"c5b05c6a","alignItems-center":"_21b8bafa","alignItems-flexEnd":"_56d73c9b","alignItems-baseline":"_052e0707","tablet-alignItems-flexStart":"_90048c98","tablet-alignItems-center":"_7e189a0b","tablet-alignItems-flexEnd":"b8aefb5c","tablet-alignItems-baseline":"_4c1a5ef9","desktop-alignItems-flexStart":"f4d052ef","desktop-alignItems-center":"e5478926","desktop-alignItems-flexEnd":"b4f5051a","desktop-alignItems-baseline":"b21adace","justifyContent-flexStart":"be6deb6a","justifyContent-center":"d8eaf780","justifyContent-flexEnd":"_9212ca89","justifyContent-spaceAround":"_5d2cd095","justifyContent-spaceBetween":"_00d5fe7e","justifyContent-spaceEvenly":"ce4f4c2d","tablet-justifyContent-flexStart":"_6580dbbc","tablet-justifyContent-center":"_3f689891","tablet-justifyContent-flexEnd":"_628df8db","tablet-justifyContent-spaceAround":"_3ea88b4f","tablet-justifyContent-spaceBetween":"_4554d93d","tablet-justifyContent-spaceEvenly":"eb13fb50","desktop-justifyContent-flexStart":"_36dc744d","desktop-justifyContent-center":"ee7077ab","desktop-justifyContent-flexEnd":"_4edc8c86","desktop-justifyContent-spaceBetween":"_7e147696","alignSelf-stretch":"c0655cd6","alignSelf-flexStart":"_11863030","alignSelf-center":"c6d86139","alignSelf-flexEnd":"c0bd1f82","alignSelf-baseline":"_95686aec","tablet-alignSelf-stretch":"_9b712cc7","tablet-alignSelf-flexStart":"f7b935f7","tablet-alignSelf-center":"bf9ad125","tablet-alignSelf-flexEnd":"_3b4f8c3c","tablet-alignSelf-baseline":"_49d27079","desktop-alignSelf-stretch":"_63d27ffa","desktop-alignSelf-flexStart":"d45796cc","desktop-alignSelf-center":"c91c7bf7","desktop-alignSelf-flexEnd":"f2453212","desktop-alignSelf-baseline":"_3882757c","overflow-hidden":"_473810b4","overflow-auto":"_051c2340","overflow-visible":"_14e451d1","overflow-scroll":"_4d8555f8","height-full":"_867d251e","bg-default":"_2d928bf8","bg-aside":"db3f5af6","bg-highlight":"c990fcc3","bg-selected":"_976a662f","borderRadius-standard":"_46b52f05","borderRadius-full":"_1c8b326b","border-primary":"_0ef8c314","border-secondary":"_14871605","border-tertiary":"_36c045c3","textAlign-start":"d745aa1e","textAlign-center":"_31cf99c5","textAlign-end":"_10a7a030","textAlign-justify":"_2cfc8b46","tablet-textAlign-start":"e6b7bb40","tablet-textAlign-center":"_47dcb91c","tablet-textAlign-end":"_1d4011ce","tablet-textAlign-justify":"_18407499","desktop-textAlign-start":"_565de5cf","desktop-textAlign-center":"_64254ba3","desktop-textAlign-end":"_3cc6a504","desktop-textAlign-justify":"_0efec659"},w={"paddingTop-xsmall":"c4803194","paddingTop-small":"_4e9ab24b","paddingTop-medium":"_1d226e27","paddingTop-large":"eb6097f1","paddingTop-xlarge":"d3229ba4","paddingTop-xxlarge":"_47978ba4","tablet-paddingTop-xsmall":"f987719c","tablet-paddingTop-small":"_8dbc4b4d","tablet-paddingTop-medium":"ae44fe07","tablet-paddingTop-large":"ffe9548d","tablet-paddingTop-xlarge":"f2b76a44","tablet-paddingTop-xxlarge":"c6eb8f43","desktop-paddingTop-xsmall":"_8699b560","desktop-paddingTop-small":"_02c374b7","desktop-paddingTop-medium":"_0dd0332f","desktop-paddingTop-large":"da55f1f6","desktop-paddingTop-xlarge":"_8ef2a278","desktop-paddingTop-xxlarge":"_8b493b28","paddingRight-xsmall":"_211eebc7","paddingRight-small":"ad0ccf15","paddingRight-medium":"a03e39af","paddingRight-large":"f0941ead","paddingRight-xlarge":"e47c5a43","paddingRight-xxlarge":"e849a5cf","tablet-paddingRight-xsmall":"_85374228","tablet-paddingRight-small":"_89df37b9","tablet-paddingRight-medium":"_1cc50ebe","tablet-paddingRight-large":"_1060982b","tablet-paddingRight-xlarge":"be58847d","tablet-paddingRight-xxlarge":"_45093484","desktop-paddingRight-xsmall":"f8d99d6a","desktop-paddingRight-small":"efa076d9","desktop-paddingRight-medium":"e59caa64","desktop-paddingRight-large":"da42f46a","desktop-paddingRight-xlarge":"b3ee2580","desktop-paddingRight-xxlarge":"_3ef94658","paddingBottom-xsmall":"b0e6eab4","paddingBottom-small":"_9510d053","paddingBottom-medium":"d7af60c9","paddingBottom-large":"b75f86cd","paddingBottom-xlarge":"fbd4ce29","paddingBottom-xxlarge":"_33e3ad63","tablet-paddingBottom-xsmall":"f0302da7","tablet-paddingBottom-small":"_4f9b8012","tablet-paddingBottom-medium":"_4333e20e","tablet-paddingBottom-large":"_30bbc76c","tablet-paddingBottom-xlarge":"ba5a4008","tablet-paddingBottom-xxlarge":"_423a3b1a","desktop-paddingBottom-xsmall":"b40139b7","desktop-paddingBottom-small":"f96071fa","desktop-paddingBottom-medium":"fe803c9a","desktop-paddingBottom-large":"_01686eb9","desktop-paddingBottom-xlarge":"afa763d8","desktop-paddingBottom-xxlarge":"a95785f1","paddingLeft-xsmall":"cad4e2ec","paddingLeft-small":"d70b3c17","paddingLeft-medium":"_8c851bd6","paddingLeft-large":"_078feb3c","paddingLeft-xlarge":"_76ab968c","paddingLeft-xxlarge":"aaca85d7","tablet-paddingLeft-xsmall":"_5eb0e5aa","tablet-paddingLeft-small":"_0384fb4f","tablet-paddingLeft-medium":"edffff6f","tablet-paddingLeft-large":"_873b9a46","tablet-paddingLeft-xlarge":"_89105db5","tablet-paddingLeft-xxlarge":"db1966fe","desktop-paddingLeft-xsmall":"b17f826b","desktop-paddingLeft-small":"_6dc83610","desktop-paddingLeft-medium":"_3421b8b2","desktop-paddingLeft-large":"_68cec7a6","desktop-paddingLeft-xlarge":"_94bde020","desktop-paddingLeft-xxlarge":"b94ee579"},N={"marginTop-xsmall":"c7813d79","marginTop-small":"d3449da6","marginTop-medium":"_4ea254c1","marginTop-large":"c0844f64","marginTop-xlarge":"_213145b4","marginTop-xxlarge":"df61c84c","marginTop--xsmall":"efe72b13","marginTop--small":"_870c2768","marginTop--medium":"_0b927c57","marginTop--large":"_461db014","marginTop--xlarge":"_2a3a8cb8","marginTop--xxlarge":"_9bcda921","tablet-marginTop-xsmall":"_6add01e4","tablet-marginTop-small":"_735ef86b","tablet-marginTop-medium":"_0477d068","tablet-marginTop-large":"_2c90af97","tablet-marginTop-xlarge":"_63a82db6","tablet-marginTop-xxlarge":"_03cd7726","tablet-marginTop--xsmall":"c986a62a","tablet-marginTop--small":"be2bdcdd","tablet-marginTop--medium":"_47d2686b","tablet-marginTop--large":"_25e5af9d","tablet-marginTop--xlarge":"ee82f441","tablet-marginTop--xxlarge":"a6f9d404","desktop-marginTop-xsmall":"_4d8d9a36","desktop-marginTop-small":"e813cee7","desktop-marginTop-medium":"_56975b7d","desktop-marginTop-large":"_53b367f6","desktop-marginTop-xlarge":"d69e7311","desktop-marginTop-xxlarge":"_92f57c7e","desktop-marginTop--xsmall":"_96880d3e","desktop-marginTop--small":"dc3f3555","desktop-marginTop--medium":"_86dd06bb","desktop-marginTop--large":"c93ef12e","desktop-marginTop--xlarge":"bc8fd4a2","desktop-marginTop--xxlarge":"b12a9124","marginRight-xsmall":"_6016f4fb","marginRight-small":"b85e3dfa","marginRight-medium":"_297575f4","marginRight-large":"b401ac6c","marginRight-xlarge":"dc3ec387","marginRight-xxlarge":"_24694604","marginRight--xsmall":"_8e9bf2ee","marginRight--small":"ae9d1115","marginRight--medium":"_14e46fc3","marginRight--large":"_3370631b","marginRight--xlarge":"_3f0e9b50","marginRight--xxlarge":"bc13e010","tablet-marginRight-xsmall":"_6fa1aae3","tablet-marginRight-small":"_2976c5cb","tablet-marginRight-medium":"_38d94802","tablet-marginRight-large":"db9569b5","tablet-marginRight-xlarge":"_4a52f06d","tablet-marginRight-xxlarge":"_8a0f0410","tablet-marginRight--xsmall":"e7d40e9d","tablet-marginRight--small":"_680fde91","tablet-marginRight--medium":"_021010ca","tablet-marginRight--large":"_9e52c87c","tablet-marginRight--xlarge":"_4d602613","tablet-marginRight--xxlarge":"_21b1b65a","desktop-marginRight-xsmall":"_7321bc07","desktop-marginRight-small":"fa1721f4","desktop-marginRight-medium":"_3fd7b4b8","desktop-marginRight-large":"_4fdc2f74","desktop-marginRight-xlarge":"c0254761","desktop-marginRight-xxlarge":"_710a5f09","desktop-marginRight--xsmall":"e08bee7f","desktop-marginRight--small":"e5ab73d2","desktop-marginRight--medium":"_5e731477","desktop-marginRight--large":"_0f57a22e","desktop-marginRight--xlarge":"_25f26ed3","desktop-marginRight--xxlarge":"_11a3b4e0","marginBottom-xsmall":"_6a4f69f7","marginBottom-small":"db26b033","marginBottom-medium":"c7313022","marginBottom-large":"a5885889","marginBottom-xlarge":"_33dfbd8e","marginBottom-xxlarge":"_795ad2de","marginBottom--xsmall":"a329dbd3","marginBottom--small":"_85e739fb","marginBottom--medium":"_681f65ff","marginBottom--large":"caf50d8f","marginBottom--xlarge":"_1e084cbf","marginBottom--xxlarge":"_3dfb1c7e","tablet-marginBottom-xsmall":"ef4735be","tablet-marginBottom-small":"de55afba","tablet-marginBottom-medium":"_0e33ce88","tablet-marginBottom-large":"_8ca391fc","tablet-marginBottom-xlarge":"_3a609d23","tablet-marginBottom-xxlarge":"_3e1177e4","tablet-marginBottom--xsmall":"d384884d","tablet-marginBottom--small":"_75254cec","tablet-marginBottom--medium":"_5d9f127d","tablet-marginBottom--large":"_835f1089","tablet-marginBottom--xlarge":"dad52a72","tablet-marginBottom--xxlarge":"_8703a4bf","desktop-marginBottom-xsmall":"_90fd20e9","desktop-marginBottom-small":"f3769191","desktop-marginBottom-medium":"_156410f8","desktop-marginBottom-large":"_7fed74d0","desktop-marginBottom-xlarge":"_477dc10e","desktop-marginBottom-xxlarge":"_85c82d89","desktop-marginBottom--xsmall":"_4f09c1e0","desktop-marginBottom--small":"_9523e048","desktop-marginBottom--medium":"efe10240","desktop-marginBottom--large":"c43971e6","desktop-marginBottom--xlarge":"f9b4da15","desktop-marginBottom--xxlarge":"a10fdf70","marginLeft-xsmall":"f9be90b4","marginLeft-small":"f53218d5","marginLeft-medium":"c4a9b3ab","marginLeft-large":"_5755e2c3","marginLeft-xlarge":"_33fc9354","marginLeft-xxlarge":"_4749a3bf","marginLeft--xsmall":"c76cb3c7","marginLeft--small":"_96003c07","marginLeft--medium":"_09988d07","marginLeft--large":"b4a486f6","marginLeft--xlarge":"f396e75e","marginLeft--xxlarge":"_81d1f26d","tablet-marginLeft-xsmall":"_0a46e8f1","tablet-marginLeft-small":"_57c970af","tablet-marginLeft-medium":"_4b6099d3","tablet-marginLeft-large":"_378fcff5","tablet-marginLeft-xlarge":"f8785663","tablet-marginLeft-xxlarge":"_72f957ee","tablet-marginLeft--xsmall":"_2288c7e1","tablet-marginLeft--small":"b27c1c05","tablet-marginLeft--medium":"_702cbb13","tablet-marginLeft--large":"_1a2748b4","tablet-marginLeft--xlarge":"b8c043a5","tablet-marginLeft--xxlarge":"_8dc8ff63","desktop-marginLeft-xsmall":"c2af646d","desktop-marginLeft-small":"c03d07be","desktop-marginLeft-medium":"_915fb1d3","desktop-marginLeft-large":"_64214ee1","desktop-marginLeft-xlarge":"_7be4a22c","desktop-marginLeft-xxlarge":"_5ec0a401","desktop-marginLeft--xsmall":"ea29f1ee","desktop-marginLeft--small":"c26652c7","desktop-marginLeft--medium":"c24f6af9","desktop-marginLeft--large":"c2671f27","desktop-marginLeft--xlarge":"cc51a04e","desktop-marginLeft--xxlarge":"fd581f54"},S={"minWidth-0":"_68ab48ca","minWidth-xsmall":"_6fa2b565","minWidth-small":"dd50fabd","minWidth-medium":"e7e2c808","minWidth-large":"_6abbe25e","minWidth-xlarge":"_54f479ac","maxWidth-xsmall":"_148492bc","maxWidth-small":"bd023b96","maxWidth-medium":"e102903f","maxWidth-large":"_0e8d76d7","maxWidth-xlarge":"_47a031d0","maxWidth-full":"cd4c8183","width-0":"_5f5959e8","width-full":"_8c75067a","width-auto":"_56a651f6","width-maxContent":"_26f87bb8","width-minContent":"_07a6ab44","width-fitContent":"a87016fa","width-xsmall":"_1a972e50","width-small":"c96d8261","width-medium":"f3829d42","width-large":"_2caef228","width-xlarge":"_069e1491"};const R=["as","position","display","flexDirection","flexWrap","flexGrow","flexShrink","alignItems","justifyContent","alignSelf","overflow","width","height","background","border","borderRadius","minWidth","maxWidth","textAlign","padding","paddingY","paddingX","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginY","marginX","marginTop","marginRight","marginBottom","marginLeft","className","children"],L=v((function(e,a){var n,i,r,o,s,c,d,m;let{as:u="div",position:p="static",display:f,flexDirection:g="row",flexWrap:b,flexGrow:h,flexShrink:_,alignItems:v,justifyContent:C,alignSelf:L,overflow:B,width:T,height:A,background:z,border:D,borderRadius:O,minWidth:I,maxWidth:M,textAlign:F,padding:W,paddingY:P,paddingX:j,paddingTop:H,paddingRight:Y,paddingBottom:U,paddingLeft:q,margin:K,marginY:G,marginX:V,marginTop:X,marginRight:Z,marginBottom:$,marginLeft:J,className:Q,children:ee}=e,te=y(e,R);const ae=null!=(n=null!=H?H:P)?n:W,le=null!=(i=null!=Y?Y:j)?i:W,ne=null!=(r=null!=U?U:P)?r:W,ie=null!=(o=null!=q?q:j)?o:W,re=null!=(s=null!=X?X:G)?s:K,oe=null!=(c=null!=Z?Z:V)?c:K,se=null!=(d=null!=$?$:G)?d:K,ce=null!=(m=null!=J?J:V)?m:K,de=!f||"string"==typeof f&&"flex"!==f&&"inlineFlex"!==f;return t.createElement(u,x(x({},te),{},{className:l(Q,k.box,f?E(k,"display",f):null,"static"!==p?E(k,"position",p):null,null!=I?E(S,"minWidth",String(I)):null,E(S,"maxWidth",M),E(k,"textAlign",F),E(w,"paddingTop",ae),E(w,"paddingRight",le),E(w,"paddingBottom",ne),E(w,"paddingLeft",ie),E(N,"marginTop",re),E(N,"marginRight",oe),E(N,"marginBottom",se),E(N,"marginLeft",ce),de?null:E(k,"flexDirection",g),de?null:E(k,"flexWrap",b),de?null:E(k,"alignItems",v),de?null:E(k,"justifyContent",C),null!=L?E(k,"alignSelf",L):null,null!=_?E(k,"flexShrink",String(_)):null,null!=h?E(k,"flexGrow",String(h)):null,E(k,"overflow",B),null!=T?E(S,"width",String(T)):null,E(k,"height",A),E(k,"bg",z),"none"!==O?E(k,"borderRadius",O):null,"none"!==D?E(k,"border",D):null)||void 0,ref:a}),ee)}));var B={"space-xsmall":"_6f59c771",column:"_91e05f0f","space-small":"_5a55af26","space-medium":"fa261310","space-large":"_6ebd4e46","space-xlarge":"_55ce4aea","space-xxlarge":"_04c9c3ac","tablet-space-xsmall":"ab76d8cd","tablet-space-small":"_14629bfb","tablet-space-medium":"_5b4e39ea","tablet-space-large":"ba270182","tablet-space-xlarge":"b96e7ec7","tablet-space-xxlarge":"d276612c","desktop-space-xsmall":"d7a73106","desktop-space-small":"_8f5e0e9e","desktop-space-medium":"_3a168411","desktop-space-large":"_0abcc12e","desktop-space-xlarge":"e0bafc60","desktop-space-xxlarge":"d2df9afd","columnWidth-auto":"b18d0b47","columnWidth-1-2":"_102a6b27","columnWidth-1-3":"_829872fe","columnWidth-2-3":"cf5aef9a","columnWidth-1-4":"_931bf714","columnWidth-3-4":"b0303130","columnWidth-1-5":"f6589a6f","columnWidth-2-5":"_2823aed9","columnWidth-3-5":"d00ba3bb","columnWidth-4-5":"_338f2d7c","tablet-tablet-space-xsmall":"_06582234"};const T=["width","children","exceptionallySetClassName"],A=["space","align","alignY","collapseBelow","children","exceptionallySetClassName"],z=v((function(e,a){let{width:l="auto",children:n,exceptionallySetClassName:i}=e,r=y(e,T);return t.createElement(L,x(x({},r),{},{className:[i,B.column,"content"!==l?E(B,"columnWidth",l.replace("/","-")):null],minWidth:0,width:"content"!==l?"full":void 0,height:"full",flexShrink:"content"===l?0:void 0,ref:a}),n)})),D=v((function(e,a){let{space:l,align:n="left",alignY:i="top",collapseBelow:r,children:o,exceptionallySetClassName:s}=e,c=y(e,A);return t.createElement(L,x(x({},c),{},{className:[s,E(B,"space",l)],display:"flex",flexDirection:"desktop"===r?{mobile:"column",tablet:"column",desktop:"row"}:"tablet"===r?{mobile:"column",tablet:"row"}:"row",alignItems:C(i,e=>"top"===e?"flexStart":"bottom"===e?"flexEnd":e),justifyContent:C(n,e=>"left"===e?"flexStart":"right"===e?"flexEnd":e),ref:a}),o)}));var O={"weight-primary":"_3f3a401c","weight-secondary":"_03b05b70","weight-tertiary":"b6f67ff8"};const I=["weight"];function M(e){let{weight:a="tertiary"}=e,l=y(e,I);return t.createElement(L,x({as:"hr",className:E(O,"weight",a)},l))}var F={"space-xsmall":"_6b1279e0","space-small":"_0d82c42d","space-medium":"_556714e1","space-large":"e90b43fb","space-xlarge":"a9c34345","space-xxlarge":"aa102efe","tablet-space-xsmall":"_34d16157","tablet-space-small":"c7e0e54f","tablet-space-medium":"_7f2a4e4b","tablet-space-large":"ae256487","tablet-space-xlarge":"e88be0f7","tablet-space-xxlarge":"dc7bcb18","desktop-space-xsmall":"_853f3012","desktop-space-small":"_3bfaf758","desktop-space-medium":"_36462a93","desktop-space-large":"e73081b7","desktop-space-xlarge":"e22ec9dd","desktop-space-xxlarge":"_4a20bd12"};const W=["as","space","align","alignY","children","exceptionallySetClassName"],P=v((function(e,a){let{as:l,space:n,align:i="left",alignY:r="center",children:o,exceptionallySetClassName:s}=e,c=y(e,W);return t.createElement(L,x(x({},c),{},{as:l,display:"flex",flexWrap:"wrap",className:[s,E(F,"space",n)],ref:a,alignItems:C(r,e=>"top"===e?"flexStart":"bottom"===e?"flexEnd":"center"),justifyContent:C(i,e=>"left"===e?"flexStart":"right"===e?"flexEnd":"center")}),o)}));var j={"space-xsmall":"_7b475ead","space-small":"_5641699f","space-medium":"_1a1c63e4","space-large":"_560f80a0","space-xlarge":"_84ffebbc","space-xxlarge":"b60a65cb","tablet-space-xsmall":"d808f5c3","tablet-space-small":"a51c76b3","tablet-space-medium":"_7185a7aa","tablet-space-large":"af82e610","tablet-space-xlarge":"_88b4ff46","tablet-space-xxlarge":"_9de15321","desktop-space-xsmall":"_6fb32d20","desktop-space-small":"_07ee315a","desktop-space-medium":"a270d7ec","desktop-space-large":"ea6ebb29","desktop-space-xlarge":"_35b36178","desktop-space-xxlarge":"_56c7dc23"};const H=["as","space","align","dividers","children","exceptionallySetClassName"],Y=v((function(e,a){let{as:l,space:i,align:r="start",dividers:o="none",children:s,exceptionallySetClassName:c}=e,d=y(e,H);const m="start"===r?void 0:{width:"full",flexDirection:"column",display:"flex",alignItems:C(r,e=>"start"===e?"flexStart":"end"===e?"flexEnd":"center")};return t.createElement(L,x(x(x({},d),m),{},{as:l,className:[c,E(j,"space",i)],ref:a}),"none"!==o?t.Children.map(n(s),(e,a)=>a>0?t.createElement(t.Fragment,null,t.createElement(M,{weight:o}),e):e):s)})),U=["display","children","exceptionallySetClassName"],q=v((function(e,a){let{display:l="block",children:n,exceptionallySetClassName:i}=e,r=y(e,U);const o="print"in r&&r.print,s="above"in r,c="below"in r,d="below"in r&&"desktop"===r.below||"above"in r&&"mobile"===r.above;return s&&c&&console.warn('<Hidden /> should receive either above="…" or below="…" but not both'),s||c||o||console.warn("<Hidden /> did not receive any criteria to hide itself"),"above"in r&&delete r.above,"below"in r&&delete r.below,"print"in r&&delete r.print,t.createElement(L,x(x({},r),{},{ref:a,className:[i,o?"_0e595dea":null],display:s&&c?"none":{mobile:c?"none":l,tablet:d?"none":l,desktop:s?"none":l}}),n)})),K=v((function(e,a){return t.createElement(L,x(x({},e),{},{ref:a,position:"absolute",overflow:"hidden",className:"_618235b7"}))})),G=["children","content","position","gapSize","className"];function V(e){let{children:t,content:n,position:r="top",gapSize:o=3,className:s}=e,c=y(e,G);const d=function(e){const t=i.useTooltipState(e),l=function(){const e=a.useRef(),t=a.useCallback((function(){null!=e.current&&clearTimeout(e.current)}),[]);return a.useEffect(()=>t,[t]),a.useCallback((function(a,l){return()=>{t(),e.current=setTimeout(a,l)}}),[t])}();return a.useMemo(()=>x(x({},t),{},{show:l(()=>t.show(),500),hide:l(()=>t.hide(),100)}),[l,t])}({placement:r,gutter:o}),m=a.Children.only(t);if(!n||!m)return m;if("string"==typeof m.ref)throw new Error("Tooltip: String refs cannot be used as they cannot be forwarded");return a.createElement(a.Fragment,null,a.createElement(i.TooltipAnchor,{state:d,ref:m.ref,onFocus:function(e){var t;e.currentTarget.addEventListener("keyup",(function(e){const t=e.key;"Escape"!==t&&"Enter"!==t&&"Space"!==t&&d.show()}),{once:!0}),e.preventDefault(),null==m||null==(t=m.props)||null==t.onFocus||t.onFocus(e)}},e=>a.cloneElement(m,x(x({},e),m.props))),d.visible?a.createElement(i.Tooltip,x(x({},c),{},{state:d,className:l("reactist_tooltip",s)}),"function"==typeof n?n():n):null)}function X({size:e=24}){return t.createElement("svg",{"aria-hidden":!0,width:e,height:e,viewBox:"0 0 24 24",className:"_51539197"},t.createElement("g",{fill:"none",fillRule:"nonzero"},t.createElement("path",{className:"a0c466ed",d:"M17.945 3.958A9.955 9.955 0 0 0 12 2c-2.19 0-4.217.705-5.865 1.9L5.131 2.16A11.945 11.945 0 0 1 12 0c2.59 0 4.99.82 6.95 2.217l-1.005 1.741z"}),t.createElement("path",{className:"_745b73d3",d:"M5.13 2.16L6.136 3.9A9.987 9.987 0 0 0 2 12c0 5.523 4.477 10 10 10s10-4.477 10-10a9.986 9.986 0 0 0-4.055-8.042l1.006-1.741A11.985 11.985 0 0 1 24 12c0 6.627-5.373 12-12 12S0 18.627 0 12c0-4.073 2.029-7.671 5.13-9.84z"})))}var Z={baseButton:"a8af2163",label:"bbdb467b","shape-rounded":"ca02fc07","size-small":"_45ffe137","size-normal":"_352995bd","size-large":"_3991076f",disabled:"f82232b7",iconButton:"ef4c88db",startIcon:"a08c25c7",endIcon:"_2f6adc11","variant-primary":"_3d1243b2","variant-secondary":"_16b6b062","variant-tertiary":"cffaea5e","variant-quaternary":"_98cd5c3f","tone-destructive":"_99cb1c4d"};const $=["as","variant","tone","size","shape","disabled","loading","tooltip","onClick","exceptionallySetClassName","children","startIcon","endIcon","icon","width","align"];function J(e){e.preventDefault()}const Q=v((function(e,a){let{as:l="div",variant:n,tone:i="normal",size:r="normal",shape:o="normal",disabled:s=!1,loading:c=!1,tooltip:d,onClick:m,exceptionallySetClassName:u,children:p,startIcon:f,endIcon:g,icon:b,width:h="auto",align:_="center"}=e,v=y(e,$);const E=c||s,C=t.createElement(L,x(x({},v),{},{as:l,ref:a,"aria-disabled":E,onClick:E?J:m,width:b?void 0:h,className:[u,Z.baseButton,Z["variant-"+n],Z["tone-"+i],Z["size-"+r],"rounded"===o?Z["shape-rounded"]:null,b?Z.iconButton:null,s?Z.disabled:null]}),b?c&&t.createElement(X,null)||b:t.createElement(t.Fragment,null,f?t.createElement(L,{display:"flex",className:Z.startIcon,"aria-hidden":!0},c&&!g?t.createElement(X,null):f):null,p?t.createElement(L,{as:"span",className:Z.label,overflow:"hidden",width:"full"===h?"full":void 0,textAlign:"auto"===h?"center":_},p):null,g||c&&!f?t.createElement(L,{display:"flex",className:Z.endIcon,"aria-hidden":!0},c?t.createElement(X,null):g):null)),k=b&&void 0===d?v["aria-label"]:d;return k?t.createElement(V,{content:k},C):C})),ee=["variant","tone","size","type","disabled","exceptionallySetClassName"],te=t.forwardRef((function(e,a){let{variant:l,tone:n="normal",size:i="normal",type:r="button",disabled:o=!1,exceptionallySetClassName:s}=e,c=y(e,ee);return t.createElement(Q,x(x({},c),{},{as:"button",ref:a,variant:l,tone:n,size:i,type:r,disabled:o,exceptionallySetClassName:s}))})),ae=["tone"],le={info:function(e){return t.createElement("svg",x({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zm0-1a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1.18-11.84a.84.84 0 1 1-1.68 0 .84.84 0 0 1 1.68 0zM12.5 10a.5.5 0 0 1 .5.5V15h1a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1h1v-4h-1a.5.5 0 0 1 0-1h1.5z",fill:"currentColor"}))},positive:function(e){return t.createElement("svg",x({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zm0-1a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm-4.354-8.104a.5.5 0 0 1 .708 0l2.146 2.147 5.146-5.147a.5.5 0 0 1 .708.708l-5.5 5.5a.5.5 0 0 1-.708 0l-2.5-2.5a.5.5 0 0 1 0-.708z",fill:"currentColor"}))},caution:function(e){return t.createElement("svg",x({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m3.254 16.992 7.018-12.03a2 2 0 0 1 3.455 0l7.018 12.03A2 2 0 0 1 19.018 20H4.982a2 2 0 0 1-1.728-3.008zm8.242-11.887a1 1 0 0 0-.36.36l-7.018 12.03A1 1 0 0 0 4.982 19h14.036a1 1 0 0 0 .864-1.504l-7.018-12.03a1 1 0 0 0-1.368-.36zM13 16.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.014-7.014a.987.987 0 1 0-1.971.055l.236 4.25c.053.945 1.445.945 1.498 0l.236-4.25.001-.027v-.028z",fill:"currentColor"}))},critical:function(e){return t.createElement("svg",x({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM2.5 12a9.5 9.5 0 1 1 19 0 9.5 9.5 0 0 1-19 0zM13 15.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.014-7.014A.987.987 0 0 0 12 7.5h-.027l-.028.002a.987.987 0 0 0-.93 1.04l.236 4.25c.053.944 1.445.944 1.498 0l.236-4.25.001-.028v-.027z",fill:"currentColor"}))}};function ne(e){let{tone:a}=e,l=y(e,ae);const n=le[a];return n?t.createElement(n,x({},l)):null}function ie(e){return t.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},e),t.createElement("path",{fill:"currentColor",d:"M5.146 5.146a.5.5 0 0 1 .708 0L12 11.293l6.146-6.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 0 .708L12.707 12l6.147 6.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.708 0L12 12.707l-6.146 6.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1 0-.708L11.293 12 5.146 5.854a.5.5 0 0 1-.057-.638z"}))}var re={container:"eb665121","tone-info":"d0373ff9","tone-positive":"bb18dcab","tone-caution":"_0af02331","tone-critical":"f76146f9"};const oe=["size","exceptionallySetClassName"],se={xsmall:16,small:24,medium:36,large:48};var ce={container:"_464500ae","tone-info":"_1abfe147","tone-positive":"_36ce9859","tone-caution":"f92214b7","tone-critical":"be6cf28e"},de={heading:"_71a1610c","weight-light":"_63750f40","tone-secondary":"_9ce984cf","tone-danger":"_1acad35e","size-largest":"_3da27a00","size-larger":"df220733","size-smaller":"eb373739",lineClampMultipleLines:"f53cfd2b","lineClamp-1":"e4819fc9","lineClamp-2":"a0ed6177","lineClamp-3":"_180d433e","lineClamp-4":"_40826ad9","lineClamp-5":"_5999b247"};const me=["level","weight","size","tone","children","lineClamp","align","exceptionallySetClassName"],ue=t.forwardRef((function(e,a){let{level:l,weight:n="regular",size:i,tone:r="normal",children:o,lineClamp:s,align:c,exceptionallySetClassName:d}=e,m=y(e,me);const u="h"+l,p="string"==typeof s?parseInt(s,10)>1:(s||0)>1;return t.createElement(L,x(x({},m),{},{className:[d,de.heading,"regular"!==n?E(de,"weight",n):null,"normal"!==r?E(de,"tone",r):null,E(de,"size",i),p?de.lineClampMultipleLines:null,s?E(de,"lineClamp",s.toString()):null],textAlign:c,paddingRight:s?"xsmall":void 0,as:u,ref:a}),o)}));var pe={text:"a83bd4e0","size-caption":"_266d6623","size-copy":"a8d37c6e","size-subtitle":"_39f4eb1f","weight-semibold":"_7be5c531","weight-bold":"e214ff2e","tone-secondary":"_6a3e5ade","tone-danger":"_8f5b5f2b","tone-positive":"_9ae47ae4",lineClampMultipleLines:"_969f18f7","lineClamp-1":"_2f303ac3","lineClamp-2":"d3e04245","lineClamp-3":"_33411704","lineClamp-4":"bfc32640","lineClamp-5":"f813c82f"};const fe=["as","size","weight","tone","align","children","lineClamp","exceptionallySetClassName"],ge=v((function(e,a){let{as:l,size:n="body",weight:i="regular",tone:r="normal",align:o,children:s,lineClamp:c,exceptionallySetClassName:d}=e,m=y(e,fe);const u="string"==typeof c?Number(c)>1:(null!=c?c:1)>1;return t.createElement(L,x(x({},m),{},{as:l,className:[d,pe.text,"body"!==n?E(pe,"size",n):null,"regular"!==i?E(pe,"weight",i):null,"normal"!==r?E(pe,"tone",r):null,u?pe.lineClampMultipleLines:null,c?E(pe,"lineClamp",c.toString()):null],textAlign:o,paddingRight:c?"xsmall":void 0,ref:a}),s)})),be=["as","variant","tone","size","exceptionallySetClassName","openInNewTab"],he=v((function(e,a){let{as:l="a",variant:n,tone:i="normal",size:r="normal",exceptionallySetClassName:o,openInNewTab:s=!1}=e,c=y(e,be);return t.createElement(Q,x(x({},c),{},{as:l,ref:a,variant:n,tone:i,size:r,exceptionallySetClassName:o,target:s?"_blank":void 0,rel:s?"noopener noreferrer":void 0}))})),xe=["as","openInNewTab","exceptionallySetClassName"],_e=v((function(e,a){let{as:l="a",openInNewTab:n=!1,exceptionallySetClassName:i}=e,r=y(e,xe);return t.createElement(L,x(x({},r),{},{as:l,display:"inline",className:[i,"_232127ef"],ref:a,target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0}))})),ye=["checked","indeterminate","disabled"],ve={checked:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2.457 4.293l-5.293 5.293-1.793-1.793a1 1 0 1 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l6-6a1 1 0 1 0-1.414-1.414z",unchecked:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm0 1H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z",mixed:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2 7H8a1 1 0 0 0 0 2h8a1 1 0 0 0 0-2z",filled:"M6 4H18C19.1046 4 20 4.89543 20 6V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V6C4 4.89543 4.89543 4 6 4Z"};function Ee(e){let{checked:a,indeterminate:l,disabled:n}=e,i=y(e,ye);const r=function({checked:e,indeterminate:t,disabled:a}){return t?"mixed":e?"checked":a?"filled":"unchecked"}({checked:a,indeterminate:l,disabled:n});return t.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},i),t.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:ve[r]}))}const Ce=["label","disabled","indeterminate","defaultChecked","onChange"],ke=t.forwardRef((function(e,a){var l,n,i;let{label:o,disabled:s,indeterminate:c,defaultChecked:d,onChange:m}=e,u=y(e,Ce);"boolean"!=typeof c||"boolean"==typeof u.checked||(console.warn("Cannot use indeterminate on an uncontrolled checkbox"),c=void 0),o||u["aria-label"]||u["aria-labelledby"]||console.warn("A Checkbox needs a label");const[p,f]=t.useState(!1),[g,b]=t.useState(null!=(l=null!=(n=u.checked)?n:d)&&l),h=null!=(i=u.checked)?i:g,_=t.useRef(null),v=r.useForkRef(_,a);return t.useEffect((function(){_.current&&"boolean"==typeof c&&(_.current.indeterminate=c)}),[c]),t.createElement(L,{as:"label",display:"flex",alignItems:"center",className:["_96c4d12f",s?"_5048e2a5":null,h?"_42187b48":null,p?"_3510166f":null]},t.createElement("input",x(x({},u),{},{ref:v,type:"checkbox","aria-checked":c?"mixed":h,checked:h,disabled:s,onChange:e=>{null==m||m(e),e.defaultPrevented||b(e.currentTarget.checked)},onBlur:e=>{f(!1),null==u||null==u.onBlur||u.onBlur(e)},onKeyUp:e=>{f(!0),null==u||null==u.onKeyUp||u.onKeyUp(e)}})),t.createElement(Ee,{checked:h,disabled:s,indeterminate:c,"aria-hidden":!0}),o?t.createElement(ge,null,o):null)}));let we=0;function Ne(e){const a=t.useRef(null!=e?e:null);return a.current||(a.current="element-"+we++),a.current}function Se(e){return t.createElement(ge,x({as:"p",tone:"secondary",size:"copy"},e))}function Re(e){return t.createElement("svg",x({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5ZM1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8ZM8.66667 10.3333C8.66667 10.7015 8.36819 11 8 11C7.63181 11 7.33333 10.7015 7.33333 10.3333C7.33333 9.96514 7.63181 9.66667 8 9.66667C8.36819 9.66667 8.66667 9.96514 8.66667 10.3333ZM8.65766 5.65766C8.65766 5.29445 8.36322 5 8 5C7.99087 5.00008 7.98631 5.00013 7.98175 5.00025C7.97719 5.00038 7.97263 5.00059 7.96352 5.00101C7.60086 5.02116 7.3232 5.33149 7.34335 5.69415L7.50077 8.52774C7.53575 9.15742 8.46425 9.15742 8.49923 8.52774L8.65665 5.69415C8.65707 5.68503 8.65728 5.68047 8.65741 5.67591C8.65754 5.67135 8.65758 5.66679 8.65766 5.65766Z",fill:"currentColor"}))}function Le({id:e,children:a,tone:l}){return t.createElement(ge,{as:"p",tone:"error"===l?"danger":"success"===l?"positive":"normal",size:"copy",id:e},t.createElement(L,{as:"span",marginRight:"xsmall",display:"inlineFlex",className:"_77b2107e"},"loading"===l?t.createElement(X,{size:16}):t.createElement(Re,{"aria-hidden":!0})),a)}function Be({variant:e="default",label:a,secondaryLabel:l,auxiliaryLabel:n,hint:i,message:r,tone:o="neutral",className:s,children:c,maxWidth:d,hidden:m,"aria-describedby":u,id:p}){const f=Ne(p),g=Ne(),b=Ne(),h={id:f,"aria-describedby":null!=u?u:[r?b:null,g].filter(Boolean).join(" "),"aria-invalid":"error"===o||void 0};return t.createElement(Y,{space:"small",hidden:m},t.createElement(L,{className:[s,"_2e189908","error"===o?"d1a17d92":null,"bordered"===e?"fd20ef50":null],maxWidth:d},a||l||n?t.createElement(L,{as:"span",display:"flex",justifyContent:"spaceBetween",alignItems:"flexEnd"},t.createElement(ge,{size:"bordered"===e?"caption":"body",as:"label",htmlFor:f},a?t.createElement("span",{className:"_75e0afa0"},a):null,l?t.createElement("span",{className:"d04a867d"}," (",l,")"):null),n?t.createElement(L,{className:"_83051e0a",paddingLeft:"small"},n):null):null,c(h)),r?t.createElement(Le,{id:b,tone:o},r):null,i?t.createElement(Se,{id:g},i):null)}function Te(e){return t.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},e),t.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"gray"},t.createElement("path",{d:"M21.358 12C17.825 7.65 14.692 5.5 12 5.5c-2.624 0-5.67 2.043-9.097 6.181a.5.5 0 0 0 0 .638C6.331 16.457 9.376 18.5 12 18.5c2.692 0 5.825-2.15 9.358-6.5z"}),t.createElement("circle",{cx:"12",cy:"12",r:"3.5"})))}function Ae(e){return t.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},e),t.createElement("g",{fill:"gray",fillRule:"evenodd",transform:"translate(2 4)"},t.createElement("path",{fillRule:"nonzero",d:"M13.047 2.888C11.962 2.294 10.944 2 10 2 7.56 2 4.63 3.966 1.288 8c1.133 1.368 2.218 2.497 3.253 3.394l-.708.708c-1.068-.93-2.173-2.085-3.315-3.464a1 1 0 0 1 0-1.276C4.031 3.121 7.192 1 10 1c1.196 0 2.456.385 3.78 1.154l-.733.734zm-6.02 10.263C8.084 13.72 9.076 14 10 14c2.443 0 5.373-1.969 8.712-6-1.11-1.34-2.176-2.453-3.193-3.341l.708-.709C17.437 5.013 18.695 6.363 20 8c-3.721 4.667-7.054 7-10 7-1.175 0-2.411-.371-3.709-1.113l.735-.736z"}),t.createElement("path",{fillRule:"nonzero",d:"M8.478 11.7l.79-.79a3 3 0 0 0 3.642-3.642l.79-.79A4 4 0 0 1 8.477 11.7zM6.334 9.602a4 4 0 0 1 5.268-5.268l-.78.78A3.002 3.002 0 0 0 7.113 8.82l-.78.78z"}),t.createElement("rect",{width:"21",height:"1",x:"-.722",y:"7.778",rx:".5",transform:"rotate(-45 9.778 8.278)"})))}const ze=["variant","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","togglePasswordLabel","hidden","aria-describedby"],De=t.forwardRef((function(e,a){let{variant:l="default",label:n,secondaryLabel:i,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:m,togglePasswordLabel:u="Toggle password visibility",hidden:p,"aria-describedby":f}=e,g=y(e,ze);const b=Ne(g.id),h=t.useRef(null),_=r.useForkRef(h,a),[v,E]=t.useState(!1);function C(){var e;E(e=>!e),null==(e=h.current)||e.focus()}return t.createElement(Be,{variant:l,id:b,label:n,secondaryLabel:i,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:m,hidden:p,"aria-describedby":f},e=>t.createElement(L,{display:"flex",alignItems:"center",className:["_66b448b3","_9d172ece","error"===d?"_7e63ee20":null,"bordered"===l?"c59d0239":null]},t.createElement("input",x(x(x({},g),e),{},{ref:_,type:v?"text":"password"})),t.createElement(V,{content:u},t.createElement("button",{type:"button",onClick:C,"aria-label":u,tabIndex:-1},t.createElement(v?Te:Ae,{"aria-hidden":!0})))))})),Oe=["id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","children","hidden","aria-describedby"],Ie=t.forwardRef((function(e,a){let{id:l,label:n,secondaryLabel:i,auxiliaryLabel:r,hint:o,message:s,tone:c,maxWidth:d,children:m,hidden:u,"aria-describedby":p}=e,f=y(e,Oe);return t.createElement(Be,{id:l,label:n,secondaryLabel:i,auxiliaryLabel:r,hint:o,message:s,tone:c,maxWidth:d,hidden:u,"aria-describedby":p},e=>t.createElement(L,{className:["_07e75293","error"===c?"f147bcea":null]},t.createElement("select",x(x(x({},f),e),{},{ref:a}),m),t.createElement(Me,{"aria-hidden":!0})))}));function Me(e){return t.createElement("svg",x({width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{d:"M11.646 5.646a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 1 1 .708-.708L8 9.293l3.646-3.647z",fill:"currentColor"}))}const Fe=["label","hint","disabled","hidden","defaultChecked","id","aria-describedby","aria-label","aria-labelledby","onChange"],We=t.forwardRef((function(e,a){var l,n,i;let{label:r,hint:o,disabled:s=!1,hidden:c,defaultChecked:d,id:m,"aria-describedby":u,"aria-label":p,"aria-labelledby":f,onChange:g}=e,b=y(e,Fe);const h=Ne(m),_=Ne(),v=null!=u?u:o?_:void 0,E=null!=p?p:void 0,C=null!=f?f:void 0,[k,w]=t.useState(!1),[N,S]=t.useState(null!=(l=null!=(n=b.checked)?n:d)&&l),R=null!=(i=b.checked)?i:N;return t.createElement(Y,{space:"small",hidden:c},t.createElement(L,{className:["ec63c3f1",s?"_7de9c06d":null,R?"a37981fc":null,k?"a6490371":null],as:"label",display:"flex",alignItems:"center"},t.createElement(L,{position:"relative",display:"inlineBlock",overflow:"visible",marginRight:"small",flexShrink:0,className:"_2a17ac45"},t.createElement(K,null,t.createElement("input",x(x({},b),{},{id:h,type:"checkbox",disabled:s,"aria-describedby":v,"aria-label":E,"aria-labelledby":C,ref:a,checked:R,onChange:e=>{null==g||g(e),e.defaultPrevented||S(e.currentTarget.checked)},onBlur:e=>{w(!1),null==b||null==b.onBlur||b.onBlur(e)},onKeyUp:e=>{w(!0),null==b||null==b.onKeyUp||b.onKeyUp(e)}}))),t.createElement("span",{className:"_91409c7f"})),t.createElement(ge,{exceptionallySetClassName:"_68cc9707"},r)),o?t.createElement(Se,{id:_},o):null)})),Pe=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","hidden","aria-describedby"],je=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","type","maxWidth","hidden","aria-describedby"],He=t.forwardRef((function(e,a){let{variant:l="default",id:n,label:i,secondaryLabel:r,auxiliaryLabel:o,hint:s,message:c,tone:d,type:m="text",maxWidth:u,hidden:p,"aria-describedby":f}=e,g=y(e,je);return t.createElement(Be,{variant:l,id:n,label:i,secondaryLabel:r,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:u,hidden:p,"aria-describedby":f},e=>t.createElement(L,{className:["_9d172ece","error"===d?"_7e63ee20":null,"bordered"===l?"c59d0239":null]},t.createElement("input",x(x(x({},g),e),{},{type:m,ref:a}))))}));function Ye(e){var t;if(!e)return"";const a=e.trim().split(" "),l=a[0],n=a[a.length-1];let i=null==l?void 0:l[0];return null!=l&&null!=n&&null!=i&&l[0]!==n[0]&&(i+=n[0]),null==(t=i)?void 0:t.toUpperCase()}function Ue(e,t){const a=e.split("@")[0];return(a&&a.charCodeAt(0)+a.charCodeAt(a.length-1)||0)%t}var qe={avatar:"_38a1be89","size-xxs":"d32e92ae","size-xs":"_0667d719","size-s":"cf529fcf","size-m":"_6e268eab","size-l":"d64c62cf","size-xl":"_44fb77de","size-xxl":"_01f85e0e","size-xxxl":"_41a5fe19","tablet-size-xxs":"_6ab1577d","tablet-size-xs":"b52a4963","tablet-size-s":"_714a8419","tablet-size-m":"_81cd4d51","tablet-size-l":"bf0a4edb","tablet-size-xl":"e4f0dabd","tablet-size-xxl":"_67ea065d","tablet-size-xxxl":"_2af7f76f","desktop-size-xxs":"_759081dc","desktop-size-xs":"_8290d1c1","desktop-size-s":"_48ea172d","desktop-size-m":"_758f6641","desktop-size-l":"f9ada088","desktop-size-xl":"d3bb7470","desktop-size-xxl":"_9a312ee3","desktop-size-xxxl":"a1d30c23"};const Ke=["user","avatarUrl","size","className","colorList","exceptionallySetClassName"],Ge=["#fcc652","#e9952c","#e16b2d","#d84b40","#e8435a","#e5198a","#ad3889","#86389c","#a8a8a8","#98be2f","#5d9d50","#5f9f85","#5bbcb6","#32a3bf","#2bafeb","#2d88c3","#3863cc","#5e5e5e"];function Ve(e){let{user:t,avatarUrl:l,size:n="l",className:i,colorList:r=Ge,exceptionallySetClassName:o}=e,s=y(e,Ke);const c=Ye(t.name)||Ye(t.email),d=n||"l",m=l?{backgroundImage:"url("+l+")",textIndent:"-9999px"}:{backgroundColor:r[Ue(t.email,r.length)]},u=E(qe,"size",d);return a.createElement(L,x({className:[i,qe.avatar,u,o],style:m},s),c)}Ve.displayName="Avatar";var Xe={overlay:"_868392ae",fadein:"_63d7ee15",fitContent:"b8548bf2",container:"_31956461",full:"_1007df83",large:"_10c275aa",medium:"_0ac526b4",small:"_30f38fdb",xlarge:"_54868e8b",expand:"c0bc68bc",buttonContainer:"_6527332a",headerContent:"_4750dc1b"};const Ze=["isOpen","onDismiss","height","width","exceptionallySetClassName","autoFocus","children"],$e=["children","button","withDivider","exceptionallySetClassName"],Je=["exceptionallySetClassName","children"],Qe=["exceptionallySetClassName","withDivider"],et=["children"],tt=t.createContext({onDismiss:void 0,height:"fitContent"});function at(e){return!(e.ownerDocument===document&&"iframe"===e.tagName.toLowerCase())}function lt(e){const{onDismiss:a}=t.useContext(tt),[l,n]=t.useState(!1),[i,r]=t.useState(!1);return t.useEffect((function(){i?n(!0):r(!0)}),[i]),t.createElement(te,x(x({},e),{},{variant:"quaternary",onClick:a,icon:t.createElement(ie,null),tabIndex:l?0:-1}))}function nt(e){let{exceptionallySetClassName:a,withDivider:l=!1}=e,n=y(e,Qe);return t.createElement(t.Fragment,null,l?t.createElement(M,null):null,t.createElement(L,x(x({as:"footer"},n),{},{className:a,padding:"large"})))}function it(e){const a=t.useRef(null);return t.useEffect(()=>{a.current=e},[e]),a.current}var rt={tab:"a1064a3b",track:"_06f1b8a1","tab-neutral":"dabbec7d","tab-themed":"e6f5ae4e","track-neutral":"_43913ce5","track-themed":"_39bdfdde","track-xsmall":"_1c148f4e","track-small":"_2a370df5","track-medium":"_77430437","track-large":"_33db5352","track-xlarge":"_60bf9564","track-xxlarge":"_29a35080"};const ot=["as","children","id","exceptionallySetClassName"],st=["children","space"],ct=["children","id","as","render"],dt=t.createContext(null),mt=v((function(e,a){let{as:n,children:i,id:r,exceptionallySetClassName:o}=e,s=y(e,ot);const c=t.useContext(dt);if(!c)return null;const{variant:d,tabState:u}=c;return t.createElement(m.Tab,x(x({},s),{},{as:n,className:l(o,rt.tab,rt["tab-"+d]),id:r,state:u,ref:a}),i)})),ut=v((function(e,a){let{children:l,id:n,as:i,render:r="always"}=e,o=y(e,ct);const s=t.useContext(dt),[c,d]=t.useState(!1),u=(null==s?void 0:s.tabState.selectedId)===n;if(t.useEffect((function(){!c&&u&&d(!0)}),[c,u]),!s)return null;const{tabState:p}=s;return"always"===r||"active"===r&&u||"lazy"===r&&(u||c)?t.createElement(m.TabPanel,x(x({tabId:n},o),{},{state:p,as:i,ref:a}),l):null})),pt=["type","variant","size","loading","disabled","tooltip","onClick","children"],ft=a.forwardRef((function(e,t){let{type:n="button",variant:i,size:r="default",loading:o=!1,disabled:s=!1,tooltip:c,onClick:d,children:m}=e,u=y(e,pt);const p=l("reactist_button",i?"reactist_button--"+i:null,"default"!==r?"reactist_button--"+r:null,{"reactist_button--loading":o},u.className),f=a.createElement("button",x(x({},u),{},{ref:t,type:n,className:p,"aria-disabled":s||o,onClick:s||o?void 0:d}),m);return c?a.createElement(V,{content:c},f):f}));ft.displayName="Button",ft.defaultProps={size:"default",loading:!1,disabled:!1};const gt=["children","onClick","tooltip","className"];class bt extends a.Component{constructor(e,t){super(e,t),this._timeout=void 0,this._handleClickOutside=e=>{const t=u.findDOMNode(this);t&&!t.contains(e.target)?this._toggleShowBody():this.props.allowBodyInteractions||(this._timeout=setTimeout(()=>{this.state.showBody&&this._toggleShowBody()},100))},this._toggleShowBody=()=>{this.state.showBody?(this.props.onHideBody&&this.props.onHideBody(),document.removeEventListener("click",this._handleClickOutside,!0)):(this.props.onShowBody&&this.props.onShowBody(),document.addEventListener("click",this._handleClickOutside,!0)),this.setState({showBody:!this.state.showBody})},this._setPosition=e=>{if(e){const t=document.getElementById(this.props.scrolling_parent?this.props.scrolling_parent:"");if(t){const a=u.findDOMNode(this);if(!a)return;const l=u.findDOMNode(this).offsetTop,n=a.querySelector(".trigger");if(!n)return;const i=t.clientHeight+t.scrollTop-l-n.clientHeight<e.clientHeight;i!==this.state.top&&this.setState({top:i})}}},this.state={showBody:!1,top:e.top||!1},this._timeout=void 0}componentWillUnmount(){document.removeEventListener("click",this._handleClickOutside,!0),this._timeout&&clearTimeout(this._timeout)}_getTriggerComponent(){var e;const t=null==(e=this.props.children)?void 0:e[0];return t?a.cloneElement(t,{onClick:this._toggleShowBody}):void 0}_getBodyComponent(){if(!this.state.showBody)return null;const{top:e}=this.state,{right:t=!1,children:n}=this.props,i={top:e,right:t,setPosition:this._setPosition},r=l({body_wrapper:!0,with_arrow:!0,top:e,bottom:!e}),o=null==n?void 0:n[1],s="function"==typeof o?o(i):o?a.cloneElement(o,i):void 0;return a.createElement("div",{className:r,style:{position:"relative"}},s)}render(){const e=l("reactist_dropdown",this.props.className),{top:t}=this.state;return a.createElement("div",{style:{display:"inline-block"},className:e,"data-testid":"reactist-dropdown-box"},t&&this._getBodyComponent(),this._getTriggerComponent(),!t&&this._getBodyComponent())}}bt.displayName=void 0,bt.displayName="Dropdown.Box";const ht=a.forwardRef((function(e,t){let{children:n,onClick:i,tooltip:r,className:o}=e,s=y(e,gt);return a.createElement(ft,x(x({},s),{},{className:l("trigger",o),onClick:function(e){e.preventDefault(),e.stopPropagation(),i&&i(e)},tooltip:r,ref:t}),n)}));function xt({top:e,right:t,children:l,setPosition:n}){const i={position:"absolute",right:0,top:0};return e&&(i.top="auto",i.bottom=0),t&&(i.right="auto",i.left=0),a.createElement("div",{ref:n,style:i,className:"body",id:"reactist-dropdown-body","data-testid":"reactist-dropdown-body"},l)}ht.displayName="Dropdown.Trigger",xt.displayName="Dropdown.Body";const _t={Box:bt,Trigger:ht,Body:xt},yt=["#606060","#4A90E2","#03B3B2","#008299","#82BA00","#D24726","#AC193D","#DC4FAD","#3BD5FB","#74E8D3","#FFCC00","#FB886E","#CCCCCC"],vt=e=>"string"!=typeof e;function Et({color:e=0,small:t,onChange:n,colorList:i=yt}){return a.createElement(_t.Box,{right:!0,className:"reactist_color_picker"},a.createElement(_t.Trigger,null,(()=>{const n=((e,t)=>e[t>=e.length?0:t])(i,e);return a.createElement("span",{className:l("color_trigger",{small:t}),style:{backgroundColor:vt(n)?n.color:n}},a.createElement("span",{className:"color_trigger--inner_ring"}))})()),a.createElement(_t.Body,null,a.createElement("div",{className:"color_options"},i.reduce((t,l,r)=>(t.push(a.createElement(Ct,{isActive:e>=i.length?0===r:r===e,key:r,color:vt(l)?l.color:l,colorIndex:r,onClick:n,tooltip:vt(l)?l.name:null})),t),[]))))}function Ct({color:e,colorIndex:t,isActive:l,onClick:n,tooltip:i}){const r=a.createElement("span",{"data-testid":"reactist-color-item",className:"reactist color_item"+(l?" active":""),style:{backgroundColor:e},onClick:()=>null==n?void 0:n(t)},a.createElement("span",{className:"color_item--inner_ring"}));return i?a.createElement(V,{content:i},r):r}Et.displayName="ColorPicker",Ct.displayName="ColorItem";const kt=["children","className","translateKey","isMac"];let wt=e=>e;function Nt(e){switch(e.toLowerCase()){case"cmd":case"mod":return"⌘";case"control":case"ctrl":return"⌃";case"alt":return"⌥";case"shift":return"⇧";case"space":return"␣";default:return e}}function St(e){var a,n;let{children:i,className:r,translateKey:o=wt,isMac:s=null!=(a=null==(n=navigator.platform)?void 0:n.toUpperCase().includes("MAC"))&&a}=e,c=y(e,kt);const d="string"==typeof i?[i]:i;return t.createElement("span",x({className:l("reactist_keyboard_shortcut",r,{"reactist_keyboard_shortcut--macos":s})},c),d.map((e,a)=>t.createElement(t.Fragment,{key:a},0===a?null:", ",t.createElement("kbd",null,function(e,t,a){const l=t?Nt:a,n=/\b(mod|cmd|ctrl|control|alt|shift)\b/i.test(e);return t||(e=e.replace(/\b(mod|cmd)\b/i,"ctrl")),e.split(/\s*\+\s*/).map((function(e){return function(e){return/^(mod|cmd|ctrl|control|alt|shift|space|super)$/i.test(e)}(e)?function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}(l(e)):n&&1===e.length?e.toUpperCase():e}))}(e,s,o).map((e,a)=>t.createElement("kbd",{key:a},e))))))}St.setTranslateKey=e=>{wt=e};const Rt={resolveByKey(e){switch(e){case"Left":case"ArrowLeft":return"ArrowLeft";case"Up":case"ArrowUp":return"ArrowUp";case"Right":case"ArrowRight":return"ArrowRight";case"Down":case"ArrowDown":return"ArrowDown";case"Enter":return"Enter";case"Backspace":return"Backspace";case"Esc":case"Escape":return"Escape";default:return null}},resolveByKeyCode(e){switch(e){case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 13:return"Enter";case 8:return"Backspace";case 27:return"Escape";default:return null}}},Lt={ArrowUp:"onArrowUp",ArrowDown:"onArrowDown",ArrowLeft:"onArrowLeft",ArrowRight:"onArrowRight",Enter:"onEnter",Backspace:"onBackspace",Escape:"onEscape"},Bt={ArrowUp:"propagateArrowUp",ArrowDown:"propagateArrowDown",ArrowLeft:"propagateArrowLeft",ArrowRight:"propagateArrowRight",Enter:"propagateEnter",Backspace:"propagateBackspace",Escape:"propagateEscape"};function Tt({fillPercentage:e=0,className:t,"aria-valuetext":n}){const i=l("reactist_progress_bar",t),r=e<0?0:e>100?100:e;return a.createElement("div",{className:i},a.createElement("div",{className:"inner",style:{width:r+"%"}}),a.createElement(K,null,a.createElement("progress",{value:r,max:100,"aria-valuetext":null!=n?n:void 0})))}Tt.displayName="ProgressBar",p.extend(f);const At={SHORT_FORMAT_CURRENT_YEAR:"L",SHORT_FORMAT_PAST_YEAR:"LL",LONG_FORMAT:"LL, LT",timeAgo(e,t={}){const{locale:a="en",shortFormatCurrentYear:l=this.SHORT_FORMAT_CURRENT_YEAR,shortFormatPastYear:n=this.SHORT_FORMAT_PAST_YEAR,daysSuffix:i="d",hoursSuffix:r="h",minutesSuffix:o="m",momentsAgo:s="moments ago"}=t,c=p(),d=p(1e3*e);d.locale(a);const m=c.diff(d,"minute"),u=c.diff(d,"hour"),f=c.diff(d,"day");return f>1?d.isSame(c,"year")?d.format(l):d.format(n):1===f?""+f+i:u>0&&u<=23?""+u+r:m>0&&m<=59?""+m+o:s},formatTime(e,t={}){const{locale:a="en",shortFormatCurrentYear:l=this.SHORT_FORMAT_CURRENT_YEAR,shortFormatPastYear:n=this.SHORT_FORMAT_PAST_YEAR}=t,i=p(1e3*e);return i.locale(a),i.isSame(p(),"year")?i.format(l):i.format(n)},formatTimeLong(e,t={}){const{locale:a="en",longFormat:l=this.LONG_FORMAT}=t,n=p(1e3*e);return n.locale(a),n.format(l)}};class zt extends a.Component{constructor(e){super(e),this.refreshInterval=void 0,this.refreshInterval=void 0,this.state={hovered:!1,mouseX:void 0,mouseY:void 0}}componentDidMount(){this.props.refresh&&this._refresh()}componentDidUpdate(e){!e.refresh&&this.props.refresh&&this._refresh(),e.refresh&&!this.props.refresh&&this.refreshInterval&&clearTimeout(this.refreshInterval)}componentWillUnmount(){this.refreshInterval&&clearTimeout(this.refreshInterval)}_setHovered(e,t){const{mouseX:a,mouseY:l}=this.state,{clientX:n,clientY:i}=t;n===a&&i===l||this.setState(()=>({hovered:e,mouseX:n,mouseY:i}))}_renderTime(e){if(this.props.time){if(this.state.hovered){if(this.props.expandFullyOnHover&&!this.props.tooltipOnHover)return At.formatTimeLong(this.props.time,e);if(this.props.expandOnHover&&!this.props.tooltipOnHover)return At.formatTime(this.props.time,e)}return At.timeAgo(this.props.time,e)}}_refresh(){this.refreshInterval=setInterval(()=>{this.forceUpdate()},6e4)}render(){let e="reactist_time";this.props.className&&(e=this.props.className);const t=this._renderTime(this.props.config);return a.createElement("time",{className:e,onMouseEnter:e=>this._setHovered(!0,e),onMouseLeave:e=>this._setHovered(!1,e)},this.props.tooltipOnHover?a.createElement(V,{content:this.props.tooltip||this.props.time&&At.formatTimeLong(this.props.time,this.props.config)},a.createElement("span",null,t)):t)}}zt.displayName=void 0,zt.defaultProps=void 0,zt.displayName="Time",zt.defaultProps={expandOnHover:!1,expandFullyOnHover:!1,tooltipOnHover:!1,refresh:!0,config:{locale:"en",daysSuffix:"d",hoursSuffix:"h",minutesSuffix:"m",momentsAgo:"moments ago"}};const Dt=()=>a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},a.createElement("path",{fill:"gray",fillRule:"evenodd",d:"M11.293 12L5.146 5.854a.5.5 0 1 1 .708-.708L12 11.293l6.146-6.147a.5.5 0 0 1 .708.708L12.707 12l6.147 6.146a.5.5 0 0 1-.708.708L12 12.707l-6.146 6.147a.5.5 0 0 1-.708-.708L11.293 12z"})),Ot=["id","icon","title","subtitle","children","customCloseButton","onClick","onClose","closeAltText","className","aria-live"],It=["children","onItemSelect"],Mt=["exceptionallySetClassName"],Ft=["exceptionallySetClassName"],Wt=["value","children","onSelect","hideOnSelect","onClick","exceptionallySetClassName","as"],Pt=["label","children","exceptionallySetClassName"],jt=t.createContext({});function Ht(e){let{children:a,onItemSelect:l}=e,n=y(e,It);const i=g.useMenuState(x({focusLoop:!0,gutter:8,shift:4},n)),r=t.useCallback((function(e){l&&l(e)}),[l]),o=t.useMemo(()=>({state:i,handleItemSelect:r}),[i,r]);return t.createElement(jt.Provider,{value:o},a)}const Yt=v((function(e,a){let{exceptionallySetClassName:n}=e,i=y(e,Mt);const{state:r}=t.useContext(jt);return t.createElement(g.MenuButton,x(x({},i),{},{state:r,ref:a,className:l("reactist_menubutton",n)}))})),Ut=v((function(e,a){let{exceptionallySetClassName:n}=e,i=y(e,Ft);const{state:r}=t.useContext(jt);return r.visible?t.createElement(d.Portal,{preserveTabOrder:!0},t.createElement(o,{returnFocus:!0},t.createElement(g.Menu,x(x({},i),{},{state:r,ref:a,className:l("reactist_menulist",n)})))):null})),qt=v((function(e,a){let{value:l,children:n,onSelect:i,hideOnSelect:r=!0,onClick:o,exceptionallySetClassName:s,as:c="button"}=e,d=y(e,Wt);const{handleItemSelect:m,state:u}=t.useContext(jt),{hide:p}=u,f=t.useCallback((function(e){null==o||o(e);const t=!1!==(i&&!e.defaultPrevented?i():void 0)&&r;m(l),t&&p()}),[i,o,m,r,p,l]);return t.createElement(g.MenuItem,x(x({},d),{},{as:c,state:u,ref:a,onClick:f,className:s,hideOnClick:!1}),n)})),Kt=t.forwardRef((function({children:e,onItemSelect:a},n){const{handleItemSelect:i,state:r}=t.useContext(jt),{hide:o}=r,s=t.useCallback((function(e){a&&a(e),i(e),o()}),[o,i,a]),[c,d]=t.Children.toArray(e),m=g.useMenuItem({state:r});return t.createElement(Ht,{onItemSelect:s},t.cloneElement(c,x(x({},m),{},{className:l(m.className,"reactist_submenu_button"),ref:n})),d)})),Gt=v((function(e,a){let{label:l,children:n,exceptionallySetClassName:i}=e,r=y(e,Pt);const{state:o}=t.useContext(jt);return t.createElement(g.MenuGroup,x(x({},r),{},{ref:a,state:o,className:i}),l?t.createElement("div",{role:"presentation",className:"reactist_menugroup__label"},l):null,n)})),Vt=a.forwardRef((e,t)=>{const n=l("reactist_input",e.className);return a.createElement("input",x(x({},e),{},{className:n,ref:t}))});Vt.displayName="Input";const Xt=["value","options","onChange","disabled","className","defaultValue"];function Zt(e){let{value:t,options:n=[],onChange:i,disabled:r=!0,className:o="",defaultValue:s}=e,c=y(e,Xt);const d=l("reactist_select",{disabled:r},o);return a.createElement("select",x({className:d,value:t,onChange:e=>i?i(e.target.value):void 0,disabled:r,defaultValue:s},c),null==n?void 0:n.map(e=>a.createElement("option",{key:e.key||e.value,value:e.value,disabled:e.disabled},e.text)))}Zt.displayName="Select",Zt.defaultProps={options:[],disabled:!1};var $t={"reach-portal":"_37bef8d8",fadein:"_77f9687f",fitContent:"bcc4e0a5",container:"d4832c2d",full:"b0c3b021",large:"_573d6aa5",medium:"_8550d996",small:"_43bb18f5",xlarge:"_57b4159d",overlay:"cb63f300",expand:"e741893e",buttonContainer:"bb1ce281",headerContent:"c5ef989c"};const Jt=["isOpen","onDismiss","height","width","exceptionallySetClassName","autoFocus","children"],Qt=["children","button","withDivider","exceptionallySetClassName"],ea=["exceptionallySetClassName","children"],ta=["exceptionallySetClassName","withDivider"],aa=["children"],la=t.createContext({onDismiss:void 0,height:"fitContent"});function na(e){return!(e.ownerDocument===document&&"iframe"===e.tagName.toLowerCase())}function ia(e){const{onDismiss:a}=t.useContext(la),[l,n]=t.useState(!1),[i,r]=t.useState(!1);return t.useEffect((function(){i?n(!0):r(!0)}),[i]),t.createElement(te,x(x({},e),{},{variant:"quaternary",onClick:a,icon:t.createElement(ie,null),tabIndex:l?0:-1}))}function ra(e){let{exceptionallySetClassName:a,withDivider:l=!1}=e,n=y(e,ta);return t.createElement(t.Fragment,null,l?t.createElement(M,null):null,t.createElement(L,x(x({as:"footer"},n),{},{className:a,padding:"large"})))}exports.Alert=function({id:e,children:a,tone:l,closeLabel:n,onClose:i}){return t.createElement(L,{id:e,role:"alert","aria-live":"polite",borderRadius:"standard",className:[re.container,E(re,"tone",l)]},t.createElement(D,{space:"small",alignY:"top"},t.createElement(z,{width:"content"},t.createElement(ne,{tone:l})),t.createElement(z,null,t.createElement(L,{paddingY:"xsmall",paddingRight:null!=i&&null!=n?void 0:"small"},a)),null!=i&&null!=n?t.createElement(z,{width:"content"},t.createElement(te,{variant:"quaternary",size:"small",onClick:i,"aria-label":n,icon:t.createElement(ie,null),style:{"--reactist-btn-hover-fill":"transparent"}})):null))},exports.Avatar=Ve,exports.Box=L,exports.Button=te,exports.ButtonLink=he,exports.COLORS=yt,exports.CheckboxField=ke,exports.ColorPicker=Et,exports.Column=z,exports.Columns=D,exports.DeprecatedButton=ft,exports.DeprecatedDropdown=_t,exports.DeprecatedInput=Vt,exports.DeprecatedModal=function(e){let{isOpen:a,onDismiss:n,height:i="fitContent",width:r="medium",exceptionallySetClassName:s,autoFocus:c=!0,children:d}=e,m=y(e,Jt);const u=t.useMemo(()=>({onDismiss:n,height:i}),[n,i]);return t.createElement(b.DialogOverlay,{isOpen:a,onDismiss:n,dangerouslyBypassFocusLock:!0,className:l($t.overlay,$t[i],$t[r]),"data-testid":"modal-overlay"},t.createElement(o,{autoFocus:c,whiteList:na,returnFocus:!0},t.createElement(b.DialogContent,x(x({},m),{},{as:L,borderRadius:"full",background:"default",display:"flex",flexDirection:"column",overflow:"hidden",height:"expand"===i?"full":void 0,flexGrow:"expand"===i?1:0,className:[s,$t.container]}),t.createElement(la.Provider,{value:u},d))))},exports.DeprecatedModalActions=function(e){let{children:a}=e,l=y(e,aa);return t.createElement(ra,x({},l),t.createElement(P,{align:"right",space:"large"},a))},exports.DeprecatedModalBody=function(e){let{exceptionallySetClassName:a,children:l}=e,n=y(e,ea);const{height:i}=t.useContext(la);return t.createElement(L,x(x({},n),{},{className:a,flexGrow:"expand"===i?1:0,height:"expand"===i?"full":void 0,overflow:"auto"}),t.createElement(L,{padding:"large",paddingBottom:"xxlarge"},l))},exports.DeprecatedModalCloseButton=ia,exports.DeprecatedModalFooter=ra,exports.DeprecatedModalHeader=function(e){let{children:a,button:l=!0,withDivider:n=!1,exceptionallySetClassName:i}=e,r=y(e,Qt);return t.createElement(t.Fragment,null,t.createElement(L,x(x({},r),{},{as:"header",paddingLeft:"large",paddingRight:!1===l||null===l?"large":"small",paddingY:"small",className:i}),t.createElement(D,{space:"large",alignY:"center"},t.createElement(z,{width:"auto"},a),!1===l||null===l?t.createElement("div",{className:$t.headerContent}):t.createElement(z,{width:"content",exceptionallySetClassName:$t.buttonContainer,"data-testid":"button-container"},"boolean"==typeof l?t.createElement(ia,{"aria-label":"Close modal",autoFocus:!1}):l))),n?t.createElement(M,null):null)},exports.DeprecatedSelect=Zt,exports.Divider=M,exports.Heading=ue,exports.Hidden=q,exports.HiddenVisually=K,exports.Inline=P,exports.KeyCapturer=function(e){const{children:l,eventName:n="onKeyDown"}=e,i=t.useRef(!1);return a.cloneElement(l,x({[n]:function(t){const a=void 0!==t.key?Rt.resolveByKey(t.key):Rt.resolveByKeyCode(t.keyCode);if(!a)return;const l=e[Bt[a]]||!1,n=e[Lt[a]];"Enter"===a&&n&&(i.current||229===(t.keyCode||t.which))||n&&(n(t),l||(t.preventDefault(),t.stopPropagation()))}},e.onEnter?{onCompositionStart:()=>{i.current=!0},onCompositionEnd:()=>{i.current=!1}}:void 0))},exports.KeyboardShortcut=St,exports.Loading=function(e){var t;let{size:l="small",exceptionallySetClassName:n}=e,i=y(e,oe);const r=null!=(t=se[l])?t:se.small,o=i["aria-label"]?i["aria-label"]:i["aria-labelledby"]?void 0:"Loading…";return a.createElement(L,x(x({},i),{},{"aria-label":o,className:n,display:"flex",alignItems:"center",justifyContent:"center",role:"progressbar"}),a.createElement(X,{size:r,"aria-hidden":!0}))},exports.Menu=Ht,exports.MenuButton=Yt,exports.MenuGroup=Gt,exports.MenuItem=qt,exports.MenuList=Ut,exports.Modal=function(e){let{isOpen:a,onDismiss:n,height:i="fitContent",width:r="medium",exceptionallySetClassName:m,autoFocus:u=!0,children:p}=e,f=y(e,Ze);const g=t.useCallback(e=>{e||null==n||n()},[n]),b=c.useDialogState({visible:a,setVisible:g}),h=t.useMemo(()=>({onDismiss:n,height:i}),[n,i]),_=t.useRef(null),v=t.useRef(null),E=t.useRef(null),C=t.useCallback(e=>{var t,a;null!=(t=v.current)&&t.contains(e.target)||null==(a=E.current)||!a.contains(e.target)||(e.stopPropagation(),null==n||n())},[n]);return t.useLayoutEffect((function(){if(a&&_.current)return s.hideOthers(_.current)}),[a]),a?t.createElement(d.Portal,{portalRef:_},t.createElement(L,{"data-testid":"modal-overlay","data-overlay":!0,className:l(Xe.overlay,Xe[i],Xe[r]),onClick:C,ref:E},t.createElement(o,{autoFocus:u,whiteList:at,returnFocus:!0},t.createElement(c.Dialog,x(x({},f),{},{ref:v,as:L,state:b,hideOnEscape:!0,preventBodyScroll:!0,borderRadius:"full",background:"default",display:"flex",flexDirection:"column",overflow:"hidden",height:"expand"===i?"full":void 0,flexGrow:"expand"===i?1:0,className:[m,Xe.container],modal:!1,autoFocus:!1,autoFocusOnShow:!1,autoFocusOnHide:!1,portal:!1,backdrop:!1,hideOnInteractOutside:!1}),t.createElement(tt.Provider,{value:h},p))))):null},exports.ModalActions=function(e){let{children:a}=e,l=y(e,et);return t.createElement(nt,x({},l),t.createElement(P,{align:"right",space:"large"},a))},exports.ModalBody=function(e){let{exceptionallySetClassName:a,children:l}=e,n=y(e,Je);const{height:i}=t.useContext(tt);return t.createElement(L,x(x({},n),{},{className:a,flexGrow:"expand"===i?1:0,height:"expand"===i?"full":void 0,overflow:"auto"}),t.createElement(L,{padding:"large",paddingBottom:"xxlarge"},l))},exports.ModalCloseButton=lt,exports.ModalFooter=nt,exports.ModalHeader=function(e){let{children:a,button:l=!0,withDivider:n=!1,exceptionallySetClassName:i}=e,r=y(e,$e);return t.createElement(t.Fragment,null,t.createElement(L,x(x({},r),{},{as:"header",paddingLeft:"large",paddingRight:!1===l||null===l?"large":"small",paddingY:"small",className:i}),t.createElement(D,{space:"large",alignY:"center"},t.createElement(z,{width:"auto"},a),!1===l||null===l?t.createElement("div",{className:Xe.headerContent}):t.createElement(z,{width:"content",exceptionallySetClassName:Xe.buttonContainer,"data-testid":"button-container"},"boolean"==typeof l?t.createElement(lt,{"aria-label":"Close modal",autoFocus:!1}):l))),n?t.createElement(M,null):null)},exports.Notice=function({id:e,children:a,tone:l}){return t.createElement(L,{id:e,role:"alert","aria-live":"polite",className:[ce.container,E(ce,"tone",l)]},t.createElement(D,{space:"small",alignY:"top"},t.createElement(z,{width:"content"},t.createElement(ne,{tone:l})),t.createElement(z,null,t.createElement(L,{paddingY:"xsmall"},a))))},exports.Notification=function(e){let{id:t,icon:n,title:i,subtitle:r,children:o,customCloseButton:s,onClick:c,onClose:d,closeAltText:m="Close",className:u,"aria-live":p="polite"}=e,f=y(e,Ot);const g=i?t+"-title":null,b=g?{id:g}:null,h=r?t+"-subtitle":null,_=h?{id:h}:null,v=o?t+"-content":null,E=v?{"aria-labelledby":v}:g?{"aria-labelledby":g}:null,C=h&&!o?{"aria-describedby":h}:null,k=a.createElement("div",x({className:"reactist-notification__content"},o?{id:t+"-content"}:null),null!=o?o:a.createElement(a.Fragment,null,i?a.createElement("h3",x({className:"reactist-notification__title"},b),i):null,r?a.createElement("p",x({className:"reactist-notification__subtitle"},_),r):null)),w=a.createElement("div",{className:"reactist-notification__icon-content-group"},null!=n?n:null,k);return a.createElement("div",x(x(x({id:t,role:"alert",className:l("reactist-notification",u,{"reactist-notification--with-button":Boolean(c),"reactist-notification--with-close-button":Boolean(d)}),"aria-live":p},E),C),f),c?a.createElement("button",{className:"reactist-notification__button",onClick:c},w):w,d?a.createElement("button",{className:"reactist-notification__close-button",onClick:d,"aria-label":m},null!=s?s:a.createElement(Dt,null)):null)},exports.PasswordField=De,exports.ProgressBar=Tt,exports.SUPPORTED_KEYS={ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ENTER:"Enter",BACKSPACE:"Backspace",ESCAPE:"Escape"},exports.SelectField=Ie,exports.Stack=Y,exports.SubMenu=Kt,exports.SwitchField=We,exports.Tab=mt,exports.TabAwareSlot=function({children:e}){const a=t.useContext(dt);return a?e({selectedId:null==a?void 0:a.tabState.selectedId}):null},exports.TabList=function(e){let{children:a,space:n="xsmall"}=e,i=y(e,st);const r=t.useContext(dt);if(!r)return null;const{tabState:o,variant:s}=r;return t.createElement(L,null,t.createElement(m.TabList,x({state:o,as:L,position:"relative",width:"maxContent"},i),t.createElement(L,{className:l(rt.track,rt["track-"+n],rt["track-"+s])}),t.createElement(P,{space:n},a)))},exports.TabPanel=ut,exports.Tabs=function({children:e,selectedId:a,defaultSelectedId:l,variant:n="neutral",onSelectedIdChange:i}){const r=m.useTabState({selectedId:a,setSelectedId:i}),o=it(l),{selectedId:s,select:c}=r;t.useEffect((function(){a||l===o||l===s||void 0===l||c(l)}),[a,l,s,c,o]);const d=t.useMemo((function(){return{tabState:r,variant:n}}),[n,r]);return t.createElement(dt.Provider,{value:d},e)},exports.Text=ge,exports.TextArea=function(e){let{variant:a="default",id:l,label:n,secondaryLabel:i,auxiliaryLabel:r,hint:o,message:s,tone:c,maxWidth:d,hidden:m,"aria-describedby":u}=e,p=y(e,Pe);return t.createElement(Be,{variant:a,id:l,label:n,secondaryLabel:i,auxiliaryLabel:r,hint:o,message:s,tone:c,hidden:m,"aria-describedby":u,className:["_61447829","error"===c?"_4df3452b":null,"bordered"===a?"_76f4ad88":null],maxWidth:d},e=>t.createElement(L,{width:"full",display:"flex"},t.createElement("textarea",x(x({},p),e))))},exports.TextField=He,exports.TextLink=_e,exports.Time=zt,exports.Tooltip=V,exports.usePrevious=it;
1
+ "use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(exports,"__esModule",{value:!0});var t=require("react"),a=e(require("classnames")),l=e(require("react-keyed-flatten-children")),n=require("ariakit/tooltip"),i=require("ariakit-utils"),r=e(require("react-focus-lock")),o=require("aria-hidden"),s=require("ariakit/dialog"),c=require("ariakit/portal"),d=require("ariakit/tab"),m=e(require("react-dom")),u=e(require("dayjs")),p=e(require("dayjs/plugin/localizedFormat")),f=require("ariakit/menu"),g=require("@reach/dialog");function b(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);t&&(l=l.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,l)}return a}function h(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?b(Object(a),!0).forEach((function(t){x(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):b(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function x(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function _(e,t){if(null==e)return{};var a,l,n=function(e,t){if(null==e)return{};var a,l,n={},i=Object.keys(e);for(l=0;l<i.length;l++)t.indexOf(a=i[l])>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(l=0;l<i.length;l++)t.indexOf(a=i[l])>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function y(e){return t.forwardRef(e)}function v(e,t,a){if(!a)return null;const l=[];return"string"==typeof a?l.push(e[t+"-"+a]):(a.mobile&&l.push(e[t+"-"+a.mobile]),a.tablet&&l.push(e["tablet-"+t+"-"+a.tablet]),a.desktop&&l.push(e["desktop-"+t+"-"+a.desktop])),l}function E(e,t){if(e)return"object"!=typeof e?t(e):{mobile:e.mobile?t(e.mobile):void 0,tablet:e.tablet?t(e.tablet):void 0,desktop:e.desktop?t(e.desktop):void 0}}var C={box:"f9408a0e","position-absolute":"_7807dcdd","position-fixed":"dc5f328c","position-relative":"_0e4ff085","position-sticky":"_4019d94a","tablet-position-absolute":"b1865c0f","tablet-position-fixed":"af8c5967","tablet-position-relative":"ef2b609f","tablet-position-sticky":"_04935ffd","desktop-position-absolute":"bda94091","desktop-position-fixed":"_691dfd31","desktop-position-relative":"efda904e","desktop-position-sticky":"bcf04687","display-block":"b5b9f34a","display-flex":"_6e9db9aa","display-inline":"ece6d246","display-inlineBlock":"e5e2223f","display-inlineFlex":"f344a0e2","display-none":"_9002f8c2","tablet-display-block":"d896f0ff","tablet-display-flex":"_56412665","tablet-display-inline":"_6b430cc5","tablet-display-inlineBlock":"_4158c5ad","tablet-display-inlineFlex":"c598eaab","tablet-display-none":"_5a2a6d3f","desktop-display-block":"_132ef8fb","desktop-display-flex":"_5bd11385","desktop-display-inline":"a51c2ec9","desktop-display-inlineBlock":"_93506988","desktop-display-inlineFlex":"_385d45a5","desktop-display-none":"_921732eb","flexDirection-column":"_41ef5755","flexDirection-row":"_6cad1a19","tablet-flexDirection-column":"f1c16205","tablet-flexDirection-row":"_65305ae1","desktop-flexDirection-column":"_4916f0f9","desktop-flexDirection-row":"_430dfc8e","flexWrap-wrap":"_3d2d56fe","flexWrap-nowrap":"_826e4adf","flexShrink-0":"f8344e0f","flexGrow-0":"f117e2ab","flexGrow-1":"_1355325c","alignItems-flexStart":"c5b05c6a","alignItems-center":"_21b8bafa","alignItems-flexEnd":"_56d73c9b","alignItems-baseline":"_052e0707","tablet-alignItems-flexStart":"_90048c98","tablet-alignItems-center":"_7e189a0b","tablet-alignItems-flexEnd":"b8aefb5c","tablet-alignItems-baseline":"_4c1a5ef9","desktop-alignItems-flexStart":"f4d052ef","desktop-alignItems-center":"e5478926","desktop-alignItems-flexEnd":"b4f5051a","desktop-alignItems-baseline":"b21adace","justifyContent-flexStart":"be6deb6a","justifyContent-center":"d8eaf780","justifyContent-flexEnd":"_9212ca89","justifyContent-spaceAround":"_5d2cd095","justifyContent-spaceBetween":"_00d5fe7e","justifyContent-spaceEvenly":"ce4f4c2d","tablet-justifyContent-flexStart":"_6580dbbc","tablet-justifyContent-center":"_3f689891","tablet-justifyContent-flexEnd":"_628df8db","tablet-justifyContent-spaceAround":"_3ea88b4f","tablet-justifyContent-spaceBetween":"_4554d93d","tablet-justifyContent-spaceEvenly":"eb13fb50","desktop-justifyContent-flexStart":"_36dc744d","desktop-justifyContent-center":"ee7077ab","desktop-justifyContent-flexEnd":"_4edc8c86","desktop-justifyContent-spaceBetween":"_7e147696","alignSelf-stretch":"c0655cd6","alignSelf-flexStart":"_11863030","alignSelf-center":"c6d86139","alignSelf-flexEnd":"c0bd1f82","alignSelf-baseline":"_95686aec","tablet-alignSelf-stretch":"_9b712cc7","tablet-alignSelf-flexStart":"f7b935f7","tablet-alignSelf-center":"bf9ad125","tablet-alignSelf-flexEnd":"_3b4f8c3c","tablet-alignSelf-baseline":"_49d27079","desktop-alignSelf-stretch":"_63d27ffa","desktop-alignSelf-flexStart":"d45796cc","desktop-alignSelf-center":"c91c7bf7","desktop-alignSelf-flexEnd":"f2453212","desktop-alignSelf-baseline":"_3882757c","overflow-hidden":"_473810b4","overflow-auto":"_051c2340","overflow-visible":"_14e451d1","overflow-scroll":"_4d8555f8","height-full":"_867d251e","bg-default":"_2d928bf8","bg-aside":"db3f5af6","bg-highlight":"c990fcc3","bg-selected":"_976a662f","borderRadius-standard":"_46b52f05","borderRadius-full":"_1c8b326b","border-primary":"_0ef8c314","border-secondary":"_14871605","border-tertiary":"_36c045c3","textAlign-start":"d745aa1e","textAlign-center":"_31cf99c5","textAlign-end":"_10a7a030","textAlign-justify":"_2cfc8b46","tablet-textAlign-start":"e6b7bb40","tablet-textAlign-center":"_47dcb91c","tablet-textAlign-end":"_1d4011ce","tablet-textAlign-justify":"_18407499","desktop-textAlign-start":"_565de5cf","desktop-textAlign-center":"_64254ba3","desktop-textAlign-end":"_3cc6a504","desktop-textAlign-justify":"_0efec659"},k={"paddingTop-xsmall":"c4803194","paddingTop-small":"_4e9ab24b","paddingTop-medium":"_1d226e27","paddingTop-large":"eb6097f1","paddingTop-xlarge":"d3229ba4","paddingTop-xxlarge":"_47978ba4","tablet-paddingTop-xsmall":"f987719c","tablet-paddingTop-small":"_8dbc4b4d","tablet-paddingTop-medium":"ae44fe07","tablet-paddingTop-large":"ffe9548d","tablet-paddingTop-xlarge":"f2b76a44","tablet-paddingTop-xxlarge":"c6eb8f43","desktop-paddingTop-xsmall":"_8699b560","desktop-paddingTop-small":"_02c374b7","desktop-paddingTop-medium":"_0dd0332f","desktop-paddingTop-large":"da55f1f6","desktop-paddingTop-xlarge":"_8ef2a278","desktop-paddingTop-xxlarge":"_8b493b28","paddingRight-xsmall":"_211eebc7","paddingRight-small":"ad0ccf15","paddingRight-medium":"a03e39af","paddingRight-large":"f0941ead","paddingRight-xlarge":"e47c5a43","paddingRight-xxlarge":"e849a5cf","tablet-paddingRight-xsmall":"_85374228","tablet-paddingRight-small":"_89df37b9","tablet-paddingRight-medium":"_1cc50ebe","tablet-paddingRight-large":"_1060982b","tablet-paddingRight-xlarge":"be58847d","tablet-paddingRight-xxlarge":"_45093484","desktop-paddingRight-xsmall":"f8d99d6a","desktop-paddingRight-small":"efa076d9","desktop-paddingRight-medium":"e59caa64","desktop-paddingRight-large":"da42f46a","desktop-paddingRight-xlarge":"b3ee2580","desktop-paddingRight-xxlarge":"_3ef94658","paddingBottom-xsmall":"b0e6eab4","paddingBottom-small":"_9510d053","paddingBottom-medium":"d7af60c9","paddingBottom-large":"b75f86cd","paddingBottom-xlarge":"fbd4ce29","paddingBottom-xxlarge":"_33e3ad63","tablet-paddingBottom-xsmall":"f0302da7","tablet-paddingBottom-small":"_4f9b8012","tablet-paddingBottom-medium":"_4333e20e","tablet-paddingBottom-large":"_30bbc76c","tablet-paddingBottom-xlarge":"ba5a4008","tablet-paddingBottom-xxlarge":"_423a3b1a","desktop-paddingBottom-xsmall":"b40139b7","desktop-paddingBottom-small":"f96071fa","desktop-paddingBottom-medium":"fe803c9a","desktop-paddingBottom-large":"_01686eb9","desktop-paddingBottom-xlarge":"afa763d8","desktop-paddingBottom-xxlarge":"a95785f1","paddingLeft-xsmall":"cad4e2ec","paddingLeft-small":"d70b3c17","paddingLeft-medium":"_8c851bd6","paddingLeft-large":"_078feb3c","paddingLeft-xlarge":"_76ab968c","paddingLeft-xxlarge":"aaca85d7","tablet-paddingLeft-xsmall":"_5eb0e5aa","tablet-paddingLeft-small":"_0384fb4f","tablet-paddingLeft-medium":"edffff6f","tablet-paddingLeft-large":"_873b9a46","tablet-paddingLeft-xlarge":"_89105db5","tablet-paddingLeft-xxlarge":"db1966fe","desktop-paddingLeft-xsmall":"b17f826b","desktop-paddingLeft-small":"_6dc83610","desktop-paddingLeft-medium":"_3421b8b2","desktop-paddingLeft-large":"_68cec7a6","desktop-paddingLeft-xlarge":"_94bde020","desktop-paddingLeft-xxlarge":"b94ee579"},w={"marginTop-xsmall":"c7813d79","marginTop-small":"d3449da6","marginTop-medium":"_4ea254c1","marginTop-large":"c0844f64","marginTop-xlarge":"_213145b4","marginTop-xxlarge":"df61c84c","marginTop--xsmall":"efe72b13","marginTop--small":"_870c2768","marginTop--medium":"_0b927c57","marginTop--large":"_461db014","marginTop--xlarge":"_2a3a8cb8","marginTop--xxlarge":"_9bcda921","tablet-marginTop-xsmall":"_6add01e4","tablet-marginTop-small":"_735ef86b","tablet-marginTop-medium":"_0477d068","tablet-marginTop-large":"_2c90af97","tablet-marginTop-xlarge":"_63a82db6","tablet-marginTop-xxlarge":"_03cd7726","tablet-marginTop--xsmall":"c986a62a","tablet-marginTop--small":"be2bdcdd","tablet-marginTop--medium":"_47d2686b","tablet-marginTop--large":"_25e5af9d","tablet-marginTop--xlarge":"ee82f441","tablet-marginTop--xxlarge":"a6f9d404","desktop-marginTop-xsmall":"_4d8d9a36","desktop-marginTop-small":"e813cee7","desktop-marginTop-medium":"_56975b7d","desktop-marginTop-large":"_53b367f6","desktop-marginTop-xlarge":"d69e7311","desktop-marginTop-xxlarge":"_92f57c7e","desktop-marginTop--xsmall":"_96880d3e","desktop-marginTop--small":"dc3f3555","desktop-marginTop--medium":"_86dd06bb","desktop-marginTop--large":"c93ef12e","desktop-marginTop--xlarge":"bc8fd4a2","desktop-marginTop--xxlarge":"b12a9124","marginRight-xsmall":"_6016f4fb","marginRight-small":"b85e3dfa","marginRight-medium":"_297575f4","marginRight-large":"b401ac6c","marginRight-xlarge":"dc3ec387","marginRight-xxlarge":"_24694604","marginRight--xsmall":"_8e9bf2ee","marginRight--small":"ae9d1115","marginRight--medium":"_14e46fc3","marginRight--large":"_3370631b","marginRight--xlarge":"_3f0e9b50","marginRight--xxlarge":"bc13e010","tablet-marginRight-xsmall":"_6fa1aae3","tablet-marginRight-small":"_2976c5cb","tablet-marginRight-medium":"_38d94802","tablet-marginRight-large":"db9569b5","tablet-marginRight-xlarge":"_4a52f06d","tablet-marginRight-xxlarge":"_8a0f0410","tablet-marginRight--xsmall":"e7d40e9d","tablet-marginRight--small":"_680fde91","tablet-marginRight--medium":"_021010ca","tablet-marginRight--large":"_9e52c87c","tablet-marginRight--xlarge":"_4d602613","tablet-marginRight--xxlarge":"_21b1b65a","desktop-marginRight-xsmall":"_7321bc07","desktop-marginRight-small":"fa1721f4","desktop-marginRight-medium":"_3fd7b4b8","desktop-marginRight-large":"_4fdc2f74","desktop-marginRight-xlarge":"c0254761","desktop-marginRight-xxlarge":"_710a5f09","desktop-marginRight--xsmall":"e08bee7f","desktop-marginRight--small":"e5ab73d2","desktop-marginRight--medium":"_5e731477","desktop-marginRight--large":"_0f57a22e","desktop-marginRight--xlarge":"_25f26ed3","desktop-marginRight--xxlarge":"_11a3b4e0","marginBottom-xsmall":"_6a4f69f7","marginBottom-small":"db26b033","marginBottom-medium":"c7313022","marginBottom-large":"a5885889","marginBottom-xlarge":"_33dfbd8e","marginBottom-xxlarge":"_795ad2de","marginBottom--xsmall":"a329dbd3","marginBottom--small":"_85e739fb","marginBottom--medium":"_681f65ff","marginBottom--large":"caf50d8f","marginBottom--xlarge":"_1e084cbf","marginBottom--xxlarge":"_3dfb1c7e","tablet-marginBottom-xsmall":"ef4735be","tablet-marginBottom-small":"de55afba","tablet-marginBottom-medium":"_0e33ce88","tablet-marginBottom-large":"_8ca391fc","tablet-marginBottom-xlarge":"_3a609d23","tablet-marginBottom-xxlarge":"_3e1177e4","tablet-marginBottom--xsmall":"d384884d","tablet-marginBottom--small":"_75254cec","tablet-marginBottom--medium":"_5d9f127d","tablet-marginBottom--large":"_835f1089","tablet-marginBottom--xlarge":"dad52a72","tablet-marginBottom--xxlarge":"_8703a4bf","desktop-marginBottom-xsmall":"_90fd20e9","desktop-marginBottom-small":"f3769191","desktop-marginBottom-medium":"_156410f8","desktop-marginBottom-large":"_7fed74d0","desktop-marginBottom-xlarge":"_477dc10e","desktop-marginBottom-xxlarge":"_85c82d89","desktop-marginBottom--xsmall":"_4f09c1e0","desktop-marginBottom--small":"_9523e048","desktop-marginBottom--medium":"efe10240","desktop-marginBottom--large":"c43971e6","desktop-marginBottom--xlarge":"f9b4da15","desktop-marginBottom--xxlarge":"a10fdf70","marginLeft-xsmall":"f9be90b4","marginLeft-small":"f53218d5","marginLeft-medium":"c4a9b3ab","marginLeft-large":"_5755e2c3","marginLeft-xlarge":"_33fc9354","marginLeft-xxlarge":"_4749a3bf","marginLeft--xsmall":"c76cb3c7","marginLeft--small":"_96003c07","marginLeft--medium":"_09988d07","marginLeft--large":"b4a486f6","marginLeft--xlarge":"f396e75e","marginLeft--xxlarge":"_81d1f26d","tablet-marginLeft-xsmall":"_0a46e8f1","tablet-marginLeft-small":"_57c970af","tablet-marginLeft-medium":"_4b6099d3","tablet-marginLeft-large":"_378fcff5","tablet-marginLeft-xlarge":"f8785663","tablet-marginLeft-xxlarge":"_72f957ee","tablet-marginLeft--xsmall":"_2288c7e1","tablet-marginLeft--small":"b27c1c05","tablet-marginLeft--medium":"_702cbb13","tablet-marginLeft--large":"_1a2748b4","tablet-marginLeft--xlarge":"b8c043a5","tablet-marginLeft--xxlarge":"_8dc8ff63","desktop-marginLeft-xsmall":"c2af646d","desktop-marginLeft-small":"c03d07be","desktop-marginLeft-medium":"_915fb1d3","desktop-marginLeft-large":"_64214ee1","desktop-marginLeft-xlarge":"_7be4a22c","desktop-marginLeft-xxlarge":"_5ec0a401","desktop-marginLeft--xsmall":"ea29f1ee","desktop-marginLeft--small":"c26652c7","desktop-marginLeft--medium":"c24f6af9","desktop-marginLeft--large":"c2671f27","desktop-marginLeft--xlarge":"cc51a04e","desktop-marginLeft--xxlarge":"fd581f54"},N={"minWidth-0":"_68ab48ca","minWidth-xsmall":"_6fa2b565","minWidth-small":"dd50fabd","minWidth-medium":"e7e2c808","minWidth-large":"_6abbe25e","minWidth-xlarge":"_54f479ac","maxWidth-xsmall":"_148492bc","maxWidth-small":"bd023b96","maxWidth-medium":"e102903f","maxWidth-large":"_0e8d76d7","maxWidth-xlarge":"_47a031d0","maxWidth-full":"cd4c8183","width-0":"_5f5959e8","width-full":"_8c75067a","width-auto":"_56a651f6","width-maxContent":"_26f87bb8","width-minContent":"_07a6ab44","width-fitContent":"a87016fa","width-xsmall":"_1a972e50","width-small":"c96d8261","width-medium":"f3829d42","width-large":"_2caef228","width-xlarge":"_069e1491"};const S=["as","position","display","flexDirection","flexWrap","flexGrow","flexShrink","alignItems","justifyContent","alignSelf","overflow","width","height","background","border","borderRadius","minWidth","maxWidth","textAlign","padding","paddingY","paddingX","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginY","marginX","marginTop","marginRight","marginBottom","marginLeft","className","children"],R=y((function(e,l){var n,i,r,o,s,c,d,m;let{as:u="div",position:p="static",display:f,flexDirection:g="row",flexWrap:b,flexGrow:x,flexShrink:y,alignItems:E,justifyContent:R,alignSelf:L,overflow:B,width:T,height:A,background:z,border:D,borderRadius:O,minWidth:I,maxWidth:M,textAlign:F,padding:W,paddingY:P,paddingX:j,paddingTop:H,paddingRight:Y,paddingBottom:U,paddingLeft:q,margin:K,marginY:G,marginX:V,marginTop:X,marginRight:Z,marginBottom:$,marginLeft:J,className:Q,children:ee}=e,te=_(e,S);const ae=null!=(n=null!=H?H:P)?n:W,le=null!=(i=null!=Y?Y:j)?i:W,ne=null!=(r=null!=U?U:P)?r:W,ie=null!=(o=null!=q?q:j)?o:W,re=null!=(s=null!=X?X:G)?s:K,oe=null!=(c=null!=Z?Z:V)?c:K,se=null!=(d=null!=$?$:G)?d:K,ce=null!=(m=null!=J?J:V)?m:K,de=!f||"string"==typeof f&&"flex"!==f&&"inlineFlex"!==f;return t.createElement(u,h(h({},te),{},{className:a(Q,C.box,f?v(C,"display",f):null,"static"!==p?v(C,"position",p):null,null!=I?v(N,"minWidth",String(I)):null,v(N,"maxWidth",M),v(C,"textAlign",F),v(k,"paddingTop",ae),v(k,"paddingRight",le),v(k,"paddingBottom",ne),v(k,"paddingLeft",ie),v(w,"marginTop",re),v(w,"marginRight",oe),v(w,"marginBottom",se),v(w,"marginLeft",ce),de?null:v(C,"flexDirection",g),de?null:v(C,"flexWrap",b),de?null:v(C,"alignItems",E),de?null:v(C,"justifyContent",R),null!=L?v(C,"alignSelf",L):null,null!=y?v(C,"flexShrink",String(y)):null,null!=x?v(C,"flexGrow",String(x)):null,v(C,"overflow",B),null!=T?v(N,"width",String(T)):null,v(C,"height",A),v(C,"bg",z),"none"!==O?v(C,"borderRadius",O):null,"none"!==D?v(C,"border",D):null)||void 0,ref:l}),ee)}));var L={"space-xsmall":"_6f59c771",column:"_91e05f0f","space-small":"_5a55af26","space-medium":"fa261310","space-large":"_6ebd4e46","space-xlarge":"_55ce4aea","space-xxlarge":"_04c9c3ac","tablet-space-xsmall":"ab76d8cd","tablet-space-small":"_14629bfb","tablet-space-medium":"_5b4e39ea","tablet-space-large":"ba270182","tablet-space-xlarge":"b96e7ec7","tablet-space-xxlarge":"d276612c","desktop-space-xsmall":"d7a73106","desktop-space-small":"_8f5e0e9e","desktop-space-medium":"_3a168411","desktop-space-large":"_0abcc12e","desktop-space-xlarge":"e0bafc60","desktop-space-xxlarge":"d2df9afd","columnWidth-auto":"b18d0b47","columnWidth-1-2":"_102a6b27","columnWidth-1-3":"_829872fe","columnWidth-2-3":"cf5aef9a","columnWidth-1-4":"_931bf714","columnWidth-3-4":"b0303130","columnWidth-1-5":"f6589a6f","columnWidth-2-5":"_2823aed9","columnWidth-3-5":"d00ba3bb","columnWidth-4-5":"_338f2d7c","tablet-tablet-space-xsmall":"_06582234"};const B=["width","children","exceptionallySetClassName"],T=["space","align","alignY","collapseBelow","children","exceptionallySetClassName"],A=y((function(e,a){let{width:l="auto",children:n,exceptionallySetClassName:i}=e,r=_(e,B);return t.createElement(R,h(h({},r),{},{className:[i,L.column,"content"!==l?v(L,"columnWidth",l.replace("/","-")):null],minWidth:0,width:"content"!==l?"full":void 0,height:"full",flexShrink:"content"===l?0:void 0,ref:a}),n)})),z=y((function(e,a){let{space:l,align:n="left",alignY:i="top",collapseBelow:r,children:o,exceptionallySetClassName:s}=e,c=_(e,T);return t.createElement(R,h(h({},c),{},{className:[s,v(L,"space",l)],display:"flex",flexDirection:"desktop"===r?{mobile:"column",tablet:"column",desktop:"row"}:"tablet"===r?{mobile:"column",tablet:"row"}:"row",alignItems:E(i,e=>"top"===e?"flexStart":"bottom"===e?"flexEnd":e),justifyContent:E(n,e=>"left"===e?"flexStart":"right"===e?"flexEnd":e),ref:a}),o)}));var D={"weight-primary":"_3f3a401c","weight-secondary":"_03b05b70","weight-tertiary":"b6f67ff8"};const O=["weight"];function I(e){let{weight:a="tertiary"}=e,l=_(e,O);return t.createElement(R,h({as:"hr",className:v(D,"weight",a)},l))}var M={"space-xsmall":"_6b1279e0","space-small":"_0d82c42d","space-medium":"_556714e1","space-large":"e90b43fb","space-xlarge":"a9c34345","space-xxlarge":"aa102efe","tablet-space-xsmall":"_34d16157","tablet-space-small":"c7e0e54f","tablet-space-medium":"_7f2a4e4b","tablet-space-large":"ae256487","tablet-space-xlarge":"e88be0f7","tablet-space-xxlarge":"dc7bcb18","desktop-space-xsmall":"_853f3012","desktop-space-small":"_3bfaf758","desktop-space-medium":"_36462a93","desktop-space-large":"e73081b7","desktop-space-xlarge":"e22ec9dd","desktop-space-xxlarge":"_4a20bd12"};const F=["as","space","align","alignY","children","exceptionallySetClassName"],W=y((function(e,a){let{as:l,space:n,align:i="left",alignY:r="center",children:o,exceptionallySetClassName:s}=e,c=_(e,F);return t.createElement(R,h(h({},c),{},{as:l,display:"flex",flexWrap:"wrap",className:[s,v(M,"space",n)],ref:a,alignItems:E(r,e=>"top"===e?"flexStart":"bottom"===e?"flexEnd":"center"),justifyContent:E(i,e=>"left"===e?"flexStart":"right"===e?"flexEnd":"center")}),o)}));var P={"space-xsmall":"_7b475ead","space-small":"_5641699f","space-medium":"_1a1c63e4","space-large":"_560f80a0","space-xlarge":"_84ffebbc","space-xxlarge":"b60a65cb","tablet-space-xsmall":"d808f5c3","tablet-space-small":"a51c76b3","tablet-space-medium":"_7185a7aa","tablet-space-large":"af82e610","tablet-space-xlarge":"_88b4ff46","tablet-space-xxlarge":"_9de15321","desktop-space-xsmall":"_6fb32d20","desktop-space-small":"_07ee315a","desktop-space-medium":"a270d7ec","desktop-space-large":"ea6ebb29","desktop-space-xlarge":"_35b36178","desktop-space-xxlarge":"_56c7dc23"};const j=["as","space","align","dividers","children","exceptionallySetClassName"],H=y((function(e,a){let{as:n,space:i,align:r="start",dividers:o="none",children:s,exceptionallySetClassName:c}=e,d=_(e,j);const m="start"===r?void 0:{width:"full",flexDirection:"column",display:"flex",alignItems:E(r,e=>"start"===e?"flexStart":"end"===e?"flexEnd":"center")};return t.createElement(R,h(h(h({},d),m),{},{as:n,className:[c,v(P,"space",i)],ref:a}),"none"!==o?t.Children.map(l(s),(e,a)=>a>0?t.createElement(t.Fragment,null,t.createElement(I,{weight:o}),e):e):s)})),Y=["display","children","exceptionallySetClassName"],U=y((function(e,a){let{display:l="block",children:n,exceptionallySetClassName:i}=e,r=_(e,Y);const o="print"in r&&r.print,s="above"in r,c="below"in r,d="below"in r&&"desktop"===r.below||"above"in r&&"mobile"===r.above;return s&&c&&console.warn('<Hidden /> should receive either above="…" or below="…" but not both'),s||c||o||console.warn("<Hidden /> did not receive any criteria to hide itself"),"above"in r&&delete r.above,"below"in r&&delete r.below,"print"in r&&delete r.print,t.createElement(R,h(h({},r),{},{ref:a,className:[i,o?"_0e595dea":null],display:s&&c?"none":{mobile:c?"none":l,tablet:d?"none":l,desktop:s?"none":l}}),n)})),q=y((function(e,a){return t.createElement(R,h(h({},e),{},{ref:a,position:"absolute",overflow:"hidden",className:"_618235b7"}))})),K=["children","content","position","gapSize","className"];function G(e){let{children:l,content:i,position:r="top",gapSize:o=3,className:s}=e,c=_(e,K);const d=function(e){const a=n.useTooltipState(e),l=function(){const e=t.useRef(),a=t.useCallback((function(){null!=e.current&&clearTimeout(e.current)}),[]);return t.useEffect(()=>a,[a]),t.useCallback((function(t,l){return()=>{a(),e.current=setTimeout(t,l)}}),[a])}();return t.useMemo(()=>h(h({},a),{},{show:l(()=>a.show(),500),hide:l(()=>a.hide(),100)}),[l,a])}({placement:r,gutter:o}),m=t.Children.only(l);if(!i||!m)return m;if("string"==typeof m.ref)throw new Error("Tooltip: String refs cannot be used as they cannot be forwarded");return t.createElement(t.Fragment,null,t.createElement(n.TooltipAnchor,{state:d,ref:m.ref,onFocus:function(e){var t;e.currentTarget.addEventListener("keyup",(function(e){const t=e.key;"Escape"!==t&&"Enter"!==t&&"Space"!==t&&d.show()}),{once:!0}),e.preventDefault(),null==m||null==(t=m.props)||null==t.onFocus||t.onFocus(e)}},e=>t.cloneElement(m,h(h({},e),m.props))),d.visible?t.createElement(n.Tooltip,h(h({},c),{},{state:d,className:a("reactist_tooltip",s)}),"function"==typeof i?i():i):null)}function V({size:e=24}){return t.createElement("svg",{"aria-hidden":!0,width:e,height:e,viewBox:"0 0 24 24",className:"_51539197"},t.createElement("g",{fill:"none",fillRule:"nonzero"},t.createElement("path",{className:"a0c466ed",d:"M17.945 3.958A9.955 9.955 0 0 0 12 2c-2.19 0-4.217.705-5.865 1.9L5.131 2.16A11.945 11.945 0 0 1 12 0c2.59 0 4.99.82 6.95 2.217l-1.005 1.741z"}),t.createElement("path",{className:"_745b73d3",d:"M5.13 2.16L6.136 3.9A9.987 9.987 0 0 0 2 12c0 5.523 4.477 10 10 10s10-4.477 10-10a9.986 9.986 0 0 0-4.055-8.042l1.006-1.741A11.985 11.985 0 0 1 24 12c0 6.627-5.373 12-12 12S0 18.627 0 12c0-4.073 2.029-7.671 5.13-9.84z"})))}var X={baseButton:"a8af2163",label:"bbdb467b","shape-rounded":"ca02fc07","size-small":"_45ffe137","size-normal":"_352995bd","size-large":"_3991076f",disabled:"f82232b7",iconButton:"ef4c88db",startIcon:"a08c25c7",endIcon:"_2f6adc11","variant-primary":"_3d1243b2","variant-secondary":"_16b6b062","variant-tertiary":"cffaea5e","variant-quaternary":"_98cd5c3f","tone-destructive":"_99cb1c4d"};const Z=["as","variant","tone","size","shape","disabled","loading","tooltip","onClick","exceptionallySetClassName","children","startIcon","endIcon","icon","width","align"];function $(e){e.preventDefault()}const J=y((function(e,a){let{as:l="div",variant:n,tone:i="normal",size:r="normal",shape:o="normal",disabled:s=!1,loading:c=!1,tooltip:d,onClick:m,exceptionallySetClassName:u,children:p,startIcon:f,endIcon:g,icon:b,width:x="auto",align:y="center"}=e,v=_(e,Z);const E=c||s,C=t.createElement(R,h(h({},v),{},{as:l,ref:a,"aria-disabled":E,onClick:E?$:m,width:b?void 0:x,className:[u,X.baseButton,X["variant-"+n],X["tone-"+i],X["size-"+r],"rounded"===o?X["shape-rounded"]:null,b?X.iconButton:null,s?X.disabled:null]}),b?c&&t.createElement(V,null)||b:t.createElement(t.Fragment,null,f?t.createElement(R,{display:"flex",className:X.startIcon,"aria-hidden":!0},c&&!g?t.createElement(V,null):f):null,p?t.createElement(R,{as:"span",className:X.label,overflow:"hidden",width:"full"===x?"full":void 0,textAlign:"auto"===x?"center":y},p):null,g||c&&!f?t.createElement(R,{display:"flex",className:X.endIcon,"aria-hidden":!0},c?t.createElement(V,null):g):null)),k=b&&void 0===d?v["aria-label"]:d;return k?t.createElement(G,{content:k},C):C})),Q=["variant","tone","size","type","disabled","exceptionallySetClassName"],ee=t.forwardRef((function(e,a){let{variant:l,tone:n="normal",size:i="normal",type:r="button",disabled:o=!1,exceptionallySetClassName:s}=e,c=_(e,Q);return t.createElement(J,h(h({},c),{},{as:"button",ref:a,variant:l,tone:n,size:i,type:r,disabled:o,exceptionallySetClassName:s}))})),te=["tone"],ae={info:function(e){return t.createElement("svg",h({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zm0-1a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm1.18-11.84a.84.84 0 1 1-1.68 0 .84.84 0 0 1 1.68 0zM12.5 10a.5.5 0 0 1 .5.5V15h1a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1h1v-4h-1a.5.5 0 0 1 0-1h1.5z",fill:"currentColor"}))},positive:function(e){return t.createElement("svg",h({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 21a9 9 0 1 0 0-18 9 9 0 0 0 0 18zm0-1a8 8 0 1 1 0-16 8 8 0 0 1 0 16zm-4.354-8.104a.5.5 0 0 1 .708 0l2.146 2.147 5.146-5.147a.5.5 0 0 1 .708.708l-5.5 5.5a.5.5 0 0 1-.708 0l-2.5-2.5a.5.5 0 0 1 0-.708z",fill:"currentColor"}))},caution:function(e){return t.createElement("svg",h({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"m3.254 16.992 7.018-12.03a2 2 0 0 1 3.455 0l7.018 12.03A2 2 0 0 1 19.018 20H4.982a2 2 0 0 1-1.728-3.008zm8.242-11.887a1 1 0 0 0-.36.36l-7.018 12.03A1 1 0 0 0 4.982 19h14.036a1 1 0 0 0 .864-1.504l-7.018-12.03a1 1 0 0 0-1.368-.36zM13 16.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.014-7.014a.987.987 0 1 0-1.971.055l.236 4.25c.053.945 1.445.945 1.498 0l.236-4.25.001-.027v-.028z",fill:"currentColor"}))},critical:function(e){return t.createElement("svg",h({width:"24",height:"24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17zM2.5 12a9.5 9.5 0 1 1 19 0 9.5 9.5 0 0 1-19 0zM13 15.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0zm-.014-7.014A.987.987 0 0 0 12 7.5h-.027l-.028.002a.987.987 0 0 0-.93 1.04l.236 4.25c.053.944 1.445.944 1.498 0l.236-4.25.001-.028v-.027z",fill:"currentColor"}))}};function le(e){let{tone:a}=e,l=_(e,te);const n=ae[a];return n?t.createElement(n,h({},l)):null}function ne(e){return t.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},e),t.createElement("path",{fill:"currentColor",d:"M5.146 5.146a.5.5 0 0 1 .708 0L12 11.293l6.146-6.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 0 .708L12.707 12l6.147 6.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.708 0L12 12.707l-6.146 6.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1 0-.708L11.293 12 5.146 5.854a.5.5 0 0 1-.057-.638z"}))}var ie={container:"eb665121","tone-info":"d0373ff9","tone-positive":"bb18dcab","tone-caution":"_0af02331","tone-critical":"f76146f9"};const re=["size","exceptionallySetClassName"],oe={xsmall:16,small:24,medium:36,large:48};var se={container:"_464500ae","tone-info":"_1abfe147","tone-positive":"_36ce9859","tone-caution":"f92214b7","tone-critical":"be6cf28e"},ce={heading:"_71a1610c","weight-light":"_63750f40","tone-secondary":"_9ce984cf","tone-danger":"_1acad35e","size-largest":"_3da27a00","size-larger":"df220733","size-smaller":"eb373739",lineClampMultipleLines:"f53cfd2b","lineClamp-1":"e4819fc9","lineClamp-2":"a0ed6177","lineClamp-3":"_180d433e","lineClamp-4":"_40826ad9","lineClamp-5":"_5999b247"};const de=["level","weight","size","tone","children","lineClamp","align","exceptionallySetClassName"],me=t.forwardRef((function(e,a){let{level:l,weight:n="regular",size:i,tone:r="normal",children:o,lineClamp:s,align:c,exceptionallySetClassName:d}=e,m=_(e,de);const u="h"+l,p="string"==typeof s?parseInt(s,10)>1:(s||0)>1;return t.createElement(R,h(h({},m),{},{className:[d,ce.heading,"regular"!==n?v(ce,"weight",n):null,"normal"!==r?v(ce,"tone",r):null,v(ce,"size",i),p?ce.lineClampMultipleLines:null,s?v(ce,"lineClamp",s.toString()):null],textAlign:c,paddingRight:s?"xsmall":void 0,as:u,ref:a}),o)}));var ue={text:"a83bd4e0","size-caption":"_266d6623","size-copy":"a8d37c6e","size-subtitle":"_39f4eb1f","weight-semibold":"_7be5c531","weight-bold":"e214ff2e","tone-secondary":"_6a3e5ade","tone-danger":"_8f5b5f2b","tone-positive":"_9ae47ae4",lineClampMultipleLines:"_969f18f7","lineClamp-1":"_2f303ac3","lineClamp-2":"d3e04245","lineClamp-3":"_33411704","lineClamp-4":"bfc32640","lineClamp-5":"f813c82f"};const pe=["as","size","weight","tone","align","children","lineClamp","exceptionallySetClassName"],fe=y((function(e,a){let{as:l,size:n="body",weight:i="regular",tone:r="normal",align:o,children:s,lineClamp:c,exceptionallySetClassName:d}=e,m=_(e,pe);const u="string"==typeof c?Number(c)>1:(null!=c?c:1)>1;return t.createElement(R,h(h({},m),{},{as:l,className:[d,ue.text,"body"!==n?v(ue,"size",n):null,"regular"!==i?v(ue,"weight",i):null,"normal"!==r?v(ue,"tone",r):null,u?ue.lineClampMultipleLines:null,c?v(ue,"lineClamp",c.toString()):null],textAlign:o,paddingRight:c?"xsmall":void 0,ref:a}),s)})),ge=["as","variant","tone","size","exceptionallySetClassName","openInNewTab"],be=y((function(e,a){let{as:l="a",variant:n,tone:i="normal",size:r="normal",exceptionallySetClassName:o,openInNewTab:s=!1}=e,c=_(e,ge);return t.createElement(J,h(h({},c),{},{as:l,ref:a,variant:n,tone:i,size:r,exceptionallySetClassName:o,target:s?"_blank":void 0,rel:s?"noopener noreferrer":void 0}))})),he=["as","openInNewTab","exceptionallySetClassName"],xe=y((function(e,a){let{as:l="a",openInNewTab:n=!1,exceptionallySetClassName:i}=e,r=_(e,he);return t.createElement(R,h(h({},r),{},{as:l,display:"inline",className:[i,"_232127ef"],ref:a,target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0}))})),_e=["checked","indeterminate","disabled"],ye={checked:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2.457 4.293l-5.293 5.293-1.793-1.793a1 1 0 1 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l6-6a1 1 0 1 0-1.414-1.414z",unchecked:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm0 1H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z",mixed:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2 7H8a1 1 0 0 0 0 2h8a1 1 0 0 0 0-2z",filled:"M6 4H18C19.1046 4 20 4.89543 20 6V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V6C4 4.89543 4.89543 4 6 4Z"};function ve(e){let{checked:a,indeterminate:l,disabled:n}=e,i=_(e,_e);const r=function({checked:e,indeterminate:t,disabled:a}){return t?"mixed":e?"checked":a?"filled":"unchecked"}({checked:a,indeterminate:l,disabled:n});return t.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},i),t.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:ye[r]}))}const Ee=["label","disabled","indeterminate","defaultChecked","onChange"],Ce=t.forwardRef((function(e,a){var l,n,r;let{label:o,disabled:s,indeterminate:c,defaultChecked:d,onChange:m}=e,u=_(e,Ee);"boolean"!=typeof c||"boolean"==typeof u.checked||(console.warn("Cannot use indeterminate on an uncontrolled checkbox"),c=void 0),o||u["aria-label"]||u["aria-labelledby"]||console.warn("A Checkbox needs a label");const[p,f]=t.useState(!1),[g,b]=t.useState(null!=(l=null!=(n=u.checked)?n:d)&&l),x=null!=(r=u.checked)?r:g,y=t.useRef(null),v=i.useForkRef(y,a);return t.useEffect((function(){y.current&&"boolean"==typeof c&&(y.current.indeterminate=c)}),[c]),t.createElement(R,{as:"label",display:"flex",alignItems:"center",className:["_96c4d12f",s?"_5048e2a5":null,x?"_42187b48":null,p?"_3510166f":null]},t.createElement("input",h(h({},u),{},{ref:v,type:"checkbox","aria-checked":c?"mixed":x,checked:x,disabled:s,onChange:e=>{null==m||m(e),e.defaultPrevented||b(e.currentTarget.checked)},onBlur:e=>{f(!1),null==u||null==u.onBlur||u.onBlur(e)},onKeyUp:e=>{f(!0),null==u||null==u.onKeyUp||u.onKeyUp(e)}})),t.createElement(ve,{checked:x,disabled:s,indeterminate:c,"aria-hidden":!0}),o?t.createElement(fe,null,o):null)}));let ke=0;function we(e){const a=t.useRef(null!=e?e:null);return a.current||(a.current="element-"+ke++),a.current}function Ne(e){return t.createElement(fe,h({as:"p",tone:"secondary",size:"copy"},e))}function Se(e){return t.createElement("svg",h({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5ZM1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8ZM8.66667 10.3333C8.66667 10.7015 8.36819 11 8 11C7.63181 11 7.33333 10.7015 7.33333 10.3333C7.33333 9.96514 7.63181 9.66667 8 9.66667C8.36819 9.66667 8.66667 9.96514 8.66667 10.3333ZM8.65766 5.65766C8.65766 5.29445 8.36322 5 8 5C7.99087 5.00008 7.98631 5.00013 7.98175 5.00025C7.97719 5.00038 7.97263 5.00059 7.96352 5.00101C7.60086 5.02116 7.3232 5.33149 7.34335 5.69415L7.50077 8.52774C7.53575 9.15742 8.46425 9.15742 8.49923 8.52774L8.65665 5.69415C8.65707 5.68503 8.65728 5.68047 8.65741 5.67591C8.65754 5.67135 8.65758 5.66679 8.65766 5.65766Z",fill:"currentColor"}))}function Re({id:e,children:a,tone:l}){return t.createElement(fe,{as:"p",tone:"error"===l?"danger":"success"===l?"positive":"normal",size:"copy",id:e},t.createElement(R,{as:"span",marginRight:"xsmall",display:"inlineFlex",className:"_77b2107e"},"loading"===l?t.createElement(V,{size:16}):t.createElement(Se,{"aria-hidden":!0})),a)}function Le({variant:e="default",label:a,secondaryLabel:l,auxiliaryLabel:n,hint:i,message:r,tone:o="neutral",className:s,children:c,maxWidth:d,hidden:m,"aria-describedby":u,id:p}){const f=we(p),g=we(),b=we(),h={id:f,"aria-describedby":null!=u?u:[r?b:null,g].filter(Boolean).join(" "),"aria-invalid":"error"===o||void 0};return t.createElement(H,{space:"small",hidden:m},t.createElement(R,{className:[s,"_2e189908","error"===o?"d1a17d92":null,"bordered"===e?"fd20ef50":null],maxWidth:d},a||l||n?t.createElement(R,{as:"span",display:"flex",justifyContent:"spaceBetween",alignItems:"flexEnd"},t.createElement(fe,{size:"bordered"===e?"caption":"body",as:"label",htmlFor:f},a?t.createElement("span",{className:"_75e0afa0"},a):null,l?t.createElement("span",{className:"d04a867d"}," (",l,")"):null),n?t.createElement(R,{className:"_83051e0a",paddingLeft:"small"},n):null):null,c(h)),r?t.createElement(Re,{id:b,tone:o},r):null,i?t.createElement(Ne,{id:g},i):null)}function Be(e){return t.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},e),t.createElement("g",{fill:"none",fillRule:"evenodd",stroke:"gray"},t.createElement("path",{d:"M21.358 12C17.825 7.65 14.692 5.5 12 5.5c-2.624 0-5.67 2.043-9.097 6.181a.5.5 0 0 0 0 .638C6.331 16.457 9.376 18.5 12 18.5c2.692 0 5.825-2.15 9.358-6.5z"}),t.createElement("circle",{cx:"12",cy:"12",r:"3.5"})))}function Te(e){return t.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},e),t.createElement("g",{fill:"gray",fillRule:"evenodd",transform:"translate(2 4)"},t.createElement("path",{fillRule:"nonzero",d:"M13.047 2.888C11.962 2.294 10.944 2 10 2 7.56 2 4.63 3.966 1.288 8c1.133 1.368 2.218 2.497 3.253 3.394l-.708.708c-1.068-.93-2.173-2.085-3.315-3.464a1 1 0 0 1 0-1.276C4.031 3.121 7.192 1 10 1c1.196 0 2.456.385 3.78 1.154l-.733.734zm-6.02 10.263C8.084 13.72 9.076 14 10 14c2.443 0 5.373-1.969 8.712-6-1.11-1.34-2.176-2.453-3.193-3.341l.708-.709C17.437 5.013 18.695 6.363 20 8c-3.721 4.667-7.054 7-10 7-1.175 0-2.411-.371-3.709-1.113l.735-.736z"}),t.createElement("path",{fillRule:"nonzero",d:"M8.478 11.7l.79-.79a3 3 0 0 0 3.642-3.642l.79-.79A4 4 0 0 1 8.477 11.7zM6.334 9.602a4 4 0 0 1 5.268-5.268l-.78.78A3.002 3.002 0 0 0 7.113 8.82l-.78.78z"}),t.createElement("rect",{width:"21",height:"1",x:"-.722",y:"7.778",rx:".5",transform:"rotate(-45 9.778 8.278)"})))}const Ae=["variant","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","togglePasswordLabel","hidden","aria-describedby"],ze=t.forwardRef((function(e,a){let{variant:l="default",label:n,secondaryLabel:r,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:m,togglePasswordLabel:u="Toggle password visibility",hidden:p,"aria-describedby":f}=e,g=_(e,Ae);const b=we(g.id),x=t.useRef(null),y=i.useForkRef(x,a),[v,E]=t.useState(!1);function C(){var e;E(e=>!e),null==(e=x.current)||e.focus()}return t.createElement(Le,{variant:l,id:b,label:n,secondaryLabel:r,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:m,hidden:p,"aria-describedby":f},e=>t.createElement(R,{display:"flex",alignItems:"center",className:["_66b448b3","_9d172ece","error"===d?"_7e63ee20":null,"bordered"===l?"c59d0239":null]},t.createElement("input",h(h(h({},g),e),{},{ref:y,type:v?"text":"password"})),t.createElement(G,{content:u},t.createElement("button",{type:"button",onClick:C,"aria-label":u,tabIndex:-1},t.createElement(v?Be:Te,{"aria-hidden":!0})))))})),De=["id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","children","hidden","aria-describedby"],Oe=t.forwardRef((function(e,a){let{id:l,label:n,secondaryLabel:i,auxiliaryLabel:r,hint:o,message:s,tone:c,maxWidth:d,children:m,hidden:u,"aria-describedby":p}=e,f=_(e,De);return t.createElement(Le,{id:l,label:n,secondaryLabel:i,auxiliaryLabel:r,hint:o,message:s,tone:c,maxWidth:d,hidden:u,"aria-describedby":p},e=>t.createElement(R,{className:["_07e75293","error"===c?"f147bcea":null]},t.createElement("select",h(h(h({},f),e),{},{ref:a}),m),t.createElement(Ie,{"aria-hidden":!0})))}));function Ie(e){return t.createElement("svg",h({width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),t.createElement("path",{d:"M11.646 5.646a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 1 1 .708-.708L8 9.293l3.646-3.647z",fill:"currentColor"}))}const Me=["label","hint","disabled","hidden","defaultChecked","id","aria-describedby","aria-label","aria-labelledby","onChange"],Fe=t.forwardRef((function(e,a){var l,n,i;let{label:r,hint:o,disabled:s=!1,hidden:c,defaultChecked:d,id:m,"aria-describedby":u,"aria-label":p,"aria-labelledby":f,onChange:g}=e,b=_(e,Me);const x=we(m),y=we(),v=null!=u?u:o?y:void 0,E=null!=p?p:void 0,C=null!=f?f:void 0,[k,w]=t.useState(!1),[N,S]=t.useState(null!=(l=null!=(n=b.checked)?n:d)&&l),L=null!=(i=b.checked)?i:N;return t.createElement(H,{space:"small",hidden:c},t.createElement(R,{className:["ec63c3f1",s?"_7de9c06d":null,L?"a37981fc":null,k?"a6490371":null],as:"label",display:"flex",alignItems:"center"},t.createElement(R,{position:"relative",display:"inlineBlock",overflow:"visible",marginRight:"small",flexShrink:0,className:"_2a17ac45"},t.createElement(q,null,t.createElement("input",h(h({},b),{},{id:x,type:"checkbox",disabled:s,"aria-describedby":v,"aria-label":E,"aria-labelledby":C,ref:a,checked:L,onChange:e=>{null==g||g(e),e.defaultPrevented||S(e.currentTarget.checked)},onBlur:e=>{w(!1),null==b||null==b.onBlur||b.onBlur(e)},onKeyUp:e=>{w(!0),null==b||null==b.onKeyUp||b.onKeyUp(e)}}))),t.createElement("span",{className:"_91409c7f"})),t.createElement(fe,{exceptionallySetClassName:"_68cc9707"},r)),o?t.createElement(Ne,{id:y},o):null)})),We=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","hidden","aria-describedby"],Pe=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","type","maxWidth","hidden","aria-describedby"],je=t.forwardRef((function(e,a){let{variant:l="default",id:n,label:i,secondaryLabel:r,auxiliaryLabel:o,hint:s,message:c,tone:d,type:m="text",maxWidth:u,hidden:p,"aria-describedby":f}=e,g=_(e,Pe);return t.createElement(Le,{variant:l,id:n,label:i,secondaryLabel:r,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:u,hidden:p,"aria-describedby":f},e=>t.createElement(R,{className:["_9d172ece","error"===d?"_7e63ee20":null,"bordered"===l?"c59d0239":null]},t.createElement("input",h(h(h({},g),e),{},{type:m,ref:a}))))}));function He(e){var t;if(!e)return"";const a=e.trim().split(" "),l=a[0],n=a[a.length-1];let i=null==l?void 0:l[0];return null!=l&&null!=n&&null!=i&&l[0]!==n[0]&&(i+=n[0]),null==(t=i)?void 0:t.toUpperCase()}function Ye(e,t){const a=e.split("@")[0];return(a&&a.charCodeAt(0)+a.charCodeAt(a.length-1)||0)%t}var Ue={avatar:"_38a1be89","size-xxs":"d32e92ae","size-xs":"_0667d719","size-s":"cf529fcf","size-m":"_6e268eab","size-l":"d64c62cf","size-xl":"_44fb77de","size-xxl":"_01f85e0e","size-xxxl":"_41a5fe19","tablet-size-xxs":"_6ab1577d","tablet-size-xs":"b52a4963","tablet-size-s":"_714a8419","tablet-size-m":"_81cd4d51","tablet-size-l":"bf0a4edb","tablet-size-xl":"e4f0dabd","tablet-size-xxl":"_67ea065d","tablet-size-xxxl":"_2af7f76f","desktop-size-xxs":"_759081dc","desktop-size-xs":"_8290d1c1","desktop-size-s":"_48ea172d","desktop-size-m":"_758f6641","desktop-size-l":"f9ada088","desktop-size-xl":"d3bb7470","desktop-size-xxl":"_9a312ee3","desktop-size-xxxl":"a1d30c23"};const qe=["user","avatarUrl","size","className","colorList","exceptionallySetClassName"],Ke=["#fcc652","#e9952c","#e16b2d","#d84b40","#e8435a","#e5198a","#ad3889","#86389c","#a8a8a8","#98be2f","#5d9d50","#5f9f85","#5bbcb6","#32a3bf","#2bafeb","#2d88c3","#3863cc","#5e5e5e"];function Ge(e){let{user:a,avatarUrl:l,size:n="l",className:i,colorList:r=Ke,exceptionallySetClassName:o}=e,s=_(e,qe);const c=He(a.name)||He(a.email),d=n||"l",m=l?{backgroundImage:"url("+l+")",textIndent:"-9999px"}:{backgroundColor:r[Ye(a.email,r.length)]},u=v(Ue,"size",d);return t.createElement(R,h({className:[i,Ue.avatar,u,o],style:m},s),c)}Ge.displayName="Avatar";var Ve={badge:"_0b1e00ed","badge-neutral":"dda494a5","badge-positive":"_9260b8b0","badge-color":"_73a14c03"};const Xe=["variant","children"];var Ze={overlay:"_868392ae",fadein:"_63d7ee15",fitContent:"b8548bf2",container:"_31956461",full:"_1007df83",large:"_10c275aa",medium:"_0ac526b4",small:"_30f38fdb",xlarge:"_54868e8b",expand:"c0bc68bc",buttonContainer:"_6527332a",headerContent:"_4750dc1b"};const $e=["isOpen","onDismiss","height","width","exceptionallySetClassName","autoFocus","children"],Je=["children","button","withDivider","exceptionallySetClassName"],Qe=["exceptionallySetClassName","children"],et=["exceptionallySetClassName","withDivider"],tt=["children"],at=t.createContext({onDismiss:void 0,height:"fitContent"});function lt(e){return!(e.ownerDocument===document&&"iframe"===e.tagName.toLowerCase())}function nt(e){const{onDismiss:a}=t.useContext(at),[l,n]=t.useState(!1),[i,r]=t.useState(!1);return t.useEffect((function(){i?n(!0):r(!0)}),[i]),t.createElement(ee,h(h({},e),{},{variant:"quaternary",onClick:a,icon:t.createElement(ne,null),tabIndex:l?0:-1}))}function it(e){let{exceptionallySetClassName:a,withDivider:l=!1}=e,n=_(e,et);return t.createElement(t.Fragment,null,l?t.createElement(I,null):null,t.createElement(R,h(h({as:"footer"},n),{},{className:a,padding:"large"})))}function rt(e){const a=t.useRef(null);return t.useEffect(()=>{a.current=e},[e]),a.current}var ot={tab:"a1064a3b",track:"_06f1b8a1","tab-neutral":"dabbec7d","tab-themed":"e6f5ae4e","track-neutral":"_43913ce5","track-themed":"_39bdfdde","track-xsmall":"_1c148f4e","track-small":"_2a370df5","track-medium":"_77430437","track-large":"_33db5352","track-xlarge":"_60bf9564","track-xxlarge":"_29a35080"};const st=["as","children","id","exceptionallySetClassName"],ct=["children","space"],dt=["children","id","as","render"],mt=t.createContext(null),ut=y((function(e,l){let{as:n,children:i,id:r,exceptionallySetClassName:o}=e,s=_(e,st);const c=t.useContext(mt);if(!c)return null;const{variant:m,tabState:u}=c;return t.createElement(d.Tab,h(h({},s),{},{as:n,className:a(o,ot.tab,ot["tab-"+m]),id:r,state:u,ref:l}),i)})),pt=y((function(e,a){let{children:l,id:n,as:i,render:r="always"}=e,o=_(e,dt);const s=t.useContext(mt),[c,m]=t.useState(!1),u=(null==s?void 0:s.tabState.selectedId)===n;if(t.useEffect((function(){!c&&u&&m(!0)}),[c,u]),!s)return null;const{tabState:p}=s;return"always"===r||"active"===r&&u||"lazy"===r&&(u||c)?t.createElement(d.TabPanel,h(h({tabId:n},o),{},{state:p,as:i,ref:a}),l):null})),ft=["type","variant","size","loading","disabled","tooltip","onClick","children"],gt=t.forwardRef((function(e,l){let{type:n="button",variant:i,size:r="default",loading:o=!1,disabled:s=!1,tooltip:c,onClick:d,children:m}=e,u=_(e,ft);const p=a("reactist_button",i?"reactist_button--"+i:null,"default"!==r?"reactist_button--"+r:null,{"reactist_button--loading":o},u.className),f=t.createElement("button",h(h({},u),{},{ref:l,type:n,className:p,"aria-disabled":s||o,onClick:s||o?void 0:d}),m);return c?t.createElement(G,{content:c},f):f}));gt.displayName="Button",gt.defaultProps={size:"default",loading:!1,disabled:!1};const bt=["children","onClick","tooltip","className"];class ht extends t.Component{constructor(e,t){super(e,t),this._timeout=void 0,this._handleClickOutside=e=>{const t=m.findDOMNode(this);t&&!t.contains(e.target)?this._toggleShowBody():this.props.allowBodyInteractions||(this._timeout=setTimeout(()=>{this.state.showBody&&this._toggleShowBody()},100))},this._toggleShowBody=()=>{this.state.showBody?(this.props.onHideBody&&this.props.onHideBody(),document.removeEventListener("click",this._handleClickOutside,!0)):(this.props.onShowBody&&this.props.onShowBody(),document.addEventListener("click",this._handleClickOutside,!0)),this.setState({showBody:!this.state.showBody})},this._setPosition=e=>{if(e){const t=document.getElementById(this.props.scrolling_parent?this.props.scrolling_parent:"");if(t){const a=m.findDOMNode(this);if(!a)return;const l=m.findDOMNode(this).offsetTop,n=a.querySelector(".trigger");if(!n)return;const i=t.clientHeight+t.scrollTop-l-n.clientHeight<e.clientHeight;i!==this.state.top&&this.setState({top:i})}}},this.state={showBody:!1,top:e.top||!1},this._timeout=void 0}componentWillUnmount(){document.removeEventListener("click",this._handleClickOutside,!0),this._timeout&&clearTimeout(this._timeout)}_getTriggerComponent(){var e;const a=null==(e=this.props.children)?void 0:e[0];return a?t.cloneElement(a,{onClick:this._toggleShowBody}):void 0}_getBodyComponent(){if(!this.state.showBody)return null;const{top:e}=this.state,{right:l=!1,children:n}=this.props,i={top:e,right:l,setPosition:this._setPosition},r=a({body_wrapper:!0,with_arrow:!0,top:e,bottom:!e}),o=null==n?void 0:n[1],s="function"==typeof o?o(i):o?t.cloneElement(o,i):void 0;return t.createElement("div",{className:r,style:{position:"relative"}},s)}render(){const e=a("reactist_dropdown",this.props.className),{top:l}=this.state;return t.createElement("div",{style:{display:"inline-block"},className:e,"data-testid":"reactist-dropdown-box"},l&&this._getBodyComponent(),this._getTriggerComponent(),!l&&this._getBodyComponent())}}ht.displayName=void 0,ht.displayName="Dropdown.Box";const xt=t.forwardRef((function(e,l){let{children:n,onClick:i,tooltip:r,className:o}=e,s=_(e,bt);return t.createElement(gt,h(h({},s),{},{className:a("trigger",o),onClick:function(e){e.preventDefault(),e.stopPropagation(),i&&i(e)},tooltip:r,ref:l}),n)}));function _t({top:e,right:a,children:l,setPosition:n}){const i={position:"absolute",right:0,top:0};return e&&(i.top="auto",i.bottom=0),a&&(i.right="auto",i.left=0),t.createElement("div",{ref:n,style:i,className:"body",id:"reactist-dropdown-body","data-testid":"reactist-dropdown-body"},l)}xt.displayName="Dropdown.Trigger",_t.displayName="Dropdown.Body";const yt={Box:ht,Trigger:xt,Body:_t},vt=["#606060","#4A90E2","#03B3B2","#008299","#82BA00","#D24726","#AC193D","#DC4FAD","#3BD5FB","#74E8D3","#FFCC00","#FB886E","#CCCCCC"],Et=e=>"string"!=typeof e;function Ct({color:e=0,small:l,onChange:n,colorList:i=vt}){return t.createElement(yt.Box,{right:!0,className:"reactist_color_picker"},t.createElement(yt.Trigger,null,(()=>{const n=((e,t)=>e[t>=e.length?0:t])(i,e);return t.createElement("span",{className:a("color_trigger",{small:l}),style:{backgroundColor:Et(n)?n.color:n}},t.createElement("span",{className:"color_trigger--inner_ring"}))})()),t.createElement(yt.Body,null,t.createElement("div",{className:"color_options"},i.reduce((a,l,r)=>(a.push(t.createElement(kt,{isActive:e>=i.length?0===r:r===e,key:r,color:Et(l)?l.color:l,colorIndex:r,onClick:n,tooltip:Et(l)?l.name:null})),a),[]))))}function kt({color:e,colorIndex:a,isActive:l,onClick:n,tooltip:i}){const r=t.createElement("span",{"data-testid":"reactist-color-item",className:"reactist color_item"+(l?" active":""),style:{backgroundColor:e},onClick:()=>null==n?void 0:n(a)},t.createElement("span",{className:"color_item--inner_ring"}));return i?t.createElement(G,{content:i},r):r}Ct.displayName="ColorPicker",kt.displayName="ColorItem";const wt=["children","className","translateKey","isMac"];let Nt=e=>e;function St(e){switch(e.toLowerCase()){case"cmd":case"mod":return"⌘";case"control":case"ctrl":return"⌃";case"alt":return"⌥";case"shift":return"⇧";case"space":return"␣";default:return e}}function Rt(e){var l,n;let{children:i,className:r,translateKey:o=Nt,isMac:s=null!=(l=null==(n=navigator.platform)?void 0:n.toUpperCase().includes("MAC"))&&l}=e,c=_(e,wt);const d="string"==typeof i?[i]:i;return t.createElement("span",h({className:a("reactist_keyboard_shortcut",r,{"reactist_keyboard_shortcut--macos":s})},c),d.map((e,a)=>t.createElement(t.Fragment,{key:a},0===a?null:", ",t.createElement("kbd",null,function(e,t,a){const l=t?St:a,n=/\b(mod|cmd|ctrl|control|alt|shift)\b/i.test(e);return t||(e=e.replace(/\b(mod|cmd)\b/i,"ctrl")),e.split(/\s*\+\s*/).map((function(e){return function(e){return/^(mod|cmd|ctrl|control|alt|shift|space|super)$/i.test(e)}(e)?function(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}(l(e)):n&&1===e.length?e.toUpperCase():e}))}(e,s,o).map((e,a)=>t.createElement("kbd",{key:a},e))))))}Rt.setTranslateKey=e=>{Nt=e};const Lt={resolveByKey(e){switch(e){case"Left":case"ArrowLeft":return"ArrowLeft";case"Up":case"ArrowUp":return"ArrowUp";case"Right":case"ArrowRight":return"ArrowRight";case"Down":case"ArrowDown":return"ArrowDown";case"Enter":return"Enter";case"Backspace":return"Backspace";case"Esc":case"Escape":return"Escape";default:return null}},resolveByKeyCode(e){switch(e){case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 13:return"Enter";case 8:return"Backspace";case 27:return"Escape";default:return null}}},Bt={ArrowUp:"onArrowUp",ArrowDown:"onArrowDown",ArrowLeft:"onArrowLeft",ArrowRight:"onArrowRight",Enter:"onEnter",Backspace:"onBackspace",Escape:"onEscape"},Tt={ArrowUp:"propagateArrowUp",ArrowDown:"propagateArrowDown",ArrowLeft:"propagateArrowLeft",ArrowRight:"propagateArrowRight",Enter:"propagateEnter",Backspace:"propagateBackspace",Escape:"propagateEscape"};function At({fillPercentage:e=0,className:l,"aria-valuetext":n}){const i=a("reactist_progress_bar",l),r=e<0?0:e>100?100:e;return t.createElement("div",{className:i},t.createElement("div",{className:"inner",style:{width:r+"%"}}),t.createElement(q,null,t.createElement("progress",{value:r,max:100,"aria-valuetext":null!=n?n:void 0})))}At.displayName="ProgressBar",u.extend(p);const zt={SHORT_FORMAT_CURRENT_YEAR:"L",SHORT_FORMAT_PAST_YEAR:"LL",LONG_FORMAT:"LL, LT",timeAgo(e,t={}){const{locale:a="en",shortFormatCurrentYear:l=this.SHORT_FORMAT_CURRENT_YEAR,shortFormatPastYear:n=this.SHORT_FORMAT_PAST_YEAR,daysSuffix:i="d",hoursSuffix:r="h",minutesSuffix:o="m",momentsAgo:s="moments ago"}=t,c=u(),d=u(1e3*e);d.locale(a);const m=c.diff(d,"minute"),p=c.diff(d,"hour"),f=c.diff(d,"day");return f>1?d.isSame(c,"year")?d.format(l):d.format(n):1===f?""+f+i:p>0&&p<=23?""+p+r:m>0&&m<=59?""+m+o:s},formatTime(e,t={}){const{locale:a="en",shortFormatCurrentYear:l=this.SHORT_FORMAT_CURRENT_YEAR,shortFormatPastYear:n=this.SHORT_FORMAT_PAST_YEAR}=t,i=u(1e3*e);return i.locale(a),i.isSame(u(),"year")?i.format(l):i.format(n)},formatTimeLong(e,t={}){const{locale:a="en",longFormat:l=this.LONG_FORMAT}=t,n=u(1e3*e);return n.locale(a),n.format(l)}};class Dt extends t.Component{constructor(e){super(e),this.refreshInterval=void 0,this.refreshInterval=void 0,this.state={hovered:!1,mouseX:void 0,mouseY:void 0}}componentDidMount(){this.props.refresh&&this._refresh()}componentDidUpdate(e){!e.refresh&&this.props.refresh&&this._refresh(),e.refresh&&!this.props.refresh&&this.refreshInterval&&clearTimeout(this.refreshInterval)}componentWillUnmount(){this.refreshInterval&&clearTimeout(this.refreshInterval)}_setHovered(e,t){const{mouseX:a,mouseY:l}=this.state,{clientX:n,clientY:i}=t;n===a&&i===l||this.setState(()=>({hovered:e,mouseX:n,mouseY:i}))}_renderTime(e){if(this.props.time){if(this.state.hovered){if(this.props.expandFullyOnHover&&!this.props.tooltipOnHover)return zt.formatTimeLong(this.props.time,e);if(this.props.expandOnHover&&!this.props.tooltipOnHover)return zt.formatTime(this.props.time,e)}return zt.timeAgo(this.props.time,e)}}_refresh(){this.refreshInterval=setInterval(()=>{this.forceUpdate()},6e4)}render(){let e="reactist_time";this.props.className&&(e=this.props.className);const a=this._renderTime(this.props.config);return t.createElement("time",{className:e,onMouseEnter:e=>this._setHovered(!0,e),onMouseLeave:e=>this._setHovered(!1,e)},this.props.tooltipOnHover?t.createElement(G,{content:this.props.tooltip||this.props.time&&zt.formatTimeLong(this.props.time,this.props.config)},t.createElement("span",null,a)):a)}}Dt.displayName=void 0,Dt.defaultProps=void 0,Dt.displayName="Time",Dt.defaultProps={expandOnHover:!1,expandFullyOnHover:!1,tooltipOnHover:!1,refresh:!0,config:{locale:"en",daysSuffix:"d",hoursSuffix:"h",minutesSuffix:"m",momentsAgo:"moments ago"}};const Ot=()=>t.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},t.createElement("path",{fill:"gray",fillRule:"evenodd",d:"M11.293 12L5.146 5.854a.5.5 0 1 1 .708-.708L12 11.293l6.146-6.147a.5.5 0 0 1 .708.708L12.707 12l6.147 6.146a.5.5 0 0 1-.708.708L12 12.707l-6.146 6.147a.5.5 0 0 1-.708-.708L11.293 12z"})),It=["id","icon","title","subtitle","children","customCloseButton","onClick","onClose","closeAltText","className","aria-live"],Mt=["children","onItemSelect"],Ft=["exceptionallySetClassName"],Wt=["exceptionallySetClassName"],Pt=["value","children","onSelect","hideOnSelect","onClick","exceptionallySetClassName","as"],jt=["label","children","exceptionallySetClassName"],Ht=t.createContext({});function Yt(e){let{children:a,onItemSelect:l}=e,n=_(e,Mt);const i=f.useMenuState(h({focusLoop:!0,gutter:8,shift:4},n)),r=t.useCallback((function(e){l&&l(e)}),[l]),o=t.useMemo(()=>({state:i,handleItemSelect:r}),[i,r]);return t.createElement(Ht.Provider,{value:o},a)}const Ut=y((function(e,l){let{exceptionallySetClassName:n}=e,i=_(e,Ft);const{state:r}=t.useContext(Ht);return t.createElement(f.MenuButton,h(h({},i),{},{state:r,ref:l,className:a("reactist_menubutton",n)}))})),qt=y((function(e,l){let{exceptionallySetClassName:n}=e,i=_(e,Wt);const{state:o}=t.useContext(Ht);return o.visible?t.createElement(c.Portal,{preserveTabOrder:!0},t.createElement(r,{returnFocus:!0},t.createElement(f.Menu,h(h({},i),{},{state:o,ref:l,className:a("reactist_menulist",n)})))):null})),Kt=y((function(e,a){let{value:l,children:n,onSelect:i,hideOnSelect:r=!0,onClick:o,exceptionallySetClassName:s,as:c="button"}=e,d=_(e,Pt);const{handleItemSelect:m,state:u}=t.useContext(Ht),{hide:p}=u,g=t.useCallback((function(e){null==o||o(e);const t=!1!==(i&&!e.defaultPrevented?i():void 0)&&r;m(l),t&&p()}),[i,o,m,r,p,l]);return t.createElement(f.MenuItem,h(h({},d),{},{as:c,state:u,ref:a,onClick:g,className:s,hideOnClick:!1}),n)})),Gt=t.forwardRef((function({children:e,onItemSelect:l},n){const{handleItemSelect:i,state:r}=t.useContext(Ht),{hide:o}=r,s=t.useCallback((function(e){l&&l(e),i(e),o()}),[o,i,l]),[c,d]=t.Children.toArray(e),m=f.useMenuItem({state:r});return t.createElement(Yt,{onItemSelect:s},t.cloneElement(c,h(h({},m),{},{className:a(m.className,"reactist_submenu_button"),ref:n})),d)})),Vt=y((function(e,a){let{label:l,children:n,exceptionallySetClassName:i}=e,r=_(e,jt);const{state:o}=t.useContext(Ht);return t.createElement(f.MenuGroup,h(h({},r),{},{ref:a,state:o,className:i}),l?t.createElement("div",{role:"presentation",className:"reactist_menugroup__label"},l):null,n)})),Xt=t.forwardRef((e,l)=>{const n=a("reactist_input",e.className);return t.createElement("input",h(h({},e),{},{className:n,ref:l}))});Xt.displayName="Input";const Zt=["value","options","onChange","disabled","className","defaultValue"];function $t(e){let{value:l,options:n=[],onChange:i,disabled:r=!0,className:o="",defaultValue:s}=e,c=_(e,Zt);const d=a("reactist_select",{disabled:r},o);return t.createElement("select",h({className:d,value:l,onChange:e=>i?i(e.target.value):void 0,disabled:r,defaultValue:s},c),null==n?void 0:n.map(e=>t.createElement("option",{key:e.key||e.value,value:e.value,disabled:e.disabled},e.text)))}$t.displayName="Select",$t.defaultProps={options:[],disabled:!1};var Jt={"reach-portal":"_37bef8d8",fadein:"_77f9687f",fitContent:"bcc4e0a5",container:"d4832c2d",full:"b0c3b021",large:"_573d6aa5",medium:"_8550d996",small:"_43bb18f5",xlarge:"_57b4159d",overlay:"cb63f300",expand:"e741893e",buttonContainer:"bb1ce281",headerContent:"c5ef989c"};const Qt=["isOpen","onDismiss","height","width","exceptionallySetClassName","autoFocus","children"],ea=["children","button","withDivider","exceptionallySetClassName"],ta=["exceptionallySetClassName","children"],aa=["exceptionallySetClassName","withDivider"],la=["children"],na=t.createContext({onDismiss:void 0,height:"fitContent"});function ia(e){return!(e.ownerDocument===document&&"iframe"===e.tagName.toLowerCase())}function ra(e){const{onDismiss:a}=t.useContext(na),[l,n]=t.useState(!1),[i,r]=t.useState(!1);return t.useEffect((function(){i?n(!0):r(!0)}),[i]),t.createElement(ee,h(h({},e),{},{variant:"quaternary",onClick:a,icon:t.createElement(ne,null),tabIndex:l?0:-1}))}function oa(e){let{exceptionallySetClassName:a,withDivider:l=!1}=e,n=_(e,aa);return t.createElement(t.Fragment,null,l?t.createElement(I,null):null,t.createElement(R,h(h({as:"footer"},n),{},{className:a,padding:"large"})))}exports.Alert=function({id:e,children:a,tone:l,closeLabel:n,onClose:i}){return t.createElement(R,{id:e,role:"alert","aria-live":"polite",borderRadius:"standard",className:[ie.container,v(ie,"tone",l)]},t.createElement(z,{space:"small",alignY:"top"},t.createElement(A,{width:"content"},t.createElement(le,{tone:l})),t.createElement(A,null,t.createElement(R,{paddingY:"xsmall",paddingRight:null!=i&&null!=n?void 0:"small"},a)),null!=i&&null!=n?t.createElement(A,{width:"content"},t.createElement(ee,{variant:"quaternary",size:"small",onClick:i,"aria-label":n,icon:t.createElement(ne,null),style:{"--reactist-btn-hover-fill":"transparent"}})):null))},exports.Avatar=Ge,exports.Badge=function(e){let{variant:a="neutral",children:l}=e,n=_(e,Xe);const i=Ve["badge-"+a];return t.createElement(R,h(h({},n),{},{className:[Ve.badge,i]}),l)},exports.Box=R,exports.Button=ee,exports.ButtonLink=be,exports.COLORS=vt,exports.CheckboxField=Ce,exports.ColorPicker=Ct,exports.Column=A,exports.Columns=z,exports.DeprecatedButton=gt,exports.DeprecatedDropdown=yt,exports.DeprecatedInput=Xt,exports.DeprecatedModal=function(e){let{isOpen:l,onDismiss:n,height:i="fitContent",width:o="medium",exceptionallySetClassName:s,autoFocus:c=!0,children:d}=e,m=_(e,Qt);const u=t.useMemo(()=>({onDismiss:n,height:i}),[n,i]);return t.createElement(g.DialogOverlay,{isOpen:l,onDismiss:n,dangerouslyBypassFocusLock:!0,className:a(Jt.overlay,Jt[i],Jt[o]),"data-testid":"modal-overlay"},t.createElement(r,{autoFocus:c,whiteList:ia,returnFocus:!0},t.createElement(g.DialogContent,h(h({},m),{},{as:R,borderRadius:"full",background:"default",display:"flex",flexDirection:"column",overflow:"hidden",height:"expand"===i?"full":void 0,flexGrow:"expand"===i?1:0,className:[s,Jt.container]}),t.createElement(na.Provider,{value:u},d))))},exports.DeprecatedModalActions=function(e){let{children:a}=e,l=_(e,la);return t.createElement(oa,h({},l),t.createElement(W,{align:"right",space:"large"},a))},exports.DeprecatedModalBody=function(e){let{exceptionallySetClassName:a,children:l}=e,n=_(e,ta);const{height:i}=t.useContext(na);return t.createElement(R,h(h({},n),{},{className:a,flexGrow:"expand"===i?1:0,height:"expand"===i?"full":void 0,overflow:"auto"}),t.createElement(R,{padding:"large",paddingBottom:"xxlarge"},l))},exports.DeprecatedModalCloseButton=ra,exports.DeprecatedModalFooter=oa,exports.DeprecatedModalHeader=function(e){let{children:a,button:l=!0,withDivider:n=!1,exceptionallySetClassName:i}=e,r=_(e,ea);return t.createElement(t.Fragment,null,t.createElement(R,h(h({},r),{},{as:"header",paddingLeft:"large",paddingRight:!1===l||null===l?"large":"small",paddingY:"small",className:i}),t.createElement(z,{space:"large",alignY:"center"},t.createElement(A,{width:"auto"},a),!1===l||null===l?t.createElement("div",{className:Jt.headerContent}):t.createElement(A,{width:"content",exceptionallySetClassName:Jt.buttonContainer,"data-testid":"button-container"},"boolean"==typeof l?t.createElement(ra,{"aria-label":"Close modal",autoFocus:!1}):l))),n?t.createElement(I,null):null)},exports.DeprecatedSelect=$t,exports.Divider=I,exports.Heading=me,exports.Hidden=U,exports.HiddenVisually=q,exports.Inline=W,exports.KeyCapturer=function(e){const{children:a,eventName:l="onKeyDown"}=e,n=t.useRef(!1);return t.cloneElement(a,h({[l]:function(t){const a=void 0!==t.key?Lt.resolveByKey(t.key):Lt.resolveByKeyCode(t.keyCode);if(!a)return;const l=e[Tt[a]]||!1,i=e[Bt[a]];"Enter"===a&&i&&(n.current||229===(t.keyCode||t.which))||i&&(i(t),l||(t.preventDefault(),t.stopPropagation()))}},e.onEnter?{onCompositionStart:()=>{n.current=!0},onCompositionEnd:()=>{n.current=!1}}:void 0))},exports.KeyboardShortcut=Rt,exports.Loading=function(e){var a;let{size:l="small",exceptionallySetClassName:n}=e,i=_(e,re);const r=null!=(a=oe[l])?a:oe.small,o=i["aria-label"]?i["aria-label"]:i["aria-labelledby"]?void 0:"Loading…";return t.createElement(R,h(h({},i),{},{"aria-label":o,className:n,display:"flex",alignItems:"center",justifyContent:"center",role:"progressbar"}),t.createElement(V,{size:r,"aria-hidden":!0}))},exports.Menu=Yt,exports.MenuButton=Ut,exports.MenuGroup=Vt,exports.MenuItem=Kt,exports.MenuList=qt,exports.Modal=function(e){let{isOpen:l,onDismiss:n,height:i="fitContent",width:d="medium",exceptionallySetClassName:m,autoFocus:u=!0,children:p}=e,f=_(e,$e);const g=t.useCallback(e=>{e||null==n||n()},[n]),b=s.useDialogState({visible:l,setVisible:g}),x=t.useMemo(()=>({onDismiss:n,height:i}),[n,i]),y=t.useRef(null),v=t.useRef(null),E=t.useRef(null),C=t.useCallback(e=>{var t,a;null!=(t=v.current)&&t.contains(e.target)||null==(a=E.current)||!a.contains(e.target)||(e.stopPropagation(),null==n||n())},[n]);return t.useLayoutEffect((function(){if(l&&y.current)return o.hideOthers(y.current)}),[l]),l?t.createElement(c.Portal,{portalRef:y},t.createElement(R,{"data-testid":"modal-overlay","data-overlay":!0,className:a(Ze.overlay,Ze[i],Ze[d]),onClick:C,ref:E},t.createElement(r,{autoFocus:u,whiteList:lt,returnFocus:!0},t.createElement(s.Dialog,h(h({},f),{},{ref:v,as:R,state:b,hideOnEscape:!0,preventBodyScroll:!0,borderRadius:"full",background:"default",display:"flex",flexDirection:"column",overflow:"hidden",height:"expand"===i?"full":void 0,flexGrow:"expand"===i?1:0,className:[m,Ze.container],modal:!1,autoFocus:!1,autoFocusOnShow:!1,autoFocusOnHide:!1,portal:!1,backdrop:!1,hideOnInteractOutside:!1}),t.createElement(at.Provider,{value:x},p))))):null},exports.ModalActions=function(e){let{children:a}=e,l=_(e,tt);return t.createElement(it,h({},l),t.createElement(W,{align:"right",space:"large"},a))},exports.ModalBody=function(e){let{exceptionallySetClassName:a,children:l}=e,n=_(e,Qe);const{height:i}=t.useContext(at);return t.createElement(R,h(h({},n),{},{className:a,flexGrow:"expand"===i?1:0,height:"expand"===i?"full":void 0,overflow:"auto"}),t.createElement(R,{padding:"large",paddingBottom:"xxlarge"},l))},exports.ModalCloseButton=nt,exports.ModalFooter=it,exports.ModalHeader=function(e){let{children:a,button:l=!0,withDivider:n=!1,exceptionallySetClassName:i}=e,r=_(e,Je);return t.createElement(t.Fragment,null,t.createElement(R,h(h({},r),{},{as:"header",paddingLeft:"large",paddingRight:!1===l||null===l?"large":"small",paddingY:"small",className:i}),t.createElement(z,{space:"large",alignY:"center"},t.createElement(A,{width:"auto"},a),!1===l||null===l?t.createElement("div",{className:Ze.headerContent}):t.createElement(A,{width:"content",exceptionallySetClassName:Ze.buttonContainer,"data-testid":"button-container"},"boolean"==typeof l?t.createElement(nt,{"aria-label":"Close modal",autoFocus:!1}):l))),n?t.createElement(I,null):null)},exports.Notice=function({id:e,children:a,tone:l}){return t.createElement(R,{id:e,role:"alert","aria-live":"polite",className:[se.container,v(se,"tone",l)]},t.createElement(z,{space:"small",alignY:"top"},t.createElement(A,{width:"content"},t.createElement(le,{tone:l})),t.createElement(A,null,t.createElement(R,{paddingY:"xsmall"},a))))},exports.Notification=function(e){let{id:l,icon:n,title:i,subtitle:r,children:o,customCloseButton:s,onClick:c,onClose:d,closeAltText:m="Close",className:u,"aria-live":p="polite"}=e,f=_(e,It);const g=i?l+"-title":null,b=g?{id:g}:null,x=r?l+"-subtitle":null,y=x?{id:x}:null,v=o?l+"-content":null,E=v?{"aria-labelledby":v}:g?{"aria-labelledby":g}:null,C=x&&!o?{"aria-describedby":x}:null,k=t.createElement("div",h({className:"reactist-notification__content"},o?{id:l+"-content"}:null),null!=o?o:t.createElement(t.Fragment,null,i?t.createElement("h3",h({className:"reactist-notification__title"},b),i):null,r?t.createElement("p",h({className:"reactist-notification__subtitle"},y),r):null)),w=t.createElement("div",{className:"reactist-notification__icon-content-group"},null!=n?n:null,k);return t.createElement("div",h(h(h({id:l,role:"alert",className:a("reactist-notification",u,{"reactist-notification--with-button":Boolean(c),"reactist-notification--with-close-button":Boolean(d)}),"aria-live":p},E),C),f),c?t.createElement("button",{className:"reactist-notification__button",onClick:c},w):w,d?t.createElement("button",{className:"reactist-notification__close-button",onClick:d,"aria-label":m},null!=s?s:t.createElement(Ot,null)):null)},exports.PasswordField=ze,exports.ProgressBar=At,exports.SUPPORTED_KEYS={ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ENTER:"Enter",BACKSPACE:"Backspace",ESCAPE:"Escape"},exports.SelectField=Oe,exports.Stack=H,exports.SubMenu=Gt,exports.SwitchField=Fe,exports.Tab=ut,exports.TabAwareSlot=function({children:e}){const a=t.useContext(mt);return a?e({selectedId:null==a?void 0:a.tabState.selectedId}):null},exports.TabList=function(e){let{children:l,space:n="xsmall"}=e,i=_(e,ct);const r=t.useContext(mt);if(!r)return null;const{tabState:o,variant:s}=r;return t.createElement(R,null,t.createElement(d.TabList,h({state:o,as:R,position:"relative",width:"maxContent"},i),t.createElement(R,{className:a(ot.track,ot["track-"+n],ot["track-"+s])}),t.createElement(W,{space:n},l)))},exports.TabPanel=pt,exports.Tabs=function({children:e,selectedId:a,defaultSelectedId:l,variant:n="neutral",onSelectedIdChange:i}){const r=d.useTabState({selectedId:a,setSelectedId:i}),o=rt(l),{selectedId:s,select:c}=r;t.useEffect((function(){a||l===o||l===s||void 0===l||c(l)}),[a,l,s,c,o]);const m=t.useMemo((function(){return{tabState:r,variant:n}}),[n,r]);return t.createElement(mt.Provider,{value:m},e)},exports.Text=fe,exports.TextArea=function(e){let{variant:a="default",id:l,label:n,secondaryLabel:i,auxiliaryLabel:r,hint:o,message:s,tone:c,maxWidth:d,hidden:m,"aria-describedby":u}=e,p=_(e,We);return t.createElement(Le,{variant:a,id:l,label:n,secondaryLabel:i,auxiliaryLabel:r,hint:o,message:s,tone:c,hidden:m,"aria-describedby":u,className:["_61447829","error"===c?"_4df3452b":null,"bordered"===a?"_76f4ad88":null],maxWidth:d},e=>t.createElement(R,{width:"full",display:"flex"},t.createElement("textarea",h(h({},p),e))))},exports.TextField=je,exports.TextLink=xe,exports.Time=Dt,exports.Tooltip=G,exports.usePrevious=rt;
2
2
  //# sourceMappingURL=reactist.cjs.production.min.js.map