diff --git a/CHANGELOG.md b/CHANGELOG.md index b87ded5a..6a945c09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [0.15.2] +### Fixed +- Add css variable to set top and right position on modal page + ## [0.15.1] ### Chore - Revert `externals` diff --git a/build/Icon-f3bf8835.js b/build/Icon-c7fd6f18.js similarity index 99% rename from build/Icon-f3bf8835.js rename to build/Icon-c7fd6f18.js index 760ea9a5..14611fe9 100644 --- a/build/Icon-f3bf8835.js +++ b/build/Icon-c7fd6f18.js @@ -1 +1 @@ -import e,{createContext as n,useContext as t,useCallback as r}from"react";import{j as o,k as a,c as i}from"./core.esm-a8712816.js";import{t as l,x as c,a7 as u,a8 as s,a9 as f}from"./math-dfd2e461.js";import{g as p}from"./_commonjsHelpers-6e998e78.js";import d from"styled-components";import m from"crypto";function h(o){var a=function(e,n){return e(n)},i=n(o);return{Consumer:function(n){var r=n.children,o=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);oW)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");W=c,R=u,z=i;var f=(1e4*(268435455&(c+=122192928e5))+u)%4294967296;o[r++]=f>>>24&255,o[r++]=f>>>16&255,o[r++]=f>>>8&255,o[r++]=255&f;var p=c/4294967296*1e4&268435455;o[r++]=p>>>8&255,o[r++]=255&p,o[r++]=p>>>24&15|16,o[r++]=p>>>16&255,o[r++]=i>>>8|128,o[r++]=255&i;for(var d=0;d<6;++d)o[r+d]=a[d];return n||M(o)},A=P,q=T;var B=function(e,n,t){var r=n&&t||0;"string"==typeof e&&(n="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||A)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,n)for(var a=0;a<16;++a)n[r+a]=o[a];return n||q(o)},F=G,H=B,$=H;$.v1=F,$.v4=H;var L=$,V={},J=function(e,n){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},J(e,n)};var K=function(){return K=Object.assign||function(e){for(var n,t=1,r=arguments.length;t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Q(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,o,a=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}return i}function U(e){return this instanceof U?(this.v=e,this):new U(e)}var X=Object.freeze({__proto__:null,__extends:function(e,n){function t(){this.constructor=e}J(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)},get __assign(){return K},__rest:function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0;l--)(o=e[l])&&(i=(a<3?o(i):a>3?o(n,t,i):o(n,t))||i);return a>3&&i&&Object.defineProperty(n,t,i),i},__param:function(e,n){return function(t,r){n(t,r,e)}},__metadata:function(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)},__awaiter:function(e,n,t,r){return new(t||(t=Promise))((function(o,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function l(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}c((r=r.apply(e,n||[])).next())}))},__generator:function(e,n){var t,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]1||l(e,n)}))})}function l(e,n){try{(t=o[e](n)).value instanceof U?Promise.resolve(t.value.v).then(c,u):s(a[0][2],t)}catch(e){s(a[0][3],e)}var t}function c(e){l("next",e)}function u(e){l("throw",e)}function s(e,n){e(n),a.shift(),a.length&&l(a[0][0],a[0][1])}},__asyncDelegator:function(e){var n,t;return n={},r("next"),r("throw",(function(e){throw e})),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,o){n[r]=e[r]?function(n){return(t=!t)?{value:U(e[r](n)),done:"return"===r}:o?o(n):n}:o}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=N(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise((function(r,o){(function(e,n,t,r){Promise.resolve(r).then((function(n){e({value:n,done:t})}),n)})(r,o,(n=e[t](n)).done,n.value)}))}}},__makeTemplateObject:function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},__importStar:function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)},__classPrivateFieldSet:function(e,n,t){if(!n.has(e))throw new TypeError("attempted to set private field on non-instance");return n.set(e,t),t}}),Y=p(X),Z=p(f),ee={};Object.defineProperty(ee,"__esModule",{value:!0}),ee.sizes={small:"16px",medium:"24px",large:"32px",xlarge:"48px"},ee.sizeMap={small:"small",medium:"medium",large:"large",xlarge:"xlarge"},function(n){Object.defineProperty(n,"__esModule",{value:!0});var t=Y,r=t.__importDefault(e),o=t.__importDefault(d),a=t.__importDefault(L),i=Z,l=ee,c=function(e){var n=e.size;return n?"height: "+l.sizes[n]+"; width: "+l.sizes[n]+";":null};n.IconWrapper=o.default.span(u||(u=t.__makeTemplateObject(["\n ",";\n color: ",";\n display: inline-block;\n fill: ",";\n flex-shrink: 0;\n line-height: 1;\n\n > svg {\n ",";\n max-height: 100%;\n max-width: 100%;\n overflow: hidden;\n pointer-events: none;\n vertical-align: bottom;\n }\n\n /**\n * Stop-color doesn't properly apply in chrome when the inherited/current color changes.\n * We have to initially set stop-color to inherit (either via DOM attribute or an initial CSS\n * rule) and then override it with currentColor for the color changes to be picked up.\n */\n stop {\n stop-color: currentColor;\n }\n"],["\n ",";\n color: ",";\n display: inline-block;\n fill: ",";\n flex-shrink: 0;\n line-height: 1;\n\n > svg {\n ",";\n max-height: 100%;\n max-width: 100%;\n overflow: hidden;\n pointer-events: none;\n vertical-align: bottom;\n }\n\n /**\n * Stop-color doesn't properly apply in chrome when the inherited/current color changes.\n * We have to initially set stop-color to inherit (either via DOM attribute or an initial CSS\n * rule) and then override it with currentColor for the color changes to be picked up.\n */\n stop {\n stop-color: currentColor;\n }\n"])),c,(function(e){return e.primaryColor||"currentColor"}),(function(e){return e.secondaryColor||i.background}),c);var u;n.default=function(e){var o,i,l=e.glyph,c=e.dangerouslySetGlyph,u=e.primaryColor,s=e.secondaryColor,f=e.size,p=e.testId,d=e.label,m=c?{dangerouslySetInnerHTML:{__html:(o=c,i=a.default(),o.replace(/id="([^"]+)-idPlaceholder"/g,"id=$1-"+i).replace(/fill="url\(#([^"]+)-idPlaceholder\)"/g,'fill="url(#$1-'+i+')"'))}}:{children:l?r.default.createElement(l,{role:"presentation"}):null};return r.default.createElement(n.IconWrapper,t.__assign({primaryColor:u,secondaryColor:s,size:f,"data-testid":p,role:d?"img":"presentation","aria-label":d||void 0},m))}}(V);export{y as G,V as I,S,h as c,L as u}; +import e,{createContext as n,useContext as t,useCallback as r}from"react";import{j as o,k as a,c as i}from"./core.esm-a8712816.js";import{t as l,x as c,a7 as u,a8 as s,a9 as f}from"./math-596b1fa5.js";import{g as p}from"./_commonjsHelpers-6e998e78.js";import d from"styled-components";import m from"crypto";function h(o){var a=function(e,n){return e(n)},i=n(o);return{Consumer:function(n){var r=n.children,o=function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);oW)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");W=c,R=u,z=i;var f=(1e4*(268435455&(c+=122192928e5))+u)%4294967296;o[r++]=f>>>24&255,o[r++]=f>>>16&255,o[r++]=f>>>8&255,o[r++]=255&f;var p=c/4294967296*1e4&268435455;o[r++]=p>>>8&255,o[r++]=255&p,o[r++]=p>>>24&15|16,o[r++]=p>>>16&255,o[r++]=i>>>8|128,o[r++]=255&i;for(var d=0;d<6;++d)o[r+d]=a[d];return n||M(o)},A=P,q=T;var B=function(e,n,t){var r=n&&t||0;"string"==typeof e&&(n="binary"===e?new Array(16):null,e=null);var o=(e=e||{}).random||(e.rng||A)();if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,n)for(var a=0;a<16;++a)n[r+a]=o[a];return n||q(o)},F=G,H=B,$=H;$.v1=F,$.v4=H;var L=$,V={},J=function(e,n){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])},J(e,n)};var K=function(){return K=Object.assign||function(e){for(var n,t=1,r=arguments.length;t=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Q(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var r,o,a=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(r=a.next()).done;)i.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(t=a.return)&&t.call(a)}finally{if(o)throw o.error}}return i}function U(e){return this instanceof U?(this.v=e,this):new U(e)}var X=Object.freeze({__proto__:null,__extends:function(e,n){function t(){this.constructor=e}J(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)},get __assign(){return K},__rest:function(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0;l--)(o=e[l])&&(i=(a<3?o(i):a>3?o(n,t,i):o(n,t))||i);return a>3&&i&&Object.defineProperty(n,t,i),i},__param:function(e,n){return function(t,r){n(t,r,e)}},__metadata:function(e,n){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,n)},__awaiter:function(e,n,t,r){return new(t||(t=Promise))((function(o,a){function i(e){try{c(r.next(e))}catch(e){a(e)}}function l(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,l)}c((r=r.apply(e,n||[])).next())}))},__generator:function(e,n){var t,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;i;)try{if(t=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]1||l(e,n)}))})}function l(e,n){try{(t=o[e](n)).value instanceof U?Promise.resolve(t.value.v).then(c,u):s(a[0][2],t)}catch(e){s(a[0][3],e)}var t}function c(e){l("next",e)}function u(e){l("throw",e)}function s(e,n){e(n),a.shift(),a.length&&l(a[0][0],a[0][1])}},__asyncDelegator:function(e){var n,t;return n={},r("next"),r("throw",(function(e){throw e})),r("return"),n[Symbol.iterator]=function(){return this},n;function r(r,o){n[r]=e[r]?function(n){return(t=!t)?{value:U(e[r](n)),done:"return"===r}:o?o(n):n}:o}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,t=e[Symbol.asyncIterator];return t?t.call(e):(e=N(e),n={},r("next"),r("throw"),r("return"),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise((function(r,o){(function(e,n,t,r){Promise.resolve(r).then((function(n){e({value:n,done:t})}),n)})(r,o,(n=e[t](n)).done,n.value)}))}}},__makeTemplateObject:function(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e},__importStar:function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)},__classPrivateFieldSet:function(e,n,t){if(!n.has(e))throw new TypeError("attempted to set private field on non-instance");return n.set(e,t),t}}),Y=p(X),Z=p(f),ee={};Object.defineProperty(ee,"__esModule",{value:!0}),ee.sizes={small:"16px",medium:"24px",large:"32px",xlarge:"48px"},ee.sizeMap={small:"small",medium:"medium",large:"large",xlarge:"xlarge"},function(n){Object.defineProperty(n,"__esModule",{value:!0});var t=Y,r=t.__importDefault(e),o=t.__importDefault(d),a=t.__importDefault(L),i=Z,l=ee,c=function(e){var n=e.size;return n?"height: "+l.sizes[n]+"; width: "+l.sizes[n]+";":null};n.IconWrapper=o.default.span(u||(u=t.__makeTemplateObject(["\n ",";\n color: ",";\n display: inline-block;\n fill: ",";\n flex-shrink: 0;\n line-height: 1;\n\n > svg {\n ",";\n max-height: 100%;\n max-width: 100%;\n overflow: hidden;\n pointer-events: none;\n vertical-align: bottom;\n }\n\n /**\n * Stop-color doesn't properly apply in chrome when the inherited/current color changes.\n * We have to initially set stop-color to inherit (either via DOM attribute or an initial CSS\n * rule) and then override it with currentColor for the color changes to be picked up.\n */\n stop {\n stop-color: currentColor;\n }\n"],["\n ",";\n color: ",";\n display: inline-block;\n fill: ",";\n flex-shrink: 0;\n line-height: 1;\n\n > svg {\n ",";\n max-height: 100%;\n max-width: 100%;\n overflow: hidden;\n pointer-events: none;\n vertical-align: bottom;\n }\n\n /**\n * Stop-color doesn't properly apply in chrome when the inherited/current color changes.\n * We have to initially set stop-color to inherit (either via DOM attribute or an initial CSS\n * rule) and then override it with currentColor for the color changes to be picked up.\n */\n stop {\n stop-color: currentColor;\n }\n"])),c,(function(e){return e.primaryColor||"currentColor"}),(function(e){return e.secondaryColor||i.background}),c);var u;n.default=function(e){var o,i,l=e.glyph,c=e.dangerouslySetGlyph,u=e.primaryColor,s=e.secondaryColor,f=e.size,p=e.testId,d=e.label,m=c?{dangerouslySetInnerHTML:{__html:(o=c,i=a.default(),o.replace(/id="([^"]+)-idPlaceholder"/g,"id=$1-"+i).replace(/fill="url\(#([^"]+)-idPlaceholder\)"/g,'fill="url(#$1-'+i+')"'))}}:{children:l?r.default.createElement(l,{role:"presentation"}):null};return r.default.createElement(n.IconWrapper,t.__assign({primaryColor:u,secondaryColor:s,size:f,"data-testid":p,role:d?"img":"presentation","aria-label":d||void 0},m))}}(V);export{y as G,V as I,S,h as c,L as u}; diff --git a/build/Label-e62580a5.js b/build/Label-2f069063.js similarity index 99% rename from build/Label-e62580a5.js rename to build/Label-2f069063.js index 1d5d3032..f3671f9a 100644 --- a/build/Label-e62580a5.js +++ b/build/Label-2f069063.js @@ -1 +1 @@ -import{_ as e}from"./objectWithoutPropertiesLoose-982ef579.js";import{_ as t}from"./objectWithoutProperties-90b89624.js";import{_ as n,a as r,b as o,c as i,e as a,d as c}from"./inherits-d3723d19.js";import{_ as s,a as l}from"./setPrototypeOf-c6ba02e6.js";import*as u from"react";import f,{useContext as d,useRef as p,useEffect as h,Component as m,useCallback as v,useMemo as y,forwardRef as g,createContext as b,memo as x}from"react";import w,{css as O}from"styled-components";import{c as k,g as E}from"./_commonjsHelpers-6e998e78.js";import{c as j,j as D,k as C}from"./core.esm-a8712816.js";import{N as A}from"./index-6f6eab52.js";import{n as F}from"./noop-2d37c277.js";import{_ as P,a as B}from"./get-ae46b391.js";import{P as R}from"./index-d0edc839.js";import{A as _}from"./context-f854a00e.js";import{u as S}from"./use-memo-one.esm-19c0a4a5.js";import{_ as L}from"./slicedToArray-a622878d.js";import{r as I}from"./index-72b69d08.js";var H=u.createContext(),M=u.createContext();function W(e){var t=e.children,n=u.useState(null),r=n[0],o=n[1],i=u.useRef(!1);u.useEffect((function(){return function(){i.current=!0}}),[]);var a=u.useCallback((function(e){i.current||o(e)}),[]);return u.createElement(H.Provider,{value:r},u.createElement(M.Provider,{value:a},t))}var T=function(e){return Array.isArray(e)?e[0]:e},N=function(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r0&&(r=se(n.width)/a||1),i>0&&(o=se(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function ue(e){var t=le(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function fe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&re(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function de(e){return ee(e).getComputedStyle(e)}function pe(e){return["table","td","th"].indexOf($(e))>=0}function he(e){return((te(e)?e.ownerDocument:e.document)||window.document).documentElement}function me(e){return"html"===$(e)?e:e.assignedSlot||e.parentNode||(re(e)?e.host:null)||he(e)}function ve(e){return ne(e)&&"fixed"!==de(e).position?e.offsetParent:null}function ye(e){for(var t=ee(e),n=ve(e);n&&pe(n)&&"static"===de(n).position;)n=ve(n);return n&&("html"===$(n)||"body"===$(n)&&"static"===de(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ne(e)&&"fixed"===de(e).position)return null;var n=me(e);for(re(n)&&(n=n.host);ne(n)&&["html","body"].indexOf($(n))<0;){var r=de(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function ge(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function be(e,t,n){return ae(e,ce(t,n))}function xe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function we(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,c=ie(n.placement),s=ge(c),l=[Y,X].indexOf(c)>=0?"height":"width";if(i&&a){var u=function(e,t){return xe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:we(e,G))}(o.padding,n),f=ue(i),d="y"===s?q:Y,p="y"===s?K:X,h=n.rects.reference[l]+n.rects.reference[s]-a[s]-n.rects.popper[l],m=a[s]-n.rects.reference[s],v=ye(i),y=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,g=h/2-m/2,b=u[d],x=y-f[l]-u[p],w=y/2-f[l]/2+g,O=be(b,w,x),k=s;n.modifiersData[r]=((t={})[k]=O,t.centerOffset=O-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&fe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ke(e){return e.split("-")[1]}var Ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function je(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,c=e.position,s=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=a.x,p=void 0===d?0:d,h=a.y,m=void 0===h?0:h,v="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=Y,x=q,w=window;if(l){var O=ye(n),k="clientHeight",E="clientWidth";if(O===ee(n)&&"static"!==de(O=he(n)).position&&"absolute"===c&&(k="scrollHeight",E="scrollWidth"),O=O,o===q||(o===Y||o===X)&&"end"===i)x=K,m-=(f&&O===w&&w.visualViewport?w.visualViewport.height:O[k])-r.height,m*=s?1:-1;if(o===Y||(o===q||o===K)&&"end"===i)b=X,p-=(f&&O===w&&w.visualViewport?w.visualViewport.width:O[E])-r.width,p*=s?1:-1}var j,D=Object.assign({position:c},l&&Ee),C=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:se(t*r)/r||0,y:se(n*r)/r||0}}({x:p,y:m}):{x:p,y:m};return p=C.x,m=C.y,s?Object.assign({},D,((j={})[x]=g?"0":"",j[b]=y?"0":"",j.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",j)):Object.assign({},D,((t={})[x]=g?m+"px":"",t[b]=y?p+"px":"",t.transform="",t))}var De={passive:!0};var Ce={left:"right",right:"left",bottom:"top",top:"bottom"};function Ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ce[e]}))}var Fe={start:"end",end:"start"};function Pe(e){return e.replace(/start|end/g,(function(e){return Fe[e]}))}function Be(e){var t=ee(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Re(e){return le(he(e)).left+Be(e).scrollLeft}function _e(e){var t=de(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Se(e){return["html","body","#document"].indexOf($(e))>=0?e.ownerDocument.body:ne(e)&&_e(e)?e:Se(me(e))}function Le(e,t){var n;void 0===t&&(t=[]);var r=Se(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=ee(r),a=o?[i].concat(i.visualViewport||[],_e(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(Le(me(a)))}function Ie(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function He(e,t){return"viewport"===t?Ie(function(e){var t=ee(e),n=he(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,c=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,c=r.offsetTop)),{width:o,height:i,x:a+Re(e),y:c}}(e)):te(t)?function(e){var t=le(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ie(function(e){var t,n=he(e),r=Be(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=ae(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ae(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+Re(e),s=-r.scrollTop;return"rtl"===de(o||n).direction&&(c+=ae(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:s}}(he(e)))}function Me(e,t,n){var r="clippingParents"===t?function(e){var t=Le(me(e)),n=["absolute","fixed"].indexOf(de(e).position)>=0&&ne(e)?ye(e):e;return te(n)?t.filter((function(e){return te(e)&&fe(e,n)&&"body"!==$(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=He(e,n);return t.top=ae(r.top,t.top),t.right=ce(r.right,t.right),t.bottom=ce(r.bottom,t.bottom),t.left=ae(r.left,t.left),t}),He(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function We(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?ie(o):null,a=o?ke(o):null,c=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case q:t={x:c,y:n.y-r.height};break;case K:t={x:c,y:n.y+n.height};break;case X:t={x:n.x+n.width,y:s};break;case Y:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var l=i?ge(i):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case"start":t[l]=t[l]-(n[u]/2-r[u]/2);break;case"end":t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}function Te(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,c=n.rootBoundary,s=void 0===c?"viewport":c,l=n.elementContext,u=void 0===l?"popper":l,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,m=xe("number"!=typeof h?h:we(h,G)),v="popper"===u?"reference":"popper",y=e.rects.popper,g=e.elements[d?v:u],b=Me(te(g)?g:g.contextElement||he(e.elements.popper),a,s),x=le(e.elements.reference),w=We({reference:x,element:y,strategy:"absolute",placement:o}),O=Ie(Object.assign({},y,w)),k="popper"===u?O:x,E={top:b.top-k.top+m.top,bottom:k.bottom-b.bottom+m.bottom,left:b.left-k.left+m.left,right:k.right-b.right+m.right},j=e.modifiersData.offset;if("popper"===u&&j){var D=j[o];Object.keys(E).forEach((function(e){var t=[X,K].indexOf(e)>=0?1:-1,n=[q,K].indexOf(e)>=0?"y":"x";E[e]+=D[n]*t}))}return E}function Ne(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,c=n.flipVariations,s=n.allowedAutoPlacements,l=void 0===s?Q:s,u=ke(r),f=u?c?J:J.filter((function(e){return ke(e)===u})):G,d=f.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=Te(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ie(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var Ve={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0===a||a,s=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,y=ie(v),g=s||(y===v||!h?[Ae(v)]:function(e){if("auto"===ie(e))return[];var t=Ae(e);return[Pe(e),t,Pe(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat("auto"===ie(n)?Ne(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,O=new Map,k=!0,E=b[0],j=0;j=0,P=F?"width":"height",B=Te(t,{placement:D,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),R=F?A?X:Y:A?K:q;x[P]>w[P]&&(R=Ae(R));var _=Ae(R),S=[];if(i&&S.push(B[C]<=0),c&&S.push(B[R]<=0,B[_]<=0),S.every((function(e){return e}))){E=D,k=!1;break}O.set(D,S)}if(k)for(var L=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},I=h?3:1;I>0;I--){if("break"===L(I))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ue(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ze(e){return[q,X,K,Y].some((function(t){return e[t]>=0}))}var qe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Q.reduce((function(e,n){return e[n]=function(e,t,n){var r=ie(e),o=[Y,q].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],c=i[1];return a=a||0,c=(c||0)*o,[Y,X].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}(n,t.rects,i),e}),{}),c=a[t.placement],s=c.x,l=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}};var Ke={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0!==a&&a,s=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,v=Te(t,{boundary:s,rootBoundary:l,padding:f,altBoundary:u}),y=ie(t.placement),g=ke(t.placement),b=!g,x=ge(y),w="x"===x?"y":"x",O=t.modifiersData.popperOffsets,k=t.rects.reference,E=t.rects.popper,j="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,D="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(O){if(i){var F,P="y"===x?q:Y,B="y"===x?K:X,R="y"===x?"height":"width",_=O[x],S=_+v[P],L=_-v[B],I=p?-E[R]/2:0,H="start"===g?k[R]:E[R],M="start"===g?-E[R]:-k[R],W=t.elements.arrow,T=p&&W?ue(W):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=N[P],U=N[B],z=be(0,k[R],T[R]),G=b?k[R]/2-I-z-V-D.mainAxis:H-z-V-D.mainAxis,J=b?-k[R]/2+I+z+U+D.mainAxis:M+z+U+D.mainAxis,Q=t.elements.arrow&&ye(t.elements.arrow),Z=Q?"y"===x?Q.clientTop||0:Q.clientLeft||0:0,$=null!=(F=null==C?void 0:C[x])?F:0,ee=_+J-$,te=be(p?ce(S,_+G-$-Z):S,_,p?ae(L,ee):L);O[x]=te,A[x]=te-_}if(c){var ne,re="x"===x?q:Y,oe="x"===x?K:X,se=O[w],le="y"===w?"height":"width",fe=se+v[re],de=se-v[oe],pe=-1!==[q,Y].indexOf(y),he=null!=(ne=null==C?void 0:C[w])?ne:0,me=pe?fe:se-k[le]-E[le]-he+D.altAxis,ve=pe?se+k[le]+E[le]-he-D.altAxis:de,xe=p&&pe?function(e,t,n){var r=be(e,t,n);return r>n?n:r}(me,se,ve):be(p?me:fe,se,p?ve:de);O[w]=xe,A[w]=xe-se}t.modifiersData[r]=A}},requiresIfExists:["offset"]};function Xe(e,t,n){void 0===n&&(n=!1);var r,o,i=ne(t),a=ne(t)&&function(e){var t=e.getBoundingClientRect(),n=se(t.width)/e.offsetWidth||1,r=se(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),c=he(t),s=le(e,a),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==$(t)||_e(c))&&(l=(r=t)!==ee(r)&&ne(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Be(r)),ne(t)?((u=le(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):c&&(u.x=Re(c))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function Ye(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Ge={placement:"bottom",modifiers:[],strategy:"absolute"};function Je(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Ct(),o=n.createAnalyticsEvent,i=p({}),a=y((function(){var n=i.current;return Object.keys(n).filter((function(t){return!(t in e)})).forEach((function(e){return delete n[e]})),Object.keys(e).reduce((function(i,a){var c=e[a];if(!["object","function"].includes(r(c)))return i;var l=t[a];if(a in n&&n[a].eventCreator===c&&n[a].propValue===l)return Ft(Ft({},i),{},s({},a,n[a].wrappedCallback));var u=function(){var e="function"==typeof c?c(o,t):o(c);if(l&&"function"==typeof l){for(var n=arguments.length,r=new Array(n),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};return function(n){var r=g((function(r,o){var i=Pt(t,r).patchedEventProps,a=Ct().createAnalyticsEvent;return f.createElement(n,e({},r,i,{createAnalyticsEvent:a,ref:o}))}));return r.displayName="WithAnalyticsEvents(".concat(n.displayName||n.name,")"),r}},Rt=[{name:"flip",options:{flipVariations:!1,padding:5,boundary:"clippingParents",rootBoundary:"viewport"}},{name:"preventOverflow",options:{padding:5,rootBoundary:"document"}}];function _t(){return null}var St=[0,8];function Lt(e){var t=e.children,n=void 0===t?_t:t,r=e.offset,o=void 0===r?St:r,i=e.placement,a=void 0===i?"bottom-start":i,c=e.referenceElement,s=void 0===c?void 0:c,l=e.modifiers,u=e.strategy,d=void 0===u?"fixed":u,p=L(o,2),h=p[0],m=p[1],v=y((function(){return[].concat(Rt,[{name:"offset",options:{offset:[h,m]}}])}),[h,m]),g=y((function(){return null==l?v:[].concat(P(v),P(l))}),[v,l]);return f.createElement(rt,{modifiers:g,placement:a,strategy:d,referenceElement:s},n)}var It=["light","dark"],Ht=function(){return 14};function Mt(e){if(e&&e.theme){if("__ATLASKIT_THEME__"in e.theme)return e.theme.__ATLASKIT_THEME__;if("mode"in e.theme&&It.includes(e.theme.mode))return e.theme}return{mode:"light"}}function Wt(e,t){if("string"==typeof e)return n=e,r=t,function(e){var t=Mt(e);if(e&&e[n]&&r){var o=r[e[n]];if(o&&o[t.mode]){var i=o[t.mode];if(i)return i}}return""};var n,r,o=e;return function(e){var t=Mt(e);if(t.mode in o){var n=o[t.mode];if(n)return n}return""}}var Tt="#B3D4FF",Nt="#4C9AFF",Vt="#FFFFFF",Ut="#EBECF0",zt="#0E1624",qt=Wt({light:"#FF5630",dark:"#FF5630"}),Kt=Wt({light:"#FFAB00",dark:"#FFAB00"}),Xt=["children"];var Yt=function(e){var n=function(e,t){return e(t)},r=b(e);function o(e){return(d(r)||n)(e)}return{Consumer:function(e){var n=e.children,r=o(t(e,Xt));return f.createElement(f.Fragment,null,n(r))},Provider:function(e){var t=d(r),o=e.value||n,i=v((function(e){return o(t,e)}),[t,o]);return f.createElement(r.Provider,{value:i},e.children)},useTheme:o}}((function(){return{mode:"light"}})),Gt=Yt.useTheme;function Jt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"light";return Bn[e]},_n="16px",Sn="24px",Ln="32px",In="48px",Hn={small:{width:_n,height:_n},medium:{width:Sn,height:Sn},large:{width:Ln,height:Ln},xlarge:{width:In,height:In}};j(Hn.small),j(Hn.medium),j(Hn.large),j(Hn.xlarge);var Mn=function(e){var t=e.width,n=e.height,r=e.size;return t&&n?{width:t,height:n}:r?Hn[r]:void 0};function Wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tn(e){for(var t=1;t svg":Tn(Tn({},{overflow:"hidden",pointerEvents:"none",stop:{stopColor:"currentColor"}}),{},{maxWidth:"100%",maxHeight:"100%",color:"var(--icon-primary-color)",fill:"var(--icon-secondary-color)",verticalAlign:"bottom"})}),Vn=j({"@media screen and (forced-colors: active)":{"> svg":{filter:"grayscale(1)","--icon-primary-color":"CanvasText","--icon-secondary-color":"Canvas"}}}),Un=j({"@media screen and (forced-colors: active)":{"> svg":{"--icon-primary-color":"Canvas"}}}),zn=j({"@media screen and (forced-colors: active)":{"> svg":{"--icon-secondary-color":"transparent"}}}),qn=x((function(t){var n=t,r=n.glyph,o=n.dangerouslySetGlyph,i=n.primaryColor,a=void 0===i?"currentColor":i,c=n.secondaryColor,s=n.size,l=n.testId,u=n.label,f=n.width,d=n.height,p=o?{dangerouslySetInnerHTML:{__html:o}}:{children:r?D(r,{role:"presentation"}):null},h=Mn({width:f,height:d,size:s}),m=Gt().mode;return D("span",e({"data-testid":l,role:u?"img":"presentation","aria-label":u||void 0,"aria-hidden":!u||void 0,style:{"--icon-primary-color":a,"--icon-secondary-color":c||Rn(m)}},p,{css:[Nn,Vn,a===c&&Un,"transparent"===c&&zn,h&&j({width:h.width,height:h.height,"> svg":h})]}))})),Kn=qn,Xn=E(Object.freeze({__proto__:null,default:Kn,Icon:qn}));Object.defineProperty(Pn,"__esModule",{value:!0});var Yn,Gn=Pn.default=void 0,Jn=(Yn=f)&&Yn.__esModule?Yn:{default:Yn},Qn=Xn;const Zn=e=>Jn.default.createElement(Qn.Icon,Object.assign({dangerouslySetGlyph:''},e));Zn.displayName="WarningIcon";var $n=Zn;function er(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}Gn=Pn.default=$n;var tr=w.div.withConfig({displayName:"ValidationElement__WarningIcon",componentId:"sc-1fk9yms-0"})(["\n align-items: center;\n color: ",";\n display: flex;\n flex-shrink: 0;\n"],Kt),nr=w.div.withConfig({displayName:"ValidationElement__SpinnerParent",componentId:"sc-1fk9yms-1"})(["\n height: 20px;\n margin-left: 10px;\n"]),rr=function(e){i(r,m);var t=er(r);function r(){return o(this,r),t.apply(this,arguments)}return n(r,[{key:"render",value:function(){return!this.props.isDisabled&&this.props.isInvalid?f.createElement(tr,null,f.createElement(Gn,{label:"warning"})):this.props.isLoading?f.createElement(nr,null,f.createElement(Fn,{size:"small"})):null}}]),r}();function or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}s(rr,"defaultProps",{isDisabled:!1,isInvalid:!1,isLoading:!1});var ir=function(e){i(r,m);var t=or(r);function r(){return o(this,r),t.apply(this,arguments)}return n(r,[{key:"componentDidUpdate",value:function(){this.props.shouldReset&&this.props.onBlur()}},{key:"render",value:function(){var e,t=this.props,n=t.appearance,r=t.children,o=t.invalidMessage,i=t.isCompact,a=t.isDialogOpen,c=t.isDisabled,s=t.isFitContainerWidthEnabled,l=t.isFocused,u=t.isInvalid,d=t.isLoading,p=t.isPaddingDisabled,h=t.isReadOnly,m=t.maxWidth,v=t.onBlur,y=t.onDialogBlur,g=t.onDialogClick,b=t.onDialogFocus,x=t.onFocus,w=t.isValidationHidden;return f.createElement(wn,{disabled:c,maxWidth:m,grow:s},f.createElement(sn,{content:o,isOpen:a&&!!o&&!w,onContentBlur:y,onContentClick:g,onContentFocus:b,placement:"right"},f.createElement(yn,{compact:i},f.createElement(bn,{appearance:(e=n,c?"disabled":u?"invalid":e),compact:i,disabled:c,isFocused:l,invalid:u&&!l,none:"none"===n,onBlurCapture:v,onFocusCapture:x,paddingDisabled:p,readOnly:h,subtle:"subtle"===n},r,w?null:f.createElement(rr,{isDisabled:c,isInvalid:u,isLoading:d})))))}}]),r}();function ar(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}s(ir,"defaultProps",{appearance:"standard",invalidMessage:"",isCompact:!1,isDialogOpen:!1,isDisabled:!1,isFitContainerWidthEnabled:!1,isFocused:!1,isInvalid:!1,isLoading:!1,isPaddingDisabled:!1,isReadOnly:!1,onDialogBlur:function(){},onDialogClick:function(){},onDialogFocus:function(){},shouldReset:!1,isValidationHidden:!1});function cr(e){setTimeout(e,0)}var sr=function(r){i(c,m);var a=ar(c);function c(){var e;o(this,c);for(var t=arguments.length,n=new Array(t),r=0;r1?t-1:0),r=1;r0&&(r=se(n.width)/a||1),i>0&&(o=se(n.height)/i||1)}return{width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function ue(e){var t=le(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function fe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&re(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function de(e){return ee(e).getComputedStyle(e)}function pe(e){return["table","td","th"].indexOf($(e))>=0}function he(e){return((te(e)?e.ownerDocument:e.document)||window.document).documentElement}function me(e){return"html"===$(e)?e:e.assignedSlot||e.parentNode||(re(e)?e.host:null)||he(e)}function ve(e){return ne(e)&&"fixed"!==de(e).position?e.offsetParent:null}function ye(e){for(var t=ee(e),n=ve(e);n&&pe(n)&&"static"===de(n).position;)n=ve(n);return n&&("html"===$(n)||"body"===$(n)&&"static"===de(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&ne(e)&&"fixed"===de(e).position)return null;var n=me(e);for(re(n)&&(n=n.host);ne(n)&&["html","body"].indexOf($(n))<0;){var r=de(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function ge(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function be(e,t,n){return ae(e,ce(t,n))}function xe(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function we(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Oe={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,c=ie(n.placement),s=ge(c),l=[Y,X].indexOf(c)>=0?"height":"width";if(i&&a){var u=function(e,t){return xe("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:we(e,G))}(o.padding,n),f=ue(i),d="y"===s?q:Y,p="y"===s?K:X,h=n.rects.reference[l]+n.rects.reference[s]-a[s]-n.rects.popper[l],m=a[s]-n.rects.reference[s],v=ye(i),y=v?"y"===s?v.clientHeight||0:v.clientWidth||0:0,g=h/2-m/2,b=u[d],x=y-f[l]-u[p],w=y/2-f[l]/2+g,O=be(b,w,x),k=s;n.modifiersData[r]=((t={})[k]=O,t.centerOffset=O-w,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&fe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ke(e){return e.split("-")[1]}var Ee={top:"auto",right:"auto",bottom:"auto",left:"auto"};function je(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,c=e.position,s=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=a.x,p=void 0===d?0:d,h=a.y,m=void 0===h?0:h,v="function"==typeof u?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var y=a.hasOwnProperty("x"),g=a.hasOwnProperty("y"),b=Y,x=q,w=window;if(l){var O=ye(n),k="clientHeight",E="clientWidth";if(O===ee(n)&&"static"!==de(O=he(n)).position&&"absolute"===c&&(k="scrollHeight",E="scrollWidth"),O=O,o===q||(o===Y||o===X)&&"end"===i)x=K,m-=(f&&O===w&&w.visualViewport?w.visualViewport.height:O[k])-r.height,m*=s?1:-1;if(o===Y||(o===q||o===K)&&"end"===i)b=X,p-=(f&&O===w&&w.visualViewport?w.visualViewport.width:O[E])-r.width,p*=s?1:-1}var j,D=Object.assign({position:c},l&&Ee),C=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:se(t*r)/r||0,y:se(n*r)/r||0}}({x:p,y:m}):{x:p,y:m};return p=C.x,m=C.y,s?Object.assign({},D,((j={})[x]=g?"0":"",j[b]=y?"0":"",j.transform=(w.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",j)):Object.assign({},D,((t={})[x]=g?m+"px":"",t[b]=y?p+"px":"",t.transform="",t))}var De={passive:!0};var Ce={left:"right",right:"left",bottom:"top",top:"bottom"};function Ae(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ce[e]}))}var Fe={start:"end",end:"start"};function Pe(e){return e.replace(/start|end/g,(function(e){return Fe[e]}))}function Be(e){var t=ee(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Re(e){return le(he(e)).left+Be(e).scrollLeft}function _e(e){var t=de(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function Se(e){return["html","body","#document"].indexOf($(e))>=0?e.ownerDocument.body:ne(e)&&_e(e)?e:Se(me(e))}function Le(e,t){var n;void 0===t&&(t=[]);var r=Se(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=ee(r),a=o?[i].concat(i.visualViewport||[],_e(r)?r:[]):r,c=t.concat(a);return o?c:c.concat(Le(me(a)))}function Ie(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function He(e,t){return"viewport"===t?Ie(function(e){var t=ee(e),n=he(e),r=t.visualViewport,o=n.clientWidth,i=n.clientHeight,a=0,c=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,c=r.offsetTop)),{width:o,height:i,x:a+Re(e),y:c}}(e)):te(t)?function(e){var t=le(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Ie(function(e){var t,n=he(e),r=Be(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=ae(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=ae(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-r.scrollLeft+Re(e),s=-r.scrollTop;return"rtl"===de(o||n).direction&&(c+=ae(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:c,y:s}}(he(e)))}function Me(e,t,n){var r="clippingParents"===t?function(e){var t=Le(me(e)),n=["absolute","fixed"].indexOf(de(e).position)>=0&&ne(e)?ye(e):e;return te(n)?t.filter((function(e){return te(e)&&fe(e,n)&&"body"!==$(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),i=o[0],a=o.reduce((function(t,n){var r=He(e,n);return t.top=ae(r.top,t.top),t.right=ce(r.right,t.right),t.bottom=ce(r.bottom,t.bottom),t.left=ae(r.left,t.left),t}),He(e,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function We(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?ie(o):null,a=o?ke(o):null,c=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(i){case q:t={x:c,y:n.y-r.height};break;case K:t={x:c,y:n.y+n.height};break;case X:t={x:n.x+n.width,y:s};break;case Y:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y}}var l=i?ge(i):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case"start":t[l]=t[l]-(n[u]/2-r[u]/2);break;case"end":t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}function Te(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.boundary,a=void 0===i?"clippingParents":i,c=n.rootBoundary,s=void 0===c?"viewport":c,l=n.elementContext,u=void 0===l?"popper":l,f=n.altBoundary,d=void 0!==f&&f,p=n.padding,h=void 0===p?0:p,m=xe("number"!=typeof h?h:we(h,G)),v="popper"===u?"reference":"popper",y=e.rects.popper,g=e.elements[d?v:u],b=Me(te(g)?g:g.contextElement||he(e.elements.popper),a,s),x=le(e.elements.reference),w=We({reference:x,element:y,strategy:"absolute",placement:o}),O=Ie(Object.assign({},y,w)),k="popper"===u?O:x,E={top:b.top-k.top+m.top,bottom:k.bottom-b.bottom+m.bottom,left:b.left-k.left+m.left,right:k.right-b.right+m.right},j=e.modifiersData.offset;if("popper"===u&&j){var D=j[o];Object.keys(E).forEach((function(e){var t=[X,K].indexOf(e)>=0?1:-1,n=[q,K].indexOf(e)>=0?"y":"x";E[e]+=D[n]*t}))}return E}function Ne(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,c=n.flipVariations,s=n.allowedAutoPlacements,l=void 0===s?Q:s,u=ke(r),f=u?c?J:J.filter((function(e){return ke(e)===u})):G,d=f.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=f);var p=d.reduce((function(t,n){return t[n]=Te(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[ie(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}var Ve={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0===a||a,s=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,y=ie(v),g=s||(y===v||!h?[Ae(v)]:function(e){if("auto"===ie(e))return[];var t=Ae(e);return[Pe(e),t,Pe(t)]}(v)),b=[v].concat(g).reduce((function(e,n){return e.concat("auto"===ie(n)?Ne(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),x=t.rects.reference,w=t.rects.popper,O=new Map,k=!0,E=b[0],j=0;j=0,P=F?"width":"height",B=Te(t,{placement:D,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),R=F?A?X:Y:A?K:q;x[P]>w[P]&&(R=Ae(R));var _=Ae(R),S=[];if(i&&S.push(B[C]<=0),c&&S.push(B[R]<=0,B[_]<=0),S.every((function(e){return e}))){E=D,k=!1;break}O.set(D,S)}if(k)for(var L=function(e){var t=b.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return E=t,"break"},I=h?3:1;I>0;I--){if("break"===L(I))break}t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ue(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ze(e){return[q,X,K,Y].some((function(t){return e[t]>=0}))}var qe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Q.reduce((function(e,n){return e[n]=function(e,t,n){var r=ie(e),o=[Y,q].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],c=i[1];return a=a||0,c=(c||0)*o,[Y,X].indexOf(r)>=0?{x:c,y:a}:{x:a,y:c}}(n,t.rects,i),e}),{}),c=a[t.placement],s=c.x,l=c.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}};var Ke={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,c=void 0!==a&&a,s=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,p=void 0===d||d,h=n.tetherOffset,m=void 0===h?0:h,v=Te(t,{boundary:s,rootBoundary:l,padding:f,altBoundary:u}),y=ie(t.placement),g=ke(t.placement),b=!g,x=ge(y),w="x"===x?"y":"x",O=t.modifiersData.popperOffsets,k=t.rects.reference,E=t.rects.popper,j="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,D="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(O){if(i){var F,P="y"===x?q:Y,B="y"===x?K:X,R="y"===x?"height":"width",_=O[x],S=_+v[P],L=_-v[B],I=p?-E[R]/2:0,H="start"===g?k[R]:E[R],M="start"===g?-E[R]:-k[R],W=t.elements.arrow,T=p&&W?ue(W):{width:0,height:0},N=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=N[P],U=N[B],z=be(0,k[R],T[R]),G=b?k[R]/2-I-z-V-D.mainAxis:H-z-V-D.mainAxis,J=b?-k[R]/2+I+z+U+D.mainAxis:M+z+U+D.mainAxis,Q=t.elements.arrow&&ye(t.elements.arrow),Z=Q?"y"===x?Q.clientTop||0:Q.clientLeft||0:0,$=null!=(F=null==C?void 0:C[x])?F:0,ee=_+J-$,te=be(p?ce(S,_+G-$-Z):S,_,p?ae(L,ee):L);O[x]=te,A[x]=te-_}if(c){var ne,re="x"===x?q:Y,oe="x"===x?K:X,se=O[w],le="y"===w?"height":"width",fe=se+v[re],de=se-v[oe],pe=-1!==[q,Y].indexOf(y),he=null!=(ne=null==C?void 0:C[w])?ne:0,me=pe?fe:se-k[le]-E[le]-he+D.altAxis,ve=pe?se+k[le]+E[le]-he-D.altAxis:de,xe=p&&pe?function(e,t,n){var r=be(e,t,n);return r>n?n:r}(me,se,ve):be(p?me:fe,se,p?ve:de);O[w]=xe,A[w]=xe-se}t.modifiersData[r]=A}},requiresIfExists:["offset"]};function Xe(e,t,n){void 0===n&&(n=!1);var r,o,i=ne(t),a=ne(t)&&function(e){var t=e.getBoundingClientRect(),n=se(t.width)/e.offsetWidth||1,r=se(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),c=he(t),s=le(e,a),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(i||!i&&!n)&&(("body"!==$(t)||_e(c))&&(l=(r=t)!==ee(r)&&ne(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:Be(r)),ne(t)?((u=le(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):c&&(u.x=Re(c))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function Ye(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var Ge={placement:"bottom",modifiers:[],strategy:"absolute"};function Je(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=Ct(),o=n.createAnalyticsEvent,i=p({}),a=y((function(){var n=i.current;return Object.keys(n).filter((function(t){return!(t in e)})).forEach((function(e){return delete n[e]})),Object.keys(e).reduce((function(i,a){var c=e[a];if(!["object","function"].includes(r(c)))return i;var l=t[a];if(a in n&&n[a].eventCreator===c&&n[a].propValue===l)return Ft(Ft({},i),{},s({},a,n[a].wrappedCallback));var u=function(){var e="function"==typeof c?c(o,t):o(c);if(l&&"function"==typeof l){for(var n=arguments.length,r=new Array(n),i=0;i0&&void 0!==arguments[0]?arguments[0]:{};return function(n){var r=g((function(r,o){var i=Pt(t,r).patchedEventProps,a=Ct().createAnalyticsEvent;return f.createElement(n,e({},r,i,{createAnalyticsEvent:a,ref:o}))}));return r.displayName="WithAnalyticsEvents(".concat(n.displayName||n.name,")"),r}},Rt=[{name:"flip",options:{flipVariations:!1,padding:5,boundary:"clippingParents",rootBoundary:"viewport"}},{name:"preventOverflow",options:{padding:5,rootBoundary:"document"}}];function _t(){return null}var St=[0,8];function Lt(e){var t=e.children,n=void 0===t?_t:t,r=e.offset,o=void 0===r?St:r,i=e.placement,a=void 0===i?"bottom-start":i,c=e.referenceElement,s=void 0===c?void 0:c,l=e.modifiers,u=e.strategy,d=void 0===u?"fixed":u,p=L(o,2),h=p[0],m=p[1],v=y((function(){return[].concat(Rt,[{name:"offset",options:{offset:[h,m]}}])}),[h,m]),g=y((function(){return null==l?v:[].concat(P(v),P(l))}),[v,l]);return f.createElement(rt,{modifiers:g,placement:a,strategy:d,referenceElement:s},n)}var It=["light","dark"],Ht=function(){return 14};function Mt(e){if(e&&e.theme){if("__ATLASKIT_THEME__"in e.theme)return e.theme.__ATLASKIT_THEME__;if("mode"in e.theme&&It.includes(e.theme.mode))return e.theme}return{mode:"light"}}function Wt(e,t){if("string"==typeof e)return n=e,r=t,function(e){var t=Mt(e);if(e&&e[n]&&r){var o=r[e[n]];if(o&&o[t.mode]){var i=o[t.mode];if(i)return i}}return""};var n,r,o=e;return function(e){var t=Mt(e);if(t.mode in o){var n=o[t.mode];if(n)return n}return""}}var Tt="#B3D4FF",Nt="#4C9AFF",Vt="#FFFFFF",Ut="#EBECF0",zt="#0E1624",qt=Wt({light:"#FF5630",dark:"#FF5630"}),Kt=Wt({light:"#FFAB00",dark:"#FFAB00"}),Xt=["children"];var Yt=function(e){var n=function(e,t){return e(t)},r=b(e);function o(e){return(d(r)||n)(e)}return{Consumer:function(e){var n=e.children,r=o(t(e,Xt));return f.createElement(f.Fragment,null,n(r))},Provider:function(e){var t=d(r),o=e.value||n,i=v((function(e){return o(t,e)}),[t,o]);return f.createElement(r.Provider,{value:i},e.children)},useTheme:o}}((function(){return{mode:"light"}})),Gt=Yt.useTheme;function Jt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qt(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:"light";return Bn[e]},_n="16px",Sn="24px",Ln="32px",In="48px",Hn={small:{width:_n,height:_n},medium:{width:Sn,height:Sn},large:{width:Ln,height:Ln},xlarge:{width:In,height:In}};j(Hn.small),j(Hn.medium),j(Hn.large),j(Hn.xlarge);var Mn=function(e){var t=e.width,n=e.height,r=e.size;return t&&n?{width:t,height:n}:r?Hn[r]:void 0};function Wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tn(e){for(var t=1;t svg":Tn(Tn({},{overflow:"hidden",pointerEvents:"none",stop:{stopColor:"currentColor"}}),{},{maxWidth:"100%",maxHeight:"100%",color:"var(--icon-primary-color)",fill:"var(--icon-secondary-color)",verticalAlign:"bottom"})}),Vn=j({"@media screen and (forced-colors: active)":{"> svg":{filter:"grayscale(1)","--icon-primary-color":"CanvasText","--icon-secondary-color":"Canvas"}}}),Un=j({"@media screen and (forced-colors: active)":{"> svg":{"--icon-primary-color":"Canvas"}}}),zn=j({"@media screen and (forced-colors: active)":{"> svg":{"--icon-secondary-color":"transparent"}}}),qn=x((function(t){var n=t,r=n.glyph,o=n.dangerouslySetGlyph,i=n.primaryColor,a=void 0===i?"currentColor":i,c=n.secondaryColor,s=n.size,l=n.testId,u=n.label,f=n.width,d=n.height,p=o?{dangerouslySetInnerHTML:{__html:o}}:{children:r?D(r,{role:"presentation"}):null},h=Mn({width:f,height:d,size:s}),m=Gt().mode;return D("span",e({"data-testid":l,role:u?"img":"presentation","aria-label":u||void 0,"aria-hidden":!u||void 0,style:{"--icon-primary-color":a,"--icon-secondary-color":c||Rn(m)}},p,{css:[Nn,Vn,a===c&&Un,"transparent"===c&&zn,h&&j({width:h.width,height:h.height,"> svg":h})]}))})),Kn=qn,Xn=E(Object.freeze({__proto__:null,default:Kn,Icon:qn}));Object.defineProperty(Pn,"__esModule",{value:!0});var Yn,Gn=Pn.default=void 0,Jn=(Yn=f)&&Yn.__esModule?Yn:{default:Yn},Qn=Xn;const Zn=e=>Jn.default.createElement(Qn.Icon,Object.assign({dangerouslySetGlyph:''},e));Zn.displayName="WarningIcon";var $n=Zn;function er(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}Gn=Pn.default=$n;var tr=w.div.withConfig({displayName:"ValidationElement__WarningIcon",componentId:"sc-1fk9yms-0"})(["\n align-items: center;\n color: ",";\n display: flex;\n flex-shrink: 0;\n"],Kt),nr=w.div.withConfig({displayName:"ValidationElement__SpinnerParent",componentId:"sc-1fk9yms-1"})(["\n height: 20px;\n margin-left: 10px;\n"]),rr=function(e){i(r,m);var t=er(r);function r(){return o(this,r),t.apply(this,arguments)}return n(r,[{key:"render",value:function(){return!this.props.isDisabled&&this.props.isInvalid?f.createElement(tr,null,f.createElement(Gn,{label:"warning"})):this.props.isLoading?f.createElement(nr,null,f.createElement(Fn,{size:"small"})):null}}]),r}();function or(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}s(rr,"defaultProps",{isDisabled:!1,isInvalid:!1,isLoading:!1});var ir=function(e){i(r,m);var t=or(r);function r(){return o(this,r),t.apply(this,arguments)}return n(r,[{key:"componentDidUpdate",value:function(){this.props.shouldReset&&this.props.onBlur()}},{key:"render",value:function(){var e,t=this.props,n=t.appearance,r=t.children,o=t.invalidMessage,i=t.isCompact,a=t.isDialogOpen,c=t.isDisabled,s=t.isFitContainerWidthEnabled,l=t.isFocused,u=t.isInvalid,d=t.isLoading,p=t.isPaddingDisabled,h=t.isReadOnly,m=t.maxWidth,v=t.onBlur,y=t.onDialogBlur,g=t.onDialogClick,b=t.onDialogFocus,x=t.onFocus,w=t.isValidationHidden;return f.createElement(wn,{disabled:c,maxWidth:m,grow:s},f.createElement(sn,{content:o,isOpen:a&&!!o&&!w,onContentBlur:y,onContentClick:g,onContentFocus:b,placement:"right"},f.createElement(yn,{compact:i},f.createElement(bn,{appearance:(e=n,c?"disabled":u?"invalid":e),compact:i,disabled:c,isFocused:l,invalid:u&&!l,none:"none"===n,onBlurCapture:v,onFocusCapture:x,paddingDisabled:p,readOnly:h,subtle:"subtle"===n},r,w?null:f.createElement(rr,{isDisabled:c,isInvalid:u,isLoading:d})))))}}]),r}();function ar(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}s(ir,"defaultProps",{appearance:"standard",invalidMessage:"",isCompact:!1,isDialogOpen:!1,isDisabled:!1,isFitContainerWidthEnabled:!1,isFocused:!1,isInvalid:!1,isLoading:!1,isPaddingDisabled:!1,isReadOnly:!1,onDialogBlur:function(){},onDialogClick:function(){},onDialogFocus:function(){},shouldReset:!1,isValidationHidden:!1});function cr(e){setTimeout(e,0)}var sr=function(r){i(c,m);var a=ar(c);function c(){var e;o(this,c);for(var t=arguments.length,n=new Array(t),r=0;r=0)return 1;return 0}();var h=c&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),d))}};function m(e){return e&&"[object Function]"==={}.toString.call(e)}function v(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function g(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function b(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=v(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?e:b(g(e))}function y(e){return e&&e.referenceNode?e.referenceNode:e}var w=c&&!(!window.MSInputMethodContext||!document.documentMode),x=c&&/MSIE 10/.test(navigator.userAgent);function E(e){return 11===e?w:10===e?x:w||x}function O(e){if(!e)return document.documentElement;for(var t=E(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===v(n,"position")?O(n):n:e?e.ownerDocument.documentElement:document.documentElement}function N(e){return null!==e.parentNode?N(e.parentNode):e}function P(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,s,p=i.commonAncestorContainer;if(e!==p&&t!==p||o.contains(r))return"BODY"===(s=(a=p).nodeName)||"HTML"!==s&&O(a.firstElementChild)!==a?O(p):p;var f=N(e);return f.host?P(f.host,t):P(e,N(t).host)}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var r=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||r;return i[n]}return e[n]}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=M(t,"top"),r=M(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}function T(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+o+"Width"])}function _(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],E(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function A(e){var t=e.body,n=e.documentElement,o=E(10)&&getComputedStyle(n);return{height:_("Height",t,n,o),width:_("Width",t,n,o)}}var C=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},D=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],o=E(10),r="HTML"===t.nodeName,i=B(e),a=B(t),s=b(e),p=v(t),f=parseFloat(p.borderTopWidth),l=parseFloat(p.borderLeftWidth);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=j({top:i.top-a.top-f,left:i.left-a.left-l,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!o&&r){var c=parseFloat(p.marginTop),d=parseFloat(p.marginLeft);u.top-=f-c,u.bottom-=f-c,u.left-=l-d,u.right-=l-d,u.marginTop=c,u.marginLeft=d}return(o&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(u=L(u,t)),u}function W(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=I(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:M(n),s=t?0:M(n,"left"),p={top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i};return j(p)}function H(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===v(e,"position"))return!0;var n=g(e);return!!n&&H(n)}function k(e){if(!e||!e.parentElement||E())return document.documentElement;for(var t=e.parentElement;t&&"none"===v(t,"transform");)t=t.parentElement;return t||document.documentElement}function U(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=r?k(e):P(e,y(t));if("viewport"===o)i=W(a,r);else{var s=void 0;"scrollParent"===o?"BODY"===(s=b(g(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===o?e.ownerDocument.documentElement:o;var p=I(s,a,r);if("HTML"!==s.nodeName||H(a))i=p;else{var f=A(e.ownerDocument),l=f.height,u=f.width;i.top+=p.top-p.marginTop,i.bottom=l+p.top,i.left+=p.left-p.marginLeft,i.right=u+p.left}}var c="number"==typeof(n=n||0);return i.left+=c?n:n.left||0,i.top+=c?n:n.top||0,i.right-=c?n:n.right||0,i.bottom-=c?n:n.bottom||0,i}function R(e){return e.width*e.height}function V(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=U(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},p=Object.keys(s).map((function(e){return S({key:e},s[e],{area:R(s[e])})})).sort((function(e,t){return t.area-e.area})),f=p.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),l=f.length>0?f[0].key:p[0].key,u=e.split("-")[1];return l+(u?"-"+u:"")}function Y(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=o?k(t):P(t,y(n));return I(n,r,o)}function q(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function z(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function G(e,t,n){n=n.split("-")[0];var o=q(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",p=i?"height":"width",f=i?"width":"height";return r[a]=t[a]+t[p]/2-o[p]/2,r[s]=n===s?t[s]-o[f]:t[z(s)],r}function X(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function J(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=X(e,(function(e){return e[t]===n}));return e.indexOf(o)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&m(n)&&(t.offsets.popper=j(t.offsets.popper),t.offsets.reference=j(t.offsets.reference),t=n(t,e))})),t}function K(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Y(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=V(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=G(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=J(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Q(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o1&&void 0!==arguments[1]&&arguments[1],n=le.indexOf(e),o=le.slice(n+1).concat(le.slice(0,n));return t?o.reverse():o}var ce="flip",de="clockwise",he="counterclockwise";function me(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(X(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,f=-1!==s?[a.slice(0,s).concat([a[s].split(p)[0]]),[a[s].split(p)[1]].concat(a.slice(s+1))]:[a];return f=f.map((function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){return j("%p"===a?n:o)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,r,t,n)}))})),f.forEach((function(e,t){e.forEach((function(n,o){ie(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))}))})),r}var ve={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),p=s?"left":"top",f=s?"width":"height",l={start:F({},p,i[p]),end:F({},p,i[p]+i[f]-a[f])};e.offsets.popper=S({},a,l[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],p=void 0;return p=ie(+n)?[+n,0]:me(n,i,a,s),"left"===s?(i.top+=p[0],i.left-=p[1]):"right"===s?(i.top+=p[0],i.left+=p[1]):"top"===s?(i.left+=p[0],i.top-=p[1]):"bottom"===s&&(i.left+=p[0],i.top+=p[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||O(e.instance.popper);e.instance.reference===n&&(n=O(n));var o=Z("transform"),r=e.instance.popper.style,i=r.top,a=r.left,s=r[o];r.top="",r.left="",r[o]="";var p=U(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=a,r[o]=s,t.boundaries=p;var f=t.priority,l=e.offsets.popper,u={primary:function(e){var n=l[e];return l[e]p[e]&&!t.escapeWithReference&&(o=Math.min(l[n],p[e]-("right"===e?l.width:l.height))),F({},n,o)}};return f.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=S({},l,u[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",p=a?"left":"top",f=a?"width":"height";return n[s]i(o[s])&&(e.offsets.popper[p]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!pe(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,p=-1!==["left","right"].indexOf(r),f=p?"height":"width",l=p?"Top":"Left",u=l.toLowerCase(),c=p?"left":"top",d=p?"bottom":"right",h=q(o)[f];s[d]-ha[d]&&(e.offsets.popper[u]+=s[u]+h-a[d]),e.offsets.popper=j(e.offsets.popper);var m=s[u]+s[f]/2-h/2,g=v(e.instance.popper),b=parseFloat(g["margin"+l]),y=parseFloat(g["border"+l+"Width"]),w=m-e.offsets.popper[u]-b-y;return w=Math.max(Math.min(a[f]-h,w),0),e.arrowElement=o,e.offsets.arrow=(F(n={},u,Math.round(w)),F(n,c,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Q(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=U(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=z(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ce:a=[o,r];break;case de:a=ue(o);break;case he:a=ue(o,!0);break;default:a=t.behavior}return a.forEach((function(s,p){if(o!==s||a.length===p+1)return e;o=e.placement.split("-")[0],r=z(o);var f=e.offsets.popper,l=e.offsets.reference,u=Math.floor,c="left"===o&&u(f.right)>u(l.left)||"right"===o&&u(f.left)u(l.top)||"bottom"===o&&u(f.top)u(n.right),m=u(f.top)u(n.bottom),g="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&v,b=-1!==["top","bottom"].indexOf(o),y=!!t.flipVariations&&(b&&"start"===i&&d||b&&"end"===i&&h||!b&&"start"===i&&m||!b&&"end"===i&&v),w=!!t.flipVariationsByContent&&(b&&"start"===i&&h||b&&"end"===i&&d||!b&&"start"===i&&v||!b&&"end"===i&&m),x=y||w;(c||g||x)&&(e.flipped=!0,(c||g)&&(o=a[p+1]),x&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=S({},e.offsets.popper,G(e.instance.popper,e.offsets.reference,e.placement)),e=J(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=z(t),e.offsets.popper=j(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!pe(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=X(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};C(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=h(this.update.bind(this)),this.options=S({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){o.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&m(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return D(e,[{key:"update",value:function(){return K.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return oe.call(this)}},{key:"disableEventListeners",value:function(){return re.call(this)}}]),e}();be.Utils=("undefined"!=typeof window?window:global).PopperUtils,be.placements=fe,be.Defaults=ge;var ye=be,we=function(e,t){return we=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},we(e,t)};var xe=function(){return xe=Object.assign||function(e){for(var t,n=1,o=arguments.length;n1?t-1:0),o=1;o=0)return 1;return 0}();var h=c&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),d))}};function m(e){return e&&"[object Function]"==={}.toString.call(e)}function v(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function g(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function b(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=v(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/(auto|scroll|overlay)/.test(n+r+o)?e:b(g(e))}function y(e){return e&&e.referenceNode?e.referenceNode:e}var w=c&&!(!window.MSInputMethodContext||!document.documentMode),x=c&&/MSIE 10/.test(navigator.userAgent);function E(e){return 11===e?w:10===e?x:w||x}function O(e){if(!e)return document.documentElement;for(var t=E(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var o=n&&n.nodeName;return o&&"BODY"!==o&&"HTML"!==o?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===v(n,"position")?O(n):n:e?e.ownerDocument.documentElement:document.documentElement}function N(e){return null!==e.parentNode?N(e.parentNode):e}function P(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,o=n?e:t,r=n?t:e,i=document.createRange();i.setStart(o,0),i.setEnd(r,0);var a,s,p=i.commonAncestorContainer;if(e!==p&&t!==p||o.contains(r))return"BODY"===(s=(a=p).nodeName)||"HTML"!==s&&O(a.firstElementChild)!==a?O(p):p;var f=N(e);return f.host?P(f.host,t):P(e,N(t).host)}function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",o=e.nodeName;if("BODY"===o||"HTML"===o){var r=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||r;return i[n]}return e[n]}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=M(t,"top"),r=M(t,"left"),i=n?-1:1;return e.top+=o*i,e.bottom+=o*i,e.left+=r*i,e.right+=r*i,e}function T(e,t){var n="x"===t?"Left":"Top",o="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+o+"Width"])}function _(e,t,n,o){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],E(10)?parseInt(n["offset"+e])+parseInt(o["margin"+("Height"===e?"Top":"Left")])+parseInt(o["margin"+("Height"===e?"Bottom":"Right")]):0)}function A(e){var t=e.body,n=e.documentElement,o=E(10)&&getComputedStyle(n);return{height:_("Height",t,n,o),width:_("Width",t,n,o)}}var C=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},D=function(){function e(e,t){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],o=E(10),r="HTML"===t.nodeName,i=B(e),a=B(t),s=b(e),p=v(t),f=parseFloat(p.borderTopWidth),l=parseFloat(p.borderLeftWidth);n&&r&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var u=j({top:i.top-a.top-f,left:i.left-a.left-l,width:i.width,height:i.height});if(u.marginTop=0,u.marginLeft=0,!o&&r){var c=parseFloat(p.marginTop),d=parseFloat(p.marginLeft);u.top-=f-c,u.bottom-=f-c,u.left-=l-d,u.right-=l-d,u.marginTop=c,u.marginLeft=d}return(o&&!n?t.contains(s):t===s&&"BODY"!==s.nodeName)&&(u=L(u,t)),u}function W(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,o=I(e,n),r=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:M(n),s=t?0:M(n,"left"),p={top:a-o.top+o.marginTop,left:s-o.left+o.marginLeft,width:r,height:i};return j(p)}function H(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===v(e,"position"))return!0;var n=g(e);return!!n&&H(n)}function k(e){if(!e||!e.parentElement||E())return document.documentElement;for(var t=e.parentElement;t&&"none"===v(t,"transform");)t=t.parentElement;return t||document.documentElement}function U(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=r?k(e):P(e,y(t));if("viewport"===o)i=W(a,r);else{var s=void 0;"scrollParent"===o?"BODY"===(s=b(g(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===o?e.ownerDocument.documentElement:o;var p=I(s,a,r);if("HTML"!==s.nodeName||H(a))i=p;else{var f=A(e.ownerDocument),l=f.height,u=f.width;i.top+=p.top-p.marginTop,i.bottom=l+p.top,i.left+=p.left-p.marginLeft,i.right=u+p.left}}var c="number"==typeof(n=n||0);return i.left+=c?n:n.left||0,i.top+=c?n:n.top||0,i.right-=c?n:n.right||0,i.bottom-=c?n:n.bottom||0,i}function R(e){return e.width*e.height}function V(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=U(n,o,i,r),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},p=Object.keys(s).map((function(e){return S({key:e},s[e],{area:R(s[e])})})).sort((function(e,t){return t.area-e.area})),f=p.filter((function(e){var t=e.width,o=e.height;return t>=n.clientWidth&&o>=n.clientHeight})),l=f.length>0?f[0].key:p[0].key,u=e.split("-")[1];return l+(u?"-"+u:"")}function Y(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,r=o?k(t):P(t,y(n));return I(n,r,o)}function q(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),o=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+n}}function z(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function G(e,t,n){n=n.split("-")[0];var o=q(e),r={width:o.width,height:o.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",p=i?"height":"width",f=i?"width":"height";return r[a]=t[a]+t[p]/2-o[p]/2,r[s]=n===s?t[s]-o[f]:t[z(s)],r}function X(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function J(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var o=X(e,(function(e){return e[t]===n}));return e.indexOf(o)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&m(n)&&(t.offsets.popper=j(t.offsets.popper),t.offsets.reference=j(t.offsets.reference),t=n(t,e))})),t}function K(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=Y(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=V(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=G(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=J(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function Q(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function Z(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),o=0;o1&&void 0!==arguments[1]&&arguments[1],n=le.indexOf(e),o=le.slice(n+1).concat(le.slice(0,n));return t?o.reverse():o}var ce="flip",de="clockwise",he="counterclockwise";function me(e,t,n,o){var r=[0,0],i=-1!==["right","left"].indexOf(o),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(X(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var p=/\s*,\s*|\s+/,f=-1!==s?[a.slice(0,s).concat([a[s].split(p)[0]]),[a[s].split(p)[1]].concat(a.slice(s+1))]:[a];return f=f.map((function(e,o){var r=(1===o?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,o){var r=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+r[1],a=r[2];if(!i)return e;if(0===a.indexOf("%")){return j("%p"===a?n:o)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,r,t,n)}))})),f.forEach((function(e,t){e.forEach((function(n,o){ie(n)&&(r[t]+=n*("-"===e[o-1]?-1:1))}))})),r}var ve={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],o=t.split("-")[1];if(o){var r=e.offsets,i=r.reference,a=r.popper,s=-1!==["bottom","top"].indexOf(n),p=s?"left":"top",f=s?"width":"height",l={start:F({},p,i[p]),end:F({},p,i[p]+i[f]-a[f])};e.offsets.popper=S({},a,l[o])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,o=e.placement,r=e.offsets,i=r.popper,a=r.reference,s=o.split("-")[0],p=void 0;return p=ie(+n)?[+n,0]:me(n,i,a,s),"left"===s?(i.top+=p[0],i.left-=p[1]):"right"===s?(i.top+=p[0],i.left+=p[1]):"top"===s?(i.left+=p[0],i.top-=p[1]):"bottom"===s&&(i.left+=p[0],i.top+=p[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||O(e.instance.popper);e.instance.reference===n&&(n=O(n));var o=Z("transform"),r=e.instance.popper.style,i=r.top,a=r.left,s=r[o];r.top="",r.left="",r[o]="";var p=U(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);r.top=i,r.left=a,r[o]=s,t.boundaries=p;var f=t.priority,l=e.offsets.popper,u={primary:function(e){var n=l[e];return l[e]p[e]&&!t.escapeWithReference&&(o=Math.min(l[n],p[e]-("right"===e?l.width:l.height))),F({},n,o)}};return f.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";l=S({},l,u[t](e))})),e.offsets.popper=l,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,o=t.reference,r=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(r),s=a?"right":"bottom",p=a?"left":"top",f=a?"width":"height";return n[s]i(o[s])&&(e.offsets.popper[p]=i(o[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!pe(e.instance.modifiers,"arrow","keepTogether"))return e;var o=t.element;if("string"==typeof o){if(!(o=e.instance.popper.querySelector(o)))return e}else if(!e.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var r=e.placement.split("-")[0],i=e.offsets,a=i.popper,s=i.reference,p=-1!==["left","right"].indexOf(r),f=p?"height":"width",l=p?"Top":"Left",u=l.toLowerCase(),c=p?"left":"top",d=p?"bottom":"right",h=q(o)[f];s[d]-ha[d]&&(e.offsets.popper[u]+=s[u]+h-a[d]),e.offsets.popper=j(e.offsets.popper);var m=s[u]+s[f]/2-h/2,g=v(e.instance.popper),b=parseFloat(g["margin"+l]),y=parseFloat(g["border"+l+"Width"]),w=m-e.offsets.popper[u]-b-y;return w=Math.max(Math.min(a[f]-h,w),0),e.arrowElement=o,e.offsets.arrow=(F(n={},u,Math.round(w)),F(n,c,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(Q(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=U(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),o=e.placement.split("-")[0],r=z(o),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case ce:a=[o,r];break;case de:a=ue(o);break;case he:a=ue(o,!0);break;default:a=t.behavior}return a.forEach((function(s,p){if(o!==s||a.length===p+1)return e;o=e.placement.split("-")[0],r=z(o);var f=e.offsets.popper,l=e.offsets.reference,u=Math.floor,c="left"===o&&u(f.right)>u(l.left)||"right"===o&&u(f.left)u(l.top)||"bottom"===o&&u(f.top)u(n.right),m=u(f.top)u(n.bottom),g="left"===o&&d||"right"===o&&h||"top"===o&&m||"bottom"===o&&v,b=-1!==["top","bottom"].indexOf(o),y=!!t.flipVariations&&(b&&"start"===i&&d||b&&"end"===i&&h||!b&&"start"===i&&m||!b&&"end"===i&&v),w=!!t.flipVariationsByContent&&(b&&"start"===i&&h||b&&"end"===i&&d||!b&&"start"===i&&v||!b&&"end"===i&&m),x=y||w;(c||g||x)&&(e.flipped=!0,(c||g)&&(o=a[p+1]),x&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=o+(i?"-"+i:""),e.offsets.popper=S({},e.offsets.popper,G(e.instance.popper,e.offsets.reference,e.placement)),e=J(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],o=e.offsets,r=o.popper,i=o.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return r[a?"left":"top"]=i[n]-(s?r[a?"width":"height"]:0),e.placement=z(t),e.offsets.popper=j(r),e}},hide:{order:800,enabled:!0,fn:function(e){if(!pe(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=X(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottomn.right||t.top>n.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};C(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=h(this.update.bind(this)),this.options=S({},e.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(S({},e.Defaults.modifiers,r.modifiers)).forEach((function(t){o.options.modifiers[t]=S({},e.Defaults.modifiers[t]||{},r.modifiers?r.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return S({name:e},o.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&m(e.onLoad)&&e.onLoad(o.reference,o.popper,o.options,e,o.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return D(e,[{key:"update",value:function(){return K.call(this)}},{key:"destroy",value:function(){return $.call(this)}},{key:"enableEventListeners",value:function(){return oe.call(this)}},{key:"disableEventListeners",value:function(){return re.call(this)}}]),e}();be.Utils=("undefined"!=typeof window?window:global).PopperUtils,be.placements=fe,be.Defaults=ge;var ye=be,we=function(e,t){return we=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},we(e,t)};var xe=function(){return xe=Object.assign||function(e){for(var t,n=1,o=arguments.length;n1?t-1:0),o=1;o0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,n=J(),a=n.createAnalyticsEvent,o=s({}),c=p((function(){var n=o.current;return Object.keys(n).filter((function(e){return!(e in t)})).forEach((function(t){return delete n[t]})),Object.keys(t).reduce((function(o,c){var i=t[c];if(!["object","function"].includes(O(i)))return o;var s=e[c];if(c in n&&n[c].eventCreator===i&&n[c].propValue===s)return X(X({},o),{},r({},c,n[c].wrappedCallback));var u=function(){var t="function"==typeof i?i(a,e):a(i);if(s&&"function"==typeof s){for(var n=arguments.length,r=new Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return function(e){var r=y((function(r,a){var o=M(t,r).patchedEventProps,i=J().createAnalyticsEvent;return c.createElement(e,n({},r,o,{createAnalyticsEvent:i,ref:a}))}));return r.displayName="WithAnalyticsEvents(".concat(e.displayName||e.name,")"),r}},q=e(t),z=(U="atlaskit",function(t){return function(e){var n=e(t),r=n.clone();return r&&r.fire(U),n}}),G=I({componentName:"select",packageName:"@atlaskit/select",packageVersion:"15.2.13"})(Y({onChange:z({action:"changed",actionSubject:"option",attributes:{componentName:"select",packageName:"@atlaskit/select",packageVersion:"15.2.13"}})})(q));export{G as S}; +import{S as t}from"./react-select.esm-30756303.js";import{n as e}from"./createSelect-e4a1e993.js";import{_ as n}from"./objectWithoutPropertiesLoose-982ef579.js";import{_ as r,a}from"./setPrototypeOf-c6ba02e6.js";import{_ as o}from"./objectWithoutProperties-90b89624.js";import c,{useContext as i,useRef as s,useEffect as u,Component as l,useCallback as f,useMemo as p,forwardRef as y}from"react";import{_ as v,a as d}from"./get-ae46b391.js";import{_ as h,a as O,b,c as m,e as g,d as j}from"./inherits-d3723d19.js";import{P as A}from"./index-1b214abf.js";import{A as P}from"./context-f854a00e.js";import{u as E}from"./use-memo-one.esm-19c0a4a5.js";function k(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,n=J(),a=n.createAnalyticsEvent,o=s({}),c=p((function(){var n=o.current;return Object.keys(n).filter((function(e){return!(e in t)})).forEach((function(t){return delete n[t]})),Object.keys(t).reduce((function(o,c){var i=t[c];if(!["object","function"].includes(O(i)))return o;var s=e[c];if(c in n&&n[c].eventCreator===i&&n[c].propValue===s)return X(X({},o),{},r({},c,n[c].wrappedCallback));var u=function(){var t="function"==typeof i?i(a,e):a(i);if(s&&"function"==typeof s){for(var n=arguments.length,r=new Array(n),o=0;o0&&void 0!==arguments[0]?arguments[0]:{};return function(e){var r=y((function(r,a){var o=M(t,r).patchedEventProps,i=J().createAnalyticsEvent;return c.createElement(e,n({},r,o,{createAnalyticsEvent:i,ref:a}))}));return r.displayName="WithAnalyticsEvents(".concat(e.displayName||e.name,")"),r}},q=e(t),z=(U="atlaskit",function(t){return function(e){var n=e(t),r=n.clone();return r&&r.fire(U),n}}),G=I({componentName:"select",packageName:"@atlaskit/select",packageVersion:"15.2.13"})(Y({onChange:z({action:"changed",actionSubject:"option",attributes:{componentName:"select",packageName:"@atlaskit/select",packageVersion:"15.2.13"}})})(q));export{G as S}; diff --git a/build/Transition-cb3ed67b.js b/build/Transition-c0090c7f.js similarity index 99% rename from build/Transition-cb3ed67b.js rename to build/Transition-c0090c7f.js index 2d1eabfc..f8f0bf2b 100644 --- a/build/Transition-cb3ed67b.js +++ b/build/Transition-c0090c7f.js @@ -1 +1 @@ -import{b as e}from"./_commonjsHelpers-6e998e78.js";import t from"react";import{R as n}from"./index-d0edc839.js";import{a2 as r}from"./math-dfd2e461.js";import{a as o}from"./objectWithoutPropertiesLoose-982ef579.js";import{_ as i}from"./inheritsLoose-6fd5c6e3.js";var a,u,s,c={exports:{}};a=c,u=!("undefined"==typeof window||!window.document||!window.document.createElement),s={canUseDOM:u,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:u&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:u&&!!window.screen},a.exports?a.exports=s:window.ExecutionEnvironment=s;var l=function(){var e=1,t=new WeakMap,n=function(r,o){return"number"==typeof r||"string"==typeof r?o?"idx-"+o:"val-"+r:t.has(r)?"uid"+t.get(r):(t.set(r,e++),n(r))};return n},p=l(),f=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=Array(r),i=0;it.clientHeight)return e.stopPropagation(),!0;return e.preventDefault(),!1},m.preventInertiaScroll=function(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)},m.isTouchDevice=function(){return!!b.canUseDOM&&("ontouchstart"in window||navigator.maxTouchPoints)},m.camelToKebab=function(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},m.parse=function(e){return isNaN(e)?e:e+"px"},m.getPadding=function(){if(!b.canUseDOM)return 0;var e=parseInt(window.getComputedStyle(document.body).paddingRight,10),t=window.innerWidth-document.documentElement.clientWidth;return e+t},m.getWindowHeight=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(b.canUseDOM)return window.innerHeight*e},m.getDocumentHeight=function(){if(b.canUseDOM)return document.body.clientHeight},m.makeStyleTag=function(){if(!b.canUseDOM)return;var e=document.createElement("style");return e.type="text/css",e.setAttribute("data-react-scrolllock",""),e},m.injectStyles=function(e,t){if(!b.canUseDOM)return;e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))},m.insertStyleTag=function(e){if(!b.canUseDOM)return;(document.head||document.getElementsByTagName("head")[0]).appendChild(e)};var b=c.exports;m.listenerOptions={capture:!1,passive:!1};var y=function(e,t){return function(){return t(e.apply(void 0,arguments))}};m.pipe=function(){for(var e=arguments.length,t=Array(e),n=0;n=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["children"]);return"function"==typeof t?t(this.getScrollableArea):(0,x.cloneElement)(t,E({ref:this.getScrollableArea},n))}}]),t}();var T={};Object.defineProperty(T,"__esModule",{value:!0});var k=function(){function e(e,t){for(var n=0;n