@equisoft/design-elements-react 6.1.1-snapshot.20240220025634 → 6.1.1-snapshot.20240220204607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js CHANGED
@@ -135,10 +135,10 @@
135
135
  `;function s(e,t="px"){return 0===e?"0":`${e}${t}`}function d(e,t=0,n=0){const a={topRight:{right:s(-t),top:s(n),transform:"translate(50%, -50%)"},bottomRight:{bottom:s(-n),right:s(-t),transform:"translate(50%, 50%)"},topLeft:{left:s(t),top:s(n),transform:"translate(-50%, -50%)"},bottomLeft:{bottom:s(-n),left:s(t),transform:"translate(-50%, 50%)"}},[r,i]=e.split("-",2);var o;return a[`${r}${o=i,o.charAt(0).toUpperCase()+o.slice(1)}`]}t.BadgeCircle=l.default.span`
136
136
  align-content: center;
137
137
  align-items: center;
138
- background-color: ${e=>e.theme.notifications["alert-2.1"]};
138
+ background-color: ${e=>e.theme.component["badge-background-color"]};
139
139
  border-radius: 0.5rem;
140
140
  box-sizing: border-box;
141
- color: ${e=>e.theme.greys.white};
141
+ color: ${e=>e.theme.component["badge-color"]};
142
142
  display: flex;
143
143
  font-size: 0.75rem;
144
144
  font-weight: 400;
@@ -150,7 +150,7 @@
150
150
  position: absolute;
151
151
  text-align: center;
152
152
  ${({$position:e,$offsetX:t,$offsetY:n})=>d(e,t,n)}
