@doist/reactist 17.9.1 → 17.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/reactist.cjs.development.js +33 -9
- package/dist/reactist.cjs.development.js.map +1 -1
- package/dist/reactist.cjs.production.min.js +1 -1
- package/dist/reactist.cjs.production.min.js.map +1 -1
- package/es/new-components/base-button/base-button.module.css.js +1 -1
- package/es/new-components/text-area/text-area.js +33 -8
- package/es/new-components/text-area/text-area.js.map +1 -1
- package/es/new-components/text-area/text-area.module.css.js +1 -1
- package/lib/new-components/base-button/base-button.module.css.js +1 -1
- package/lib/new-components/text-area/text-area.d.ts +18 -2
- package/lib/new-components/text-area/text-area.js +1 -1
- package/lib/new-components/text-area/text-area.js.map +1 -1
- package/lib/new-components/text-area/text-area.module.css.js +1 -1
- package/package.json +1 -1
- package/styles/alert.css +1 -1
- package/styles/base-button.css +1 -1
- package/styles/base-button.module.css.css +1 -1
- package/styles/modal.css +2 -2
- package/styles/modal.module.css.css +1 -1
- package/styles/reactist.css +2 -2
- package/styles/static-toast.css +1 -1
- package/styles/text-area.css +1 -1
- package/styles/text-area.module.css.css +1 -1
- package/styles/use-toasts.css +1 -1
|
@@ -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/portal"),o=require("ariakit-utils"),s=require("use-callback-ref"),c=e(require("react-focus-lock")),d=require("aria-hidden"),m=require("ariakit/dialog"),u=require("ariakit/tab"),p=e(require("react-dom")),f=e(require("dayjs")),g=e(require("dayjs/plugin/localizedFormat")),b=require("ariakit/menu"),h=require("@reach/dialog");function x(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 _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x(Object(a),!0).forEach((function(t){y(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function y(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function v(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 E(e){return t.forwardRef(e)}function C(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 w(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:"c6a2474f","position-absolute":"_49e2264f","position-fixed":"a2c9755f","position-relative":"_1986121c","position-sticky":"c5be4e70","tablet-position-absolute":"c6d09c38","tablet-position-fixed":"_2bb75a11","tablet-position-relative":"e992df42","tablet-position-sticky":"d693740c","desktop-position-absolute":"a9f2e68e","desktop-position-fixed":"fca89ad4","desktop-position-relative":"_84913029","desktop-position-sticky":"_1f54b76e","display-block":"_78a04f11","display-flex":"_04f32a92","display-inline":"_00982f96","display-inlineBlock":"_9be0cd8f","display-inlineFlex":"_7ff24869","display-none":"e85f798b","tablet-display-block":"cc7d9996","tablet-display-flex":"aec740e8","tablet-display-inline":"_5eb29888","tablet-display-inlineBlock":"_7399782e","tablet-display-inlineFlex":"_2a4eeb4a","tablet-display-none":"cbd91c8d","desktop-display-block":"d830ca47","desktop-display-flex":"_48cb59a8","desktop-display-inline":"cd0008da","desktop-display-inlineBlock":"_9826a4c8","desktop-display-inlineFlex":"_3e3e729b","desktop-display-none":"_183faf15","flexDirection-column":"eb8408ce","flexDirection-row":"cc313af7","tablet-flexDirection-column":"_571a8cb5","tablet-flexDirection-row":"_03a092d9","desktop-flexDirection-column":"_28991a11","desktop-flexDirection-row":"_7de969fe","flexWrap-wrap":"a6716a2d","flexWrap-nowrap":"_80a7d7fe","flexShrink-0":"_88012354","flexGrow-0":"_6cce36ca","flexGrow-1":"ee7114e6","alignItems-flexStart":"d482b846","alignItems-center":"b7b3664a","alignItems-flexEnd":"_3ca6f2cc","alignItems-baseline":"f97f2803","tablet-alignItems-flexStart":"_57269e2f","tablet-alignItems-center":"_1104d48d","tablet-alignItems-flexEnd":"_86b85059","tablet-alignItems-baseline":"_884972d7","desktop-alignItems-flexStart":"_55026d8f","desktop-alignItems-center":"_49c0fe6f","desktop-alignItems-flexEnd":"_7f55b215","desktop-alignItems-baseline":"da3d398e","justifyContent-flexStart":"f64f71c8","justifyContent-center":"_85286fa2","justifyContent-flexEnd":"cf4ec4c9","justifyContent-spaceAround":"bd407abb","justifyContent-spaceBetween":"a6ae7538","justifyContent-spaceEvenly":"_0e4d97f7","tablet-justifyContent-flexStart":"f2417980","tablet-justifyContent-center":"_5dab5532","tablet-justifyContent-flexEnd":"_4f8d866f","tablet-justifyContent-spaceAround":"_2090c016","tablet-justifyContent-spaceBetween":"ecde71f9","tablet-justifyContent-spaceEvenly":"d779c879","desktop-justifyContent-flexStart":"eb59e0ec","desktop-justifyContent-center":"_4be33fff","desktop-justifyContent-flexEnd":"_14f5eeab","desktop-justifyContent-spaceBetween":"_6fc4e2ed","alignSelf-stretch":"ac494732","alignSelf-flexStart":"_32b61baa","alignSelf-center":"_757c3504","alignSelf-flexEnd":"_539c72bc","alignSelf-baseline":"_2c0ed225","tablet-alignSelf-stretch":"f5896cb5","tablet-alignSelf-flexStart":"_2313a9cc","tablet-alignSelf-center":"_2cbc3335","tablet-alignSelf-flexEnd":"_5b1e6221","tablet-alignSelf-baseline":"fd0f9da4","desktop-alignSelf-stretch":"bef42d6a","desktop-alignSelf-flexStart":"_73620997","desktop-alignSelf-center":"_4eeafebd","desktop-alignSelf-flexEnd":"_944043da","desktop-alignSelf-baseline":"_18913c93","overflow-hidden":"_57850d52","overflow-auto":"bcc25aac","overflow-visible":"eabdf554","overflow-scroll":"_382f77d7","height-full":"e7a8b591","bg-default":"_64eb02c8","bg-aside":"_4bc1d066","bg-highlight":"_7a672ba1","bg-selected":"_3191f73c","bg-toast":"_2b535d30","borderRadius-standard":"_75e98b4e","borderRadius-full":"_51ff4c0f","border-primary":"b9c6f2a1","border-secondary":"_54355849","border-tertiary":"_6199baf2","textAlign-start":"a144300d","textAlign-center":"_48affbca","textAlign-end":"_6bfe8b19","textAlign-justify":"a1168ad5","tablet-textAlign-start":"_00a122fe","tablet-textAlign-center":"_440cb970","tablet-textAlign-end":"_7d161401","tablet-textAlign-justify":"_09dfcdd3","desktop-textAlign-start":"_3ad9923a","desktop-textAlign-center":"_1b158a32","desktop-textAlign-end":"_9255e83c","desktop-textAlign-justify":"_2138258d"},N={"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"},S={"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"},R={"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"},L={"gap-none":"_64ed24f4","gap-xsmall":"_2580a74b","gap-small":"c68f8bf6","gap-medium":"_43e5f8e9","gap-large":"_966b120f","gap-xlarge":"f957894c","gap-xxlarge":"_8cca104b","tablet-gap-none":"_5797cee2","tablet-gap-xsmall":"_9015672f","tablet-gap-small":"_7ec86eec","tablet-gap-medium":"_714d7179","tablet-gap-large":"ae1deb59","tablet-gap-xlarge":"e1cfce55","tablet-gap-xxlarge":"_168a8ff8","desktop-gap-none":"_43e2b619","desktop-gap-xsmall":"_0ea9bf88","desktop-gap-small":"d451307a","desktop-gap-medium":"bf93cf66","desktop-gap-large":"_1430cddf","desktop-gap-xlarge":"fa00c93e","desktop-gap-xxlarge":"_6f3aee54"};const B=["as","position","display","flexDirection","flexWrap","flexGrow","flexShrink","gap","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"],T=E((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:x,gap:y,alignItems:E,justifyContent:w,alignSelf:T,overflow:A,width:z,height:D,background:I,border:O,borderRadius:M,minWidth:F,maxWidth:P,textAlign:W,padding:j,paddingY:H,paddingX:Y,paddingTop:U,paddingRight:q,paddingBottom:K,paddingLeft:G,margin:V,marginY:X,marginX:Z,marginTop:$,marginRight:J,marginBottom:Q,marginLeft:ee,className:te,children:ae}=e,le=v(e,B);const ne=null!=(n=null!=U?U:H)?n:j,ie=null!=(i=null!=q?q:Y)?i:j,re=null!=(r=null!=K?K:H)?r:j,oe=null!=(o=null!=G?G:Y)?o:j,se=null!=(s=null!=$?$:X)?s:V,ce=null!=(c=null!=J?J:Z)?c:V,de=null!=(d=null!=Q?Q:X)?d:V,me=null!=(m=null!=ee?ee:Z)?m:V,ue=!f||"string"==typeof f&&"flex"!==f&&"inlineFlex"!==f;return t.createElement(u,_(_({},le),{},{className:l(te,k.box,f?C(k,"display",f):null,"static"!==p?C(k,"position",p):null,null!=F?C(R,"minWidth",String(F)):null,C(R,"maxWidth",P),C(k,"textAlign",W),C(N,"paddingTop",ne),C(N,"paddingRight",ie),C(N,"paddingBottom",re),C(N,"paddingLeft",oe),C(S,"marginTop",se),C(S,"marginRight",ce),C(S,"marginBottom",de),C(S,"marginLeft",me),ue?null:C(k,"flexDirection",g),ue?null:C(k,"flexWrap",b),ue?null:C(k,"alignItems",E),ue?null:C(k,"justifyContent",w),null!=T?C(k,"alignSelf",T):null,null!=x?C(k,"flexShrink",String(x)):null,null!=h?C(k,"flexGrow",String(h)):null,y?C(L,"gap",y):null,C(k,"overflow",A),null!=z?C(R,"width",String(z)):null,C(k,"height",D),C(k,"bg",I),"none"!==M?C(k,"borderRadius",M):null,"none"!==O?C(k,"border",O):null)||void 0,ref:a}),ae)}));var A={container:"eae3d34f","container-xsmall":"_9b4012c9","container-small":"e35e0320","container-medium":"_0703e67f","container-large":"_1cf15621","container-xlarge":"_1c7dff67","container-xxlarge":"_25bee9b6","columnWidth-content":"_4bb9987d","columnWidth-auto":"_9dd31975","columnWidth-1-2":"_38d11c0e","columnWidth-1-3":"_7ac225c6","columnWidth-2-3":"_9c340680","columnWidth-1-4":"_81cb99d2","columnWidth-3-4":"_10fd355f","columnWidth-1-5":"_3ee66520","columnWidth-2-5":"df1201a5","columnWidth-3-5":"f772e0b2","columnWidth-4-5":"_880cbbb1"};const z=["width","children","exceptionallySetClassName"],D=["space","align","alignY","collapseBelow","children","exceptionallySetClassName"],I=E((function(e,a){let{width:l="auto",children:n,exceptionallySetClassName:i}=e,r=v(e,z);return t.createElement(T,_(_({},r),{},{className:[i,C(A,"columnWidth",l.replace("/","-"))],minWidth:0,height:"full",flexShrink:"content"===l?0:void 0,flexGrow:"auto"===l?1:0,ref:a}),n)})),O=E((function(e,a){let{space:l,align:n="left",alignY:i="top",collapseBelow:r,children:o,exceptionallySetClassName:s}=e,c=v(e,D);return t.createElement(T,_(_({},c),{},{className:[s,A.container,C(A,"container",l)],display:"flex",gap:l,flexDirection:"desktop"===r?{mobile:"column",tablet:"column",desktop:"row"}:"tablet"===r?{mobile:"column",tablet:"row"}:"row",alignItems:w(i,e=>"top"===e?"flexStart":"bottom"===e?"flexEnd":e),justifyContent:w(n,e=>"left"===e?"flexStart":"right"===e?"flexEnd":e),ref:a}),o)}));var M={"weight-primary":"_3f3a401c","weight-secondary":"_03b05b70","weight-tertiary":"b6f67ff8"};const F=["weight"];function P(e){let{weight:a="tertiary"}=e,l=v(e,F);return t.createElement(T,_({as:"hr",className:C(M,"weight",a)},l))}const W=["as","space","align","alignY","children","exceptionallySetClassName"],j=E((function(e,a){let{as:l,space:n,align:i="left",alignY:r="center",children:o,exceptionallySetClassName:s}=e,c=v(e,W);return t.createElement(T,_(_({},c),{},{as:l,display:"flex",flexWrap:"wrap",gap:n,className:s,ref:a,alignItems:w(r,e=>"top"===e?"flexStart":"bottom"===e?"flexEnd":"center"),justifyContent:w(i,e=>"left"===e?"flexStart":"right"===e?"flexEnd":"center")}),o)})),H=["as","space","align","dividers","width","children","exceptionallySetClassName"],Y=E((function(e,a){let{as:l,space:i,align:r,dividers:o="none",width:s="full",children:c,exceptionallySetClassName:d}=e,m=v(e,H);const u=void 0===r?void 0:w(r,e=>"start"===e?"flexStart":"end"===e?"flexEnd":"center");return t.createElement(T,_(_({},m),{},{display:"flex",flexDirection:"column",width:s,alignItems:u,gap:i,as:l,className:d,ref:a}),"none"!==o?t.Children.map(n(c),(e,a)=>a>0?t.createElement(t.Fragment,null,t.createElement(P,{weight:o}),e):e):c)})),U=["display","children","exceptionallySetClassName"],q=E((function(e,a){let{display:l="block",children:n,exceptionallySetClassName:i}=e,r=v(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(T,_(_({},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=E((function(e,a){return t.createElement(T,_(_({},e),{},{ref:a,position:"absolute",overflow:"hidden",className:"_618235b7"}))})),G=["children","content","position","gapSize","className"];function V(e){let{children:a,content:n,position:r="top",gapSize:o=3,className:s}=e,c=v(e,G);const d=function(e){const a=i.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(()=>_(_({},a),{},{show:l(()=>a.show(),500),hide:l(()=>a.hide(),100)}),[l,a])}({placement:r,gutter:o}),m=t.Children.only(a);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 t.createElement(t.Fragment,null,t.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=>t.cloneElement(m,_(_({},e),m.props))),d.visible?t.createElement(i.Tooltip,_(_({},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=E((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:x="center"}=e,y=v(e,$);const E=c||s,C=t.createElement(T,_(_({},y),{},{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(T,{display:"flex",className:Z.startIcon,"aria-hidden":!0},c&&!g?t.createElement(X,null):f):null,p?t.createElement(T,{as:"span",className:Z.label,overflow:"hidden",width:"full"===h?"full":void 0,textAlign:"auto"===h?"center":x},p):null,g||c&&!f?t.createElement(T,{display:"flex",className:Z.endIcon,"aria-hidden":!0},c?t.createElement(X,null):g):null)),w=b&&void 0===d?y["aria-label"]:d;return w?t.createElement(V,{content:w},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=v(e,ee);return t.createElement(Q,_(_({},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",_({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",_({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",_({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",_({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=v(e,ae);const n=le[a];return n?t.createElement(n,_({},l)):null}function ie(e){return t.createElement("svg",_({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={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 me=["as","size","weight","tone","align","children","lineClamp","exceptionallySetClassName"],ue=E((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=v(e,me);const u="string"==typeof c?Number(c)>1:(null!=c?c:1)>1;return t.createElement(T,_(_({},m),{},{as:l,className:[d,de.text,"body"!==n?C(de,"size",n):null,"regular"!==i?C(de,"weight",i):null,"normal"!==r?C(de,"tone",r):null,u?de.lineClampMultipleLines:null,c?C(de,"lineClamp",c.toString()):null],textAlign:o,paddingRight:c?"xsmall":void 0,ref:a}),s)})),pe=["message","description","icon","action","onDismiss","dismissLabel"],fe=a.forwardRef((function(e,t){let{message:l,description:n,icon:i,action:r,onDismiss:o,dismissLabel:s="Close"}=e,c=v(e,pe);return a.createElement(T,_({ref:t,role:"alert","aria-live":"polite",borderRadius:"full",width:"fitContent",background:"toast",display:"flex",padding:"large",alignItems:"center",className:"_121b9429"},c),i?a.createElement(ge,null,i):null,a.createElement(T,{flexGrow:1,maxWidth:"small"},n?a.createElement(Y,{space:"small"},a.createElement(ue,{weight:"bold"},l," "),a.createElement(ue,null,n)):a.createElement(ue,null,l)),r?a.createElement(ge,null,function(e){return null!=e&&"object"==typeof e&&"label"in e&&"onClick"in e&&"string"==typeof e.label&&"function"==typeof e.onClick}(r)?a.createElement(te,{variant:"tertiary",size:"small",onClick:r.onClick},r.label):r):null,o?a.createElement(ge,null,a.createElement(te,{variant:"quaternary",size:"small",onClick:o,"aria-label":s,icon:a.createElement(ie,null)})):null)}));function ge({children:e}){return a.createElement(T,{display:"flex",alignItems:"center",justifyContent:"center",marginX:"-xsmall",marginY:"-medium",className:"_6a2a04c5"},e)}let be=0;function he(e){return e+"-"+be++}function xe(e){const a=t.useRef(null!=e?e:null);return a.current||(a.current=he("element")),a.current}function _e({element:e,transforms:t,transition:a,done:l}){const n=setTimeout(()=>{null==l||l()},400);t.forEach(({property:t,from:a=""})=>{e.style.setProperty(t,a)}),e.style.setProperty("transition",""),e.addEventListener("transitionend",(function t(a){a.target===e&&(e.style.setProperty("transition",""),null==l||l(),e.removeEventListener("transitionend",t),clearTimeout(n))})),window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{e.style.setProperty("transition",a),t.forEach(({property:t,to:a=""})=>{e.style.setProperty(t,a)})})})}const ye=["toastId"],ve=a.forwardRef((function({message:e,description:t,icon:l,action:n,autoDismissDelay:i,dismissLabel:r,showDismissButton:o=!0,toastId:s,onDismiss:c,onRemoveToast:d},m){const[u,p]=a.useState(Boolean(i)),f=a.useRef(),g=a.useCallback((function(){p(!0)}),[]),b=a.useCallback((function(){p(!1),clearTimeout(f.current),f.current=void 0}),[]);return a.useEffect((function(){if(u&&i)return f.current=window.setTimeout(()=>{d(s),null==c||c()},1e3*i),b}),[i,c,d,s,b,u]),a.createElement(fe,{ref:m,message:e,description:t,icon:l,action:n,onDismiss:o?()=>{null==c||c(),d(s)}:void 0,dismissLabel:r,onMouseEnter:b,onMouseLeave:g})})),Ee=a.createContext(()=>()=>{});function Ce(){return a.useContext(Ee)}var we={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 ke=["level","weight","size","tone","children","lineClamp","align","exceptionallySetClassName"],Ne=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=v(e,ke);const u="h"+l,p="string"==typeof s?parseInt(s,10)>1:(s||0)>1;return t.createElement(T,_(_({},m),{},{className:[d,we.heading,"regular"!==n?C(we,"weight",n):null,"normal"!==r?C(we,"tone",r):null,C(we,"size",i),p?we.lineClampMultipleLines:null,s?C(we,"lineClamp",s.toString()):null],textAlign:c,paddingRight:s?"xsmall":void 0,as:u,ref:a}),o)})),Se=["as","variant","tone","size","exceptionallySetClassName","openInNewTab"],Re=E((function(e,a){let{as:l="a",variant:n,tone:i="normal",size:r="normal",exceptionallySetClassName:o,openInNewTab:s=!1}=e,c=v(e,Se);return t.createElement(Q,_(_({},c),{},{as:l,ref:a,variant:n,tone:i,size:r,exceptionallySetClassName:o,target:s?"_blank":void 0,rel:s?"noopener noreferrer":void 0}))})),Le=["as","openInNewTab","exceptionallySetClassName"],Be=E((function(e,a){let{as:l="a",openInNewTab:n=!1,exceptionallySetClassName:i}=e,r=v(e,Le);return t.createElement(T,_(_({},r),{},{as:l,display:"inline",className:[i,"fdc181b3"],ref:a,target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0}))})),Te=["checked","indeterminate","disabled"],Ae={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 ze(e){let{checked:a,indeterminate:l,disabled:n}=e,i=v(e,Te);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",_({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:Ae[r]}))}const De=["label","icon","disabled","indeterminate","defaultChecked","onChange"],Ie=t.forwardRef((function(e,a){var l,n,i;let{label:r,icon:s,disabled:c,indeterminate:d,defaultChecked:m,onChange:u}=e,p=v(e,De);"boolean"!=typeof d||"boolean"==typeof p.checked||(console.warn("Cannot use indeterminate on an uncontrolled checkbox"),d=void 0),r||p["aria-label"]||p["aria-labelledby"]||console.warn("A Checkbox needs a label");const[f,g]=t.useState(!1),[b,h]=t.useState(null!=(l=null!=(n=p.checked)?n:m)&&l),x=null!=(i=p.checked)?i:b,y=t.useRef(null),E=o.useForkRef(y,a);return t.useEffect((function(){y.current&&"boolean"==typeof d&&(y.current.indeterminate=d)}),[d]),t.createElement(T,{as:"label",display:"flex",alignItems:"center",className:["_84dfdb83",c?"_131a2ca4":null,x?"_95b1556d":null,f?"_49de7ebd":null]},t.createElement("input",_(_({},p),{},{ref:E,type:"checkbox","aria-checked":d?"mixed":x,checked:x,disabled:c,onChange:e=>{null==u||u(e),e.defaultPrevented||h(e.currentTarget.checked)},onBlur:e=>{g(!1),null==p||null==p.onBlur||p.onBlur(e)},onKeyUp:e=>{g(!0),null==p||null==p.onKeyUp||p.onKeyUp(e)}})),t.createElement(ze,{checked:x,disabled:c,indeterminate:d,"aria-hidden":!0}),s?t.createElement(T,{display:"flex",className:"_6b4b1851","aria-hidden":!0},s):null,r?t.createElement(T,{display:"flex",className:"_9047f3bd"},t.createElement(ue,null,r)):null)}));function Oe(e){return t.createElement(ue,_({as:"p",tone:"secondary",size:"copy"},e))}function Me(e){return t.createElement("svg",_({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 Fe({id:e,children:a,tone:l}){return t.createElement(ue,{as:"p",tone:"error"===l?"danger":"success"===l?"positive":"normal",size:"copy",id:e},t.createElement(T,{as:"span",marginRight:"xsmall",display:"inlineFlex",className:"_77b2107e"},"loading"===l?t.createElement(X,{size:16}):t.createElement(Me,{"aria-hidden":!0})),a)}function Pe({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=xe(p),g=xe(),b=xe(),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(T,{className:[s,"_2e189908","error"===o?"d1a17d92":null,"bordered"===e?"fd20ef50":null],maxWidth:d},a||l||n?t.createElement(T,{as:"span",display:"flex",justifyContent:"spaceBetween",alignItems:"flexEnd"},t.createElement(ue,{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(T,{className:"_83051e0a",paddingLeft:"small"},n):null):null,c(h)),r?t.createElement(Fe,{id:b,tone:o},r):null,i?t.createElement(Oe,{id:g},i):null)}function We(e){return t.createElement("svg",_({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 je(e){return t.createElement("svg",_({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 He=["variant","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","togglePasswordLabel","hidden","aria-describedby"],Ye=t.forwardRef((function(e,a){let{variant:l="default",label:n,secondaryLabel:i,auxiliaryLabel:r,hint:s,message:c,tone:d,maxWidth:m,togglePasswordLabel:u="Toggle password visibility",hidden:p,"aria-describedby":f}=e,g=v(e,He);const b=xe(g.id),h=t.useRef(null),x=o.useForkRef(h,a),[y,E]=t.useState(!1);function C(){var e;E(e=>!e),null==(e=h.current)||e.focus()}return t.createElement(Pe,{variant:l,id:b,label:n,secondaryLabel:i,auxiliaryLabel:r,hint:s,message:c,tone:d,maxWidth:m,hidden:p,"aria-describedby":f},e=>t.createElement(T,{display:"flex",alignItems:"center",className:["_66b448b3","fb09cd05","error"===d?"_29118bf0":null,"bordered"===l?"f65f40dd":null]},t.createElement("input",_(_(_({},g),e),{},{ref:x,type:y?"text":"password"})),t.createElement(V,{content:u},t.createElement("button",{type:"button",onClick:C,"aria-label":u,tabIndex:-1},t.createElement(y?We:je,{"aria-hidden":!0})))))})),Ue=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","children","hidden","aria-describedby"],qe=t.forwardRef((function(e,a){let{variant:l="default",id:n,label:i,secondaryLabel:r,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:m,children:u,hidden:p,"aria-describedby":f}=e,g=v(e,Ue);return t.createElement(Pe,{variant:l,id:n,label:i,secondaryLabel:r,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:m,hidden:p,"aria-describedby":f},e=>t.createElement(T,{"data-testid":"select-wrapper",className:["a804edbf","error"===d?"a6d38abf":null,"bordered"===l?"_50a3655f":null]},t.createElement("select",_(_(_({},g),e),{},{ref:a}),u),t.createElement(Ke,{"aria-hidden":!0})))}));function Ke(e){return t.createElement("svg",_({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 Ge=["label","hint","disabled","hidden","defaultChecked","id","aria-describedby","aria-label","aria-labelledby","onChange"],Ve=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=v(e,Ge);const h=xe(m),x=xe(),y=null!=u?u:o?x:void 0,E=null!=p?p:void 0,C=null!=f?f:void 0,[w,k]=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(T,{className:["ec63c3f1",s?"_7de9c06d":null,R?"a37981fc":null,w?"a6490371":null],as:"label",display:"flex",alignItems:"center"},t.createElement(T,{position:"relative",display:"inlineBlock",overflow:"visible",marginRight:"small",flexShrink:0,className:"_2a17ac45"},t.createElement(K,null,t.createElement("input",_(_({},b),{},{id:h,type:"checkbox",disabled:s,"aria-describedby":y,"aria-label":E,"aria-labelledby":C,ref:a,checked:R,onChange:e=>{null==g||g(e),e.defaultPrevented||S(e.currentTarget.checked)},onBlur:e=>{k(!1),null==b||null==b.onBlur||b.onBlur(e)},onKeyUp:e=>{k(!0),null==b||null==b.onKeyUp||b.onKeyUp(e)}}))),t.createElement("span",{className:"_91409c7f"})),t.createElement(ue,{exceptionallySetClassName:"_68cc9707"},r)),o?t.createElement(Oe,{id:x},o):null)})),Xe=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","hidden","aria-describedby"],Ze=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","type","maxWidth","hidden","aria-describedby","startIcon"],$e=t.forwardRef((function(e,a){let{variant:l="default",id:n,label:i,secondaryLabel:r,auxiliaryLabel:o,hint:c,message:d,tone:m,type:u="text",maxWidth:p,hidden:f,"aria-describedby":g,startIcon:b}=e,h=v(e,Ze);const x=t.useRef(null),y=s.useMergeRefs([a,x]);function E(){var e;null==(e=x.current)||e.focus()}return t.createElement(Pe,{variant:l,id:n,label:i,secondaryLabel:r,auxiliaryLabel:o,hint:c,message:d,tone:m,maxWidth:p,hidden:f,"aria-describedby":g},e=>t.createElement(T,{display:"flex",alignItems:"center",className:["fb09cd05","error"===m?"_29118bf0":null,"bordered"===l?"f65f40dd":null]},b?t.createElement(T,{display:"flex",className:"a40eb111",onClick:E,marginRight:"-xsmall",marginLeft:"small","aria-hidden":!0},b):null,t.createElement("input",_(_(_({},h),e),{},{type:u,ref:y}))))}));function Je(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 Qe(e,t){const a=e.split("@")[0];return(a&&a.charCodeAt(0)+a.charCodeAt(a.length-1)||0)%t}var et={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 tt=["user","avatarUrl","size","className","colorList","exceptionallySetClassName"],at=["#fcc652","#e9952c","#e16b2d","#d84b40","#e8435a","#e5198a","#ad3889","#86389c","#a8a8a8","#98be2f","#5d9d50","#5f9f85","#5bbcb6","#32a3bf","#2bafeb","#2d88c3","#3863cc","#5e5e5e"];function lt(e){let{user:a,avatarUrl:l,size:n="l",className:i,colorList:r=at,exceptionallySetClassName:o}=e,s=v(e,tt);const c=Je(a.name)||Je(a.email),d=n||"l",m=l?{backgroundImage:"url("+l+")",textIndent:"-9999px"}:{backgroundColor:r[Qe(a.email,r.length)]},u=C(et,"size",d);return t.createElement(T,_({className:[i,et.avatar,u,o],style:m},s),c)}lt.displayName="Avatar";var nt={badge:"_1eb9b834","badge-neutral":"e02d9b99","badge-positive":"_0243fb89","badge-color":"_85c0ffa3"};const it=["variant","children","exceptionallySetClassName"],rt=E((function(e,a){let{variant:l="neutral",children:n,exceptionallySetClassName:i}=e,r=v(e,it);return t.createElement(T,_(_({},r),{},{ref:a,display:"inline",className:[nt.badge,nt["badge-"+l],i]}),n)}));var ot={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 st=["isOpen","onDismiss","height","width","exceptionallySetClassName","exceptionallySetOverlayClassName","autoFocus","hideOnEscape","hideOnInteractOutside","children","portalElement"],ct=["children","button","withDivider","exceptionallySetClassName"],dt=["exceptionallySetClassName","children"],mt=["exceptionallySetClassName","withDivider"],ut=["children"],pt=t.createContext({onDismiss:void 0,height:"fitContent"});function ft(e){return!(e.ownerDocument===document&&"iframe"===e.tagName.toLowerCase())}function gt(e){const{onDismiss:a}=t.useContext(pt),[l,n]=t.useState(!1),[i,r]=t.useState(!1);return t.useEffect((function(){i?n(!0):r(!0)}),[i]),t.createElement(te,_(_({},e),{},{variant:"quaternary",onClick:a,icon:t.createElement(ie,null),tabIndex:l?0:-1}))}function bt(e){let{exceptionallySetClassName:a,withDivider:l=!1}=e,n=v(e,mt);return t.createElement(t.Fragment,null,l?t.createElement(P,null):null,t.createElement(T,_(_({as:"footer"},n),{},{className:a,padding:"large"})))}function ht(e){const a=t.useRef(null);return t.useEffect(()=>{a.current=e},[e]),a.current}var xt={tab:"e96bf360",track:"_430e252d","tab-neutral":"f631ccbe","tab-themed":"_6ba96acc","track-neutral":"ef4cd8d3","track-themed":"_344b3b10"};const _t=["as","children","id","exceptionallySetClassName"],yt=["children","space"],vt=["children","id","as","render"],Et=t.createContext(null),Ct=E((function(e,a){let{as:n,children:i,id:r,exceptionallySetClassName:o}=e,s=v(e,_t);const c=t.useContext(Et);if(!c)return null;const{variant:d,tabState:m}=c;return t.createElement(u.Tab,_(_({},s),{},{as:n,className:l(o,xt.tab,xt["tab-"+d]),id:r,state:m,ref:a}),i)})),wt=E((function(e,a){let{children:l,id:n,as:i,render:r="always"}=e,o=v(e,vt);const s=t.useContext(Et),[c,d]=t.useState(!1),m=(null==s?void 0:s.tabState.selectedId)===n;if(t.useEffect((function(){!c&&m&&d(!0)}),[c,m]),!s)return null;const{tabState:p}=s;return"always"===r||"active"===r&&m||"lazy"===r&&(m||c)?t.createElement(u.TabPanel,_(_({tabId:n},o),{},{state:p,as:i,ref:a}),l):null})),kt=["type","variant","size","loading","disabled","tooltip","onClick","children"],Nt=t.forwardRef((function(e,a){let{type:n="button",variant:i,size:r="default",loading:o=!1,disabled:s=!1,tooltip:c,onClick:d,children:m}=e,u=v(e,kt);const p=l("reactist_button",i?"reactist_button--"+i:null,"default"!==r?"reactist_button--"+r:null,{"reactist_button--loading":o},u.className),f=t.createElement("button",_(_({},u),{},{ref:a,type:n,className:p,"aria-disabled":s||o,onClick:s||o?void 0:d}),m);return c?t.createElement(V,{content:c},f):f}));Nt.displayName="Button",Nt.defaultProps={size:"default",loading:!1,disabled:!1};const St=["children","onClick","tooltip","className"];class Rt extends t.Component{constructor(e,t){super(e,t),this._timeout=void 0,this._handleClickOutside=e=>{const t=p.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=p.findDOMNode(this);if(!a)return;const l=p.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:a=!1,children:n}=this.props,i={top:e,right:a,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?t.cloneElement(o,i):void 0;return t.createElement("div",{className:r,style:{position:"relative"}},s)}render(){const e=l("reactist_dropdown",this.props.className),{top:a}=this.state;return t.createElement("div",{style:{display:"inline-block"},className:e,"data-testid":"reactist-dropdown-box"},a&&this._getBodyComponent(),this._getTriggerComponent(),!a&&this._getBodyComponent())}}Rt.displayName=void 0,Rt.displayName="Dropdown.Box";const Lt=t.forwardRef((function(e,a){let{children:n,onClick:i,tooltip:r,className:o}=e,s=v(e,St);return t.createElement(Nt,_(_({},s),{},{className:l("trigger",o),onClick:function(e){e.preventDefault(),e.stopPropagation(),i&&i(e)},tooltip:r,ref:a}),n)}));function Bt({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)}Lt.displayName="Dropdown.Trigger",Bt.displayName="Dropdown.Body";const Tt={Box:Rt,Trigger:Lt,Body:Bt},At=["#606060","#4A90E2","#03B3B2","#008299","#82BA00","#D24726","#AC193D","#DC4FAD","#3BD5FB","#74E8D3","#FFCC00","#FB886E","#CCCCCC"],zt=e=>"string"!=typeof e;function Dt({color:e=0,small:a,onChange:n,colorList:i=At}){return t.createElement(Tt.Box,{right:!0,className:"reactist_color_picker"},t.createElement(Tt.Trigger,null,(()=>{const n=((e,t)=>e[t>=e.length?0:t])(i,e);return t.createElement("span",{className:l("color_trigger",{small:a}),style:{backgroundColor:zt(n)?n.color:n}},t.createElement("span",{className:"color_trigger--inner_ring"}))})()),t.createElement(Tt.Body,null,t.createElement("div",{className:"color_options"},i.reduce((a,l,r)=>(a.push(t.createElement(It,{isActive:e>=i.length?0===r:r===e,key:r,color:zt(l)?l.color:l,colorIndex:r,onClick:n,tooltip:zt(l)?l.name:null})),a),[]))))}function It({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(V,{content:i},r):r}Dt.displayName="ColorPicker",It.displayName="ColorItem";const Ot=["children","className","translateKey","isMac"];let Mt=e=>e;function Ft(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 Pt(e){var a,n;let{children:i,className:r,translateKey:o=Mt,isMac:s=null!=(a=null==(n=navigator.platform)?void 0:n.toUpperCase().includes("MAC"))&&a}=e,c=v(e,Ot);const d="string"==typeof i?[i]:i;return t.createElement("span",_({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?Ft: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))))))}Pt.setTranslateKey=e=>{Mt=e};const Wt={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}}},jt={ArrowUp:"onArrowUp",ArrowDown:"onArrowDown",ArrowLeft:"onArrowLeft",ArrowRight:"onArrowRight",Enter:"onEnter",Backspace:"onBackspace",Escape:"onEscape"},Ht={ArrowUp:"propagateArrowUp",ArrowDown:"propagateArrowDown",ArrowLeft:"propagateArrowLeft",ArrowRight:"propagateArrowRight",Enter:"propagateEnter",Backspace:"propagateBackspace",Escape:"propagateEscape"};function Yt({fillPercentage:e=0,className:a,"aria-valuetext":n}){const i=l("reactist_progress_bar",a),r=e<0?0:e>100?100:e;return t.createElement("div",{className:i},t.createElement("div",{className:"inner",style:{width:r+"%"}}),t.createElement(K,null,t.createElement("progress",{value:r,max:100,"aria-valuetext":null!=n?n:void 0})))}Yt.displayName="ProgressBar",f.extend(g);const Ut={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=f(),d=f(1e3*e);d.locale(a);const m=c.diff(d,"minute"),u=c.diff(d,"hour"),p=c.diff(d,"day");return p>1?d.isSame(c,"year")?d.format(l):d.format(n):1===p?""+p+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=f(1e3*e);return i.locale(a),i.isSame(f(),"year")?i.format(l):i.format(n)},formatTimeLong(e,t={}){const{locale:a="en",longFormat:l=this.LONG_FORMAT}=t,n=f(1e3*e);return n.locale(a),n.format(l)}};class qt 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 Ut.formatTimeLong(this.props.time,e);if(this.props.expandOnHover&&!this.props.tooltipOnHover)return Ut.formatTime(this.props.time,e)}return Ut.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(V,{content:this.props.tooltip||this.props.time&&Ut.formatTimeLong(this.props.time,this.props.config)},t.createElement("span",null,a)):a)}}qt.displayName=void 0,qt.defaultProps=void 0,qt.displayName="Time",qt.defaultProps={expandOnHover:!1,expandFullyOnHover:!1,tooltipOnHover:!1,refresh:!0,config:{locale:"en",daysSuffix:"d",hoursSuffix:"h",minutesSuffix:"m",momentsAgo:"moments ago"}};const Kt=["children","onItemSelect"],Gt=["exceptionallySetClassName"],Vt=["as"],Xt=["exceptionallySetClassName"],Zt=["value","children","onSelect","hideOnSelect","onClick","exceptionallySetClassName","as"],$t=["label","children","exceptionallySetClassName"],Jt=t.createContext({});function Qt(e){let{children:a,onItemSelect:l}=e,n=v(e,Kt);const[i,r]=t.useState(null),o=t.useMemo(()=>i?()=>i:void 0,[i]),s=b.useMenuState(_({focusLoop:!0,gutter:8,shift:4,getAnchorRect:o},n)),c=t.useCallback((function(e){l&&l(e)}),[l]),d=t.useMemo(()=>({state:s,handleItemSelect:c,handleAnchorRectChange:r}),[s,c]);return t.createElement(Jt.Provider,{value:d},a)}const ea=E((function(e,a){let{exceptionallySetClassName:n}=e,i=v(e,Gt);const{state:r}=t.useContext(Jt);return t.createElement(b.MenuButton,_(_({},i),{},{state:r,ref:a,className:l("reactist_menubutton",n)}))})),ta=E((function(e,a){let{as:l="div"}=e,n=v(e,Vt);const{handleAnchorRectChange:i,state:r}=t.useContext(Jt),o=t.useCallback(e=>{e.preventDefault(),i({x:e.clientX,y:e.clientY}),r.show()},[i,r]);return t.createElement(l,_(_({},n),{},{onContextMenu:o,ref:a}))})),aa=E((function(e,a){let{exceptionallySetClassName:n}=e,i=v(e,Xt);const{state:o}=t.useContext(Jt);return o.visible?t.createElement(r.Portal,{preserveTabOrder:!0},t.createElement(b.Menu,_(_({},i),{},{state:o,ref:a,className:l("reactist_menulist",n)}))):null})),la=E((function(e,a){let{value:l,children:n,onSelect:i,hideOnSelect:r=!0,onClick:o,exceptionallySetClassName:s,as:c="button"}=e,d=v(e,Zt);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(b.MenuItem,_(_({},d),{},{as:c,state:u,ref:a,onClick:f,className:s,hideOnClick:!1}),n)})),na=t.forwardRef((function({children:e,onItemSelect:a},l){const{handleItemSelect:n,state:i}=t.useContext(Jt),{hide:r}=i,o=t.useCallback((function(e){a&&a(e),n(e),r()}),[r,n,a]),[s,c]=t.Children.toArray(e),d=t.useCallback((function(e){return t.cloneElement(s,e)}),[s]);return t.createElement(Qt,{onItemSelect:o},t.createElement(b.MenuItem,{as:"div",state:i,ref:l,hideOnClick:!1},d),c)})),ia=E((function(e,a){let{label:l,children:n,exceptionallySetClassName:i}=e,r=v(e,$t);const{state:o}=t.useContext(Jt);return t.createElement(b.MenuGroup,_(_({},r),{},{ref:a,state:o,className:i}),l?t.createElement("div",{role:"presentation",className:"reactist_menugroup__label"},l):null,n)})),ra=t.forwardRef((e,a)=>{const n=l("reactist_input",e.className);return t.createElement("input",_(_({},e),{},{className:n,ref:a}))});ra.displayName="Input";const oa=["value","options","onChange","disabled","className","defaultValue"];function sa(e){let{value:a,options:n=[],onChange:i,disabled:r=!0,className:o="",defaultValue:s}=e,c=v(e,oa);const d=l("reactist_select",{disabled:r},o);return t.createElement("select",_({className:d,value:a,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)))}sa.displayName="Select",sa.defaultProps={options:[],disabled:!1};const ca=()=>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"})),da=["id","icon","title","subtitle","children","customCloseButton","onClick","onClose","closeAltText","className","aria-live"];var ma={"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 ua=["isOpen","onDismiss","height","width","exceptionallySetClassName","autoFocus","children"],pa=["children","button","withDivider","exceptionallySetClassName"],fa=["exceptionallySetClassName","children"],ga=["exceptionallySetClassName","withDivider"],ba=["children"],ha=t.createContext({onDismiss:void 0,height:"fitContent"});function xa(e){return!(e.ownerDocument===document&&"iframe"===e.tagName.toLowerCase())}function _a(e){const{onDismiss:a}=t.useContext(ha),[l,n]=t.useState(!1),[i,r]=t.useState(!1);return t.useEffect((function(){i?n(!0):r(!0)}),[i]),t.createElement(te,_(_({},e),{},{variant:"quaternary",onClick:a,icon:t.createElement(ie,null),tabIndex:l?0:-1}))}function ya(e){let{exceptionallySetClassName:a,withDivider:l=!1}=e,n=v(e,ga);return t.createElement(t.Fragment,null,l?t.createElement(P,null):null,t.createElement(T,_(_({as:"footer"},n),{},{className:a,padding:"large"})))}exports.Alert=function({id:e,children:a,tone:l,closeLabel:n,onClose:i}){return t.createElement(T,{id:e,role:"alert","aria-live":"polite",borderRadius:"standard",className:[re.container,C(re,"tone",l)]},t.createElement(O,{space:"small",alignY:"top"},t.createElement(I,{width:"content"},t.createElement(ne,{tone:l})),t.createElement(I,null,t.createElement(T,{paddingY:"xsmall",paddingRight:null!=i&&null!=n?void 0:"small"},a)),null!=i&&null!=n?t.createElement(I,{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=lt,exports.Badge=rt,exports.Box=T,exports.Button=te,exports.ButtonLink=Re,exports.COLORS=At,exports.CheckboxField=Ie,exports.ColorPicker=Dt,exports.Column=I,exports.Columns=O,exports.ContextMenuTrigger=ta,exports.DeprecatedButton=Nt,exports.DeprecatedDropdown=Tt,exports.DeprecatedInput=ra,exports.DeprecatedModal=function(e){let{isOpen:a,onDismiss:n,height:i="fitContent",width:r="medium",exceptionallySetClassName:o,autoFocus:s=!0,children:d}=e,m=v(e,ua);const u=t.useMemo(()=>({onDismiss:n,height:i}),[n,i]);return t.createElement(h.DialogOverlay,{isOpen:a,onDismiss:n,dangerouslyBypassFocusLock:!0,className:l(ma.overlay,ma[i],ma[r]),"data-testid":"modal-overlay"},t.createElement(c,{autoFocus:s,whiteList:xa,returnFocus:!0},t.createElement(h.DialogContent,_(_({},m),{},{as:T,borderRadius:"full",background:"default",display:"flex",flexDirection:"column",overflow:"hidden",height:"expand"===i?"full":void 0,flexGrow:"expand"===i?1:0,className:[o,ma.container]}),t.createElement(ha.Provider,{value:u},d))))},exports.DeprecatedModalActions=function(e){let{children:a}=e,l=v(e,ba);return t.createElement(ya,_({},l),t.createElement(j,{align:"right",space:"large"},a))},exports.DeprecatedModalBody=function(e){let{exceptionallySetClassName:a,children:l}=e,n=v(e,fa);const{height:i}=t.useContext(ha);return t.createElement(T,_(_({},n),{},{className:a,flexGrow:"expand"===i?1:0,height:"expand"===i?"full":void 0,overflow:"auto"}),t.createElement(T,{padding:"large",paddingBottom:"xxlarge"},l))},exports.DeprecatedModalCloseButton=_a,exports.DeprecatedModalFooter=ya,exports.DeprecatedModalHeader=function(e){let{children:a,button:l=!0,withDivider:n=!1,exceptionallySetClassName:i}=e,r=v(e,pa);return t.createElement(t.Fragment,null,t.createElement(T,_(_({},r),{},{as:"header",paddingLeft:"large",paddingRight:!1===l||null===l?"large":"small",paddingY:"small",className:i}),t.createElement(O,{space:"large",alignY:"center"},t.createElement(I,{width:"auto"},a),!1===l||null===l?t.createElement("div",{className:ma.headerContent}):t.createElement(I,{width:"content",exceptionallySetClassName:ma.buttonContainer,"data-testid":"button-container"},"boolean"==typeof l?t.createElement(_a,{"aria-label":"Close modal",autoFocus:!1}):l))),n?t.createElement(P,null):null)},exports.DeprecatedNotification=function(e){let{id:a,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=v(e,da);const g=i?a+"-title":null,b=g?{id:g}:null,h=r?a+"-subtitle":null,x=h?{id:h}:null,y=o?a+"-content":null,E=y?{"aria-labelledby":y}:g?{"aria-labelledby":g}:null,C=h&&!o?{"aria-describedby":h}:null,w=t.createElement("div",_({className:"reactist-notification__content"},o?{id:a+"-content"}:null),null!=o?o:t.createElement(t.Fragment,null,i?t.createElement("h3",_({className:"reactist-notification__title"},b),i):null,r?t.createElement("p",_({className:"reactist-notification__subtitle"},x),r):null)),k=t.createElement("div",{className:"reactist-notification__icon-content-group"},null!=n?n:null,w);return t.createElement("div",_(_(_({id:a,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?t.createElement("button",{className:"reactist-notification__button",onClick:c},k):k,d?t.createElement("button",{className:"reactist-notification__close-button",onClick:d,"aria-label":m},null!=s?s:t.createElement(ca,null)):null)},exports.DeprecatedSelect=sa,exports.Divider=P,exports.Heading=Ne,exports.Hidden=q,exports.HiddenVisually=K,exports.Inline=j,exports.KeyCapturer=function(e){const{children:a,eventName:l="onKeyDown"}=e,n=t.useRef(!1);return t.cloneElement(a,_({[l]:function(t){const a=void 0!==t.key?Wt.resolveByKey(t.key):Wt.resolveByKeyCode(t.keyCode);if(!a)return;const l=e[Ht[a]]||!1,i=e[jt[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=Pt,exports.Loading=function(e){var a;let{size:l="small",exceptionallySetClassName:n}=e,i=v(e,oe);const r=null!=(a=se[l])?a:se.small,o=i["aria-label"]?i["aria-label"]:i["aria-labelledby"]?void 0:"Loading…";return t.createElement(T,_(_({},i),{},{"aria-label":o,className:n,display:"flex",alignItems:"center",justifyContent:"center",role:"progressbar"}),t.createElement(X,{size:r,"aria-hidden":!0}))},exports.Menu=Qt,exports.MenuButton=ea,exports.MenuGroup=ia,exports.MenuItem=la,exports.MenuList=aa,exports.Modal=function(e){let{isOpen:a,onDismiss:n,height:i="fitContent",width:o="medium",exceptionallySetClassName:s,exceptionallySetOverlayClassName:u,autoFocus:p=!0,hideOnEscape:f=!0,hideOnInteractOutside:g=!0,children:b,portalElement:h}=e,x=v(e,st);const y=t.useCallback(e=>{e||null==n||n()},[n]),E=m.useDialogState({visible:a,setVisible:y}),C=t.useMemo(()=>({onDismiss:n,height:i}),[n,i]),w=t.useRef(null),k=t.useRef(null),N=t.useRef(null),S=t.useCallback(e=>{var t,a;null!=(t=k.current)&&t.contains(e.target)||null==(a=N.current)||!a.contains(e.target)||(e.stopPropagation(),null==n||n())},[n]);return t.useLayoutEffect((function(){if(a&&w.current)return d.hideOthers(w.current)}),[a]),a?t.createElement(r.Portal,{portalRef:w,portalElement:h},t.createElement(T,{"data-testid":"modal-overlay","data-overlay":!0,className:l(ot.overlay,ot[i],ot[o],u),onPointerDown:g?S:void 0,ref:N},t.createElement(c,{autoFocus:p,whiteList:ft,returnFocus:!0},t.createElement(m.Dialog,_(_({},x),{},{ref:k,as:T,state:E,hideOnEscape:f,preventBodyScroll:!0,borderRadius:"full",background:"default",display:"flex",flexDirection:"column",overflow:"hidden",height:"expand"===i?"full":void 0,flexGrow:"expand"===i?1:0,className:[s,ot.container],modal:!1,autoFocus:!1,autoFocusOnShow:!1,autoFocusOnHide:!1,portal:!1,backdrop:!1,hideOnInteractOutside:!1}),t.createElement(pt.Provider,{value:C},b))))):null},exports.ModalActions=function(e){let{children:a}=e,l=v(e,ut);return t.createElement(bt,_({},l),t.createElement(j,{align:"right",space:"large"},a))},exports.ModalBody=function(e){let{exceptionallySetClassName:a,children:l}=e,n=v(e,dt);const{height:i}=t.useContext(pt);return t.createElement(T,_(_({},n),{},{className:a,flexGrow:"expand"===i?1:0,height:"expand"===i?"full":void 0,overflow:"auto"}),t.createElement(T,{padding:"large",paddingBottom:"xxlarge"},l))},exports.ModalCloseButton=gt,exports.ModalFooter=bt,exports.ModalHeader=function(e){let{children:a,button:l=!0,withDivider:n=!1,exceptionallySetClassName:i}=e,r=v(e,ct);return t.createElement(t.Fragment,null,t.createElement(T,_(_({},r),{},{as:"header",paddingLeft:"large",paddingRight:!1===l||null===l?"large":"small",paddingY:"small",className:i}),t.createElement(O,{space:"large",alignY:"center"},t.createElement(I,{width:"auto"},a),!1===l||null===l?t.createElement("div",{className:ot.headerContent}):t.createElement(I,{width:"content",exceptionallySetClassName:ot.buttonContainer,"data-testid":"button-container"},"boolean"==typeof l?t.createElement(gt,{"aria-label":"Close modal",autoFocus:!1}):l))),n?t.createElement(P,null):null)},exports.Notice=function({id:e,children:a,tone:l}){return t.createElement(T,{id:e,role:"alert","aria-live":"polite",className:[ce.container,C(ce,"tone",l)]},t.createElement(O,{space:"small",alignY:"top"},t.createElement(I,{width:"content"},t.createElement(ne,{tone:l})),t.createElement(I,null,t.createElement(T,{paddingY:"xsmall"},a))))},exports.PasswordField=Ye,exports.ProgressBar=Yt,exports.SUPPORTED_KEYS={ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ENTER:"Enter",BACKSPACE:"Backspace",ESCAPE:"Escape"},exports.SelectField=qe,exports.Stack=Y,exports.StaticToast=fe,exports.SubMenu=na,exports.SwitchField=Ve,exports.Tab=Ct,exports.TabAwareSlot=function({children:e}){const a=t.useContext(Et);return a?e({selectedId:null==a?void 0:a.tabState.selectedId}):null},exports.TabList=function(e){let{children:a,space:l="xsmall"}=e,n=v(e,yt);const i=t.useContext(Et);if(!i)return null;const{tabState:r,variant:o}=i;return t.createElement(T,null,t.createElement(u.TabList,_({state:r,as:T,position:"relative",width:"maxContent"},n),t.createElement(T,{className:[xt.track,xt["track-"+o]]}),t.createElement(j,{space:l},a)))},exports.TabPanel=wt,exports.Tabs=function({children:e,selectedId:a,defaultSelectedId:l,variant:n="neutral",onSelectedIdChange:i}){const r=u.useTabState({selectedId:a,setSelectedId:i}),o=ht(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(Et.Provider,{value:d},e)},exports.Text=ue,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=v(e,Xe);return t.createElement(Pe,{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(T,{width:"full",display:"flex"},t.createElement("textarea",_(_({},p),e))))},exports.TextField=$e,exports.TextLink=Be,exports.Time=qt,exports.Toast=function(e){const t=Ce(),l=a.useRef(e);return a.useEffect(()=>t(l.current),[t]),null},exports.ToastsProvider=function({children:e,padding:l="large",defaultAutoDismissDelay:n=10,defaultDismissLabel:i="Close"}){const[o,s]=a.useState([]),{mappedRef:c,animateRemove:d}=function(){const e=t.useMemo(()=>new Map,[]),a=t.useMemo(()=>new Map,[]);t.useLayoutEffect(()=>{const t=[];Array.from(e.entries()).forEach(([l,n])=>{if(!n)return void e.delete(l);const i=a.get(l),{top:r,height:o}=n.getBoundingClientRect();"number"==typeof i&&i!==r?t.push({element:n,transition:"transform 0.3s ease, opacity 0.3s ease",transforms:[{property:"transform",from:"translateY("+(i-r)+"px)"}]}):"number"!=typeof i&&t.push({element:n,transition:"transform 0.3s ease, opacity 0.3s ease",transforms:[{property:"transform",from:"translateY("+o+"px)"},{property:"opacity",from:"0"}]}),a.set(l,n.getBoundingClientRect().top)}),t.forEach(({element:e,transforms:t,transition:a})=>{_e({element:e,transforms:t,transition:a})})});const l=t.useCallback((function(t,a){const l=e.get(t);l&&_e({element:l,transforms:[{property:"opacity",to:"0"}],transition:"opacity 0.2s ease",done:a})}),[e]);return{mappedRef:t.useCallback(t=>a=>{e.set(t,a)},[e]),animateRemove:l}}(),m=a.useCallback((function(e){d(e,()=>{s(t=>{const a=t.findIndex(t=>t.toastId===e);if(a<0)return t;const l=[...t];return l.splice(a,1),l})})}),[d]),u=a.useCallback((function(e){const t=he("toast"),a=_(_({autoDismissDelay:n,dismissLabel:i},e),{},{toastId:t});return s(e=>[...e,a]),()=>m(t)}),[n,i,m]);return a.createElement(Ee.Provider,{value:u},e,a.createElement(r.Portal,null,0===o.length?null:a.createElement(T,{className:"_8e9f0a55",position:"fixed",width:"full",paddingX:l,paddingBottom:l},a.createElement(Y,{space:"medium"},o.map(e=>{let{toastId:t}=e,l=v(e,ye);return a.createElement(ve,_({key:t,ref:c(t),toastId:t,onRemoveToast:m},l))})))))},exports.Tooltip=V,exports.usePrevious=ht,exports.useToasts=Ce;
|
|
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")),r=require("ariakit/tooltip"),i=require("ariakit/portal"),o=require("ariakit-utils"),s=require("use-callback-ref"),c=e(require("react-focus-lock")),d=require("aria-hidden"),m=require("ariakit/dialog"),u=require("ariakit/tab"),p=e(require("react-dom")),f=e(require("dayjs")),g=e(require("dayjs/plugin/localizedFormat")),b=require("ariakit/menu"),h=require("@reach/dialog");function x(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 _(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?x(Object(a),!0).forEach((function(t){y(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):x(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function y(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function v(e,t){if(null==e)return{};var a,l,n=function(e,t){if(null==e)return{};var a,l,n={},r=Object.keys(e);for(l=0;l<r.length;l++)t.indexOf(a=r[l])>=0||(n[a]=e[a]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(l=0;l<r.length;l++)t.indexOf(a=r[l])>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(n[a]=e[a])}return n}function E(e){return t.forwardRef(e)}function C(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 w(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:"c6a2474f","position-absolute":"_49e2264f","position-fixed":"a2c9755f","position-relative":"_1986121c","position-sticky":"c5be4e70","tablet-position-absolute":"c6d09c38","tablet-position-fixed":"_2bb75a11","tablet-position-relative":"e992df42","tablet-position-sticky":"d693740c","desktop-position-absolute":"a9f2e68e","desktop-position-fixed":"fca89ad4","desktop-position-relative":"_84913029","desktop-position-sticky":"_1f54b76e","display-block":"_78a04f11","display-flex":"_04f32a92","display-inline":"_00982f96","display-inlineBlock":"_9be0cd8f","display-inlineFlex":"_7ff24869","display-none":"e85f798b","tablet-display-block":"cc7d9996","tablet-display-flex":"aec740e8","tablet-display-inline":"_5eb29888","tablet-display-inlineBlock":"_7399782e","tablet-display-inlineFlex":"_2a4eeb4a","tablet-display-none":"cbd91c8d","desktop-display-block":"d830ca47","desktop-display-flex":"_48cb59a8","desktop-display-inline":"cd0008da","desktop-display-inlineBlock":"_9826a4c8","desktop-display-inlineFlex":"_3e3e729b","desktop-display-none":"_183faf15","flexDirection-column":"eb8408ce","flexDirection-row":"cc313af7","tablet-flexDirection-column":"_571a8cb5","tablet-flexDirection-row":"_03a092d9","desktop-flexDirection-column":"_28991a11","desktop-flexDirection-row":"_7de969fe","flexWrap-wrap":"a6716a2d","flexWrap-nowrap":"_80a7d7fe","flexShrink-0":"_88012354","flexGrow-0":"_6cce36ca","flexGrow-1":"ee7114e6","alignItems-flexStart":"d482b846","alignItems-center":"b7b3664a","alignItems-flexEnd":"_3ca6f2cc","alignItems-baseline":"f97f2803","tablet-alignItems-flexStart":"_57269e2f","tablet-alignItems-center":"_1104d48d","tablet-alignItems-flexEnd":"_86b85059","tablet-alignItems-baseline":"_884972d7","desktop-alignItems-flexStart":"_55026d8f","desktop-alignItems-center":"_49c0fe6f","desktop-alignItems-flexEnd":"_7f55b215","desktop-alignItems-baseline":"da3d398e","justifyContent-flexStart":"f64f71c8","justifyContent-center":"_85286fa2","justifyContent-flexEnd":"cf4ec4c9","justifyContent-spaceAround":"bd407abb","justifyContent-spaceBetween":"a6ae7538","justifyContent-spaceEvenly":"_0e4d97f7","tablet-justifyContent-flexStart":"f2417980","tablet-justifyContent-center":"_5dab5532","tablet-justifyContent-flexEnd":"_4f8d866f","tablet-justifyContent-spaceAround":"_2090c016","tablet-justifyContent-spaceBetween":"ecde71f9","tablet-justifyContent-spaceEvenly":"d779c879","desktop-justifyContent-flexStart":"eb59e0ec","desktop-justifyContent-center":"_4be33fff","desktop-justifyContent-flexEnd":"_14f5eeab","desktop-justifyContent-spaceBetween":"_6fc4e2ed","alignSelf-stretch":"ac494732","alignSelf-flexStart":"_32b61baa","alignSelf-center":"_757c3504","alignSelf-flexEnd":"_539c72bc","alignSelf-baseline":"_2c0ed225","tablet-alignSelf-stretch":"f5896cb5","tablet-alignSelf-flexStart":"_2313a9cc","tablet-alignSelf-center":"_2cbc3335","tablet-alignSelf-flexEnd":"_5b1e6221","tablet-alignSelf-baseline":"fd0f9da4","desktop-alignSelf-stretch":"bef42d6a","desktop-alignSelf-flexStart":"_73620997","desktop-alignSelf-center":"_4eeafebd","desktop-alignSelf-flexEnd":"_944043da","desktop-alignSelf-baseline":"_18913c93","overflow-hidden":"_57850d52","overflow-auto":"bcc25aac","overflow-visible":"eabdf554","overflow-scroll":"_382f77d7","height-full":"e7a8b591","bg-default":"_64eb02c8","bg-aside":"_4bc1d066","bg-highlight":"_7a672ba1","bg-selected":"_3191f73c","bg-toast":"_2b535d30","borderRadius-standard":"_75e98b4e","borderRadius-full":"_51ff4c0f","border-primary":"b9c6f2a1","border-secondary":"_54355849","border-tertiary":"_6199baf2","textAlign-start":"a144300d","textAlign-center":"_48affbca","textAlign-end":"_6bfe8b19","textAlign-justify":"a1168ad5","tablet-textAlign-start":"_00a122fe","tablet-textAlign-center":"_440cb970","tablet-textAlign-end":"_7d161401","tablet-textAlign-justify":"_09dfcdd3","desktop-textAlign-start":"_3ad9923a","desktop-textAlign-center":"_1b158a32","desktop-textAlign-end":"_9255e83c","desktop-textAlign-justify":"_2138258d"},N={"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"},S={"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"},R={"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"},L={"gap-none":"_64ed24f4","gap-xsmall":"_2580a74b","gap-small":"c68f8bf6","gap-medium":"_43e5f8e9","gap-large":"_966b120f","gap-xlarge":"f957894c","gap-xxlarge":"_8cca104b","tablet-gap-none":"_5797cee2","tablet-gap-xsmall":"_9015672f","tablet-gap-small":"_7ec86eec","tablet-gap-medium":"_714d7179","tablet-gap-large":"ae1deb59","tablet-gap-xlarge":"e1cfce55","tablet-gap-xxlarge":"_168a8ff8","desktop-gap-none":"_43e2b619","desktop-gap-xsmall":"_0ea9bf88","desktop-gap-small":"d451307a","desktop-gap-medium":"bf93cf66","desktop-gap-large":"_1430cddf","desktop-gap-xlarge":"fa00c93e","desktop-gap-xxlarge":"_6f3aee54"};const B=["as","position","display","flexDirection","flexWrap","flexGrow","flexShrink","gap","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"],T=E((function(e,a){var n,r,i,o,s,c,d,m;let{as:u="div",position:p="static",display:f,flexDirection:g="row",flexWrap:b,flexGrow:h,flexShrink:x,gap:y,alignItems:E,justifyContent:w,alignSelf:T,overflow:A,width:z,height:D,background:I,border:O,borderRadius:M,minWidth:F,maxWidth:P,textAlign:W,padding:j,paddingY:H,paddingX:Y,paddingTop:U,paddingRight:q,paddingBottom:K,paddingLeft:G,margin:V,marginY:X,marginX:Z,marginTop:$,marginRight:J,marginBottom:Q,marginLeft:ee,className:te,children:ae}=e,le=v(e,B);const ne=null!=(n=null!=U?U:H)?n:j,re=null!=(r=null!=q?q:Y)?r:j,ie=null!=(i=null!=K?K:H)?i:j,oe=null!=(o=null!=G?G:Y)?o:j,se=null!=(s=null!=$?$:X)?s:V,ce=null!=(c=null!=J?J:Z)?c:V,de=null!=(d=null!=Q?Q:X)?d:V,me=null!=(m=null!=ee?ee:Z)?m:V,ue=!f||"string"==typeof f&&"flex"!==f&&"inlineFlex"!==f;return t.createElement(u,_(_({},le),{},{className:l(te,k.box,f?C(k,"display",f):null,"static"!==p?C(k,"position",p):null,null!=F?C(R,"minWidth",String(F)):null,C(R,"maxWidth",P),C(k,"textAlign",W),C(N,"paddingTop",ne),C(N,"paddingRight",re),C(N,"paddingBottom",ie),C(N,"paddingLeft",oe),C(S,"marginTop",se),C(S,"marginRight",ce),C(S,"marginBottom",de),C(S,"marginLeft",me),ue?null:C(k,"flexDirection",g),ue?null:C(k,"flexWrap",b),ue?null:C(k,"alignItems",E),ue?null:C(k,"justifyContent",w),null!=T?C(k,"alignSelf",T):null,null!=x?C(k,"flexShrink",String(x)):null,null!=h?C(k,"flexGrow",String(h)):null,y?C(L,"gap",y):null,C(k,"overflow",A),null!=z?C(R,"width",String(z)):null,C(k,"height",D),C(k,"bg",I),"none"!==M?C(k,"borderRadius",M):null,"none"!==O?C(k,"border",O):null)||void 0,ref:a}),ae)}));var A={container:"eae3d34f","container-xsmall":"_9b4012c9","container-small":"e35e0320","container-medium":"_0703e67f","container-large":"_1cf15621","container-xlarge":"_1c7dff67","container-xxlarge":"_25bee9b6","columnWidth-content":"_4bb9987d","columnWidth-auto":"_9dd31975","columnWidth-1-2":"_38d11c0e","columnWidth-1-3":"_7ac225c6","columnWidth-2-3":"_9c340680","columnWidth-1-4":"_81cb99d2","columnWidth-3-4":"_10fd355f","columnWidth-1-5":"_3ee66520","columnWidth-2-5":"df1201a5","columnWidth-3-5":"f772e0b2","columnWidth-4-5":"_880cbbb1"};const z=["width","children","exceptionallySetClassName"],D=["space","align","alignY","collapseBelow","children","exceptionallySetClassName"],I=E((function(e,a){let{width:l="auto",children:n,exceptionallySetClassName:r}=e,i=v(e,z);return t.createElement(T,_(_({},i),{},{className:[r,C(A,"columnWidth",l.replace("/","-"))],minWidth:0,height:"full",flexShrink:"content"===l?0:void 0,flexGrow:"auto"===l?1:0,ref:a}),n)})),O=E((function(e,a){let{space:l,align:n="left",alignY:r="top",collapseBelow:i,children:o,exceptionallySetClassName:s}=e,c=v(e,D);return t.createElement(T,_(_({},c),{},{className:[s,A.container,C(A,"container",l)],display:"flex",gap:l,flexDirection:"desktop"===i?{mobile:"column",tablet:"column",desktop:"row"}:"tablet"===i?{mobile:"column",tablet:"row"}:"row",alignItems:w(r,e=>"top"===e?"flexStart":"bottom"===e?"flexEnd":e),justifyContent:w(n,e=>"left"===e?"flexStart":"right"===e?"flexEnd":e),ref:a}),o)}));var M={"weight-primary":"_3f3a401c","weight-secondary":"_03b05b70","weight-tertiary":"b6f67ff8"};const F=["weight"];function P(e){let{weight:a="tertiary"}=e,l=v(e,F);return t.createElement(T,_({as:"hr",className:C(M,"weight",a)},l))}const W=["as","space","align","alignY","children","exceptionallySetClassName"],j=E((function(e,a){let{as:l,space:n,align:r="left",alignY:i="center",children:o,exceptionallySetClassName:s}=e,c=v(e,W);return t.createElement(T,_(_({},c),{},{as:l,display:"flex",flexWrap:"wrap",gap:n,className:s,ref:a,alignItems:w(i,e=>"top"===e?"flexStart":"bottom"===e?"flexEnd":"center"),justifyContent:w(r,e=>"left"===e?"flexStart":"right"===e?"flexEnd":"center")}),o)})),H=["as","space","align","dividers","width","children","exceptionallySetClassName"],Y=E((function(e,a){let{as:l,space:r,align:i,dividers:o="none",width:s="full",children:c,exceptionallySetClassName:d}=e,m=v(e,H);const u=void 0===i?void 0:w(i,e=>"start"===e?"flexStart":"end"===e?"flexEnd":"center");return t.createElement(T,_(_({},m),{},{display:"flex",flexDirection:"column",width:s,alignItems:u,gap:r,as:l,className:d,ref:a}),"none"!==o?t.Children.map(n(c),(e,a)=>a>0?t.createElement(t.Fragment,null,t.createElement(P,{weight:o}),e):e):c)})),U=["display","children","exceptionallySetClassName"],q=E((function(e,a){let{display:l="block",children:n,exceptionallySetClassName:r}=e,i=v(e,U);const o="print"in i&&i.print,s="above"in i,c="below"in i,d="below"in i&&"desktop"===i.below||"above"in i&&"mobile"===i.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 i&&delete i.above,"below"in i&&delete i.below,"print"in i&&delete i.print,t.createElement(T,_(_({},i),{},{ref:a,className:[r,o?"_0e595dea":null],display:s&&c?"none":{mobile:c?"none":l,tablet:d?"none":l,desktop:s?"none":l}}),n)})),K=E((function(e,a){return t.createElement(T,_(_({},e),{},{ref:a,position:"absolute",overflow:"hidden",className:"_618235b7"}))})),G=["children","content","position","gapSize","className"];function V(e){let{children:a,content:n,position:i="top",gapSize:o=3,className:s}=e,c=v(e,G);const d=function(e){const a=r.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(()=>_(_({},a),{},{show:l(()=>a.show(),500),hide:l(()=>a.hide(),100)}),[l,a])}({placement:i,gutter:o}),m=t.Children.only(a);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 t.createElement(t.Fragment,null,t.createElement(r.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,_(_({},e),m.props))),d.visible?t.createElement(r.Tooltip,_(_({},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:"_8313bd46",label:"_0051d171","shape-rounded":"_8eb8f0fa","size-small":"_8b7f1a82","size-normal":"_5e45d59f","size-large":"_95951888",disabled:"_43792df1",iconButton:"_8644eccb",startIcon:"a44d4350",endIcon:"_073e1aa4","variant-primary":"_7a4dbd5f","variant-secondary":"_54d56775","variant-tertiary":"_907a61ca","variant-quaternary":"f169a390","tone-destructive":"ccb3eb8c"};const $=["as","variant","tone","size","shape","disabled","loading","tooltip","onClick","exceptionallySetClassName","children","startIcon","endIcon","icon","width","align"];function J(e){e.preventDefault()}const Q=E((function(e,a){let{as:l="div",variant:n,tone:r="normal",size:i="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:x="center"}=e,y=v(e,$);const E=c||s,C=t.createElement(T,_(_({},y),{},{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-"+r],Z["size-"+i],"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(T,{display:"flex",className:Z.startIcon,"aria-hidden":!0},c&&!g?t.createElement(X,null):f):null,p?t.createElement(T,{as:"span",className:Z.label,overflow:"hidden",width:"full"===h?"full":void 0,textAlign:"auto"===h?"center":x},p):null,g||c&&!f?t.createElement(T,{display:"flex",className:Z.endIcon,"aria-hidden":!0},c?t.createElement(X,null):g):null)),w=b&&void 0===d?y["aria-label"]:d;return w?t.createElement(V,{content:w},C):C})),ee=["variant","tone","size","type","disabled","exceptionallySetClassName"],te=t.forwardRef((function(e,a){let{variant:l,tone:n="normal",size:r="normal",type:i="button",disabled:o=!1,exceptionallySetClassName:s}=e,c=v(e,ee);return t.createElement(Q,_(_({},c),{},{as:"button",ref:a,variant:l,tone:n,size:r,type:i,disabled:o,exceptionallySetClassName:s}))})),ae=["tone"],le={info:function(e){return t.createElement("svg",_({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",_({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",_({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",_({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=v(e,ae);const n=le[a];return n?t.createElement(n,_({},l)):null}function re(e){return t.createElement("svg",_({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 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={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 me=["as","size","weight","tone","align","children","lineClamp","exceptionallySetClassName"],ue=E((function(e,a){let{as:l,size:n="body",weight:r="regular",tone:i="normal",align:o,children:s,lineClamp:c,exceptionallySetClassName:d}=e,m=v(e,me);const u="string"==typeof c?Number(c)>1:(null!=c?c:1)>1;return t.createElement(T,_(_({},m),{},{as:l,className:[d,de.text,"body"!==n?C(de,"size",n):null,"regular"!==r?C(de,"weight",r):null,"normal"!==i?C(de,"tone",i):null,u?de.lineClampMultipleLines:null,c?C(de,"lineClamp",c.toString()):null],textAlign:o,paddingRight:c?"xsmall":void 0,ref:a}),s)})),pe=["message","description","icon","action","onDismiss","dismissLabel"],fe=a.forwardRef((function(e,t){let{message:l,description:n,icon:r,action:i,onDismiss:o,dismissLabel:s="Close"}=e,c=v(e,pe);return a.createElement(T,_({ref:t,role:"alert","aria-live":"polite",borderRadius:"full",width:"fitContent",background:"toast",display:"flex",padding:"large",alignItems:"center",className:"_121b9429"},c),r?a.createElement(ge,null,r):null,a.createElement(T,{flexGrow:1,maxWidth:"small"},n?a.createElement(Y,{space:"small"},a.createElement(ue,{weight:"bold"},l," "),a.createElement(ue,null,n)):a.createElement(ue,null,l)),i?a.createElement(ge,null,function(e){return null!=e&&"object"==typeof e&&"label"in e&&"onClick"in e&&"string"==typeof e.label&&"function"==typeof e.onClick}(i)?a.createElement(te,{variant:"tertiary",size:"small",onClick:i.onClick},i.label):i):null,o?a.createElement(ge,null,a.createElement(te,{variant:"quaternary",size:"small",onClick:o,"aria-label":s,icon:a.createElement(re,null)})):null)}));function ge({children:e}){return a.createElement(T,{display:"flex",alignItems:"center",justifyContent:"center",marginX:"-xsmall",marginY:"-medium",className:"_6a2a04c5"},e)}let be=0;function he(e){return e+"-"+be++}function xe(e){const a=t.useRef(null!=e?e:null);return a.current||(a.current=he("element")),a.current}function _e({element:e,transforms:t,transition:a,done:l}){const n=setTimeout(()=>{null==l||l()},400);t.forEach(({property:t,from:a=""})=>{e.style.setProperty(t,a)}),e.style.setProperty("transition",""),e.addEventListener("transitionend",(function t(a){a.target===e&&(e.style.setProperty("transition",""),null==l||l(),e.removeEventListener("transitionend",t),clearTimeout(n))})),window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{e.style.setProperty("transition",a),t.forEach(({property:t,to:a=""})=>{e.style.setProperty(t,a)})})})}const ye=["toastId"],ve=a.forwardRef((function({message:e,description:t,icon:l,action:n,autoDismissDelay:r,dismissLabel:i,showDismissButton:o=!0,toastId:s,onDismiss:c,onRemoveToast:d},m){const[u,p]=a.useState(Boolean(r)),f=a.useRef(),g=a.useCallback((function(){p(!0)}),[]),b=a.useCallback((function(){p(!1),clearTimeout(f.current),f.current=void 0}),[]);return a.useEffect((function(){if(u&&r)return f.current=window.setTimeout(()=>{d(s),null==c||c()},1e3*r),b}),[r,c,d,s,b,u]),a.createElement(fe,{ref:m,message:e,description:t,icon:l,action:n,onDismiss:o?()=>{null==c||c(),d(s)}:void 0,dismissLabel:i,onMouseEnter:b,onMouseLeave:g})})),Ee=a.createContext(()=>()=>{});function Ce(){return a.useContext(Ee)}var we={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 ke=["level","weight","size","tone","children","lineClamp","align","exceptionallySetClassName"],Ne=t.forwardRef((function(e,a){let{level:l,weight:n="regular",size:r,tone:i="normal",children:o,lineClamp:s,align:c,exceptionallySetClassName:d}=e,m=v(e,ke);const u="h"+l,p="string"==typeof s?parseInt(s,10)>1:(s||0)>1;return t.createElement(T,_(_({},m),{},{className:[d,we.heading,"regular"!==n?C(we,"weight",n):null,"normal"!==i?C(we,"tone",i):null,C(we,"size",r),p?we.lineClampMultipleLines:null,s?C(we,"lineClamp",s.toString()):null],textAlign:c,paddingRight:s?"xsmall":void 0,as:u,ref:a}),o)})),Se=["as","variant","tone","size","exceptionallySetClassName","openInNewTab"],Re=E((function(e,a){let{as:l="a",variant:n,tone:r="normal",size:i="normal",exceptionallySetClassName:o,openInNewTab:s=!1}=e,c=v(e,Se);return t.createElement(Q,_(_({},c),{},{as:l,ref:a,variant:n,tone:r,size:i,exceptionallySetClassName:o,target:s?"_blank":void 0,rel:s?"noopener noreferrer":void 0}))})),Le=["as","openInNewTab","exceptionallySetClassName"],Be=E((function(e,a){let{as:l="a",openInNewTab:n=!1,exceptionallySetClassName:r}=e,i=v(e,Le);return t.createElement(T,_(_({},i),{},{as:l,display:"inline",className:[r,"fdc181b3"],ref:a,target:n?"_blank":void 0,rel:n?"noopener noreferrer":void 0}))})),Te=["checked","indeterminate","disabled"],Ae={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 ze(e){let{checked:a,indeterminate:l,disabled:n}=e,r=v(e,Te);const i=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",_({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},r),t.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:Ae[i]}))}const De=["label","icon","disabled","indeterminate","defaultChecked","onChange"],Ie=t.forwardRef((function(e,a){var l,n,r;let{label:i,icon:s,disabled:c,indeterminate:d,defaultChecked:m,onChange:u}=e,p=v(e,De);"boolean"!=typeof d||"boolean"==typeof p.checked||(console.warn("Cannot use indeterminate on an uncontrolled checkbox"),d=void 0),i||p["aria-label"]||p["aria-labelledby"]||console.warn("A Checkbox needs a label");const[f,g]=t.useState(!1),[b,h]=t.useState(null!=(l=null!=(n=p.checked)?n:m)&&l),x=null!=(r=p.checked)?r:b,y=t.useRef(null),E=o.useForkRef(y,a);return t.useEffect((function(){y.current&&"boolean"==typeof d&&(y.current.indeterminate=d)}),[d]),t.createElement(T,{as:"label",display:"flex",alignItems:"center",className:["_84dfdb83",c?"_131a2ca4":null,x?"_95b1556d":null,f?"_49de7ebd":null]},t.createElement("input",_(_({},p),{},{ref:E,type:"checkbox","aria-checked":d?"mixed":x,checked:x,disabled:c,onChange:e=>{null==u||u(e),e.defaultPrevented||h(e.currentTarget.checked)},onBlur:e=>{g(!1),null==p||null==p.onBlur||p.onBlur(e)},onKeyUp:e=>{g(!0),null==p||null==p.onKeyUp||p.onKeyUp(e)}})),t.createElement(ze,{checked:x,disabled:c,indeterminate:d,"aria-hidden":!0}),s?t.createElement(T,{display:"flex",className:"_6b4b1851","aria-hidden":!0},s):null,i?t.createElement(T,{display:"flex",className:"_9047f3bd"},t.createElement(ue,null,i)):null)}));function Oe(e){return t.createElement(ue,_({as:"p",tone:"secondary",size:"copy"},e))}function Me(e){return t.createElement("svg",_({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 Fe({id:e,children:a,tone:l}){return t.createElement(ue,{as:"p",tone:"error"===l?"danger":"success"===l?"positive":"normal",size:"copy",id:e},t.createElement(T,{as:"span",marginRight:"xsmall",display:"inlineFlex",className:"_77b2107e"},"loading"===l?t.createElement(X,{size:16}):t.createElement(Me,{"aria-hidden":!0})),a)}function Pe({variant:e="default",label:a,secondaryLabel:l,auxiliaryLabel:n,hint:r,message:i,tone:o="neutral",className:s,children:c,maxWidth:d,hidden:m,"aria-describedby":u,id:p}){const f=xe(p),g=xe(),b=xe(),h={id:f,"aria-describedby":null!=u?u:[i?b:null,g].filter(Boolean).join(" "),"aria-invalid":"error"===o||void 0};return t.createElement(Y,{space:"small",hidden:m},t.createElement(T,{className:[s,"_2e189908","error"===o?"d1a17d92":null,"bordered"===e?"fd20ef50":null],maxWidth:d},a||l||n?t.createElement(T,{as:"span",display:"flex",justifyContent:"spaceBetween",alignItems:"flexEnd"},t.createElement(ue,{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(T,{className:"_83051e0a",paddingLeft:"small"},n):null):null,c(h)),i?t.createElement(Fe,{id:b,tone:o},i):null,r?t.createElement(Oe,{id:g},r):null)}function We(e){return t.createElement("svg",_({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 je(e){return t.createElement("svg",_({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 He=["variant","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","togglePasswordLabel","hidden","aria-describedby"],Ye=t.forwardRef((function(e,a){let{variant:l="default",label:n,secondaryLabel:r,auxiliaryLabel:i,hint:s,message:c,tone:d,maxWidth:m,togglePasswordLabel:u="Toggle password visibility",hidden:p,"aria-describedby":f}=e,g=v(e,He);const b=xe(g.id),h=t.useRef(null),x=o.useForkRef(h,a),[y,E]=t.useState(!1);function C(){var e;E(e=>!e),null==(e=h.current)||e.focus()}return t.createElement(Pe,{variant:l,id:b,label:n,secondaryLabel:r,auxiliaryLabel:i,hint:s,message:c,tone:d,maxWidth:m,hidden:p,"aria-describedby":f},e=>t.createElement(T,{display:"flex",alignItems:"center",className:["_66b448b3","fb09cd05","error"===d?"_29118bf0":null,"bordered"===l?"f65f40dd":null]},t.createElement("input",_(_(_({},g),e),{},{ref:x,type:y?"text":"password"})),t.createElement(V,{content:u},t.createElement("button",{type:"button",onClick:C,"aria-label":u,tabIndex:-1},t.createElement(y?We:je,{"aria-hidden":!0})))))})),Ue=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","children","hidden","aria-describedby"],qe=t.forwardRef((function(e,a){let{variant:l="default",id:n,label:r,secondaryLabel:i,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:m,children:u,hidden:p,"aria-describedby":f}=e,g=v(e,Ue);return t.createElement(Pe,{variant:l,id:n,label:r,secondaryLabel:i,auxiliaryLabel:o,hint:s,message:c,tone:d,maxWidth:m,hidden:p,"aria-describedby":f},e=>t.createElement(T,{"data-testid":"select-wrapper",className:["a804edbf","error"===d?"a6d38abf":null,"bordered"===l?"_50a3655f":null]},t.createElement("select",_(_(_({},g),e),{},{ref:a}),u),t.createElement(Ke,{"aria-hidden":!0})))}));function Ke(e){return t.createElement("svg",_({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 Ge=["label","hint","disabled","hidden","defaultChecked","id","aria-describedby","aria-label","aria-labelledby","onChange"],Ve=t.forwardRef((function(e,a){var l,n,r;let{label:i,hint:o,disabled:s=!1,hidden:c,defaultChecked:d,id:m,"aria-describedby":u,"aria-label":p,"aria-labelledby":f,onChange:g}=e,b=v(e,Ge);const h=xe(m),x=xe(),y=null!=u?u:o?x:void 0,E=null!=p?p:void 0,C=null!=f?f:void 0,[w,k]=t.useState(!1),[N,S]=t.useState(null!=(l=null!=(n=b.checked)?n:d)&&l),R=null!=(r=b.checked)?r:N;return t.createElement(Y,{space:"small",hidden:c},t.createElement(T,{className:["ec63c3f1",s?"_7de9c06d":null,R?"a37981fc":null,w?"a6490371":null],as:"label",display:"flex",alignItems:"center"},t.createElement(T,{position:"relative",display:"inlineBlock",overflow:"visible",marginRight:"small",flexShrink:0,className:"_2a17ac45"},t.createElement(K,null,t.createElement("input",_(_({},b),{},{id:h,type:"checkbox",disabled:s,"aria-describedby":y,"aria-label":E,"aria-labelledby":C,ref:a,checked:R,onChange:e=>{null==g||g(e),e.defaultPrevented||S(e.currentTarget.checked)},onBlur:e=>{k(!1),null==b||null==b.onBlur||b.onBlur(e)},onKeyUp:e=>{k(!0),null==b||null==b.onKeyUp||b.onKeyUp(e)}}))),t.createElement("span",{className:"_91409c7f"})),t.createElement(ue,{exceptionallySetClassName:"_68cc9707"},i)),o?t.createElement(Oe,{id:x},o):null)})),Xe=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","maxWidth","hidden","aria-describedby","rows","autoExpand"],Ze=t.forwardRef((function(e,a){let{variant:l="default",id:n,label:r,secondaryLabel:i,auxiliaryLabel:o,hint:c,message:d,tone:m,maxWidth:u,hidden:p,"aria-describedby":f,rows:g,autoExpand:b=!1}=e,h=v(e,Xe);const x=t.useRef(null),y=t.useRef(null),E=s.useMergeRefs([a,y]);return t.useEffect((function(){const e=x.current;function t(t){e&&(e.dataset.replicatedValue=t.currentTarget.value)}const a=y.current;if(a&&b)return a.addEventListener("input",t),()=>a.removeEventListener("input",t)}),[b]),t.createElement(Pe,{variant:l,id:n,label:r,secondaryLabel:i,auxiliaryLabel:o,hint:c,message:d,tone:m,hidden:p,"aria-describedby":f,className:["_21dbfa84","error"===m?"a862f0e5":null,"bordered"===l?"f081b428":null],maxWidth:u},e=>t.createElement(T,{width:"full",display:"flex",className:"_43588660",ref:x},t.createElement("textarea",_(_(_({},h),e),{},{ref:E,rows:g,className:b?"_46360b15":void 0}))))})),$e=["variant","id","label","secondaryLabel","auxiliaryLabel","hint","message","tone","type","maxWidth","hidden","aria-describedby","startIcon"],Je=t.forwardRef((function(e,a){let{variant:l="default",id:n,label:r,secondaryLabel:i,auxiliaryLabel:o,hint:c,message:d,tone:m,type:u="text",maxWidth:p,hidden:f,"aria-describedby":g,startIcon:b}=e,h=v(e,$e);const x=t.useRef(null),y=s.useMergeRefs([a,x]);function E(){var e;null==(e=x.current)||e.focus()}return t.createElement(Pe,{variant:l,id:n,label:r,secondaryLabel:i,auxiliaryLabel:o,hint:c,message:d,tone:m,maxWidth:p,hidden:f,"aria-describedby":g},e=>t.createElement(T,{display:"flex",alignItems:"center",className:["fb09cd05","error"===m?"_29118bf0":null,"bordered"===l?"f65f40dd":null]},b?t.createElement(T,{display:"flex",className:"a40eb111",onClick:E,marginRight:"-xsmall",marginLeft:"small","aria-hidden":!0},b):null,t.createElement("input",_(_(_({},h),e),{},{type:u,ref:y}))))}));function Qe(e){var t;if(!e)return"";const a=e.trim().split(" "),l=a[0],n=a[a.length-1];let r=null==l?void 0:l[0];return null!=l&&null!=n&&null!=r&&l[0]!==n[0]&&(r+=n[0]),null==(t=r)?void 0:t.toUpperCase()}function et(e,t){const a=e.split("@")[0];return(a&&a.charCodeAt(0)+a.charCodeAt(a.length-1)||0)%t}var tt={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 at=["user","avatarUrl","size","className","colorList","exceptionallySetClassName"],lt=["#fcc652","#e9952c","#e16b2d","#d84b40","#e8435a","#e5198a","#ad3889","#86389c","#a8a8a8","#98be2f","#5d9d50","#5f9f85","#5bbcb6","#32a3bf","#2bafeb","#2d88c3","#3863cc","#5e5e5e"];function nt(e){let{user:a,avatarUrl:l,size:n="l",className:r,colorList:i=lt,exceptionallySetClassName:o}=e,s=v(e,at);const c=Qe(a.name)||Qe(a.email),d=n||"l",m=l?{backgroundImage:"url("+l+")",textIndent:"-9999px"}:{backgroundColor:i[et(a.email,i.length)]},u=C(tt,"size",d);return t.createElement(T,_({className:[r,tt.avatar,u,o],style:m},s),c)}nt.displayName="Avatar";var rt={badge:"_1eb9b834","badge-neutral":"e02d9b99","badge-positive":"_0243fb89","badge-color":"_85c0ffa3"};const it=["variant","children","exceptionallySetClassName"],ot=E((function(e,a){let{variant:l="neutral",children:n,exceptionallySetClassName:r}=e,i=v(e,it);return t.createElement(T,_(_({},i),{},{ref:a,display:"inline",className:[rt.badge,rt["badge-"+l],r]}),n)}));var st={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 ct=["isOpen","onDismiss","height","width","exceptionallySetClassName","exceptionallySetOverlayClassName","autoFocus","hideOnEscape","hideOnInteractOutside","children","portalElement"],dt=["children","button","withDivider","exceptionallySetClassName"],mt=["exceptionallySetClassName","children"],ut=["exceptionallySetClassName","withDivider"],pt=["children"],ft=t.createContext({onDismiss:void 0,height:"fitContent"});function gt(e){return!(e.ownerDocument===document&&"iframe"===e.tagName.toLowerCase())}function bt(e){const{onDismiss:a}=t.useContext(ft),[l,n]=t.useState(!1),[r,i]=t.useState(!1);return t.useEffect((function(){r?n(!0):i(!0)}),[r]),t.createElement(te,_(_({},e),{},{variant:"quaternary",onClick:a,icon:t.createElement(re,null),tabIndex:l?0:-1}))}function ht(e){let{exceptionallySetClassName:a,withDivider:l=!1}=e,n=v(e,ut);return t.createElement(t.Fragment,null,l?t.createElement(P,null):null,t.createElement(T,_(_({as:"footer"},n),{},{className:a,padding:"large"})))}function xt(e){const a=t.useRef(null);return t.useEffect(()=>{a.current=e},[e]),a.current}var _t={tab:"e96bf360",track:"_430e252d","tab-neutral":"f631ccbe","tab-themed":"_6ba96acc","track-neutral":"ef4cd8d3","track-themed":"_344b3b10"};const yt=["as","children","id","exceptionallySetClassName"],vt=["children","space"],Et=["children","id","as","render"],Ct=t.createContext(null),wt=E((function(e,a){let{as:n,children:r,id:i,exceptionallySetClassName:o}=e,s=v(e,yt);const c=t.useContext(Ct);if(!c)return null;const{variant:d,tabState:m}=c;return t.createElement(u.Tab,_(_({},s),{},{as:n,className:l(o,_t.tab,_t["tab-"+d]),id:i,state:m,ref:a}),r)})),kt=E((function(e,a){let{children:l,id:n,as:r,render:i="always"}=e,o=v(e,Et);const s=t.useContext(Ct),[c,d]=t.useState(!1),m=(null==s?void 0:s.tabState.selectedId)===n;if(t.useEffect((function(){!c&&m&&d(!0)}),[c,m]),!s)return null;const{tabState:p}=s;return"always"===i||"active"===i&&m||"lazy"===i&&(m||c)?t.createElement(u.TabPanel,_(_({tabId:n},o),{},{state:p,as:r,ref:a}),l):null})),Nt=["type","variant","size","loading","disabled","tooltip","onClick","children"],St=t.forwardRef((function(e,a){let{type:n="button",variant:r,size:i="default",loading:o=!1,disabled:s=!1,tooltip:c,onClick:d,children:m}=e,u=v(e,Nt);const p=l("reactist_button",r?"reactist_button--"+r:null,"default"!==i?"reactist_button--"+i:null,{"reactist_button--loading":o},u.className),f=t.createElement("button",_(_({},u),{},{ref:a,type:n,className:p,"aria-disabled":s||o,onClick:s||o?void 0:d}),m);return c?t.createElement(V,{content:c},f):f}));St.displayName="Button",St.defaultProps={size:"default",loading:!1,disabled:!1};const Rt=["children","onClick","tooltip","className"];class Lt extends t.Component{constructor(e,t){super(e,t),this._timeout=void 0,this._handleClickOutside=e=>{const t=p.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=p.findDOMNode(this);if(!a)return;const l=p.findDOMNode(this).offsetTop,n=a.querySelector(".trigger");if(!n)return;const r=t.clientHeight+t.scrollTop-l-n.clientHeight<e.clientHeight;r!==this.state.top&&this.setState({top:r})}}},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:a=!1,children:n}=this.props,r={top:e,right:a,setPosition:this._setPosition},i=l({body_wrapper:!0,with_arrow:!0,top:e,bottom:!e}),o=null==n?void 0:n[1],s="function"==typeof o?o(r):o?t.cloneElement(o,r):void 0;return t.createElement("div",{className:i,style:{position:"relative"}},s)}render(){const e=l("reactist_dropdown",this.props.className),{top:a}=this.state;return t.createElement("div",{style:{display:"inline-block"},className:e,"data-testid":"reactist-dropdown-box"},a&&this._getBodyComponent(),this._getTriggerComponent(),!a&&this._getBodyComponent())}}Lt.displayName=void 0,Lt.displayName="Dropdown.Box";const Bt=t.forwardRef((function(e,a){let{children:n,onClick:r,tooltip:i,className:o}=e,s=v(e,Rt);return t.createElement(St,_(_({},s),{},{className:l("trigger",o),onClick:function(e){e.preventDefault(),e.stopPropagation(),r&&r(e)},tooltip:i,ref:a}),n)}));function Tt({top:e,right:a,children:l,setPosition:n}){const r={position:"absolute",right:0,top:0};return e&&(r.top="auto",r.bottom=0),a&&(r.right="auto",r.left=0),t.createElement("div",{ref:n,style:r,className:"body",id:"reactist-dropdown-body","data-testid":"reactist-dropdown-body"},l)}Bt.displayName="Dropdown.Trigger",Tt.displayName="Dropdown.Body";const At={Box:Lt,Trigger:Bt,Body:Tt},zt=["#606060","#4A90E2","#03B3B2","#008299","#82BA00","#D24726","#AC193D","#DC4FAD","#3BD5FB","#74E8D3","#FFCC00","#FB886E","#CCCCCC"],Dt=e=>"string"!=typeof e;function It({color:e=0,small:a,onChange:n,colorList:r=zt}){return t.createElement(At.Box,{right:!0,className:"reactist_color_picker"},t.createElement(At.Trigger,null,(()=>{const n=((e,t)=>e[t>=e.length?0:t])(r,e);return t.createElement("span",{className:l("color_trigger",{small:a}),style:{backgroundColor:Dt(n)?n.color:n}},t.createElement("span",{className:"color_trigger--inner_ring"}))})()),t.createElement(At.Body,null,t.createElement("div",{className:"color_options"},r.reduce((a,l,i)=>(a.push(t.createElement(Ot,{isActive:e>=r.length?0===i:i===e,key:i,color:Dt(l)?l.color:l,colorIndex:i,onClick:n,tooltip:Dt(l)?l.name:null})),a),[]))))}function Ot({color:e,colorIndex:a,isActive:l,onClick:n,tooltip:r}){const i=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 r?t.createElement(V,{content:r},i):i}It.displayName="ColorPicker",Ot.displayName="ColorItem";const Mt=["children","className","translateKey","isMac"];let Ft=e=>e;function Pt(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 Wt(e){var a,n;let{children:r,className:i,translateKey:o=Ft,isMac:s=null!=(a=null==(n=navigator.platform)?void 0:n.toUpperCase().includes("MAC"))&&a}=e,c=v(e,Mt);const d="string"==typeof r?[r]:r;return t.createElement("span",_({className:l("reactist_keyboard_shortcut",i,{"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?Pt: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))))))}Wt.setTranslateKey=e=>{Ft=e};const jt={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}}},Ht={ArrowUp:"onArrowUp",ArrowDown:"onArrowDown",ArrowLeft:"onArrowLeft",ArrowRight:"onArrowRight",Enter:"onEnter",Backspace:"onBackspace",Escape:"onEscape"},Yt={ArrowUp:"propagateArrowUp",ArrowDown:"propagateArrowDown",ArrowLeft:"propagateArrowLeft",ArrowRight:"propagateArrowRight",Enter:"propagateEnter",Backspace:"propagateBackspace",Escape:"propagateEscape"};function Ut({fillPercentage:e=0,className:a,"aria-valuetext":n}){const r=l("reactist_progress_bar",a),i=e<0?0:e>100?100:e;return t.createElement("div",{className:r},t.createElement("div",{className:"inner",style:{width:i+"%"}}),t.createElement(K,null,t.createElement("progress",{value:i,max:100,"aria-valuetext":null!=n?n:void 0})))}Ut.displayName="ProgressBar",f.extend(g);const qt={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:r="d",hoursSuffix:i="h",minutesSuffix:o="m",momentsAgo:s="moments ago"}=t,c=f(),d=f(1e3*e);d.locale(a);const m=c.diff(d,"minute"),u=c.diff(d,"hour"),p=c.diff(d,"day");return p>1?d.isSame(c,"year")?d.format(l):d.format(n):1===p?""+p+r:u>0&&u<=23?""+u+i: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,r=f(1e3*e);return r.locale(a),r.isSame(f(),"year")?r.format(l):r.format(n)},formatTimeLong(e,t={}){const{locale:a="en",longFormat:l=this.LONG_FORMAT}=t,n=f(1e3*e);return n.locale(a),n.format(l)}};class Kt 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:r}=t;n===a&&r===l||this.setState(()=>({hovered:e,mouseX:n,mouseY:r}))}_renderTime(e){if(this.props.time){if(this.state.hovered){if(this.props.expandFullyOnHover&&!this.props.tooltipOnHover)return qt.formatTimeLong(this.props.time,e);if(this.props.expandOnHover&&!this.props.tooltipOnHover)return qt.formatTime(this.props.time,e)}return qt.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(V,{content:this.props.tooltip||this.props.time&&qt.formatTimeLong(this.props.time,this.props.config)},t.createElement("span",null,a)):a)}}Kt.displayName=void 0,Kt.defaultProps=void 0,Kt.displayName="Time",Kt.defaultProps={expandOnHover:!1,expandFullyOnHover:!1,tooltipOnHover:!1,refresh:!0,config:{locale:"en",daysSuffix:"d",hoursSuffix:"h",minutesSuffix:"m",momentsAgo:"moments ago"}};const Gt=["children","onItemSelect"],Vt=["exceptionallySetClassName"],Xt=["as"],Zt=["exceptionallySetClassName"],$t=["value","children","onSelect","hideOnSelect","onClick","exceptionallySetClassName","as"],Jt=["label","children","exceptionallySetClassName"],Qt=t.createContext({});function ea(e){let{children:a,onItemSelect:l}=e,n=v(e,Gt);const[r,i]=t.useState(null),o=t.useMemo(()=>r?()=>r:void 0,[r]),s=b.useMenuState(_({focusLoop:!0,gutter:8,shift:4,getAnchorRect:o},n)),c=t.useCallback((function(e){l&&l(e)}),[l]),d=t.useMemo(()=>({state:s,handleItemSelect:c,handleAnchorRectChange:i}),[s,c]);return t.createElement(Qt.Provider,{value:d},a)}const ta=E((function(e,a){let{exceptionallySetClassName:n}=e,r=v(e,Vt);const{state:i}=t.useContext(Qt);return t.createElement(b.MenuButton,_(_({},r),{},{state:i,ref:a,className:l("reactist_menubutton",n)}))})),aa=E((function(e,a){let{as:l="div"}=e,n=v(e,Xt);const{handleAnchorRectChange:r,state:i}=t.useContext(Qt),o=t.useCallback(e=>{e.preventDefault(),r({x:e.clientX,y:e.clientY}),i.show()},[r,i]);return t.createElement(l,_(_({},n),{},{onContextMenu:o,ref:a}))})),la=E((function(e,a){let{exceptionallySetClassName:n}=e,r=v(e,Zt);const{state:o}=t.useContext(Qt);return o.visible?t.createElement(i.Portal,{preserveTabOrder:!0},t.createElement(b.Menu,_(_({},r),{},{state:o,ref:a,className:l("reactist_menulist",n)}))):null})),na=E((function(e,a){let{value:l,children:n,onSelect:r,hideOnSelect:i=!0,onClick:o,exceptionallySetClassName:s,as:c="button"}=e,d=v(e,$t);const{handleItemSelect:m,state:u}=t.useContext(Qt),{hide:p}=u,f=t.useCallback((function(e){null==o||o(e);const t=!1!==(r&&!e.defaultPrevented?r():void 0)&&i;m(l),t&&p()}),[r,o,m,i,p,l]);return t.createElement(b.MenuItem,_(_({},d),{},{as:c,state:u,ref:a,onClick:f,className:s,hideOnClick:!1}),n)})),ra=t.forwardRef((function({children:e,onItemSelect:a},l){const{handleItemSelect:n,state:r}=t.useContext(Qt),{hide:i}=r,o=t.useCallback((function(e){a&&a(e),n(e),i()}),[i,n,a]),[s,c]=t.Children.toArray(e),d=t.useCallback((function(e){return t.cloneElement(s,e)}),[s]);return t.createElement(ea,{onItemSelect:o},t.createElement(b.MenuItem,{as:"div",state:r,ref:l,hideOnClick:!1},d),c)})),ia=E((function(e,a){let{label:l,children:n,exceptionallySetClassName:r}=e,i=v(e,Jt);const{state:o}=t.useContext(Qt);return t.createElement(b.MenuGroup,_(_({},i),{},{ref:a,state:o,className:r}),l?t.createElement("div",{role:"presentation",className:"reactist_menugroup__label"},l):null,n)})),oa=t.forwardRef((e,a)=>{const n=l("reactist_input",e.className);return t.createElement("input",_(_({},e),{},{className:n,ref:a}))});oa.displayName="Input";const sa=["value","options","onChange","disabled","className","defaultValue"];function ca(e){let{value:a,options:n=[],onChange:r,disabled:i=!0,className:o="",defaultValue:s}=e,c=v(e,sa);const d=l("reactist_select",{disabled:i},o);return t.createElement("select",_({className:d,value:a,onChange:e=>r?r(e.target.value):void 0,disabled:i,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)))}ca.displayName="Select",ca.defaultProps={options:[],disabled:!1};const da=()=>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"})),ma=["id","icon","title","subtitle","children","customCloseButton","onClick","onClose","closeAltText","className","aria-live"];var ua={"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 pa=["isOpen","onDismiss","height","width","exceptionallySetClassName","autoFocus","children"],fa=["children","button","withDivider","exceptionallySetClassName"],ga=["exceptionallySetClassName","children"],ba=["exceptionallySetClassName","withDivider"],ha=["children"],xa=t.createContext({onDismiss:void 0,height:"fitContent"});function _a(e){return!(e.ownerDocument===document&&"iframe"===e.tagName.toLowerCase())}function ya(e){const{onDismiss:a}=t.useContext(xa),[l,n]=t.useState(!1),[r,i]=t.useState(!1);return t.useEffect((function(){r?n(!0):i(!0)}),[r]),t.createElement(te,_(_({},e),{},{variant:"quaternary",onClick:a,icon:t.createElement(re,null),tabIndex:l?0:-1}))}function va(e){let{exceptionallySetClassName:a,withDivider:l=!1}=e,n=v(e,ba);return t.createElement(t.Fragment,null,l?t.createElement(P,null):null,t.createElement(T,_(_({as:"footer"},n),{},{className:a,padding:"large"})))}exports.Alert=function({id:e,children:a,tone:l,closeLabel:n,onClose:r}){return t.createElement(T,{id:e,role:"alert","aria-live":"polite",borderRadius:"standard",className:[ie.container,C(ie,"tone",l)]},t.createElement(O,{space:"small",alignY:"top"},t.createElement(I,{width:"content"},t.createElement(ne,{tone:l})),t.createElement(I,null,t.createElement(T,{paddingY:"xsmall",paddingRight:null!=r&&null!=n?void 0:"small"},a)),null!=r&&null!=n?t.createElement(I,{width:"content"},t.createElement(te,{variant:"quaternary",size:"small",onClick:r,"aria-label":n,icon:t.createElement(re,null),style:{"--reactist-btn-hover-fill":"transparent"}})):null))},exports.Avatar=nt,exports.Badge=ot,exports.Box=T,exports.Button=te,exports.ButtonLink=Re,exports.COLORS=zt,exports.CheckboxField=Ie,exports.ColorPicker=It,exports.Column=I,exports.Columns=O,exports.ContextMenuTrigger=aa,exports.DeprecatedButton=St,exports.DeprecatedDropdown=At,exports.DeprecatedInput=oa,exports.DeprecatedModal=function(e){let{isOpen:a,onDismiss:n,height:r="fitContent",width:i="medium",exceptionallySetClassName:o,autoFocus:s=!0,children:d}=e,m=v(e,pa);const u=t.useMemo(()=>({onDismiss:n,height:r}),[n,r]);return t.createElement(h.DialogOverlay,{isOpen:a,onDismiss:n,dangerouslyBypassFocusLock:!0,className:l(ua.overlay,ua[r],ua[i]),"data-testid":"modal-overlay"},t.createElement(c,{autoFocus:s,whiteList:_a,returnFocus:!0},t.createElement(h.DialogContent,_(_({},m),{},{as:T,borderRadius:"full",background:"default",display:"flex",flexDirection:"column",overflow:"hidden",height:"expand"===r?"full":void 0,flexGrow:"expand"===r?1:0,className:[o,ua.container]}),t.createElement(xa.Provider,{value:u},d))))},exports.DeprecatedModalActions=function(e){let{children:a}=e,l=v(e,ha);return t.createElement(va,_({},l),t.createElement(j,{align:"right",space:"large"},a))},exports.DeprecatedModalBody=function(e){let{exceptionallySetClassName:a,children:l}=e,n=v(e,ga);const{height:r}=t.useContext(xa);return t.createElement(T,_(_({},n),{},{className:a,flexGrow:"expand"===r?1:0,height:"expand"===r?"full":void 0,overflow:"auto"}),t.createElement(T,{padding:"large",paddingBottom:"xxlarge"},l))},exports.DeprecatedModalCloseButton=ya,exports.DeprecatedModalFooter=va,exports.DeprecatedModalHeader=function(e){let{children:a,button:l=!0,withDivider:n=!1,exceptionallySetClassName:r}=e,i=v(e,fa);return t.createElement(t.Fragment,null,t.createElement(T,_(_({},i),{},{as:"header",paddingLeft:"large",paddingRight:!1===l||null===l?"large":"small",paddingY:"small",className:r}),t.createElement(O,{space:"large",alignY:"center"},t.createElement(I,{width:"auto"},a),!1===l||null===l?t.createElement("div",{className:ua.headerContent}):t.createElement(I,{width:"content",exceptionallySetClassName:ua.buttonContainer,"data-testid":"button-container"},"boolean"==typeof l?t.createElement(ya,{"aria-label":"Close modal",autoFocus:!1}):l))),n?t.createElement(P,null):null)},exports.DeprecatedNotification=function(e){let{id:a,icon:n,title:r,subtitle:i,children:o,customCloseButton:s,onClick:c,onClose:d,closeAltText:m="Close",className:u,"aria-live":p="polite"}=e,f=v(e,ma);const g=r?a+"-title":null,b=g?{id:g}:null,h=i?a+"-subtitle":null,x=h?{id:h}:null,y=o?a+"-content":null,E=y?{"aria-labelledby":y}:g?{"aria-labelledby":g}:null,C=h&&!o?{"aria-describedby":h}:null,w=t.createElement("div",_({className:"reactist-notification__content"},o?{id:a+"-content"}:null),null!=o?o:t.createElement(t.Fragment,null,r?t.createElement("h3",_({className:"reactist-notification__title"},b),r):null,i?t.createElement("p",_({className:"reactist-notification__subtitle"},x),i):null)),k=t.createElement("div",{className:"reactist-notification__icon-content-group"},null!=n?n:null,w);return t.createElement("div",_(_(_({id:a,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?t.createElement("button",{className:"reactist-notification__button",onClick:c},k):k,d?t.createElement("button",{className:"reactist-notification__close-button",onClick:d,"aria-label":m},null!=s?s:t.createElement(da,null)):null)},exports.DeprecatedSelect=ca,exports.Divider=P,exports.Heading=Ne,exports.Hidden=q,exports.HiddenVisually=K,exports.Inline=j,exports.KeyCapturer=function(e){const{children:a,eventName:l="onKeyDown"}=e,n=t.useRef(!1);return t.cloneElement(a,_({[l]:function(t){const a=void 0!==t.key?jt.resolveByKey(t.key):jt.resolveByKeyCode(t.keyCode);if(!a)return;const l=e[Yt[a]]||!1,r=e[Ht[a]];"Enter"===a&&r&&(n.current||229===(t.keyCode||t.which))||r&&(r(t),l||(t.preventDefault(),t.stopPropagation()))}},e.onEnter?{onCompositionStart:()=>{n.current=!0},onCompositionEnd:()=>{n.current=!1}}:void 0))},exports.KeyboardShortcut=Wt,exports.Loading=function(e){var a;let{size:l="small",exceptionallySetClassName:n}=e,r=v(e,oe);const i=null!=(a=se[l])?a:se.small,o=r["aria-label"]?r["aria-label"]:r["aria-labelledby"]?void 0:"Loading…";return t.createElement(T,_(_({},r),{},{"aria-label":o,className:n,display:"flex",alignItems:"center",justifyContent:"center",role:"progressbar"}),t.createElement(X,{size:i,"aria-hidden":!0}))},exports.Menu=ea,exports.MenuButton=ta,exports.MenuGroup=ia,exports.MenuItem=na,exports.MenuList=la,exports.Modal=function(e){let{isOpen:a,onDismiss:n,height:r="fitContent",width:o="medium",exceptionallySetClassName:s,exceptionallySetOverlayClassName:u,autoFocus:p=!0,hideOnEscape:f=!0,hideOnInteractOutside:g=!0,children:b,portalElement:h}=e,x=v(e,ct);const y=t.useCallback(e=>{e||null==n||n()},[n]),E=m.useDialogState({visible:a,setVisible:y}),C=t.useMemo(()=>({onDismiss:n,height:r}),[n,r]),w=t.useRef(null),k=t.useRef(null),N=t.useRef(null),S=t.useCallback(e=>{var t,a;null!=(t=k.current)&&t.contains(e.target)||null==(a=N.current)||!a.contains(e.target)||(e.stopPropagation(),null==n||n())},[n]);return t.useLayoutEffect((function(){if(a&&w.current)return d.hideOthers(w.current)}),[a]),a?t.createElement(i.Portal,{portalRef:w,portalElement:h},t.createElement(T,{"data-testid":"modal-overlay","data-overlay":!0,className:l(st.overlay,st[r],st[o],u),onPointerDown:g?S:void 0,ref:N},t.createElement(c,{autoFocus:p,whiteList:gt,returnFocus:!0},t.createElement(m.Dialog,_(_({},x),{},{ref:k,as:T,state:E,hideOnEscape:f,preventBodyScroll:!0,borderRadius:"full",background:"default",display:"flex",flexDirection:"column",overflow:"hidden",height:"expand"===r?"full":void 0,flexGrow:"expand"===r?1:0,className:[s,st.container],modal:!1,autoFocus:!1,autoFocusOnShow:!1,autoFocusOnHide:!1,portal:!1,backdrop:!1,hideOnInteractOutside:!1}),t.createElement(ft.Provider,{value:C},b))))):null},exports.ModalActions=function(e){let{children:a}=e,l=v(e,pt);return t.createElement(ht,_({},l),t.createElement(j,{align:"right",space:"large"},a))},exports.ModalBody=function(e){let{exceptionallySetClassName:a,children:l}=e,n=v(e,mt);const{height:r}=t.useContext(ft);return t.createElement(T,_(_({},n),{},{className:a,flexGrow:"expand"===r?1:0,height:"expand"===r?"full":void 0,overflow:"auto"}),t.createElement(T,{padding:"large",paddingBottom:"xxlarge"},l))},exports.ModalCloseButton=bt,exports.ModalFooter=ht,exports.ModalHeader=function(e){let{children:a,button:l=!0,withDivider:n=!1,exceptionallySetClassName:r}=e,i=v(e,dt);return t.createElement(t.Fragment,null,t.createElement(T,_(_({},i),{},{as:"header",paddingLeft:"large",paddingRight:!1===l||null===l?"large":"small",paddingY:"small",className:r}),t.createElement(O,{space:"large",alignY:"center"},t.createElement(I,{width:"auto"},a),!1===l||null===l?t.createElement("div",{className:st.headerContent}):t.createElement(I,{width:"content",exceptionallySetClassName:st.buttonContainer,"data-testid":"button-container"},"boolean"==typeof l?t.createElement(bt,{"aria-label":"Close modal",autoFocus:!1}):l))),n?t.createElement(P,null):null)},exports.Notice=function({id:e,children:a,tone:l}){return t.createElement(T,{id:e,role:"alert","aria-live":"polite",className:[ce.container,C(ce,"tone",l)]},t.createElement(O,{space:"small",alignY:"top"},t.createElement(I,{width:"content"},t.createElement(ne,{tone:l})),t.createElement(I,null,t.createElement(T,{paddingY:"xsmall"},a))))},exports.PasswordField=Ye,exports.ProgressBar=Ut,exports.SUPPORTED_KEYS={ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ENTER:"Enter",BACKSPACE:"Backspace",ESCAPE:"Escape"},exports.SelectField=qe,exports.Stack=Y,exports.StaticToast=fe,exports.SubMenu=ra,exports.SwitchField=Ve,exports.Tab=wt,exports.TabAwareSlot=function({children:e}){const a=t.useContext(Ct);return a?e({selectedId:null==a?void 0:a.tabState.selectedId}):null},exports.TabList=function(e){let{children:a,space:l="xsmall"}=e,n=v(e,vt);const r=t.useContext(Ct);if(!r)return null;const{tabState:i,variant:o}=r;return t.createElement(T,null,t.createElement(u.TabList,_({state:i,as:T,position:"relative",width:"maxContent"},n),t.createElement(T,{className:[_t.track,_t["track-"+o]]}),t.createElement(j,{space:l},a)))},exports.TabPanel=kt,exports.Tabs=function({children:e,selectedId:a,defaultSelectedId:l,variant:n="neutral",onSelectedIdChange:r}){const i=u.useTabState({selectedId:a,setSelectedId:r}),o=xt(l),{selectedId:s,select:c}=i;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:i,variant:n}}),[n,i]);return t.createElement(Ct.Provider,{value:d},e)},exports.Text=ue,exports.TextArea=Ze,exports.TextField=Je,exports.TextLink=Be,exports.Time=Kt,exports.Toast=function(e){const t=Ce(),l=a.useRef(e);return a.useEffect(()=>t(l.current),[t]),null},exports.ToastsProvider=function({children:e,padding:l="large",defaultAutoDismissDelay:n=10,defaultDismissLabel:r="Close"}){const[o,s]=a.useState([]),{mappedRef:c,animateRemove:d}=function(){const e=t.useMemo(()=>new Map,[]),a=t.useMemo(()=>new Map,[]);t.useLayoutEffect(()=>{const t=[];Array.from(e.entries()).forEach(([l,n])=>{if(!n)return void e.delete(l);const r=a.get(l),{top:i,height:o}=n.getBoundingClientRect();"number"==typeof r&&r!==i?t.push({element:n,transition:"transform 0.3s ease, opacity 0.3s ease",transforms:[{property:"transform",from:"translateY("+(r-i)+"px)"}]}):"number"!=typeof r&&t.push({element:n,transition:"transform 0.3s ease, opacity 0.3s ease",transforms:[{property:"transform",from:"translateY("+o+"px)"},{property:"opacity",from:"0"}]}),a.set(l,n.getBoundingClientRect().top)}),t.forEach(({element:e,transforms:t,transition:a})=>{_e({element:e,transforms:t,transition:a})})});const l=t.useCallback((function(t,a){const l=e.get(t);l&&_e({element:l,transforms:[{property:"opacity",to:"0"}],transition:"opacity 0.2s ease",done:a})}),[e]);return{mappedRef:t.useCallback(t=>a=>{e.set(t,a)},[e]),animateRemove:l}}(),m=a.useCallback((function(e){d(e,()=>{s(t=>{const a=t.findIndex(t=>t.toastId===e);if(a<0)return t;const l=[...t];return l.splice(a,1),l})})}),[d]),u=a.useCallback((function(e){const t=he("toast"),a=_(_({autoDismissDelay:n,dismissLabel:r},e),{},{toastId:t});return s(e=>[...e,a]),()=>m(t)}),[n,r,m]);return a.createElement(Ee.Provider,{value:u},e,a.createElement(i.Portal,null,0===o.length?null:a.createElement(T,{className:"_8e9f0a55",position:"fixed",width:"full",paddingX:l,paddingBottom:l},a.createElement(Y,{space:"medium"},o.map(e=>{let{toastId:t}=e,l=v(e,ye);return a.createElement(ve,_({key:t,ref:c(t),toastId:t,onRemoveToast:m},l))})))))},exports.Tooltip=V,exports.usePrevious=xt,exports.useToasts=Ce;
|
|
2
2
|
//# sourceMappingURL=reactist.cjs.production.min.js.map
|