153
- ${({$animate:e,$position:t})=>e&&function(e){const t=d(e).transform||"",n=l.keyframes` /* stylelint-disable-line keyframes-name-pattern */
153
+ ${({$animate:e,$position:t})=>e&&function(e){const t=d(e).transform||"",n=l.keyframes`
154
154
  10% { transform: ${t} translateY(-4px); }
155
155
  20% { transform: ${t}; }
156
156
  `;return l.css`
@@ -193,7 +193,6 @@
193
193
  right: 0;
194
194
  width: initial;
195
195
 
196
- /* stylelint-disable-next-line declaration-block-semicolon-newline-after,rule-empty-line-before */
197
196
  ${p.StyledNavItem},
198
197
  ${p.HtmlLink} {
199
198
  height: 2.75rem;
@@ -633,7 +632,6 @@
633
632
  box-sizing: border-box;
634
633
  color: ${({theme:e})=>e.greys.black};
635
634
 
636
- /* stylelint-disable-next-line declaration-colon-newline-after */
637
635
  ${({isMobile:e,theme:t})=>e&&p.css`
638
636
  border: 1px solid ${t.main["primary-1.1"]};
639
637
  box-shadow: ${t.tokens["focus-box-shadow"]};
@@ -670,7 +668,6 @@
670
668
  background-color: ${({theme:e})=>e.main["primary-1.1"]};
671
669
  border-radius: 50%;
672
670
 
673
- /* stylelint-disable-next-line declaration-colon-newline-after */
674
671
  ${({isMobile:e,theme:t})=>e?`\n &[tabindex="0"] {\n box-shadow: ${t.tokens["focus-box-shadow"]};\n }\n `:`\n &:focus {\n box-shadow: ${t.tokens["focus-box-shadow"]};\n }\n `};
675
672
 
676
673
  &:hover {
@@ -1050,10 +1047,9 @@
1050
1047
  font-weight: var(--font-normal);
1051
1048
  letter-spacing: 0.02rem;
1052
1049
  line-height: ${({isMobile:e})=>e?"1.5rem":"1.25rem"};
1053
- `;t.FieldContainer=e=>{var{children:t,className:n,fieldId:r,hint:o,label:m,noInvalidFieldIcon:p,noMargin:f,required:h,tooltip:g,valid:v,validationErrorMessage:b}=e,y=a(e,["children","className","fieldId","hint","label","noInvalidFieldIcon","noMargin","required","tooltip","valid","validationErrorMessage"]);const{isMobile:w}=(0,l.useDeviceContext)();return(0,i.jsxs)(d,Object.assign({className:n,noMargin:f,hasLabel:!!m,hasHint:!!o,valid:v},y,{children:[m&&(0,i.jsx)(s.Label,{id:`${r}_label`,forId:r,tooltip:g,required:h,children:m}),o&&(0,i.jsx)(c,{id:`${r}_hint`,isMobile:w,children:o}),!v&&(0,i.jsx)(u.InvalidField,{controlId:r,feedbackMsg:b,noIcon:p}),t]}))};try{t.FieldContainer.displayName="FieldContainer",t.FieldContainer.__docgenInfo={description:"",displayName:"FieldContainer",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},fieldId:{defaultValue:null,description:"",name:"fieldId",required:!0,type:{name:"string"}},hint:{defaultValue:null,description:"",name:"hint",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},noInvalidFieldIcon:{defaultValue:null,description:"",name:"noInvalidFieldIcon",required:!1,type:{name:"boolean"}},noMargin:{defaultValue:null,description:"",name:"noMargin",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},tooltip:{defaultValue:null,description:"",name:"tooltip",required:!1,type:{name:"TooltipProps"}},valid:{defaultValue:null,description:"",name:"valid",required:!0,type:{name:"boolean"}},validationErrorMessage:{defaultValue:null,description:"",name:"validationErrorMessage",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/field-container/field-container.tsx#FieldContainer"]={docgenInfo:t.FieldContainer.__docgenInfo,name:"FieldContainer",path:"src/components/field-container/field-container.tsx#FieldContainer"})}catch(e){}},40193:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalBanner=void 0;const o=n(97905),l=n(39155),u=i(n(88694)),s=n(90605),d=n(84268),c=n(89129),m=n(77465);function p({bannerType:e,theme:t}){switch(e){case"alert":return t.notifications["alert-2.1"];case"warning":return t.notifications["warning-3.1"];case"info":return t.notifications["info-1.1"];case"default":return t.greys["dark-grey"]}}const f=u.default.strong`
1050
+ `;t.FieldContainer=e=>{var{children:t,className:n,fieldId:r,hint:o,label:m,noInvalidFieldIcon:p,noMargin:f,required:h,tooltip:g,valid:v,validationErrorMessage:b}=e,y=a(e,["children","className","fieldId","hint","label","noInvalidFieldIcon","noMargin","required","tooltip","valid","validationErrorMessage"]);const{isMobile:w}=(0,l.useDeviceContext)();return(0,i.jsxs)(d,Object.assign({className:n,noMargin:f,hasLabel:!!m,hasHint:!!o,valid:v},y,{children:[m&&(0,i.jsx)(s.Label,{id:`${r}_label`,forId:r,tooltip:g,required:h,children:m}),o&&(0,i.jsx)(c,{id:`${r}_hint`,isMobile:w,children:o}),!v&&(0,i.jsx)(u.InvalidField,{controlId:r,feedbackMsg:b,noIcon:p}),t]}))};try{t.FieldContainer.displayName="FieldContainer",t.FieldContainer.__docgenInfo={description:"",displayName:"FieldContainer",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},fieldId:{defaultValue:null,description:"",name:"fieldId",required:!0,type:{name:"string"}},hint:{defaultValue:null,description:"",name:"hint",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},noInvalidFieldIcon:{defaultValue:null,description:"",name:"noInvalidFieldIcon",required:!1,type:{name:"boolean"}},noMargin:{defaultValue:null,description:"",name:"noMargin",required:!1,type:{name:"boolean"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},tooltip:{defaultValue:null,description:"",name:"tooltip",required:!1,type:{name:"TooltipProps"}},valid:{defaultValue:null,description:"",name:"valid",required:!0,type:{name:"boolean"}},validationErrorMessage:{defaultValue:null,description:"",name:"validationErrorMessage",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/field-container/field-container.tsx#FieldContainer"]={docgenInfo:t.FieldContainer.__docgenInfo,name:"FieldContainer",path:"src/components/field-container/field-container.tsx#FieldContainer"})}catch(e){}},40193:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalBanner=void 0;const o=n(97905),l=n(39155),u=i(n(88694)),s=n(90605),d=n(84268),c=n(89129),m=n(77465);function p({bannerType:e,theme:t}){switch(e){case"alert":return t.component["global-banner-alert-background-color"];case"warning":return t.component["global-banner-warning-background-color"];case"info":return t.component["global-banner-info-background-color"];case"default":return t.component["global-banner-default-background-color"]}}const f=u.default.strong`
1054
1051
  display: ${({isMobile:e})=>e?"block":"inline"};
1055
1052
  font-weight: var(--font-semi-bold);
1056
-
1057
1053
  ${({isMobile:e})=>e?u.css`
1058
1054
  margin-bottom: var(--spacing-half);
1059
1055
  `:u.css`
@@ -1064,7 +1060,7 @@
1064
1060
  `,g=u.default.section`
1065
1061
  align-items: center;
1066
1062
  background-color: ${p};
1067
- color: ${function({bannerType:e,theme:t}){switch(e){case"alert":case"info":case"default":return t.greys.white;case"warning":return t.greys.black}}};
1063
+ color: ${function({bannerType:e,theme:t}){switch(e){case"alert":case"info":case"default":return t.component["global-banner-default-color"];case"warning":return t.component["global-banner-warning-color"]}}};
1068
1064
  display: flex;
1069
1065
  flex-flow: ${({isMobile:e})=>e?"column nowrap":"row rap"};
1070
1066
  font-size: ${({isMobile:e})=>e?1:.875}rem;
@@ -1096,11 +1092,10 @@
1096
1092
  `,y=u.default.span`
1097
1093
  letter-spacing: 0.015rem;
1098
1094
  margin: 0;
1099
- `;function w({bannerType:e,theme:t}){switch(e){case"alert":return"#f99d99";case"warning":return"#9e6900";case"info":return"#cfc1e3";case"default":return t.greys["mid-grey"]}}const _=(0,u.default)(d.Button).attrs({buttonType:"secondary",inverted:!0})`
1100
- /* stylelint-disable-next-line declaration-colon-newline-after */
1095
+ `;function w({bannerType:e,theme:t}){switch(e){case"alert":return t.component["global-banner-action-button-alert-hover-color"];case"warning":return t.component["global-banner-action-button-warning-hover-color"];case"info":return t.component["global-banner-action-button-info-hover-color"];case"default":return t.component["global-banner-action-button-default-hover-color"]}}const _=(0,u.default)(d.Button).attrs({buttonType:"secondary",inverted:!0})`
1101
1096
  ${({bannerType:e,theme:t})=>"warning"===e&&u.css`
1102
- border-color: ${t.greys.black};
1103
- color: ${t.greys.black};
1097
+ border-color: ${t.component["global-banner-action-button-warning-background-color"]};
1098
+ color: ${t.component["global-banner-action-button-warning-color"]};
1104
1099
  `};
1105
1100
 
1106
1101
  &:hover {
@@ -1111,20 +1106,20 @@
1111
1106
  &:focus {
1112
1107
  background-color: ${p};
1113
1108
  ${({bannerType:e,theme:t})=>"warning"===e&&u.css`
1114
- color: ${t.greys.black};
1109
+ color: ${t.component["global-banner-action-button-warning-color"]};
1115
1110
  `}
1116
1111
  }
1117
1112
  `,M=(0,u.default)(d.Button).attrs({buttonType:"tertiary",inverted:!0})`
1118
- color: ${({bannerType:e,theme:t})=>"warning"===e&&t.greys.black};
1113
+ color: ${function({bannerType:e,theme:t}){return"warning"===e?t.component["global-banner-tertiary-button-color"]:null}};
1119
1114
 
1120
1115
  &:focus {
1121
1116
  background-color: ${p};
1122
- color: ${({bannerType:e,theme:t})=>"warning"===e&&t.greys.black};
1117
+ color: ${function({bannerType:e,theme:t}){return"warning"===e?t.component["global-banner-tertiary-button-focus-color"]:null}};
1123
1118
  }
1124
1119
 
1125
1120
  &:hover {
1126
- background-color: ${function({bannerType:e}){switch(e){case"alert":return"#7b1a15";case"warning":return"#9e6900";case"info":return"#3a1c60";case"default":return"#878f9a"}}};
1127
- color: ${({bannerType:e,theme:t})=>"warning"===e&&t.greys.white};
1121
+ background-color: ${function({bannerType:e,theme:t}){switch(e){case"alert":return t.component["global-banner-tertiary-button-alert-hover-background-color"];case"warning":return t.component["global-banner-tertiary-button-warning-hover-background-color"];case"info":return t.component["global-banner-tertiary-button-info-hover-background-color"];case"default":return t.component["global-banner-tertiary-button-default-hover-background-color"]}}};
1122
+ color: ${function({bannerType:e,theme:t}){return"warning"===e?t.component["global-banner-tertiary-button-hover-color"]:null}};
1128
1123
  }
1129
1124
  `,E=u.default.div`
1130
1125
  display: flex;
@@ -1861,7 +1856,7 @@
1861
1856
  flex: 1;
1862
1857
  margin-bottom: 0;
1863
1858
 
1864
- input { /* stylelint-disable-line no-descending-specificity */
1859
+ input {
1865
1860
  ::-ms-reveal {
1866
1861
  display: none;
1867
1862
  }
@@ -1956,7 +1951,7 @@
1956
1951
  border-color: ${({theme:e})=>e.main["primary-1.1"]};
1957
1952
  }
1958
1953
  }
1959
- `;t.PasswordInput=e=>{var{id:t,name:n,label:a,hint:r,disabled:i,placeholder:s,value:c,defaultValue:m,validationErrorMessage:v,onBlur:_,onChange:M,onFocus:E}=e,k=o(e,["id","name","label","hint","disabled","placeholder","value","defaultValue","validationErrorMessage","onBlur","onChange","onFocus"]);const{t:C}=(0,p.useTranslation)("password-input"),[x,S]=(0,u.useState)(!1),P=void 0===v||""===v,O=(0,u.useMemo)((()=>t||(0,f.v4)()),[t]),L=(0,h.useDataAttributes)(k),T=(0,u.useCallback)((()=>{S(!x)}),[x]),H=(0,u.useCallback)((e=>{const t=e.target.value;null==M||M(t,e)}),[M]);return(0,l.jsx)(d.FieldContainer,{fieldId:O,label:a,hint:r,validationErrorMessage:null!=v?v:"",valid:P,children:(0,l.jsxs)(w,{children:[(0,l.jsx)(b,Object.assign({id:O,disabled:i,name:null!=n?n:"password",autoComplete:x?"off":"current-password",ariaInvalid:!P,onBlur:_,onChange:H,onFocus:E,placeholder:s,"data-testid":"password-input",type:x?"text":"password",defaultValue:m,value:c},L)),(0,l.jsx)(g.Tooltip,{desktopPlacement:"top",label:C(x?"hide-password":"show-password"),children:(0,l.jsx)(y,{$isValid:P,disabled:i,buttonType:"tertiary","aria-label":C("show-password"),iconName:x?"eyeOff":"eye","aria-pressed":x,"data-testid":"show-password-button",type:"button",onClick:T})})]})})};try{t.PasswordInput.displayName="PasswordInput",t.PasswordInput.__docgenInfo={description:"",displayName:"PasswordInput",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},hint:{defaultValue:null,description:"",name:"hint",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},validationErrorMessage:{defaultValue:null,description:"",name:"validationErrorMessage",required:!1,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((newPassword: string, event: ChangeEvent<HTMLInputElement>) => void)"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/password-input/password-input.tsx#PasswordInput"]={docgenInfo:t.PasswordInput.__docgenInfo,name:"PasswordInput",path:"src/components/password-input/password-input.tsx#PasswordInput"})}catch(e){}},2583:(e,t)=>{"use strict";function n(e){return(e.match(t.MATCH_ALL_DECIMAL_CHAR_OCCURRENCE_REGEX)||[]).length}function a(e){return n(e)>0}function r(e,t,n){if(t<0)return-1;const a=e.slice(t).indexOf(n);return a>=0?t+a:a}Object.defineProperty(t,"__esModule",{value:!0}),t.findNextInsertPositionFromPatternInputDiff=t.getPreviousPlaceholderIndex=t.getNextPlaceholderIndex=t.hasAnyDecimalChar=t.getDecimalCharCount=t.MATCH_ALL_DECIMAL_CHAR_OCCURRENCE_REGEX=void 0,t.MATCH_ALL_DECIMAL_CHAR_OCCURRENCE_REGEX=/\d/g,t.getDecimalCharCount=n,t.hasAnyDecimalChar=a,t.getNextPlaceholderIndex=r,t.getPreviousPlaceholderIndex=function(e,t,n){return t<0?-1:e.slice(0,t).lastIndexOf(n)},t.findNextInsertPositionFromPatternInputDiff=function(e,t,n){for(let i=0;i<e.length;i++)if(a(e[i])&&t[i]!==n){const e=r(t,i,n);return e>=0?e+1:e}return-1};try{t.getDecimalCharCount.displayName="getDecimalCharCount",t.getDecimalCharCount.__docgenInfo={description:"",displayName:"getDecimalCharCount",props:{toString:{defaultValue:null,description:"Returns a string representation of a string.",name:"toString",required:!1,type:{name:"() => string"}},charAt:{defaultValue:null,description:"Returns the character at the specified index.\n@param pos The zero-based index of the desired character.",name:"charAt",required:!0,type:{name:"(pos: number) => string"}},charCodeAt:{defaultValue:null,description:"Returns the Unicode value of the character at the specified location.\n@param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.",name:"charCodeAt",required:!0,type:{name:"(index: number) => number"}},concat:{defaultValue:null,description:"Returns a string that contains the concatenation of two or more strings.\n@param strings The strings to append to the end of the string.",name:"concat",required:!0,type:{name:"(...strings: string[]) => string"}},indexOf:{defaultValue:null,description:"Returns the position of the first occurrence of a substring.\n@param searchString The substring to search for in the string\n@param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.",name:"indexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:"Returns the last occurrence of a substring in the string.\n@param searchString The substring to search for.\n@param position The index at which to begin searching. If omitted, the search begins at the end of the string.",name:"lastIndexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},localeCompare:{defaultValue:null,description:"Determines whether two strings are equivalent in the current locale.\nDetermines whether two strings are equivalent in the current or specified locale.\n@param that String to compare to target string\n@param that String to compare to target string\n@param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n@param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.",name:"localeCompare",required:!0,type:{name:"{ (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; }"}},match:{defaultValue:null,description:"Matches a string with a regular expression, and returns an array containing the results of that search.\nMatches a string or an object that supports being matched against, and returns an array\ncontaining the results of that search, or null if no matches are found.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.\n@param matcher An object that supports being matched against.",name:"match",required:!0,type:{name:"{ (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }"}},replace:{defaultValue:null,description:"Replaces text in a string, using a regular expression or search string.\nPasses a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.\nReplaces text in a string, using an object that supports replacement within a string.\n@param searchValue A string or regular expression to search for.\n@param replaceValue A string containing the text to replace. When the {@linkcode searchValue } is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue } is replaced.\n@param searchValue A string to search for.\n@param replacer A function that returns the replacement text.\n@param searchValue An object that supports searching for and replacing matches within a string.\n@param replaceValue The replacement text.\n@param searchValue A object can search for and replace matches within a string.\n@param replacer A function that returns the replacement text.",name:"replace",required:!0,type:{name:"{ (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { ...; }, replaceValue: string): string; (searchValue: { ...; }, replacer: (substring: string, ...args: any[]) => string): string; }"}},search:{defaultValue:null,description:"Finds the first substring match in a regular expression search.\n@param regexp The regular expression pattern and applicable flags.\n@param searcher An object which supports searching within a string.",name:"search",required:!0,type:{name:"{ (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }"}},slice:{defaultValue:null,description:"Returns a section of a string.\n@param start The index to the beginning of the specified portion of stringObj.\n@param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\nIf this value is not specified, the substring continues to the end of stringObj.",name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => string"}},split:{defaultValue:null,description:"Split a string into substrings using the specified separator and return them as an array.\n@param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n@param limit A value used to limit the number of elements returned in the array.\n@param splitter An object that can split a string.\n@param limit A value used to limit the number of elements returned in the array.",name:"split",required:!0,type:{name:"{ (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }"}},substring:{defaultValue:null,description:"Returns the substring at the specified location within a String object.\n@param start The zero-based index number indicating the beginning of the substring.\n@param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\nIf end is omitted, the characters from start through the end of the original string are returned.",name:"substring",required:!0,type:{name:"(start: number, end?: number | undefined) => string"}},toLowerCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to lowercase.",name:"toLowerCase",required:!0,type:{name:"() => string"}},toLocaleLowerCase:{defaultValue:null,description:"Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.",name:"toLocaleLowerCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},toUpperCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to uppercase.",name:"toUpperCase",required:!0,type:{name:"() => string"}},toLocaleUpperCase:{defaultValue:null,description:"Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.",name:"toLocaleUpperCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},trim:{defaultValue:null,description:"Removes the leading and trailing white space and line terminator characters from a string.",name:"trim",required:!0,type:{name:"() => string"}},length:{defaultValue:null,description:"Returns the length of a String object.",name:"length",required:!0,type:{name:"number"}},substr:{defaultValue:null,description:"Gets a substring beginning at the specified location and having the specified length.\n@deprecated A legacy feature for browser compatibility\n@param from The starting position of the desired substring. The index of the first character in the string is zero.\n@param length The number of characters to include in the returned substring.",name:"substr",required:!0,type:{name:"(from: number, length?: number | undefined) => string"}},valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => string"}},codePointAt:{defaultValue:null,description:"Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\nvalue of the UTF-16 encoded code point starting at the string element at position pos in\nthe String resulting from converting this object to a String.\nIf there is no element at that position, the result is undefined.\nIf a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.",name:"codePointAt",required:!0,type:{name:"(pos: number) => number | undefined"}},includes:{defaultValue:null,description:"Returns true if searchString appears as a substring of the result of converting this\nobject to a String, at one or more positions that are\ngreater than or equal to position; otherwise, returns false.\n@param searchString search string\n@param position If position is undefined, 0 is assumed, so as to search all of the String.",name:"includes",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},endsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nendPosition – length(this). Otherwise returns false.",name:"endsWith",required:!0,type:{name:"(searchString: string, endPosition?: number | undefined) => boolean"}},normalize:{defaultValue:null,description:'Returns the String value result of normalizing the string into the normalization form\nnamed by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"',name:"normalize",required:!0,type:{name:'{ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string; (form?: string | undefined): string; }'}},repeat:{defaultValue:null,description:"Returns a String value that is made from count copies appended together. If count is 0,\nthe empty string is returned.\n@param count number of copies to append",name:"repeat",required:!0,type:{name:"(count: number) => string"}},startsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nposition. Otherwise returns false.",name:"startsWith",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},anchor:{defaultValue:null,description:"Returns an `<a>` HTML anchor element and sets the name attribute to the text value\n@deprecated A legacy feature for browser compatibility\n@param name",name:"anchor",required:!0,type:{name:"(name: string) => string"}},big:{defaultValue:null,description:"Returns a `<big>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"big",required:!0,type:{name:"() => string"}},blink:{defaultValue:null,description:"Returns a `<blink>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"blink",required:!0,type:{name:"() => string"}},bold:{defaultValue:null,description:"Returns a `<b>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"bold",required:!0,type:{name:"() => string"}},fixed:{defaultValue:null,description:"Returns a `<tt>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"fixed",required:!0,type:{name:"() => string"}},fontcolor:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the color attribute value\n@deprecated A legacy feature for browser compatibility",name:"fontcolor",required:!0,type:{name:"(color: string) => string"}},fontsize:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the size attribute value\n@deprecated A legacy feature for browser compatibility\n@deprecated A legacy feature for browser compatibility",name:"fontsize",required:!0,type:{name:"{ (size: number): string; (size: string): string; }"}},italics:{defaultValue:null,description:"Returns an `<i>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"italics",required:!0,type:{name:"() => string"}},link:{defaultValue:null,description:"Returns an `<a>` HTML element and sets the href attribute value\n@deprecated A legacy feature for browser compatibility",name:"link",required:!0,type:{name:"(url: string) => string"}},small:{defaultValue:null,description:"Returns a `<small>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"small",required:!0,type:{name:"() => string"}},strike:{defaultValue:null,description:"Returns a `<strike>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"strike",required:!0,type:{name:"() => string"}},sub:{defaultValue:null,description:"Returns a `<sub>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sub",required:!0,type:{name:"() => string"}},sup:{defaultValue:null,description:"Returns a `<sup>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sup",required:!0,type:{name:"() => string"}},padStart:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the start (left) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padStart",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},padEnd:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the end (right) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padEnd",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},trimEnd:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.",name:"trimEnd",required:!0,type:{name:"() => string"}},trimStart:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.",name:"trimStart",required:!0,type:{name:"() => string"}},trimLeft:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimStart` instead",name:"trimLeft",required:!0,type:{name:"() => string"}},trimRight:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimEnd` instead",name:"trimRight",required:!0,type:{name:"() => string"}},matchAll:{defaultValue:null,description:"Matches a string with a regular expression, and returns an iterable of matches\ncontaining the results of that search.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.",name:"matchAll",required:!0,type:{name:"(regexp: RegExp) => IterableIterator<RegExpMatchArray>"}},"__@iterator@49092":{defaultValue:null,description:"Iterator",name:"__@iterator@49092",required:!0,type:{name:"() => IterableIterator<string>"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"(index: number) => string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phone-input/phone-input-char-finder.tsx#getDecimalCharCount"]={docgenInfo:t.getDecimalCharCount.__docgenInfo,name:"getDecimalCharCount",path:"src/components/phone-input/phone-input-char-finder.tsx#getDecimalCharCount"})}catch(e){}try{t.hasAnyDecimalChar.displayName="hasAnyDecimalChar",t.hasAnyDecimalChar.__docgenInfo={description:"",displayName:"hasAnyDecimalChar",props:{toString:{defaultValue:null,description:"Returns a string representation of a string.",name:"toString",required:!1,type:{name:"() => string"}},charAt:{defaultValue:null,description:"Returns the character at the specified index.\n@param pos The zero-based index of the desired character.",name:"charAt",required:!0,type:{name:"(pos: number) => string"}},charCodeAt:{defaultValue:null,description:"Returns the Unicode value of the character at the specified location.\n@param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.",name:"charCodeAt",required:!0,type:{name:"(index: number) => number"}},concat:{defaultValue:null,description:"Returns a string that contains the concatenation of two or more strings.\n@param strings The strings to append to the end of the string.",name:"concat",required:!0,type:{name:"(...strings: string[]) => string"}},indexOf:{defaultValue:null,description:"Returns the position of the first occurrence of a substring.\n@param searchString The substring to search for in the string\n@param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.",name:"indexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:"Returns the last occurrence of a substring in the string.\n@param searchString The substring to search for.\n@param position The index at which to begin searching. If omitted, the search begins at the end of the string.",name:"lastIndexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},localeCompare:{defaultValue:null,description:"Determines whether two strings are equivalent in the current locale.\nDetermines whether two strings are equivalent in the current or specified locale.\n@param that String to compare to target string\n@param that String to compare to target string\n@param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n@param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.",name:"localeCompare",required:!0,type:{name:"{ (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; }"}},match:{defaultValue:null,description:"Matches a string with a regular expression, and returns an array containing the results of that search.\nMatches a string or an object that supports being matched against, and returns an array\ncontaining the results of that search, or null if no matches are found.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.\n@param matcher An object that supports being matched against.",name:"match",required:!0,type:{name:"{ (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }"}},replace:{defaultValue:null,description:"Replaces text in a string, using a regular expression or search string.\nPasses a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.\nReplaces text in a string, using an object that supports replacement within a string.\n@param searchValue A string or regular expression to search for.\n@param replaceValue A string containing the text to replace. When the {@linkcode searchValue } is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue } is replaced.\n@param searchValue A string to search for.\n@param replacer A function that returns the replacement text.\n@param searchValue An object that supports searching for and replacing matches within a string.\n@param replaceValue The replacement text.\n@param searchValue A object can search for and replace matches within a string.\n@param replacer A function that returns the replacement text.",name:"replace",required:!0,type:{name:"{ (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { ...; }, replaceValue: string): string; (searchValue: { ...; }, replacer: (substring: string, ...args: any[]) => string): string; }"}},search:{defaultValue:null,description:"Finds the first substring match in a regular expression search.\n@param regexp The regular expression pattern and applicable flags.\n@param searcher An object which supports searching within a string.",name:"search",required:!0,type:{name:"{ (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }"}},slice:{defaultValue:null,description:"Returns a section of a string.\n@param start The index to the beginning of the specified portion of stringObj.\n@param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\nIf this value is not specified, the substring continues to the end of stringObj.",name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => string"}},split:{defaultValue:null,description:"Split a string into substrings using the specified separator and return them as an array.\n@param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n@param limit A value used to limit the number of elements returned in the array.\n@param splitter An object that can split a string.\n@param limit A value used to limit the number of elements returned in the array.",name:"split",required:!0,type:{name:"{ (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }"}},substring:{defaultValue:null,description:"Returns the substring at the specified location within a String object.\n@param start The zero-based index number indicating the beginning of the substring.\n@param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\nIf end is omitted, the characters from start through the end of the original string are returned.",name:"substring",required:!0,type:{name:"(start: number, end?: number | undefined) => string"}},toLowerCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to lowercase.",name:"toLowerCase",required:!0,type:{name:"() => string"}},toLocaleLowerCase:{defaultValue:null,description:"Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.",name:"toLocaleLowerCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},toUpperCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to uppercase.",name:"toUpperCase",required:!0,type:{name:"() => string"}},toLocaleUpperCase:{defaultValue:null,description:"Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.",name:"toLocaleUpperCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},trim:{defaultValue:null,description:"Removes the leading and trailing white space and line terminator characters from a string.",name:"trim",required:!0,type:{name:"() => string"}},length:{defaultValue:null,description:"Returns the length of a String object.",name:"length",required:!0,type:{name:"number"}},substr:{defaultValue:null,description:"Gets a substring beginning at the specified location and having the specified length.\n@deprecated A legacy feature for browser compatibility\n@param from The starting position of the desired substring. The index of the first character in the string is zero.\n@param length The number of characters to include in the returned substring.",name:"substr",required:!0,type:{name:"(from: number, length?: number | undefined) => string"}},valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => string"}},codePointAt:{defaultValue:null,description:"Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\nvalue of the UTF-16 encoded code point starting at the string element at position pos in\nthe String resulting from converting this object to a String.\nIf there is no element at that position, the result is undefined.\nIf a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.",name:"codePointAt",required:!0,type:{name:"(pos: number) => number | undefined"}},includes:{defaultValue:null,description:"Returns true if searchString appears as a substring of the result of converting this\nobject to a String, at one or more positions that are\ngreater than or equal to position; otherwise, returns false.\n@param searchString search string\n@param position If position is undefined, 0 is assumed, so as to search all of the String.",name:"includes",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},endsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nendPosition – length(this). Otherwise returns false.",name:"endsWith",required:!0,type:{name:"(searchString: string, endPosition?: number | undefined) => boolean"}},normalize:{defaultValue:null,description:'Returns the String value result of normalizing the string into the normalization form\nnamed by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"',name:"normalize",required:!0,type:{name:'{ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string; (form?: string | undefined): string; }'}},repeat:{defaultValue:null,description:"Returns a String value that is made from count copies appended together. If count is 0,\nthe empty string is returned.\n@param count number of copies to append",name:"repeat",required:!0,type:{name:"(count: number) => string"}},startsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nposition. Otherwise returns false.",name:"startsWith",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},anchor:{defaultValue:null,description:"Returns an `<a>` HTML anchor element and sets the name attribute to the text value\n@deprecated A legacy feature for browser compatibility\n@param name",name:"anchor",required:!0,type:{name:"(name: string) => string"}},big:{defaultValue:null,description:"Returns a `<big>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"big",required:!0,type:{name:"() => string"}},blink:{defaultValue:null,description:"Returns a `<blink>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"blink",required:!0,type:{name:"() => string"}},bold:{defaultValue:null,description:"Returns a `<b>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"bold",required:!0,type:{name:"() => string"}},fixed:{defaultValue:null,description:"Returns a `<tt>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"fixed",required:!0,type:{name:"() => string"}},fontcolor:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the color attribute value\n@deprecated A legacy feature for browser compatibility",name:"fontcolor",required:!0,type:{name:"(color: string) => string"}},fontsize:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the size attribute value\n@deprecated A legacy feature for browser compatibility\n@deprecated A legacy feature for browser compatibility",name:"fontsize",required:!0,type:{name:"{ (size: number): string; (size: string): string; }"}},italics:{defaultValue:null,description:"Returns an `<i>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"italics",required:!0,type:{name:"() => string"}},link:{defaultValue:null,description:"Returns an `<a>` HTML element and sets the href attribute value\n@deprecated A legacy feature for browser compatibility",name:"link",required:!0,type:{name:"(url: string) => string"}},small:{defaultValue:null,description:"Returns a `<small>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"small",required:!0,type:{name:"() => string"}},strike:{defaultValue:null,description:"Returns a `<strike>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"strike",required:!0,type:{name:"() => string"}},sub:{defaultValue:null,description:"Returns a `<sub>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sub",required:!0,type:{name:"() => string"}},sup:{defaultValue:null,description:"Returns a `<sup>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sup",required:!0,type:{name:"() => string"}},padStart:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the start (left) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padStart",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},padEnd:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the end (right) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padEnd",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},trimEnd:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.",name:"trimEnd",required:!0,type:{name:"() => string"}},trimStart:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.",name:"trimStart",required:!0,type:{name:"() => string"}},trimLeft:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimStart` instead",name:"trimLeft",required:!0,type:{name:"() => string"}},trimRight:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimEnd` instead",name:"trimRight",required:!0,type:{name:"() => string"}},matchAll:{defaultValue:null,description:"Matches a string with a regular expression, and returns an iterable of matches\ncontaining the results of that search.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.",name:"matchAll",required:!0,type:{name:"(regexp: RegExp) => IterableIterator<RegExpMatchArray>"}},"__@iterator@49092":{defaultValue:null,description:"Iterator",name:"__@iterator@49092",required:!0,type:{name:"() => IterableIterator<string>"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"(index: number) => string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phone-input/phone-input-char-finder.tsx#hasAnyDecimalChar"]={docgenInfo:t.hasAnyDecimalChar.__docgenInfo,name:"hasAnyDecimalChar",path:"src/components/phone-input/phone-input-char-finder.tsx#hasAnyDecimalChar"})}catch(e){}},62528:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeDigitOnMaskCharRemoval=t.removeNonDigits=t.formatFromPattern=void 0;const a=n(2583);t.formatFromPattern=function(e,t,n){return Array.from(n).reduce(((e,n)=>e.replace(t,n)),e)},t.removeNonDigits=function(e){return e.replace(/\D/g,"")},t.removeDigitOnMaskCharRemoval=function(e,t,n,r){const i=t.replace(a.MATCH_ALL_DECIMAL_CHAR_OCCURRENCE_REGEX,"_"),o=r?(0,a.getPreviousPlaceholderIndex)(i,n,"_"):(0,a.getNextPlaceholderIndex)(i,n,"_");if(-1===o)return e;const l=t.slice(0,o),u=(0,a.getDecimalCharCount)(l);return e.slice(0,u)+e.slice(u+1)};try{t.removeNonDigits.displayName="removeNonDigits",t.removeNonDigits.__docgenInfo={description:"",displayName:"removeNonDigits",props:{toString:{defaultValue:null,description:"Returns a string representation of a string.",name:"toString",required:!1,type:{name:"() => string"}},charAt:{defaultValue:null,description:"Returns the character at the specified index.\n@param pos The zero-based index of the desired character.",name:"charAt",required:!0,type:{name:"(pos: number) => string"}},charCodeAt:{defaultValue:null,description:"Returns the Unicode value of the character at the specified location.\n@param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.",name:"charCodeAt",required:!0,type:{name:"(index: number) => number"}},concat:{defaultValue:null,description:"Returns a string that contains the concatenation of two or more strings.\n@param strings The strings to append to the end of the string.",name:"concat",required:!0,type:{name:"(...strings: string[]) => string"}},indexOf:{defaultValue:null,description:"Returns the position of the first occurrence of a substring.\n@param searchString The substring to search for in the string\n@param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.",name:"indexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:"Returns the last occurrence of a substring in the string.\n@param searchString The substring to search for.\n@param position The index at which to begin searching. If omitted, the search begins at the end of the string.",name:"lastIndexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},localeCompare:{defaultValue:null,description:"Determines whether two strings are equivalent in the current locale.\nDetermines whether two strings are equivalent in the current or specified locale.\n@param that String to compare to target string\n@param that String to compare to target string\n@param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n@param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.",name:"localeCompare",required:!0,type:{name:"{ (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; }"}},match:{defaultValue:null,description:"Matches a string with a regular expression, and returns an array containing the results of that search.\nMatches a string or an object that supports being matched against, and returns an array\ncontaining the results of that search, or null if no matches are found.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.\n@param matcher An object that supports being matched against.",name:"match",required:!0,type:{name:"{ (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }"}},replace:{defaultValue:null,description:"Replaces text in a string, using a regular expression or search string.\nPasses a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.\nReplaces text in a string, using an object that supports replacement within a string.\n@param searchValue A string or regular expression to search for.\n@param replaceValue A string containing the text to replace. When the {@linkcode searchValue } is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue } is replaced.\n@param searchValue A string to search for.\n@param replacer A function that returns the replacement text.\n@param searchValue An object that supports searching for and replacing matches within a string.\n@param replaceValue The replacement text.\n@param searchValue A object can search for and replace matches within a string.\n@param replacer A function that returns the replacement text.",name:"replace",required:!0,type:{name:"{ (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { ...; }, replaceValue: string): string; (searchValue: { ...; }, replacer: (substring: string, ...args: any[]) => string): string; }"}},search:{defaultValue:null,description:"Finds the first substring match in a regular expression search.\n@param regexp The regular expression pattern and applicable flags.\n@param searcher An object which supports searching within a string.",name:"search",required:!0,type:{name:"{ (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }"}},slice:{defaultValue:null,description:"Returns a section of a string.\n@param start The index to the beginning of the specified portion of stringObj.\n@param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\nIf this value is not specified, the substring continues to the end of stringObj.",name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => string"}},split:{defaultValue:null,description:"Split a string into substrings using the specified separator and return them as an array.\n@param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n@param limit A value used to limit the number of elements returned in the array.\n@param splitter An object that can split a string.\n@param limit A value used to limit the number of elements returned in the array.",name:"split",required:!0,type:{name:"{ (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }"}},substring:{defaultValue:null,description:"Returns the substring at the specified location within a String object.\n@param start The zero-based index number indicating the beginning of the substring.\n@param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\nIf end is omitted, the characters from start through the end of the original string are returned.",name:"substring",required:!0,type:{name:"(start: number, end?: number | undefined) => string"}},toLowerCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to lowercase.",name:"toLowerCase",required:!0,type:{name:"() => string"}},toLocaleLowerCase:{defaultValue:null,description:"Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.",name:"toLocaleLowerCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},toUpperCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to uppercase.",name:"toUpperCase",required:!0,type:{name:"() => string"}},toLocaleUpperCase:{defaultValue:null,description:"Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.",name:"toLocaleUpperCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},trim:{defaultValue:null,description:"Removes the leading and trailing white space and line terminator characters from a string.",name:"trim",required:!0,type:{name:"() => string"}},length:{defaultValue:null,description:"Returns the length of a String object.",name:"length",required:!0,type:{name:"number"}},substr:{defaultValue:null,description:"Gets a substring beginning at the specified location and having the specified length.\n@deprecated A legacy feature for browser compatibility\n@param from The starting position of the desired substring. The index of the first character in the string is zero.\n@param length The number of characters to include in the returned substring.",name:"substr",required:!0,type:{name:"(from: number, length?: number | undefined) => string"}},valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => string"}},codePointAt:{defaultValue:null,description:"Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\nvalue of the UTF-16 encoded code point starting at the string element at position pos in\nthe String resulting from converting this object to a String.\nIf there is no element at that position, the result is undefined.\nIf a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.",name:"codePointAt",required:!0,type:{name:"(pos: number) => number | undefined"}},includes:{defaultValue:null,description:"Returns true if searchString appears as a substring of the result of converting this\nobject to a String, at one or more positions that are\ngreater than or equal to position; otherwise, returns false.\n@param searchString search string\n@param position If position is undefined, 0 is assumed, so as to search all of the String.",name:"includes",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},endsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nendPosition – length(this). Otherwise returns false.",name:"endsWith",required:!0,type:{name:"(searchString: string, endPosition?: number | undefined) => boolean"}},normalize:{defaultValue:null,description:'Returns the String value result of normalizing the string into the normalization form\nnamed by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"',name:"normalize",required:!0,type:{name:'{ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string; (form?: string | undefined): string; }'}},repeat:{defaultValue:null,description:"Returns a String value that is made from count copies appended together. If count is 0,\nthe empty string is returned.\n@param count number of copies to append",name:"repeat",required:!0,type:{name:"(count: number) => string"}},startsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nposition. Otherwise returns false.",name:"startsWith",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},anchor:{defaultValue:null,description:"Returns an `<a>` HTML anchor element and sets the name attribute to the text value\n@deprecated A legacy feature for browser compatibility\n@param name",name:"anchor",required:!0,type:{name:"(name: string) => string"}},big:{defaultValue:null,description:"Returns a `<big>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"big",required:!0,type:{name:"() => string"}},blink:{defaultValue:null,description:"Returns a `<blink>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"blink",required:!0,type:{name:"() => string"}},bold:{defaultValue:null,description:"Returns a `<b>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"bold",required:!0,type:{name:"() => string"}},fixed:{defaultValue:null,description:"Returns a `<tt>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"fixed",required:!0,type:{name:"() => string"}},fontcolor:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the color attribute value\n@deprecated A legacy feature for browser compatibility",name:"fontcolor",required:!0,type:{name:"(color: string) => string"}},fontsize:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the size attribute value\n@deprecated A legacy feature for browser compatibility\n@deprecated A legacy feature for browser compatibility",name:"fontsize",required:!0,type:{name:"{ (size: number): string; (size: string): string; }"}},italics:{defaultValue:null,description:"Returns an `<i>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"italics",required:!0,type:{name:"() => string"}},link:{defaultValue:null,description:"Returns an `<a>` HTML element and sets the href attribute value\n@deprecated A legacy feature for browser compatibility",name:"link",required:!0,type:{name:"(url: string) => string"}},small:{defaultValue:null,description:"Returns a `<small>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"small",required:!0,type:{name:"() => string"}},strike:{defaultValue:null,description:"Returns a `<strike>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"strike",required:!0,type:{name:"() => string"}},sub:{defaultValue:null,description:"Returns a `<sub>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sub",required:!0,type:{name:"() => string"}},sup:{defaultValue:null,description:"Returns a `<sup>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sup",required:!0,type:{name:"() => string"}},padStart:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the start (left) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padStart",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},padEnd:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the end (right) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padEnd",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},trimEnd:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.",name:"trimEnd",required:!0,type:{name:"() => string"}},trimStart:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.",name:"trimStart",required:!0,type:{name:"() => string"}},trimLeft:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimStart` instead",name:"trimLeft",required:!0,type:{name:"() => string"}},trimRight:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimEnd` instead",name:"trimRight",required:!0,type:{name:"() => string"}},matchAll:{defaultValue:null,description:"Matches a string with a regular expression, and returns an iterable of matches\ncontaining the results of that search.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.",name:"matchAll",required:!0,type:{name:"(regexp: RegExp) => IterableIterator<RegExpMatchArray>"}},"__@iterator@49092":{defaultValue:null,description:"Iterator",name:"__@iterator@49092",required:!0,type:{name:"() => IterableIterator<string>"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"(index: number) => string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phone-input/phone-input-value-formater.tsx#removeNonDigits"]={docgenInfo:t.removeNonDigits.__docgenInfo,name:"removeNonDigits",path:"src/components/phone-input/phone-input-value-formater.tsx#removeNonDigits"})}catch(e){}},27173:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trimCharAfterMaxLength=t.getMaskFromSplitIndex=t.getValueFromSplitIndex=void 0;const a=n(2583);t.getValueFromSplitIndex=function(e,t){let n;return n=(0,a.hasAnyDecimalChar)(e)?-1===t?e:e.slice(0,t):"",n},t.getMaskFromSplitIndex=function(e,t,n){let r;return r=(0,a.hasAnyDecimalChar)(e)?-1===t?"":e.slice(t):n,r},t.trimCharAfterMaxLength=function(e,t){return e.substr(0,t)}},12917:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PhoneInput=void 0;const i=n(97905),o=n(39155),l=r(n(88694)),u=n(4544),s=n(89129),d=n(49391),c=n(2583),m=n(62528),p=n(27173),f=l.default.div`
1954
+ `;t.PasswordInput=e=>{var{id:t,name:n,label:a,hint:r,disabled:i,placeholder:s,value:c,defaultValue:m,validationErrorMessage:v,onBlur:_,onChange:M,onFocus:E}=e,k=o(e,["id","name","label","hint","disabled","placeholder","value","defaultValue","validationErrorMessage","onBlur","onChange","onFocus"]);const{t:C}=(0,p.useTranslation)("password-input"),[x,S]=(0,u.useState)(!1),P=void 0===v||""===v,O=(0,u.useMemo)((()=>t||(0,f.v4)()),[t]),L=(0,h.useDataAttributes)(k),T=(0,u.useCallback)((()=>{S(!x)}),[x]),H=(0,u.useCallback)((e=>{const t=e.target.value;null==M||M(t,e)}),[M]);return(0,l.jsx)(d.FieldContainer,{fieldId:O,label:a,hint:r,validationErrorMessage:null!=v?v:"",valid:P,children:(0,l.jsxs)(w,{children:[(0,l.jsx)(b,Object.assign({id:O,disabled:i,name:null!=n?n:"password",autoComplete:x?"off":"current-password",ariaInvalid:!P,onBlur:_,onChange:H,onFocus:E,placeholder:s,"data-testid":"password-input",type:x?"text":"password",defaultValue:m,value:c},L)),(0,l.jsx)(g.Tooltip,{desktopPlacement:"top",label:C(x?"hide-password":"show-password"),children:(0,l.jsx)(y,{$isValid:P,disabled:i,buttonType:"tertiary","aria-label":C("show-password"),iconName:x?"eyeOff":"eye","aria-pressed":x,"data-testid":"show-password-button",type:"button",onClick:T})})]})})};try{t.PasswordInput.displayName="PasswordInput",t.PasswordInput.__docgenInfo={description:"",displayName:"PasswordInput",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},hint:{defaultValue:null,description:"",name:"hint",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},validationErrorMessage:{defaultValue:null,description:"",name:"validationErrorMessage",required:!1,type:{name:"string"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((newPassword: string, event: ChangeEvent<HTMLInputElement>) => void)"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/password-input/password-input.tsx#PasswordInput"]={docgenInfo:t.PasswordInput.__docgenInfo,name:"PasswordInput",path:"src/components/password-input/password-input.tsx#PasswordInput"})}catch(e){}},2583:(e,t)=>{"use strict";function n(e){return(e.match(t.MATCH_ALL_DECIMAL_CHAR_OCCURRENCE_REGEX)||[]).length}function a(e){return n(e)>0}function r(e,t,n){if(t<0)return-1;const a=e.slice(t).indexOf(n);return a>=0?t+a:a}Object.defineProperty(t,"__esModule",{value:!0}),t.findNextInsertPositionFromPatternInputDiff=t.getPreviousPlaceholderIndex=t.getNextPlaceholderIndex=t.hasAnyDecimalChar=t.getDecimalCharCount=t.MATCH_ALL_DECIMAL_CHAR_OCCURRENCE_REGEX=void 0,t.MATCH_ALL_DECIMAL_CHAR_OCCURRENCE_REGEX=/\d/g,t.getDecimalCharCount=n,t.hasAnyDecimalChar=a,t.getNextPlaceholderIndex=r,t.getPreviousPlaceholderIndex=function(e,t,n){return t<0?-1:e.slice(0,t).lastIndexOf(n)},t.findNextInsertPositionFromPatternInputDiff=function(e,t,n){for(let i=0;i<e.length;i++)if(a(e[i])&&t[i]!==n){const e=r(t,i,n);return e>=0?e+1:e}return-1};try{t.getDecimalCharCount.displayName="getDecimalCharCount",t.getDecimalCharCount.__docgenInfo={description:"",displayName:"getDecimalCharCount",props:{toString:{defaultValue:null,description:"Returns a string representation of a string.",name:"toString",required:!1,type:{name:"() => string"}},charAt:{defaultValue:null,description:"Returns the character at the specified index.\n@param pos The zero-based index of the desired character.",name:"charAt",required:!0,type:{name:"(pos: number) => string"}},charCodeAt:{defaultValue:null,description:"Returns the Unicode value of the character at the specified location.\n@param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.",name:"charCodeAt",required:!0,type:{name:"(index: number) => number"}},concat:{defaultValue:null,description:"Returns a string that contains the concatenation of two or more strings.\n@param strings The strings to append to the end of the string.",name:"concat",required:!0,type:{name:"(...strings: string[]) => string"}},indexOf:{defaultValue:null,description:"Returns the position of the first occurrence of a substring.\n@param searchString The substring to search for in the string\n@param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.",name:"indexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:"Returns the last occurrence of a substring in the string.\n@param searchString The substring to search for.\n@param position The index at which to begin searching. If omitted, the search begins at the end of the string.",name:"lastIndexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},localeCompare:{defaultValue:null,description:"Determines whether two strings are equivalent in the current locale.\nDetermines whether two strings are equivalent in the current or specified locale.\n@param that String to compare to target string\n@param that String to compare to target string\n@param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n@param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.",name:"localeCompare",required:!0,type:{name:"{ (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; }"}},match:{defaultValue:null,description:"Matches a string with a regular expression, and returns an array containing the results of that search.\nMatches a string or an object that supports being matched against, and returns an array\ncontaining the results of that search, or null if no matches are found.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.\n@param matcher An object that supports being matched against.",name:"match",required:!0,type:{name:"{ (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }"}},replace:{defaultValue:null,description:"Replaces text in a string, using a regular expression or search string.\nPasses a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.\nReplaces text in a string, using an object that supports replacement within a string.\n@param searchValue A string or regular expression to search for.\n@param replaceValue A string containing the text to replace. When the {@linkcode searchValue } is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue } is replaced.\n@param searchValue A string to search for.\n@param replacer A function that returns the replacement text.\n@param searchValue An object that supports searching for and replacing matches within a string.\n@param replaceValue The replacement text.\n@param searchValue A object can search for and replace matches within a string.\n@param replacer A function that returns the replacement text.",name:"replace",required:!0,type:{name:"{ (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { ...; }, replaceValue: string): string; (searchValue: { ...; }, replacer: (substring: string, ...args: any[]) => string): string; }"}},search:{defaultValue:null,description:"Finds the first substring match in a regular expression search.\n@param regexp The regular expression pattern and applicable flags.\n@param searcher An object which supports searching within a string.",name:"search",required:!0,type:{name:"{ (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }"}},slice:{defaultValue:null,description:"Returns a section of a string.\n@param start The index to the beginning of the specified portion of stringObj.\n@param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\nIf this value is not specified, the substring continues to the end of stringObj.",name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => string"}},split:{defaultValue:null,description:"Split a string into substrings using the specified separator and return them as an array.\n@param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n@param limit A value used to limit the number of elements returned in the array.\n@param splitter An object that can split a string.\n@param limit A value used to limit the number of elements returned in the array.",name:"split",required:!0,type:{name:"{ (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }"}},substring:{defaultValue:null,description:"Returns the substring at the specified location within a String object.\n@param start The zero-based index number indicating the beginning of the substring.\n@param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\nIf end is omitted, the characters from start through the end of the original string are returned.",name:"substring",required:!0,type:{name:"(start: number, end?: number | undefined) => string"}},toLowerCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to lowercase.",name:"toLowerCase",required:!0,type:{name:"() => string"}},toLocaleLowerCase:{defaultValue:null,description:"Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.",name:"toLocaleLowerCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},toUpperCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to uppercase.",name:"toUpperCase",required:!0,type:{name:"() => string"}},toLocaleUpperCase:{defaultValue:null,description:"Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.",name:"toLocaleUpperCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},trim:{defaultValue:null,description:"Removes the leading and trailing white space and line terminator characters from a string.",name:"trim",required:!0,type:{name:"() => string"}},length:{defaultValue:null,description:"Returns the length of a String object.",name:"length",required:!0,type:{name:"number"}},substr:{defaultValue:null,description:"Gets a substring beginning at the specified location and having the specified length.\n@deprecated A legacy feature for browser compatibility\n@param from The starting position of the desired substring. The index of the first character in the string is zero.\n@param length The number of characters to include in the returned substring.",name:"substr",required:!0,type:{name:"(from: number, length?: number | undefined) => string"}},valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => string"}},codePointAt:{defaultValue:null,description:"Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\nvalue of the UTF-16 encoded code point starting at the string element at position pos in\nthe String resulting from converting this object to a String.\nIf there is no element at that position, the result is undefined.\nIf a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.",name:"codePointAt",required:!0,type:{name:"(pos: number) => number | undefined"}},includes:{defaultValue:null,description:"Returns true if searchString appears as a substring of the result of converting this\nobject to a String, at one or more positions that are\ngreater than or equal to position; otherwise, returns false.\n@param searchString search string\n@param position If position is undefined, 0 is assumed, so as to search all of the String.",name:"includes",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},endsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nendPosition – length(this). Otherwise returns false.",name:"endsWith",required:!0,type:{name:"(searchString: string, endPosition?: number | undefined) => boolean"}},normalize:{defaultValue:null,description:'Returns the String value result of normalizing the string into the normalization form\nnamed by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"',name:"normalize",required:!0,type:{name:'{ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string; (form?: string | undefined): string; }'}},repeat:{defaultValue:null,description:"Returns a String value that is made from count copies appended together. If count is 0,\nthe empty string is returned.\n@param count number of copies to append",name:"repeat",required:!0,type:{name:"(count: number) => string"}},startsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nposition. Otherwise returns false.",name:"startsWith",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},anchor:{defaultValue:null,description:"Returns an `<a>` HTML anchor element and sets the name attribute to the text value\n@deprecated A legacy feature for browser compatibility\n@param name",name:"anchor",required:!0,type:{name:"(name: string) => string"}},big:{defaultValue:null,description:"Returns a `<big>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"big",required:!0,type:{name:"() => string"}},blink:{defaultValue:null,description:"Returns a `<blink>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"blink",required:!0,type:{name:"() => string"}},bold:{defaultValue:null,description:"Returns a `<b>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"bold",required:!0,type:{name:"() => string"}},fixed:{defaultValue:null,description:"Returns a `<tt>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"fixed",required:!0,type:{name:"() => string"}},fontcolor:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the color attribute value\n@deprecated A legacy feature for browser compatibility",name:"fontcolor",required:!0,type:{name:"(color: string) => string"}},fontsize:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the size attribute value\n@deprecated A legacy feature for browser compatibility\n@deprecated A legacy feature for browser compatibility",name:"fontsize",required:!0,type:{name:"{ (size: number): string; (size: string): string; }"}},italics:{defaultValue:null,description:"Returns an `<i>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"italics",required:!0,type:{name:"() => string"}},link:{defaultValue:null,description:"Returns an `<a>` HTML element and sets the href attribute value\n@deprecated A legacy feature for browser compatibility",name:"link",required:!0,type:{name:"(url: string) => string"}},small:{defaultValue:null,description:"Returns a `<small>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"small",required:!0,type:{name:"() => string"}},strike:{defaultValue:null,description:"Returns a `<strike>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"strike",required:!0,type:{name:"() => string"}},sub:{defaultValue:null,description:"Returns a `<sub>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sub",required:!0,type:{name:"() => string"}},sup:{defaultValue:null,description:"Returns a `<sup>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sup",required:!0,type:{name:"() => string"}},padStart:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the start (left) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padStart",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},padEnd:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the end (right) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padEnd",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},trimEnd:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.",name:"trimEnd",required:!0,type:{name:"() => string"}},trimStart:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.",name:"trimStart",required:!0,type:{name:"() => string"}},trimLeft:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimStart` instead",name:"trimLeft",required:!0,type:{name:"() => string"}},trimRight:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimEnd` instead",name:"trimRight",required:!0,type:{name:"() => string"}},matchAll:{defaultValue:null,description:"Matches a string with a regular expression, and returns an iterable of matches\ncontaining the results of that search.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.",name:"matchAll",required:!0,type:{name:"(regexp: RegExp) => IterableIterator<RegExpMatchArray>"}},"__@iterator@49226":{defaultValue:null,description:"Iterator",name:"__@iterator@49226",required:!0,type:{name:"() => IterableIterator<string>"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"(index: number) => string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phone-input/phone-input-char-finder.tsx#getDecimalCharCount"]={docgenInfo:t.getDecimalCharCount.__docgenInfo,name:"getDecimalCharCount",path:"src/components/phone-input/phone-input-char-finder.tsx#getDecimalCharCount"})}catch(e){}try{t.hasAnyDecimalChar.displayName="hasAnyDecimalChar",t.hasAnyDecimalChar.__docgenInfo={description:"",displayName:"hasAnyDecimalChar",props:{toString:{defaultValue:null,description:"Returns a string representation of a string.",name:"toString",required:!1,type:{name:"() => string"}},charAt:{defaultValue:null,description:"Returns the character at the specified index.\n@param pos The zero-based index of the desired character.",name:"charAt",required:!0,type:{name:"(pos: number) => string"}},charCodeAt:{defaultValue:null,description:"Returns the Unicode value of the character at the specified location.\n@param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.",name:"charCodeAt",required:!0,type:{name:"(index: number) => number"}},concat:{defaultValue:null,description:"Returns a string that contains the concatenation of two or more strings.\n@param strings The strings to append to the end of the string.",name:"concat",required:!0,type:{name:"(...strings: string[]) => string"}},indexOf:{defaultValue:null,description:"Returns the position of the first occurrence of a substring.\n@param searchString The substring to search for in the string\n@param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.",name:"indexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:"Returns the last occurrence of a substring in the string.\n@param searchString The substring to search for.\n@param position The index at which to begin searching. If omitted, the search begins at the end of the string.",name:"lastIndexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},localeCompare:{defaultValue:null,description:"Determines whether two strings are equivalent in the current locale.\nDetermines whether two strings are equivalent in the current or specified locale.\n@param that String to compare to target string\n@param that String to compare to target string\n@param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n@param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.",name:"localeCompare",required:!0,type:{name:"{ (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; }"}},match:{defaultValue:null,description:"Matches a string with a regular expression, and returns an array containing the results of that search.\nMatches a string or an object that supports being matched against, and returns an array\ncontaining the results of that search, or null if no matches are found.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.\n@param matcher An object that supports being matched against.",name:"match",required:!0,type:{name:"{ (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }"}},replace:{defaultValue:null,description:"Replaces text in a string, using a regular expression or search string.\nPasses a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.\nReplaces text in a string, using an object that supports replacement within a string.\n@param searchValue A string or regular expression to search for.\n@param replaceValue A string containing the text to replace. When the {@linkcode searchValue } is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue } is replaced.\n@param searchValue A string to search for.\n@param replacer A function that returns the replacement text.\n@param searchValue An object that supports searching for and replacing matches within a string.\n@param replaceValue The replacement text.\n@param searchValue A object can search for and replace matches within a string.\n@param replacer A function that returns the replacement text.",name:"replace",required:!0,type:{name:"{ (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { ...; }, replaceValue: string): string; (searchValue: { ...; }, replacer: (substring: string, ...args: any[]) => string): string; }"}},search:{defaultValue:null,description:"Finds the first substring match in a regular expression search.\n@param regexp The regular expression pattern and applicable flags.\n@param searcher An object which supports searching within a string.",name:"search",required:!0,type:{name:"{ (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }"}},slice:{defaultValue:null,description:"Returns a section of a string.\n@param start The index to the beginning of the specified portion of stringObj.\n@param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\nIf this value is not specified, the substring continues to the end of stringObj.",name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => string"}},split:{defaultValue:null,description:"Split a string into substrings using the specified separator and return them as an array.\n@param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n@param limit A value used to limit the number of elements returned in the array.\n@param splitter An object that can split a string.\n@param limit A value used to limit the number of elements returned in the array.",name:"split",required:!0,type:{name:"{ (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }"}},substring:{defaultValue:null,description:"Returns the substring at the specified location within a String object.\n@param start The zero-based index number indicating the beginning of the substring.\n@param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\nIf end is omitted, the characters from start through the end of the original string are returned.",name:"substring",required:!0,type:{name:"(start: number, end?: number | undefined) => string"}},toLowerCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to lowercase.",name:"toLowerCase",required:!0,type:{name:"() => string"}},toLocaleLowerCase:{defaultValue:null,description:"Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.",name:"toLocaleLowerCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},toUpperCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to uppercase.",name:"toUpperCase",required:!0,type:{name:"() => string"}},toLocaleUpperCase:{defaultValue:null,description:"Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.",name:"toLocaleUpperCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},trim:{defaultValue:null,description:"Removes the leading and trailing white space and line terminator characters from a string.",name:"trim",required:!0,type:{name:"() => string"}},length:{defaultValue:null,description:"Returns the length of a String object.",name:"length",required:!0,type:{name:"number"}},substr:{defaultValue:null,description:"Gets a substring beginning at the specified location and having the specified length.\n@deprecated A legacy feature for browser compatibility\n@param from The starting position of the desired substring. The index of the first character in the string is zero.\n@param length The number of characters to include in the returned substring.",name:"substr",required:!0,type:{name:"(from: number, length?: number | undefined) => string"}},valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => string"}},codePointAt:{defaultValue:null,description:"Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\nvalue of the UTF-16 encoded code point starting at the string element at position pos in\nthe String resulting from converting this object to a String.\nIf there is no element at that position, the result is undefined.\nIf a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.",name:"codePointAt",required:!0,type:{name:"(pos: number) => number | undefined"}},includes:{defaultValue:null,description:"Returns true if searchString appears as a substring of the result of converting this\nobject to a String, at one or more positions that are\ngreater than or equal to position; otherwise, returns false.\n@param searchString search string\n@param position If position is undefined, 0 is assumed, so as to search all of the String.",name:"includes",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},endsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nendPosition – length(this). Otherwise returns false.",name:"endsWith",required:!0,type:{name:"(searchString: string, endPosition?: number | undefined) => boolean"}},normalize:{defaultValue:null,description:'Returns the String value result of normalizing the string into the normalization form\nnamed by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"',name:"normalize",required:!0,type:{name:'{ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string; (form?: string | undefined): string; }'}},repeat:{defaultValue:null,description:"Returns a String value that is made from count copies appended together. If count is 0,\nthe empty string is returned.\n@param count number of copies to append",name:"repeat",required:!0,type:{name:"(count: number) => string"}},startsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nposition. Otherwise returns false.",name:"startsWith",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},anchor:{defaultValue:null,description:"Returns an `<a>` HTML anchor element and sets the name attribute to the text value\n@deprecated A legacy feature for browser compatibility\n@param name",name:"anchor",required:!0,type:{name:"(name: string) => string"}},big:{defaultValue:null,description:"Returns a `<big>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"big",required:!0,type:{name:"() => string"}},blink:{defaultValue:null,description:"Returns a `<blink>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"blink",required:!0,type:{name:"() => string"}},bold:{defaultValue:null,description:"Returns a `<b>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"bold",required:!0,type:{name:"() => string"}},fixed:{defaultValue:null,description:"Returns a `<tt>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"fixed",required:!0,type:{name:"() => string"}},fontcolor:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the color attribute value\n@deprecated A legacy feature for browser compatibility",name:"fontcolor",required:!0,type:{name:"(color: string) => string"}},fontsize:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the size attribute value\n@deprecated A legacy feature for browser compatibility\n@deprecated A legacy feature for browser compatibility",name:"fontsize",required:!0,type:{name:"{ (size: number): string; (size: string): string; }"}},italics:{defaultValue:null,description:"Returns an `<i>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"italics",required:!0,type:{name:"() => string"}},link:{defaultValue:null,description:"Returns an `<a>` HTML element and sets the href attribute value\n@deprecated A legacy feature for browser compatibility",name:"link",required:!0,type:{name:"(url: string) => string"}},small:{defaultValue:null,description:"Returns a `<small>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"small",required:!0,type:{name:"() => string"}},strike:{defaultValue:null,description:"Returns a `<strike>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"strike",required:!0,type:{name:"() => string"}},sub:{defaultValue:null,description:"Returns a `<sub>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sub",required:!0,type:{name:"() => string"}},sup:{defaultValue:null,description:"Returns a `<sup>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sup",required:!0,type:{name:"() => string"}},padStart:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the start (left) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padStart",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},padEnd:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the end (right) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padEnd",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},trimEnd:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.",name:"trimEnd",required:!0,type:{name:"() => string"}},trimStart:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.",name:"trimStart",required:!0,type:{name:"() => string"}},trimLeft:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimStart` instead",name:"trimLeft",required:!0,type:{name:"() => string"}},trimRight:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimEnd` instead",name:"trimRight",required:!0,type:{name:"() => string"}},matchAll:{defaultValue:null,description:"Matches a string with a regular expression, and returns an iterable of matches\ncontaining the results of that search.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.",name:"matchAll",required:!0,type:{name:"(regexp: RegExp) => IterableIterator<RegExpMatchArray>"}},"__@iterator@49226":{defaultValue:null,description:"Iterator",name:"__@iterator@49226",required:!0,type:{name:"() => IterableIterator<string>"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"(index: number) => string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phone-input/phone-input-char-finder.tsx#hasAnyDecimalChar"]={docgenInfo:t.hasAnyDecimalChar.__docgenInfo,name:"hasAnyDecimalChar",path:"src/components/phone-input/phone-input-char-finder.tsx#hasAnyDecimalChar"})}catch(e){}},62528:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeDigitOnMaskCharRemoval=t.removeNonDigits=t.formatFromPattern=void 0;const a=n(2583);t.formatFromPattern=function(e,t,n){return Array.from(n).reduce(((e,n)=>e.replace(t,n)),e)},t.removeNonDigits=function(e){return e.replace(/\D/g,"")},t.removeDigitOnMaskCharRemoval=function(e,t,n,r){const i=t.replace(a.MATCH_ALL_DECIMAL_CHAR_OCCURRENCE_REGEX,"_"),o=r?(0,a.getPreviousPlaceholderIndex)(i,n,"_"):(0,a.getNextPlaceholderIndex)(i,n,"_");if(-1===o)return e;const l=t.slice(0,o),u=(0,a.getDecimalCharCount)(l);return e.slice(0,u)+e.slice(u+1)};try{t.removeNonDigits.displayName="removeNonDigits",t.removeNonDigits.__docgenInfo={description:"",displayName:"removeNonDigits",props:{toString:{defaultValue:null,description:"Returns a string representation of a string.",name:"toString",required:!1,type:{name:"() => string"}},charAt:{defaultValue:null,description:"Returns the character at the specified index.\n@param pos The zero-based index of the desired character.",name:"charAt",required:!0,type:{name:"(pos: number) => string"}},charCodeAt:{defaultValue:null,description:"Returns the Unicode value of the character at the specified location.\n@param index The zero-based index of the desired character. If there is no character at the specified index, NaN is returned.",name:"charCodeAt",required:!0,type:{name:"(index: number) => number"}},concat:{defaultValue:null,description:"Returns a string that contains the concatenation of two or more strings.\n@param strings The strings to append to the end of the string.",name:"concat",required:!0,type:{name:"(...strings: string[]) => string"}},indexOf:{defaultValue:null,description:"Returns the position of the first occurrence of a substring.\n@param searchString The substring to search for in the string\n@param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.",name:"indexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:"Returns the last occurrence of a substring in the string.\n@param searchString The substring to search for.\n@param position The index at which to begin searching. If omitted, the search begins at the end of the string.",name:"lastIndexOf",required:!0,type:{name:"(searchString: string, position?: number | undefined) => number"}},localeCompare:{defaultValue:null,description:"Determines whether two strings are equivalent in the current locale.\nDetermines whether two strings are equivalent in the current or specified locale.\n@param that String to compare to target string\n@param that String to compare to target string\n@param locales A locale string or array of locale strings that contain one or more language or locale tags. If you include more than one locale string, list them in descending order of priority so that the first entry is the preferred locale. If you omit this parameter, the default locale of the JavaScript runtime is used. This parameter must conform to BCP 47 standards; see the Intl.Collator object for details.\n@param options An object that contains one or more properties that specify comparison options. see the Intl.Collator object for details.",name:"localeCompare",required:!0,type:{name:"{ (that: string): number; (that: string, locales?: string | string[] | undefined, options?: CollatorOptions | undefined): number; }"}},match:{defaultValue:null,description:"Matches a string with a regular expression, and returns an array containing the results of that search.\nMatches a string or an object that supports being matched against, and returns an array\ncontaining the results of that search, or null if no matches are found.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.\n@param matcher An object that supports being matched against.",name:"match",required:!0,type:{name:"{ (regexp: string | RegExp): RegExpMatchArray | null; (matcher: { [Symbol.match](string: string): RegExpMatchArray | null; }): RegExpMatchArray | null; }"}},replace:{defaultValue:null,description:"Replaces text in a string, using a regular expression or search string.\nPasses a string and {@linkcode replaceValue} to the `[Symbol.replace]` method on {@linkcode searchValue}. This method is expected to implement its own replacement algorithm.\nReplaces text in a string, using an object that supports replacement within a string.\n@param searchValue A string or regular expression to search for.\n@param replaceValue A string containing the text to replace. When the {@linkcode searchValue } is a `RegExp`, all matches are replaced if the `g` flag is set (or only those matches at the beginning, if the `y` flag is also present). Otherwise, only the first match of {@linkcode searchValue } is replaced.\n@param searchValue A string to search for.\n@param replacer A function that returns the replacement text.\n@param searchValue An object that supports searching for and replacing matches within a string.\n@param replaceValue The replacement text.\n@param searchValue A object can search for and replace matches within a string.\n@param replacer A function that returns the replacement text.",name:"replace",required:!0,type:{name:"{ (searchValue: string | RegExp, replaceValue: string): string; (searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string; (searchValue: { ...; }, replaceValue: string): string; (searchValue: { ...; }, replacer: (substring: string, ...args: any[]) => string): string; }"}},search:{defaultValue:null,description:"Finds the first substring match in a regular expression search.\n@param regexp The regular expression pattern and applicable flags.\n@param searcher An object which supports searching within a string.",name:"search",required:!0,type:{name:"{ (regexp: string | RegExp): number; (searcher: { [Symbol.search](string: string): number; }): number; }"}},slice:{defaultValue:null,description:"Returns a section of a string.\n@param start The index to the beginning of the specified portion of stringObj.\n@param end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.\nIf this value is not specified, the substring continues to the end of stringObj.",name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => string"}},split:{defaultValue:null,description:"Split a string into substrings using the specified separator and return them as an array.\n@param separator A string that identifies character or characters to use in separating the string. If omitted, a single-element array containing the entire string is returned.\n@param limit A value used to limit the number of elements returned in the array.\n@param splitter An object that can split a string.\n@param limit A value used to limit the number of elements returned in the array.",name:"split",required:!0,type:{name:"{ (separator: string | RegExp, limit?: number | undefined): string[]; (splitter: { [Symbol.split](string: string, limit?: number | undefined): string[]; }, limit?: number | undefined): string[]; }"}},substring:{defaultValue:null,description:"Returns the substring at the specified location within a String object.\n@param start The zero-based index number indicating the beginning of the substring.\n@param end Zero-based index number indicating the end of the substring. The substring includes the characters up to, but not including, the character indicated by end.\nIf end is omitted, the characters from start through the end of the original string are returned.",name:"substring",required:!0,type:{name:"(start: number, end?: number | undefined) => string"}},toLowerCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to lowercase.",name:"toLowerCase",required:!0,type:{name:"() => string"}},toLocaleLowerCase:{defaultValue:null,description:"Converts all alphabetic characters to lowercase, taking into account the host environment's current locale.",name:"toLocaleLowerCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},toUpperCase:{defaultValue:null,description:"Converts all the alphabetic characters in a string to uppercase.",name:"toUpperCase",required:!0,type:{name:"() => string"}},toLocaleUpperCase:{defaultValue:null,description:"Returns a string where all alphabetic characters have been converted to uppercase, taking into account the host environment's current locale.",name:"toLocaleUpperCase",required:!0,type:{name:"(locales?: string | string[] | undefined) => string"}},trim:{defaultValue:null,description:"Removes the leading and trailing white space and line terminator characters from a string.",name:"trim",required:!0,type:{name:"() => string"}},length:{defaultValue:null,description:"Returns the length of a String object.",name:"length",required:!0,type:{name:"number"}},substr:{defaultValue:null,description:"Gets a substring beginning at the specified location and having the specified length.\n@deprecated A legacy feature for browser compatibility\n@param from The starting position of the desired substring. The index of the first character in the string is zero.\n@param length The number of characters to include in the returned substring.",name:"substr",required:!0,type:{name:"(from: number, length?: number | undefined) => string"}},valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => string"}},codePointAt:{defaultValue:null,description:"Returns a nonnegative integer Number less than 1114112 (0x110000) that is the code point\nvalue of the UTF-16 encoded code point starting at the string element at position pos in\nthe String resulting from converting this object to a String.\nIf there is no element at that position, the result is undefined.\nIf a valid UTF-16 surrogate pair does not begin at pos, the result is the code unit at pos.",name:"codePointAt",required:!0,type:{name:"(pos: number) => number | undefined"}},includes:{defaultValue:null,description:"Returns true if searchString appears as a substring of the result of converting this\nobject to a String, at one or more positions that are\ngreater than or equal to position; otherwise, returns false.\n@param searchString search string\n@param position If position is undefined, 0 is assumed, so as to search all of the String.",name:"includes",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},endsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nendPosition – length(this). Otherwise returns false.",name:"endsWith",required:!0,type:{name:"(searchString: string, endPosition?: number | undefined) => boolean"}},normalize:{defaultValue:null,description:'Returns the String value result of normalizing the string into the normalization form\nnamed by form as specified in Unicode Standard Annex #15, Unicode Normalization Forms.\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"\n@param form Applicable values: "NFC", "NFD", "NFKC", or "NFKD", If not specified default\nis "NFC"',name:"normalize",required:!0,type:{name:'{ (form: "NFC" | "NFD" | "NFKC" | "NFKD"): string; (form?: string | undefined): string; }'}},repeat:{defaultValue:null,description:"Returns a String value that is made from count copies appended together. If count is 0,\nthe empty string is returned.\n@param count number of copies to append",name:"repeat",required:!0,type:{name:"(count: number) => string"}},startsWith:{defaultValue:null,description:"Returns true if the sequence of elements of searchString converted to a String is the\nsame as the corresponding elements of this object (converted to a String) starting at\nposition. Otherwise returns false.",name:"startsWith",required:!0,type:{name:"(searchString: string, position?: number | undefined) => boolean"}},anchor:{defaultValue:null,description:"Returns an `<a>` HTML anchor element and sets the name attribute to the text value\n@deprecated A legacy feature for browser compatibility\n@param name",name:"anchor",required:!0,type:{name:"(name: string) => string"}},big:{defaultValue:null,description:"Returns a `<big>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"big",required:!0,type:{name:"() => string"}},blink:{defaultValue:null,description:"Returns a `<blink>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"blink",required:!0,type:{name:"() => string"}},bold:{defaultValue:null,description:"Returns a `<b>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"bold",required:!0,type:{name:"() => string"}},fixed:{defaultValue:null,description:"Returns a `<tt>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"fixed",required:!0,type:{name:"() => string"}},fontcolor:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the color attribute value\n@deprecated A legacy feature for browser compatibility",name:"fontcolor",required:!0,type:{name:"(color: string) => string"}},fontsize:{defaultValue:null,description:"Returns a `<font>` HTML element and sets the size attribute value\n@deprecated A legacy feature for browser compatibility\n@deprecated A legacy feature for browser compatibility",name:"fontsize",required:!0,type:{name:"{ (size: number): string; (size: string): string; }"}},italics:{defaultValue:null,description:"Returns an `<i>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"italics",required:!0,type:{name:"() => string"}},link:{defaultValue:null,description:"Returns an `<a>` HTML element and sets the href attribute value\n@deprecated A legacy feature for browser compatibility",name:"link",required:!0,type:{name:"(url: string) => string"}},small:{defaultValue:null,description:"Returns a `<small>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"small",required:!0,type:{name:"() => string"}},strike:{defaultValue:null,description:"Returns a `<strike>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"strike",required:!0,type:{name:"() => string"}},sub:{defaultValue:null,description:"Returns a `<sub>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sub",required:!0,type:{name:"() => string"}},sup:{defaultValue:null,description:"Returns a `<sup>` HTML element\n@deprecated A legacy feature for browser compatibility",name:"sup",required:!0,type:{name:"() => string"}},padStart:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the start (left) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padStart",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},padEnd:{defaultValue:null,description:'Pads the current string with a given string (possibly repeated) so that the resulting string reaches a given length.\nThe padding is applied from the end (right) of the current string.\n@param maxLength The length of the resulting string once the current string has been padded.\nIf this parameter is smaller than the current string\'s length, the current string will be returned as it is.\n@param fillString The string to pad the current string with.\nIf this string is too long, it will be truncated and the left-most part will be applied.\nThe default value for this parameter is " " (U+0020).',name:"padEnd",required:!0,type:{name:"(maxLength: number, fillString?: string | undefined) => string"}},trimEnd:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.",name:"trimEnd",required:!0,type:{name:"() => string"}},trimStart:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.",name:"trimStart",required:!0,type:{name:"() => string"}},trimLeft:{defaultValue:null,description:"Removes the leading white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimStart` instead",name:"trimLeft",required:!0,type:{name:"() => string"}},trimRight:{defaultValue:null,description:"Removes the trailing white space and line terminator characters from a string.\n@deprecated A legacy feature for browser compatibility. Use `trimEnd` instead",name:"trimRight",required:!0,type:{name:"() => string"}},matchAll:{defaultValue:null,description:"Matches a string with a regular expression, and returns an iterable of matches\ncontaining the results of that search.\n@param regexp A variable name or string literal containing the regular expression pattern and flags.",name:"matchAll",required:!0,type:{name:"(regexp: RegExp) => IterableIterator<RegExpMatchArray>"}},"__@iterator@49226":{defaultValue:null,description:"Iterator",name:"__@iterator@49226",required:!0,type:{name:"() => IterableIterator<string>"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"(index: number) => string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/phone-input/phone-input-value-formater.tsx#removeNonDigits"]={docgenInfo:t.removeNonDigits.__docgenInfo,name:"removeNonDigits",path:"src/components/phone-input/phone-input-value-formater.tsx#removeNonDigits"})}catch(e){}},27173:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trimCharAfterMaxLength=t.getMaskFromSplitIndex=t.getValueFromSplitIndex=void 0;const a=n(2583);t.getValueFromSplitIndex=function(e,t){let n;return n=(0,a.hasAnyDecimalChar)(e)?-1===t?e:e.slice(0,t):"",n},t.getMaskFromSplitIndex=function(e,t,n){let r;return r=(0,a.hasAnyDecimalChar)(e)?-1===t?"":e.slice(t):n,r},t.trimCharAfterMaxLength=function(e,t){return e.substr(0,t)}},12917:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PhoneInput=void 0;const i=n(97905),o=n(39155),l=r(n(88694)),u=n(4544),s=n(89129),d=n(49391),c=n(2583),m=n(62528),p=n(27173),f=l.default.div`
1960
1955
  background: transparent;
1961
1956
  bottom: 1px;
1962
1957
  color: ${({theme:e})=>e.greys["dark-grey"]};
@@ -2178,8 +2173,6 @@
2178
2173
  background-color: ${({theme:e})=>e.greys.grey};
2179
2174
  border-color: ${({theme:e})=>e.greys.black};
2180
2175
 
2181
- /* stylelint-disable-next-line declaration-block-semicolon-newline-after,rule-empty-line-before */
2182
-
2183
2176
  ${t.Description},
2184
2177
  ${t.Title} {
2185
2178
  color: ${({theme:e})=>e.greys.black};
@@ -2302,7 +2295,7 @@
2302
2295
  padding-bottom: var(--spacing-half);
2303
2296
  padding-left: ${({hasIcon:e})=>e?"1.75rem":"var(--spacing-1x)"};
2304
2297
  padding-right: ${({hasReset:e})=>e?"1.75rem":"var(--spacing-1x)"};
2305
- padding-top: var(--spacing-half); /* stylelint-disable-line declaration-block-no-redundant-longhand-properties */
2298
+ padding-top: var(--spacing-half);
2306
2299
 
2307
2300
  label + & {
2308
2301
  margin-top: 0;
@@ -2353,8 +2346,8 @@
2353
2346
  `:u.css`
2354
2347
  display: flex;
2355
2348
  `}function y(e,t,n=t){return u.default.section`
2356
- background-color: ${e};
2357
- border: 1px solid ${e=>t?e.theme.notifications[t]:e.theme.main["primary-3"]};
2349
+ background-color: ${t=>t.theme.component[e]};
2350
+ border: 1px solid ${e=>e.theme.component[t||"sectional-banner-border-color"]};
2358
2351
  border-radius: var(--border-radius-2x);
2359
2352
  box-sizing: border-box;
2360
2353
  line-height: ${({isMobile:e})=>g(e)}px;
@@ -2369,12 +2362,12 @@
2369
2362
  ${e=>(0,h.focusVisibleReset)(e,!0)};
2370
2363
 
2371
2364
  ${v} {
2372
- color: ${e=>n?e.theme.notifications[n]:e.theme.main["primary-3"]};
2365
+ color: ${e=>e.theme.component[n||"sectional-banner-icon-color"]};
2373
2366
  flex: 0 0 auto;
2374
2367
  height: 1rem;
2375
2368
  width: 1rem;
2376
2369
  }
2377
- `}const w=y("#fafafa","neutral-1.1"),_=y("#f3f9fd","info-1.1"),M=y("#f9f7fb","discovery-1.1"),E=y("#f6fbf8","success-1.1"),k=y("#fffbf5","warning-3.1","warning-3.4"),C=y("#fdf6f7","alert-2.1"),x=u.default.p`
2370
+ `}const w=y("sectional-banner-neutral-background-color","sectional-banner-neutral-border-color"),_=y("sectional-banner-info-background-color","sectional-banner-info-border-color"),M=y("sectional-banner-discovery-background-color","sectional-banner-discovery-border-color"),E=y("sectional-banner-success-background-color","sectional-banner-success-border-color"),k=y("sectional-banner-warning-background-color","sectional-banner-warning-border-color","sectional-banner-warning-icon-color"),C=y("sectional-banner-alert-background-color","sectional-banner-alert-border-color"),x=u.default.p`
2378
2371
  font-size: ${e=>e.isMobile?"1rem":"0.875rem"};
2379
2372
  margin: ${e=>e.isMobile?"var(--spacing-2x)":"var(--spacing-half)"} 0 0 0;
2380
2373
  `,S=u.default.div`
@@ -2398,7 +2391,7 @@
2398
2391
  box-shadow: 0 6px 10px 0 rgb(0 0 0 / 10%);
2399
2392
  height: calc(100vh - ${({isDesktop:e})=>e?48:56}px);
2400
2393
  ${({origin:e})=>`${e}: 0`};
2401
- overflow-x: hidden; /* stylelint-disable-line declaration-empty-line-before */
2394
+ overflow-x: hidden;
2402
2395
  overflow-y: auto;
2403
2396
  position: fixed;
2404
2397
  top: ${({isDesktop:e})=>e?48:56}px;
@@ -2436,7 +2429,7 @@
2436
2429
  `;t.SkipLink=({className:e,href:t,onClick:n})=>{const{isMobile:a}=(0,u.useDeviceContext)(),{t:i}=(0,o.useTranslation)("skip-link");return(0,r.jsx)(s,{className:e,href:t,isMobile:a,onClick:n,children:i("label")})};try{t.SkipLink.displayName="SkipLink",t.SkipLink.__docgenInfo={description:"",displayName:"SkipLink",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},href:{defaultValue:null,description:"",name:"href",required:!0,type:{name:"string"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"((event: MouseEvent<HTMLAnchorElement, MouseEvent>) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/skip-link/skip-link.tsx#SkipLink"]={docgenInfo:t.SkipLink.__docgenInfo,name:"SkipLink",path:"src/components/skip-link/skip-link.tsx#SkipLink"})}catch(e){}},24609:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Spinner=void 0;const r=a(n(88694)),i=a(n(89610)),o=(0,r.default)(i.default)`
2437
2430
  animation: roll 1s infinite;
2438
2431
  animation-timing-function: linear;
2439
- fill: ${e=>e.theme.main["primary-1.1"]};
2432
+ fill: ${e=>e.theme.component["spinner-fill"]};
2440
2433
  height: 80px;
2441
2434
  width: 83px;
2442
2435
 
@@ -2800,12 +2793,12 @@
2800
2793
  padding: ${({$isGlobal:e})=>e?"0":"0 0 0 var(--spacing-4x)"};
2801
2794
  `;t.Tabs=({className:e,contained:t,global:n,forceRenderTabPanels:r,tabs:l})=>{const p=(0,o.useMemo)((()=>l.map(((e,t)=>{var n;return Object.assign(Object.assign({},e),{id:null!==(n=e.id)&&void 0!==n?n:`${t}`,panelId:(0,s.v4)(),buttonRef:(0,o.createRef)()})}))),[l]),[f,h]=(0,o.useState)(p[0]);function g(e){return f.id===e}return(0,i.jsxs)("div",{className:e,children:[(0,i.jsx)(m,{role:"tablist","aria-label":"tabs label",$isGlobal:n,children:p.map(((e,t)=>(0,i.jsx)(d.TabButton,{global:n,id:e.id,panelId:e.panelId,"data-testid":`tab-button-${t+1}`,leftIcon:e.leftIcon,rightIcon:e.rightIcon,isSelected:g(e.id),ref:e.buttonRef,onClick:()=>function(e){return a(this,void 0,void 0,(function*(){(null==f?void 0:f.onBeforeUnload)?(yield f.onBeforeUnload())&&h(e):h(e)}))}(e),onKeyDown:t=>function(e,t){var n,a,r,i,o;const l=p.findIndex((e=>e.id===t.id));switch(e.key){case"ArrowRight":{const e=(0,u.getNextElement)(p,l,{wrapAround:!0});null===(n=null==e?void 0:e.buttonRef.current)||void 0===n||n.focus();break}case"ArrowLeft":{const e=(0,u.getPreviousElement)(p,l,{wrapAround:!0});null===(a=null==e?void 0:e.buttonRef.current)||void 0===a||a.focus();break}case"Tab":g(t.id)||(e.preventDefault(),null===(r=null==f?void 0:f.buttonRef.current)||void 0===r||r.focus());break;case"Home":p[0].id===t.id||(e.preventDefault(),null===(i=p[0].buttonRef.current)||void 0===i||i.focus());break;case"End":p[p.length-1].id===t.id||(e.preventDefault(),null===(o=p[p.length-1].buttonRef.current)||void 0===o||o.focus())}}(t,e),children:e.title},e.panelId)))}),p.map((e=>r||g(e.id)?(0,i.jsx)(c.TabPanel,{buttonId:e.id,contained:t&&!n,hidden:!g(e.id),id:e.panelId,children:e.panelContent},e.panelId):null))]})};try{t.Tabs.displayName="Tabs",t.Tabs.__docgenInfo={description:"",displayName:"Tabs",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},contained:{defaultValue:null,description:"Not available in global mode",name:"contained",required:!1,type:{name:"boolean"}},forceRenderTabPanels:{defaultValue:null,description:"",name:"forceRenderTabPanels",required:!1,type:{name:"boolean"}},global:{defaultValue:null,description:"",name:"global",required:!1,type:{name:"boolean"}},tabs:{defaultValue:null,description:"",name:"tabs",required:!0,type:{name:"Tab[]"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tabs/tabs.tsx#Tabs"]={docgenInfo:t.Tabs.__docgenInfo,name:"Tabs",path:"src/components/tabs/tabs.tsx#Tabs"})}catch(e){}},25357:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.Tag=void 0;const o=n(97905),l=n(39155),u=i(n(88694)),s=n(90605),d=n(94094),c=n(89129),m=n(77465);function p(e){return e?"20":"12"}function f(e){return"medium"===e}function h(e){return"small"===e}const g=(0,u.default)(m.Icon)`
2802
2795
  /* TODO change when updating thematization */
2803
- color: #60666e;
2796
+ color: ${({theme:e})=>e.component["tag-delete-icon-color"]};
2804
2797
  height: var(--size-1x);
2805
2798
  margin-right: var(--spacing-half);
2806
2799
  vertical-align: text-bottom;
2807
2800
  width: var(--size-1x);
2808
- `,v=(0,u.default)(m.Icon).attrs({"aria-hidden":"true",name:"x",color:"#60666e"})``,b=u.default.span`
2801
+ `,v=(0,u.default)(m.Icon).attrs({"aria-hidden":"true",name:"x"})``,b=u.default.span`
2809
2802
  display: inline-block;
2810
2803
  font-size: ${function({$isMobile:e}){return e?.875:.75}}rem;
2811
2804
  line-height: ${function({$isMobile:e,$tagSize:t}){return h(t)?e?1.5:1:e?1.875:1.5}}rem;
@@ -2829,21 +2822,21 @@
2829
2822
 
2830
2823
  &:hover {
2831
2824
  /* TODO fix with next thematization gray65 */
2832
- background-color: #dbdee1;
2825
+ background-color: ${({theme:e})=>e.component["tag-delete-button-hover-background-color"]};
2833
2826
 
2834
2827
  ${v} {
2835
- color: ${({theme:e})=>e.greys.black};
2828
+ color: ${({theme:e})=>e.component["tag-delete-button-icon-color"]};
2836
2829
  }
2837
2830
  }
2838
2831
 
2839
2832
  ${d.focus};
2840
2833
  `,w=u.default.span`
2841
2834
  align-items: center;
2842
- background-color: ${({theme:e})=>e.greys["light-grey"]};
2835
+ background-color: ${({theme:e})=>e.component["tag-background-color"]};
2843
2836
 
2844
2837
  /* TODO fix with next thematization gray50 */
2845
2838
  border-radius: ${function({$clickable:e,$isMobile:t,$tagSize:n}){if(e){const e=h(n);return t?e?"var(--border-radius-3x)":"var(--border-radius-4x)":e?"var(--border-radius-2x)":"var(--border-radius-3x)"}return t||f(n)?"var(--border-radius)":"var(--border-radius-half)"}};
2846
- box-shadow: inset 0 0 0 1px #878f9a;
2839
+ box-shadow: inset 0 0 0 1px ${({theme:e})=>e.component["tag-box-shadow-color"]};
2847
2840
  display: inline-flex;
2848
2841
  padding: ${function({$isMobile:e,$tagSize:t}){return e||f(t)?"0 var(--spacing-1x)":"0 var(--spacing-half)"}};
2849
2842
 
@@ -2851,18 +2844,18 @@
2851
2844
  margin-left: var(--spacing-1x);
2852
2845
  }
2853
2846
 
2854
- ${y} { /* stylelint-disable-line no-descending-specificity */
2847
+ ${y} {
2855
2848
  margin-right: calc(-1 * var(--spacing-half));
2856
2849
  }
2857
2850
 
2858
2851
  ${function({$clickable:e}){return e&&u.css`
2859
2852
  &:hover {
2860
2853
  /* TODO fix with next thematization gray65 */
2861
- background-color: #dbdee1;
2862
- border-color: ${({theme:e})=>e.greys["dark-grey"]};
2854
+ background-color: ${({theme:e})=>e.component["tag-clickable-hover-background-color"]};
2855
+ border-color: ${({theme:e})=>e.component["tag-clickable-hover-border-color"]};
2863
2856
 
2864
2857
  ${g} {
2865
- color: ${({theme:e})=>e.greys.black};
2858
+ color: ${({theme:e})=>e.component["tag-clickable-hover-icon-color"]};
2866
2859
  }
2867
2860
  }
2868
2861
 
@@ -2946,7 +2939,7 @@
2946
2939
  ${(0,r.focus)({theme:e},!0)}
2947
2940
  `;try{t.responsiveInputsStyle.displayName="responsiveInputsStyle",t.responsiveInputsStyle.__docgenInfo={description:"",displayName:"responsiveInputsStyle",props:{theme:{defaultValue:null,description:"",name:"theme",required:!0,type:{name:"ResolvedTheme"}},device:{defaultValue:null,description:"",name:"device",required:!0,type:{name:"DeviceContextProps"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/text-input/styles/inputs.tsx#responsiveInputsStyle"]={docgenInfo:t.responsiveInputsStyle.__docgenInfo,name:"responsiveInputsStyle",path:"src/components/text-input/styles/inputs.tsx#responsiveInputsStyle"})}catch(e){}},49391:function(e,t,n){"use strict";var a=this&&this.__rest||function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n},r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TextInput=void 0;const i=n(97905),o=n(39155),l=r(n(88694)),u=n(4544),s=n(90605),d=n(89129),c=n(52089),m=n(86835),p=n(91043),f=n(76681),h=l.default.input`
2948
2941
  ${({theme:e,isMobile:t})=>(0,m.inputsStyle)(e,t)}
2949
- `;t.TextInput=(0,o.forwardRef)(((e,t)=>{var{ariaDescribedBy:n,ariaInvalid:r,className:l,defaultValue:m,disabled:g,hint:v,id:b,inputMode:y,label:w,tooltip:_,name:M,noMargin:E,pattern:k,placeholder:C,required:x,type:S,valid:P,validationErrorMessage:O,value:L,autoComplete:T,onBlur:H,onChange:V,onFocus:q,onKeyUp:D,onKeyDown:j,onMouseUp:A}=e,F=a(e,["ariaDescribedBy","ariaInvalid","className","defaultValue","disabled","hint","id","inputMode","label","tooltip","name","noMargin","pattern","placeholder","required","type","valid","validationErrorMessage","value","autoComplete","onBlur","onChange","onFocus","onKeyUp","onKeyDown","onMouseUp"]);const{isMobile:R}=(0,d.useDeviceContext)(),{t:I}=(0,s.useTranslation)("text-input"),[{validity:z},W]=(0,o.useState)({validity:null==P||P}),N=(0,f.useId)(b),B=(0,u.useDataAttributes)(F),$=(0,p.useAriaConditionalIds)([{id:n},{id:`${N}_invalid`,include:!z},{id:`${N}_hint`,include:!!v}]),Y=(0,o.useCallback)((e=>{void 0===P&&W({validity:e.currentTarget.checkValidity()}),H&&H(e)}),[H,P]),U=(0,o.useCallback)((()=>{void 0===P&&W({validity:!1})}),[P]),K=(0,o.useCallback)((e=>{V&&V(e)}),[V]),G=(0,o.useCallback)((e=>{q&&q(e)}),[q]);return(0,o.useEffect)((()=>{void 0!==P&&W({validity:P})}),[P]),(0,i.jsx)(c.FieldContainer,{className:l,noMargin:E,fieldId:N,label:w,required:x,tooltip:_,valid:z,validationErrorMessage:O||I("validationErrorMessage"),hint:v,"data-testid":"field-container",children:(0,i.jsx)(h,Object.assign({"aria-describedby":$||void 0,"aria-invalid":r,autoComplete:T,"data-testid":"text-input",isMobile:R,defaultValue:m,disabled:g,id:N,inputMode:y,name:M,ref:t,onBlur:Y,onChange:K,onFocus:G,onMouseUp:A,onKeyUp:D,onKeyDown:j,onInvalid:U,pattern:k,placeholder:C,required:x,type:S||"text",value:L},B))})})),t.TextInput.displayName="TextInput";try{t.TextInput.displayName="TextInput",t.TextInput.__docgenInfo={description:"",displayName:"TextInput",props:{ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},ariaInvalid:{defaultValue:null,description:"",name:"ariaInvalid",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},noMargin:{defaultValue:null,description:"Disables default margin",name:"noMargin",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},tooltip:{defaultValue:null,description:"",name:"tooltip",required:!1,type:{name:"TooltipProps"}},pattern:{defaultValue:null,description:"",name:"pattern",required:!1,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"string"}},valid:{defaultValue:null,description:"",name:"valid",required:!1,type:{name:"boolean"}},validationErrorMessage:{defaultValue:null,description:"",name:"validationErrorMessage",required:!1,type:{name:"string"}},hint:{defaultValue:null,description:"",name:"hint",required:!1,type:{name:"string"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent<HTMLInputElement>) => void)"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"((event: KeyboardEvent<HTMLInputElement>) => void)"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"((event: KeyboardEvent<HTMLInputElement>) => void)"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"((event: MouseEvent<HTMLInputElement, MouseEvent>) => void)"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | readonly string[]"}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"string"}},inputMode:{defaultValue:null,description:"Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"search"'},{value:'"none"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref<HTMLInputElement>"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/text-input/text-input.tsx#TextInput"]={docgenInfo:t.TextInput.__docgenInfo,name:"TextInput",path:"src/components/text-input/text-input.tsx#TextInput"})}catch(e){}},81177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeWrapper=void 0;const a=n(97905),r=n(88694),i=n(84842),o=n(33798),l=n(57090),u=n(84519);t.ThemeWrapper=({children:e,isolateStyles:t=!1,theme:n})=>{const s=(0,l.mergeTheme)(n||o.equisoftTheme);let d;return d=t?(0,a.jsx)(u.ShadowWrapper,{children:e}):e,(0,i.useStyle)(t),(0,a.jsx)(r.ThemeProvider,{theme:s,children:d})};try{t.ThemeWrapper.displayName="ThemeWrapper",t.ThemeWrapper.__docgenInfo={description:"",displayName:"ThemeWrapper",props:{isolateStyles:{defaultValue:{value:!1},description:"When true, components are mounted in the Shadow DOM",name:"isolateStyles",required:!1,type:{name:"boolean"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"ThemeCustomization"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/theme-wrapper/theme-wrapper.tsx#ThemeWrapper"]={docgenInfo:t.ThemeWrapper.__docgenInfo,name:"ThemeWrapper",path:"src/components/theme-wrapper/theme-wrapper.tsx#ThemeWrapper"})}catch(e){}},89323:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastContainer=void 0;const o=n(97905),l=n(39155),u=i(n(88694)),s=n(83203),d=n(32664),c=n(90605),m=n(60926),p=n(89129),f=n(77465),h=u.keyframes` /* stylelint-disable-line keyframes-name-pattern */
2942
+ `;t.TextInput=(0,o.forwardRef)(((e,t)=>{var{ariaDescribedBy:n,ariaInvalid:r,className:l,defaultValue:m,disabled:g,hint:v,id:b,inputMode:y,label:w,tooltip:_,name:M,noMargin:E,pattern:k,placeholder:C,required:x,type:S,valid:P,validationErrorMessage:O,value:L,autoComplete:T,onBlur:H,onChange:V,onFocus:q,onKeyUp:D,onKeyDown:j,onMouseUp:A}=e,F=a(e,["ariaDescribedBy","ariaInvalid","className","defaultValue","disabled","hint","id","inputMode","label","tooltip","name","noMargin","pattern","placeholder","required","type","valid","validationErrorMessage","value","autoComplete","onBlur","onChange","onFocus","onKeyUp","onKeyDown","onMouseUp"]);const{isMobile:R}=(0,d.useDeviceContext)(),{t:I}=(0,s.useTranslation)("text-input"),[{validity:z},W]=(0,o.useState)({validity:null==P||P}),N=(0,f.useId)(b),B=(0,u.useDataAttributes)(F),$=(0,p.useAriaConditionalIds)([{id:n},{id:`${N}_invalid`,include:!z},{id:`${N}_hint`,include:!!v}]),Y=(0,o.useCallback)((e=>{void 0===P&&W({validity:e.currentTarget.checkValidity()}),H&&H(e)}),[H,P]),U=(0,o.useCallback)((()=>{void 0===P&&W({validity:!1})}),[P]),K=(0,o.useCallback)((e=>{V&&V(e)}),[V]),G=(0,o.useCallback)((e=>{q&&q(e)}),[q]);return(0,o.useEffect)((()=>{void 0!==P&&W({validity:P})}),[P]),(0,i.jsx)(c.FieldContainer,{className:l,noMargin:E,fieldId:N,label:w,required:x,tooltip:_,valid:z,validationErrorMessage:O||I("validationErrorMessage"),hint:v,"data-testid":"field-container",children:(0,i.jsx)(h,Object.assign({"aria-describedby":$||void 0,"aria-invalid":r,autoComplete:T,"data-testid":"text-input",isMobile:R,defaultValue:m,disabled:g,id:N,inputMode:y,name:M,ref:t,onBlur:Y,onChange:K,onFocus:G,onMouseUp:A,onKeyUp:D,onKeyDown:j,onInvalid:U,pattern:k,placeholder:C,required:x,type:S||"text",value:L},B))})})),t.TextInput.displayName="TextInput";try{t.TextInput.displayName="TextInput",t.TextInput.__docgenInfo={description:"",displayName:"TextInput",props:{ariaDescribedBy:{defaultValue:null,description:"",name:"ariaDescribedBy",required:!1,type:{name:"string"}},ariaInvalid:{defaultValue:null,description:"",name:"ariaInvalid",required:!1,type:{name:"boolean"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},defaultValue:{defaultValue:null,description:"",name:"defaultValue",required:!1,type:{name:"string"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean"}},noMargin:{defaultValue:null,description:"Disables default margin",name:"noMargin",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string"}},tooltip:{defaultValue:null,description:"",name:"tooltip",required:!1,type:{name:"TooltipProps"}},pattern:{defaultValue:null,description:"",name:"pattern",required:!1,type:{name:"string"}},placeholder:{defaultValue:null,description:"",name:"placeholder",required:!1,type:{name:"string"}},required:{defaultValue:null,description:"",name:"required",required:!1,type:{name:"boolean"}},type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:"string"}},valid:{defaultValue:null,description:"",name:"valid",required:!1,type:{name:"boolean"}},validationErrorMessage:{defaultValue:null,description:"",name:"validationErrorMessage",required:!1,type:{name:"string"}},hint:{defaultValue:null,description:"",name:"hint",required:!1,type:{name:"string"}},onBlur:{defaultValue:null,description:"",name:"onBlur",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((event: ChangeEvent<HTMLInputElement>) => void)"}},onFocus:{defaultValue:null,description:"",name:"onFocus",required:!1,type:{name:"((event: FocusEvent<HTMLInputElement, Element>) => void)"}},onKeyUp:{defaultValue:null,description:"",name:"onKeyUp",required:!1,type:{name:"((event: KeyboardEvent<HTMLInputElement>) => void)"}},onKeyDown:{defaultValue:null,description:"",name:"onKeyDown",required:!1,type:{name:"((event: KeyboardEvent<HTMLInputElement>) => void)"}},onMouseUp:{defaultValue:null,description:"",name:"onMouseUp",required:!1,type:{name:"((event: MouseEvent<HTMLInputElement, MouseEvent>) => void)"}},name:{defaultValue:null,description:"",name:"name",required:!1,type:{name:"string"}},value:{defaultValue:null,description:"",name:"value",required:!1,type:{name:"string | number | readonly string[]"}},autoComplete:{defaultValue:null,description:"",name:"autoComplete",required:!1,type:{name:"string"}},inputMode:{defaultValue:null,description:"Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",name:"inputMode",required:!1,type:{name:"enum",value:[{value:'"search"'},{value:'"none"'},{value:'"text"'},{value:'"tel"'},{value:'"url"'},{value:'"email"'},{value:'"numeric"'},{value:'"decimal"'}]}},ref:{defaultValue:null,description:"",name:"ref",required:!1,type:{name:"Ref<HTMLInputElement>"}},key:{defaultValue:null,description:"",name:"key",required:!1,type:{name:"Key | null"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/text-input/text-input.tsx#TextInput"]={docgenInfo:t.TextInput.__docgenInfo,name:"TextInput",path:"src/components/text-input/text-input.tsx#TextInput"})}catch(e){}},81177:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ThemeWrapper=void 0;const a=n(97905),r=n(88694),i=n(84842),o=n(33798),l=n(57090),u=n(84519);t.ThemeWrapper=({children:e,isolateStyles:t=!1,theme:n})=>{const s=(0,l.mergeTheme)(n||o.equisoftTheme);let d;return d=t?(0,a.jsx)(u.ShadowWrapper,{children:e}):e,(0,i.useStyle)(t),(0,a.jsx)(r.ThemeProvider,{theme:s,children:d})};try{t.ThemeWrapper.displayName="ThemeWrapper",t.ThemeWrapper.__docgenInfo={description:"",displayName:"ThemeWrapper",props:{isolateStyles:{defaultValue:{value:!1},description:"When true, components are mounted in the Shadow DOM",name:"isolateStyles",required:!1,type:{name:"boolean"}},theme:{defaultValue:null,description:"",name:"theme",required:!1,type:{name:"ThemeCustomization"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/theme-wrapper/theme-wrapper.tsx#ThemeWrapper"]={docgenInfo:t.ThemeWrapper.__docgenInfo,name:"ThemeWrapper",path:"src/components/theme-wrapper/theme-wrapper.tsx#ThemeWrapper"})}catch(e){}},89323:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastContainer=void 0;const o=n(97905),l=n(39155),u=i(n(88694)),s=n(83203),d=n(32664),c=n(90605),m=n(60926),p=n(89129),f=n(77465),h=u.keyframes`
2950
2943
  from {
2951
2944
  transform: translateX(-100%);
2952
2945
  }
@@ -2954,7 +2947,7 @@
2954
2947
  to {
2955
2948
  transform: translateX(0);
2956
2949
  }
2957
- `,g=u.keyframes` /* stylelint-disable-line keyframes-name-pattern */
2950
+ `,g=u.keyframes`
2958
2951
  from {
2959
2952
  transform: translateX(100%);
2960
2953
  }
@@ -2978,13 +2971,13 @@
2978
2971
  animation: ${h} 0.25s ease-out;
2979
2972
  `}}}
2980
2973
  ${function({theme:e,type:t}){switch(t){case"information":return u.css`
2981
- background: ${e.notifications["info-1.1"]};
2974
+ background: ${e.component["toast-container-information-background"]};
2982
2975
  `;case"success":return u.css`
2983
- background: ${e.notifications["success-1.1"]};
2976
+ background: ${e.component["toast-container-success-background"]};
2984
2977
  `;case"warning":return u.css`
2985
- background: ${e.notifications["warning-3.3"]};
2978
+ background: ${e.component["toast-container-warning-background"]};
2986
2979
  `;case"error":return u.css`
2987
- background: ${e.notifications["alert-2.1"]};
2980
+ background: ${e.component["toast-container-error-background"]};
2988
2981
  `}}}
2989
2982
  `,b=u.default.p`
2990
2983
  color: ${({color:e})=>e};
@@ -2998,22 +2991,22 @@
2998
2991
  margin: ${y} calc(-1 * var(--spacing-half)) ${y} 0;
2999
2992
 
3000
2993
  &:focus {
3001
- box-shadow: 0 0 0 2px ${({theme:e})=>e.main["primary-1.2"]};
2994
+ box-shadow: 0 0 0 2px ${({theme:e})=>e.component["toast-container-dismiss-icon-focus-box-shadow"]};
3002
2995
  }
3003
2996
 
3004
2997
  &:hover {
3005
2998
  ${function({$type:e,theme:t}){switch(e){case"information":return u.css`
3006
- background-color: #3a1c60; /* TODO: theme */
3007
- color: ${t.greys.white};
2999
+ background-color: ${t.component["toast-container-dismiss-icon-information-hover-background-color"]};
3000
+ color: ${t.component["toast-container-dismiss-icon-information-hover-color"]};
3008
3001
  `;case"success":return u.css`
3009
- background-color: #004f1e; /* TODO: theme */
3010
- color: ${t.greys.white};
3002
+ background-color: ${t.component["toast-container-dismiss-icon-success-hover-background-color"]};
3003
+ color: ${t.component["toast-container-dismiss-icon-success-hover-color"]};
3011
3004
  `;case"warning":return u.css`
3012
- background-color: ${t.notifications["warning-3.4"]};
3013
- color: ${t.greys.black};
3005
+ background-color: ${t.component["toast-container-dismiss-icon-warning-hover-background-color"]};
3006
+ color: ${t.component["toast-container-dismiss-icon-warning-hover-color"]};
3014
3007
  `;case"error":return u.css`
3015
- background-color: #7b1a15; /* TODO: theme */
3016
- color: ${t.greys.white};
3008
+ background-color: ${t.component["toast-container-dismiss-icon-error-hover-background-color"]};
3009
+ color: ${t.component["toast-container-dismiss-icon-error-hover-color"]};
3017
3010
  `}}}
3018
3011
  }
3019
3012
  `;function _(e){switch(e){case"information":return"info";case"success":return"success";case"warning":return"warning";case"error":return"error"}}const M=(0,u.default)(f.Icon).attrs((({type:e})=>({focusable:!0,"aria-label":_(e)})))`
@@ -3021,7 +3014,7 @@
3021
3014
  height: ${({isMobile:e})=>e?"var(--size-1halfx)":"var(--size-1x)"};
3022
3015
  margin-top: 0.25rem;
3023
3016
  width: ${({isMobile:e})=>e?"var(--size-1halfx)":"var(--size-1x)"};
3024
- `;t.ToastContainer=({id:e,className:t,type:n,message:a,position:r})=>{const{t:i}=(0,c.useTranslation)("toast"),u=(0,l.useMemo)((()=>function(e){switch(e){case"information":return"info";case"success":return"check";case"warning":return"alertTriangle";case"error":return"alertOctagon"}}(n)),[n]),m=(0,s.useTheme)(),f=(0,l.useMemo)((()=>function(e,t){return"warning"===e?t.greys.black:t.greys.white}(n,m)),[m,n]),{removeToast:h}=(0,d.useToasts)(),{isMobile:g}=(0,p.useDeviceContext)();return(0,o.jsxs)(v,{isMobile:g,className:t,type:n,position:r,role:"status",children:[(0,o.jsx)(M,{name:u,color:f,size:"16",role:"img",type:n,isMobile:g}),(0,o.jsx)(b,{color:f,$isMobile:g,children:a}),(0,o.jsx)(w,{label:i("dismissButtonLabel"),$color:f,$isMobile:g,$type:n,onClick:()=>h(e),"data-testid":"dismiss",type:"button"})]})};try{t.ToastContainer.displayName="ToastContainer",t.ToastContainer.__docgenInfo={description:"",displayName:"ToastContainer",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"success"'},{value:'"warning"'},{value:'"information"'},{value:'"error"'}]}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"string"}},position:{defaultValue:null,description:"",name:"position",required:!0,type:{name:"enum",value:[{value:'"top-right"'},{value:'"bottom-right"'},{value:'"top-left"'},{value:'"bottom-left"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toast/toast-container.tsx#ToastContainer"]={docgenInfo:t.ToastContainer.__docgenInfo,name:"ToastContainer",path:"src/components/toast/toast-container.tsx#ToastContainer"})}catch(e){}},89477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastContext=void 0;const a=n(39155);t.ToastContext=(0,a.createContext)(void 0)},65207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastProvider=void 0;const a=n(97905),r=n(39155),i=n(27150),o=n(89477),l=n(78104),u=n(73711);t.ToastProvider=({children:e})=>{const[t,n]=(0,u.useToastsReducer)(),s=(0,r.useCallback)((e=>{n({type:"remove",id:e})}),[n]),d=(0,r.useCallback)(((e,t,a=!0)=>{const r=(0,i.v4)();return n({type:"add",toast:{id:r,type:e,message:t,autoDelete:a}}),setTimeout((()=>{s(r)}),1e4),r}),[n,s]),c=(0,r.useMemo)((()=>({toasts:t,addToast:d,removeToast:s})),[d,s,t]);return(0,a.jsxs)(o.ToastContext.Provider,{value:c,children:[(0,a.jsx)(l.ToastsContainer,{position:"bottom-right"}),e]})};try{t.ToastProvider.displayName="ToastProvider",t.ToastProvider.__docgenInfo={description:"",displayName:"ToastProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toast/toast-provider.tsx#ToastProvider"]={docgenInfo:t.ToastProvider.__docgenInfo,name:"ToastProvider",path:"src/components/toast/toast-provider.tsx#ToastProvider"})}catch(e){}},78104:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;const l=n(97905),u=o(n(69514)),s=n(48768),d=i(n(88694)),c=n(32664),m=n(89129),p=n(89323),f=(0,d.default)(p.ToastContainer)`
3017
+ `;t.ToastContainer=({id:e,className:t,type:n,message:a,position:r})=>{const{t:i}=(0,c.useTranslation)("toast"),u=(0,l.useMemo)((()=>function(e){switch(e){case"information":return"info";case"success":return"check";case"warning":return"alertTriangle";case"error":return"alertOctagon"}}(n)),[n]),m=(0,s.useTheme)(),f=(0,l.useMemo)((()=>function(e,t){return"warning"===e?t.component["toast-container-warning-text-color"]:t.component["toast-container-default-text-color"]}(n,m)),[m,n]),{removeToast:h}=(0,d.useToasts)(),{isMobile:g}=(0,p.useDeviceContext)();return(0,o.jsxs)(v,{isMobile:g,className:t,type:n,position:r,role:"status",children:[(0,o.jsx)(M,{name:u,color:f,size:"16",role:"img",type:n,isMobile:g}),(0,o.jsx)(b,{color:f,$isMobile:g,children:a}),(0,o.jsx)(w,{label:i("dismissButtonLabel"),$color:f,$isMobile:g,$type:n,onClick:()=>h(e),"data-testid":"dismiss",type:"button"})]})};try{t.ToastContainer.displayName="ToastContainer",t.ToastContainer.__docgenInfo={description:"",displayName:"ToastContainer",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},type:{defaultValue:null,description:"",name:"type",required:!0,type:{name:"enum",value:[{value:'"success"'},{value:'"warning"'},{value:'"information"'},{value:'"error"'}]}},message:{defaultValue:null,description:"",name:"message",required:!0,type:{name:"string"}},position:{defaultValue:null,description:"",name:"position",required:!0,type:{name:"enum",value:[{value:'"top-right"'},{value:'"bottom-right"'},{value:'"top-left"'},{value:'"bottom-left"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toast/toast-container.tsx#ToastContainer"]={docgenInfo:t.ToastContainer.__docgenInfo,name:"ToastContainer",path:"src/components/toast/toast-container.tsx#ToastContainer"})}catch(e){}},89477:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastContext=void 0;const a=n(39155);t.ToastContext=(0,a.createContext)(void 0)},65207:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToastProvider=void 0;const a=n(97905),r=n(39155),i=n(27150),o=n(89477),l=n(78104),u=n(73711);t.ToastProvider=({children:e})=>{const[t,n]=(0,u.useToastsReducer)(),s=(0,r.useCallback)((e=>{n({type:"remove",id:e})}),[n]),d=(0,r.useCallback)(((e,t,a=!0)=>{const r=(0,i.v4)();return n({type:"add",toast:{id:r,type:e,message:t,autoDelete:a}}),setTimeout((()=>{s(r)}),1e4),r}),[n,s]),c=(0,r.useMemo)((()=>({toasts:t,addToast:d,removeToast:s})),[d,s,t]);return(0,a.jsxs)(o.ToastContext.Provider,{value:c,children:[(0,a.jsx)(l.ToastsContainer,{position:"bottom-right"}),e]})};try{t.ToastProvider.displayName="ToastProvider",t.ToastProvider.__docgenInfo={description:"",displayName:"ToastProvider",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/toast/toast-provider.tsx#ToastProvider"]={docgenInfo:t.ToastProvider.__docgenInfo,name:"ToastProvider",path:"src/components/toast/toast-provider.tsx#ToastProvider"})}catch(e){}},78104:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&a(t,e,n);return r(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ToastsContainer=void 0;const l=n(97905),u=o(n(69514)),s=n(48768),d=i(n(88694)),c=n(32664),m=n(89129),p=n(89323),f=(0,d.default)(p.ToastContainer)`
3025
3018
  & + & {
3026
3019
  margin-top: var(--spacing-half);
3027
3020
  }
@@ -3403,9 +3396,9 @@
3403
3396
  }
3404
3397
  `,h=(0,u.default)(d.Avatar)`
3405
3398
  margin-right: ${({isMobile:e})=>e?0:"var(--spacing-1x)"};
3406
- `;function g(e){return e.find((e=>!e.disabled))}t.getFirstFocusableItem=g,t.UserProfile=({ariaLabel:e,buttonAriaLabel:t,className:n,defaultOpen:a=!1,id:r,inverted:i=!0,tag:u,onMenuVisibilityChanged:d,options:m,userEmail:v,username:b})=>{const{t:y}=(0,s.useTranslation)("user-profile"),{isMobile:w}=(0,c.useDeviceContext)(),_=g(m),M=(0,l.useRef)(null);return(0,o.jsx)(f,Object.assign({ariaLabel:e||y("ariaLabel"),buttonAriaLabel:t,className:n,"data-testid":"user-profile",defaultOpen:a,hasCaret:!w,id:r,icon:(0,o.jsx)(h,{isMobile:w,username:b}),inverted:i,tag:u,isMobile:w},w?{}:{label:b},{onMenuVisibilityChanged:d,firstItemRef:M,render:e=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(p.GroupItem,{id:"user-label",children:(0,o.jsx)(p.LabelItem,{label:b,description:v})}),(0,o.jsx)(p.GroupItem,{id:"user-actions",children:m.map((t=>(0,o.jsx)(p.NavItem,{"data-testid":`action-${t.value}`,ref:_===t?M:void 0,value:t.value,href:t.href,label:t.label,isHtmlLink:t.isHtmlLink,isExternalLink:t.isExternalLink,lozenge:t.lozenge,disabled:t.disabled,target:t.target,onClick:t.disabled?void 0:n=>{var a;null===(a=t.onClick)||void 0===a||a.call(t,n),e()}},t.value)))})]})}))};try{t.getFirstFocusableItem.displayName="getFirstFocusableItem",t.getFirstFocusableItem.__docgenInfo={description:"",displayName:"getFirstFocusableItem",props:{length:{defaultValue:null,description:"Gets or sets the length of the array. This is a number one higher than the highest index in the array.",name:"length",required:!0,type:{name:"number"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:"Removes the last element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",name:"pop",required:!0,type:{name:"() => NavItemProps | undefined"}},push:{defaultValue:null,description:"Appends new elements to the end of an array, and returns the new length of the array.\n@param items New elements to add to the array.",name:"push",required:!0,type:{name:"(...items: NavItemProps[]) => number"}},concat:{defaultValue:null,description:"Combines two or more arrays.\nThis method returns a new array without modifying any existing arrays.\n@param items Additional arrays and/or items to add to the end of the array.\n@param items Additional arrays and/or items to add to the end of the array.",name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<NavItemProps>[]): NavItemProps[]; (...items: (NavItemProps | ConcatArray<NavItemProps>)[]): NavItemProps[]; }"}},join:{defaultValue:null,description:"Adds all the elements of an array into a string, separated by the specified separator string.\n@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.",name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:"Reverses the elements in an array in place.\nThis method mutates the array and returns a reference to the same array.",name:"reverse",required:!0,type:{name:"() => NavItemProps[]"}},shift:{defaultValue:null,description:"Removes the first element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",name:"shift",required:!0,type:{name:"() => NavItemProps | undefined"}},slice:{defaultValue:null,description:"Returns a copy of a section of an array.\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\nFor example, -2 refers to the second to last element of the array.\n@param start The beginning index of the specified portion of the array.\nIf start is undefined, then the slice begins at index 0.\n@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\nIf end is undefined, then the slice extends to the end of the array.",name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => NavItemProps[]"}},sort:{defaultValue:null,description:"Sorts an array in place.\nThis method mutates the array and returns a reference to the same array.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11,2,22,1].sort((a, b) => a - b)\n```",name:"sort",required:!0,type:{name:"(compareFn?: ((a: NavItemProps, b: NavItemProps) => number) | undefined) => NavItemProps[]"}},splice:{defaultValue:null,description:"Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@returns An array containing the elements that were deleted.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param items Elements to insert into the array in place of the deleted elements.\n@returns An array containing the elements that were deleted.",name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): NavItemProps[]; (start: number, deleteCount: number, ...items: NavItemProps[]): NavItemProps[]; }"}},unshift:{defaultValue:null,description:"Inserts new elements at the start of an array, and returns the new length of the array.\n@param items Elements to insert at the start of the array.",name:"unshift",required:!0,type:{name:"(...items: NavItemProps[]) => number"}},indexOf:{defaultValue:null,description:"Returns the index of the first occurrence of a value in an array, or -1 if it is not present.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",name:"indexOf",required:!0,type:{name:"(searchElement: NavItemProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:"Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.",name:"lastIndexOf",required:!0,type:{name:"(searchElement: NavItemProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:"Determines whether all the members of an array satisfy the specified test.\n@param predicate A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.\n@param predicate A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",name:"every",required:!0,type:{name:"{ <S extends NavItemProps>(predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:"Determines whether the specified callback function returns true for any element of an array.\n@param predicate A function that accepts up to three arguments. The some method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value true, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",name:"some",required:!0,type:{name:"(predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:"Performs the specified action for each element in an array.\n@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"forEach",required:!0,type:{name:"(callbackfn: (value: NavItemProps, index: number, array: NavItemProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:"Calls a defined callback function on each element of an array, and returns an array that contains the results.\n@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"map",required:!0,type:{name:"<U>(callbackfn: (value: NavItemProps, index: number, array: NavItemProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:"Returns the elements of an array that meet the condition specified in a callback function.\n@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",name:"filter",required:!0,type:{name:"{ <S extends NavItemProps>(predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => unknown, thisArg?: any): NavItemProps[]; }"}},reduce:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: NavItemProps, currentValue: NavItemProps, currentIndex: number, array: NavItemProps[]) => NavItemProps): NavItemProps; (callbackfn: (previousValue: NavItemProps, currentValue: NavItemProps, currentIndex: number, array: NavItemProps[]) => NavItemProps, initialValue: NavItemProps): NavIt..."}},reduceRight:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: NavItemProps, currentValue: NavItemProps, currentIndex: number, array: NavItemProps[]) => NavItemProps): NavItemProps; (callbackfn: (previousValue: NavItemProps, currentValue: NavItemProps, currentIndex: number, array: NavItemProps[]) => NavItemProps, initialValue: NavItemProps): NavIt..."}},find:{defaultValue:null,description:"Returns the value of the first element in the array where predicate is true, and undefined\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\norder, until it finds one where predicate returns true. If such an element is found, find\nimmediately returns that element value. Otherwise, find returns undefined.\n@param thisArg If provided, it will be used as the this value for each invocation of\npredicate. If it is not provided, undefined is used instead.",name:"find",required:!0,type:{name:"{ <S extends NavItemProps>(predicate: (value: NavItemProps, index: number, obj: NavItemProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: NavItemProps, index: number, obj: NavItemProps[]) => unknown, thisArg?: any): NavItemProps | undefined; }"}},findIndex:{defaultValue:null,description:"Returns the index of the first element in the array where predicate is true, and -1\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\norder, until it finds one where predicate returns true. If such an element is found,\nfindIndex immediately returns that element index. Otherwise, findIndex returns -1.\n@param thisArg If provided, it will be used as the this value for each invocation of\npredicate. If it is not provided, undefined is used instead.",name:"findIndex",required:!0,type:{name:"(predicate: (value: NavItemProps, index: number, obj: NavItemProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: NavItemProps, start?: number | undefined, end?: number | undefined) => NavItemProps[]"}},copyWithin:{defaultValue:null,description:"Returns the this object after copying a section of the array identified by start and end\nto the same array starting at position target\n@param target If target is negative, it is treated as length+target where length is the\nlength of the array.\n@param start If start is negative, it is treated as length+start. If end is negative, it\nis treated as length+end.\n@param end If not specified, length of the this object is used as its default value.",name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => NavItemProps[]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, NavItemProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<NavItemProps>"}},includes:{defaultValue:null,description:"Determines whether an array includes a certain element, returning true or false as appropriate.\n@param searchElement The element to search for.\n@param fromIndex The position in this array at which to begin searching for searchElement.",name:"includes",required:!0,type:{name:"(searchElement: NavItemProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:"Calls a defined callback function on each element of an array. Then, flattens the result into\na new array.\nThis is identical to a map followed by flat with depth 1.\n@param callback A function that accepts up to three arguments. The flatMap method calls the\ncallback function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callback function. If\nthisArg is omitted, undefined is used as the this value.",name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: NavItemProps, index: number, array: NavItemProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:"Returns a new array with all sub-array elements concatenated into it recursively up to the\nspecified depth.\n@param depth The maximum recursion depth",name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},"__@iterator@49092":{defaultValue:null,description:"Iterator",name:"__@iterator@49092",required:!0,type:{name:"() => IterableIterator<NavItemProps>"}},"__@unscopables@50902":{defaultValue:null,description:"Is an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",name:"__@unscopables@50902",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 29 more ...; at?: boolean | undefined; }"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"(index: number) => NavItemProps | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/user-profile/user-profile.tsx#getFirstFocusableItem"]={docgenInfo:t.getFirstFocusableItem.__docgenInfo,name:"getFirstFocusableItem",path:"src/components/user-profile/user-profile.tsx#getFirstFocusableItem"})}catch(e){}try{t.UserProfile.displayName="UserProfile",t.UserProfile.__docgenInfo={description:"",displayName:"UserProfile",props:{ariaLabel:{defaultValue:{value:"'User menu'"},description:"Sets nav's description",name:"ariaLabel",required:!1,type:{name:"string"}},buttonAriaLabel:{defaultValue:null,description:"",name:"buttonAriaLabel",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},defaultOpen:{defaultValue:{value:!1},description:"Sets menu open by default",name:"defaultOpen",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},inverted:{defaultValue:{value:!0},description:"",name:"inverted",required:!1,type:{name:"boolean"}},tag:{defaultValue:null,description:"Set wrapper element tag",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"nav"'}]}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"NavItemProps[]"}},username:{defaultValue:null,description:"",name:"username",required:!0,type:{name:"string"}},userEmail:{defaultValue:null,description:"",name:"userEmail",required:!1,type:{name:"string"}},onMenuVisibilityChanged:{defaultValue:null,description:"",name:"onMenuVisibilityChanged",required:!1,type:{name:"((isOpen: boolean) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/user-profile/user-profile.tsx#UserProfile"]={docgenInfo:t.UserProfile.__docgenInfo,name:"UserProfile",path:"src/components/user-profile/user-profile.tsx#UserProfile"})}catch(e){}},73733:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hiddenStyle=void 0,t.hiddenStyle="\n border: 0 !important;\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px !important;\n overflow: hidden;\n padding:0 !important;\n position: absolute !important;\n width: 1px !important;\n"},96586:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VisuallyHidden=void 0;const r=n(97905),i=a(n(88694)),o=n(73733),l=i.default.span`
3399
+ `;function g(e){return e.find((e=>!e.disabled))}t.getFirstFocusableItem=g,t.UserProfile=({ariaLabel:e,buttonAriaLabel:t,className:n,defaultOpen:a=!1,id:r,inverted:i=!0,tag:u,onMenuVisibilityChanged:d,options:m,userEmail:v,username:b})=>{const{t:y}=(0,s.useTranslation)("user-profile"),{isMobile:w}=(0,c.useDeviceContext)(),_=g(m),M=(0,l.useRef)(null);return(0,o.jsx)(f,Object.assign({ariaLabel:e||y("ariaLabel"),buttonAriaLabel:t,className:n,"data-testid":"user-profile",defaultOpen:a,hasCaret:!w,id:r,icon:(0,o.jsx)(h,{isMobile:w,username:b}),inverted:i,tag:u,isMobile:w},w?{}:{label:b},{onMenuVisibilityChanged:d,firstItemRef:M,render:e=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(p.GroupItem,{id:"user-label",children:(0,o.jsx)(p.LabelItem,{label:b,description:v})}),(0,o.jsx)(p.GroupItem,{id:"user-actions",children:m.map((t=>(0,o.jsx)(p.NavItem,{"data-testid":`action-${t.value}`,ref:_===t?M:void 0,value:t.value,href:t.href,label:t.label,isHtmlLink:t.isHtmlLink,isExternalLink:t.isExternalLink,lozenge:t.lozenge,disabled:t.disabled,target:t.target,onClick:t.disabled?void 0:n=>{var a;null===(a=t.onClick)||void 0===a||a.call(t,n),e()}},t.value)))})]})}))};try{t.getFirstFocusableItem.displayName="getFirstFocusableItem",t.getFirstFocusableItem.__docgenInfo={description:"",displayName:"getFirstFocusableItem",props:{length:{defaultValue:null,description:"Gets or sets the length of the array. This is a number one higher than the highest index in the array.",name:"length",required:!0,type:{name:"number"}},toString:{defaultValue:null,description:"Returns a string representation of an array.",name:"toString",required:!1,type:{name:"() => string"}},toLocaleString:{defaultValue:null,description:"Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.",name:"toLocaleString",required:!1,type:{name:"() => string"}},pop:{defaultValue:null,description:"Removes the last element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",name:"pop",required:!0,type:{name:"() => NavItemProps | undefined"}},push:{defaultValue:null,description:"Appends new elements to the end of an array, and returns the new length of the array.\n@param items New elements to add to the array.",name:"push",required:!0,type:{name:"(...items: NavItemProps[]) => number"}},concat:{defaultValue:null,description:"Combines two or more arrays.\nThis method returns a new array without modifying any existing arrays.\n@param items Additional arrays and/or items to add to the end of the array.\n@param items Additional arrays and/or items to add to the end of the array.",name:"concat",required:!0,type:{name:"{ (...items: ConcatArray<NavItemProps>[]): NavItemProps[]; (...items: (NavItemProps | ConcatArray<NavItemProps>)[]): NavItemProps[]; }"}},join:{defaultValue:null,description:"Adds all the elements of an array into a string, separated by the specified separator string.\n@param separator A string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.",name:"join",required:!0,type:{name:"(separator?: string | undefined) => string"}},reverse:{defaultValue:null,description:"Reverses the elements in an array in place.\nThis method mutates the array and returns a reference to the same array.",name:"reverse",required:!0,type:{name:"() => NavItemProps[]"}},shift:{defaultValue:null,description:"Removes the first element from an array and returns it.\nIf the array is empty, undefined is returned and the array is not modified.",name:"shift",required:!0,type:{name:"() => NavItemProps | undefined"}},slice:{defaultValue:null,description:"Returns a copy of a section of an array.\nFor both start and end, a negative index can be used to indicate an offset from the end of the array.\nFor example, -2 refers to the second to last element of the array.\n@param start The beginning index of the specified portion of the array.\nIf start is undefined, then the slice begins at index 0.\n@param end The end index of the specified portion of the array. This is exclusive of the element at the index 'end'.\nIf end is undefined, then the slice extends to the end of the array.",name:"slice",required:!0,type:{name:"(start?: number | undefined, end?: number | undefined) => NavItemProps[]"}},sort:{defaultValue:null,description:"Sorts an array in place.\nThis method mutates the array and returns a reference to the same array.\n@param compareFn Function used to determine the order of the elements. It is expected to return\na negative value if the first argument is less than the second argument, zero if they're equal, and a positive\nvalue otherwise. If omitted, the elements are sorted in ascending, ASCII character order.\n```ts\n[11,2,22,1].sort((a, b) => a - b)\n```",name:"sort",required:!0,type:{name:"(compareFn?: ((a: NavItemProps, b: NavItemProps) => number) | undefined) => NavItemProps[]"}},splice:{defaultValue:null,description:"Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@returns An array containing the elements that were deleted.\n@param start The zero-based location in the array from which to start removing elements.\n@param deleteCount The number of elements to remove.\n@param items Elements to insert into the array in place of the deleted elements.\n@returns An array containing the elements that were deleted.",name:"splice",required:!0,type:{name:"{ (start: number, deleteCount?: number | undefined): NavItemProps[]; (start: number, deleteCount: number, ...items: NavItemProps[]): NavItemProps[]; }"}},unshift:{defaultValue:null,description:"Inserts new elements at the start of an array, and returns the new length of the array.\n@param items Elements to insert at the start of the array.",name:"unshift",required:!0,type:{name:"(...items: NavItemProps[]) => number"}},indexOf:{defaultValue:null,description:"Returns the index of the first occurrence of a value in an array, or -1 if it is not present.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.",name:"indexOf",required:!0,type:{name:"(searchElement: NavItemProps, fromIndex?: number | undefined) => number"}},lastIndexOf:{defaultValue:null,description:"Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.\n@param searchElement The value to locate in the array.\n@param fromIndex The array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.",name:"lastIndexOf",required:!0,type:{name:"(searchElement: NavItemProps, fromIndex?: number | undefined) => number"}},every:{defaultValue:null,description:"Determines whether all the members of an array satisfy the specified test.\n@param predicate A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.\n@param predicate A function that accepts up to three arguments. The every method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value false, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",name:"every",required:!0,type:{name:"{ <S extends NavItemProps>(predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => value is S, thisArg?: any): this is S[]; (predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => unknown, thisArg?: any): boolean; }"}},some:{defaultValue:null,description:"Determines whether the specified callback function returns true for any element of an array.\n@param predicate A function that accepts up to three arguments. The some method calls\nthe predicate function for each element in the array until the predicate returns a value\nwhich is coercible to the Boolean value true, or until the end of the array.\n@param thisArg An object to which the this keyword can refer in the predicate function.\nIf thisArg is omitted, undefined is used as the this value.",name:"some",required:!0,type:{name:"(predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => unknown, thisArg?: any) => boolean"}},forEach:{defaultValue:null,description:"Performs the specified action for each element in an array.\n@param callbackfn A function that accepts up to three arguments. forEach calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"forEach",required:!0,type:{name:"(callbackfn: (value: NavItemProps, index: number, array: NavItemProps[]) => void, thisArg?: any) => void"}},map:{defaultValue:null,description:"Calls a defined callback function on each element of an array, and returns an array that contains the results.\n@param callbackfn A function that accepts up to three arguments. The map method calls the callbackfn function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callbackfn function. If thisArg is omitted, undefined is used as the this value.",name:"map",required:!0,type:{name:"<U>(callbackfn: (value: NavItemProps, index: number, array: NavItemProps[]) => U, thisArg?: any) => U[]"}},filter:{defaultValue:null,description:"Returns the elements of an array that meet the condition specified in a callback function.\n@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.\n@param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.",name:"filter",required:!0,type:{name:"{ <S extends NavItemProps>(predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => value is S, thisArg?: any): S[]; (predicate: (value: NavItemProps, index: number, array: NavItemProps[]) => unknown, thisArg?: any): NavItemProps[]; }"}},reduce:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduce",required:!0,type:{name:"{ (callbackfn: (previousValue: NavItemProps, currentValue: NavItemProps, currentIndex: number, array: NavItemProps[]) => NavItemProps): NavItemProps; (callbackfn: (previousValue: NavItemProps, currentValue: NavItemProps, currentIndex: number, array: NavItemProps[]) => NavItemProps, initialValue: NavItemProps): NavIt..."}},reduceRight:{defaultValue:null,description:"Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.\n@param callbackfn A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.\n@param initialValue If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.",name:"reduceRight",required:!0,type:{name:"{ (callbackfn: (previousValue: NavItemProps, currentValue: NavItemProps, currentIndex: number, array: NavItemProps[]) => NavItemProps): NavItemProps; (callbackfn: (previousValue: NavItemProps, currentValue: NavItemProps, currentIndex: number, array: NavItemProps[]) => NavItemProps, initialValue: NavItemProps): NavIt..."}},find:{defaultValue:null,description:"Returns the value of the first element in the array where predicate is true, and undefined\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\norder, until it finds one where predicate returns true. If such an element is found, find\nimmediately returns that element value. Otherwise, find returns undefined.\n@param thisArg If provided, it will be used as the this value for each invocation of\npredicate. If it is not provided, undefined is used instead.",name:"find",required:!0,type:{name:"{ <S extends NavItemProps>(predicate: (value: NavItemProps, index: number, obj: NavItemProps[]) => value is S, thisArg?: any): S | undefined; (predicate: (value: NavItemProps, index: number, obj: NavItemProps[]) => unknown, thisArg?: any): NavItemProps | undefined; }"}},findIndex:{defaultValue:null,description:"Returns the index of the first element in the array where predicate is true, and -1\notherwise.\n@param predicate find calls predicate once for each element of the array, in ascending\norder, until it finds one where predicate returns true. If such an element is found,\nfindIndex immediately returns that element index. Otherwise, findIndex returns -1.\n@param thisArg If provided, it will be used as the this value for each invocation of\npredicate. If it is not provided, undefined is used instead.",name:"findIndex",required:!0,type:{name:"(predicate: (value: NavItemProps, index: number, obj: NavItemProps[]) => unknown, thisArg?: any) => number"}},fill:{defaultValue:null,description:"Changes all array elements from `start` to `end` index to a static `value` and returns the modified array\n@param value value to fill array section with\n@param start index to start filling the array at. If start is negative, it is treated as\nlength+start where length is the length of the array.\n@param end index to stop filling the array at. If end is negative, it is treated as\nlength+end.",name:"fill",required:!0,type:{name:"(value: NavItemProps, start?: number | undefined, end?: number | undefined) => NavItemProps[]"}},copyWithin:{defaultValue:null,description:"Returns the this object after copying a section of the array identified by start and end\nto the same array starting at position target\n@param target If target is negative, it is treated as length+target where length is the\nlength of the array.\n@param start If start is negative, it is treated as length+start. If end is negative, it\nis treated as length+end.\n@param end If not specified, length of the this object is used as its default value.",name:"copyWithin",required:!0,type:{name:"(target: number, start: number, end?: number | undefined) => NavItemProps[]"}},entries:{defaultValue:null,description:"Returns an iterable of key, value pairs for every entry in the array",name:"entries",required:!0,type:{name:"() => IterableIterator<[number, NavItemProps]>"}},keys:{defaultValue:null,description:"Returns an iterable of keys in the array",name:"keys",required:!0,type:{name:"() => IterableIterator<number>"}},values:{defaultValue:null,description:"Returns an iterable of values in the array",name:"values",required:!0,type:{name:"() => IterableIterator<NavItemProps>"}},includes:{defaultValue:null,description:"Determines whether an array includes a certain element, returning true or false as appropriate.\n@param searchElement The element to search for.\n@param fromIndex The position in this array at which to begin searching for searchElement.",name:"includes",required:!0,type:{name:"(searchElement: NavItemProps, fromIndex?: number | undefined) => boolean"}},flatMap:{defaultValue:null,description:"Calls a defined callback function on each element of an array. Then, flattens the result into\na new array.\nThis is identical to a map followed by flat with depth 1.\n@param callback A function that accepts up to three arguments. The flatMap method calls the\ncallback function one time for each element in the array.\n@param thisArg An object to which the this keyword can refer in the callback function. If\nthisArg is omitted, undefined is used as the this value.",name:"flatMap",required:!0,type:{name:"<U, This = undefined>(callback: (this: This, value: NavItemProps, index: number, array: NavItemProps[]) => U | readonly U[], thisArg?: This | undefined) => U[]"}},flat:{defaultValue:null,description:"Returns a new array with all sub-array elements concatenated into it recursively up to the\nspecified depth.\n@param depth The maximum recursion depth",name:"flat",required:!0,type:{name:"<A, D extends number = 1>(this: A, depth?: D | undefined) => FlatArray<A, D>[]"}},"__@iterator@49226":{defaultValue:null,description:"Iterator",name:"__@iterator@49226",required:!0,type:{name:"() => IterableIterator<NavItemProps>"}},"__@unscopables@51036":{defaultValue:null,description:"Is an object whose properties have the value 'true'\nwhen they will be absent when used in a 'with' statement.",name:"__@unscopables@51036",required:!0,type:{name:"{ [x: number]: boolean | undefined; length?: boolean | undefined; toString?: boolean | undefined; toLocaleString?: boolean | undefined; pop?: boolean | undefined; push?: boolean | undefined; ... 29 more ...; at?: boolean | undefined; }"}},at:{defaultValue:null,description:"Takes an integer value and returns the item at that index,\nallowing for positive and negative integers.\nNegative integers count back from the last item in the array.",name:"at",required:!0,type:{name:"(index: number) => NavItemProps | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/user-profile/user-profile.tsx#getFirstFocusableItem"]={docgenInfo:t.getFirstFocusableItem.__docgenInfo,name:"getFirstFocusableItem",path:"src/components/user-profile/user-profile.tsx#getFirstFocusableItem"})}catch(e){}try{t.UserProfile.displayName="UserProfile",t.UserProfile.__docgenInfo={description:"",displayName:"UserProfile",props:{ariaLabel:{defaultValue:{value:"'User menu'"},description:"Sets nav's description",name:"ariaLabel",required:!1,type:{name:"string"}},buttonAriaLabel:{defaultValue:null,description:"",name:"buttonAriaLabel",required:!1,type:{name:"string"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string"}},defaultOpen:{defaultValue:{value:!1},description:"Sets menu open by default",name:"defaultOpen",required:!1,type:{name:"boolean"}},id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},inverted:{defaultValue:{value:!0},description:"",name:"inverted",required:!1,type:{name:"boolean"}},tag:{defaultValue:null,description:"Set wrapper element tag",name:"tag",required:!1,type:{name:"enum",value:[{value:'"div"'},{value:'"nav"'}]}},options:{defaultValue:null,description:"",name:"options",required:!0,type:{name:"NavItemProps[]"}},username:{defaultValue:null,description:"",name:"username",required:!0,type:{name:"string"}},userEmail:{defaultValue:null,description:"",name:"userEmail",required:!1,type:{name:"string"}},onMenuVisibilityChanged:{defaultValue:null,description:"",name:"onMenuVisibilityChanged",required:!1,type:{name:"((isOpen: boolean) => void)"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/user-profile/user-profile.tsx#UserProfile"]={docgenInfo:t.UserProfile.__docgenInfo,name:"UserProfile",path:"src/components/user-profile/user-profile.tsx#UserProfile"})}catch(e){}},73733:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hiddenStyle=void 0,t.hiddenStyle="\n border: 0 !important;\n clip: rect(1px, 1px, 1px, 1px);\n height: 1px !important;\n overflow: hidden;\n padding:0 !important;\n position: absolute !important;\n width: 1px !important;\n"},96586:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.VisuallyHidden=void 0;const r=n(97905),i=a(n(88694)),o=n(73733),l=i.default.span`
3407
3400
  ${o.hiddenStyle}
3408
- `;t.VisuallyHidden=({children:e})=>(0,r.jsx)(l,{"aria-hidden":"false",children:e});try{t.VisuallyHidden.displayName="VisuallyHidden",t.VisuallyHidden.__docgenInfo={description:"",displayName:"VisuallyHidden",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/visually-hidden/visuallyhidden.tsx#VisuallyHidden"]={docgenInfo:t.VisuallyHidden.__docgenInfo,name:"VisuallyHidden",path:"src/components/visually-hidden/visuallyhidden.tsx#VisuallyHidden"})}catch(e){}},91043:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAriaConditionalIds=void 0,t.useAriaConditionalIds=function(e){return e.filter((e=>{var t;return e.id&&(null===(t=e.include)||void 0===t||t)})).map((e=>e.id)).join(" ")||void 0}},3176:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;const a=n(39155),r=n(6940);t.useClickOutside=function(e,t){(0,a.useEffect)((()=>{function n(n){(0,r.eventIsInside)(n,...e.map((e=>e.current)))||t()}return document.addEventListener("mousedown",n),()=>document.removeEventListener("mousedown",n)}),[t,e])}},4544:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDataAttributes=void 0;const a=n(39155);function r(e){return null!==e&&"object"==typeof e}function i(e){return r(e)?Object.keys(e).reduce(((t,n)=>(function(e){return null!==e.match(/data-/i)}(n)&&(t[n]=e[n]),t)),{}):{}}t.useDataAttributes=function(e){const[t,n]=(0,a.useState)((()=>i(e))),o=r(e)?[...Object.values(e)]:[e];return(0,a.useEffect)((()=>{n(i(e))}),o),t}},76681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useId=void 0;const a=n(39155),r=n(27150);t.useId=function(e){return(0,a.useMemo)((()=>null!=e?e:(0,r.v4)()),[e])}},6519:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useListCursor=void 0;const a=n(39155),r=n(41912);t.useListCursor=function({elements:e,initialElement:t,predicate:n=(()=>!0),wrapAround:i=!1}){const[o,l]=(0,a.useState)(t),u=(0,a.useCallback)((()=>{const t=(0,r.findFirstElement)(e,n);return t&&l(t),t}),[e,n]),s=(0,a.useCallback)((()=>{const t=(0,r.findLastElement)(e,n);return t&&l(t),t}),[e,n]),d=(0,a.useCallback)((()=>{if(void 0===o)return u();const t=e.indexOf(o),a=(0,r.findPreviousElement)(e,t,n,{wrapAround:i});return a&&l(a),a}),[e,n,u,o,i]),c=(0,a.useCallback)((()=>{if(void 0===o)return u();const t=e.indexOf(o),a=(0,r.findNextElement)(e,t,n,{wrapAround:i});return a&&l(a),a}),[e,n,u,o,i]);return{selectedElement:o,setSelectedElement:l,selectPrevious:d,selectNext:c,selectFirst:u,selectLast:s}}},63569:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useListSearch=void 0;const a=n(39155),r=n(71268);t.useListSearch=function({elements:e,focusedElement:t,onFoundElementChange:n,searchPropertyAccessor:i,predicate:o=(()=>!0),searchResetTimeout:l=500}){const u=(0,a.useRef)(void 0),s=(0,a.useRef)(""),d=(0,a.useCallback)(((e,t)=>e.filter((e=>i(e).toLowerCase().startsWith(t.toLowerCase())&&o(e)))),[o,i]),c=(0,a.useCallback)((n=>{const a=t?e.indexOf(t)+1:0,i=[...e.slice(a),...e.slice(0,a)],o=d(i,n)[0];return o||((0,r.allSameLetter)(n)?d(i,n[0])[0]:void 0)}),[d,t,e]);return{handleSearchInput:(0,a.useCallback)((e=>{void 0!==u.current&&clearTimeout(u.current),u.current=setTimeout((()=>{s.current=""}),l),s.current+=e,n&&n(c(s.current))}),[c,n,l])}}},63220:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollIntoView=void 0;const a=n(39155);t.useScrollIntoView=function({container:e}){return{scrollIntoView:(0,a.useCallback)(((t,n=!1)=>{if(!e.current)return;const{offsetHeight:a,offsetTop:r}=t,{offsetHeight:i,scrollTop:o}=e.current,l=getComputedStyle(e.current),u=r-parseFloat(l.paddingTop),s=r-i+a+parseFloat(l.paddingBottom),d=s>o;u<o||d&&n?e.current.scrollTo(0,u):d&&e.current.scrollTo(0,s)}),[e])}}},83203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTheme=void 0;const a=n(39155),r=n(88694);t.useTheme=function(){return(0,a.useContext)(r.ThemeContext)}},5321:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useToast=void 0;const a=n(39155),r=n(32664);t.useToast=function(){const{addToast:e,removeToast:t}=(0,r.useToasts)();return{showToast:(0,a.useCallback)(((t,n)=>e(t,n,!0)),[e]),hideToast:t}}},32664:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useToasts=void 0;const a=n(39155),r=n(89477);t.useToasts=function(){return(0,a.useContext)(r.ToastContext)}},20578:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createI18n=void 0;const r=a(n(49575)),i=n(90274);t.createI18n=function(e="en"){const t=r.default.createInstance();return t.init({defaultNS:"common",resources:i.Translations,lng:e,fallbackLng:e,interpolation:{escapeValue:!1},returnNull:!1}).catch(console.error),t}},90274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Translations=void 0,t.Translations={en:{avatar:{ariaLabel:"{{username}} avatar"},bento:{productsLabel:"Products",externalsLabel:"Resources"},combobox:{showOptions:"Show {{label}} options"},common:{opensInNewTab:"opens in a new tab",opensInNewTabScreenReader:"(opens in a new tab)",error:"Error"},datepicker:{calendarButtonLabel:"Choose date",calendarButtonSelectedLabel:"Choose date. The selected date is",calendarContainerLabel:"Choose date",todayButtonAriaLabel:"Choose today's date",todayButtonLabel:"Today",validationErrorMessage:"Invalid date",monthPreviousButtonLabel:"Go to previous month",monthNextButtonLabel:"Go to next month",monthSelectLabel:"Select a month",yearSelectLabel:"Select a year"},"dropdown-list":{inputAriaLabel:"Select an option",validationErrorMessage:"You must select an option"},"error-summary":{title:"The form contains one or more errors",message:"Please correct them to proceed to the next step."},"global-banner":{ignore:"Ignore"},"menu-button":{buttonAriaLabel:"Open menu"},modal:{closeButtonLabel:"Close dialog"},"modal-dialog":{cancelButtonLabel:"Cancel",confirmButtonLabel:"Confirm"},"money-input":{validationErrorMessage:"Invalid number"},"nav-menu-button":{ariaLabel:"Menu"},"numeric-input":{requiredValidationErrorMessage:"This field is required",maxValidationErrorMessage:"The value must be less than or equal to {{max}}",minValidationErrorMessage:"The value must be greater than or equal to {{min}}"},pagination:{pagination:"Pagination",results:"{{pageStartIndex}}–{{pageEndIndex}} of {{numberOfResults}} results"},"password-creation-input":{"password-strength":"Password strength: ","min-8-characters":"Minimum 8 characters","min-1-lower-case":"At least one lower case","min-1-upper-case":"At least one upper case","create-password":"Create password",weak:"Weak",fair:"Fair",good:"Good",strong:"Strong","show-password":"Show password in plain text.","hide-password":"Hide password."},"password-input":{"show-password":"Show password in plain text.","hide-password":"Hide password."},"search-input":{label:"Search"},"sectional-banner":{Alert:"Alert",Warning:"Warning",Success:"Success",Info:"Information",Discovery:"Pro-tip",Neutral:"Information",dismissLabel:"Dismiss banner"},"skip-link":{label:"Skip to main content"},"stepper-input":{validationErrorMessage:"Invalid number"},"stepper-buttons":{"increment-button-aria-label":"Increase number","decrement-button-aria-label":"Decrease number"},"tag-medium":{deleteButtonAriaLabel:"Remove tag {{label}}"},"text-area":{validationErrorMessage:"This text area is invalid",maxLengthValidationErrorMessage:"The number of characters exceeds the maximum allowed. You must shorten the description.",characters:"{{length}} / {{max}} characters",charactersScreenReader:"{{length}} of {{max}} characters available"},"text-input":{validationErrorMessage:"This input is invalid",required:"required"},toast:{dismissButtonLabel:"Dismiss notification"},"user-profile":{ariaLabel:"User menu"}},fr:{avatar:{ariaLabel:"Avatar de {{username}}"},bento:{productsLabel:"Produits",externalsLabel:"Ressources"},combobox:{showOptions:"Afficher les options pour {{label}}"},common:{opensInNewTab:"ouvre dans un nouvel onglet",opensInNewTabScreenReader:"(ouvre dans un nouvel onglet)",error:"Erreur"},datepicker:{calendarButtonLabel:"Choisissez une date",calendarButtonSelectedLabel:"Choisissez une date. La date sélectionnée est",calendarContainerLabel:"Choisissez une date",todayButtonAriaLabel:"Choisir la date d'aujourd'hui",todayButtonLabel:"Aujourd'hui",validationErrorMessage:"Date non valide",monthPreviousButtonLabel:"Aller au mois précédent",monthNextButtonLabel:"Aller au mois suivant",monthSelectLabel:"Choisissez un mois",yearSelectLabel:"Choisissez une année"},"dropdown-list":{inputAriaLabel:"Choisissez une option",validationErrorMessage:"Vous devez choisir une option"},"error-summary":{title:"Le formulaire contient une ou plusieurs erreurs",message:"Veuillez les corriger avant de passer à l'étape suivante."},"global-banner":{ignore:"Ignorer"},"menu-button":{buttonAriaLabel:"Ouvrir le menu"},modal:{closeButtonLabel:"Fermer le dialogue"},"modal-dialog":{cancelButtonLabel:"Annuler",confirmButtonLabel:"Confirmer"},"money-input":{validationErrorMessage:"Ce nombre n'est pas valide"},"nav-menu-button":{ariaLabel:"Menu"},"numeric-input":{requiredValidationErrorMessage:"Ce champ est obligatoire",maxValidationErrorMessage:"La valeur doit être inférieure ou égale à {{max}}",minValidationErrorMessage:"La valeur doit être supérieure ou égale à {{min}}"},pagination:{pagination:"Pagination",results:"{{pageStartIndex}}–{{pageEndIndex}} de {{numberOfResults}} résultats"},"password-creation-input":{"password-strength":"Force du mot de passe : ","min-8-characters":"Minimum 8 caractères","min-1-lower-case":"Au moins une minuscule","min-1-upper-case":"Au moins une majuscule","create-password":"Créer un mot de passe",weak:"Faible",fair:"Raisonnable",good:"Bon",strong:"Fort","show-password":"Montrer le mot de passe.","hide-password":"Cacher le mot de passe."},"password-input":{"show-password":"Montrer le mot de passe.","hide-password":"Cacher le mot de passe."},"search-input":{label:"Rechercher"},"sectional-banner":{Alert:"Alerte",Warning:"Attention",Success:"Succès",Info:"Information",Discovery:"Truc de pro",Neutral:"Information",dismissLabel:"Rejeter la bannière"},"skip-link":{label:"Passer au contenu principal"},"stepper-input":{validationErrorMessage:"Ce nombre n'est pas valide"},"stepper-buttons":{"increment-button-aria-label":"Augmenter le nombre","decrement-button-aria-label":"Diminuer le nombre"},"tag-medium":{deleteButtonAriaLabel:"Retirer l'étiquette {{label}}"},"text-area":{validationErrorMessage:"Cette zone texte n'est pas valide",maxLengthValidationErrorMessage:"Le nombre de caractères dépasse le maximum autorisé. Vous devez raccourcir la description.",characters:"{{length}} / {{max}} caractères",charactersScreenReader:"{{length}} sur {{max}} caractères disponibles"},"text-input":{validationErrorMessage:"Ce champ est invalide",required:"obligatoire"},toast:{dismissButtonLabel:"Rejeter la notification"},"user-profile":{ariaLabel:"Menu utilisateur"}}}},90605:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTranslation=void 0;const a=n(39155),r=n(15497);function i(e){var t;const n=null===(t=e.options)||void 0===t?void 0:t.fallbackLng;return"string"==typeof n||Array.isArray(n)?n:"en"}t.useTranslation=function(e){const{i18n:t}=(0,r.useIntlContext)(),n=(0,a.useCallback)((()=>({t:t.getFixedT(t.language||i(t),e||void 0)})),[t,e]),[o,l]=(0,a.useState)(n()),u=(0,a.useCallback)((()=>{l(n())}),[l,n]);return(0,a.useEffect)((()=>(t.on("languageChanged",u),()=>t.off("languageChanged",u))),[t,u]),{i18n:t,t:o.t}}},68619:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Table=t.GlobalBanner=t.SideDrawer=t.SectionalBanner=t.Icon=t.DropdownMenuButton=t.GlobalHeader=t.Heading=t.ExternalLink=t.ErrorSummary=t.ChooserButtonGroup=t.CardLink=t.Card=t.Badge=t.Accordion=t.AccordionItem=t.Listbox=t.IntlProvider=t.useDeviceContext=t.DeviceContextProvider=t.ThemeWrapper=t.isLongEnough=t.hasAnUpperCaseLetter=t.hasALowerCaseLetter=t.ToggleSwitch=t.TextInput=t.TextArea=t.Tabs=t.StepperInput=t.SearchGlobal=t.SearchContextual=t.RadioButtonGroup=t.PhoneInput=t.PasswordInput=t.PasswordCreationInput=t.OptionButton=t.NumericInput=t.MoneyInput=t.DropdownList=t.Datepicker=t.Combobox=t.CheckboxGroup=t.Checkbox=t.Avatar=t.ToggleButtonGroup=t.BentoMenuButton=t.DropdownNavigation=t.MenuButton=t.IconButton=t.Button=void 0,t.useTheme=t.injectMainCss=t.equisoftTheme=t.Pagination=t.ProgressCircle=t.ProgressIndicator=t.RouteLink=t.Breadcrumb=t.useToast=t.UserProfile=t.useModal=t.Spinner=t.SkipLink=t.Status=t.RadioCardGroup=t.RadioCard=t.Lozenge=t.Tag=t.ModalDialog=t.Modal=void 0;var i=n(84268);Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return i.Button}});var o=n(60926);Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return o.IconButton}});var l=n(55573);Object.defineProperty(t,"MenuButton",{enumerable:!0,get:function(){return l.MenuButton}});var u=n(2305);Object.defineProperty(t,"DropdownNavigation",{enumerable:!0,get:function(){return u.DropdownNavigation}});var s=n(74497);Object.defineProperty(t,"BentoMenuButton",{enumerable:!0,get:function(){return s.BentoMenuButton}});var d=n(99501);Object.defineProperty(t,"ToggleButtonGroup",{enumerable:!0,get:function(){return d.ToggleButtonGroup}});var c=n(72921);Object.defineProperty(t,"Avatar",{enumerable:!0,get:function(){return c.Avatar}});var m=n(9177);Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function(){return m.Checkbox}});var p=n(61229);Object.defineProperty(t,"CheckboxGroup",{enumerable:!0,get:function(){return p.CheckboxGroup}});var f=n(41437);Object.defineProperty(t,"Combobox",{enumerable:!0,get:function(){return f.Combobox}});var h=n(57037);Object.defineProperty(t,"Datepicker",{enumerable:!0,get:function(){return h.Datepicker}});var g=n(50665);Object.defineProperty(t,"DropdownList",{enumerable:!0,get:function(){return g.DropdownList}});var v=n(79253);Object.defineProperty(t,"MoneyInput",{enumerable:!0,get:function(){return v.MoneyInput}});var b=n(94393);Object.defineProperty(t,"NumericInput",{enumerable:!0,get:function(){return b.NumericInput}});var y=n(98933);Object.defineProperty(t,"OptionButton",{enumerable:!0,get:function(){return y.OptionButton}});var w=n(75621);Object.defineProperty(t,"PasswordCreationInput",{enumerable:!0,get:function(){return w.PasswordCreationInput}});var _=n(9091);Object.defineProperty(t,"PasswordInput",{enumerable:!0,get:function(){return _.PasswordInput}});var M=n(12917);Object.defineProperty(t,"PhoneInput",{enumerable:!0,get:function(){return M.PhoneInput}});var E=n(73391);Object.defineProperty(t,"RadioButtonGroup",{enumerable:!0,get:function(){return E.RadioButtonGroup}});var k=n(51827);Object.defineProperty(t,"SearchContextual",{enumerable:!0,get:function(){return k.SearchContextual}});var C=n(79891);Object.defineProperty(t,"SearchGlobal",{enumerable:!0,get:function(){return C.SearchGlobal}});var x=n(69569);Object.defineProperty(t,"StepperInput",{enumerable:!0,get:function(){return x.StepperInput}});var S=n(41559);Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return S.Tabs}});var P=n(76417);Object.defineProperty(t,"TextArea",{enumerable:!0,get:function(){return P.TextArea}});var O=n(49391);Object.defineProperty(t,"TextInput",{enumerable:!0,get:function(){return O.TextInput}});var L=n(93745);Object.defineProperty(t,"ToggleSwitch",{enumerable:!0,get:function(){return L.ToggleSwitch}});var T=n(91660);Object.defineProperty(t,"hasALowerCaseLetter",{enumerable:!0,get:function(){return T.hasALowerCaseLetter}}),Object.defineProperty(t,"hasAnUpperCaseLetter",{enumerable:!0,get:function(){return T.hasAnUpperCaseLetter}}),Object.defineProperty(t,"isLongEnough",{enumerable:!0,get:function(){return T.hasMinLength}});var H=n(81177);Object.defineProperty(t,"ThemeWrapper",{enumerable:!0,get:function(){return H.ThemeWrapper}});var V=n(89129);Object.defineProperty(t,"DeviceContextProvider",{enumerable:!0,get:function(){return V.DeviceContextProvider}}),Object.defineProperty(t,"useDeviceContext",{enumerable:!0,get:function(){return V.useDeviceContext}});var q=n(15497);Object.defineProperty(t,"IntlProvider",{enumerable:!0,get:function(){return q.IntlProvider}});var D=n(95709);Object.defineProperty(t,"Listbox",{enumerable:!0,get:function(){return D.Listbox}});var j=n(31399);Object.defineProperty(t,"AccordionItem",{enumerable:!0,get:function(){return j.AccordionItem}}),Object.defineProperty(t,"Accordion",{enumerable:!0,get:function(){return j.Accordion}});var A=n(75785);Object.defineProperty(t,"Badge",{enumerable:!0,get:function(){return A.Badge}});var F=n(12243);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return F.Card}});var R=n(87729);Object.defineProperty(t,"CardLink",{enumerable:!0,get:function(){return R.CardLink}}),r(n(88187),t);var I=n(8247);Object.defineProperty(t,"ChooserButtonGroup",{enumerable:!0,get:function(){return I.ChooserButtonGroup}});var z=n(76721);Object.defineProperty(t,"ErrorSummary",{enumerable:!0,get:function(){return z.ErrorSummary}});var W=n(60165);Object.defineProperty(t,"ExternalLink",{enumerable:!0,get:function(){return W.ExternalLink}});var N=n(53657);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return N.Heading}});var B=n(20929);Object.defineProperty(t,"GlobalHeader",{enumerable:!0,get:function(){return B.GlobalHeader}});var $=n(29867);Object.defineProperty(t,"DropdownMenuButton",{enumerable:!0,get:function(){return $.DropdownMenuButton}});var Y=n(77465);Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return Y.Icon}});var U=n(64789);Object.defineProperty(t,"SectionalBanner",{enumerable:!0,get:function(){return U.SectionalBanner}}),r(n(90391),t);var K=n(90945);Object.defineProperty(t,"SideDrawer",{enumerable:!0,get:function(){return K.SideDrawer}});var G=n(40193);Object.defineProperty(t,"GlobalBanner",{enumerable:!0,get:function(){return G.GlobalBanner}}),r(n(30841),t),r(n(8429),t);var X=n(84685);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return X.Table}});var Q=n(62893);Object.defineProperty(t,"Modal",{enumerable:!0,get:function(){return Q.Modal}});var J=n(1428);Object.defineProperty(t,"ModalDialog",{enumerable:!0,get:function(){return J.ModalDialog}});var Z=n(25357);Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return Z.Tag}});var ee=n(32909);Object.defineProperty(t,"Lozenge",{enumerable:!0,get:function(){return ee.Lozenge}});var te=n(83121);Object.defineProperty(t,"RadioCard",{enumerable:!0,get:function(){return te.RadioCard}});var ne=n(97167);Object.defineProperty(t,"RadioCardGroup",{enumerable:!0,get:function(){return ne.RadioCardGroup}});var ae=n(6927);Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return ae.Status}});var re=n(63317);Object.defineProperty(t,"SkipLink",{enumerable:!0,get:function(){return re.SkipLink}});var ie=n(24609);Object.defineProperty(t,"Spinner",{enumerable:!0,get:function(){return ie.Spinner}});var oe=n(75917);Object.defineProperty(t,"useModal",{enumerable:!0,get:function(){return oe.useModal}});var le=n(2105);Object.defineProperty(t,"UserProfile",{enumerable:!0,get:function(){return le.UserProfile}});var ue=n(5321);Object.defineProperty(t,"useToast",{enumerable:!0,get:function(){return ue.useToast}});var se=n(28769);Object.defineProperty(t,"Breadcrumb",{enumerable:!0,get:function(){return se.Breadcrumb}}),r(n(79573),t);var de=n(60571);Object.defineProperty(t,"RouteLink",{enumerable:!0,get:function(){return de.RouteLink}}),r(n(83689),t);var ce=n(61917);Object.defineProperty(t,"ProgressIndicator",{enumerable:!0,get:function(){return ce.ProgressIndicator}});var me=n(93369);Object.defineProperty(t,"ProgressCircle",{enumerable:!0,get:function(){return me.ProgressCircle}});var pe=n(74175);Object.defineProperty(t,"Pagination",{enumerable:!0,get:function(){return pe.Pagination}});var fe=n(65324);Object.defineProperty(t,"equisoftTheme",{enumerable:!0,get:function(){return fe.equisoftTheme}});var he=n(84842);Object.defineProperty(t,"injectMainCss",{enumerable:!0,get:function(){return he.injectMainCss}});var ge=n(83203);Object.defineProperty(t,"useTheme",{enumerable:!0,get:function(){return ge.useTheme}}),r(n(13040),t)},53023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.breakpoints=void 0,t.breakpoints={mobile:480,desktop:1024}},59245:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.menuDimensions=void 0,t.menuDimensions={maxWidth:"350px",minWidth:"200px"}},23087:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useFont=void 0;const r=n(39155),i=a(n(97360));t.useFont=function(e){(0,r.useEffect)((()=>e?(i.default.use(),()=>i.default.unuse()):()=>{}),[e])};try{t.useFont.displayName="useFont",t.useFont.__docgenInfo={description:"",displayName:"useFont",props:{valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/styles/font-loader.tsx#useFont"]={docgenInfo:t.useFont.__docgenInfo,name:"useFont",path:"src/styles/font-loader.tsx#useFont"})}catch(e){}},84842:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useStyle=t.mainCss=t.injectMainCss=void 0;const r=a(n(47007)),i=n(23087),o=n(33813);var l=n(33813);Object.defineProperty(t,"injectMainCss",{enumerable:!0,get:function(){return l.injectMainCss}}),t.mainCss=r.default.toString(),t.useStyle=function(e){(0,i.useFont)(e),(0,o.useMainCss)(e)}},33813:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.injectMainCss=t.useMainCss=void 0;const r=n(39155),i=a(n(55061));t.useMainCss=function(e){(0,r.useEffect)((()=>e?()=>{}:(i.default.use(),()=>i.default.unuse())),[e])},t.injectMainCss=function(){i.default.use()};try{t.useMainCss.displayName="useMainCss",t.useMainCss.__docgenInfo={description:"",displayName:"useMainCss",props:{valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/styles/style-loader.tsx#useMainCss"]={docgenInfo:t.useMainCss.__docgenInfo,name:"useMainCss",path:"src/styles/style-loader.tsx#useMainCss"})}catch(e){}},46795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTheme=void 0;const a=n(31781);t.defaultTheme={ref:a.defaultRefTokens,alias:a.defaultAliasTokens,component:a.defaultComponentTokens}},65324:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equisoftTheme=void 0;const a=n(31781);t.equisoftTheme={ref:a.defaultRefTokens,alias:a.defaultAliasTokens,component:a.defaultComponentTokens}},33798:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(65324),t),r(n(31781),t)},57090:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeTheme=void 0;const a=n(46795),r=n(69865);t.mergeTheme=function(e){const t={main:Object.assign(Object.assign({},r.defaultMain),e.main),greys:Object.assign(Object.assign({},r.defaultGreys),e.greys),notifications:Object.assign(Object.assign({},r.defaultNotifications),e.notifications),tokens:Object.assign(Object.assign({},r.defaultTokens),e.tokens),ref:Object.assign(Object.assign({},a.defaultTheme.ref),e.ref),alias:Object.assign(Object.assign({},a.defaultTheme.alias),e.alias),component:Object.assign(Object.assign({},a.defaultTheme.component),e.component)};function n(e){if(e&&function(e){return!!t.ref&&e in t.ref}(e))return t.ref[e];if(e&&function(e){return!!t.alias&&e in t.alias}(e)){const a=t.alias[e];return a===e?(console.error(`Self-referencing AliasToken detected: '${e}'`),""):n(a)}return console.error(`Token '${e}' not found in RefTokens or AliasTokens`),""}const i={main:t.main,greys:t.greys,notifications:t.notifications,tokens:t.tokens,ref:t.ref,alias:t.alias,component:{}};return t.component&&Object.keys(t.component).forEach((e=>{if(Object.prototype.hasOwnProperty.call(t.component,e)){const a=t.component[e];i.component[e]=n(a)}})),i}},94472:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultAliasTokens=void 0,t.defaultAliasTokens={"alternate-text-color":"color-neutral-65","default-text-color":"color-black","separator-color":"color-neutral-15","visited-link-color":"color-discovery-50"}},98505:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultComponentTokens=void 0;const a=n(40885),r=n(2944),i=n(17203),o=n(10878),l=n(62388),u=n(88662),s=n(56934),d=n(44412),c=n(53548),m=n(97156),p=n(91084),f=n(15390);t.defaultComponentTokens=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},a.defaultBentoMenuButtonTokens),r.defaultButtonTokens),i.defaultCardLinkTokens),o.defaultExternalLinkTokens),l.defaultFocusTokens),u.defaultHeadingTokens),s.defaultLabelTokens),d.defaultNavListTokens),c.defaultNavListItemTokens),m.defaultPaginationTokens),p.defaultRouteLinkTokens),f.defaultSkipLinkTokens)},40885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultBentoMenuButtonTokens=void 0,t.defaultBentoMenuButtonTokens={"bento-menu-divider-color":"separator-color"}},2944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultButtonTokens=void 0,t.defaultButtonTokens={"button-primary-background-color":"color-brand-50","button-primary-border-color":"color-brand-50","button-primary-text-color":"color-white","button-primary-hover-background-color":"color-brand-70","button-primary-hover-border-color":"color-brand-70","button-primary-hover-text-color":"color-white","button-primary-focus-background-color":"color-brand-50","button-primary-focus-border-color":"color-brand-50","button-primary-focus-text-color":"color-white","button-primary-disabled-background-color":"color-brand-20","button-primary-disabled-border-color":"color-brand-20","button-primary-disabled-text-color":"color-white","button-primary-inverted-background-color":"color-white","button-primary-inverted-border-color":"color-white","button-primary-inverted-text-color":"color-brand-50","button-primary-inverted-hover-background-color":"color-white","button-primary-inverted-hover-border-color":"color-white","button-primary-inverted-hover-text-color":"color-brand-70","button-primary-inverted-focus-background-color":"color-white","button-primary-inverted-focus-border-color":"color-white","button-primary-inverted-focus-text-color":"color-brand-50","button-primary-inverted-disabled-background-color":"color-white","button-primary-inverted-disabled-border-color":"color-white","button-primary-inverted-disabled-text-color":"color-brand-20","button-secondary-background-color":"color-white","button-secondary-border-color":"color-brand-50","button-secondary-text-color":"color-brand-50","button-secondary-hover-background-color":"color-white","button-secondary-hover-border-color":"color-brand-70","button-secondary-hover-text-color":"color-brand-70","button-secondary-focus-background-color":"color-white","button-secondary-focus-border-color":"color-brand-50","button-secondary-focus-text-color":"color-brand-50","button-secondary-disabled-background-color":"color-white","button-secondary-disabled-border-color":"color-brand-20","button-secondary-disabled-text-color":"color-brand-20","button-secondary-inverted-background-color":"transparent-100","button-secondary-inverted-border-color":"color-white","button-secondary-inverted-text-color":"color-white","button-secondary-inverted-hover-background-color":"transparent-100","button-secondary-inverted-hover-border-color":"color-brand-20","button-secondary-inverted-hover-text-color":"color-brand-20","button-secondary-inverted-focus-background-color":"color-brand-80","button-secondary-inverted-focus-border-color":"color-brand-50","button-secondary-inverted-focus-text-color":"color-white","button-secondary-inverted-disabled-background-color":"transparent-100","button-secondary-inverted-disabled-border-color":"color-brand-50","button-secondary-inverted-disabled-text-color":"color-brand-50","button-tertiary-background-color":"transparent-100","button-tertiary-border-color":"transparent-100","button-tertiary-text-color":"color-neutral-65","button-tertiary-hover-background-color":"color-neutral-15","button-tertiary-hover-border-color":"transparent-100","button-tertiary-hover-text-color":"color-neutral-90","button-tertiary-focus-background-color":"color-white","button-tertiary-focus-border-color":"color-brand-50","button-tertiary-focus-text-color":"color-neutral-65","button-tertiary-disabled-background-color":"transparent-100","button-tertiary-disabled-border-color":"transparent-100","button-tertiary-disabled-text-color":"color-neutral-30","button-tertiary-inverted-background-color":"transparent-100","button-tertiary-inverted-border-color":"transparent-100","button-tertiary-inverted-text-color":"color-white","button-tertiary-inverted-hover-background-color":"color-brand-70","button-tertiary-inverted-hover-border-color":"transparent-100","button-tertiary-inverted-hover-text-color":"color-white","button-tertiary-inverted-focus-background-color":"color-brand-80","button-tertiary-inverted-focus-border-color":"color-brand-50","button-tertiary-inverted-focus-text-color":"color-white","button-tertiary-inverted-disabled-background-color":"transparent-100","button-tertiary-inverted-disabled-border-color":"transparent-100","button-tertiary-inverted-disabled-text-color":"color-brand-50","button-destructive-background-color":"color-alert-50","button-destructive-border-color":"color-alert-50","button-destructive-text-color":"color-white","button-destructive-hover-background-color":"color-alert-70","button-destructive-hover-border-color":"color-alert-70","button-destructive-hover-text-color":"color-white","button-destructive-focus-background-color":"color-alert-50","button-destructive-focus-border-color":"color-alert-20","button-destructive-focus-text-color":"color-white","button-destructive-disabled-background-color":"color-alert-20","button-destructive-disabled-border-color":"color-alert-20","button-destructive-disabled-text-color":"color-white","button-destructive-inverted-background-color":"color-white","button-destructive-inverted-border-color":"color-white","button-destructive-inverted-text-color":"color-alert-50","button-destructive-inverted-hover-background-color":"color-white","button-destructive-inverted-hover-border-color":"color-white","button-destructive-inverted-hover-text-color":"color-alert-70","button-destructive-inverted-focus-background-color":"color-white","button-destructive-inverted-focus-border-color":"color-white","button-destructive-inverted-focus-text-color":"color-alert-20","button-destructive-inverted-disabled-background-color":"color-white","button-destructive-inverted-disabled-border-color":"color-white","button-destructive-inverted-disabled-text-color":"color-alert-20","button-destructive-secondary-background-color":"color-white","button-destructive-secondary-border-color":"color-alert-50","button-destructive-secondary-text-color":"color-alert-50","button-destructive-secondary-hover-background-color":"color-white","button-destructive-secondary-hover-border-color":"color-alert-70","button-destructive-secondary-hover-text-color":"color-alert-70","button-destructive-secondary-focus-background-color":"color-white","button-destructive-secondary-focus-border-color":"color-alert-50","button-destructive-secondary-focus-text-color":"color-alert-50","button-destructive-secondary-disabled-background-color":"color-white","button-destructive-secondary-disabled-border-color":"color-alert-20","button-destructive-secondary-disabled-text-color":"color-alert-20","button-destructive-secondary-inverted-background-color":"transparent-100","button-destructive-secondary-inverted-border-color":"color-alert-50","button-destructive-secondary-inverted-text-color":"color-alert-50","button-destructive-secondary-inverted-hover-background-color":"transparent-100","button-destructive-secondary-inverted-hover-border-color":"color-alert-70","button-destructive-secondary-inverted-hover-text-color":"color-alert-70","button-destructive-secondary-inverted-focus-background-color":"color-white","button-destructive-secondary-inverted-focus-border-color":"color-white","button-destructive-secondary-inverted-focus-text-color":"color-alert-20","button-destructive-secondary-inverted-disabled-background-color":"transparent-100","button-destructive-secondary-inverted-disabled-border-color":"color-alert-70","button-destructive-secondary-inverted-disabled-text-color":"color-alert-70","button-search-background-color":"color-white","button-search-border-color":"color-neutral-65","button-search-text-color":"color-neutral-65","button-search-hover-background-color":"color-neutral-15","button-search-hover-text-color":"color-black","button-search-disabled-background-color":"color-neutral-05","button-search-disabled-border-color":"color-neutral-15","button-search-disabled-text-color":"color-neutral-30"}},17203:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultCardLinkTokens=void 0,t.defaultCardLinkTokens={"card-link-background-color":"color-white","card-link-box-shadow-inset-color":"color-neutral-15","card-link-text-color":"color-black","card-link-hover-background-color":"color-neutral-15","card-link-hover-box-shadow-inset-color":"color-neutral-65"}},10878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultExternalLinkTokens=void 0,t.defaultExternalLinkTokens={"external-link-visited-text-color":"visited-link-color"}},62388:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultFocusTokens=void 0,t.defaultFocusTokens={"focus-border-color":"color-brand-50","focus-box-shadow-color":"color-brand-20","focus-box-shadow-inset-color":"color-brand-20","focus-border-box-shadow-color-1":"color-brand-50","focus-border-box-shadow-color-2":"color-brand-20","focus-border-box-shadow-inset-color-1":"color-brand-20","focus-border-box-shadow-inset-color-2":"color-brand-50"}},88662:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHeadingTokens=void 0,t.defaultHeadingTokens={"heading-text-color":"default-text-color","heading-subtitle-text-color":"alternate-text-color"}},56934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultLabelTokens=void 0,t.defaultLabelTokens={"label-text-color":"default-text-color"}},53548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultNavListItemTokens=void 0,t.defaultNavListItemTokens={"nav-list-item-text-color":"color-black","nav-list-item-icon-text-color":"color-neutral-65","nav-list-item-hover-background-color":"color-neutral-15","nav-list-item-icon-hover-text-color":"color-black","nav-list-item-disabled-text-color":"color-neutral-30"}},44412:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultNavListTokens=void 0,t.defaultNavListTokens={"nav-list-background-color":"color-white","nav-list-border-color":"color-neutral-65"}},97156:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultPaginationTokens=void 0,t.defaultPaginationTokens={"pagination-page-background-color":"color-white","pagination-page-text-color":"color-neutral-65","pagination-page-hover-background-color":"color-neutral-15","pagination-page-selected-hover-background-color":"color-informative-05","pagination-page-selected-background-color":"color-informative-05","pagination-page-selected-outline-color":"color-informative-50","pagination-page-selected-text-color":"color-informative-70"}},91084:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultRouteLinkTokens=void 0,t.defaultRouteLinkTokens={"route-link-text-color":"color-informative-50","route-link-disabled-text-color":"color-informative-20","route-link-hover-text-color":"color-informative-70","route-link-visited-text-color":"visited-link-color"}},15390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSkipLinkTokens=void 0,t.defaultSkipLinkTokens={"skip-link-text-color":"color-informative-50","skip-link-focus-background-color":"color-white"}},31781:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(8515),t),r(n(94472),t),r(n(98505),t)},69865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTokens=t.defaultNotifications=t.defaultGreys=t.defaultMain=void 0,t.defaultMain={"primary-1.1":"#006296","primary-1.2":"#84C6EA","primary-1.3":"#003A5A","primary-1.4":"#E0F0F9","primary-2":"#012639","primary-3":"#004E78","secondary-4.1":"#EF483E","secondary-4.2":"#F9B6B2","secondary-4.3":"#D41F14"},t.defaultGreys={white:"#FFFFFF","neutral-90":"#1B1C1E","colored-white":"#FAFAFA","light-grey":"#F1F2F2",grey:"#DBDEE1","mid-grey":"#B7BBC2","dark-grey":"#60666E",black:"#000000"},t.defaultNotifications={"info-1.1":"#006296","discovery-1.1":"#602FA0","neutral-1.1":"#878F9A","success-1.1":"#008533","success-1.2":"#F6FCF8","success-1.3":"#8ADDA9","alert-2.1":"#CD2C23","alert-2.2":"#FFFAFB","warning-3.1":"#F5A200","warning-3.2":"#FFF9F5","warning-3.3":"#FFB302","warning-3.4":"#A36D00"},t.defaultTokens={"focus-box-shadow":`0 0 0 2px ${t.defaultMain["primary-1.2"]}`,"focus-box-shadow-inset":`inset 0 0 0 2px ${t.defaultMain["primary-1.2"]}`,"focus-border-box-shadow":` 0 0 0 1px ${t.defaultMain["primary-1.1"]}, 0 0 0 3px ${t.defaultMain["primary-1.2"]}`,"focus-border-box-shadow-inset":`inset 0 0 0 2px ${t.defaultMain["primary-1.2"]}, inset 0 0 0 3px ${t.defaultMain["primary-1.1"]}`,"focus-border":`${t.defaultMain["primary-1.1"]}`,"modal-overlay-background-color":"rgba(0, 0, 0, 0.75)","overlay-box-shadow":"0 10px 20px 0 rgba(0, 0, 0, 0.19)"}},8515:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultRefTokens=void 0;const a=n(18888),r=n(30487),i=n(41751);t.defaultRefTokens=Object.assign(Object.assign(Object.assign({},r.defaultPaletteTokens),a.defaultColorUtilityTokens),i.defaultTextAttributeTokens)},18888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultColorUtilityTokens=void 0,t.defaultColorUtilityTokens={"transparent-10":"rgba(0, 0, 0, 0.1)","transparent-20":"rgba(0, 0, 0, 0.2)","transparent-30":"rgba(0, 0, 0, 0.3)","transparent-40":"rgba(0, 0, 0, 0.4)","transparent-50":"rgba(0, 0, 0, 0.5)","transparent-60":"rgba(0, 0, 0, 0.6)","transparent-70":"rgba(0, 0, 0, 0.7)","transparent-80":"rgba(0, 0, 0, 0.8)","transparent-90":"rgba(0, 0, 0, 0.9)","transparent-100":"transparent"}},30487:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultPaletteTokens=void 0,t.defaultPaletteTokens={"color-brand-05":"#E0F0F9","color-brand-20":"#84C6EA","color-brand-50":"#006296","color-brand-70":"#003A5A","color-brand-80":"#012639","color-accent-20":"#F9B6B2","color-accent-50":"#EF483E","color-accent-70":"#D41F14","color-white":"#FFFFFF","color-black":"#000000","color-neutral-02":"#FAFAFA","color-neutral-05":"#F1F2F2","color-neutral-15":"#DBDEE1","color-neutral-30":"#B7BBC2","color-neutral-50":"#878F9A","color-neutral-65":"#60666E","color-neutral-90":"#1B1C1E","color-alert-02":"#FDF7F6","color-alert-05":"#FAEAE9","color-alert-20":"#F99D99","color-alert-50":"#CD2C23","color-alert-70":"#7B1A15","color-informative-02":"#F9F7FB","color-informative-05":"#E0F0F9","color-informative-20":"#84C6EA","color-informative-50":"#006296","color-informative-70":"#003A5A","color-success-02":"#F6FCF8","color-success-05":"#E1F7EA","color-success-20":"#8ADDA9","color-success-50":"#008533","color-success-70":"#004F1E","color-warning-02":"#FFFBF5","color-warning-05":"#FFF7E5","color-warning-20":"#FFDD99","color-warning-50":"#F5A200","color-warning-70":"#9E6900","color-warning-80":"#664400","color-discovery-02":"#F9F7FB","color-discovery-05":"#EFEAF6","color-discovery-20":"#CFC1E3","color-discovery-50":"#602FA0","color-discovery-70":"#3A1C60"}},41751:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTextAttributeTokens=void 0,t.defaultTextAttributeTokens={"font-weight-bold":"bold"}},41912:(e,t)=>{"use strict";function n(e){return e[0]}function a(e,t){return e.find(t)}function r(e){return e[e.length-1]}function i(e,t){return[...e].reverse().find(t)}function o(e,t){const n=e();return void 0!==n?n:null==t?void 0:t()}Object.defineProperty(t,"__esModule",{value:!0}),t.unique=t.findNextElement=t.getNextElement=t.findPreviousElement=t.getPreviousElement=t.findLastElement=t.getLastElement=t.findFirstElement=t.getFirstElement=void 0,t.getFirstElement=n,t.findFirstElement=a,t.getLastElement=r,t.findLastElement=i,t.getPreviousElement=function(e,t,{wrapAround:n=!1}={}){return o((()=>e[t-1]),n?()=>r(e):void 0)},t.findPreviousElement=function(e,t,n,{wrapAround:a=!1}={}){return o((()=>e.slice(0,t).reverse().find(n)),a?()=>i(e,n):void 0)},t.getNextElement=function(e,t,{wrapAround:a=!1}={}){return o((()=>e[t+1]),a?()=>n(e):void 0)},t.findNextElement=function(e,t,n,{wrapAround:r=!1}={}){return o((()=>e.slice(t+1).find(n)),r?()=>a(e,n):void 0)},t.unique=function(e){return[...new Set(e)]}},94094:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.focusVisibleReset=t.focus=void 0;const a=n(88694);t.focus=({theme:e},t=!1,n=void 0,a=!1)=>{const r=`${e.component["focus-border-color"]}`,i=`0 0 0 2px ${e.component["focus-box-shadow-color"]}`,o=`0 0 0 1px ${e.component["focus-border-box-shadow-color-1"]}, 0 0 0 3px ${e.component["focus-border-box-shadow-color-2"]}`,l=`inset 0 0 0 2px ${e.component["focus-border-box-shadow-inset-color-1"]}, inset 0 0 0 3px ${e.component["focus-border-box-shadow-inset-color-2"]}`;return`\n ${void 0===n?"&:focus { outline: none; }":""}\n ${void 0===n?"&:focus":`${n}`} {\n outline: none;\n ${t?`border-color: ${r};`:""}\n box-shadow: ${i};\n ${t?"":`box-shadow: ${a?l:o};`}\n }\n `},t.focusVisibleReset=(e,t=!1)=>a.css`
3401
+ `;t.VisuallyHidden=({children:e})=>(0,r.jsx)(l,{"aria-hidden":"false",children:e});try{t.VisuallyHidden.displayName="VisuallyHidden",t.VisuallyHidden.__docgenInfo={description:"",displayName:"VisuallyHidden",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/visually-hidden/visuallyhidden.tsx#VisuallyHidden"]={docgenInfo:t.VisuallyHidden.__docgenInfo,name:"VisuallyHidden",path:"src/components/visually-hidden/visuallyhidden.tsx#VisuallyHidden"})}catch(e){}},91043:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useAriaConditionalIds=void 0,t.useAriaConditionalIds=function(e){return e.filter((e=>{var t;return e.id&&(null===(t=e.include)||void 0===t||t)})).map((e=>e.id)).join(" ")||void 0}},3176:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useClickOutside=void 0;const a=n(39155),r=n(6940);t.useClickOutside=function(e,t){(0,a.useEffect)((()=>{function n(n){(0,r.eventIsInside)(n,...e.map((e=>e.current)))||t()}return document.addEventListener("mousedown",n),()=>document.removeEventListener("mousedown",n)}),[t,e])}},4544:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useDataAttributes=void 0;const a=n(39155);function r(e){return null!==e&&"object"==typeof e}function i(e){return r(e)?Object.keys(e).reduce(((t,n)=>(function(e){return null!==e.match(/data-/i)}(n)&&(t[n]=e[n]),t)),{}):{}}t.useDataAttributes=function(e){const[t,n]=(0,a.useState)((()=>i(e))),o=r(e)?[...Object.values(e)]:[e];return(0,a.useEffect)((()=>{n(i(e))}),o),t}},76681:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useId=void 0;const a=n(39155),r=n(27150);t.useId=function(e){return(0,a.useMemo)((()=>null!=e?e:(0,r.v4)()),[e])}},6519:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useListCursor=void 0;const a=n(39155),r=n(41912);t.useListCursor=function({elements:e,initialElement:t,predicate:n=(()=>!0),wrapAround:i=!1}){const[o,l]=(0,a.useState)(t),u=(0,a.useCallback)((()=>{const t=(0,r.findFirstElement)(e,n);return t&&l(t),t}),[e,n]),s=(0,a.useCallback)((()=>{const t=(0,r.findLastElement)(e,n);return t&&l(t),t}),[e,n]),d=(0,a.useCallback)((()=>{if(void 0===o)return u();const t=e.indexOf(o),a=(0,r.findPreviousElement)(e,t,n,{wrapAround:i});return a&&l(a),a}),[e,n,u,o,i]),c=(0,a.useCallback)((()=>{if(void 0===o)return u();const t=e.indexOf(o),a=(0,r.findNextElement)(e,t,n,{wrapAround:i});return a&&l(a),a}),[e,n,u,o,i]);return{selectedElement:o,setSelectedElement:l,selectPrevious:d,selectNext:c,selectFirst:u,selectLast:s}}},63569:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useListSearch=void 0;const a=n(39155),r=n(71268);t.useListSearch=function({elements:e,focusedElement:t,onFoundElementChange:n,searchPropertyAccessor:i,predicate:o=(()=>!0),searchResetTimeout:l=500}){const u=(0,a.useRef)(void 0),s=(0,a.useRef)(""),d=(0,a.useCallback)(((e,t)=>e.filter((e=>i(e).toLowerCase().startsWith(t.toLowerCase())&&o(e)))),[o,i]),c=(0,a.useCallback)((n=>{const a=t?e.indexOf(t)+1:0,i=[...e.slice(a),...e.slice(0,a)],o=d(i,n)[0];return o||((0,r.allSameLetter)(n)?d(i,n[0])[0]:void 0)}),[d,t,e]);return{handleSearchInput:(0,a.useCallback)((e=>{void 0!==u.current&&clearTimeout(u.current),u.current=setTimeout((()=>{s.current=""}),l),s.current+=e,n&&n(c(s.current))}),[c,n,l])}}},63220:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollIntoView=void 0;const a=n(39155);t.useScrollIntoView=function({container:e}){return{scrollIntoView:(0,a.useCallback)(((t,n=!1)=>{if(!e.current)return;const{offsetHeight:a,offsetTop:r}=t,{offsetHeight:i,scrollTop:o}=e.current,l=getComputedStyle(e.current),u=r-parseFloat(l.paddingTop),s=r-i+a+parseFloat(l.paddingBottom),d=s>o;u<o||d&&n?e.current.scrollTo(0,u):d&&e.current.scrollTo(0,s)}),[e])}}},83203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTheme=void 0;const a=n(39155),r=n(88694);t.useTheme=function(){return(0,a.useContext)(r.ThemeContext)}},5321:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useToast=void 0;const a=n(39155),r=n(32664);t.useToast=function(){const{addToast:e,removeToast:t}=(0,r.useToasts)();return{showToast:(0,a.useCallback)(((t,n)=>e(t,n,!0)),[e]),hideToast:t}}},32664:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useToasts=void 0;const a=n(39155),r=n(89477);t.useToasts=function(){return(0,a.useContext)(r.ToastContext)}},20578:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createI18n=void 0;const r=a(n(49575)),i=n(90274);t.createI18n=function(e="en"){const t=r.default.createInstance();return t.init({defaultNS:"common",resources:i.Translations,lng:e,fallbackLng:e,interpolation:{escapeValue:!1},returnNull:!1}).catch(console.error),t}},90274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Translations=void 0,t.Translations={en:{avatar:{ariaLabel:"{{username}} avatar"},bento:{productsLabel:"Products",externalsLabel:"Resources"},combobox:{showOptions:"Show {{label}} options"},common:{opensInNewTab:"opens in a new tab",opensInNewTabScreenReader:"(opens in a new tab)",error:"Error"},datepicker:{calendarButtonLabel:"Choose date",calendarButtonSelectedLabel:"Choose date. The selected date is",calendarContainerLabel:"Choose date",todayButtonAriaLabel:"Choose today's date",todayButtonLabel:"Today",validationErrorMessage:"Invalid date",monthPreviousButtonLabel:"Go to previous month",monthNextButtonLabel:"Go to next month",monthSelectLabel:"Select a month",yearSelectLabel:"Select a year"},"dropdown-list":{inputAriaLabel:"Select an option",validationErrorMessage:"You must select an option"},"error-summary":{title:"The form contains one or more errors",message:"Please correct them to proceed to the next step."},"global-banner":{ignore:"Ignore"},"menu-button":{buttonAriaLabel:"Open menu"},modal:{closeButtonLabel:"Close dialog"},"modal-dialog":{cancelButtonLabel:"Cancel",confirmButtonLabel:"Confirm"},"money-input":{validationErrorMessage:"Invalid number"},"nav-menu-button":{ariaLabel:"Menu"},"numeric-input":{requiredValidationErrorMessage:"This field is required",maxValidationErrorMessage:"The value must be less than or equal to {{max}}",minValidationErrorMessage:"The value must be greater than or equal to {{min}}"},pagination:{pagination:"Pagination",results:"{{pageStartIndex}}–{{pageEndIndex}} of {{numberOfResults}} results"},"password-creation-input":{"password-strength":"Password strength: ","min-8-characters":"Minimum 8 characters","min-1-lower-case":"At least one lower case","min-1-upper-case":"At least one upper case","create-password":"Create password",weak:"Weak",fair:"Fair",good:"Good",strong:"Strong","show-password":"Show password in plain text.","hide-password":"Hide password."},"password-input":{"show-password":"Show password in plain text.","hide-password":"Hide password."},"search-input":{label:"Search"},"sectional-banner":{Alert:"Alert",Warning:"Warning",Success:"Success",Info:"Information",Discovery:"Pro-tip",Neutral:"Information",dismissLabel:"Dismiss banner"},"skip-link":{label:"Skip to main content"},"stepper-input":{validationErrorMessage:"Invalid number"},"stepper-buttons":{"increment-button-aria-label":"Increase number","decrement-button-aria-label":"Decrease number"},"tag-medium":{deleteButtonAriaLabel:"Remove tag {{label}}"},"text-area":{validationErrorMessage:"This text area is invalid",maxLengthValidationErrorMessage:"The number of characters exceeds the maximum allowed. You must shorten the description.",characters:"{{length}} / {{max}} characters",charactersScreenReader:"{{length}} of {{max}} characters available"},"text-input":{validationErrorMessage:"This input is invalid",required:"required"},toast:{dismissButtonLabel:"Dismiss notification"},"user-profile":{ariaLabel:"User menu"}},fr:{avatar:{ariaLabel:"Avatar de {{username}}"},bento:{productsLabel:"Produits",externalsLabel:"Ressources"},combobox:{showOptions:"Afficher les options pour {{label}}"},common:{opensInNewTab:"ouvre dans un nouvel onglet",opensInNewTabScreenReader:"(ouvre dans un nouvel onglet)",error:"Erreur"},datepicker:{calendarButtonLabel:"Choisissez une date",calendarButtonSelectedLabel:"Choisissez une date. La date sélectionnée est",calendarContainerLabel:"Choisissez une date",todayButtonAriaLabel:"Choisir la date d'aujourd'hui",todayButtonLabel:"Aujourd'hui",validationErrorMessage:"Date non valide",monthPreviousButtonLabel:"Aller au mois précédent",monthNextButtonLabel:"Aller au mois suivant",monthSelectLabel:"Choisissez un mois",yearSelectLabel:"Choisissez une année"},"dropdown-list":{inputAriaLabel:"Choisissez une option",validationErrorMessage:"Vous devez choisir une option"},"error-summary":{title:"Le formulaire contient une ou plusieurs erreurs",message:"Veuillez les corriger avant de passer à l'étape suivante."},"global-banner":{ignore:"Ignorer"},"menu-button":{buttonAriaLabel:"Ouvrir le menu"},modal:{closeButtonLabel:"Fermer le dialogue"},"modal-dialog":{cancelButtonLabel:"Annuler",confirmButtonLabel:"Confirmer"},"money-input":{validationErrorMessage:"Ce nombre n'est pas valide"},"nav-menu-button":{ariaLabel:"Menu"},"numeric-input":{requiredValidationErrorMessage:"Ce champ est obligatoire",maxValidationErrorMessage:"La valeur doit être inférieure ou égale à {{max}}",minValidationErrorMessage:"La valeur doit être supérieure ou égale à {{min}}"},pagination:{pagination:"Pagination",results:"{{pageStartIndex}}–{{pageEndIndex}} de {{numberOfResults}} résultats"},"password-creation-input":{"password-strength":"Force du mot de passe : ","min-8-characters":"Minimum 8 caractères","min-1-lower-case":"Au moins une minuscule","min-1-upper-case":"Au moins une majuscule","create-password":"Créer un mot de passe",weak:"Faible",fair:"Raisonnable",good:"Bon",strong:"Fort","show-password":"Montrer le mot de passe.","hide-password":"Cacher le mot de passe."},"password-input":{"show-password":"Montrer le mot de passe.","hide-password":"Cacher le mot de passe."},"search-input":{label:"Rechercher"},"sectional-banner":{Alert:"Alerte",Warning:"Attention",Success:"Succès",Info:"Information",Discovery:"Truc de pro",Neutral:"Information",dismissLabel:"Rejeter la bannière"},"skip-link":{label:"Passer au contenu principal"},"stepper-input":{validationErrorMessage:"Ce nombre n'est pas valide"},"stepper-buttons":{"increment-button-aria-label":"Augmenter le nombre","decrement-button-aria-label":"Diminuer le nombre"},"tag-medium":{deleteButtonAriaLabel:"Retirer l'étiquette {{label}}"},"text-area":{validationErrorMessage:"Cette zone texte n'est pas valide",maxLengthValidationErrorMessage:"Le nombre de caractères dépasse le maximum autorisé. Vous devez raccourcir la description.",characters:"{{length}} / {{max}} caractères",charactersScreenReader:"{{length}} sur {{max}} caractères disponibles"},"text-input":{validationErrorMessage:"Ce champ est invalide",required:"obligatoire"},toast:{dismissButtonLabel:"Rejeter la notification"},"user-profile":{ariaLabel:"Menu utilisateur"}}}},90605:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTranslation=void 0;const a=n(39155),r=n(15497);function i(e){var t;const n=null===(t=e.options)||void 0===t?void 0:t.fallbackLng;return"string"==typeof n||Array.isArray(n)?n:"en"}t.useTranslation=function(e){const{i18n:t}=(0,r.useIntlContext)(),n=(0,a.useCallback)((()=>({t:t.getFixedT(t.language||i(t),e||void 0)})),[t,e]),[o,l]=(0,a.useState)(n()),u=(0,a.useCallback)((()=>{l(n())}),[l,n]);return(0,a.useEffect)((()=>(t.on("languageChanged",u),()=>t.off("languageChanged",u))),[t,u]),{i18n:t,t:o.t}}},68619:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.Table=t.GlobalBanner=t.SideDrawer=t.SectionalBanner=t.Icon=t.DropdownMenuButton=t.GlobalHeader=t.Heading=t.ExternalLink=t.ErrorSummary=t.ChooserButtonGroup=t.CardLink=t.Card=t.Badge=t.Accordion=t.AccordionItem=t.Listbox=t.IntlProvider=t.useDeviceContext=t.DeviceContextProvider=t.ThemeWrapper=t.isLongEnough=t.hasAnUpperCaseLetter=t.hasALowerCaseLetter=t.ToggleSwitch=t.TextInput=t.TextArea=t.Tabs=t.StepperInput=t.SearchGlobal=t.SearchContextual=t.RadioButtonGroup=t.PhoneInput=t.PasswordInput=t.PasswordCreationInput=t.OptionButton=t.NumericInput=t.MoneyInput=t.DropdownList=t.Datepicker=t.Combobox=t.CheckboxGroup=t.Checkbox=t.Avatar=t.ToggleButtonGroup=t.BentoMenuButton=t.DropdownNavigation=t.MenuButton=t.IconButton=t.Button=void 0,t.useTheme=t.injectMainCss=t.equisoftTheme=t.Pagination=t.ProgressCircle=t.ProgressIndicator=t.RouteLink=t.Breadcrumb=t.useToast=t.UserProfile=t.useModal=t.Spinner=t.SkipLink=t.Status=t.RadioCardGroup=t.RadioCard=t.Lozenge=t.Tag=t.ModalDialog=t.Modal=void 0;var i=n(84268);Object.defineProperty(t,"Button",{enumerable:!0,get:function(){return i.Button}});var o=n(60926);Object.defineProperty(t,"IconButton",{enumerable:!0,get:function(){return o.IconButton}});var l=n(55573);Object.defineProperty(t,"MenuButton",{enumerable:!0,get:function(){return l.MenuButton}});var u=n(2305);Object.defineProperty(t,"DropdownNavigation",{enumerable:!0,get:function(){return u.DropdownNavigation}});var s=n(74497);Object.defineProperty(t,"BentoMenuButton",{enumerable:!0,get:function(){return s.BentoMenuButton}});var d=n(99501);Object.defineProperty(t,"ToggleButtonGroup",{enumerable:!0,get:function(){return d.ToggleButtonGroup}});var c=n(72921);Object.defineProperty(t,"Avatar",{enumerable:!0,get:function(){return c.Avatar}});var m=n(9177);Object.defineProperty(t,"Checkbox",{enumerable:!0,get:function(){return m.Checkbox}});var p=n(61229);Object.defineProperty(t,"CheckboxGroup",{enumerable:!0,get:function(){return p.CheckboxGroup}});var f=n(41437);Object.defineProperty(t,"Combobox",{enumerable:!0,get:function(){return f.Combobox}});var h=n(57037);Object.defineProperty(t,"Datepicker",{enumerable:!0,get:function(){return h.Datepicker}});var g=n(50665);Object.defineProperty(t,"DropdownList",{enumerable:!0,get:function(){return g.DropdownList}});var v=n(79253);Object.defineProperty(t,"MoneyInput",{enumerable:!0,get:function(){return v.MoneyInput}});var b=n(94393);Object.defineProperty(t,"NumericInput",{enumerable:!0,get:function(){return b.NumericInput}});var y=n(98933);Object.defineProperty(t,"OptionButton",{enumerable:!0,get:function(){return y.OptionButton}});var w=n(75621);Object.defineProperty(t,"PasswordCreationInput",{enumerable:!0,get:function(){return w.PasswordCreationInput}});var _=n(9091);Object.defineProperty(t,"PasswordInput",{enumerable:!0,get:function(){return _.PasswordInput}});var M=n(12917);Object.defineProperty(t,"PhoneInput",{enumerable:!0,get:function(){return M.PhoneInput}});var E=n(73391);Object.defineProperty(t,"RadioButtonGroup",{enumerable:!0,get:function(){return E.RadioButtonGroup}});var k=n(51827);Object.defineProperty(t,"SearchContextual",{enumerable:!0,get:function(){return k.SearchContextual}});var C=n(79891);Object.defineProperty(t,"SearchGlobal",{enumerable:!0,get:function(){return C.SearchGlobal}});var x=n(69569);Object.defineProperty(t,"StepperInput",{enumerable:!0,get:function(){return x.StepperInput}});var S=n(41559);Object.defineProperty(t,"Tabs",{enumerable:!0,get:function(){return S.Tabs}});var P=n(76417);Object.defineProperty(t,"TextArea",{enumerable:!0,get:function(){return P.TextArea}});var O=n(49391);Object.defineProperty(t,"TextInput",{enumerable:!0,get:function(){return O.TextInput}});var L=n(93745);Object.defineProperty(t,"ToggleSwitch",{enumerable:!0,get:function(){return L.ToggleSwitch}});var T=n(91660);Object.defineProperty(t,"hasALowerCaseLetter",{enumerable:!0,get:function(){return T.hasALowerCaseLetter}}),Object.defineProperty(t,"hasAnUpperCaseLetter",{enumerable:!0,get:function(){return T.hasAnUpperCaseLetter}}),Object.defineProperty(t,"isLongEnough",{enumerable:!0,get:function(){return T.hasMinLength}});var H=n(81177);Object.defineProperty(t,"ThemeWrapper",{enumerable:!0,get:function(){return H.ThemeWrapper}});var V=n(89129);Object.defineProperty(t,"DeviceContextProvider",{enumerable:!0,get:function(){return V.DeviceContextProvider}}),Object.defineProperty(t,"useDeviceContext",{enumerable:!0,get:function(){return V.useDeviceContext}});var q=n(15497);Object.defineProperty(t,"IntlProvider",{enumerable:!0,get:function(){return q.IntlProvider}});var D=n(95709);Object.defineProperty(t,"Listbox",{enumerable:!0,get:function(){return D.Listbox}});var j=n(31399);Object.defineProperty(t,"AccordionItem",{enumerable:!0,get:function(){return j.AccordionItem}}),Object.defineProperty(t,"Accordion",{enumerable:!0,get:function(){return j.Accordion}});var A=n(75785);Object.defineProperty(t,"Badge",{enumerable:!0,get:function(){return A.Badge}});var F=n(12243);Object.defineProperty(t,"Card",{enumerable:!0,get:function(){return F.Card}});var R=n(87729);Object.defineProperty(t,"CardLink",{enumerable:!0,get:function(){return R.CardLink}}),r(n(88187),t);var I=n(8247);Object.defineProperty(t,"ChooserButtonGroup",{enumerable:!0,get:function(){return I.ChooserButtonGroup}});var z=n(76721);Object.defineProperty(t,"ErrorSummary",{enumerable:!0,get:function(){return z.ErrorSummary}});var W=n(60165);Object.defineProperty(t,"ExternalLink",{enumerable:!0,get:function(){return W.ExternalLink}});var N=n(53657);Object.defineProperty(t,"Heading",{enumerable:!0,get:function(){return N.Heading}});var B=n(20929);Object.defineProperty(t,"GlobalHeader",{enumerable:!0,get:function(){return B.GlobalHeader}});var $=n(29867);Object.defineProperty(t,"DropdownMenuButton",{enumerable:!0,get:function(){return $.DropdownMenuButton}});var Y=n(77465);Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return Y.Icon}});var U=n(64789);Object.defineProperty(t,"SectionalBanner",{enumerable:!0,get:function(){return U.SectionalBanner}}),r(n(90391),t);var K=n(90945);Object.defineProperty(t,"SideDrawer",{enumerable:!0,get:function(){return K.SideDrawer}});var G=n(40193);Object.defineProperty(t,"GlobalBanner",{enumerable:!0,get:function(){return G.GlobalBanner}}),r(n(30841),t),r(n(8429),t);var X=n(84685);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return X.Table}});var Q=n(62893);Object.defineProperty(t,"Modal",{enumerable:!0,get:function(){return Q.Modal}});var J=n(1428);Object.defineProperty(t,"ModalDialog",{enumerable:!0,get:function(){return J.ModalDialog}});var Z=n(25357);Object.defineProperty(t,"Tag",{enumerable:!0,get:function(){return Z.Tag}});var ee=n(32909);Object.defineProperty(t,"Lozenge",{enumerable:!0,get:function(){return ee.Lozenge}});var te=n(83121);Object.defineProperty(t,"RadioCard",{enumerable:!0,get:function(){return te.RadioCard}});var ne=n(97167);Object.defineProperty(t,"RadioCardGroup",{enumerable:!0,get:function(){return ne.RadioCardGroup}});var ae=n(6927);Object.defineProperty(t,"Status",{enumerable:!0,get:function(){return ae.Status}});var re=n(63317);Object.defineProperty(t,"SkipLink",{enumerable:!0,get:function(){return re.SkipLink}});var ie=n(24609);Object.defineProperty(t,"Spinner",{enumerable:!0,get:function(){return ie.Spinner}});var oe=n(75917);Object.defineProperty(t,"useModal",{enumerable:!0,get:function(){return oe.useModal}});var le=n(2105);Object.defineProperty(t,"UserProfile",{enumerable:!0,get:function(){return le.UserProfile}});var ue=n(5321);Object.defineProperty(t,"useToast",{enumerable:!0,get:function(){return ue.useToast}});var se=n(28769);Object.defineProperty(t,"Breadcrumb",{enumerable:!0,get:function(){return se.Breadcrumb}}),r(n(79573),t);var de=n(60571);Object.defineProperty(t,"RouteLink",{enumerable:!0,get:function(){return de.RouteLink}}),r(n(83689),t);var ce=n(61917);Object.defineProperty(t,"ProgressIndicator",{enumerable:!0,get:function(){return ce.ProgressIndicator}});var me=n(93369);Object.defineProperty(t,"ProgressCircle",{enumerable:!0,get:function(){return me.ProgressCircle}});var pe=n(74175);Object.defineProperty(t,"Pagination",{enumerable:!0,get:function(){return pe.Pagination}});var fe=n(65324);Object.defineProperty(t,"equisoftTheme",{enumerable:!0,get:function(){return fe.equisoftTheme}});var he=n(84842);Object.defineProperty(t,"injectMainCss",{enumerable:!0,get:function(){return he.injectMainCss}});var ge=n(83203);Object.defineProperty(t,"useTheme",{enumerable:!0,get:function(){return ge.useTheme}}),r(n(13040),t)},53023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.breakpoints=void 0,t.breakpoints={mobile:480,desktop:1024}},59245:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.menuDimensions=void 0,t.menuDimensions={maxWidth:"350px",minWidth:"200px"}},23087:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useFont=void 0;const r=n(39155),i=a(n(97360));t.useFont=function(e){(0,r.useEffect)((()=>e?(i.default.use(),()=>i.default.unuse()):()=>{}),[e])};try{t.useFont.displayName="useFont",t.useFont.__docgenInfo={description:"",displayName:"useFont",props:{valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/styles/font-loader.tsx#useFont"]={docgenInfo:t.useFont.__docgenInfo,name:"useFont",path:"src/styles/font-loader.tsx#useFont"})}catch(e){}},84842:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useStyle=t.mainCss=t.injectMainCss=void 0;const r=a(n(47007)),i=n(23087),o=n(33813);var l=n(33813);Object.defineProperty(t,"injectMainCss",{enumerable:!0,get:function(){return l.injectMainCss}}),t.mainCss=r.default.toString(),t.useStyle=function(e){(0,i.useFont)(e),(0,o.useMainCss)(e)}},33813:function(e,t,n){"use strict";var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.injectMainCss=t.useMainCss=void 0;const r=n(39155),i=a(n(55061));t.useMainCss=function(e){(0,r.useEffect)((()=>e?()=>{}:(i.default.use(),()=>i.default.unuse())),[e])},t.injectMainCss=function(){i.default.use()};try{t.useMainCss.displayName="useMainCss",t.useMainCss.__docgenInfo={description:"",displayName:"useMainCss",props:{valueOf:{defaultValue:null,description:"Returns the primitive value of the specified object.",name:"valueOf",required:!1,type:{name:"() => boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/styles/style-loader.tsx#useMainCss"]={docgenInfo:t.useMainCss.__docgenInfo,name:"useMainCss",path:"src/styles/style-loader.tsx#useMainCss"})}catch(e){}},46795:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTheme=void 0;const a=n(31781);t.defaultTheme={ref:a.defaultRefTokens,alias:a.defaultAliasTokens,component:a.defaultComponentTokens}},65324:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.equisoftTheme=void 0;const a=n(31781);t.equisoftTheme={ref:a.defaultRefTokens,alias:a.defaultAliasTokens,component:a.defaultComponentTokens}},33798:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(65324),t),r(n(31781),t)},57090:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeTheme=void 0;const a=n(46795),r=n(69865);t.mergeTheme=function(e){const t={main:Object.assign(Object.assign({},r.defaultMain),e.main),greys:Object.assign(Object.assign({},r.defaultGreys),e.greys),notifications:Object.assign(Object.assign({},r.defaultNotifications),e.notifications),tokens:Object.assign(Object.assign({},r.defaultTokens),e.tokens),ref:Object.assign(Object.assign({},a.defaultTheme.ref),e.ref),alias:Object.assign(Object.assign({},a.defaultTheme.alias),e.alias),component:Object.assign(Object.assign({},a.defaultTheme.component),e.component)};function n(e){if(e&&function(e){return!!t.ref&&e in t.ref}(e))return t.ref[e];if(e&&function(e){return!!t.alias&&e in t.alias}(e)){const a=t.alias[e];return a===e?(console.error(`Self-referencing AliasToken detected: '${e}'`),""):n(a)}return console.error(`Token '${e}' not found in RefTokens or AliasTokens`),""}const i={main:t.main,greys:t.greys,notifications:t.notifications,tokens:t.tokens,ref:t.ref,alias:t.alias,component:{}};return t.component&&Object.keys(t.component).forEach((e=>{if(Object.prototype.hasOwnProperty.call(t.component,e)){const a=t.component[e];i.component[e]=n(a)}})),i}},94472:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultAliasTokens=void 0,t.defaultAliasTokens={"alternate-text-color":"color-neutral-65","default-text-color":"color-black","separator-color":"color-neutral-15","visited-link-color":"color-discovery-50"}},98505:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultComponentTokens=void 0;const a=n(40885),r=n(2944),i=n(17203),o=n(10878),l=n(62388),u=n(88662),s=n(56934),d=n(44412),c=n(53548),m=n(97156),p=n(91084),f=n(15390),h=n(63957),g=n(91352),v=n(98841),b=n(24667),y=n(78828),w=n(57915);t.defaultComponentTokens=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},a.defaultBentoMenuButtonTokens),r.defaultButtonTokens),i.defaultCardLinkTokens),o.defaultExternalLinkTokens),l.defaultFocusTokens),u.defaultHeadingTokens),s.defaultLabelTokens),d.defaultNavListTokens),c.defaultNavListItemTokens),m.defaultPaginationTokens),p.defaultRouteLinkTokens),f.defaultSkipLinkTokens),l.defaultFocusTokens),h.defaultBadgeTokens),g.defaultGlobalBannerTokens),v.defaultSectionalBannerTokens),b.defaultSpinnerTokens),y.defaultTagTokens),w.defaultToastContainerTokens)},63957:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultBadgeTokens=void 0,t.defaultBadgeTokens={"badge-background-color":"color-alert-50","badge-color":"color-white"}},40885:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultBentoMenuButtonTokens=void 0,t.defaultBentoMenuButtonTokens={"bento-menu-divider-color":"separator-color"}},2944:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultButtonTokens=void 0,t.defaultButtonTokens={"button-primary-background-color":"color-brand-50","button-primary-border-color":"color-brand-50","button-primary-text-color":"color-white","button-primary-hover-background-color":"color-brand-70","button-primary-hover-border-color":"color-brand-70","button-primary-hover-text-color":"color-white","button-primary-focus-background-color":"color-brand-50","button-primary-focus-border-color":"color-brand-50","button-primary-focus-text-color":"color-white","button-primary-disabled-background-color":"color-brand-20","button-primary-disabled-border-color":"color-brand-20","button-primary-disabled-text-color":"color-white","button-primary-inverted-background-color":"color-white","button-primary-inverted-border-color":"color-white","button-primary-inverted-text-color":"color-brand-50","button-primary-inverted-hover-background-color":"color-white","button-primary-inverted-hover-border-color":"color-white","button-primary-inverted-hover-text-color":"color-brand-70","button-primary-inverted-focus-background-color":"color-white","button-primary-inverted-focus-border-color":"color-white","button-primary-inverted-focus-text-color":"color-brand-50","button-primary-inverted-disabled-background-color":"color-white","button-primary-inverted-disabled-border-color":"color-white","button-primary-inverted-disabled-text-color":"color-brand-20","button-secondary-background-color":"color-white","button-secondary-border-color":"color-brand-50","button-secondary-text-color":"color-brand-50","button-secondary-hover-background-color":"color-white","button-secondary-hover-border-color":"color-brand-70","button-secondary-hover-text-color":"color-brand-70","button-secondary-focus-background-color":"color-white","button-secondary-focus-border-color":"color-brand-50","button-secondary-focus-text-color":"color-brand-50","button-secondary-disabled-background-color":"color-white","button-secondary-disabled-border-color":"color-brand-20","button-secondary-disabled-text-color":"color-brand-20","button-secondary-inverted-background-color":"transparent-100","button-secondary-inverted-border-color":"color-white","button-secondary-inverted-text-color":"color-white","button-secondary-inverted-hover-background-color":"transparent-100","button-secondary-inverted-hover-border-color":"color-brand-20","button-secondary-inverted-hover-text-color":"color-brand-20","button-secondary-inverted-focus-background-color":"color-brand-80","button-secondary-inverted-focus-border-color":"color-brand-50","button-secondary-inverted-focus-text-color":"color-white","button-secondary-inverted-disabled-background-color":"transparent-100","button-secondary-inverted-disabled-border-color":"color-brand-50","button-secondary-inverted-disabled-text-color":"color-brand-50","button-tertiary-background-color":"transparent-100","button-tertiary-border-color":"transparent-100","button-tertiary-text-color":"color-neutral-65","button-tertiary-hover-background-color":"color-neutral-15","button-tertiary-hover-border-color":"transparent-100","button-tertiary-hover-text-color":"color-neutral-90","button-tertiary-focus-background-color":"color-white","button-tertiary-focus-border-color":"color-brand-50","button-tertiary-focus-text-color":"color-neutral-65","button-tertiary-disabled-background-color":"transparent-100","button-tertiary-disabled-border-color":"transparent-100","button-tertiary-disabled-text-color":"color-neutral-30","button-tertiary-inverted-background-color":"transparent-100","button-tertiary-inverted-border-color":"transparent-100","button-tertiary-inverted-text-color":"color-white","button-tertiary-inverted-hover-background-color":"color-brand-70","button-tertiary-inverted-hover-border-color":"transparent-100","button-tertiary-inverted-hover-text-color":"color-white","button-tertiary-inverted-focus-background-color":"color-brand-80","button-tertiary-inverted-focus-border-color":"color-brand-50","button-tertiary-inverted-focus-text-color":"color-white","button-tertiary-inverted-disabled-background-color":"transparent-100","button-tertiary-inverted-disabled-border-color":"transparent-100","button-tertiary-inverted-disabled-text-color":"color-brand-50","button-destructive-background-color":"color-alert-50","button-destructive-border-color":"color-alert-50","button-destructive-text-color":"color-white","button-destructive-hover-background-color":"color-alert-70","button-destructive-hover-border-color":"color-alert-70","button-destructive-hover-text-color":"color-white","button-destructive-focus-background-color":"color-alert-50","button-destructive-focus-border-color":"color-alert-20","button-destructive-focus-text-color":"color-white","button-destructive-disabled-background-color":"color-alert-20","button-destructive-disabled-border-color":"color-alert-20","button-destructive-disabled-text-color":"color-white","button-destructive-inverted-background-color":"color-white","button-destructive-inverted-border-color":"color-white","button-destructive-inverted-text-color":"color-alert-50","button-destructive-inverted-hover-background-color":"color-white","button-destructive-inverted-hover-border-color":"color-white","button-destructive-inverted-hover-text-color":"color-alert-70","button-destructive-inverted-focus-background-color":"color-white","button-destructive-inverted-focus-border-color":"color-white","button-destructive-inverted-focus-text-color":"color-alert-20","button-destructive-inverted-disabled-background-color":"color-white","button-destructive-inverted-disabled-border-color":"color-white","button-destructive-inverted-disabled-text-color":"color-alert-20","button-destructive-secondary-background-color":"color-white","button-destructive-secondary-border-color":"color-alert-50","button-destructive-secondary-text-color":"color-alert-50","button-destructive-secondary-hover-background-color":"color-white","button-destructive-secondary-hover-border-color":"color-alert-70","button-destructive-secondary-hover-text-color":"color-alert-70","button-destructive-secondary-focus-background-color":"color-white","button-destructive-secondary-focus-border-color":"color-alert-50","button-destructive-secondary-focus-text-color":"color-alert-50","button-destructive-secondary-disabled-background-color":"color-white","button-destructive-secondary-disabled-border-color":"color-alert-20","button-destructive-secondary-disabled-text-color":"color-alert-20","button-destructive-secondary-inverted-background-color":"transparent-100","button-destructive-secondary-inverted-border-color":"color-alert-50","button-destructive-secondary-inverted-text-color":"color-alert-50","button-destructive-secondary-inverted-hover-background-color":"transparent-100","button-destructive-secondary-inverted-hover-border-color":"color-alert-70","button-destructive-secondary-inverted-hover-text-color":"color-alert-70","button-destructive-secondary-inverted-focus-background-color":"color-white","button-destructive-secondary-inverted-focus-border-color":"color-white","button-destructive-secondary-inverted-focus-text-color":"color-alert-20","button-destructive-secondary-inverted-disabled-background-color":"transparent-100","button-destructive-secondary-inverted-disabled-border-color":"color-alert-70","button-destructive-secondary-inverted-disabled-text-color":"color-alert-70","button-search-background-color":"color-white","button-search-border-color":"color-neutral-65","button-search-text-color":"color-neutral-65","button-search-hover-background-color":"color-neutral-15","button-search-hover-text-color":"color-black","button-search-disabled-background-color":"color-neutral-05","button-search-disabled-border-color":"color-neutral-15","button-search-disabled-text-color":"color-neutral-30"}},17203:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultCardLinkTokens=void 0,t.defaultCardLinkTokens={"card-link-background-color":"color-white","card-link-box-shadow-inset-color":"color-neutral-15","card-link-text-color":"color-black","card-link-hover-background-color":"color-neutral-15","card-link-hover-box-shadow-inset-color":"color-neutral-65"}},10878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultExternalLinkTokens=void 0,t.defaultExternalLinkTokens={"external-link-visited-text-color":"visited-link-color"}},62388:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultFocusTokens=void 0,t.defaultFocusTokens={"focus-border-color":"color-brand-50","focus-box-shadow-color":"color-brand-20","focus-box-shadow-inset-color":"color-brand-20","focus-border-box-shadow-color-1":"color-brand-50","focus-border-box-shadow-color-2":"color-brand-20","focus-border-box-shadow-inset-color-1":"color-brand-20","focus-border-box-shadow-inset-color-2":"color-brand-50"}},91352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultGlobalBannerTokens=void 0,t.defaultGlobalBannerTokens={"global-banner-alert-background-color":"color-alert-50","global-banner-warning-background-color":"color-warning-50","global-banner-info-background-color":"color-informative-50","global-banner-default-background-color":"color-neutral-65","global-banner-default-color":"color-white","global-banner-warning-color":"color-black","global-banner-action-button-warning-color":"color-black","global-banner-action-button-warning-background-color":"color-black","global-banner-action-button-alert-hover-color":"color-alert-20","global-banner-action-button-warning-hover-color":"color-warning-70","global-banner-action-button-info-hover-color":"color-discovery-20","global-banner-action-button-default-hover-color":"color-neutral-30","global-banner-tertiary-button-alert-hover-background-color":"color-alert-20","global-banner-tertiary-button-warning-hover-background-color":"color-warning-70","global-banner-tertiary-button-info-hover-background-color":"color-discovery-70","global-banner-tertiary-button-default-hover-background-color":"color-neutral-50","global-banner-tertiary-button-color":"color-black","global-banner-tertiary-button-focus-color":"color-black","global-banner-tertiary-button-hover-color":"color-white"}},88662:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultHeadingTokens=void 0,t.defaultHeadingTokens={"heading-text-color":"default-text-color","heading-subtitle-text-color":"alternate-text-color"}},56934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultLabelTokens=void 0,t.defaultLabelTokens={"label-text-color":"default-text-color"}},53548:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultNavListItemTokens=void 0,t.defaultNavListItemTokens={"nav-list-item-text-color":"color-black","nav-list-item-icon-text-color":"color-neutral-65","nav-list-item-hover-background-color":"color-neutral-15","nav-list-item-icon-hover-text-color":"color-black","nav-list-item-disabled-text-color":"color-neutral-30"}},44412:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultNavListTokens=void 0,t.defaultNavListTokens={"nav-list-background-color":"color-white","nav-list-border-color":"color-neutral-65"}},97156:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultPaginationTokens=void 0,t.defaultPaginationTokens={"pagination-page-background-color":"color-white","pagination-page-text-color":"color-neutral-65","pagination-page-hover-background-color":"color-neutral-15","pagination-page-selected-hover-background-color":"color-informative-05","pagination-page-selected-background-color":"color-informative-05","pagination-page-selected-outline-color":"color-informative-50","pagination-page-selected-text-color":"color-informative-70"}},91084:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultRouteLinkTokens=void 0,t.defaultRouteLinkTokens={"route-link-text-color":"color-informative-50","route-link-disabled-text-color":"color-informative-20","route-link-hover-text-color":"color-informative-70","route-link-visited-text-color":"visited-link-color"}},98841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSectionalBannerTokens=void 0,t.defaultSectionalBannerTokens={"sectional-banner-border-color":"color-brand-50","sectional-banner-neutral-background-color":"color-neutral-02","sectional-banner-neutral-border-color":"color-neutral-50","sectional-banner-info-background-color":"color-informative-02","sectional-banner-info-border-color":"color-informative-50","sectional-banner-discovery-background-color":"color-discovery-02","sectional-banner-discovery-border-color":"color-discovery-50","sectional-banner-success-background-color":"color-success-02","sectional-banner-success-border-color":"color-success-50","sectional-banner-warning-background-color":"color-warning-02","sectional-banner-warning-border-color":"color-warning-50","sectional-banner-warning-icon-color":"color-warning-70","sectional-banner-alert-background-color":"color-alert-02","sectional-banner-alert-border-color":"color-alert-50","sectional-banner-icon-color":"color-brand-50"}},15390:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSkipLinkTokens=void 0,t.defaultSkipLinkTokens={"skip-link-text-color":"color-informative-50","skip-link-focus-background-color":"color-white"}},24667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultSpinnerTokens=void 0,t.defaultSpinnerTokens={"spinner-fill":"color-brand-50"}},78828:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTagTokens=void 0,t.defaultTagTokens={"tag-background-color":"color-neutral-05","tag-box-shadow-color":"color-neutral-50","tag-delete-button-icon-color":"color-black","tag-delete-button-hover-background-color":"color-neutral-15","tag-delete-icon-color":"color-neutral-65","tag-clickable-hover-border-background-color":"color-neutral-65","tag-clickable-hover-border-color":"color-neutral-65","tag-clickable-hover-icon-color":"color-black","tag-clickable-hover-background-color":"color-neutral-15"}},57915:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultToastContainerTokens=void 0,t.defaultToastContainerTokens={"toast-container-information-background":"color-informative-50","toast-container-success-background":"color-success-50","toast-container-warning-background":"color-warning-50","toast-container-error-background":"color-alert-50","toast-container-dismiss-icon-information-hover-background-color":"color-discovery-70","toast-container-dismiss-icon-information-hover-color":"color-white","toast-container-dismiss-icon-success-hover-background-color":"color-success-70","toast-container-dismiss-icon-success-hover-color":"color-white","toast-container-dismiss-icon-warning-hover-background-color":"color-warning-70","toast-container-dismiss-icon-warning-hover-color":"color-black","toast-container-dismiss-icon-error-hover-background-color":"color-alert-70","toast-container-dismiss-icon-error-hover-color":"color-white","toast-container-dismiss-icon-focus-box-shadow":"color-brand-20","toast-container-default-text-color":"color-white","toast-container-warning-text-color":"color-black"}},31781:function(e,t,n){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,t,n,a){void 0===a&&(a=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,a,r)}:function(e,t,n,a){void 0===a&&(a=n),e[a]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||a(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(8515),t),r(n(94472),t),r(n(98505),t)},69865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTokens=t.defaultNotifications=t.defaultGreys=t.defaultMain=void 0,t.defaultMain={"primary-1.1":"#006296","primary-1.2":"#84C6EA","primary-1.3":"#003A5A","primary-1.4":"#E0F0F9","primary-2":"#012639","primary-3":"#004E78","secondary-4.1":"#EF483E","secondary-4.2":"#F9B6B2","secondary-4.3":"#D41F14"},t.defaultGreys={white:"#FFFFFF","neutral-90":"#1B1C1E","colored-white":"#FAFAFA","light-grey":"#F1F2F2",grey:"#DBDEE1","mid-grey":"#B7BBC2","dark-grey":"#60666E",black:"#000000"},t.defaultNotifications={"info-1.1":"#006296","discovery-1.1":"#602FA0","neutral-1.1":"#878F9A","success-1.1":"#008533","success-1.2":"#F6FCF8","success-1.3":"#8ADDA9","alert-2.1":"#CD2C23","alert-2.2":"#FFFAFB","warning-3.1":"#F5A200","warning-3.2":"#FFF9F5","warning-3.3":"#FFB302","warning-3.4":"#A36D00"},t.defaultTokens={"focus-box-shadow":`0 0 0 2px ${t.defaultMain["primary-1.2"]}`,"focus-box-shadow-inset":`inset 0 0 0 2px ${t.defaultMain["primary-1.2"]}`,"focus-border-box-shadow":` 0 0 0 1px ${t.defaultMain["primary-1.1"]}, 0 0 0 3px ${t.defaultMain["primary-1.2"]}`,"focus-border-box-shadow-inset":`inset 0 0 0 2px ${t.defaultMain["primary-1.2"]}, inset 0 0 0 3px ${t.defaultMain["primary-1.1"]}`,"focus-border":`${t.defaultMain["primary-1.1"]}`,"modal-overlay-background-color":"rgba(0, 0, 0, 0.75)","overlay-box-shadow":"0 10px 20px 0 rgba(0, 0, 0, 0.19)"}},8515:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultRefTokens=void 0;const a=n(18888),r=n(30487),i=n(41751);t.defaultRefTokens=Object.assign(Object.assign(Object.assign({},r.defaultPaletteTokens),a.defaultColorUtilityTokens),i.defaultTextAttributeTokens)},18888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultColorUtilityTokens=void 0,t.defaultColorUtilityTokens={"transparent-10":"rgba(0, 0, 0, 0.1)","transparent-20":"rgba(0, 0, 0, 0.2)","transparent-30":"rgba(0, 0, 0, 0.3)","transparent-40":"rgba(0, 0, 0, 0.4)","transparent-50":"rgba(0, 0, 0, 0.5)","transparent-60":"rgba(0, 0, 0, 0.6)","transparent-70":"rgba(0, 0, 0, 0.7)","transparent-80":"rgba(0, 0, 0, 0.8)","transparent-90":"rgba(0, 0, 0, 0.9)","transparent-100":"transparent"}},30487:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultPaletteTokens=void 0,t.defaultPaletteTokens={"color-brand-05":"#E0F0F9","color-brand-20":"#84C6EA","color-brand-50":"#006296","color-brand-70":"#003A5A","color-brand-80":"#012639","color-accent-20":"#F9B6B2","color-accent-50":"#EF483E","color-accent-70":"#D41F14","color-white":"#FFFFFF","color-black":"#000000","color-neutral-02":"#FAFAFA","color-neutral-05":"#F1F2F2","color-neutral-15":"#DBDEE1","color-neutral-30":"#B7BBC2","color-neutral-50":"#878F9A","color-neutral-65":"#60666E","color-neutral-90":"#1B1C1E","color-alert-02":"#FDF7F6","color-alert-05":"#FAEAE9","color-alert-20":"#F99D99","color-alert-50":"#CD2C23","color-alert-70":"#7B1A15","color-informative-02":"#F3F9FD","color-informative-05":"#E0F0F9","color-informative-20":"#84C6EA","color-informative-50":"#006296","color-informative-70":"#003A5A","color-success-02":"#F6FBF8","color-success-05":"#E1F7EA","color-success-20":"#8ADDA9","color-success-50":"#008533","color-success-70":"#004F1E","color-warning-02":"#FFFBF5","color-warning-05":"#FFF7E5","color-warning-20":"#FFDD99","color-warning-50":"#F5A200","color-warning-70":"#9E6900","color-warning-80":"#664400","color-discovery-02":"#F9F7FB","color-discovery-05":"#EFEAF6","color-discovery-20":"#CFC1E3","color-discovery-50":"#602FA0","color-discovery-70":"#3A1C60"}},41751:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultTextAttributeTokens=void 0,t.defaultTextAttributeTokens={"font-weight-bold":"bold"}},41912:(e,t)=>{"use strict";function n(e){return e[0]}function a(e,t){return e.find(t)}function r(e){return e[e.length-1]}function i(e,t){return[...e].reverse().find(t)}function o(e,t){const n=e();return void 0!==n?n:null==t?void 0:t()}Object.defineProperty(t,"__esModule",{value:!0}),t.unique=t.findNextElement=t.getNextElement=t.findPreviousElement=t.getPreviousElement=t.findLastElement=t.getLastElement=t.findFirstElement=t.getFirstElement=void 0,t.getFirstElement=n,t.findFirstElement=a,t.getLastElement=r,t.findLastElement=i,t.getPreviousElement=function(e,t,{wrapAround:n=!1}={}){return o((()=>e[t-1]),n?()=>r(e):void 0)},t.findPreviousElement=function(e,t,n,{wrapAround:a=!1}={}){return o((()=>e.slice(0,t).reverse().find(n)),a?()=>i(e,n):void 0)},t.getNextElement=function(e,t,{wrapAround:a=!1}={}){return o((()=>e[t+1]),a?()=>n(e):void 0)},t.findNextElement=function(e,t,n,{wrapAround:r=!1}={}){return o((()=>e.slice(t+1).find(n)),r?()=>a(e,n):void 0)},t.unique=function(e){return[...new Set(e)]}},94094:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.focusVisibleReset=t.focus=void 0;const a=n(88694);t.focus=({theme:e},t=!1,n=void 0,a=!1)=>{const r=`${e.component["focus-border-color"]}`,i=`0 0 0 2px ${e.component["focus-box-shadow-color"]}`,o=`0 0 0 1px ${e.component["focus-border-box-shadow-color-1"]}, 0 0 0 3px ${e.component["focus-border-box-shadow-color-2"]}`,l=`inset 0 0 0 2px ${e.component["focus-border-box-shadow-inset-color-1"]}, inset 0 0 0 3px ${e.component["focus-border-box-shadow-inset-color-2"]}`;return`\n ${void 0===n?"&:focus { outline: none; }":""}\n ${void 0===n?"&:focus":`${n}`} {\n outline: none;\n ${t?`border-color: ${r};`:""}\n box-shadow: ${i};\n ${t?"":`box-shadow: ${a?l:o};`}\n }\n `},t.focusVisibleReset=(e,t=!1)=>a.css`
3409
3402
  &:focus:not(:focus-visible) {
3410
3403
  ${t&&"border-color: inherit;"}
3411
3404