@livechat/design-system-react-components 1.0.0-alpha.5 → 1.0.0-alpha.8

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/dsrc.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";var ut=Object.defineProperty,mt=Object.defineProperties;var pt=Object.getOwnPropertyDescriptors;var pe=Object.getOwnPropertySymbols;var Pe=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable;var Fe=(e,r,o)=>r in e?ut(e,r,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[r]=o,b=(e,r)=>{for(var o in r||(r={}))Pe.call(r,o)&&Fe(e,o,r[o]);if(pe)for(var o of pe(r))Ge.call(r,o)&&Fe(e,o,r[o]);return e},w=(e,r)=>mt(e,pt(r));var y=(e,r)=>{var o={};for(var l in e)Pe.call(e,l)&&r.indexOf(l)<0&&(o[l]=e[l]);if(e!=null&&pe)for(var l of pe(e))r.indexOf(l)<0&&Ge.call(e,l)&&(o[l]=e[l]);return o};Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var bt=require("react"),gt=require("clsx"),C=require("@livechat/design-system-icons/react/material"),ft=require("react-dom"),vt=require("react-popper"),je=require("polished"),ht=require("lodash.escape"),Me=require("react-transition-group");function Ue(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function Je(e){if(e&&e.__esModule)return e;var r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(o){if(o!=="default"){var l=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,l.get?l:{enumerable:!0,get:function(){return e[o]}})}}),r.default=e,Object.freeze(r)}var t=Je(bt),u=Ue(gt),yt=Je(ft),Re=Ue(ht);const $t={Background:"--background",SurfaceBasicDefault:"--surface-basic-default",SurfaceBasicSubtle:"--surface-basic-subtle",SurfaceBasicHover:"--surface-basic-hover",SurfaceBasicActive:"--surface-basic-active",SurfaceBasicDisabled:"--surface-basic-disabled",SurfaceSecondaryDefault:"--surface-secondary-default",SurfaceSecondarySubtle:"--surface-secondary-subtle",SurfaceSecondaryHover:"--surface-secondary-hover",SurfaceSecondaryDisabled:"--surface-secondary-disabled",SurfaceFeedbackInfo:"--surface-feedback-info",SurfaceFeedbackNegative:"--surface-feedback-negative",SurfaceFeedbackWarning:"--surface-feedback-warning",SurfaceFeedbackPositive:"--surface-feedback-positive",SurfaceInvertDefault:"--surface-invert-default",SurfaceInvertSubtle:"--surface-invert-subtle",SurfaceInvertDisabled:"--surface-invert-disabled",SurfaceOverlay:"--surface-overlay",ContentDefault:"--content-default",ContentSubtle:"--content-subtle",ContentDisabled:"--content-disabled",ContentWhiteLocked:"--content-white-locked",ContentInvertDefault:"--content-invert-default",ContentInvertSubtle:"--content-invert-subtle",ContentInvertDisabled:"--content-invert-disabled",BorderDefault:"--border-default",BorderSubtle:"--border-subtle",BorderHover:"--border-hover",BorderDisabled:"--border-disabled",BorderInvertDefault:"--border-invert-default",BorderInvertSubtle:"--border-invert-subtle",BorderInvertHover:"--border-invert-hover",BorderInvertDisabled:"--border-invert-disabled",ColorActionActive:"--color-action-active",ColorActionHover:"--color-action-hover",ColorActionDefault:"--color-action-default",ColorActionDisabled:"--color-action-disabled",ColorNegativeActive:"--color-negative-active",ColorNegativeHover:"--color-negative-hover",ColorNegativeDefault:"--color-negative-default",ColorNegativeDisabled:"--color-negative-disabled",ColorWarningDefault:"--color-warning-default",ColorWarningHover:"--color-warning-hover",ColorPositiveDefault:"--color-positive-default",ColorPositiveHover:"--color-positive-hover",ColorPositiveDisabled:"--color-positive-disabled",ColorBot:"--color-bot",ColorBlack:"--color-black",ColorWhite:"--color-white",DecorBlue900:"--decor-blue900",DecorBlue800:"--decor-blue800",DecorBlue700:"--decor-blue700",DecorBlue600:"--decor-blue600",DecorBlue500:"--decor-blue500",DecorBlue400:"--decor-blue400",DecorBlue300:"--decor-blue300",DecorBlue200:"--decor-blue200",DecorBlue100:"--decor-blue100",DecorBlue50:"--decor-blue50",DecorOrange900:"--decor-orange900",DecorOrange800:"--decor-orange800",DecorOrange700:"--decor-orange700",DecorOrange600:"--decor-orange600",DecorOrange500:"--decor-orange500",DecorOrange400:"--decor-orange400",DecorOrange300:"--decor-orange300",DecorOrange200:"--decor-orange200",DecorOrange100:"--decor-orange100",DecorOrange50:"--decor-orange50",DecorYellow900:"--decor-yellow900",DecorYellow800:"--decor-yellow800",DecorYellow700:"--decor-yellow700",DecorYellow600:"--decor-yellow600",DecorYellow500:"--decor-yellow500",DecorYellow400:"--decor-yellow400",DecorYellow300:"--decor-yellow300",DecorYellow200:"--decor-yellow200",DecorYellow100:"--decor-yellow100",DecorYellow50:"--decor-yellow50",DecorGray950:"--decor-gray950",DecorGray900:"--decor-gray900",DecorGray800:"--decor-gray800",DecorGray700:"--decor-gray700",DecorGray600:"--decor-gray600",DecorGray500:"--decor-gray500",DecorGray400:"--decor-gray400",DecorGray300:"--decor-gray300",DecorGray200:"--decor-gray200",DecorGray150:"--decor-gray150",DecorGray100:"--decor-gray100",DecorGray75:"--decor-gray75",DecorGray50:"--decor-gray50",DecorGray40:"--decor-gray40",DecorGray20:"--decor-gray20",DecorGreen900:"--decor-green900",DecorGreen800:"--decor-green800",DecorGreen700:"--decor-green700",DecorGreen600:"--decor-green600",DecorGreen500:"--decor-green500",DecorGreen400:"--decor-green400",DecorGreen300:"--decor-green300",DecorGreen200:"--decor-green200",DecorGreen100:"--decor-green100",DecorGreen50:"--decor-green50",DecorRed900:"--decor-red900",DecorRed800:"--decor-red800",DecorRed700:"--decor-red700",DecorRed600:"--decor-red600",DecorRed500:"--decor-red500",DecorRed400:"--decor-red400",DecorRed300:"--decor-red300",DecorRed200:"--decor-red200",DecorRed100:"--decor-red100",DecorRed50:"--decor-red50",DecorPurple900:"--decor-purple900",DecorPurple800:"--decor-purple800",DecorPurple700:"--decor-purple700",DecorPurple600:"--decor-purple600",DecorPurple500:"--decor-purple500",DecorPurple400:"--decor-purple400",DecorPurple300:"--decor-purple300",DecorPurple200:"--decor-purple200",DecorPurple100:"--decor-purple100",DecorPurple50:"--decor-purple50"},Et="lc-Typography-module__caps___c3eNJ";var de={"heading-xl":"lc-Typography-module__heading-xl___nhr-6","heading-lg":"lc-Typography-module__heading-lg___XYF7l","heading-md":"lc-Typography-module__heading-md___wHOIs","heading-sm":"lc-Typography-module__heading-sm___nBmTV","heading-xs":"lc-Typography-module__heading-xs___VcZBs",caps:Et,"caps--bold":"lc-Typography-module__caps--bold___OZovw","paragraph-md":"lc-Typography-module__paragraph-md___UGoqq","paragraph-md--bold":"lc-Typography-module__paragraph-md--bold___mWcMG","paragraph-md--underline":"lc-Typography-module__paragraph-md--underline___Fv6zM","paragraph-md--strike":"lc-Typography-module__paragraph-md--strike___yLGHh","paragraph-sm":"lc-Typography-module__paragraph-sm___QIEFL","paragraph-sm--bold":"lc-Typography-module__paragraph-sm--bold___fAjI5","paragraph-xs":"lc-Typography-module__paragraph-xs___OUooD","paragraph-xs--bold":"lc-Typography-module__paragraph-xs--bold___z7om7"},Ke=(e=>(e.xl="h1",e.lg="h2",e.md="h3",e.sm="h4",e.xs="h5",e))(Ke||{});const ue=_=>{var c=_,{as:e,size:r="md",children:o,className:l}=c,a=y(c,["as","size","children","className"]);return t.createElement(e||Ke[r],b({className:u.default(de[`heading-${r}`],l)},a),o)},S=d=>{var i=d,{as:e="p",size:r="md",caps:o=!1,bold:l=!1,underline:a=!1,strike:_=!1,children:c,className:s}=i,n=y(i,["as","size","caps","bold","underline","strike","children","className"]);const m=o?"caps":`paragraph-${r}`;return t.createElement(e,b({className:u.default({[de[`${m}`]]:!0,[de[`${m}--bold`]]:l,[de[`${m}--strike`]]:_,[de[`${m}--underline`]]:a},s)},n),c)},xt="lc-Icon-module__icon___tw31R";var Oe={icon:xt,"icon--primary":"lc-Icon-module__icon--primary___JJnBV","icon--subtle":"lc-Icon-module__icon--subtle___sZIzL","icon--inverted":"lc-Icon-module__icon--inverted___zA9QC","icon--inverted-subtle":"lc-Icon-module__icon--inverted-subtle___6UwBT","icon--link":"lc-Icon-module__icon--link___Jwkw9","icon--success":"lc-Icon-module__icon--success___MKdz3","icon--warning":"lc-Icon-module__icon--warning___5YCSW","icon--error":"lc-Icon-module__icon--error___CiJCD","icon--disabled--primary":"lc-Icon-module__icon--disabled--primary___E0nee","icon--disabled--subtle":"lc-Icon-module__icon--disabled--subtle___l-hK4","icon--disabled--inverted":"lc-Icon-module__icon--disabled--inverted___5SBAf","icon--disabled--inverted-subtle":"lc-Icon-module__icon--disabled--inverted-subtle___w-NBk","icon--disabled--link":"lc-Icon-module__icon--disabled--link___sVJOa","icon--disabled--success":"lc-Icon-module__icon--disabled--success___sG-7d","icon--disabled--warning":"lc-Icon-module__icon--disabled--warning___8ko1e","icon--disabled--error":"lc-Icon-module__icon--disabled--error___9KbVo"},j=(e=>(e.XSmall="xsmall",e.Small="small",e.Medium="medium",e.Large="large",e.XLarge="xlarge",e))(j||{});const Ct={xsmall:{width:12,height:12},small:{width:16,height:16},medium:{width:20,height:20},large:{width:24,height:24},xlarge:{width:32,height:32}};var N=(e=>(e.Primary="primary",e.Subtle="subtle",e.Inverted="inverted",e.InvertedSubtle="inverted_subtle",e.Link="link",e.Success="success",e.Warning="warning",e.Error="error",e))(N||{});const wt={primary:"primary",subtle:"subtle",inverted:"inverted",inverted_subtle:"inverted-subtle",link:"link",success:"success",warning:"warning",error:"error"},kt={primary:"disabled--primary",subtle:"disabled--subtle",inverted:"disabled--inverted",inverted_subtle:"disabled--inverted-subtle",link:"disabled--link",success:"disabled--success",warning:"disabled--warning",error:"disabled--error"},Le="icon",F=e=>{const m=e,{source:r,size:o="medium",iconType:l,disabled:a,className:_,customColor:c}=m,s=y(m,["source","size","iconType","disabled","className","customColor"]);let n;l&&(n=wt[l],a&&(n=kt[l]));const d=t.createElement(r,w(b({},Ct[o]),{color:c})),i=u.default(_,Oe[Le],n&&Oe[`${Le}--${n}`]);return t.createElement("span",w(b({},s),{className:i}),d)},Nt="lc-Alert-module__alert___HBTns",Dt="lc-Alert-module__alert__content___9nZdf",Tt="lc-Alert-module__alert__icon___8TaAH";var Q={alert:Nt,"alert__content-text":"lc-Alert-module__alert__content-text___x2Un5",alert__content:Dt,"alert--small":"lc-Alert-module__alert--small___Fyk-v","alert--medium":"lc-Alert-module__alert--medium___ItZWT","alert--large":"lc-Alert-module__alert--large___IH9yM","alert__close-icon":"lc-Alert-module__alert__close-icon___rYxVy","alert--info":"lc-Alert-module__alert--info___GmIGN","alert--warning":"lc-Alert-module__alert--warning___MubhD","alert--success":"lc-Alert-module__alert--success___fPtlZ","alert--error":"lc-Alert-module__alert--error___DKPo0",alert__icon:Tt};const Bt={info:{source:C.Info,iconType:N.Link},warning:{source:C.Warning,iconType:N.Warning},success:{source:C.CheckCircleSolid,iconType:N.Success},error:{source:C.Block,iconType:N.Error}},ee="alert",St=({children:e,className:r,size:o="small",type:l="info",onClose:a})=>{const _=u.default(Q[ee],Q[`${ee}--${l}`],Q[`${ee}--${o}`],r);return t.createElement("div",{className:_},t.createElement("div",{className:Q[`${ee}__content`]},t.createElement(F,b({},Bt[l])),t.createElement(S,{as:"div",className:Q[`${ee}__content-text`]},e)),a&&t.createElement("button",{type:"button",className:Q[`${ee}__close-icon`],onClick:a},t.createElement(F,{source:C.Close,size:j.Large,iconType:N.Primary})))},It="lc-Badge-module__badge___GhLnu";var Ae={badge:It,"badge--secondary":"lc-Badge-module__badge--secondary___JjNIJ"};const Ft=({children:e,className:r,secondary:o=!1})=>t.createElement("span",{className:u.default(Ae.badge,r,{[Ae["badge--secondary"]]:o})},e),Pt="lc-Loader-module__loader___LRflD",Gt="lc-Loader-module__loader__spinner___l3C1g",Mt="lc-Loader-module__rotate___Tlni-",Rt="lc-Loader-module__loader__label___R74f6";var le={loader:Pt,loader__spinner:Gt,"loader__spinner--small":"lc-Loader-module__loader__spinner--small___dGFFt","loader__spinner--medium":"lc-Loader-module__loader__spinner--medium___J-ki0","loader__spinner--large":"lc-Loader-module__loader__spinner--large___Poqq7","loader__spinner-circle":"lc-Loader-module__loader__spinner-circle___ApBUO",rotate:Mt,loader__label:Rt};const Xe="loader",ze=`${Xe}__spinner`,Ze=({primaryColor:e,secondaryColor:r,label:o,className:l,size:a="medium"})=>t.createElement("div",{className:u.default(le[Xe],l)},t.createElement("div",{className:u.default(le[ze],le[`${ze}--${a}`])},t.createElement("div",{className:le["loader__spinner-circle"],style:{borderColor:r,borderTopColor:e}})),o&&t.createElement(S,{as:"div",size:"md",className:le.loader__label},o)),Ot="lc-Button-module__btn___aijZJ",Lt="lc-Button-module__btn__loader___c8zZz",At="lc-Button-module__btn__content___wefl2",zt="lc-Button-module__btn__icon___GVExB";var G={btn:Ot,"btn--disabled":"lc-Button-module__btn--disabled___lXBav","btn--icon-only":"lc-Button-module__btn--icon-only___bF5pW","btn__icon--left":"lc-Button-module__btn__icon--left___H68zu","btn__icon--right":"lc-Button-module__btn__icon--right___fHr3D","btn--full-width":"lc-Button-module__btn--full-width___kdbAr","btn--basic":"lc-Button-module__btn--basic___Jc2gD","btn--primary":"lc-Button-module__btn--primary___ajbjQ","btn--secondary":"lc-Button-module__btn--secondary___iWzE0","btn--destructive":"lc-Button-module__btn--destructive___-kLCl","btn--compact":"lc-Button-module__btn--compact___4eptQ","btn--large":"lc-Button-module__btn--large___lb-z6","btn--text":"lc-Button-module__btn--text___WA8OL","btn--plain":"lc-Button-module__btn--plain___eOPui","btn--plain-light":"lc-Button-module__btn--plain-light___eS9em","btn--loading":"lc-Button-module__btn--loading___ZAgjv",btn__loader:Lt,btn__content:At,btn__icon:zt};const M="btn",De=$=>{var p=$,{loading:e=!1,disabled:r=!1,type:o="button",fullWidth:l=!1,kind:a="basic",size:_="medium",icon:c=null,iconPosition:s="left",loaderLabel:n,className:d,children:i,href:m}=p,f=y(p,["loading","disabled","type","fullWidth","kind","size","icon","iconPosition","loaderLabel","className","children","href"]);const v=e||r,E=m?"a":"button",g=u.default(d,G[M],G[`${M}--${a}`],G[`${M}--${_}`],{[G[`${M}--loading`]]:e,[G[`${M}--full-width`]]:l,[G[`${M}--icon-only`]]:!i&&c,[G[`${M}--disabled`]]:v});return t.createElement(E,b({className:g,disabled:v,type:o,href:v?void 0:m},f),e&&t.createElement(Ze,{size:"small",label:n,className:G[`${M}__loader`]}),c&&t.cloneElement(c,{className:u.default(G[`${M}__icon`],G[`${M}__icon--${s}`]),disabled:r}),t.createElement("div",{className:G[`${M}__content`]},i))},qt="lc-ButtonGroup-module__btn___bXPrU";var be={"btn-group":"lc-ButtonGroup-module__btn-group___R-lZQ",btn:qt,"btn--active":"lc-ButtonGroup-module__btn--active___VAc37","btn--compact":"lc-ButtonGroup-module__btn--compact___t1whe","btn--medium":"lc-ButtonGroup-module__btn--medium___XFRBP","btn--large":"lc-ButtonGroup-module__btn--large___OtNUz"};function Te(){}const Wt="btn-group",Ht=n=>{var d=n,{size:e="medium",fullWidth:r=!1,onIndexChange:o=Te,className:l,children:a,currentIndex:_,initialIndex:c=-1}=d,s=y(d,["size","fullWidth","onIndexChange","className","children","currentIndex","initialIndex"]);const i=u.default(be[Wt],l),[m,f]=t.useState(c),$=typeof _=="number",p=$?_:m,v=(E,g)=>{$||f(E),o(E,g)};return t.createElement("div",b({role:"group",className:i},s),t.Children.map(a,(E,g)=>t.cloneElement(E,{fullWidth:r,size:e,kind:"secondary",type:"button",onClick:x=>{v(g,x),E.props.onClick&&E.props.onClick(x)},className:u.default(be.btn,be[`btn--${e}`],g===p&&be["btn--active"])})))},Yt="lc-Card-module__card___GqMm2",Vt="lc-Card-module__card__title___1YjAR",jt="lc-Card-module__card__text___-jYlF",Ut="lc-Card-module__card__img___teLC8";var ge={card:Yt,card__title:Vt,card__text:jt,card__img:Ut};const Jt=_=>{var c=_,{img:e,title:r,children:o,className:l}=c,a=y(c,["img","title","children","className"]);return t.createElement(S,b({as:"div",size:"md",className:u.default(ge.card,l)},a),(e||r)&&t.createElement(ue,{as:"div",size:"sm",className:ge.card__title},e&&t.createElement("img",{src:e,className:ge.card__img}),r&&t.createElement("div",{className:ge.card__text},r)),o)},Kt="lc-Checkbox-module__checkbox___G7nTf",Xt="lc-Checkbox-module__checkbox__label___-o01x",Zt="lc-Checkbox-module__checkbox__square___MHUyd",Qt="lc-Checkbox-module__checkbox__checkmark___16pfY",er="lc-Checkbox-module__checkbox__input___YLbVF",tr="lc-Checkbox-module__checkbox__text___P2SIq",rr="lc-Checkbox-module__checkbox__helper___YSJ-n";var V={checkbox:Kt,checkbox__label:Xt,checkbox__square:Zt,checkbox__checkmark:Qt,"checkbox--selected":"lc-Checkbox-module__checkbox--selected___S2vqY",checkbox__input:er,checkbox__text:tr,"checkbox--disabled":"lc-Checkbox-module__checkbox--disabled___-lAqW",checkbox__helper:rr};const Ee="checkbox",Qe=o=>{var l=o,{className:e=""}=l,r=y(l,["className"]);const a=u.default(V[`${Ee}__square`],e);return t.createElement("div",null,t.createElement("input",w(b({},r),{className:V[`${Ee}__input`],type:"checkbox"})),t.createElement("div",{className:a},t.createElement(F,{source:C.Check,iconType:N.Inverted,size:j.XSmall,className:V[`${Ee}__checkmark`]})))};var or={"field-description":"lc-FieldDescription-module__field-description___IcRDH"};const lr="field-description",me=l=>{var a=l,{children:e,className:r=""}=a,o=y(a,["children","className"]);const _=u.default(or[lr],r);return t.createElement(S,w(b({as:"span",size:"sm"},o),{className:_}),e)},te="checkbox",ar=c=>{var s=c,{children:e,className:r="",description:o,checked:l,disabled:a}=s,_=y(s,["children","className","description","checked","disabled"]);const n=u.default(V[te],r,{[V[`${te}--selected`]]:l,[V[`${te}--disabled`]]:a});return t.createElement("div",{className:n},t.createElement("label",{className:V[`${te}__label`]},t.createElement(Qe,w(b({},_),{checked:l,disabled:a})),t.createElement(S,{as:"div",size:"md",className:V[`${te}__text`]},e)),o&&t.createElement(me,{className:V[`${te}__helper`]},o))};var _r={"field-error":"lc-FieldError-module__field-error___IDkPT"};const cr="field-error",ye=l=>{var a=l,{children:e,className:r=""}=a,o=y(a,["children","className"]);const _=u.default(_r[cr],r);return t.createElement(S,w(b({as:"span",size:"sm"},o),{className:_}),e)};var xe={"field-group":"lc-FieldGroup-module__field-group___gy8lp","field-group--inline":"lc-FieldGroup-module__field-group--inline___or4qf","field-group--stretched":"lc-FieldGroup-module__field-group--stretched___6rkuO"};const Ce="field-group",nr=s=>{var n=s,{className:e="",children:r,description:o,error:l,inline:a,stretch:_}=n,c=y(n,["className","children","description","error","inline","stretch"]);const d=u.default(xe[Ce],e,{[xe[`${Ce}--inline`]]:a,[xe[`${Ce}--stretched`]]:_});return t.createElement("div",w(b({},c),{className:d}),r,l&&t.createElement(ye,null,l),o&&t.createElement(me,null,o))},sr="lc-Form-module__form___1nOYF",dr="lc-Form-module__form__header___U4B7t",ir="lc-Form-module__form__footer___1-sUX",ur="lc-Form-module__form__label___spg-J",mr="lc-Form-module__form__helper___bhfwS";var ae={form:sr,form__header:dr,form__footer:ir,form__label:ur,form__helper:mr};const _e="form",pr=c=>{var s=c,{className:e,children:r,labelText:o,helperText:l,formFooter:a}=s,_=y(s,["className","children","labelText","helperText","formFooter"]);return t.createElement("form",b({className:u.default(ae[_e],e)},_),(o||l)&&t.createElement("div",{className:ae[`${_e}__header`]},o&&t.createElement(ue,{size:"sm",className:ae[`${_e}__label`]},o),l&&t.createElement(S,{as:"p",size:"sm",className:ae[`${_e}__helper`]},l)),r,a&&t.createElement("div",{className:ae[`${_e}__footer`]},a))};var fe={"form-group":"lc-FormGroup-module__form-group___e2JHa","form-group__header":"lc-FormGroup-module__form-group__header___DgGmR","form-group__label":"lc-FormGroup-module__form-group__label___NC-JW","form-group__helper":"lc-FormGroup-module__form-group__helper___SRuxe"};const ve="form-group",br=_=>{var c=_,{className:e="",children:r,labelText:o,helperText:l}=c,a=y(c,["className","children","labelText","helperText"]);const s=u.default(fe[ve],e);return t.createElement("div",w(b(w(b({},a),{role:"group"}),o&&{"aria-label":o}),{className:s}),t.createElement("div",{className:fe[`${ve}__header`]},t.createElement(ue,{as:"div",size:"sm",className:fe[`${ve}__label`]},o),l&&t.createElement(S,{as:"div",size:"sm",className:fe[`${ve}__helper`]},l)),r)};var D={"text-field":"lc-TextField-module__text-field___bis8c","text-field--inline":"lc-TextField-module__text-field--inline___MPHqg","text-field__wrapper--inline":"lc-TextField-module__text-field__wrapper--inline___-gOob","text-field__label":"lc-TextField-module__text-field__label___vpNdg","text-field__label--inline":"lc-TextField-module__text-field__label--inline___YSRYX","text-field__label--no-text":"lc-TextField-module__text-field__label--no-text___XSyn2","text-field__label-wrapper":"lc-TextField-module__text-field__label-wrapper___SNCct","text-field__label-adornment":"lc-TextField-module__text-field__label-adornment___--pgp","text-field__label-right-node":"lc-TextField-module__text-field__label-right-node___sdnWg","text-field__label-right-node--inline":"lc-TextField-module__text-field__label-right-node--inline___vMBP2","text-field__row-break":"lc-TextField-module__text-field__row-break___AnNrI","text-field__content":"lc-TextField-module__text-field__content___dCkUW","field-label":"lc-TextField-module__field-label___q8Y-p"};const T="text-field",Be=({inline:e,error:r,description:o,labelText:l,labelAdornment:a,className:_,labelFor:c,children:s,labelRightNode:n})=>{const d=u.default(D[T],{[D[`${T}--inline`]]:e},_);return t.createElement("div",{className:d},n&&e&&t.createElement(t.Fragment,null,t.createElement("div",{className:u.default(D[`${T}__label-right-node`],D[`${T}__label-right-node--inline`])},n),t.createElement("div",{className:D[`${T}__row-break`]})),t.createElement("div",{className:u.default(D[`${T}__wrapper`],e&&D[`${T}__wrapper--inline`])},(l||n)&&t.createElement("div",{className:u.default(D[`${T}__label`],e&&D[`${T}__label--inline`],!l&&D[`${T}__label--no-text`])},l&&t.createElement("div",{className:u.default(D[`${T}__label-wrapper`])},t.createElement("label",{className:"lc-field-label",htmlFor:c},t.createElement(S,{as:"span",size:"sm"},l)),a&&t.createElement("div",{className:u.default(D[`${T}__label-adornment`])},a)),n&&!e&&t.createElement("div",{className:u.default(D[`${T}__label-right-node`])},n)),t.createElement("div",{className:u.default(D[`${T}__content`])},s,r&&t.createElement(ye,null,r),o&&t.createElement(me,null,o))))};var qe={"input-field":"lc-InputField-module__input-field___A-GHj","input-field--error":"lc-InputField-module__input-field--error___MMchC"};const We="input-field",gr=t.forwardRef(($,f)=>{var p=$,{id:e,labelText:r,labelAdornment:o,className:l,inline:a,error:_,description:c,labelRightNode:s,fieldClassName:n,style:d,type:i="text"}=p,m=y(p,["id","labelText","labelAdornment","className","inline","error","description","labelRightNode","fieldClassName","style","type"]);const v=u.default(qe[We],{[qe[`${We}--error`]]:_},n);return t.createElement(Be,{inline:a,error:_,description:c,labelText:r,labelAdornment:o,className:l,labelFor:e,labelRightNode:s},t.createElement("input",w(b({},m),{id:e,ref:f,className:v,style:d,type:i})))}),fr="lc-Link-module__link___kqx52";var He={link:fr,"link--bold":"lc-Link-module__link--bold___1rGdO"};const Ye="link",vr=l=>{var a=l,{bold:e=!1,className:r=""}=a,o=y(a,["bold","className"]);return t.createElement("a",b({className:u.default(He[Ye],e&&He[`${Ye}--bold`],r)},o))},hr="lc-Modal-module__modal__header___Fp5VE",yr="lc-Modal-module__modal__heading___G9KVK",$r="lc-Modal-module__modal__body___M-jmN",Er="lc-Modal-module__modal__footer___2LYdc";var B={"modal-base":"lc-Modal-module__modal-base___hbL1U","modal-base__overlay":"lc-Modal-module__modal-base__overlay___kCQ8t","modal-base__overlay--visible":"lc-Modal-module__modal-base__overlay--visible___zUNJL","modal-base__close":"lc-Modal-module__modal-base__close___gJlgr",modal__header:hr,modal__heading:yr,modal__body:$r,modal__footer:Er,"action-modal":"lc-Modal-module__action-modal___CsRC7","action-modal__heading":"lc-Modal-module__action-modal__heading___m3MuG","action-modal__content":"lc-Modal-module__action-modal__content___gf-R2","action-modal__actions":"lc-Modal-module__action-modal__actions___kpRXD","action-modal__icon":"lc-Modal-module__action-modal__icon___MK5xt"};const et=({onClick:e})=>t.createElement("button",{title:"Close modal",className:B["modal-base__close"],onClick:e,type:"button"},t.createElement(F,{source:C.Close,size:j.Large})),I={esc:"Escape",enter:"Enter",backspace:"Backspace",delete:"Delete",spacebar:" ",tab:"Tab",semicolon:";",comma:",",arrowUp:"ArrowUp",arrowDown:"ArrowDown"},we="modal-base",Se=_=>{var c=_,{children:e,className:r="",onClose:o,closeOnEscPress:l=!0}=c,a=y(c,["children","className","onClose","closeOnEscPress"]);const s=u.default(B[we],r);t.useEffect(()=>{if(!l)return;const i=m=>{m.key===I.esc&&o()};return document.addEventListener("keyup",i,!0),()=>document.removeEventListener("keyup",i,!0)},[l]);const n=i=>{i.target===i.currentTarget&&o()},d=i=>{i.preventDefault(),i.stopPropagation(),o()};return t.createElement("div",{"data-testid":"lc-modal-overlay",onMouseDown:n,className:u.default(B[`${we}__overlay`],B[`${we}__overlay--visible`])},t.createElement("div",b({className:s},a),t.createElement(et,{onClick:d}),e))},ce="action-modal",xr=c=>{var s=c,{children:e,className:r="",icon:o,heading:l,actions:a}=s,_=y(s,["children","className","icon","heading","actions"]);const n=u.default(B[ce],r);return t.createElement(Se,b({className:n},_),o&&t.createElement("div",{className:B[`${ce}__icon`]},o),l&&t.createElement("div",{className:B[`${ce}__heading`]},l),t.createElement("div",{className:B[`${ce}__content`]},e),a&&t.createElement("div",{className:B[`${ce}__actions`]},a))},ne="modal",Cr=_=>{var c=_,{children:e,className:r="",heading:o,footer:l}=c,a=y(c,["children","className","heading","footer"]);const s=u.default(B[ne],r);return t.createElement(Se,b({className:s},a),o&&t.createElement("div",{className:B[`${ne}__header`]},t.createElement(ue,{size:"sm",as:"div",className:B[`${ne}__heading`]},o)),t.createElement("div",{className:B[`${ne}__body`]},e),l&&t.createElement("div",{className:B[`${ne}__footer`]},l))},wr=({children:e,className:r="",parentElementName:o="body",zIndex:l})=>{const[a]=t.useState(()=>document.createElement("div"));return r&&a.classList.add(r),l&&(a.style.zIndex=l.toString()),t.useEffect(()=>{var _;return(_=document.querySelector(o))==null||_.appendChild(a),()=>{var c;(c=document.querySelector(o))==null||c.removeChild(a)}},[]),t.createElement(t.Fragment,null,yt.createPortal(e,a))};var re={"numeric-input":"lc-NumericInput-module__numeric-input___j1esc","numeric-input__increment":"lc-NumericInput-module__numeric-input__increment___i3Tys","numeric-input__decrement":"lc-NumericInput-module__numeric-input__decrement___3qgn0","numeric-input--disabled":"lc-NumericInput-module__numeric-input--disabled___yaRvQ","numeric-input--no-controls":"lc-NumericInput-module__numeric-input--no-controls___D90rG","numeric-input--error":"lc-NumericInput-module__numeric-input--error___TMxRx"};const oe="numeric-input",tt=i=>{var m=i,{className:e,error:r,value:o,max:l,min:a,disabled:_,noControls:c,style:s,onChange:n}=m,d=y(m,["className","error","value","max","min","disabled","noControls","style","onChange"]);const f=t.useRef(null),$=u.default(re[oe],{[re[`${oe}--error`]]:r,[re[`${oe}--no-controls`]]:c,[re[`${oe}--disabled`]]:_},e),p=h=>n(String(h)),v=h=>l!==void 0&&h>l?l:a!==void 0&&h<a?a:h,E=h=>{const P=parseInt(o,10)+h;return p(v(P))},g=h=>{h.key===I.arrowDown&&(h.preventDefault(),E(-1)),h.key===I.arrowUp&&(h.preventDefault(),E(1))},x=(h,P)=>P!==void 0&&parseInt(h,10)===P,R=h=>{h.preventDefault(),h.stopPropagation();const P=h.currentTarget.value.replace(/((?!([-]|([-]?\d+))).)/,"");if(P===""||P==="-")return p(P);const it=parseInt(P,10);return p(v(it))},Ie=()=>{var h;return(h=f.current)==null||h.focus(),E(1)},$e=()=>{var h;return(h=f.current)==null||h.focus(),E(-1)};return t.createElement("div",{className:$,style:s},t.createElement("input",w(b({type:"text",ref:f},d),{value:o,disabled:_,onChange:R,onKeyDown:g,min:a,max:l})),!c&&t.createElement(t.Fragment,null,t.createElement("button",{tabIndex:-1,disabled:_||x(o,l),onClick:Ie,"aria-label":"Increment value",className:re[`${oe}__increment`],type:"button"},t.createElement(F,{source:C.ChevronUp,disabled:_||x(o,l),iconType:N.Primary})),t.createElement("button",{tabIndex:-1,disabled:_||x(o,a),"aria-label":"Decrement value",className:re[`${oe}__decrement`],onClick:$e,type:"button"},t.createElement(F,{source:C.ChevronDown,iconType:N.Primary,disabled:_||x(o,a)}))))},kr=m=>{var f=m,{id:e,labelText:r,labelAdornment:o,className:l,inline:a,error:_,description:c,labelRightNode:s,fieldClassName:n,style:d}=f,i=y(f,["id","labelText","labelAdornment","className","inline","error","description","labelRightNode","fieldClassName","style"]);return t.createElement(Be,{inline:a,error:_,description:c,labelText:r,labelAdornment:o,className:l,labelFor:e,labelRightNode:s},t.createElement(tt,w(b({},i),{id:e,className:n,style:d,error:_})))},Nr="lc-Popover-module__popover___8X1b2";var Ve={popover:Nr,"popover--visible":"lc-Popover-module__popover--visible___u5NXB"};const Dr=e=>{const{offset:r,flip:o,preventOverflow:l}=e,a=[{name:"offset",options:b({offset:[0,4]},(r==null?void 0:r.options)||{})}],_=[{name:"flip",options:b({},(o==null?void 0:o.options)||{})}],c=[{name:"preventOverlow",options:b({rootBoundary:"viewport"},l||{})}];return[...a,..._,...c]},Tr=e=>{const{triggerRenderer:r,children:o,className:l,placement:a,isVisible:_=!1}=e,c=t.useRef(null),s=t.useRef(null),[n,d]=t.useState(!1);t.useEffect(()=>{d(_)},[_]);function i(v){var E,g;(E=s.current)!=null&&E.contains(v.target)||((g=c.current)!=null&&g.contains(v.target)?d(x=>!x):d(!1))}const m=v=>{v.key==="Escape"&&d(!1)};t.useEffect(()=>(document.addEventListener("keydown",m),document.addEventListener("mousedown",i),()=>{document.removeEventListener("keydown",m),document.removeEventListener("mousedown",i)}),[]);const{styles:f,attributes:$}=vt.usePopper(c.current,s.current,{modifiers:e.modifiers?Dr(e.modifiers):[],placement:a}),p=u.default(Ve.popover,l,{[Ve["popover--visible"]]:n});return t.createElement(t.Fragment,null,t.createElement("div",{ref:c},r()),t.createElement("div",b({ref:s,className:p,style:f.popper},$.popper),o))};var U=(e=>(e.Normal="normal",e.Error="error",e.Success="success",e))(U||{}),J=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(J||{});const Br=["normal","error","success"],Sr=e=>Math.min(Math.max(e,0),100);function Ir(e,r=0){return e===U.Error?0:Sr(parseInt(r.toString(),10))}function Fr(e,r){return!Br.includes(e)&&r>=100?U.Normal:e||U.Normal}var K={"progress-circle":"lc-ProgressCircle-module__progress-circle___NRHCi","progress-circle--small":"lc-ProgressCircle-module__progress-circle--small___8FVwG","progress-circle--medium":"lc-ProgressCircle-module__progress-circle--medium___XlzEX","progress-circle--large":"lc-ProgressCircle-module__progress-circle--large___qxa2y","progress-circle__bg-line--normal":"lc-ProgressCircle-module__progress-circle__bg-line--normal___nDNwj","progress-circle__bg-line--success":"lc-ProgressCircle-module__progress-circle__bg-line--success___1aP-O","progress-circle__bg-line--error":"lc-ProgressCircle-module__progress-circle__bg-line--error___oqMZL","progress-circle__indicator--normal":"lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX","progress-circle__indicator--success":"lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR","progress-circle__indicator--error":"lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9","progress-circle--error":"lc-ProgressCircle-module__progress-circle--error___2AA9K","progress-circle__bg-line":"lc-ProgressCircle-module__progress-circle__bg-line___12YrE","progress-circle--success":"lc-ProgressCircle-module__progress-circle--success___hH5jv","progress-circle--normal":"lc-ProgressCircle-module__progress-circle--normal___dFneQ"};const Pr={[J.Small]:2,[J.Medium]:3,[J.Large]:4},Gr={[J.Small]:15,[J.Medium]:36,[J.Large]:56},X="progress-circle",Mr=t.forwardRef((c,_)=>{var s=c,{status:e=U.Normal,percent:r,className:o,size:l=J.Medium}=s,a=y(s,["status","percent","className","size"]);const n=Fr(e,r),d=Ir(n,r),i=Pr[l],m=Gr[l],f=u.default(K[X],{[K[`${X}--${l}`]]:l,[K[`${X}--error`]]:n===U.Error,[K[`${X}--success`]]:n===U.Success,[K[`${X}--normal`]]:n===U.Normal},o),$=2*Math.PI*((m-i)/2),p={strokeDasharray:$.toFixed(3),strokeDashoffset:`${((100-d)/100*$).toFixed(3)}px`},v=`${m/2} ${m/2} ${m} ${m}`;return t.createElement("div",b({className:f,ref:_,role:"progressbar"},a),t.createElement("svg",{viewBox:v},t.createElement("circle",{className:K[`${X}__bg-line--${e}`],cx:m,cy:m,r:(m-i)/2,fill:"none",strokeWidth:i}),t.createElement("circle",{className:K[`${X}__indicator--${e}`],style:p,cx:m,cy:m,r:(m-i)/2,fill:"none",strokeWidth:i})))});var O={"promo-banner":"lc-PromoBanner-module__promo-banner___-mGpq","promo-banner__content":"lc-PromoBanner-module__promo-banner__content___kRWar","promo-banner__wrapper":"lc-PromoBanner-module__promo-banner__wrapper___I-8cl","promo-banner__header":"lc-PromoBanner-module__promo-banner__header___ebYHW","promo-banner__img":"lc-PromoBanner-module__promo-banner__img___eaShb","promo-banner__button-text":"lc-PromoBanner-module__promo-banner__button-text___taYKa","promo-banner--light":"lc-PromoBanner-module__promo-banner--light___eJxOR","promo-banner--small":"lc-PromoBanner-module__promo-banner--small___7sWLV","promo-banner__footer":"lc-PromoBanner-module__promo-banner__footer___8OjvH","promo-banner--medium":"lc-PromoBanner-module__promo-banner--medium___NeeoJ","promo-banner--large":"lc-PromoBanner-module__promo-banner--large___pMiCU","promo-banner__close-icon":"lc-PromoBanner-module__promo-banner__close-icon___GowBL"};const L="promo-banner",Rr=({className:e,buttonText:r,children:o,header:l,img:a,light:_=!1,linkText:c,size:s="small",onButtonClick:n,onClose:d,onLinkClick:i})=>{const m=u.default(O[L],{[O[`${L}--light`]]:_,[O[`${L}--${s}`]]:s},e),f=(r||c)&&s==="large",$=(r||c)&&s!=="large",p=t.createElement("div",{className:O[`${L}__footer`]},r&&t.createElement(De,{kind:"primary",size:"compact",onClick:n,className:O[`${L}__button-text`]},r),c&&t.createElement(De,{size:"compact",kind:"text",onClick:i},c));return t.createElement("div",{className:m},t.createElement("div",{className:O[`${L}__content`]},a&&t.createElement("img",{src:a,className:O[`${L}__img`]}),t.createElement("div",{className:O[`${L}__wrapper`]},t.createElement("div",{className:O[`${L}__header`]},l),t.createElement("div",null,o),$&&p),f&&p),d&&t.createElement("button",{type:"button",className:O[`${L}__close-icon`],onClick:d},t.createElement(F,{source:C.Close,size:j.Large})))};var W={"radio-button":"lc-RadioButton-module__radio-button___WaToM","radio-button__label":"lc-RadioButton-module__radio-button__label___i7ygg","radio-button__circle":"lc-RadioButton-module__radio-button__circle___wimWA","radio-button__inner-circle":"lc-RadioButton-module__radio-button__inner-circle___qkRVf","radio-button__text":"lc-RadioButton-module__radio-button__text___mT8c0","radio-button__input":"lc-RadioButton-module__radio-button__input___7OTAK","radio-button__helper":"lc-RadioButton-module__radio-button__helper___r8gJJ","radio-button--selected":"lc-RadioButton-module__radio-button--selected___s9lqj","radio-button--disabled":"lc-RadioButton-module__radio-button--disabled___wHSA7"};const H="radio-button",Or=c=>{var s=c,{children:e,className:r="",description:o,checked:l,disabled:a}=s,_=y(s,["children","className","description","checked","disabled"]);const n=u.default(W[H],r,{[W[`${H}--selected`]]:l,[W[`${H}--disabled`]]:a});return t.createElement("div",{className:n},t.createElement("label",{className:W[`${H}__label`]},t.createElement("div",{className:W[`${H}__circle`]},t.createElement("span",{className:W[`${H}__inner-circle`]}),t.createElement("input",w(b({className:W[`${H}__input`]},_),{type:"radio",checked:l,disabled:a}))),t.createElement(S,{as:"div",size:"md",className:W[`${H}__text`]},e)),o&&t.createElement(me,{className:W[`${H}__helper`]},o))},Lr="lc-Switch-module__switch__input___NiiOR",Ar="lc-Switch-module__switch__container___79F7W",zr="lc-Switch-module__switch__track___2wr2M",qr="lc-Switch-module__switch__slider___WHd--";var Y={switch:"lc-Switch-module__switch___AaA2k","switch__track--enabled":"lc-Switch-module__switch__track--enabled___sy4Xl","switch__track--disabled":"lc-Switch-module__switch__track--disabled___HkDhl","switch--basic":"lc-Switch-module__switch--basic___jKO4n","switch--compact":"lc-Switch-module__switch--compact___OGFIX",switch__input:Lr,switch__container:Ar,switch__track:zr,switch__slider:qr,"switch__slider--basic":"lc-Switch-module__switch__slider--basic___OMKTp","switch__slider--basic--enabled":"lc-Switch-module__switch__slider--basic--enabled___sh9jo","switch__slider--basic--disabled":"lc-Switch-module__switch__slider--basic--disabled___GSTO9","switch__slider--compact":"lc-Switch-module__switch__slider--compact___uZ-lS","switch__slider--compact--enabled":"lc-Switch-module__switch__slider--compact--enabled___04TFA","switch__slider--compact--disabled":"lc-Switch-module__switch__slider--compact--disabled___Vqznr"};const A="switch",Wr=d=>{var i=d,{className:e="",defaultOn:r=!1,disabled:o=!1,name:l=A,on:a,onChange:_=Te,size:c="basic",innerRef:s}=i,n=y(i,["className","defaultOn","disabled","name","on","onChange","size","innerRef"]);const m=()=>a!==void 0?a:r,[f,$]=t.useState(m());t.useEffect(()=>{a!==void 0&&$(a)},[a]);const p=f?"enabled":"disabled",v=u.default(Y[A],Y[`${A}--${c}`],e),E=g=>{if(_!==Te){_(g,f);return}g.stopPropagation(),$(R=>!R)};return t.createElement("span",{className:v},t.createElement("input",b({type:"checkbox",className:Y[`${A}__input`],onChange:E,checked:f,name:l,ref:s,disabled:o,"test-id":"foo"},n)),t.createElement("span",{className:Y[`${A}__container`]},t.createElement("span",{className:u.default(Y[`${A}__track`],Y[`${A}__track--${p}`])}),t.createElement("span",{className:u.default(Y[`${A}__slider`],Y[`${A}__slider--${c}`],Y[`${A}__slider--${c}--${p}`])})))},Hr="lc-Tab-module__tab___fME7u",Yr="lc-Tab-module__tab__description___JGXU6";var ke={tab:Hr,tab__description:Yr,"tab--selected":"lc-Tab-module__tab--selected___c0EkL"};const Ne="tab",Vr=_=>{var c=_,{children:e,className:r,description:o,isSelected:l}=c,a=y(c,["children","className","description","isSelected"]);return t.createElement(S,w(b({},a),{as:a.href?"a":"button",size:"md",bold:l,className:u.default(ke[Ne],r,l&&ke[`${Ne}--selected`])}),e,o&&t.createElement(S,{as:"span",size:"md",className:ke[`${Ne}__description`]},"(",o,")"))},jr="lc-TabsWrapper-module__tabs___Y2xyD",Ur="lc-TabsWrapper-module__tabs__list___i6tVO";var rt={tabs:jr,tabs__list:Ur};const ot="tabs",Jr=({className:e,children:r})=>t.createElement("div",{className:u.default(rt[ot],e)},r),Kr=({className:e,children:r})=>t.createElement("div",{className:u.default(rt[`${ot}__list`],e)},r),Xr="lc-Tag-module__tag___1QRVY",Zr="lc-Tag-module__tag__remove___UmtrW",Qr="lc-Tag-module__icon___2Z-35",eo="lc-Tag-module__tag__icon___tZoQ9",to="lc-Tag-module__tag__avatar___U4c-P";var z={tag:Xr,"tag--success":"lc-Tag-module__tag--success___P2hXQ",tag__remove:Zr,"tag--error":"lc-Tag-module__tag--error___1cjsm","tag--warning":"lc-Tag-module__tag--warning___PstMG","tag--info":"lc-Tag-module__tag--info___RTH0C","tag--medium":"lc-Tag-module__tag--medium___l5-KI","tag--large":"lc-Tag-module__tag--large___ytC6Y","tag--outline":"lc-Tag-module__tag--outline___aZXtr",icon:Qr,"tag--text-white":"lc-Tag-module__tag--text-white___x0fnD","tag--text-black":"lc-Tag-module__tag--text-black___dUvmD","tag--with-icon":"lc-Tag-module__tag--with-icon___ZlkvT","tag--dismissible":"lc-Tag-module__tag--dismissible___Qobyr",tag__icon:eo,tag__avatar:to};const q="tag",ro=e=>e?je.getContrast(e,"#FFFFFF")>4.5?"text-white":"text-black":"",lt=m=>{var f=m,{className:e="",children:r,dismissible:o=!1,size:l="medium",kind:a="default",onRemove:_,outline:c=!1,icon:s,avatar:n,customColor:d}=f,i=y(f,["className","children","dismissible","size","kind","onRemove","outline","icon","avatar","customColor"]);const $=u.default(z[q],e,z[`${q}--${l}`],z[`${q}--${a}`],{[z[`${q}--dismissible`]]:o,[z[`${q}--outline`]]:c,[z[`${q}--with-icon`]]:!!s||!!n,[z[`${q}--${ro(d)}`]]:!!d}),p=()=>d?c?{style:{backgroundColor:"transparent",color:d,borderColor:d}}:{style:{backgroundColor:d}}:{},v=()=>{if(!!d)return c?d:je.getContrast(d,"#FFFFFF")>4.5?"#FFFFFF":"#000000"};return t.createElement(S,w(b(b({className:$},i),p()),{as:"div",size:"md"}),n&&t.createElement("img",{className:z[`${q}__avatar`],src:n,alt:"tag-avatar","data-testid":"lc-tag-avatar"})," ",s&&!n&&t.createElement(F,{"data-testid":"lc-tag-icon",className:z[`${q}__icon`],source:s,size:j.Small,customColor:v()}),r,o&&t.createElement("button",{title:"Remove",onClick:_,type:"button",className:z[`${q}__remove`]},t.createElement(F,{source:C.Close,size:j.Medium,customColor:v()})))},oo=({className:e="",innerEditableRef:r,inputRef:o,change:l,remove:a,value:_})=>{const[c,s]=t.useState(!1),n=()=>r.current,d=()=>{const p=n();return p?p.innerText:""},i=()=>{o&&o.current&&o.current.focus()},m=p=>{if(p.key===I.enter){p.preventDefault(),i();return}p.key===I.backspace&&d()===""&&(s(!0),a(),i())},f=()=>{const p=n();if(!(c||!p)){if(p.innerText===""){a();return}l(p.innerText)}},$=p=>{p.preventDefault();const v=p.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,Re.default(v))};return t.createElement("div",{ref:r,className:e,contentEditable:!0,onPaste:$,onBlur:f,onKeyDown:m,dangerouslySetInnerHTML:{__html:Re.default(_)}})};var ie={"tag-input":"lc-TagInput-module__tag-input___CLVY-","tag-input--error":"lc-TagInput-module__tag-input--error___RP0SB","tag-input__input":"lc-TagInput-module__tag-input__input___dgEYB","tag-input__input--medium":"lc-TagInput-module__tag-input__input--medium___DYF7X","tag-input__input--large":"lc-TagInput-module__tag-input__input--large___G6iEO","tag-input__tag__content":"lc-TagInput-module__tag-input__tag__content___x95-M"};const lo="tag-input__tag",ao=({children:e,index:r,remove:o,validator:l,inputRef:a,update:_,size:c})=>{const s=t.useMemo(()=>l!==void 0?l(e):!0,[e,l]),n=t.useRef(null),d=()=>o(r);return t.createElement(lt,{kind:s?"default":"error",dismissible:!0,size:c,onRemove:d},t.createElement(oo,{value:e,inputRef:a,innerEditableRef:n,className:ie[`${lo}__content`],change:i=>_(r,i),remove:d,validator:l}))},he="tag-input",_o=[I.enter,I.spacebar,I.tab,I.semicolon,I.comma],co=[I.backspace,I.delete],at=({tags:e,onChange:r,validator:o,error:l,placeholder:a,size:_="medium"})=>{const c=u.default(ie[he],{[ie[`${he}--error`]]:l}),s=u.default(ie[`${he}__input`],ie[`${he}__input--${_}`]),[n,d]=t.useState(""),i=t.useRef(null),m=g=>{r([...e||[],g]),d("")},f=g=>{const x=[...e||[]];x.splice(g,1),r(x)},$=g=>d(g.target.value),p=g=>{if(_o.includes(g.key)){if(g.preventDefault(),n==="")return;m(n)}else if(co.includes(g.key)){if(n!==""||!(e!=null&&e.length))return;f(e.length-1)}},v=(g,x)=>{const R=[...e||[]];R.reduce(($e,h,P)=>$e+(h===x&&P!==g?1:0),0)>0?R.splice(g,1):R[g]=x,r(R)},E=g=>{g.preventDefault();const R=g.clipboardData.getData("text/plain").split(/[\s,;\n]+/);r([...e||[],...R])};return t.createElement(t.Fragment,null,t.createElement("div",{className:c},e==null?void 0:e.map((g,x)=>t.createElement(ao,{index:x,key:`${x}${g}`,update:v,remove:f,inputRef:i,validator:o,size:_},g)),t.createElement("input",{ref:i,className:s,placeholder:a,value:n,onChange:$,onKeyDown:p,onPaste:E})),l&&t.createElement(ye,null,l))},no=/^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i,so="name@company.com",io=e=>no.test(e),uo=({tags:e,onChange:r,error:o,placeholder:l=so,size:a})=>t.createElement(at,{tags:e,error:o,onChange:r,placeholder:l,validator:io,size:a}),mo="lc-Toast-module__toast___j5Amn",po="lc-Toast-module__toast__content___HjaNw",bo="lc-Toast-module__toast__icon___wLbLu",go="lc-Toast-module__toast__close___O18Lh",fo="lc-Toast-module__toast__actions___JWu-1";var k={toast:mo,toast__content:po,toast__icon:bo,toast__close:go,toast__actions:fo,"toast__actions-close":"lc-Toast-module__toast__actions-close___xN8YT","toast__actions-custom":"lc-Toast-module__toast__actions-custom___z1UUf","toast--notification":"lc-Toast-module__toast--notification___pDXnc","toast--success":"lc-Toast-module__toast--success___7UC6m","toast--warning":"lc-Toast-module__toast--warning___pteb7","toast--error":"lc-Toast-module__toast--error___trg--","toast--info":"lc-Toast-module__toast--info___IOp44","toast-wrapper":"lc-Toast-module__toast-wrapper___Oiwqp","toast-wrapper--fixed":"lc-Toast-module__toast-wrapper--fixed___QYxRI","toast-wrapper--block":"lc-Toast-module__toast-wrapper--block___j0kGt","toast-wrapper--horizontal-center":"lc-Toast-module__toast-wrapper--horizontal-center___t9AFd","toast-wrapper--horizontal-left":"lc-Toast-module__toast-wrapper--horizontal-left___-GY4I","toast-wrapper--horizontal-right":"lc-Toast-module__toast-wrapper--horizontal-right___VVMgm","toast-wrapper--vertical-top":"lc-Toast-module__toast-wrapper--vertical-top___uBfEG","toast-appear--slide":"lc-Toast-module__toast-appear--slide___G7GAp","toast-appear-active--slide":"lc-Toast-module__toast-appear-active--slide___brfgK","toast-exit--slide":"lc-Toast-module__toast-exit--slide___aqiBq","toast-exit-active--slide":"lc-Toast-module__toast-exit-active--slide___WryMi","toast-wrapper--vertical-bottom":"lc-Toast-module__toast-wrapper--vertical-bottom___erPuH","toast-appear--fade":"lc-Toast-module__toast-appear--fade___oUwHm","toast-appear-active--fade":"lc-Toast-module__toast-appear-active--fade___D3--J","toast-exit--fade":"lc-Toast-module__toast-exit--fade___iDA1p","toast-exit-active--fade":"lc-Toast-module__toast-exit-active--fade___tL7sb"};const Z="toast";var _t=(e=>(e.Success="success",e.Warning="warning",e.Error="error",e.Info="info",e.Notification="notification",e))(_t||{});const vo={success:{source:C.CheckCircleSolid,iconType:N.Inverted},warning:{source:C.Warning},error:{source:C.Error,iconType:N.Inverted},info:{source:C.Info,iconType:N.Inverted},notification:{source:C.Info,iconType:N.Link}},ct=({action:e,className:r,children:o,removable:l,variant:a="info",onClose:_})=>{const c=u.default(k[Z],k[`${Z}--${a}`],r),s=n=>n&&n.closeOnClick&&_?(n.handler(),_()):n.handler();return t.createElement("div",{className:c},t.createElement("div",{className:k[`${Z}__icon`]},t.createElement(F,b({},vo[a]))),t.createElement("div",{className:k[`${Z}__content`]},o),(e||l)&&t.createElement("div",{className:k[`${Z}__actions`]},e&&t.createElement("button",{className:k[`${Z}__actions-custom`],onClick:()=>s(e)},e.label),l&&t.createElement("div",{className:k[`${Z}__actions-close`],"aria-label":"Close toast",onClick:_},t.createElement(F,{source:C.Close,size:j.Small,iconType:["warning","notification"].includes(a)?N.Primary:N.Inverted}))))};var nt=(e=>(e.Left="left",e.Center="center",e.Right="right",e))(nt||{}),st=(e=>(e.Top="top",e.Bottom="bottom",e))(st||{});const dt=200,se="toast-wrapper",ho=({className:e,toasts:r=[],fixed:o=!0,block:l=!1,animationType:a="slide",verticalPosition:_="top",horizontalPosition:c="center"})=>{const s=u.default(k[se],{[k[`${se}--fixed`]]:o,[k[`${se}--block`]]:!o&&l,[k[`${se}--horizontal-${c}`]]:c,[k[`${se}--vertical-${_}`]]:_},e);return t.createElement("div",{className:s},t.createElement(Me.TransitionGroup,{component:null},r.map(({id:n,variant:d,content:i,removable:m,action:f,onClose:$})=>t.createElement(Me.CSSTransition,{key:n,classNames:{enter:k[`toast-appear--${a}`],enterActive:k[`toast-appear-active--${a}`],exit:k[`toast-exit--${a}`],exitActive:k[`toast-exit-active--${a}`]},timeout:dt},t.createElement(ct,{variant:d,onClose:$,removable:m,action:f},i)))))};exports.ANIMATION_TIME=dt;exports.ActionModal=xr;exports.Alert=St;exports.Badge=Ft;exports.Button=De;exports.ButtonGroup=Ht;exports.Card=Jt;exports.Checkbox=Qe;exports.CheckboxField=ar;exports.DesignTokens=$t;exports.EmailTagInput=uo;exports.FieldDescription=me;exports.FieldError=ye;exports.FieldGroup=nr;exports.Form=pr;exports.FormGroup=br;exports.Heading=ue;exports.HorizontalPosition=nt;exports.Icon=F;exports.IconSizeName=j;exports.IconTypeName=N;exports.InputField=gr;exports.Link=vr;exports.Loader=Ze;exports.Modal=Cr;exports.ModalBase=Se;exports.ModalCloseButton=et;exports.ModalPortal=wr;exports.NumericInput=tt;exports.NumericInputField=kr;exports.Popover=Tr;exports.ProgressCircle=Mr;exports.PromoBanner=Rr;exports.RadioButton=Or;exports.Switch=Wr;exports.Tab=Vr;exports.TabsList=Kr;exports.TabsWrapper=Jr;exports.Tag=lt;exports.TagInput=at;exports.Text=S;exports.TextField=Be;exports.Toast=ct;exports.ToastWrapper=ho;exports.Variants=_t;exports.VerticalPosition=st;
1
+ "use strict";var ut=Object.defineProperty,mt=Object.defineProperties;var pt=Object.getOwnPropertyDescriptors;var pe=Object.getOwnPropertySymbols;var Pe=Object.prototype.hasOwnProperty,Ge=Object.prototype.propertyIsEnumerable;var Fe=(e,o,r)=>o in e?ut(e,o,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[o]=r,b=(e,o)=>{for(var r in o||(o={}))Pe.call(o,r)&&Fe(e,r,o[r]);if(pe)for(var r of pe(o))Ge.call(o,r)&&Fe(e,r,o[r]);return e},x=(e,o)=>mt(e,pt(o));var y=(e,o)=>{var r={};for(var a in e)Pe.call(e,a)&&o.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&pe)for(var a of pe(e))o.indexOf(a)<0&&Ge.call(e,a)&&(r[a]=e[a]);return r};Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var bt=require("react"),gt=require("clsx"),C=require("@livechat/design-system-icons/react/material"),ft=require("lodash"),vt=require("react-dom"),ht=require("react-popper"),je=require("polished"),yt=require("lodash.escape"),Me=require("react-transition-group");function Ue(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function Je(e){if(e&&e.__esModule)return e;var o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(o,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}}),o.default=e,Object.freeze(o)}var t=Je(bt),i=Ue(gt),$t=Je(vt),Re=Ue(yt);const Et={Background:"--background",SurfaceBasicDefault:"--surface-basic-default",SurfaceBasicSubtle:"--surface-basic-subtle",SurfaceBasicHover:"--surface-basic-hover",SurfaceBasicActive:"--surface-basic-active",SurfaceBasicDisabled:"--surface-basic-disabled",SurfaceSecondaryDefault:"--surface-secondary-default",SurfaceSecondarySubtle:"--surface-secondary-subtle",SurfaceSecondaryHover:"--surface-secondary-hover",SurfaceSecondaryDisabled:"--surface-secondary-disabled",SurfaceFeedbackInfo:"--surface-feedback-info",SurfaceFeedbackNegative:"--surface-feedback-negative",SurfaceFeedbackWarning:"--surface-feedback-warning",SurfaceFeedbackPositive:"--surface-feedback-positive",SurfaceInvertDefault:"--surface-invert-default",SurfaceInvertSubtle:"--surface-invert-subtle",SurfaceInvertDisabled:"--surface-invert-disabled",SurfaceOverlay:"--surface-overlay",ContentDefault:"--content-default",ContentSubtle:"--content-subtle",ContentDisabled:"--content-disabled",ContentWhiteLocked:"--content-white-locked",ContentInvertDefault:"--content-invert-default",ContentInvertSubtle:"--content-invert-subtle",ContentInvertDisabled:"--content-invert-disabled",BorderDefault:"--border-default",BorderSubtle:"--border-subtle",BorderHover:"--border-hover",BorderDisabled:"--border-disabled",BorderInvertDefault:"--border-invert-default",BorderInvertSubtle:"--border-invert-subtle",BorderInvertHover:"--border-invert-hover",BorderInvertDisabled:"--border-invert-disabled",ColorActionActive:"--color-action-active",ColorActionHover:"--color-action-hover",ColorActionDefault:"--color-action-default",ColorActionDisabled:"--color-action-disabled",ColorNegativeActive:"--color-negative-active",ColorNegativeHover:"--color-negative-hover",ColorNegativeDefault:"--color-negative-default",ColorNegativeDisabled:"--color-negative-disabled",ColorWarningDefault:"--color-warning-default",ColorWarningHover:"--color-warning-hover",ColorPositiveDefault:"--color-positive-default",ColorPositiveHover:"--color-positive-hover",ColorPositiveDisabled:"--color-positive-disabled",ColorBot:"--color-bot",ColorBlack:"--color-black",ColorWhite:"--color-white",DecorBlue900:"--decor-blue900",DecorBlue800:"--decor-blue800",DecorBlue700:"--decor-blue700",DecorBlue600:"--decor-blue600",DecorBlue500:"--decor-blue500",DecorBlue400:"--decor-blue400",DecorBlue300:"--decor-blue300",DecorBlue200:"--decor-blue200",DecorBlue100:"--decor-blue100",DecorBlue50:"--decor-blue50",DecorOrange900:"--decor-orange900",DecorOrange800:"--decor-orange800",DecorOrange700:"--decor-orange700",DecorOrange600:"--decor-orange600",DecorOrange500:"--decor-orange500",DecorOrange400:"--decor-orange400",DecorOrange300:"--decor-orange300",DecorOrange200:"--decor-orange200",DecorOrange100:"--decor-orange100",DecorOrange50:"--decor-orange50",DecorYellow900:"--decor-yellow900",DecorYellow800:"--decor-yellow800",DecorYellow700:"--decor-yellow700",DecorYellow600:"--decor-yellow600",DecorYellow500:"--decor-yellow500",DecorYellow400:"--decor-yellow400",DecorYellow300:"--decor-yellow300",DecorYellow200:"--decor-yellow200",DecorYellow100:"--decor-yellow100",DecorYellow50:"--decor-yellow50",DecorGray950:"--decor-gray950",DecorGray900:"--decor-gray900",DecorGray800:"--decor-gray800",DecorGray700:"--decor-gray700",DecorGray600:"--decor-gray600",DecorGray500:"--decor-gray500",DecorGray400:"--decor-gray400",DecorGray300:"--decor-gray300",DecorGray200:"--decor-gray200",DecorGray150:"--decor-gray150",DecorGray100:"--decor-gray100",DecorGray75:"--decor-gray75",DecorGray50:"--decor-gray50",DecorGray40:"--decor-gray40",DecorGray20:"--decor-gray20",DecorGreen900:"--decor-green900",DecorGreen800:"--decor-green800",DecorGreen700:"--decor-green700",DecorGreen600:"--decor-green600",DecorGreen500:"--decor-green500",DecorGreen400:"--decor-green400",DecorGreen300:"--decor-green300",DecorGreen200:"--decor-green200",DecorGreen100:"--decor-green100",DecorGreen50:"--decor-green50",DecorRed900:"--decor-red900",DecorRed800:"--decor-red800",DecorRed700:"--decor-red700",DecorRed600:"--decor-red600",DecorRed500:"--decor-red500",DecorRed400:"--decor-red400",DecorRed300:"--decor-red300",DecorRed200:"--decor-red200",DecorRed100:"--decor-red100",DecorRed50:"--decor-red50",DecorPurple900:"--decor-purple900",DecorPurple800:"--decor-purple800",DecorPurple700:"--decor-purple700",DecorPurple600:"--decor-purple600",DecorPurple500:"--decor-purple500",DecorPurple400:"--decor-purple400",DecorPurple300:"--decor-purple300",DecorPurple200:"--decor-purple200",DecorPurple100:"--decor-purple100",DecorPurple50:"--decor-purple50"},wt="lc-Typography-module__caps___c3eNJ";var de={"heading-xl":"lc-Typography-module__heading-xl___nhr-6","heading-lg":"lc-Typography-module__heading-lg___XYF7l","heading-md":"lc-Typography-module__heading-md___wHOIs","heading-sm":"lc-Typography-module__heading-sm___nBmTV","heading-xs":"lc-Typography-module__heading-xs___VcZBs",caps:wt,"caps--bold":"lc-Typography-module__caps--bold___OZovw","paragraph-md":"lc-Typography-module__paragraph-md___UGoqq","paragraph-md--bold":"lc-Typography-module__paragraph-md--bold___mWcMG","paragraph-md--underline":"lc-Typography-module__paragraph-md--underline___Fv6zM","paragraph-md--strike":"lc-Typography-module__paragraph-md--strike___yLGHh","paragraph-sm":"lc-Typography-module__paragraph-sm___QIEFL","paragraph-sm--bold":"lc-Typography-module__paragraph-sm--bold___fAjI5","paragraph-xs":"lc-Typography-module__paragraph-xs___OUooD","paragraph-xs--bold":"lc-Typography-module__paragraph-xs--bold___z7om7"},Xe=(e=>(e.xl="h1",e.lg="h2",e.md="h3",e.sm="h4",e.xs="h5",e))(Xe||{});const ue=c=>{var _=c,{as:e,size:o="md",children:r,className:a}=_,l=y(_,["as","size","children","className"]);return t.createElement(e||Xe[o],b({className:i.default(de[`heading-${o}`],a)},l),r)},S=d=>{var u=d,{as:e="p",size:o="md",caps:r=!1,bold:a=!1,underline:l=!1,strike:c=!1,children:_,className:s}=u,n=y(u,["as","size","caps","bold","underline","strike","children","className"]);const m=r?"caps":`paragraph-${o}`;return t.createElement(e,b({className:i.default({[de[`${m}`]]:!0,[de[`${m}--bold`]]:a,[de[`${m}--strike`]]:c,[de[`${m}--underline`]]:l},s)},n),_)},xt="lc-Icon-module__icon___tw31R";var Le={icon:xt,"icon--primary":"lc-Icon-module__icon--primary___JJnBV","icon--subtle":"lc-Icon-module__icon--subtle___sZIzL","icon--inverted":"lc-Icon-module__icon--inverted___zA9QC","icon--inverted-subtle":"lc-Icon-module__icon--inverted-subtle___6UwBT","icon--link":"lc-Icon-module__icon--link___Jwkw9","icon--success":"lc-Icon-module__icon--success___MKdz3","icon--warning":"lc-Icon-module__icon--warning___5YCSW","icon--error":"lc-Icon-module__icon--error___CiJCD","icon--disabled--primary":"lc-Icon-module__icon--disabled--primary___E0nee","icon--disabled--subtle":"lc-Icon-module__icon--disabled--subtle___l-hK4","icon--disabled--inverted":"lc-Icon-module__icon--disabled--inverted___5SBAf","icon--disabled--inverted-subtle":"lc-Icon-module__icon--disabled--inverted-subtle___w-NBk","icon--disabled--link":"lc-Icon-module__icon--disabled--link___sVJOa","icon--disabled--success":"lc-Icon-module__icon--disabled--success___sG-7d","icon--disabled--warning":"lc-Icon-module__icon--disabled--warning___8ko1e","icon--disabled--error":"lc-Icon-module__icon--disabled--error___9KbVo"},j=(e=>(e.XSmall="xsmall",e.Small="small",e.Medium="medium",e.Large="large",e.XLarge="xlarge",e))(j||{});const Ct={xsmall:{width:12,height:12},small:{width:16,height:16},medium:{width:20,height:20},large:{width:24,height:24},xlarge:{width:32,height:32}};var N=(e=>(e.Primary="primary",e.Subtle="subtle",e.Inverted="inverted",e.InvertedSubtle="inverted_subtle",e.Link="link",e.Success="success",e.Warning="warning",e.Error="error",e))(N||{});const kt={primary:"primary",subtle:"subtle",inverted:"inverted",inverted_subtle:"inverted-subtle",link:"link",success:"success",warning:"warning",error:"error"},Nt={primary:"disabled--primary",subtle:"disabled--subtle",inverted:"disabled--inverted",inverted_subtle:"disabled--inverted-subtle",link:"disabled--link",success:"disabled--success",warning:"disabled--warning",error:"disabled--error"},Oe="icon",F=e=>{const m=e,{source:o,size:r="medium",iconType:a,disabled:l,className:c,customColor:_}=m,s=y(m,["source","size","iconType","disabled","className","customColor"]);let n;a&&(n=kt[a],l&&(n=Nt[a]));const d=t.createElement(o,x(b({},Ct[r]),{color:_})),u=i.default(c,Le[Oe],n&&Le[`${Oe}--${n}`]);return t.createElement("span",x(b({},s),{className:u}),d)},Dt="lc-Alert-module__alert___HBTns",Tt="lc-Alert-module__alert__content___9nZdf",Bt="lc-Alert-module__alert__icon___8TaAH";var U={alert:Dt,alert__content:Tt,"alert__content-text":"lc-Alert-module__alert__content-text___x2Un5","alert__content-text--margin":"lc-Alert-module__alert__content-text--margin___whVzG","alert__content-icon":"lc-Alert-module__alert__content-icon___-EXJm","alert--small":"lc-Alert-module__alert--small___Fyk-v","alert__close-icon":"lc-Alert-module__alert__close-icon___rYxVy","alert--info":"lc-Alert-module__alert--info___GmIGN","alert--warning":"lc-Alert-module__alert--warning___MubhD","alert--success":"lc-Alert-module__alert--success___fPtlZ","alert--error":"lc-Alert-module__alert--error___DKPo0",alert__icon:Bt};const St={info:{source:C.Info,iconType:N.Link},warning:{source:C.Warning,iconType:N.Warning},success:{source:C.CheckCircleSolid,iconType:N.Success},error:{source:C.Block,iconType:N.Error}},J="alert",It=({children:e,className:o,type:r="info",onClose:a})=>{const l=t.useRef(null),[c,_]=t.useState(!1),s=i.default(U[J],U[`${J}--${r}`],c&&U[`${J}--small`],o);return t.useEffect(()=>{const n=ft.debounce(()=>l.current&&l.current.offsetWidth<=400?_(!0):_(!1),500);return window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),t.createElement("div",{ref:l,className:s},t.createElement("div",{className:U[`${J}__content`]},t.createElement(F,x(b({},St[r]),{className:U[`${J}__content-icon`]})),t.createElement(S,{as:"div",className:i.default(U[`${J}__content-text`],a&&U[`${J}__content-text--margin`])},e)),a&&t.createElement("button",{type:"button",className:U[`${J}__close-icon`],onClick:a},t.createElement(F,{source:C.Close,size:j.Large,iconType:N.Primary})))},Ft="lc-Badge-module__badge___GhLnu";var Ae={badge:Ft,"badge--secondary":"lc-Badge-module__badge--secondary___JjNIJ"};const Pt=({children:e,className:o,secondary:r=!1})=>t.createElement("span",{className:i.default(Ae.badge,o,{[Ae["badge--secondary"]]:r})},e),Gt="lc-Loader-module__loader___LRflD",Mt="lc-Loader-module__loader__spinner___l3C1g",Rt="lc-Loader-module__rotate___Tlni-",Lt="lc-Loader-module__loader__label___R74f6";var ae={loader:Gt,loader__spinner:Mt,"loader__spinner--small":"lc-Loader-module__loader__spinner--small___dGFFt","loader__spinner--medium":"lc-Loader-module__loader__spinner--medium___J-ki0","loader__spinner--large":"lc-Loader-module__loader__spinner--large___Poqq7","loader__spinner-circle":"lc-Loader-module__loader__spinner-circle___ApBUO",rotate:Rt,loader__label:Lt};const Ke="loader",ze=`${Ke}__spinner`,Ze=({primaryColor:e,secondaryColor:o,label:r,className:a,size:l="medium"})=>t.createElement("div",{className:i.default(ae[Ke],a)},t.createElement("div",{className:i.default(ae[ze],ae[`${ze}--${l}`])},t.createElement("div",{className:ae["loader__spinner-circle"],style:{borderColor:o,borderTopColor:e}})),r&&t.createElement(S,{as:"div",size:"md",className:ae.loader__label},r)),Ot="lc-Button-module__btn___aijZJ",At="lc-Button-module__btn__loader___c8zZz",zt="lc-Button-module__btn__content___wefl2",qt="lc-Button-module__btn__icon___GVExB";var G={btn:Ot,"btn--disabled":"lc-Button-module__btn--disabled___lXBav","btn--icon-only":"lc-Button-module__btn--icon-only___bF5pW","btn__icon--left":"lc-Button-module__btn__icon--left___H68zu","btn__icon--right":"lc-Button-module__btn__icon--right___fHr3D","btn--full-width":"lc-Button-module__btn--full-width___kdbAr","btn--basic":"lc-Button-module__btn--basic___Jc2gD","btn--primary":"lc-Button-module__btn--primary___ajbjQ","btn--secondary":"lc-Button-module__btn--secondary___iWzE0","btn--destructive":"lc-Button-module__btn--destructive___-kLCl","btn--compact":"lc-Button-module__btn--compact___4eptQ","btn--large":"lc-Button-module__btn--large___lb-z6","btn--text":"lc-Button-module__btn--text___WA8OL","btn--plain":"lc-Button-module__btn--plain___eOPui","btn--plain-light":"lc-Button-module__btn--plain-light___eS9em","btn--loading":"lc-Button-module__btn--loading___ZAgjv",btn__loader:At,btn__content:zt,btn__icon:qt};const M="btn",De=$=>{var p=$,{loading:e=!1,disabled:o=!1,type:r="button",fullWidth:a=!1,kind:l="basic",size:c="medium",icon:_=null,iconPosition:s="left",loaderLabel:n,className:d,children:u,href:m}=p,f=y(p,["loading","disabled","type","fullWidth","kind","size","icon","iconPosition","loaderLabel","className","children","href"]);const v=e||o,E=m?"a":"button",g=i.default(d,G[M],G[`${M}--${l}`],G[`${M}--${c}`],{[G[`${M}--loading`]]:e,[G[`${M}--full-width`]]:a,[G[`${M}--icon-only`]]:!u&&_,[G[`${M}--disabled`]]:v});return t.createElement(E,b({className:g,disabled:v,type:r,href:v?void 0:m},f),e&&t.createElement(Ze,{size:"small",label:n,className:G[`${M}__loader`]}),_&&t.cloneElement(_,{className:i.default(G[`${M}__icon`],G[`${M}__icon--${s}`]),disabled:o}),t.createElement("div",{className:G[`${M}__content`]},u))},Wt="lc-ButtonGroup-module__btn___bXPrU";var be={"btn-group":"lc-ButtonGroup-module__btn-group___R-lZQ",btn:Wt,"btn--active":"lc-ButtonGroup-module__btn--active___VAc37","btn--compact":"lc-ButtonGroup-module__btn--compact___t1whe","btn--medium":"lc-ButtonGroup-module__btn--medium___XFRBP","btn--large":"lc-ButtonGroup-module__btn--large___OtNUz"};function Te(){}const Vt="btn-group",Yt=n=>{var d=n,{size:e="medium",fullWidth:o=!1,onIndexChange:r=Te,className:a,children:l,currentIndex:c,initialIndex:_=-1}=d,s=y(d,["size","fullWidth","onIndexChange","className","children","currentIndex","initialIndex"]);const u=i.default(be[Vt],a),[m,f]=t.useState(_),$=typeof c=="number",p=$?c:m,v=(E,g)=>{$||f(E),r(E,g)};return t.createElement("div",b({role:"group",className:u},s),t.Children.map(l,(E,g)=>t.cloneElement(E,{fullWidth:o,size:e,kind:"secondary",type:"button",onClick:w=>{v(g,w),E.props.onClick&&E.props.onClick(w)},className:i.default(be.btn,be[`btn--${e}`],g===p&&be["btn--active"])})))},Ht="lc-Card-module__card___GqMm2",jt="lc-Card-module__card__title___1YjAR",Ut="lc-Card-module__card__text___-jYlF",Jt="lc-Card-module__card__img___teLC8";var ge={card:Ht,card__title:jt,card__text:Ut,card__img:Jt};const Xt=c=>{var _=c,{img:e,title:o,children:r,className:a}=_,l=y(_,["img","title","children","className"]);return t.createElement(S,b({as:"div",size:"md",className:i.default(ge.card,a)},l),(e||o)&&t.createElement(ue,{as:"div",size:"sm",className:ge.card__title},e&&t.createElement("img",{src:e,className:ge.card__img}),o&&t.createElement("div",{className:ge.card__text},o)),r)},Kt="lc-Checkbox-module__checkbox___G7nTf",Zt="lc-Checkbox-module__checkbox__label___-o01x",Qt="lc-Checkbox-module__checkbox__square___MHUyd",er="lc-Checkbox-module__checkbox__checkmark___16pfY",tr="lc-Checkbox-module__checkbox__input___YLbVF",rr="lc-Checkbox-module__checkbox__text___P2SIq",or="lc-Checkbox-module__checkbox__helper___YSJ-n";var H={checkbox:Kt,checkbox__label:Zt,checkbox__square:Qt,checkbox__checkmark:er,"checkbox--selected":"lc-Checkbox-module__checkbox--selected___S2vqY",checkbox__input:tr,checkbox__text:rr,"checkbox--disabled":"lc-Checkbox-module__checkbox--disabled___-lAqW",checkbox__helper:or};const Ee="checkbox",Qe=r=>{var a=r,{className:e=""}=a,o=y(a,["className"]);const l=i.default(H[`${Ee}__square`],e);return t.createElement("div",null,t.createElement("input",x(b({},o),{className:H[`${Ee}__input`],type:"checkbox"})),t.createElement("div",{className:l},t.createElement(F,{source:C.Check,iconType:N.Inverted,size:j.XSmall,className:H[`${Ee}__checkmark`]})))};var ar={"field-description":"lc-FieldDescription-module__field-description___IcRDH"};const lr="field-description",me=a=>{var l=a,{children:e,className:o=""}=l,r=y(l,["children","className"]);const c=i.default(ar[lr],o);return t.createElement(S,x(b({as:"span",size:"sm"},r),{className:c}),e)},te="checkbox",_r=_=>{var s=_,{children:e,className:o="",description:r,checked:a,disabled:l}=s,c=y(s,["children","className","description","checked","disabled"]);const n=i.default(H[te],o,{[H[`${te}--selected`]]:a,[H[`${te}--disabled`]]:l});return t.createElement("div",{className:n},t.createElement("label",{className:H[`${te}__label`]},t.createElement(Qe,x(b({},c),{checked:a,disabled:l})),t.createElement(S,{as:"div",size:"md",className:H[`${te}__text`]},e)),r&&t.createElement(me,{className:H[`${te}__helper`]},r))};var cr={"field-error":"lc-FieldError-module__field-error___IDkPT"};const nr="field-error",ye=a=>{var l=a,{children:e,className:o=""}=l,r=y(l,["children","className"]);const c=i.default(cr[nr],o);return t.createElement(S,x(b({as:"span",size:"sm"},r),{className:c}),e)};var we={"field-group":"lc-FieldGroup-module__field-group___gy8lp","field-group--inline":"lc-FieldGroup-module__field-group--inline___or4qf","field-group--stretched":"lc-FieldGroup-module__field-group--stretched___6rkuO"};const xe="field-group",sr=s=>{var n=s,{className:e="",children:o,description:r,error:a,inline:l,stretch:c}=n,_=y(n,["className","children","description","error","inline","stretch"]);const d=i.default(we[xe],e,{[we[`${xe}--inline`]]:l,[we[`${xe}--stretched`]]:c});return t.createElement("div",x(b({},_),{className:d}),o,a&&t.createElement(ye,null,a),r&&t.createElement(me,null,r))},dr="lc-Form-module__form___1nOYF",ir="lc-Form-module__form__header___U4B7t",ur="lc-Form-module__form__footer___1-sUX",mr="lc-Form-module__form__label___spg-J",pr="lc-Form-module__form__helper___bhfwS";var le={form:dr,form__header:ir,form__footer:ur,form__label:mr,form__helper:pr};const _e="form",br=_=>{var s=_,{className:e,children:o,labelText:r,helperText:a,formFooter:l}=s,c=y(s,["className","children","labelText","helperText","formFooter"]);return t.createElement("form",b({className:i.default(le[_e],e)},c),(r||a)&&t.createElement("div",{className:le[`${_e}__header`]},r&&t.createElement(ue,{size:"sm",className:le[`${_e}__label`]},r),a&&t.createElement(S,{as:"p",size:"sm",className:le[`${_e}__helper`]},a)),o,l&&t.createElement("div",{className:le[`${_e}__footer`]},l))};var fe={"form-group":"lc-FormGroup-module__form-group___e2JHa","form-group__header":"lc-FormGroup-module__form-group__header___DgGmR","form-group__label":"lc-FormGroup-module__form-group__label___NC-JW","form-group__helper":"lc-FormGroup-module__form-group__helper___SRuxe"};const ve="form-group",gr=c=>{var _=c,{className:e="",children:o,labelText:r,helperText:a}=_,l=y(_,["className","children","labelText","helperText"]);const s=i.default(fe[ve],e);return t.createElement("div",x(b(x(b({},l),{role:"group"}),r&&{"aria-label":r}),{className:s}),t.createElement("div",{className:fe[`${ve}__header`]},t.createElement(ue,{as:"div",size:"sm",className:fe[`${ve}__label`]},r),a&&t.createElement(S,{as:"div",size:"sm",className:fe[`${ve}__helper`]},a)),o)};var D={"text-field":"lc-TextField-module__text-field___bis8c","text-field--inline":"lc-TextField-module__text-field--inline___MPHqg","text-field__wrapper--inline":"lc-TextField-module__text-field__wrapper--inline___-gOob","text-field__label":"lc-TextField-module__text-field__label___vpNdg","text-field__label--inline":"lc-TextField-module__text-field__label--inline___YSRYX","text-field__label--no-text":"lc-TextField-module__text-field__label--no-text___XSyn2","text-field__label-wrapper":"lc-TextField-module__text-field__label-wrapper___SNCct","text-field__label-adornment":"lc-TextField-module__text-field__label-adornment___--pgp","text-field__label-right-node":"lc-TextField-module__text-field__label-right-node___sdnWg","text-field__label-right-node--inline":"lc-TextField-module__text-field__label-right-node--inline___vMBP2","text-field__row-break":"lc-TextField-module__text-field__row-break___AnNrI","text-field__content":"lc-TextField-module__text-field__content___dCkUW","field-label":"lc-TextField-module__field-label___q8Y-p"};const T="text-field",Be=({inline:e,error:o,description:r,labelText:a,labelAdornment:l,className:c,labelFor:_,children:s,labelRightNode:n})=>{const d=i.default(D[T],{[D[`${T}--inline`]]:e},c);return t.createElement("div",{className:d},n&&e&&t.createElement(t.Fragment,null,t.createElement("div",{className:i.default(D[`${T}__label-right-node`],D[`${T}__label-right-node--inline`])},n),t.createElement("div",{className:D[`${T}__row-break`]})),t.createElement("div",{className:i.default(D[`${T}__wrapper`],e&&D[`${T}__wrapper--inline`])},(a||n)&&t.createElement("div",{className:i.default(D[`${T}__label`],e&&D[`${T}__label--inline`],!a&&D[`${T}__label--no-text`])},a&&t.createElement("div",{className:i.default(D[`${T}__label-wrapper`])},t.createElement("label",{className:"lc-field-label",htmlFor:_},t.createElement(S,{as:"span",size:"sm"},a)),l&&t.createElement("div",{className:i.default(D[`${T}__label-adornment`])},l)),n&&!e&&t.createElement("div",{className:i.default(D[`${T}__label-right-node`])},n)),t.createElement("div",{className:i.default(D[`${T}__content`])},s,o&&t.createElement(ye,null,o),r&&t.createElement(me,null,r))))};var qe={"input-field":"lc-InputField-module__input-field___A-GHj","input-field--error":"lc-InputField-module__input-field--error___MMchC"};const We="input-field",fr=t.forwardRef(($,f)=>{var p=$,{id:e,labelText:o,labelAdornment:r,className:a,inline:l,error:c,description:_,labelRightNode:s,fieldClassName:n,style:d,type:u="text"}=p,m=y(p,["id","labelText","labelAdornment","className","inline","error","description","labelRightNode","fieldClassName","style","type"]);const v=i.default(qe[We],{[qe[`${We}--error`]]:c},n);return t.createElement(Be,{inline:l,error:c,description:_,labelText:o,labelAdornment:r,className:a,labelFor:e,labelRightNode:s},t.createElement("input",x(b({},m),{id:e,ref:f,className:v,style:d,type:u})))}),vr="lc-Link-module__link___kqx52";var Ve={link:vr,"link--bold":"lc-Link-module__link--bold___1rGdO"};const Ye="link",hr=a=>{var l=a,{bold:e=!1,className:o=""}=l,r=y(l,["bold","className"]);return t.createElement("a",b({className:i.default(Ve[Ye],e&&Ve[`${Ye}--bold`],o)},r))},yr="lc-Modal-module__modal__header___Fp5VE",$r="lc-Modal-module__modal__heading___G9KVK",Er="lc-Modal-module__modal__body___M-jmN",wr="lc-Modal-module__modal__footer___2LYdc";var B={"modal-base":"lc-Modal-module__modal-base___hbL1U","modal-base__overlay":"lc-Modal-module__modal-base__overlay___kCQ8t","modal-base__overlay--visible":"lc-Modal-module__modal-base__overlay--visible___zUNJL","modal-base__close":"lc-Modal-module__modal-base__close___gJlgr",modal__header:yr,modal__heading:$r,modal__body:Er,modal__footer:wr,"action-modal":"lc-Modal-module__action-modal___CsRC7","action-modal__heading":"lc-Modal-module__action-modal__heading___m3MuG","action-modal__content":"lc-Modal-module__action-modal__content___gf-R2","action-modal__actions":"lc-Modal-module__action-modal__actions___kpRXD","action-modal__icon":"lc-Modal-module__action-modal__icon___MK5xt"};const et=({onClick:e})=>t.createElement("button",{title:"Close modal",className:B["modal-base__close"],onClick:e,type:"button"},t.createElement(F,{source:C.Close,size:j.Large})),I={esc:"Escape",enter:"Enter",backspace:"Backspace",delete:"Delete",spacebar:" ",tab:"Tab",semicolon:";",comma:",",arrowUp:"ArrowUp",arrowDown:"ArrowDown"},Ce="modal-base",Se=c=>{var _=c,{children:e,className:o="",onClose:r,closeOnEscPress:a=!0}=_,l=y(_,["children","className","onClose","closeOnEscPress"]);const s=i.default(B[Ce],o);t.useEffect(()=>{if(!a)return;const u=m=>{m.key===I.esc&&r()};return document.addEventListener("keyup",u,!0),()=>document.removeEventListener("keyup",u,!0)},[a]);const n=u=>{u.target===u.currentTarget&&r()},d=u=>{u.preventDefault(),u.stopPropagation(),r()};return t.createElement("div",{"data-testid":"lc-modal-overlay",onMouseDown:n,className:i.default(B[`${Ce}__overlay`],B[`${Ce}__overlay--visible`])},t.createElement("div",b({className:s},l),t.createElement(et,{onClick:d}),e))},ce="action-modal",xr=_=>{var s=_,{children:e,className:o="",icon:r,heading:a,actions:l}=s,c=y(s,["children","className","icon","heading","actions"]);const n=i.default(B[ce],o);return t.createElement(Se,b({className:n},c),r&&t.createElement("div",{className:B[`${ce}__icon`]},r),a&&t.createElement("div",{className:B[`${ce}__heading`]},a),t.createElement("div",{className:B[`${ce}__content`]},e),l&&t.createElement("div",{className:B[`${ce}__actions`]},l))},ne="modal",Cr=c=>{var _=c,{children:e,className:o="",heading:r,footer:a}=_,l=y(_,["children","className","heading","footer"]);const s=i.default(B[ne],o);return t.createElement(Se,b({className:s},l),r&&t.createElement("div",{className:B[`${ne}__header`]},t.createElement(ue,{size:"sm",as:"div",className:B[`${ne}__heading`]},r)),t.createElement("div",{className:B[`${ne}__body`]},e),a&&t.createElement("div",{className:B[`${ne}__footer`]},a))},kr=({children:e,className:o="",parentElementName:r="body",zIndex:a})=>{const[l]=t.useState(()=>document.createElement("div"));return o&&l.classList.add(o),a&&(l.style.zIndex=a.toString()),t.useEffect(()=>{var c;return(c=document.querySelector(r))==null||c.appendChild(l),()=>{var _;(_=document.querySelector(r))==null||_.removeChild(l)}},[]),t.createElement(t.Fragment,null,$t.createPortal(e,l))};var re={"numeric-input":"lc-NumericInput-module__numeric-input___j1esc","numeric-input__increment":"lc-NumericInput-module__numeric-input__increment___i3Tys","numeric-input__decrement":"lc-NumericInput-module__numeric-input__decrement___3qgn0","numeric-input--disabled":"lc-NumericInput-module__numeric-input--disabled___yaRvQ","numeric-input--no-controls":"lc-NumericInput-module__numeric-input--no-controls___D90rG","numeric-input--error":"lc-NumericInput-module__numeric-input--error___TMxRx"};const oe="numeric-input",tt=u=>{var m=u,{className:e,error:o,value:r,max:a,min:l,disabled:c,noControls:_,style:s,onChange:n}=m,d=y(m,["className","error","value","max","min","disabled","noControls","style","onChange"]);const f=t.useRef(null),$=i.default(re[oe],{[re[`${oe}--error`]]:o,[re[`${oe}--no-controls`]]:_,[re[`${oe}--disabled`]]:c},e),p=h=>n(String(h)),v=h=>a!==void 0&&h>a?a:l!==void 0&&h<l?l:h,E=h=>{const P=parseInt(r,10)+h;return p(v(P))},g=h=>{h.key===I.arrowDown&&(h.preventDefault(),E(-1)),h.key===I.arrowUp&&(h.preventDefault(),E(1))},w=(h,P)=>P!==void 0&&parseInt(h,10)===P,R=h=>{h.preventDefault(),h.stopPropagation();const P=h.currentTarget.value.replace(/((?!([-]|([-]?\d+))).)/,"");if(P===""||P==="-")return p(P);const it=parseInt(P,10);return p(v(it))},Ie=()=>{var h;return(h=f.current)==null||h.focus(),E(1)},$e=()=>{var h;return(h=f.current)==null||h.focus(),E(-1)};return t.createElement("div",{className:$,style:s},t.createElement("input",x(b({type:"text",ref:f},d),{value:r,disabled:c,onChange:R,onKeyDown:g,min:l,max:a})),!_&&t.createElement(t.Fragment,null,t.createElement("button",{tabIndex:-1,disabled:c||w(r,a),onClick:Ie,"aria-label":"Increment value",className:re[`${oe}__increment`],type:"button"},t.createElement(F,{source:C.ChevronUp,disabled:c||w(r,a),iconType:N.Primary})),t.createElement("button",{tabIndex:-1,disabled:c||w(r,l),"aria-label":"Decrement value",className:re[`${oe}__decrement`],onClick:$e,type:"button"},t.createElement(F,{source:C.ChevronDown,iconType:N.Primary,disabled:c||w(r,l)}))))},Nr=m=>{var f=m,{id:e,labelText:o,labelAdornment:r,className:a,inline:l,error:c,description:_,labelRightNode:s,fieldClassName:n,style:d}=f,u=y(f,["id","labelText","labelAdornment","className","inline","error","description","labelRightNode","fieldClassName","style"]);return t.createElement(Be,{inline:l,error:c,description:_,labelText:o,labelAdornment:r,className:a,labelFor:e,labelRightNode:s},t.createElement(tt,x(b({},u),{id:e,className:n,style:d,error:c})))},Dr="lc-Popover-module__popover___8X1b2";var He={popover:Dr,"popover--visible":"lc-Popover-module__popover--visible___u5NXB"};const Tr=e=>{const{offset:o,flip:r,preventOverflow:a}=e,l=[{name:"offset",options:b({offset:[0,4]},(o==null?void 0:o.options)||{})}],c=[{name:"flip",options:b({},(r==null?void 0:r.options)||{})}],_=[{name:"preventOverlow",options:b({rootBoundary:"viewport"},a||{})}];return[...l,...c,..._]},Br=e=>{const{triggerRenderer:o,children:r,className:a,placement:l,isVisible:c=!1}=e,_=t.useRef(null),s=t.useRef(null),[n,d]=t.useState(!1);t.useEffect(()=>{d(c)},[c]);function u(v){var E,g;(E=s.current)!=null&&E.contains(v.target)||((g=_.current)!=null&&g.contains(v.target)?d(w=>!w):d(!1))}const m=v=>{v.key==="Escape"&&d(!1)};t.useEffect(()=>(document.addEventListener("keydown",m),document.addEventListener("mousedown",u),()=>{document.removeEventListener("keydown",m),document.removeEventListener("mousedown",u)}),[]);const{styles:f,attributes:$}=ht.usePopper(_.current,s.current,{modifiers:e.modifiers?Tr(e.modifiers):[],placement:l}),p=i.default(He.popover,a,{[He["popover--visible"]]:n});return t.createElement(t.Fragment,null,t.createElement("div",{ref:_},o()),t.createElement("div",b({ref:s,className:p,style:f.popper},$.popper),r))};var X=(e=>(e.Normal="normal",e.Error="error",e.Success="success",e))(X||{}),K=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(K||{});const Sr=["normal","error","success"],Ir=e=>Math.min(Math.max(e,0),100);function Fr(e,o=0){return e===X.Error?0:Ir(parseInt(o.toString(),10))}function Pr(e,o){return!Sr.includes(e)&&o>=100?X.Normal:e||X.Normal}var Z={"progress-circle":"lc-ProgressCircle-module__progress-circle___NRHCi","progress-circle--small":"lc-ProgressCircle-module__progress-circle--small___8FVwG","progress-circle--medium":"lc-ProgressCircle-module__progress-circle--medium___XlzEX","progress-circle--large":"lc-ProgressCircle-module__progress-circle--large___qxa2y","progress-circle__bg-line--normal":"lc-ProgressCircle-module__progress-circle__bg-line--normal___nDNwj","progress-circle__bg-line--success":"lc-ProgressCircle-module__progress-circle__bg-line--success___1aP-O","progress-circle__bg-line--error":"lc-ProgressCircle-module__progress-circle__bg-line--error___oqMZL","progress-circle__indicator--normal":"lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX","progress-circle__indicator--success":"lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR","progress-circle__indicator--error":"lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9","progress-circle--error":"lc-ProgressCircle-module__progress-circle--error___2AA9K","progress-circle__bg-line":"lc-ProgressCircle-module__progress-circle__bg-line___12YrE","progress-circle--success":"lc-ProgressCircle-module__progress-circle--success___hH5jv","progress-circle--normal":"lc-ProgressCircle-module__progress-circle--normal___dFneQ"};const Gr={[K.Small]:2,[K.Medium]:3,[K.Large]:4},Mr={[K.Small]:15,[K.Medium]:36,[K.Large]:56},Q="progress-circle",Rr=t.forwardRef((_,c)=>{var s=_,{status:e=X.Normal,percent:o,className:r,size:a=K.Medium}=s,l=y(s,["status","percent","className","size"]);const n=Pr(e,o),d=Fr(n,o),u=Gr[a],m=Mr[a],f=i.default(Z[Q],{[Z[`${Q}--${a}`]]:a,[Z[`${Q}--error`]]:n===X.Error,[Z[`${Q}--success`]]:n===X.Success,[Z[`${Q}--normal`]]:n===X.Normal},r),$=2*Math.PI*((m-u)/2),p={strokeDasharray:$.toFixed(3),strokeDashoffset:`${((100-d)/100*$).toFixed(3)}px`},v=`${m/2} ${m/2} ${m} ${m}`;return t.createElement("div",b({className:f,ref:c,role:"progressbar"},l),t.createElement("svg",{viewBox:v},t.createElement("circle",{className:Z[`${Q}__bg-line--${e}`],cx:m,cy:m,r:(m-u)/2,fill:"none",strokeWidth:u}),t.createElement("circle",{className:Z[`${Q}__indicator--${e}`],style:p,cx:m,cy:m,r:(m-u)/2,fill:"none",strokeWidth:u})))});var L={"promo-banner":"lc-PromoBanner-module__promo-banner___-mGpq","promo-banner__content":"lc-PromoBanner-module__promo-banner__content___kRWar","promo-banner__wrapper":"lc-PromoBanner-module__promo-banner__wrapper___I-8cl","promo-banner__header":"lc-PromoBanner-module__promo-banner__header___ebYHW","promo-banner__img":"lc-PromoBanner-module__promo-banner__img___eaShb","promo-banner__button-text":"lc-PromoBanner-module__promo-banner__button-text___taYKa","promo-banner--light":"lc-PromoBanner-module__promo-banner--light___eJxOR","promo-banner--small":"lc-PromoBanner-module__promo-banner--small___7sWLV","promo-banner__footer":"lc-PromoBanner-module__promo-banner__footer___8OjvH","promo-banner--medium":"lc-PromoBanner-module__promo-banner--medium___NeeoJ","promo-banner--large":"lc-PromoBanner-module__promo-banner--large___pMiCU","promo-banner__close-icon":"lc-PromoBanner-module__promo-banner__close-icon___GowBL"};const O="promo-banner",Lr=({className:e,buttonText:o,children:r,header:a,img:l,light:c=!1,linkText:_,size:s="small",onButtonClick:n,onClose:d,onLinkClick:u})=>{const m=i.default(L[O],{[L[`${O}--light`]]:c,[L[`${O}--${s}`]]:s},e),f=(o||_)&&s==="large",$=(o||_)&&s!=="large",p=t.createElement("div",{className:L[`${O}__footer`]},o&&t.createElement(De,{kind:"primary",size:"compact",onClick:n,className:L[`${O}__button-text`]},o),_&&t.createElement(De,{size:"compact",kind:"text",onClick:u},_));return t.createElement("div",{className:m},t.createElement("div",{className:L[`${O}__content`]},l&&t.createElement("img",{src:l,className:L[`${O}__img`]}),t.createElement("div",{className:L[`${O}__wrapper`]},t.createElement("div",{className:L[`${O}__header`]},a),t.createElement("div",null,r),$&&p),f&&p),d&&t.createElement("button",{type:"button",className:L[`${O}__close-icon`],onClick:d},t.createElement(F,{source:C.Close,size:j.Large})))};var W={"radio-button":"lc-RadioButton-module__radio-button___WaToM","radio-button__label":"lc-RadioButton-module__radio-button__label___i7ygg","radio-button__circle":"lc-RadioButton-module__radio-button__circle___wimWA","radio-button__inner-circle":"lc-RadioButton-module__radio-button__inner-circle___qkRVf","radio-button__text":"lc-RadioButton-module__radio-button__text___mT8c0","radio-button__input":"lc-RadioButton-module__radio-button__input___7OTAK","radio-button__helper":"lc-RadioButton-module__radio-button__helper___r8gJJ","radio-button--selected":"lc-RadioButton-module__radio-button--selected___s9lqj","radio-button--disabled":"lc-RadioButton-module__radio-button--disabled___wHSA7"};const V="radio-button",Or=_=>{var s=_,{children:e,className:o="",description:r,checked:a,disabled:l}=s,c=y(s,["children","className","description","checked","disabled"]);const n=i.default(W[V],o,{[W[`${V}--selected`]]:a,[W[`${V}--disabled`]]:l});return t.createElement("div",{className:n},t.createElement("label",{className:W[`${V}__label`]},t.createElement("div",{className:W[`${V}__circle`]},t.createElement("span",{className:W[`${V}__inner-circle`]}),t.createElement("input",x(b({className:W[`${V}__input`]},c),{type:"radio",checked:a,disabled:l}))),t.createElement(S,{as:"div",size:"md",className:W[`${V}__text`]},e)),r&&t.createElement(me,{className:W[`${V}__helper`]},r))},Ar="lc-Switch-module__switch__input___NiiOR",zr="lc-Switch-module__switch__container___79F7W",qr="lc-Switch-module__switch__track___2wr2M",Wr="lc-Switch-module__switch__slider___WHd--";var Y={switch:"lc-Switch-module__switch___AaA2k","switch__track--enabled":"lc-Switch-module__switch__track--enabled___sy4Xl","switch__track--disabled":"lc-Switch-module__switch__track--disabled___HkDhl","switch--basic":"lc-Switch-module__switch--basic___jKO4n","switch--compact":"lc-Switch-module__switch--compact___OGFIX",switch__input:Ar,switch__container:zr,switch__track:qr,switch__slider:Wr,"switch__slider--basic":"lc-Switch-module__switch__slider--basic___OMKTp","switch__slider--basic--enabled":"lc-Switch-module__switch__slider--basic--enabled___sh9jo","switch__slider--basic--disabled":"lc-Switch-module__switch__slider--basic--disabled___GSTO9","switch__slider--compact":"lc-Switch-module__switch__slider--compact___uZ-lS","switch__slider--compact--enabled":"lc-Switch-module__switch__slider--compact--enabled___04TFA","switch__slider--compact--disabled":"lc-Switch-module__switch__slider--compact--disabled___Vqznr"};const A="switch",Vr=d=>{var u=d,{className:e="",defaultOn:o=!1,disabled:r=!1,name:a=A,on:l,onChange:c=Te,size:_="basic",innerRef:s}=u,n=y(u,["className","defaultOn","disabled","name","on","onChange","size","innerRef"]);const m=()=>l!==void 0?l:o,[f,$]=t.useState(m());t.useEffect(()=>{l!==void 0&&$(l)},[l]);const p=f?"enabled":"disabled",v=i.default(Y[A],Y[`${A}--${_}`],e),E=g=>{if(c!==Te){c(g,f);return}g.stopPropagation(),$(R=>!R)};return t.createElement("span",{className:v},t.createElement("input",b({type:"checkbox",className:Y[`${A}__input`],onChange:E,checked:f,name:a,ref:s,disabled:r,"test-id":"foo"},n)),t.createElement("span",{className:Y[`${A}__container`]},t.createElement("span",{className:i.default(Y[`${A}__track`],Y[`${A}__track--${p}`])}),t.createElement("span",{className:i.default(Y[`${A}__slider`],Y[`${A}__slider--${_}`],Y[`${A}__slider--${_}--${p}`])})))},Yr="lc-Tab-module__tab___fME7u",Hr="lc-Tab-module__tab__description___JGXU6";var ke={tab:Yr,tab__description:Hr,"tab--selected":"lc-Tab-module__tab--selected___c0EkL"};const Ne="tab",jr=c=>{var _=c,{children:e,className:o,description:r,isSelected:a}=_,l=y(_,["children","className","description","isSelected"]);return t.createElement(S,x(b({},l),{as:l.href?"a":"button",size:"md",bold:a,className:i.default(ke[Ne],o,a&&ke[`${Ne}--selected`])}),e,r&&t.createElement(S,{as:"span",size:"md",className:ke[`${Ne}__description`]},"(",r,")"))},Ur="lc-TabsWrapper-module__tabs___Y2xyD",Jr="lc-TabsWrapper-module__tabs__list___i6tVO";var rt={tabs:Ur,tabs__list:Jr};const ot="tabs",Xr=({className:e,children:o})=>t.createElement("div",{className:i.default(rt[ot],e)},o),Kr=({className:e,children:o})=>t.createElement("div",{className:i.default(rt[`${ot}__list`],e)},o),Zr="lc-Tag-module__tag___1QRVY",Qr="lc-Tag-module__tag__remove___UmtrW",eo="lc-Tag-module__icon___2Z-35",to="lc-Tag-module__tag__icon___tZoQ9",ro="lc-Tag-module__tag__avatar___U4c-P";var z={tag:Zr,"tag--success":"lc-Tag-module__tag--success___P2hXQ",tag__remove:Qr,"tag--error":"lc-Tag-module__tag--error___1cjsm","tag--warning":"lc-Tag-module__tag--warning___PstMG","tag--info":"lc-Tag-module__tag--info___RTH0C","tag--medium":"lc-Tag-module__tag--medium___l5-KI","tag--large":"lc-Tag-module__tag--large___ytC6Y","tag--outline":"lc-Tag-module__tag--outline___aZXtr",icon:eo,"tag--text-white":"lc-Tag-module__tag--text-white___x0fnD","tag--text-black":"lc-Tag-module__tag--text-black___dUvmD","tag--with-icon":"lc-Tag-module__tag--with-icon___ZlkvT","tag--dismissible":"lc-Tag-module__tag--dismissible___Qobyr",tag__icon:to,tag__avatar:ro};const q="tag",oo=e=>e?je.getContrast(e,"#FFFFFF")>4.5?"text-white":"text-black":"",at=m=>{var f=m,{className:e="",children:o,dismissible:r=!1,size:a="medium",kind:l="default",onRemove:c,outline:_=!1,icon:s,avatar:n,customColor:d}=f,u=y(f,["className","children","dismissible","size","kind","onRemove","outline","icon","avatar","customColor"]);const $=i.default(z[q],e,z[`${q}--${a}`],z[`${q}--${l}`],{[z[`${q}--dismissible`]]:r,[z[`${q}--outline`]]:_,[z[`${q}--with-icon`]]:!!s||!!n,[z[`${q}--${oo(d)}`]]:!!d}),p=()=>d?_?{style:{backgroundColor:"transparent",color:d,borderColor:d}}:{style:{backgroundColor:d}}:{},v=()=>{if(!!d)return _?d:je.getContrast(d,"#FFFFFF")>4.5?"#FFFFFF":"#000000"};return t.createElement(S,x(b(b({className:$},u),p()),{as:"div",size:"md"}),n&&t.createElement("img",{className:z[`${q}__avatar`],src:n,alt:"tag-avatar","data-testid":"lc-tag-avatar"})," ",s&&!n&&t.createElement(F,{"data-testid":"lc-tag-icon",className:z[`${q}__icon`],source:s,size:j.Small,customColor:v()}),o,r&&t.createElement("button",{title:"Remove",onClick:c,type:"button",className:z[`${q}__remove`]},t.createElement(F,{source:C.Close,size:j.Medium,customColor:v()})))},ao=({className:e="",innerEditableRef:o,inputRef:r,change:a,remove:l,value:c})=>{const[_,s]=t.useState(!1),n=()=>o.current,d=()=>{const p=n();return p?p.innerText:""},u=()=>{r&&r.current&&r.current.focus()},m=p=>{if(p.key===I.enter){p.preventDefault(),u();return}p.key===I.backspace&&d()===""&&(s(!0),l(),u())},f=()=>{const p=n();if(!(_||!p)){if(p.innerText===""){l();return}a(p.innerText)}},$=p=>{p.preventDefault();const v=p.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,Re.default(v))};return t.createElement("div",{ref:o,className:e,contentEditable:!0,onPaste:$,onBlur:f,onKeyDown:m,dangerouslySetInnerHTML:{__html:Re.default(c)}})};var ie={"tag-input":"lc-TagInput-module__tag-input___CLVY-","tag-input--error":"lc-TagInput-module__tag-input--error___RP0SB","tag-input__input":"lc-TagInput-module__tag-input__input___dgEYB","tag-input__input--medium":"lc-TagInput-module__tag-input__input--medium___DYF7X","tag-input__input--large":"lc-TagInput-module__tag-input__input--large___G6iEO","tag-input__tag__content":"lc-TagInput-module__tag-input__tag__content___x95-M"};const lo="tag-input__tag",_o=({children:e,index:o,remove:r,validator:a,inputRef:l,update:c,size:_})=>{const s=t.useMemo(()=>a!==void 0?a(e):!0,[e,a]),n=t.useRef(null),d=()=>r(o);return t.createElement(at,{kind:s?"default":"error",dismissible:!0,size:_,onRemove:d},t.createElement(ao,{value:e,inputRef:l,innerEditableRef:n,className:ie[`${lo}__content`],change:u=>c(o,u),remove:d,validator:a}))},he="tag-input",co=[I.enter,I.spacebar,I.tab,I.semicolon,I.comma],no=[I.backspace,I.delete],lt=({tags:e,onChange:o,validator:r,error:a,placeholder:l,size:c="medium"})=>{const _=i.default(ie[he],{[ie[`${he}--error`]]:a}),s=i.default(ie[`${he}__input`],ie[`${he}__input--${c}`]),[n,d]=t.useState(""),u=t.useRef(null),m=g=>{o([...e||[],g]),d("")},f=g=>{const w=[...e||[]];w.splice(g,1),o(w)},$=g=>d(g.target.value),p=g=>{if(co.includes(g.key)){if(g.preventDefault(),n==="")return;m(n)}else if(no.includes(g.key)){if(n!==""||!(e!=null&&e.length))return;f(e.length-1)}},v=(g,w)=>{const R=[...e||[]];R.reduce(($e,h,P)=>$e+(h===w&&P!==g?1:0),0)>0?R.splice(g,1):R[g]=w,o(R)},E=g=>{g.preventDefault();const R=g.clipboardData.getData("text/plain").split(/[\s,;\n]+/);o([...e||[],...R])};return t.createElement(t.Fragment,null,t.createElement("div",{className:_},e==null?void 0:e.map((g,w)=>t.createElement(_o,{index:w,key:`${w}${g}`,update:v,remove:f,inputRef:u,validator:r,size:c},g)),t.createElement("input",{ref:u,className:s,placeholder:l,value:n,onChange:$,onKeyDown:p,onPaste:E})),a&&t.createElement(ye,null,a))},so=/^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i,io="name@company.com",uo=e=>so.test(e),mo=({tags:e,onChange:o,error:r,placeholder:a=io,size:l})=>t.createElement(lt,{tags:e,error:r,onChange:o,placeholder:a,validator:uo,size:l}),po="lc-Toast-module__toast___j5Amn",bo="lc-Toast-module__toast__content___HjaNw",go="lc-Toast-module__toast__icon___wLbLu",fo="lc-Toast-module__toast__close___O18Lh",vo="lc-Toast-module__toast__actions___JWu-1";var k={toast:po,toast__content:bo,toast__icon:go,toast__close:fo,toast__actions:vo,"toast__actions-close":"lc-Toast-module__toast__actions-close___xN8YT","toast__actions-custom":"lc-Toast-module__toast__actions-custom___z1UUf","toast--notification":"lc-Toast-module__toast--notification___pDXnc","toast--success":"lc-Toast-module__toast--success___7UC6m","toast--warning":"lc-Toast-module__toast--warning___pteb7","toast--error":"lc-Toast-module__toast--error___trg--","toast--info":"lc-Toast-module__toast--info___IOp44","toast-wrapper":"lc-Toast-module__toast-wrapper___Oiwqp","toast-wrapper--fixed":"lc-Toast-module__toast-wrapper--fixed___QYxRI","toast-wrapper--block":"lc-Toast-module__toast-wrapper--block___j0kGt","toast-wrapper--horizontal-center":"lc-Toast-module__toast-wrapper--horizontal-center___t9AFd","toast-wrapper--horizontal-left":"lc-Toast-module__toast-wrapper--horizontal-left___-GY4I","toast-wrapper--horizontal-right":"lc-Toast-module__toast-wrapper--horizontal-right___VVMgm","toast-wrapper--vertical-top":"lc-Toast-module__toast-wrapper--vertical-top___uBfEG","toast-appear--slide":"lc-Toast-module__toast-appear--slide___G7GAp","toast-appear-active--slide":"lc-Toast-module__toast-appear-active--slide___brfgK","toast-exit--slide":"lc-Toast-module__toast-exit--slide___aqiBq","toast-exit-active--slide":"lc-Toast-module__toast-exit-active--slide___WryMi","toast-wrapper--vertical-bottom":"lc-Toast-module__toast-wrapper--vertical-bottom___erPuH","toast-appear--fade":"lc-Toast-module__toast-appear--fade___oUwHm","toast-appear-active--fade":"lc-Toast-module__toast-appear-active--fade___D3--J","toast-exit--fade":"lc-Toast-module__toast-exit--fade___iDA1p","toast-exit-active--fade":"lc-Toast-module__toast-exit-active--fade___tL7sb"};const ee="toast";var _t=(e=>(e.Success="success",e.Warning="warning",e.Error="error",e.Info="info",e.Notification="notification",e))(_t||{});const ho={success:{source:C.CheckCircleSolid,iconType:N.Inverted},warning:{source:C.Warning},error:{source:C.Error,iconType:N.Inverted},info:{source:C.Info,iconType:N.Inverted},notification:{source:C.Info,iconType:N.Link}},ct=({action:e,className:o,children:r,removable:a,variant:l="info",onClose:c})=>{const _=i.default(k[ee],k[`${ee}--${l}`],o),s=n=>n&&n.closeOnClick&&c?(n.handler(),c()):n.handler();return t.createElement("div",{className:_},t.createElement("div",{className:k[`${ee}__icon`]},t.createElement(F,b({},ho[l]))),t.createElement("div",{className:k[`${ee}__content`]},r),(e||a)&&t.createElement("div",{className:k[`${ee}__actions`]},e&&t.createElement("button",{className:k[`${ee}__actions-custom`],onClick:()=>s(e)},e.label),a&&t.createElement("div",{className:k[`${ee}__actions-close`],"aria-label":"Close toast",onClick:c},t.createElement(F,{source:C.Close,size:j.Small,iconType:["warning","notification"].includes(l)?N.Primary:N.Inverted}))))};var nt=(e=>(e.Left="left",e.Center="center",e.Right="right",e))(nt||{}),st=(e=>(e.Top="top",e.Bottom="bottom",e))(st||{});const dt=200,se="toast-wrapper",yo=({className:e,toasts:o=[],fixed:r=!0,block:a=!1,animationType:l="slide",verticalPosition:c="top",horizontalPosition:_="center"})=>{const s=i.default(k[se],{[k[`${se}--fixed`]]:r,[k[`${se}--block`]]:!r&&a,[k[`${se}--horizontal-${_}`]]:_,[k[`${se}--vertical-${c}`]]:c},e);return t.createElement("div",{className:s},t.createElement(Me.TransitionGroup,{component:null},o.map(({id:n,variant:d,content:u,removable:m,action:f,onClose:$})=>t.createElement(Me.CSSTransition,{key:n,classNames:{enter:k[`toast-appear--${l}`],enterActive:k[`toast-appear-active--${l}`],exit:k[`toast-exit--${l}`],exitActive:k[`toast-exit-active--${l}`]},timeout:dt},t.createElement(ct,{variant:d,onClose:$,removable:m,action:f},u)))))};exports.ANIMATION_TIME=dt;exports.ActionModal=xr;exports.Alert=It;exports.Badge=Pt;exports.Button=De;exports.ButtonGroup=Yt;exports.Card=Xt;exports.Checkbox=Qe;exports.CheckboxField=_r;exports.DesignTokens=Et;exports.EmailTagInput=mo;exports.FieldDescription=me;exports.FieldError=ye;exports.FieldGroup=sr;exports.Form=br;exports.FormGroup=gr;exports.Heading=ue;exports.HorizontalPosition=nt;exports.Icon=F;exports.IconSizeName=j;exports.IconTypeName=N;exports.InputField=fr;exports.Link=hr;exports.Loader=Ze;exports.Modal=Cr;exports.ModalBase=Se;exports.ModalCloseButton=et;exports.ModalPortal=kr;exports.NumericInput=tt;exports.NumericInputField=Nr;exports.Popover=Br;exports.ProgressCircle=Rr;exports.PromoBanner=Lr;exports.RadioButton=Or;exports.Switch=Vr;exports.Tab=jr;exports.TabsList=Kr;exports.TabsWrapper=Xr;exports.Tag=at;exports.TagInput=lt;exports.Text=S;exports.TextField=Be;exports.Toast=ct;exports.ToastWrapper=yo;exports.Variants=_t;exports.VerticalPosition=st;
package/dist/dsrc.es.js CHANGED
@@ -32,6 +32,7 @@ var __objRest = (source, exclude) => {
32
32
  import * as React from "react";
33
33
  import cx from "clsx";
34
34
  import { Info, Warning, CheckCircleSolid, Block, Close, Check, ChevronUp, ChevronDown, Error as Error2 } from "@livechat/design-system-icons/react/material";
35
+ import { debounce } from "lodash";
35
36
  import * as ReactDOM from "react-dom";
36
37
  import { usePopper } from "react-popper";
37
38
  import { getContrast } from "polished";
@@ -352,11 +353,11 @@ const alert__content = "lc-Alert-module__alert__content___9nZdf";
352
353
  const alert__icon = "lc-Alert-module__alert__icon___8TaAH";
353
354
  var styles$p = {
354
355
  alert,
355
- "alert__content-text": "lc-Alert-module__alert__content-text___x2Un5",
356
356
  alert__content,
357
+ "alert__content-text": "lc-Alert-module__alert__content-text___x2Un5",
358
+ "alert__content-text--margin": "lc-Alert-module__alert__content-text--margin___whVzG",
359
+ "alert__content-icon": "lc-Alert-module__alert__content-icon___-EXJm",
357
360
  "alert--small": "lc-Alert-module__alert--small___Fyk-v",
358
- "alert--medium": "lc-Alert-module__alert--medium___ItZWT",
359
- "alert--large": "lc-Alert-module__alert--large___IH9yM",
360
361
  "alert__close-icon": "lc-Alert-module__alert__close-icon___rYxVy",
361
362
  "alert--info": "lc-Alert-module__alert--info___GmIGN",
362
363
  "alert--warning": "lc-Alert-module__alert--warning___MubhD",
@@ -386,18 +387,32 @@ const baseClass$s = "alert";
386
387
  const Alert = ({
387
388
  children,
388
389
  className,
389
- size = "small",
390
390
  type = "info",
391
391
  onClose
392
392
  }) => {
393
- const mergedClassNames = cx(styles$p[baseClass$s], styles$p[`${baseClass$s}--${type}`], styles$p[`${baseClass$s}--${size}`], className);
393
+ const containerRef = React.useRef(null);
394
+ const [isSmallContainer, setIsSmallContainer] = React.useState(false);
395
+ const mergedClassNames = cx(styles$p[baseClass$s], styles$p[`${baseClass$s}--${type}`], isSmallContainer && styles$p[`${baseClass$s}--small`], className);
396
+ React.useEffect(() => {
397
+ const handleResize = debounce(() => {
398
+ if (containerRef.current && containerRef.current.offsetWidth <= 400) {
399
+ return setIsSmallContainer(true);
400
+ }
401
+ return setIsSmallContainer(false);
402
+ }, 500);
403
+ window.addEventListener("resize", handleResize);
404
+ return () => window.removeEventListener("resize", handleResize);
405
+ });
394
406
  return /* @__PURE__ */ React.createElement("div", {
407
+ ref: containerRef,
395
408
  className: mergedClassNames
396
409
  }, /* @__PURE__ */ React.createElement("div", {
397
410
  className: styles$p[`${baseClass$s}__content`]
398
- }, /* @__PURE__ */ React.createElement(Icon, __spreadValues({}, IconConfig$1[type])), /* @__PURE__ */ React.createElement(Text, {
411
+ }, /* @__PURE__ */ React.createElement(Icon, __spreadProps(__spreadValues({}, IconConfig$1[type]), {
412
+ className: styles$p[`${baseClass$s}__content-icon`]
413
+ })), /* @__PURE__ */ React.createElement(Text, {
399
414
  as: "div",
400
- className: styles$p[`${baseClass$s}__content-text`]
415
+ className: cx(styles$p[`${baseClass$s}__content-text`], onClose && styles$p[`${baseClass$s}__content-text--margin`])
401
416
  }, children)), onClose && /* @__PURE__ */ React.createElement("button", {
402
417
  type: "button",
403
418
  className: styles$p[`${baseClass$s}__close-icon`],
package/dist/dsrc.umd.js CHANGED
@@ -1 +1 @@
1
- var gr=Object.defineProperty,fr=Object.defineProperties;var hr=Object.getOwnPropertyDescriptors;var Ee=Object.getOwnPropertySymbols;var ut=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable;var it=(_,C,x)=>C in _?gr(_,C,{enumerable:!0,configurable:!0,writable:!0,value:x}):_[C]=x,g=(_,C)=>{for(var x in C||(C={}))ut.call(C,x)&&it(_,x,C[x]);if(Ee)for(var x of Ee(C))mt.call(C,x)&&it(_,x,C[x]);return _},B=(_,C)=>fr(_,hr(C));var w=(_,C)=>{var x={};for(var v in _)ut.call(_,v)&&C.indexOf(v)<0&&(x[v]=_[v]);if(_!=null&&Ee)for(var v of Ee(_))C.indexOf(v)<0&&mt.call(_,v)&&(x[v]=_[v]);return x};(function(_,C){typeof exports=="object"&&typeof module!="undefined"?C(exports,require("react"),require("clsx"),require("@livechat/design-system-icons/react/material"),require("react-dom"),require("react-popper"),require("polished"),require("lodash.escape"),require("react-transition-group")):typeof define=="function"&&define.amd?define(["exports","react","clsx","@livechat/design-system-icons/react/material","react-dom","react-popper","polished","lodash.escape","react-transition-group"],C):(_=typeof globalThis!="undefined"?globalThis:_||self,C(_.dsrc={},_.React,_.cx,_.material,_.ReactDOM,_.reactPopper,_.polished,_.escape,_.reactTransitionGroup))})(this,function(_,C,x,v,pt,bt,Ge,gt,Me){"use strict";function Re(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function Oe(e){if(e&&e.__esModule)return e;var a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(a,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}}),a.default=e,Object.freeze(a)}var t=Oe(C),u=Re(x),ft=Oe(pt),Le=Re(gt),vr="";const ht={Background:"--background",SurfaceBasicDefault:"--surface-basic-default",SurfaceBasicSubtle:"--surface-basic-subtle",SurfaceBasicHover:"--surface-basic-hover",SurfaceBasicActive:"--surface-basic-active",SurfaceBasicDisabled:"--surface-basic-disabled",SurfaceSecondaryDefault:"--surface-secondary-default",SurfaceSecondarySubtle:"--surface-secondary-subtle",SurfaceSecondaryHover:"--surface-secondary-hover",SurfaceSecondaryDisabled:"--surface-secondary-disabled",SurfaceFeedbackInfo:"--surface-feedback-info",SurfaceFeedbackNegative:"--surface-feedback-negative",SurfaceFeedbackWarning:"--surface-feedback-warning",SurfaceFeedbackPositive:"--surface-feedback-positive",SurfaceInvertDefault:"--surface-invert-default",SurfaceInvertSubtle:"--surface-invert-subtle",SurfaceInvertDisabled:"--surface-invert-disabled",SurfaceOverlay:"--surface-overlay",ContentDefault:"--content-default",ContentSubtle:"--content-subtle",ContentDisabled:"--content-disabled",ContentWhiteLocked:"--content-white-locked",ContentInvertDefault:"--content-invert-default",ContentInvertSubtle:"--content-invert-subtle",ContentInvertDisabled:"--content-invert-disabled",BorderDefault:"--border-default",BorderSubtle:"--border-subtle",BorderHover:"--border-hover",BorderDisabled:"--border-disabled",BorderInvertDefault:"--border-invert-default",BorderInvertSubtle:"--border-invert-subtle",BorderInvertHover:"--border-invert-hover",BorderInvertDisabled:"--border-invert-disabled",ColorActionActive:"--color-action-active",ColorActionHover:"--color-action-hover",ColorActionDefault:"--color-action-default",ColorActionDisabled:"--color-action-disabled",ColorNegativeActive:"--color-negative-active",ColorNegativeHover:"--color-negative-hover",ColorNegativeDefault:"--color-negative-default",ColorNegativeDisabled:"--color-negative-disabled",ColorWarningDefault:"--color-warning-default",ColorWarningHover:"--color-warning-hover",ColorPositiveDefault:"--color-positive-default",ColorPositiveHover:"--color-positive-hover",ColorPositiveDisabled:"--color-positive-disabled",ColorBot:"--color-bot",ColorBlack:"--color-black",ColorWhite:"--color-white",DecorBlue900:"--decor-blue900",DecorBlue800:"--decor-blue800",DecorBlue700:"--decor-blue700",DecorBlue600:"--decor-blue600",DecorBlue500:"--decor-blue500",DecorBlue400:"--decor-blue400",DecorBlue300:"--decor-blue300",DecorBlue200:"--decor-blue200",DecorBlue100:"--decor-blue100",DecorBlue50:"--decor-blue50",DecorOrange900:"--decor-orange900",DecorOrange800:"--decor-orange800",DecorOrange700:"--decor-orange700",DecorOrange600:"--decor-orange600",DecorOrange500:"--decor-orange500",DecorOrange400:"--decor-orange400",DecorOrange300:"--decor-orange300",DecorOrange200:"--decor-orange200",DecorOrange100:"--decor-orange100",DecorOrange50:"--decor-orange50",DecorYellow900:"--decor-yellow900",DecorYellow800:"--decor-yellow800",DecorYellow700:"--decor-yellow700",DecorYellow600:"--decor-yellow600",DecorYellow500:"--decor-yellow500",DecorYellow400:"--decor-yellow400",DecorYellow300:"--decor-yellow300",DecorYellow200:"--decor-yellow200",DecorYellow100:"--decor-yellow100",DecorYellow50:"--decor-yellow50",DecorGray950:"--decor-gray950",DecorGray900:"--decor-gray900",DecorGray800:"--decor-gray800",DecorGray700:"--decor-gray700",DecorGray600:"--decor-gray600",DecorGray500:"--decor-gray500",DecorGray400:"--decor-gray400",DecorGray300:"--decor-gray300",DecorGray200:"--decor-gray200",DecorGray150:"--decor-gray150",DecorGray100:"--decor-gray100",DecorGray75:"--decor-gray75",DecorGray50:"--decor-gray50",DecorGray40:"--decor-gray40",DecorGray20:"--decor-gray20",DecorGreen900:"--decor-green900",DecorGreen800:"--decor-green800",DecorGreen700:"--decor-green700",DecorGreen600:"--decor-green600",DecorGreen500:"--decor-green500",DecorGreen400:"--decor-green400",DecorGreen300:"--decor-green300",DecorGreen200:"--decor-green200",DecorGreen100:"--decor-green100",DecorGreen50:"--decor-green50",DecorRed900:"--decor-red900",DecorRed800:"--decor-red800",DecorRed700:"--decor-red700",DecorRed600:"--decor-red600",DecorRed500:"--decor-red500",DecorRed400:"--decor-red400",DecorRed300:"--decor-red300",DecorRed200:"--decor-red200",DecorRed100:"--decor-red100",DecorRed50:"--decor-red50",DecorPurple900:"--decor-purple900",DecorPurple800:"--decor-purple800",DecorPurple700:"--decor-purple700",DecorPurple600:"--decor-purple600",DecorPurple500:"--decor-purple500",DecorPurple400:"--decor-purple400",DecorPurple300:"--decor-purple300",DecorPurple200:"--decor-purple200",DecorPurple100:"--decor-purple100",DecorPurple50:"--decor-purple50"};var ce={"heading-xl":"lc-Typography-module__heading-xl___nhr-6","heading-lg":"lc-Typography-module__heading-lg___XYF7l","heading-md":"lc-Typography-module__heading-md___wHOIs","heading-sm":"lc-Typography-module__heading-sm___nBmTV","heading-xs":"lc-Typography-module__heading-xs___VcZBs",caps:"lc-Typography-module__caps___c3eNJ","caps--bold":"lc-Typography-module__caps--bold___OZovw","paragraph-md":"lc-Typography-module__paragraph-md___UGoqq","paragraph-md--bold":"lc-Typography-module__paragraph-md--bold___mWcMG","paragraph-md--underline":"lc-Typography-module__paragraph-md--underline___Fv6zM","paragraph-md--strike":"lc-Typography-module__paragraph-md--strike___yLGHh","paragraph-sm":"lc-Typography-module__paragraph-sm___QIEFL","paragraph-sm--bold":"lc-Typography-module__paragraph-sm--bold___fAjI5","paragraph-xs":"lc-Typography-module__paragraph-xs___OUooD","paragraph-xs--bold":"lc-Typography-module__paragraph-xs--bold___z7om7"},Ae=(e=>(e.xl="h1",e.lg="h2",e.md="h3",e.sm="h4",e.xs="h5",e))(Ae||{});const ne=c=>{var n=c,{as:e,size:a="md",children:r,className:o}=n,l=w(n,["as","size","children","className"]);return t.createElement(e||Ae[a],g({className:u.default(ce[`heading-${a}`],o)},l),r)},S=i=>{var m=i,{as:e="p",size:a="md",caps:r=!1,bold:o=!1,underline:l=!1,strike:c=!1,children:n,className:d}=m,s=w(m,["as","size","caps","bold","underline","strike","children","className"]);const p=r?"caps":`paragraph-${a}`;return t.createElement(e,g({className:u.default({[ce[`${p}`]]:!0,[ce[`${p}--bold`]]:o,[ce[`${p}--strike`]]:c,[ce[`${p}--underline`]]:l},d)},s),n)};var ze={icon:"lc-Icon-module__icon___tw31R","icon--primary":"lc-Icon-module__icon--primary___JJnBV","icon--subtle":"lc-Icon-module__icon--subtle___sZIzL","icon--inverted":"lc-Icon-module__icon--inverted___zA9QC","icon--inverted-subtle":"lc-Icon-module__icon--inverted-subtle___6UwBT","icon--link":"lc-Icon-module__icon--link___Jwkw9","icon--success":"lc-Icon-module__icon--success___MKdz3","icon--warning":"lc-Icon-module__icon--warning___5YCSW","icon--error":"lc-Icon-module__icon--error___CiJCD","icon--disabled--primary":"lc-Icon-module__icon--disabled--primary___E0nee","icon--disabled--subtle":"lc-Icon-module__icon--disabled--subtle___l-hK4","icon--disabled--inverted":"lc-Icon-module__icon--disabled--inverted___5SBAf","icon--disabled--inverted-subtle":"lc-Icon-module__icon--disabled--inverted-subtle___w-NBk","icon--disabled--link":"lc-Icon-module__icon--disabled--link___sVJOa","icon--disabled--success":"lc-Icon-module__icon--disabled--success___sG-7d","icon--disabled--warning":"lc-Icon-module__icon--disabled--warning___8ko1e","icon--disabled--error":"lc-Icon-module__icon--disabled--error___9KbVo"},V=(e=>(e.XSmall="xsmall",e.Small="small",e.Medium="medium",e.Large="large",e.XLarge="xlarge",e))(V||{});const vt={xsmall:{width:12,height:12},small:{width:16,height:16},medium:{width:20,height:20},large:{width:24,height:24},xlarge:{width:32,height:32}};var D=(e=>(e.Primary="primary",e.Subtle="subtle",e.Inverted="inverted",e.InvertedSubtle="inverted_subtle",e.Link="link",e.Success="success",e.Warning="warning",e.Error="error",e))(D||{});const yt={primary:"primary",subtle:"subtle",inverted:"inverted",inverted_subtle:"inverted-subtle",link:"link",success:"success",warning:"warning",error:"error"},$t={primary:"disabled--primary",subtle:"disabled--subtle",inverted:"disabled--inverted",inverted_subtle:"disabled--inverted-subtle",link:"disabled--link",success:"disabled--success",warning:"disabled--warning",error:"disabled--error"},qe="icon",G=e=>{const p=e,{source:a,size:r="medium",iconType:o,disabled:l,className:c,customColor:n}=p,d=w(p,["source","size","iconType","disabled","className","customColor"]);let s;o&&(s=yt[o],l&&(s=$t[o]));const i=t.createElement(a,B(g({},vt[r]),{color:n})),m=u.default(c,ze[qe],s&&ze[`${qe}--${s}`]);return t.createElement("span",B(g({},d),{className:m}),i)};var re={alert:"lc-Alert-module__alert___HBTns","alert__content-text":"lc-Alert-module__alert__content-text___x2Un5",alert__content:"lc-Alert-module__alert__content___9nZdf","alert--small":"lc-Alert-module__alert--small___Fyk-v","alert--medium":"lc-Alert-module__alert--medium___ItZWT","alert--large":"lc-Alert-module__alert--large___IH9yM","alert__close-icon":"lc-Alert-module__alert__close-icon___rYxVy","alert--info":"lc-Alert-module__alert--info___GmIGN","alert--warning":"lc-Alert-module__alert--warning___MubhD","alert--success":"lc-Alert-module__alert--success___fPtlZ","alert--error":"lc-Alert-module__alert--error___DKPo0",alert__icon:"lc-Alert-module__alert__icon___8TaAH"};const wt={info:{source:v.Info,iconType:D.Link},warning:{source:v.Warning,iconType:D.Warning},success:{source:v.CheckCircleSolid,iconType:D.Success},error:{source:v.Block,iconType:D.Error}},oe="alert",Et=({children:e,className:a,size:r="small",type:o="info",onClose:l})=>{const c=u.default(re[oe],re[`${oe}--${o}`],re[`${oe}--${r}`],a);return t.createElement("div",{className:c},t.createElement("div",{className:re[`${oe}__content`]},t.createElement(G,g({},wt[o])),t.createElement(S,{as:"div",className:re[`${oe}__content-text`]},e)),l&&t.createElement("button",{type:"button",className:re[`${oe}__close-icon`],onClick:l},t.createElement(G,{source:v.Close,size:V.Large,iconType:D.Primary})))};var We={badge:"lc-Badge-module__badge___GhLnu","badge--secondary":"lc-Badge-module__badge--secondary___JjNIJ"};const Ct=({children:e,className:a,secondary:r=!1})=>t.createElement("span",{className:u.default(We.badge,a,{[We["badge--secondary"]]:r})},e);var se={loader:"lc-Loader-module__loader___LRflD",loader__spinner:"lc-Loader-module__loader__spinner___l3C1g","loader__spinner--small":"lc-Loader-module__loader__spinner--small___dGFFt","loader__spinner--medium":"lc-Loader-module__loader__spinner--medium___J-ki0","loader__spinner--large":"lc-Loader-module__loader__spinner--large___Poqq7","loader__spinner-circle":"lc-Loader-module__loader__spinner-circle___ApBUO",rotate:"lc-Loader-module__rotate___Tlni-",loader__label:"lc-Loader-module__loader__label___R74f6"};const He="loader",Ye=`${He}__spinner`,Ve=({primaryColor:e,secondaryColor:a,label:r,className:o,size:l="medium"})=>t.createElement("div",{className:u.default(se[He],o)},t.createElement("div",{className:u.default(se[Ye],se[`${Ye}--${l}`])},t.createElement("div",{className:se["loader__spinner-circle"],style:{borderColor:a,borderTopColor:e}})),r&&t.createElement(S,{as:"div",size:"md",className:se.loader__label},r));var R={btn:"lc-Button-module__btn___aijZJ","btn--disabled":"lc-Button-module__btn--disabled___lXBav","btn--icon-only":"lc-Button-module__btn--icon-only___bF5pW","btn__icon--left":"lc-Button-module__btn__icon--left___H68zu","btn__icon--right":"lc-Button-module__btn__icon--right___fHr3D","btn--full-width":"lc-Button-module__btn--full-width___kdbAr","btn--basic":"lc-Button-module__btn--basic___Jc2gD","btn--primary":"lc-Button-module__btn--primary___ajbjQ","btn--secondary":"lc-Button-module__btn--secondary___iWzE0","btn--destructive":"lc-Button-module__btn--destructive___-kLCl","btn--compact":"lc-Button-module__btn--compact___4eptQ","btn--large":"lc-Button-module__btn--large___lb-z6","btn--text":"lc-Button-module__btn--text___WA8OL","btn--plain":"lc-Button-module__btn--plain___eOPui","btn--plain-light":"lc-Button-module__btn--plain-light___eS9em","btn--loading":"lc-Button-module__btn--loading___ZAgjv",btn__loader:"lc-Button-module__btn__loader___c8zZz",btn__content:"lc-Button-module__btn__content___wefl2",btn__icon:"lc-Button-module__btn__icon___GVExB"};const O="btn",Ce=E=>{var b=E,{loading:e=!1,disabled:a=!1,type:r="button",fullWidth:o=!1,kind:l="basic",size:c="medium",icon:n=null,iconPosition:d="left",loaderLabel:s,className:i,children:m,href:p}=b,h=w(b,["loading","disabled","type","fullWidth","kind","size","icon","iconPosition","loaderLabel","className","children","href"]);const y=e||a,k=p?"a":"button",f=u.default(i,R[O],R[`${O}--${l}`],R[`${O}--${c}`],{[R[`${O}--loading`]]:e,[R[`${O}--full-width`]]:o,[R[`${O}--icon-only`]]:!m&&n,[R[`${O}--disabled`]]:y});return t.createElement(k,g({className:f,disabled:y,type:r,href:y?void 0:p},h),e&&t.createElement(Ve,{size:"small",label:s,className:R[`${O}__loader`]}),n&&t.cloneElement(n,{className:u.default(R[`${O}__icon`],R[`${O}__icon--${d}`]),disabled:a}),t.createElement("div",{className:R[`${O}__content`]},m))};var fe={"btn-group":"lc-ButtonGroup-module__btn-group___R-lZQ",btn:"lc-ButtonGroup-module__btn___bXPrU","btn--active":"lc-ButtonGroup-module__btn--active___VAc37","btn--compact":"lc-ButtonGroup-module__btn--compact___t1whe","btn--medium":"lc-ButtonGroup-module__btn--medium___XFRBP","btn--large":"lc-ButtonGroup-module__btn--large___OtNUz"};function ke(){}const kt="btn-group",Nt=s=>{var i=s,{size:e="medium",fullWidth:a=!1,onIndexChange:r=ke,className:o,children:l,currentIndex:c,initialIndex:n=-1}=i,d=w(i,["size","fullWidth","onIndexChange","className","children","currentIndex","initialIndex"]);const m=u.default(fe[kt],o),[p,h]=t.useState(n),E=typeof c=="number",b=E?c:p,y=(k,f)=>{E||h(k),r(k,f)};return t.createElement("div",g({role:"group",className:m},d),t.Children.map(l,(k,f)=>t.cloneElement(k,{fullWidth:a,size:e,kind:"secondary",type:"button",onClick:N=>{y(f,N),k.props.onClick&&k.props.onClick(N)},className:u.default(fe.btn,fe[`btn--${e}`],f===b&&fe["btn--active"])})))};var he={card:"lc-Card-module__card___GqMm2",card__title:"lc-Card-module__card__title___1YjAR",card__text:"lc-Card-module__card__text___-jYlF",card__img:"lc-Card-module__card__img___teLC8"};const xt=c=>{var n=c,{img:e,title:a,children:r,className:o}=n,l=w(n,["img","title","children","className"]);return t.createElement(S,g({as:"div",size:"md",className:u.default(he.card,o)},l),(e||a)&&t.createElement(ne,{as:"div",size:"sm",className:he.card__title},e&&t.createElement("img",{src:e,className:he.card__img}),a&&t.createElement("div",{className:he.card__text},a)),r)};var j={checkbox:"lc-Checkbox-module__checkbox___G7nTf",checkbox__label:"lc-Checkbox-module__checkbox__label___-o01x",checkbox__square:"lc-Checkbox-module__checkbox__square___MHUyd",checkbox__checkmark:"lc-Checkbox-module__checkbox__checkmark___16pfY","checkbox--selected":"lc-Checkbox-module__checkbox--selected___S2vqY",checkbox__input:"lc-Checkbox-module__checkbox__input___YLbVF",checkbox__text:"lc-Checkbox-module__checkbox__text___P2SIq","checkbox--disabled":"lc-Checkbox-module__checkbox--disabled___-lAqW",checkbox__helper:"lc-Checkbox-module__checkbox__helper___YSJ-n"};const Ne="checkbox",je=r=>{var o=r,{className:e=""}=o,a=w(o,["className"]);const l=u.default(j[`${Ne}__square`],e);return t.createElement("div",null,t.createElement("input",B(g({},a),{className:j[`${Ne}__input`],type:"checkbox"})),t.createElement("div",{className:l},t.createElement(G,{source:v.Check,iconType:D.Inverted,size:V.XSmall,className:j[`${Ne}__checkmark`]})))};var Dt={"field-description":"lc-FieldDescription-module__field-description___IcRDH"};const Tt="field-description",de=o=>{var l=o,{children:e,className:a=""}=l,r=w(l,["children","className"]);const c=u.default(Dt[Tt],a);return t.createElement(S,B(g({as:"span",size:"sm"},r),{className:c}),e)},ae="checkbox",Bt=n=>{var d=n,{children:e,className:a="",description:r,checked:o,disabled:l}=d,c=w(d,["children","className","description","checked","disabled"]);const s=u.default(j[ae],a,{[j[`${ae}--selected`]]:o,[j[`${ae}--disabled`]]:l});return t.createElement("div",{className:s},t.createElement("label",{className:j[`${ae}__label`]},t.createElement(je,B(g({},c),{checked:o,disabled:l})),t.createElement(S,{as:"div",size:"md",className:j[`${ae}__text`]},e)),r&&t.createElement(de,{className:j[`${ae}__helper`]},r))};var St={"field-error":"lc-FieldError-module__field-error___IDkPT"};const It="field-error",ve=o=>{var l=o,{children:e,className:a=""}=l,r=w(l,["children","className"]);const c=u.default(St[It],a);return t.createElement(S,B(g({as:"span",size:"sm"},r),{className:c}),e)};var xe={"field-group":"lc-FieldGroup-module__field-group___gy8lp","field-group--inline":"lc-FieldGroup-module__field-group--inline___or4qf","field-group--stretched":"lc-FieldGroup-module__field-group--stretched___6rkuO"};const De="field-group",Ft=d=>{var s=d,{className:e="",children:a,description:r,error:o,inline:l,stretch:c}=s,n=w(s,["className","children","description","error","inline","stretch"]);const i=u.default(xe[De],e,{[xe[`${De}--inline`]]:l,[xe[`${De}--stretched`]]:c});return t.createElement("div",B(g({},n),{className:i}),a,o&&t.createElement(ve,null,o),r&&t.createElement(de,null,r))};var ie={form:"lc-Form-module__form___1nOYF",form__header:"lc-Form-module__form__header___U4B7t",form__footer:"lc-Form-module__form__footer___1-sUX",form__label:"lc-Form-module__form__label___spg-J",form__helper:"lc-Form-module__form__helper___bhfwS"};const ue="form",Pt=n=>{var d=n,{className:e,children:a,labelText:r,helperText:o,formFooter:l}=d,c=w(d,["className","children","labelText","helperText","formFooter"]);return t.createElement("form",g({className:u.default(ie[ue],e)},c),(r||o)&&t.createElement("div",{className:ie[`${ue}__header`]},r&&t.createElement(ne,{size:"sm",className:ie[`${ue}__label`]},r),o&&t.createElement(S,{as:"p",size:"sm",className:ie[`${ue}__helper`]},o)),a,l&&t.createElement("div",{className:ie[`${ue}__footer`]},l))};var ye={"form-group":"lc-FormGroup-module__form-group___e2JHa","form-group__header":"lc-FormGroup-module__form-group__header___DgGmR","form-group__label":"lc-FormGroup-module__form-group__label___NC-JW","form-group__helper":"lc-FormGroup-module__form-group__helper___SRuxe"};const $e="form-group",Gt=c=>{var n=c,{className:e="",children:a,labelText:r,helperText:o}=n,l=w(n,["className","children","labelText","helperText"]);const d=u.default(ye[$e],e);return t.createElement("div",B(g(B(g({},l),{role:"group"}),r&&{"aria-label":r}),{className:d}),t.createElement("div",{className:ye[`${$e}__header`]},t.createElement(ne,{as:"div",size:"sm",className:ye[`${$e}__label`]},r),o&&t.createElement(S,{as:"div",size:"sm",className:ye[`${$e}__helper`]},o)),a)};var I={"text-field":"lc-TextField-module__text-field___bis8c","text-field--inline":"lc-TextField-module__text-field--inline___MPHqg","text-field__wrapper--inline":"lc-TextField-module__text-field__wrapper--inline___-gOob","text-field__label":"lc-TextField-module__text-field__label___vpNdg","text-field__label--inline":"lc-TextField-module__text-field__label--inline___YSRYX","text-field__label--no-text":"lc-TextField-module__text-field__label--no-text___XSyn2","text-field__label-wrapper":"lc-TextField-module__text-field__label-wrapper___SNCct","text-field__label-adornment":"lc-TextField-module__text-field__label-adornment___--pgp","text-field__label-right-node":"lc-TextField-module__text-field__label-right-node___sdnWg","text-field__label-right-node--inline":"lc-TextField-module__text-field__label-right-node--inline___vMBP2","text-field__row-break":"lc-TextField-module__text-field__row-break___AnNrI","text-field__content":"lc-TextField-module__text-field__content___dCkUW","field-label":"lc-TextField-module__field-label___q8Y-p"};const F="text-field",Te=({inline:e,error:a,description:r,labelText:o,labelAdornment:l,className:c,labelFor:n,children:d,labelRightNode:s})=>{const i=u.default(I[F],{[I[`${F}--inline`]]:e},c);return t.createElement("div",{className:i},s&&e&&t.createElement(t.Fragment,null,t.createElement("div",{className:u.default(I[`${F}__label-right-node`],I[`${F}__label-right-node--inline`])},s),t.createElement("div",{className:I[`${F}__row-break`]})),t.createElement("div",{className:u.default(I[`${F}__wrapper`],e&&I[`${F}__wrapper--inline`])},(o||s)&&t.createElement("div",{className:u.default(I[`${F}__label`],e&&I[`${F}__label--inline`],!o&&I[`${F}__label--no-text`])},o&&t.createElement("div",{className:u.default(I[`${F}__label-wrapper`])},t.createElement("label",{className:"lc-field-label",htmlFor:n},t.createElement(S,{as:"span",size:"sm"},o)),l&&t.createElement("div",{className:u.default(I[`${F}__label-adornment`])},l)),s&&!e&&t.createElement("div",{className:u.default(I[`${F}__label-right-node`])},s)),t.createElement("div",{className:u.default(I[`${F}__content`])},d,a&&t.createElement(ve,null,a),r&&t.createElement(de,null,r))))};var Ue={"input-field":"lc-InputField-module__input-field___A-GHj","input-field--error":"lc-InputField-module__input-field--error___MMchC"};const Je="input-field",Mt=t.forwardRef((E,h)=>{var b=E,{id:e,labelText:a,labelAdornment:r,className:o,inline:l,error:c,description:n,labelRightNode:d,fieldClassName:s,style:i,type:m="text"}=b,p=w(b,["id","labelText","labelAdornment","className","inline","error","description","labelRightNode","fieldClassName","style","type"]);const y=u.default(Ue[Je],{[Ue[`${Je}--error`]]:c},s);return t.createElement(Te,{inline:l,error:c,description:n,labelText:a,labelAdornment:r,className:o,labelFor:e,labelRightNode:d},t.createElement("input",B(g({},p),{id:e,ref:h,className:y,style:i,type:m})))});var Ke={link:"lc-Link-module__link___kqx52","link--bold":"lc-Link-module__link--bold___1rGdO"};const Xe="link",Rt=o=>{var l=o,{bold:e=!1,className:a=""}=l,r=w(l,["bold","className"]);return t.createElement("a",g({className:u.default(Ke[Xe],e&&Ke[`${Xe}--bold`],a)},r))};var P={"modal-base":"lc-Modal-module__modal-base___hbL1U","modal-base__overlay":"lc-Modal-module__modal-base__overlay___kCQ8t","modal-base__overlay--visible":"lc-Modal-module__modal-base__overlay--visible___zUNJL","modal-base__close":"lc-Modal-module__modal-base__close___gJlgr",modal__header:"lc-Modal-module__modal__header___Fp5VE",modal__heading:"lc-Modal-module__modal__heading___G9KVK",modal__body:"lc-Modal-module__modal__body___M-jmN",modal__footer:"lc-Modal-module__modal__footer___2LYdc","action-modal":"lc-Modal-module__action-modal___CsRC7","action-modal__heading":"lc-Modal-module__action-modal__heading___m3MuG","action-modal__content":"lc-Modal-module__action-modal__content___gf-R2","action-modal__actions":"lc-Modal-module__action-modal__actions___kpRXD","action-modal__icon":"lc-Modal-module__action-modal__icon___MK5xt"};const Ze=({onClick:e})=>t.createElement("button",{title:"Close modal",className:P["modal-base__close"],onClick:e,type:"button"},t.createElement(G,{source:v.Close,size:V.Large})),M={esc:"Escape",enter:"Enter",backspace:"Backspace",delete:"Delete",spacebar:" ",tab:"Tab",semicolon:";",comma:",",arrowUp:"ArrowUp",arrowDown:"ArrowDown"},Be="modal-base",Se=c=>{var n=c,{children:e,className:a="",onClose:r,closeOnEscPress:o=!0}=n,l=w(n,["children","className","onClose","closeOnEscPress"]);const d=u.default(P[Be],a);t.useEffect(()=>{if(!o)return;const m=p=>{p.key===M.esc&&r()};return document.addEventListener("keyup",m,!0),()=>document.removeEventListener("keyup",m,!0)},[o]);const s=m=>{m.target===m.currentTarget&&r()},i=m=>{m.preventDefault(),m.stopPropagation(),r()};return t.createElement("div",{"data-testid":"lc-modal-overlay",onMouseDown:s,className:u.default(P[`${Be}__overlay`],P[`${Be}__overlay--visible`])},t.createElement("div",g({className:d},l),t.createElement(Ze,{onClick:i}),e))},me="action-modal",Ot=n=>{var d=n,{children:e,className:a="",icon:r,heading:o,actions:l}=d,c=w(d,["children","className","icon","heading","actions"]);const s=u.default(P[me],a);return t.createElement(Se,g({className:s},c),r&&t.createElement("div",{className:P[`${me}__icon`]},r),o&&t.createElement("div",{className:P[`${me}__heading`]},o),t.createElement("div",{className:P[`${me}__content`]},e),l&&t.createElement("div",{className:P[`${me}__actions`]},l))},pe="modal",Lt=c=>{var n=c,{children:e,className:a="",heading:r,footer:o}=n,l=w(n,["children","className","heading","footer"]);const d=u.default(P[pe],a);return t.createElement(Se,g({className:d},l),r&&t.createElement("div",{className:P[`${pe}__header`]},t.createElement(ne,{size:"sm",as:"div",className:P[`${pe}__heading`]},r)),t.createElement("div",{className:P[`${pe}__body`]},e),o&&t.createElement("div",{className:P[`${pe}__footer`]},o))},At=({children:e,className:a="",parentElementName:r="body",zIndex:o})=>{const[l]=t.useState(()=>document.createElement("div"));return a&&l.classList.add(a),o&&(l.style.zIndex=o.toString()),t.useEffect(()=>{var c;return(c=document.querySelector(r))==null||c.appendChild(l),()=>{var n;(n=document.querySelector(r))==null||n.removeChild(l)}},[]),t.createElement(t.Fragment,null,ft.createPortal(e,l))};var le={"numeric-input":"lc-NumericInput-module__numeric-input___j1esc","numeric-input__increment":"lc-NumericInput-module__numeric-input__increment___i3Tys","numeric-input__decrement":"lc-NumericInput-module__numeric-input__decrement___3qgn0","numeric-input--disabled":"lc-NumericInput-module__numeric-input--disabled___yaRvQ","numeric-input--no-controls":"lc-NumericInput-module__numeric-input--no-controls___D90rG","numeric-input--error":"lc-NumericInput-module__numeric-input--error___TMxRx"};const _e="numeric-input",Qe=m=>{var p=m,{className:e,error:a,value:r,max:o,min:l,disabled:c,noControls:n,style:d,onChange:s}=p,i=w(p,["className","error","value","max","min","disabled","noControls","style","onChange"]);const h=t.useRef(null),E=u.default(le[_e],{[le[`${_e}--error`]]:a,[le[`${_e}--no-controls`]]:n,[le[`${_e}--disabled`]]:c},e),b=$=>s(String($)),y=$=>o!==void 0&&$>o?o:l!==void 0&&$<l?l:$,k=$=>{const L=parseInt(r,10)+$;return b(y(L))},f=$=>{$.key===M.arrowDown&&($.preventDefault(),k(-1)),$.key===M.arrowUp&&($.preventDefault(),k(1))},N=($,L)=>L!==void 0&&parseInt($,10)===L,Y=$=>{$.preventDefault(),$.stopPropagation();const L=$.currentTarget.value.replace(/((?!([-]|([-]?\d+))).)/,"");if(L===""||L==="-")return b(L);const br=parseInt(L,10);return b(y(br))},dt=()=>{var $;return($=h.current)==null||$.focus(),k(1)},Pe=()=>{var $;return($=h.current)==null||$.focus(),k(-1)};return t.createElement("div",{className:E,style:d},t.createElement("input",B(g({type:"text",ref:h},i),{value:r,disabled:c,onChange:Y,onKeyDown:f,min:l,max:o})),!n&&t.createElement(t.Fragment,null,t.createElement("button",{tabIndex:-1,disabled:c||N(r,o),onClick:dt,"aria-label":"Increment value",className:le[`${_e}__increment`],type:"button"},t.createElement(G,{source:v.ChevronUp,disabled:c||N(r,o),iconType:D.Primary})),t.createElement("button",{tabIndex:-1,disabled:c||N(r,l),"aria-label":"Decrement value",className:le[`${_e}__decrement`],onClick:Pe,type:"button"},t.createElement(G,{source:v.ChevronDown,iconType:D.Primary,disabled:c||N(r,l)}))))},zt=p=>{var h=p,{id:e,labelText:a,labelAdornment:r,className:o,inline:l,error:c,description:n,labelRightNode:d,fieldClassName:s,style:i}=h,m=w(h,["id","labelText","labelAdornment","className","inline","error","description","labelRightNode","fieldClassName","style"]);return t.createElement(Te,{inline:l,error:c,description:n,labelText:a,labelAdornment:r,className:o,labelFor:e,labelRightNode:d},t.createElement(Qe,B(g({},m),{id:e,className:s,style:i,error:c})))};var et={popover:"lc-Popover-module__popover___8X1b2","popover--visible":"lc-Popover-module__popover--visible___u5NXB"};const qt=e=>{const{offset:a,flip:r,preventOverflow:o}=e,l=[{name:"offset",options:g({offset:[0,4]},(a==null?void 0:a.options)||{})}],c=[{name:"flip",options:g({},(r==null?void 0:r.options)||{})}],n=[{name:"preventOverlow",options:g({rootBoundary:"viewport"},o||{})}];return[...l,...c,...n]},Wt=e=>{const{triggerRenderer:a,children:r,className:o,placement:l,isVisible:c=!1}=e,n=t.useRef(null),d=t.useRef(null),[s,i]=t.useState(!1);t.useEffect(()=>{i(c)},[c]);function m(y){var k,f;(k=d.current)!=null&&k.contains(y.target)||((f=n.current)!=null&&f.contains(y.target)?i(N=>!N):i(!1))}const p=y=>{y.key==="Escape"&&i(!1)};t.useEffect(()=>(document.addEventListener("keydown",p),document.addEventListener("mousedown",m),()=>{document.removeEventListener("keydown",p),document.removeEventListener("mousedown",m)}),[]);const{styles:h,attributes:E}=bt.usePopper(n.current,d.current,{modifiers:e.modifiers?qt(e.modifiers):[],placement:l}),b=u.default(et.popover,o,{[et["popover--visible"]]:s});return t.createElement(t.Fragment,null,t.createElement("div",{ref:n},a()),t.createElement("div",g({ref:d,className:b,style:h.popper},E.popper),r))};var X=(e=>(e.Normal="normal",e.Error="error",e.Success="success",e))(X||{}),Z=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(Z||{});const Ht=["normal","error","success"],Yt=e=>Math.min(Math.max(e,0),100);function Vt(e,a=0){return e===X.Error?0:Yt(parseInt(a.toString(),10))}function jt(e,a){return!Ht.includes(e)&&a>=100?X.Normal:e||X.Normal}var Q={"progress-circle":"lc-ProgressCircle-module__progress-circle___NRHCi","progress-circle--small":"lc-ProgressCircle-module__progress-circle--small___8FVwG","progress-circle--medium":"lc-ProgressCircle-module__progress-circle--medium___XlzEX","progress-circle--large":"lc-ProgressCircle-module__progress-circle--large___qxa2y","progress-circle__bg-line--normal":"lc-ProgressCircle-module__progress-circle__bg-line--normal___nDNwj","progress-circle__bg-line--success":"lc-ProgressCircle-module__progress-circle__bg-line--success___1aP-O","progress-circle__bg-line--error":"lc-ProgressCircle-module__progress-circle__bg-line--error___oqMZL","progress-circle__indicator--normal":"lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX","progress-circle__indicator--success":"lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR","progress-circle__indicator--error":"lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9","progress-circle--error":"lc-ProgressCircle-module__progress-circle--error___2AA9K","progress-circle__bg-line":"lc-ProgressCircle-module__progress-circle__bg-line___12YrE","progress-circle--success":"lc-ProgressCircle-module__progress-circle--success___hH5jv","progress-circle--normal":"lc-ProgressCircle-module__progress-circle--normal___dFneQ"};const Ut={[Z.Small]:2,[Z.Medium]:3,[Z.Large]:4},Jt={[Z.Small]:15,[Z.Medium]:36,[Z.Large]:56},ee="progress-circle",Kt=t.forwardRef((n,c)=>{var d=n,{status:e=X.Normal,percent:a,className:r,size:o=Z.Medium}=d,l=w(d,["status","percent","className","size"]);const s=jt(e,a),i=Vt(s,a),m=Ut[o],p=Jt[o],h=u.default(Q[ee],{[Q[`${ee}--${o}`]]:o,[Q[`${ee}--error`]]:s===X.Error,[Q[`${ee}--success`]]:s===X.Success,[Q[`${ee}--normal`]]:s===X.Normal},r),E=2*Math.PI*((p-m)/2),b={strokeDasharray:E.toFixed(3),strokeDashoffset:`${((100-i)/100*E).toFixed(3)}px`},y=`${p/2} ${p/2} ${p} ${p}`;return t.createElement("div",g({className:h,ref:c,role:"progressbar"},l),t.createElement("svg",{viewBox:y},t.createElement("circle",{className:Q[`${ee}__bg-line--${e}`],cx:p,cy:p,r:(p-m)/2,fill:"none",strokeWidth:m}),t.createElement("circle",{className:Q[`${ee}__indicator--${e}`],style:b,cx:p,cy:p,r:(p-m)/2,fill:"none",strokeWidth:m})))});var A={"promo-banner":"lc-PromoBanner-module__promo-banner___-mGpq","promo-banner__content":"lc-PromoBanner-module__promo-banner__content___kRWar","promo-banner__wrapper":"lc-PromoBanner-module__promo-banner__wrapper___I-8cl","promo-banner__header":"lc-PromoBanner-module__promo-banner__header___ebYHW","promo-banner__img":"lc-PromoBanner-module__promo-banner__img___eaShb","promo-banner__button-text":"lc-PromoBanner-module__promo-banner__button-text___taYKa","promo-banner--light":"lc-PromoBanner-module__promo-banner--light___eJxOR","promo-banner--small":"lc-PromoBanner-module__promo-banner--small___7sWLV","promo-banner__footer":"lc-PromoBanner-module__promo-banner__footer___8OjvH","promo-banner--medium":"lc-PromoBanner-module__promo-banner--medium___NeeoJ","promo-banner--large":"lc-PromoBanner-module__promo-banner--large___pMiCU","promo-banner__close-icon":"lc-PromoBanner-module__promo-banner__close-icon___GowBL"};const z="promo-banner",Xt=({className:e,buttonText:a,children:r,header:o,img:l,light:c=!1,linkText:n,size:d="small",onButtonClick:s,onClose:i,onLinkClick:m})=>{const p=u.default(A[z],{[A[`${z}--light`]]:c,[A[`${z}--${d}`]]:d},e),h=(a||n)&&d==="large",E=(a||n)&&d!=="large",b=t.createElement("div",{className:A[`${z}__footer`]},a&&t.createElement(Ce,{kind:"primary",size:"compact",onClick:s,className:A[`${z}__button-text`]},a),n&&t.createElement(Ce,{size:"compact",kind:"text",onClick:m},n));return t.createElement("div",{className:p},t.createElement("div",{className:A[`${z}__content`]},l&&t.createElement("img",{src:l,className:A[`${z}__img`]}),t.createElement("div",{className:A[`${z}__wrapper`]},t.createElement("div",{className:A[`${z}__header`]},o),t.createElement("div",null,r),E&&b),h&&b),i&&t.createElement("button",{type:"button",className:A[`${z}__close-icon`],onClick:i},t.createElement(G,{source:v.Close,size:V.Large})))};var U={"radio-button":"lc-RadioButton-module__radio-button___WaToM","radio-button__label":"lc-RadioButton-module__radio-button__label___i7ygg","radio-button__circle":"lc-RadioButton-module__radio-button__circle___wimWA","radio-button__inner-circle":"lc-RadioButton-module__radio-button__inner-circle___qkRVf","radio-button__text":"lc-RadioButton-module__radio-button__text___mT8c0","radio-button__input":"lc-RadioButton-module__radio-button__input___7OTAK","radio-button__helper":"lc-RadioButton-module__radio-button__helper___r8gJJ","radio-button--selected":"lc-RadioButton-module__radio-button--selected___s9lqj","radio-button--disabled":"lc-RadioButton-module__radio-button--disabled___wHSA7"};const J="radio-button",Zt=n=>{var d=n,{children:e,className:a="",description:r,checked:o,disabled:l}=d,c=w(d,["children","className","description","checked","disabled"]);const s=u.default(U[J],a,{[U[`${J}--selected`]]:o,[U[`${J}--disabled`]]:l});return t.createElement("div",{className:s},t.createElement("label",{className:U[`${J}__label`]},t.createElement("div",{className:U[`${J}__circle`]},t.createElement("span",{className:U[`${J}__inner-circle`]}),t.createElement("input",B(g({className:U[`${J}__input`]},c),{type:"radio",checked:o,disabled:l}))),t.createElement(S,{as:"div",size:"md",className:U[`${J}__text`]},e)),r&&t.createElement(de,{className:U[`${J}__helper`]},r))};var K={switch:"lc-Switch-module__switch___AaA2k","switch__track--enabled":"lc-Switch-module__switch__track--enabled___sy4Xl","switch__track--disabled":"lc-Switch-module__switch__track--disabled___HkDhl","switch--basic":"lc-Switch-module__switch--basic___jKO4n","switch--compact":"lc-Switch-module__switch--compact___OGFIX",switch__input:"lc-Switch-module__switch__input___NiiOR",switch__container:"lc-Switch-module__switch__container___79F7W",switch__track:"lc-Switch-module__switch__track___2wr2M",switch__slider:"lc-Switch-module__switch__slider___WHd--","switch__slider--basic":"lc-Switch-module__switch__slider--basic___OMKTp","switch__slider--basic--enabled":"lc-Switch-module__switch__slider--basic--enabled___sh9jo","switch__slider--basic--disabled":"lc-Switch-module__switch__slider--basic--disabled___GSTO9","switch__slider--compact":"lc-Switch-module__switch__slider--compact___uZ-lS","switch__slider--compact--enabled":"lc-Switch-module__switch__slider--compact--enabled___04TFA","switch__slider--compact--disabled":"lc-Switch-module__switch__slider--compact--disabled___Vqznr"};const q="switch",Qt=i=>{var m=i,{className:e="",defaultOn:a=!1,disabled:r=!1,name:o=q,on:l,onChange:c=ke,size:n="basic",innerRef:d}=m,s=w(m,["className","defaultOn","disabled","name","on","onChange","size","innerRef"]);const p=()=>l!==void 0?l:a,[h,E]=t.useState(p());t.useEffect(()=>{l!==void 0&&E(l)},[l]);const b=h?"enabled":"disabled",y=u.default(K[q],K[`${q}--${n}`],e),k=f=>{if(c!==ke){c(f,h);return}f.stopPropagation(),E(Y=>!Y)};return t.createElement("span",{className:y},t.createElement("input",g({type:"checkbox",className:K[`${q}__input`],onChange:k,checked:h,name:o,ref:d,disabled:r,"test-id":"foo"},s)),t.createElement("span",{className:K[`${q}__container`]},t.createElement("span",{className:u.default(K[`${q}__track`],K[`${q}__track--${b}`])}),t.createElement("span",{className:u.default(K[`${q}__slider`],K[`${q}__slider--${n}`],K[`${q}__slider--${n}--${b}`])})))};var Ie={tab:"lc-Tab-module__tab___fME7u",tab__description:"lc-Tab-module__tab__description___JGXU6","tab--selected":"lc-Tab-module__tab--selected___c0EkL"};const Fe="tab",er=c=>{var n=c,{children:e,className:a,description:r,isSelected:o}=n,l=w(n,["children","className","description","isSelected"]);return t.createElement(S,B(g({},l),{as:l.href?"a":"button",size:"md",bold:o,className:u.default(Ie[Fe],a,o&&Ie[`${Fe}--selected`])}),e,r&&t.createElement(S,{as:"span",size:"md",className:Ie[`${Fe}__description`]},"(",r,")"))};var tt={tabs:"lc-TabsWrapper-module__tabs___Y2xyD",tabs__list:"lc-TabsWrapper-module__tabs__list___i6tVO"};const rt="tabs",tr=({className:e,children:a})=>t.createElement("div",{className:u.default(tt[rt],e)},a),rr=({className:e,children:a})=>t.createElement("div",{className:u.default(tt[`${rt}__list`],e)},a);var W={tag:"lc-Tag-module__tag___1QRVY","tag--success":"lc-Tag-module__tag--success___P2hXQ",tag__remove:"lc-Tag-module__tag__remove___UmtrW","tag--error":"lc-Tag-module__tag--error___1cjsm","tag--warning":"lc-Tag-module__tag--warning___PstMG","tag--info":"lc-Tag-module__tag--info___RTH0C","tag--medium":"lc-Tag-module__tag--medium___l5-KI","tag--large":"lc-Tag-module__tag--large___ytC6Y","tag--outline":"lc-Tag-module__tag--outline___aZXtr",icon:"lc-Tag-module__icon___2Z-35","tag--text-white":"lc-Tag-module__tag--text-white___x0fnD","tag--text-black":"lc-Tag-module__tag--text-black___dUvmD","tag--with-icon":"lc-Tag-module__tag--with-icon___ZlkvT","tag--dismissible":"lc-Tag-module__tag--dismissible___Qobyr",tag__icon:"lc-Tag-module__tag__icon___tZoQ9",tag__avatar:"lc-Tag-module__tag__avatar___U4c-P"};const H="tag",or=e=>e?Ge.getContrast(e,"#FFFFFF")>4.5?"text-white":"text-black":"",ot=p=>{var h=p,{className:e="",children:a,dismissible:r=!1,size:o="medium",kind:l="default",onRemove:c,outline:n=!1,icon:d,avatar:s,customColor:i}=h,m=w(h,["className","children","dismissible","size","kind","onRemove","outline","icon","avatar","customColor"]);const E=u.default(W[H],e,W[`${H}--${o}`],W[`${H}--${l}`],{[W[`${H}--dismissible`]]:r,[W[`${H}--outline`]]:n,[W[`${H}--with-icon`]]:!!d||!!s,[W[`${H}--${or(i)}`]]:!!i}),b=()=>i?n?{style:{backgroundColor:"transparent",color:i,borderColor:i}}:{style:{backgroundColor:i}}:{},y=()=>{if(!!i)return n?i:Ge.getContrast(i,"#FFFFFF")>4.5?"#FFFFFF":"#000000"};return t.createElement(S,B(g(g({className:E},m),b()),{as:"div",size:"md"}),s&&t.createElement("img",{className:W[`${H}__avatar`],src:s,alt:"tag-avatar","data-testid":"lc-tag-avatar"})," ",d&&!s&&t.createElement(G,{"data-testid":"lc-tag-icon",className:W[`${H}__icon`],source:d,size:V.Small,customColor:y()}),a,r&&t.createElement("button",{title:"Remove",onClick:c,type:"button",className:W[`${H}__remove`]},t.createElement(G,{source:v.Close,size:V.Medium,customColor:y()})))},ar=({className:e="",innerEditableRef:a,inputRef:r,change:o,remove:l,value:c})=>{const[n,d]=t.useState(!1),s=()=>a.current,i=()=>{const b=s();return b?b.innerText:""},m=()=>{r&&r.current&&r.current.focus()},p=b=>{if(b.key===M.enter){b.preventDefault(),m();return}b.key===M.backspace&&i()===""&&(d(!0),l(),m())},h=()=>{const b=s();if(!(n||!b)){if(b.innerText===""){l();return}o(b.innerText)}},E=b=>{b.preventDefault();const y=b.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,Le.default(y))};return t.createElement("div",{ref:a,className:e,contentEditable:!0,onPaste:E,onBlur:h,onKeyDown:p,dangerouslySetInnerHTML:{__html:Le.default(c)}})};var be={"tag-input":"lc-TagInput-module__tag-input___CLVY-","tag-input--error":"lc-TagInput-module__tag-input--error___RP0SB","tag-input__input":"lc-TagInput-module__tag-input__input___dgEYB","tag-input__input--medium":"lc-TagInput-module__tag-input__input--medium___DYF7X","tag-input__input--large":"lc-TagInput-module__tag-input__input--large___G6iEO","tag-input__tag__content":"lc-TagInput-module__tag-input__tag__content___x95-M"};const lr="tag-input__tag",_r=({children:e,index:a,remove:r,validator:o,inputRef:l,update:c,size:n})=>{const d=t.useMemo(()=>o!==void 0?o(e):!0,[e,o]),s=t.useRef(null),i=()=>r(a);return t.createElement(ot,{kind:d?"default":"error",dismissible:!0,size:n,onRemove:i},t.createElement(ar,{value:e,inputRef:l,innerEditableRef:s,className:be[`${lr}__content`],change:m=>c(a,m),remove:i,validator:o}))},we="tag-input",cr=[M.enter,M.spacebar,M.tab,M.semicolon,M.comma],nr=[M.backspace,M.delete],at=({tags:e,onChange:a,validator:r,error:o,placeholder:l,size:c="medium"})=>{const n=u.default(be[we],{[be[`${we}--error`]]:o}),d=u.default(be[`${we}__input`],be[`${we}__input--${c}`]),[s,i]=t.useState(""),m=t.useRef(null),p=f=>{a([...e||[],f]),i("")},h=f=>{const N=[...e||[]];N.splice(f,1),a(N)},E=f=>i(f.target.value),b=f=>{if(cr.includes(f.key)){if(f.preventDefault(),s==="")return;p(s)}else if(nr.includes(f.key)){if(s!==""||!(e!=null&&e.length))return;h(e.length-1)}},y=(f,N)=>{const Y=[...e||[]];Y.reduce((Pe,$,L)=>Pe+($===N&&L!==f?1:0),0)>0?Y.splice(f,1):Y[f]=N,a(Y)},k=f=>{f.preventDefault();const Y=f.clipboardData.getData("text/plain").split(/[\s,;\n]+/);a([...e||[],...Y])};return t.createElement(t.Fragment,null,t.createElement("div",{className:n},e==null?void 0:e.map((f,N)=>t.createElement(_r,{index:N,key:`${N}${f}`,update:y,remove:h,inputRef:m,validator:r,size:c},f)),t.createElement("input",{ref:m,className:d,placeholder:l,value:s,onChange:E,onKeyDown:b,onPaste:k})),o&&t.createElement(ve,null,o))},sr=/^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i,dr="name@company.com",ir=e=>sr.test(e),ur=({tags:e,onChange:a,error:r,placeholder:o=dr,size:l})=>t.createElement(at,{tags:e,error:r,onChange:a,placeholder:o,validator:ir,size:l});var T={toast:"lc-Toast-module__toast___j5Amn",toast__content:"lc-Toast-module__toast__content___HjaNw",toast__icon:"lc-Toast-module__toast__icon___wLbLu",toast__close:"lc-Toast-module__toast__close___O18Lh",toast__actions:"lc-Toast-module__toast__actions___JWu-1","toast__actions-close":"lc-Toast-module__toast__actions-close___xN8YT","toast__actions-custom":"lc-Toast-module__toast__actions-custom___z1UUf","toast--notification":"lc-Toast-module__toast--notification___pDXnc","toast--success":"lc-Toast-module__toast--success___7UC6m","toast--warning":"lc-Toast-module__toast--warning___pteb7","toast--error":"lc-Toast-module__toast--error___trg--","toast--info":"lc-Toast-module__toast--info___IOp44","toast-wrapper":"lc-Toast-module__toast-wrapper___Oiwqp","toast-wrapper--fixed":"lc-Toast-module__toast-wrapper--fixed___QYxRI","toast-wrapper--block":"lc-Toast-module__toast-wrapper--block___j0kGt","toast-wrapper--horizontal-center":"lc-Toast-module__toast-wrapper--horizontal-center___t9AFd","toast-wrapper--horizontal-left":"lc-Toast-module__toast-wrapper--horizontal-left___-GY4I","toast-wrapper--horizontal-right":"lc-Toast-module__toast-wrapper--horizontal-right___VVMgm","toast-wrapper--vertical-top":"lc-Toast-module__toast-wrapper--vertical-top___uBfEG","toast-appear--slide":"lc-Toast-module__toast-appear--slide___G7GAp","toast-appear-active--slide":"lc-Toast-module__toast-appear-active--slide___brfgK","toast-exit--slide":"lc-Toast-module__toast-exit--slide___aqiBq","toast-exit-active--slide":"lc-Toast-module__toast-exit-active--slide___WryMi","toast-wrapper--vertical-bottom":"lc-Toast-module__toast-wrapper--vertical-bottom___erPuH","toast-appear--fade":"lc-Toast-module__toast-appear--fade___oUwHm","toast-appear-active--fade":"lc-Toast-module__toast-appear-active--fade___D3--J","toast-exit--fade":"lc-Toast-module__toast-exit--fade___iDA1p","toast-exit-active--fade":"lc-Toast-module__toast-exit-active--fade___tL7sb"};const te="toast";var lt=(e=>(e.Success="success",e.Warning="warning",e.Error="error",e.Info="info",e.Notification="notification",e))(lt||{});const mr={success:{source:v.CheckCircleSolid,iconType:D.Inverted},warning:{source:v.Warning},error:{source:v.Error,iconType:D.Inverted},info:{source:v.Info,iconType:D.Inverted},notification:{source:v.Info,iconType:D.Link}},_t=({action:e,className:a,children:r,removable:o,variant:l="info",onClose:c})=>{const n=u.default(T[te],T[`${te}--${l}`],a),d=s=>s&&s.closeOnClick&&c?(s.handler(),c()):s.handler();return t.createElement("div",{className:n},t.createElement("div",{className:T[`${te}__icon`]},t.createElement(G,g({},mr[l]))),t.createElement("div",{className:T[`${te}__content`]},r),(e||o)&&t.createElement("div",{className:T[`${te}__actions`]},e&&t.createElement("button",{className:T[`${te}__actions-custom`],onClick:()=>d(e)},e.label),o&&t.createElement("div",{className:T[`${te}__actions-close`],"aria-label":"Close toast",onClick:c},t.createElement(G,{source:v.Close,size:V.Small,iconType:["warning","notification"].includes(l)?D.Primary:D.Inverted}))))};var ct=(e=>(e.Left="left",e.Center="center",e.Right="right",e))(ct||{}),nt=(e=>(e.Top="top",e.Bottom="bottom",e))(nt||{});const st=200,ge="toast-wrapper",pr=({className:e,toasts:a=[],fixed:r=!0,block:o=!1,animationType:l="slide",verticalPosition:c="top",horizontalPosition:n="center"})=>{const d=u.default(T[ge],{[T[`${ge}--fixed`]]:r,[T[`${ge}--block`]]:!r&&o,[T[`${ge}--horizontal-${n}`]]:n,[T[`${ge}--vertical-${c}`]]:c},e);return t.createElement("div",{className:d},t.createElement(Me.TransitionGroup,{component:null},a.map(({id:s,variant:i,content:m,removable:p,action:h,onClose:E})=>t.createElement(Me.CSSTransition,{key:s,classNames:{enter:T[`toast-appear--${l}`],enterActive:T[`toast-appear-active--${l}`],exit:T[`toast-exit--${l}`],exitActive:T[`toast-exit-active--${l}`]},timeout:st},t.createElement(_t,{variant:i,onClose:E,removable:p,action:h},m)))))};_.ANIMATION_TIME=st,_.ActionModal=Ot,_.Alert=Et,_.Badge=Ct,_.Button=Ce,_.ButtonGroup=Nt,_.Card=xt,_.Checkbox=je,_.CheckboxField=Bt,_.DesignTokens=ht,_.EmailTagInput=ur,_.FieldDescription=de,_.FieldError=ve,_.FieldGroup=Ft,_.Form=Pt,_.FormGroup=Gt,_.Heading=ne,_.HorizontalPosition=ct,_.Icon=G,_.IconSizeName=V,_.IconTypeName=D,_.InputField=Mt,_.Link=Rt,_.Loader=Ve,_.Modal=Lt,_.ModalBase=Se,_.ModalCloseButton=Ze,_.ModalPortal=At,_.NumericInput=Qe,_.NumericInputField=zt,_.Popover=Wt,_.ProgressCircle=Kt,_.PromoBanner=Xt,_.RadioButton=Zt,_.Switch=Qt,_.Tab=er,_.TabsList=rr,_.TabsWrapper=tr,_.Tag=ot,_.TagInput=at,_.Text=S,_.TextField=Te,_.Toast=_t,_.ToastWrapper=pr,_.Variants=lt,_.VerticalPosition=nt,Object.defineProperties(_,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ var fr=Object.defineProperty,hr=Object.defineProperties;var vr=Object.getOwnPropertyDescriptors;var Ee=Object.getOwnPropertySymbols;var ut=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable;var it=(c,C,D)=>C in c?fr(c,C,{enumerable:!0,configurable:!0,writable:!0,value:D}):c[C]=D,g=(c,C)=>{for(var D in C||(C={}))ut.call(C,D)&&it(c,D,C[D]);if(Ee)for(var D of Ee(C))mt.call(C,D)&&it(c,D,C[D]);return c},x=(c,C)=>hr(c,vr(C));var w=(c,C)=>{var D={};for(var v in c)ut.call(c,v)&&C.indexOf(v)<0&&(D[v]=c[v]);if(c!=null&&Ee)for(var v of Ee(c))C.indexOf(v)<0&&mt.call(c,v)&&(D[v]=c[v]);return D};(function(c,C){typeof exports=="object"&&typeof module!="undefined"?C(exports,require("react"),require("clsx"),require("@livechat/design-system-icons/react/material"),require("lodash"),require("react-dom"),require("react-popper"),require("polished"),require("lodash.escape"),require("react-transition-group")):typeof define=="function"&&define.amd?define(["exports","react","clsx","@livechat/design-system-icons/react/material","lodash","react-dom","react-popper","polished","lodash.escape","react-transition-group"],C):(c=typeof globalThis!="undefined"?globalThis:c||self,C(c.dsrc={},c.React,c.cx,c.material,c.lodash,c.ReactDOM,c.reactPopper,c.polished,c.escape,c.reactTransitionGroup))})(this,function(c,C,D,v,pt,bt,gt,Ge,ft,Me){"use strict";function Re(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function Le(e){if(e&&e.__esModule)return e;var a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(a,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}}),a.default=e,Object.freeze(a)}var t=Le(C),i=Re(D),ht=Le(bt),Oe=Re(ft),yr="";const vt={Background:"--background",SurfaceBasicDefault:"--surface-basic-default",SurfaceBasicSubtle:"--surface-basic-subtle",SurfaceBasicHover:"--surface-basic-hover",SurfaceBasicActive:"--surface-basic-active",SurfaceBasicDisabled:"--surface-basic-disabled",SurfaceSecondaryDefault:"--surface-secondary-default",SurfaceSecondarySubtle:"--surface-secondary-subtle",SurfaceSecondaryHover:"--surface-secondary-hover",SurfaceSecondaryDisabled:"--surface-secondary-disabled",SurfaceFeedbackInfo:"--surface-feedback-info",SurfaceFeedbackNegative:"--surface-feedback-negative",SurfaceFeedbackWarning:"--surface-feedback-warning",SurfaceFeedbackPositive:"--surface-feedback-positive",SurfaceInvertDefault:"--surface-invert-default",SurfaceInvertSubtle:"--surface-invert-subtle",SurfaceInvertDisabled:"--surface-invert-disabled",SurfaceOverlay:"--surface-overlay",ContentDefault:"--content-default",ContentSubtle:"--content-subtle",ContentDisabled:"--content-disabled",ContentWhiteLocked:"--content-white-locked",ContentInvertDefault:"--content-invert-default",ContentInvertSubtle:"--content-invert-subtle",ContentInvertDisabled:"--content-invert-disabled",BorderDefault:"--border-default",BorderSubtle:"--border-subtle",BorderHover:"--border-hover",BorderDisabled:"--border-disabled",BorderInvertDefault:"--border-invert-default",BorderInvertSubtle:"--border-invert-subtle",BorderInvertHover:"--border-invert-hover",BorderInvertDisabled:"--border-invert-disabled",ColorActionActive:"--color-action-active",ColorActionHover:"--color-action-hover",ColorActionDefault:"--color-action-default",ColorActionDisabled:"--color-action-disabled",ColorNegativeActive:"--color-negative-active",ColorNegativeHover:"--color-negative-hover",ColorNegativeDefault:"--color-negative-default",ColorNegativeDisabled:"--color-negative-disabled",ColorWarningDefault:"--color-warning-default",ColorWarningHover:"--color-warning-hover",ColorPositiveDefault:"--color-positive-default",ColorPositiveHover:"--color-positive-hover",ColorPositiveDisabled:"--color-positive-disabled",ColorBot:"--color-bot",ColorBlack:"--color-black",ColorWhite:"--color-white",DecorBlue900:"--decor-blue900",DecorBlue800:"--decor-blue800",DecorBlue700:"--decor-blue700",DecorBlue600:"--decor-blue600",DecorBlue500:"--decor-blue500",DecorBlue400:"--decor-blue400",DecorBlue300:"--decor-blue300",DecorBlue200:"--decor-blue200",DecorBlue100:"--decor-blue100",DecorBlue50:"--decor-blue50",DecorOrange900:"--decor-orange900",DecorOrange800:"--decor-orange800",DecorOrange700:"--decor-orange700",DecorOrange600:"--decor-orange600",DecorOrange500:"--decor-orange500",DecorOrange400:"--decor-orange400",DecorOrange300:"--decor-orange300",DecorOrange200:"--decor-orange200",DecorOrange100:"--decor-orange100",DecorOrange50:"--decor-orange50",DecorYellow900:"--decor-yellow900",DecorYellow800:"--decor-yellow800",DecorYellow700:"--decor-yellow700",DecorYellow600:"--decor-yellow600",DecorYellow500:"--decor-yellow500",DecorYellow400:"--decor-yellow400",DecorYellow300:"--decor-yellow300",DecorYellow200:"--decor-yellow200",DecorYellow100:"--decor-yellow100",DecorYellow50:"--decor-yellow50",DecorGray950:"--decor-gray950",DecorGray900:"--decor-gray900",DecorGray800:"--decor-gray800",DecorGray700:"--decor-gray700",DecorGray600:"--decor-gray600",DecorGray500:"--decor-gray500",DecorGray400:"--decor-gray400",DecorGray300:"--decor-gray300",DecorGray200:"--decor-gray200",DecorGray150:"--decor-gray150",DecorGray100:"--decor-gray100",DecorGray75:"--decor-gray75",DecorGray50:"--decor-gray50",DecorGray40:"--decor-gray40",DecorGray20:"--decor-gray20",DecorGreen900:"--decor-green900",DecorGreen800:"--decor-green800",DecorGreen700:"--decor-green700",DecorGreen600:"--decor-green600",DecorGreen500:"--decor-green500",DecorGreen400:"--decor-green400",DecorGreen300:"--decor-green300",DecorGreen200:"--decor-green200",DecorGreen100:"--decor-green100",DecorGreen50:"--decor-green50",DecorRed900:"--decor-red900",DecorRed800:"--decor-red800",DecorRed700:"--decor-red700",DecorRed600:"--decor-red600",DecorRed500:"--decor-red500",DecorRed400:"--decor-red400",DecorRed300:"--decor-red300",DecorRed200:"--decor-red200",DecorRed100:"--decor-red100",DecorRed50:"--decor-red50",DecorPurple900:"--decor-purple900",DecorPurple800:"--decor-purple800",DecorPurple700:"--decor-purple700",DecorPurple600:"--decor-purple600",DecorPurple500:"--decor-purple500",DecorPurple400:"--decor-purple400",DecorPurple300:"--decor-purple300",DecorPurple200:"--decor-purple200",DecorPurple100:"--decor-purple100",DecorPurple50:"--decor-purple50"};var ce={"heading-xl":"lc-Typography-module__heading-xl___nhr-6","heading-lg":"lc-Typography-module__heading-lg___XYF7l","heading-md":"lc-Typography-module__heading-md___wHOIs","heading-sm":"lc-Typography-module__heading-sm___nBmTV","heading-xs":"lc-Typography-module__heading-xs___VcZBs",caps:"lc-Typography-module__caps___c3eNJ","caps--bold":"lc-Typography-module__caps--bold___OZovw","paragraph-md":"lc-Typography-module__paragraph-md___UGoqq","paragraph-md--bold":"lc-Typography-module__paragraph-md--bold___mWcMG","paragraph-md--underline":"lc-Typography-module__paragraph-md--underline___Fv6zM","paragraph-md--strike":"lc-Typography-module__paragraph-md--strike___yLGHh","paragraph-sm":"lc-Typography-module__paragraph-sm___QIEFL","paragraph-sm--bold":"lc-Typography-module__paragraph-sm--bold___fAjI5","paragraph-xs":"lc-Typography-module__paragraph-xs___OUooD","paragraph-xs--bold":"lc-Typography-module__paragraph-xs--bold___z7om7"},Ae=(e=>(e.xl="h1",e.lg="h2",e.md="h3",e.sm="h4",e.xs="h5",e))(Ae||{});const ne=n=>{var _=n,{as:e,size:a="md",children:r,className:o}=_,l=w(_,["as","size","children","className"]);return t.createElement(e||Ae[a],g({className:i.default(ce[`heading-${a}`],o)},l),r)},S=u=>{var m=u,{as:e="p",size:a="md",caps:r=!1,bold:o=!1,underline:l=!1,strike:n=!1,children:_,className:d}=m,s=w(m,["as","size","caps","bold","underline","strike","children","className"]);const p=r?"caps":`paragraph-${a}`;return t.createElement(e,g({className:i.default({[ce[`${p}`]]:!0,[ce[`${p}--bold`]]:o,[ce[`${p}--strike`]]:n,[ce[`${p}--underline`]]:l},d)},s),_)};var ze={icon:"lc-Icon-module__icon___tw31R","icon--primary":"lc-Icon-module__icon--primary___JJnBV","icon--subtle":"lc-Icon-module__icon--subtle___sZIzL","icon--inverted":"lc-Icon-module__icon--inverted___zA9QC","icon--inverted-subtle":"lc-Icon-module__icon--inverted-subtle___6UwBT","icon--link":"lc-Icon-module__icon--link___Jwkw9","icon--success":"lc-Icon-module__icon--success___MKdz3","icon--warning":"lc-Icon-module__icon--warning___5YCSW","icon--error":"lc-Icon-module__icon--error___CiJCD","icon--disabled--primary":"lc-Icon-module__icon--disabled--primary___E0nee","icon--disabled--subtle":"lc-Icon-module__icon--disabled--subtle___l-hK4","icon--disabled--inverted":"lc-Icon-module__icon--disabled--inverted___5SBAf","icon--disabled--inverted-subtle":"lc-Icon-module__icon--disabled--inverted-subtle___w-NBk","icon--disabled--link":"lc-Icon-module__icon--disabled--link___sVJOa","icon--disabled--success":"lc-Icon-module__icon--disabled--success___sG-7d","icon--disabled--warning":"lc-Icon-module__icon--disabled--warning___8ko1e","icon--disabled--error":"lc-Icon-module__icon--disabled--error___9KbVo"},H=(e=>(e.XSmall="xsmall",e.Small="small",e.Medium="medium",e.Large="large",e.XLarge="xlarge",e))(H||{});const yt={xsmall:{width:12,height:12},small:{width:16,height:16},medium:{width:20,height:20},large:{width:24,height:24},xlarge:{width:32,height:32}};var T=(e=>(e.Primary="primary",e.Subtle="subtle",e.Inverted="inverted",e.InvertedSubtle="inverted_subtle",e.Link="link",e.Success="success",e.Warning="warning",e.Error="error",e))(T||{});const $t={primary:"primary",subtle:"subtle",inverted:"inverted",inverted_subtle:"inverted-subtle",link:"link",success:"success",warning:"warning",error:"error"},wt={primary:"disabled--primary",subtle:"disabled--subtle",inverted:"disabled--inverted",inverted_subtle:"disabled--inverted-subtle",link:"disabled--link",success:"disabled--success",warning:"disabled--warning",error:"disabled--error"},qe="icon",G=e=>{const p=e,{source:a,size:r="medium",iconType:o,disabled:l,className:n,customColor:_}=p,d=w(p,["source","size","iconType","disabled","className","customColor"]);let s;o&&(s=$t[o],l&&(s=wt[o]));const u=t.createElement(a,x(g({},yt[r]),{color:_})),m=i.default(n,ze[qe],s&&ze[`${qe}--${s}`]);return t.createElement("span",x(g({},d),{className:m}),u)};var K={alert:"lc-Alert-module__alert___HBTns",alert__content:"lc-Alert-module__alert__content___9nZdf","alert__content-text":"lc-Alert-module__alert__content-text___x2Un5","alert__content-text--margin":"lc-Alert-module__alert__content-text--margin___whVzG","alert__content-icon":"lc-Alert-module__alert__content-icon___-EXJm","alert--small":"lc-Alert-module__alert--small___Fyk-v","alert__close-icon":"lc-Alert-module__alert__close-icon___rYxVy","alert--info":"lc-Alert-module__alert--info___GmIGN","alert--warning":"lc-Alert-module__alert--warning___MubhD","alert--success":"lc-Alert-module__alert--success___fPtlZ","alert--error":"lc-Alert-module__alert--error___DKPo0",alert__icon:"lc-Alert-module__alert__icon___8TaAH"};const Et={info:{source:v.Info,iconType:T.Link},warning:{source:v.Warning,iconType:T.Warning},success:{source:v.CheckCircleSolid,iconType:T.Success},error:{source:v.Block,iconType:T.Error}},Z="alert",Ct=({children:e,className:a,type:r="info",onClose:o})=>{const l=t.useRef(null),[n,_]=t.useState(!1),d=i.default(K[Z],K[`${Z}--${r}`],n&&K[`${Z}--small`],a);return t.useEffect(()=>{const s=pt.debounce(()=>l.current&&l.current.offsetWidth<=400?_(!0):_(!1),500);return window.addEventListener("resize",s),()=>window.removeEventListener("resize",s)}),t.createElement("div",{ref:l,className:d},t.createElement("div",{className:K[`${Z}__content`]},t.createElement(G,x(g({},Et[r]),{className:K[`${Z}__content-icon`]})),t.createElement(S,{as:"div",className:i.default(K[`${Z}__content-text`],o&&K[`${Z}__content-text--margin`])},e)),o&&t.createElement("button",{type:"button",className:K[`${Z}__close-icon`],onClick:o},t.createElement(G,{source:v.Close,size:H.Large,iconType:T.Primary})))};var We={badge:"lc-Badge-module__badge___GhLnu","badge--secondary":"lc-Badge-module__badge--secondary___JjNIJ"};const kt=({children:e,className:a,secondary:r=!1})=>t.createElement("span",{className:i.default(We.badge,a,{[We["badge--secondary"]]:r})},e);var se={loader:"lc-Loader-module__loader___LRflD",loader__spinner:"lc-Loader-module__loader__spinner___l3C1g","loader__spinner--small":"lc-Loader-module__loader__spinner--small___dGFFt","loader__spinner--medium":"lc-Loader-module__loader__spinner--medium___J-ki0","loader__spinner--large":"lc-Loader-module__loader__spinner--large___Poqq7","loader__spinner-circle":"lc-Loader-module__loader__spinner-circle___ApBUO",rotate:"lc-Loader-module__rotate___Tlni-",loader__label:"lc-Loader-module__loader__label___R74f6"};const Ve="loader",Ye=`${Ve}__spinner`,He=({primaryColor:e,secondaryColor:a,label:r,className:o,size:l="medium"})=>t.createElement("div",{className:i.default(se[Ve],o)},t.createElement("div",{className:i.default(se[Ye],se[`${Ye}--${l}`])},t.createElement("div",{className:se["loader__spinner-circle"],style:{borderColor:a,borderTopColor:e}})),r&&t.createElement(S,{as:"div",size:"md",className:se.loader__label},r));var R={btn:"lc-Button-module__btn___aijZJ","btn--disabled":"lc-Button-module__btn--disabled___lXBav","btn--icon-only":"lc-Button-module__btn--icon-only___bF5pW","btn__icon--left":"lc-Button-module__btn__icon--left___H68zu","btn__icon--right":"lc-Button-module__btn__icon--right___fHr3D","btn--full-width":"lc-Button-module__btn--full-width___kdbAr","btn--basic":"lc-Button-module__btn--basic___Jc2gD","btn--primary":"lc-Button-module__btn--primary___ajbjQ","btn--secondary":"lc-Button-module__btn--secondary___iWzE0","btn--destructive":"lc-Button-module__btn--destructive___-kLCl","btn--compact":"lc-Button-module__btn--compact___4eptQ","btn--large":"lc-Button-module__btn--large___lb-z6","btn--text":"lc-Button-module__btn--text___WA8OL","btn--plain":"lc-Button-module__btn--plain___eOPui","btn--plain-light":"lc-Button-module__btn--plain-light___eS9em","btn--loading":"lc-Button-module__btn--loading___ZAgjv",btn__loader:"lc-Button-module__btn__loader___c8zZz",btn__content:"lc-Button-module__btn__content___wefl2",btn__icon:"lc-Button-module__btn__icon___GVExB"};const L="btn",Ce=E=>{var b=E,{loading:e=!1,disabled:a=!1,type:r="button",fullWidth:o=!1,kind:l="basic",size:n="medium",icon:_=null,iconPosition:d="left",loaderLabel:s,className:u,children:m,href:p}=b,h=w(b,["loading","disabled","type","fullWidth","kind","size","icon","iconPosition","loaderLabel","className","children","href"]);const y=e||a,k=p?"a":"button",f=i.default(u,R[L],R[`${L}--${l}`],R[`${L}--${n}`],{[R[`${L}--loading`]]:e,[R[`${L}--full-width`]]:o,[R[`${L}--icon-only`]]:!m&&_,[R[`${L}--disabled`]]:y});return t.createElement(k,g({className:f,disabled:y,type:r,href:y?void 0:p},h),e&&t.createElement(He,{size:"small",label:s,className:R[`${L}__loader`]}),_&&t.cloneElement(_,{className:i.default(R[`${L}__icon`],R[`${L}__icon--${d}`]),disabled:a}),t.createElement("div",{className:R[`${L}__content`]},m))};var fe={"btn-group":"lc-ButtonGroup-module__btn-group___R-lZQ",btn:"lc-ButtonGroup-module__btn___bXPrU","btn--active":"lc-ButtonGroup-module__btn--active___VAc37","btn--compact":"lc-ButtonGroup-module__btn--compact___t1whe","btn--medium":"lc-ButtonGroup-module__btn--medium___XFRBP","btn--large":"lc-ButtonGroup-module__btn--large___OtNUz"};function ke(){}const Nt="btn-group",xt=s=>{var u=s,{size:e="medium",fullWidth:a=!1,onIndexChange:r=ke,className:o,children:l,currentIndex:n,initialIndex:_=-1}=u,d=w(u,["size","fullWidth","onIndexChange","className","children","currentIndex","initialIndex"]);const m=i.default(fe[Nt],o),[p,h]=t.useState(_),E=typeof n=="number",b=E?n:p,y=(k,f)=>{E||h(k),r(k,f)};return t.createElement("div",g({role:"group",className:m},d),t.Children.map(l,(k,f)=>t.cloneElement(k,{fullWidth:a,size:e,kind:"secondary",type:"button",onClick:N=>{y(f,N),k.props.onClick&&k.props.onClick(N)},className:i.default(fe.btn,fe[`btn--${e}`],f===b&&fe["btn--active"])})))};var he={card:"lc-Card-module__card___GqMm2",card__title:"lc-Card-module__card__title___1YjAR",card__text:"lc-Card-module__card__text___-jYlF",card__img:"lc-Card-module__card__img___teLC8"};const Dt=n=>{var _=n,{img:e,title:a,children:r,className:o}=_,l=w(_,["img","title","children","className"]);return t.createElement(S,g({as:"div",size:"md",className:i.default(he.card,o)},l),(e||a)&&t.createElement(ne,{as:"div",size:"sm",className:he.card__title},e&&t.createElement("img",{src:e,className:he.card__img}),a&&t.createElement("div",{className:he.card__text},a)),r)};var j={checkbox:"lc-Checkbox-module__checkbox___G7nTf",checkbox__label:"lc-Checkbox-module__checkbox__label___-o01x",checkbox__square:"lc-Checkbox-module__checkbox__square___MHUyd",checkbox__checkmark:"lc-Checkbox-module__checkbox__checkmark___16pfY","checkbox--selected":"lc-Checkbox-module__checkbox--selected___S2vqY",checkbox__input:"lc-Checkbox-module__checkbox__input___YLbVF",checkbox__text:"lc-Checkbox-module__checkbox__text___P2SIq","checkbox--disabled":"lc-Checkbox-module__checkbox--disabled___-lAqW",checkbox__helper:"lc-Checkbox-module__checkbox__helper___YSJ-n"};const Ne="checkbox",je=r=>{var o=r,{className:e=""}=o,a=w(o,["className"]);const l=i.default(j[`${Ne}__square`],e);return t.createElement("div",null,t.createElement("input",x(g({},a),{className:j[`${Ne}__input`],type:"checkbox"})),t.createElement("div",{className:l},t.createElement(G,{source:v.Check,iconType:T.Inverted,size:H.XSmall,className:j[`${Ne}__checkmark`]})))};var Tt={"field-description":"lc-FieldDescription-module__field-description___IcRDH"};const Bt="field-description",de=o=>{var l=o,{children:e,className:a=""}=l,r=w(l,["children","className"]);const n=i.default(Tt[Bt],a);return t.createElement(S,x(g({as:"span",size:"sm"},r),{className:n}),e)},ae="checkbox",St=_=>{var d=_,{children:e,className:a="",description:r,checked:o,disabled:l}=d,n=w(d,["children","className","description","checked","disabled"]);const s=i.default(j[ae],a,{[j[`${ae}--selected`]]:o,[j[`${ae}--disabled`]]:l});return t.createElement("div",{className:s},t.createElement("label",{className:j[`${ae}__label`]},t.createElement(je,x(g({},n),{checked:o,disabled:l})),t.createElement(S,{as:"div",size:"md",className:j[`${ae}__text`]},e)),r&&t.createElement(de,{className:j[`${ae}__helper`]},r))};var It={"field-error":"lc-FieldError-module__field-error___IDkPT"};const Ft="field-error",ve=o=>{var l=o,{children:e,className:a=""}=l,r=w(l,["children","className"]);const n=i.default(It[Ft],a);return t.createElement(S,x(g({as:"span",size:"sm"},r),{className:n}),e)};var xe={"field-group":"lc-FieldGroup-module__field-group___gy8lp","field-group--inline":"lc-FieldGroup-module__field-group--inline___or4qf","field-group--stretched":"lc-FieldGroup-module__field-group--stretched___6rkuO"};const De="field-group",Pt=d=>{var s=d,{className:e="",children:a,description:r,error:o,inline:l,stretch:n}=s,_=w(s,["className","children","description","error","inline","stretch"]);const u=i.default(xe[De],e,{[xe[`${De}--inline`]]:l,[xe[`${De}--stretched`]]:n});return t.createElement("div",x(g({},_),{className:u}),a,o&&t.createElement(ve,null,o),r&&t.createElement(de,null,r))};var ie={form:"lc-Form-module__form___1nOYF",form__header:"lc-Form-module__form__header___U4B7t",form__footer:"lc-Form-module__form__footer___1-sUX",form__label:"lc-Form-module__form__label___spg-J",form__helper:"lc-Form-module__form__helper___bhfwS"};const ue="form",Gt=_=>{var d=_,{className:e,children:a,labelText:r,helperText:o,formFooter:l}=d,n=w(d,["className","children","labelText","helperText","formFooter"]);return t.createElement("form",g({className:i.default(ie[ue],e)},n),(r||o)&&t.createElement("div",{className:ie[`${ue}__header`]},r&&t.createElement(ne,{size:"sm",className:ie[`${ue}__label`]},r),o&&t.createElement(S,{as:"p",size:"sm",className:ie[`${ue}__helper`]},o)),a,l&&t.createElement("div",{className:ie[`${ue}__footer`]},l))};var ye={"form-group":"lc-FormGroup-module__form-group___e2JHa","form-group__header":"lc-FormGroup-module__form-group__header___DgGmR","form-group__label":"lc-FormGroup-module__form-group__label___NC-JW","form-group__helper":"lc-FormGroup-module__form-group__helper___SRuxe"};const $e="form-group",Mt=n=>{var _=n,{className:e="",children:a,labelText:r,helperText:o}=_,l=w(_,["className","children","labelText","helperText"]);const d=i.default(ye[$e],e);return t.createElement("div",x(g(x(g({},l),{role:"group"}),r&&{"aria-label":r}),{className:d}),t.createElement("div",{className:ye[`${$e}__header`]},t.createElement(ne,{as:"div",size:"sm",className:ye[`${$e}__label`]},r),o&&t.createElement(S,{as:"div",size:"sm",className:ye[`${$e}__helper`]},o)),a)};var I={"text-field":"lc-TextField-module__text-field___bis8c","text-field--inline":"lc-TextField-module__text-field--inline___MPHqg","text-field__wrapper--inline":"lc-TextField-module__text-field__wrapper--inline___-gOob","text-field__label":"lc-TextField-module__text-field__label___vpNdg","text-field__label--inline":"lc-TextField-module__text-field__label--inline___YSRYX","text-field__label--no-text":"lc-TextField-module__text-field__label--no-text___XSyn2","text-field__label-wrapper":"lc-TextField-module__text-field__label-wrapper___SNCct","text-field__label-adornment":"lc-TextField-module__text-field__label-adornment___--pgp","text-field__label-right-node":"lc-TextField-module__text-field__label-right-node___sdnWg","text-field__label-right-node--inline":"lc-TextField-module__text-field__label-right-node--inline___vMBP2","text-field__row-break":"lc-TextField-module__text-field__row-break___AnNrI","text-field__content":"lc-TextField-module__text-field__content___dCkUW","field-label":"lc-TextField-module__field-label___q8Y-p"};const F="text-field",Te=({inline:e,error:a,description:r,labelText:o,labelAdornment:l,className:n,labelFor:_,children:d,labelRightNode:s})=>{const u=i.default(I[F],{[I[`${F}--inline`]]:e},n);return t.createElement("div",{className:u},s&&e&&t.createElement(t.Fragment,null,t.createElement("div",{className:i.default(I[`${F}__label-right-node`],I[`${F}__label-right-node--inline`])},s),t.createElement("div",{className:I[`${F}__row-break`]})),t.createElement("div",{className:i.default(I[`${F}__wrapper`],e&&I[`${F}__wrapper--inline`])},(o||s)&&t.createElement("div",{className:i.default(I[`${F}__label`],e&&I[`${F}__label--inline`],!o&&I[`${F}__label--no-text`])},o&&t.createElement("div",{className:i.default(I[`${F}__label-wrapper`])},t.createElement("label",{className:"lc-field-label",htmlFor:_},t.createElement(S,{as:"span",size:"sm"},o)),l&&t.createElement("div",{className:i.default(I[`${F}__label-adornment`])},l)),s&&!e&&t.createElement("div",{className:i.default(I[`${F}__label-right-node`])},s)),t.createElement("div",{className:i.default(I[`${F}__content`])},d,a&&t.createElement(ve,null,a),r&&t.createElement(de,null,r))))};var Ue={"input-field":"lc-InputField-module__input-field___A-GHj","input-field--error":"lc-InputField-module__input-field--error___MMchC"};const Je="input-field",Rt=t.forwardRef((E,h)=>{var b=E,{id:e,labelText:a,labelAdornment:r,className:o,inline:l,error:n,description:_,labelRightNode:d,fieldClassName:s,style:u,type:m="text"}=b,p=w(b,["id","labelText","labelAdornment","className","inline","error","description","labelRightNode","fieldClassName","style","type"]);const y=i.default(Ue[Je],{[Ue[`${Je}--error`]]:n},s);return t.createElement(Te,{inline:l,error:n,description:_,labelText:a,labelAdornment:r,className:o,labelFor:e,labelRightNode:d},t.createElement("input",x(g({},p),{id:e,ref:h,className:y,style:u,type:m})))});var Xe={link:"lc-Link-module__link___kqx52","link--bold":"lc-Link-module__link--bold___1rGdO"};const Ke="link",Lt=o=>{var l=o,{bold:e=!1,className:a=""}=l,r=w(l,["bold","className"]);return t.createElement("a",g({className:i.default(Xe[Ke],e&&Xe[`${Ke}--bold`],a)},r))};var P={"modal-base":"lc-Modal-module__modal-base___hbL1U","modal-base__overlay":"lc-Modal-module__modal-base__overlay___kCQ8t","modal-base__overlay--visible":"lc-Modal-module__modal-base__overlay--visible___zUNJL","modal-base__close":"lc-Modal-module__modal-base__close___gJlgr",modal__header:"lc-Modal-module__modal__header___Fp5VE",modal__heading:"lc-Modal-module__modal__heading___G9KVK",modal__body:"lc-Modal-module__modal__body___M-jmN",modal__footer:"lc-Modal-module__modal__footer___2LYdc","action-modal":"lc-Modal-module__action-modal___CsRC7","action-modal__heading":"lc-Modal-module__action-modal__heading___m3MuG","action-modal__content":"lc-Modal-module__action-modal__content___gf-R2","action-modal__actions":"lc-Modal-module__action-modal__actions___kpRXD","action-modal__icon":"lc-Modal-module__action-modal__icon___MK5xt"};const Ze=({onClick:e})=>t.createElement("button",{title:"Close modal",className:P["modal-base__close"],onClick:e,type:"button"},t.createElement(G,{source:v.Close,size:H.Large})),M={esc:"Escape",enter:"Enter",backspace:"Backspace",delete:"Delete",spacebar:" ",tab:"Tab",semicolon:";",comma:",",arrowUp:"ArrowUp",arrowDown:"ArrowDown"},Be="modal-base",Se=n=>{var _=n,{children:e,className:a="",onClose:r,closeOnEscPress:o=!0}=_,l=w(_,["children","className","onClose","closeOnEscPress"]);const d=i.default(P[Be],a);t.useEffect(()=>{if(!o)return;const m=p=>{p.key===M.esc&&r()};return document.addEventListener("keyup",m,!0),()=>document.removeEventListener("keyup",m,!0)},[o]);const s=m=>{m.target===m.currentTarget&&r()},u=m=>{m.preventDefault(),m.stopPropagation(),r()};return t.createElement("div",{"data-testid":"lc-modal-overlay",onMouseDown:s,className:i.default(P[`${Be}__overlay`],P[`${Be}__overlay--visible`])},t.createElement("div",g({className:d},l),t.createElement(Ze,{onClick:u}),e))},me="action-modal",Ot=_=>{var d=_,{children:e,className:a="",icon:r,heading:o,actions:l}=d,n=w(d,["children","className","icon","heading","actions"]);const s=i.default(P[me],a);return t.createElement(Se,g({className:s},n),r&&t.createElement("div",{className:P[`${me}__icon`]},r),o&&t.createElement("div",{className:P[`${me}__heading`]},o),t.createElement("div",{className:P[`${me}__content`]},e),l&&t.createElement("div",{className:P[`${me}__actions`]},l))},pe="modal",At=n=>{var _=n,{children:e,className:a="",heading:r,footer:o}=_,l=w(_,["children","className","heading","footer"]);const d=i.default(P[pe],a);return t.createElement(Se,g({className:d},l),r&&t.createElement("div",{className:P[`${pe}__header`]},t.createElement(ne,{size:"sm",as:"div",className:P[`${pe}__heading`]},r)),t.createElement("div",{className:P[`${pe}__body`]},e),o&&t.createElement("div",{className:P[`${pe}__footer`]},o))},zt=({children:e,className:a="",parentElementName:r="body",zIndex:o})=>{const[l]=t.useState(()=>document.createElement("div"));return a&&l.classList.add(a),o&&(l.style.zIndex=o.toString()),t.useEffect(()=>{var n;return(n=document.querySelector(r))==null||n.appendChild(l),()=>{var _;(_=document.querySelector(r))==null||_.removeChild(l)}},[]),t.createElement(t.Fragment,null,ht.createPortal(e,l))};var le={"numeric-input":"lc-NumericInput-module__numeric-input___j1esc","numeric-input__increment":"lc-NumericInput-module__numeric-input__increment___i3Tys","numeric-input__decrement":"lc-NumericInput-module__numeric-input__decrement___3qgn0","numeric-input--disabled":"lc-NumericInput-module__numeric-input--disabled___yaRvQ","numeric-input--no-controls":"lc-NumericInput-module__numeric-input--no-controls___D90rG","numeric-input--error":"lc-NumericInput-module__numeric-input--error___TMxRx"};const _e="numeric-input",Qe=m=>{var p=m,{className:e,error:a,value:r,max:o,min:l,disabled:n,noControls:_,style:d,onChange:s}=p,u=w(p,["className","error","value","max","min","disabled","noControls","style","onChange"]);const h=t.useRef(null),E=i.default(le[_e],{[le[`${_e}--error`]]:a,[le[`${_e}--no-controls`]]:_,[le[`${_e}--disabled`]]:n},e),b=$=>s(String($)),y=$=>o!==void 0&&$>o?o:l!==void 0&&$<l?l:$,k=$=>{const O=parseInt(r,10)+$;return b(y(O))},f=$=>{$.key===M.arrowDown&&($.preventDefault(),k(-1)),$.key===M.arrowUp&&($.preventDefault(),k(1))},N=($,O)=>O!==void 0&&parseInt($,10)===O,Y=$=>{$.preventDefault(),$.stopPropagation();const O=$.currentTarget.value.replace(/((?!([-]|([-]?\d+))).)/,"");if(O===""||O==="-")return b(O);const gr=parseInt(O,10);return b(y(gr))},dt=()=>{var $;return($=h.current)==null||$.focus(),k(1)},Pe=()=>{var $;return($=h.current)==null||$.focus(),k(-1)};return t.createElement("div",{className:E,style:d},t.createElement("input",x(g({type:"text",ref:h},u),{value:r,disabled:n,onChange:Y,onKeyDown:f,min:l,max:o})),!_&&t.createElement(t.Fragment,null,t.createElement("button",{tabIndex:-1,disabled:n||N(r,o),onClick:dt,"aria-label":"Increment value",className:le[`${_e}__increment`],type:"button"},t.createElement(G,{source:v.ChevronUp,disabled:n||N(r,o),iconType:T.Primary})),t.createElement("button",{tabIndex:-1,disabled:n||N(r,l),"aria-label":"Decrement value",className:le[`${_e}__decrement`],onClick:Pe,type:"button"},t.createElement(G,{source:v.ChevronDown,iconType:T.Primary,disabled:n||N(r,l)}))))},qt=p=>{var h=p,{id:e,labelText:a,labelAdornment:r,className:o,inline:l,error:n,description:_,labelRightNode:d,fieldClassName:s,style:u}=h,m=w(h,["id","labelText","labelAdornment","className","inline","error","description","labelRightNode","fieldClassName","style"]);return t.createElement(Te,{inline:l,error:n,description:_,labelText:a,labelAdornment:r,className:o,labelFor:e,labelRightNode:d},t.createElement(Qe,x(g({},m),{id:e,className:s,style:u,error:n})))};var et={popover:"lc-Popover-module__popover___8X1b2","popover--visible":"lc-Popover-module__popover--visible___u5NXB"};const Wt=e=>{const{offset:a,flip:r,preventOverflow:o}=e,l=[{name:"offset",options:g({offset:[0,4]},(a==null?void 0:a.options)||{})}],n=[{name:"flip",options:g({},(r==null?void 0:r.options)||{})}],_=[{name:"preventOverlow",options:g({rootBoundary:"viewport"},o||{})}];return[...l,...n,..._]},Vt=e=>{const{triggerRenderer:a,children:r,className:o,placement:l,isVisible:n=!1}=e,_=t.useRef(null),d=t.useRef(null),[s,u]=t.useState(!1);t.useEffect(()=>{u(n)},[n]);function m(y){var k,f;(k=d.current)!=null&&k.contains(y.target)||((f=_.current)!=null&&f.contains(y.target)?u(N=>!N):u(!1))}const p=y=>{y.key==="Escape"&&u(!1)};t.useEffect(()=>(document.addEventListener("keydown",p),document.addEventListener("mousedown",m),()=>{document.removeEventListener("keydown",p),document.removeEventListener("mousedown",m)}),[]);const{styles:h,attributes:E}=gt.usePopper(_.current,d.current,{modifiers:e.modifiers?Wt(e.modifiers):[],placement:l}),b=i.default(et.popover,o,{[et["popover--visible"]]:s});return t.createElement(t.Fragment,null,t.createElement("div",{ref:_},a()),t.createElement("div",g({ref:d,className:b,style:h.popper},E.popper),r))};var Q=(e=>(e.Normal="normal",e.Error="error",e.Success="success",e))(Q||{}),ee=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(ee||{});const Yt=["normal","error","success"],Ht=e=>Math.min(Math.max(e,0),100);function jt(e,a=0){return e===Q.Error?0:Ht(parseInt(a.toString(),10))}function Ut(e,a){return!Yt.includes(e)&&a>=100?Q.Normal:e||Q.Normal}var te={"progress-circle":"lc-ProgressCircle-module__progress-circle___NRHCi","progress-circle--small":"lc-ProgressCircle-module__progress-circle--small___8FVwG","progress-circle--medium":"lc-ProgressCircle-module__progress-circle--medium___XlzEX","progress-circle--large":"lc-ProgressCircle-module__progress-circle--large___qxa2y","progress-circle__bg-line--normal":"lc-ProgressCircle-module__progress-circle__bg-line--normal___nDNwj","progress-circle__bg-line--success":"lc-ProgressCircle-module__progress-circle__bg-line--success___1aP-O","progress-circle__bg-line--error":"lc-ProgressCircle-module__progress-circle__bg-line--error___oqMZL","progress-circle__indicator--normal":"lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX","progress-circle__indicator--success":"lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR","progress-circle__indicator--error":"lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9","progress-circle--error":"lc-ProgressCircle-module__progress-circle--error___2AA9K","progress-circle__bg-line":"lc-ProgressCircle-module__progress-circle__bg-line___12YrE","progress-circle--success":"lc-ProgressCircle-module__progress-circle--success___hH5jv","progress-circle--normal":"lc-ProgressCircle-module__progress-circle--normal___dFneQ"};const Jt={[ee.Small]:2,[ee.Medium]:3,[ee.Large]:4},Xt={[ee.Small]:15,[ee.Medium]:36,[ee.Large]:56},re="progress-circle",Kt=t.forwardRef((_,n)=>{var d=_,{status:e=Q.Normal,percent:a,className:r,size:o=ee.Medium}=d,l=w(d,["status","percent","className","size"]);const s=Ut(e,a),u=jt(s,a),m=Jt[o],p=Xt[o],h=i.default(te[re],{[te[`${re}--${o}`]]:o,[te[`${re}--error`]]:s===Q.Error,[te[`${re}--success`]]:s===Q.Success,[te[`${re}--normal`]]:s===Q.Normal},r),E=2*Math.PI*((p-m)/2),b={strokeDasharray:E.toFixed(3),strokeDashoffset:`${((100-u)/100*E).toFixed(3)}px`},y=`${p/2} ${p/2} ${p} ${p}`;return t.createElement("div",g({className:h,ref:n,role:"progressbar"},l),t.createElement("svg",{viewBox:y},t.createElement("circle",{className:te[`${re}__bg-line--${e}`],cx:p,cy:p,r:(p-m)/2,fill:"none",strokeWidth:m}),t.createElement("circle",{className:te[`${re}__indicator--${e}`],style:b,cx:p,cy:p,r:(p-m)/2,fill:"none",strokeWidth:m})))});var A={"promo-banner":"lc-PromoBanner-module__promo-banner___-mGpq","promo-banner__content":"lc-PromoBanner-module__promo-banner__content___kRWar","promo-banner__wrapper":"lc-PromoBanner-module__promo-banner__wrapper___I-8cl","promo-banner__header":"lc-PromoBanner-module__promo-banner__header___ebYHW","promo-banner__img":"lc-PromoBanner-module__promo-banner__img___eaShb","promo-banner__button-text":"lc-PromoBanner-module__promo-banner__button-text___taYKa","promo-banner--light":"lc-PromoBanner-module__promo-banner--light___eJxOR","promo-banner--small":"lc-PromoBanner-module__promo-banner--small___7sWLV","promo-banner__footer":"lc-PromoBanner-module__promo-banner__footer___8OjvH","promo-banner--medium":"lc-PromoBanner-module__promo-banner--medium___NeeoJ","promo-banner--large":"lc-PromoBanner-module__promo-banner--large___pMiCU","promo-banner__close-icon":"lc-PromoBanner-module__promo-banner__close-icon___GowBL"};const z="promo-banner",Zt=({className:e,buttonText:a,children:r,header:o,img:l,light:n=!1,linkText:_,size:d="small",onButtonClick:s,onClose:u,onLinkClick:m})=>{const p=i.default(A[z],{[A[`${z}--light`]]:n,[A[`${z}--${d}`]]:d},e),h=(a||_)&&d==="large",E=(a||_)&&d!=="large",b=t.createElement("div",{className:A[`${z}__footer`]},a&&t.createElement(Ce,{kind:"primary",size:"compact",onClick:s,className:A[`${z}__button-text`]},a),_&&t.createElement(Ce,{size:"compact",kind:"text",onClick:m},_));return t.createElement("div",{className:p},t.createElement("div",{className:A[`${z}__content`]},l&&t.createElement("img",{src:l,className:A[`${z}__img`]}),t.createElement("div",{className:A[`${z}__wrapper`]},t.createElement("div",{className:A[`${z}__header`]},o),t.createElement("div",null,r),E&&b),h&&b),u&&t.createElement("button",{type:"button",className:A[`${z}__close-icon`],onClick:u},t.createElement(G,{source:v.Close,size:H.Large})))};var U={"radio-button":"lc-RadioButton-module__radio-button___WaToM","radio-button__label":"lc-RadioButton-module__radio-button__label___i7ygg","radio-button__circle":"lc-RadioButton-module__radio-button__circle___wimWA","radio-button__inner-circle":"lc-RadioButton-module__radio-button__inner-circle___qkRVf","radio-button__text":"lc-RadioButton-module__radio-button__text___mT8c0","radio-button__input":"lc-RadioButton-module__radio-button__input___7OTAK","radio-button__helper":"lc-RadioButton-module__radio-button__helper___r8gJJ","radio-button--selected":"lc-RadioButton-module__radio-button--selected___s9lqj","radio-button--disabled":"lc-RadioButton-module__radio-button--disabled___wHSA7"};const J="radio-button",Qt=_=>{var d=_,{children:e,className:a="",description:r,checked:o,disabled:l}=d,n=w(d,["children","className","description","checked","disabled"]);const s=i.default(U[J],a,{[U[`${J}--selected`]]:o,[U[`${J}--disabled`]]:l});return t.createElement("div",{className:s},t.createElement("label",{className:U[`${J}__label`]},t.createElement("div",{className:U[`${J}__circle`]},t.createElement("span",{className:U[`${J}__inner-circle`]}),t.createElement("input",x(g({className:U[`${J}__input`]},n),{type:"radio",checked:o,disabled:l}))),t.createElement(S,{as:"div",size:"md",className:U[`${J}__text`]},e)),r&&t.createElement(de,{className:U[`${J}__helper`]},r))};var X={switch:"lc-Switch-module__switch___AaA2k","switch__track--enabled":"lc-Switch-module__switch__track--enabled___sy4Xl","switch__track--disabled":"lc-Switch-module__switch__track--disabled___HkDhl","switch--basic":"lc-Switch-module__switch--basic___jKO4n","switch--compact":"lc-Switch-module__switch--compact___OGFIX",switch__input:"lc-Switch-module__switch__input___NiiOR",switch__container:"lc-Switch-module__switch__container___79F7W",switch__track:"lc-Switch-module__switch__track___2wr2M",switch__slider:"lc-Switch-module__switch__slider___WHd--","switch__slider--basic":"lc-Switch-module__switch__slider--basic___OMKTp","switch__slider--basic--enabled":"lc-Switch-module__switch__slider--basic--enabled___sh9jo","switch__slider--basic--disabled":"lc-Switch-module__switch__slider--basic--disabled___GSTO9","switch__slider--compact":"lc-Switch-module__switch__slider--compact___uZ-lS","switch__slider--compact--enabled":"lc-Switch-module__switch__slider--compact--enabled___04TFA","switch__slider--compact--disabled":"lc-Switch-module__switch__slider--compact--disabled___Vqznr"};const q="switch",er=u=>{var m=u,{className:e="",defaultOn:a=!1,disabled:r=!1,name:o=q,on:l,onChange:n=ke,size:_="basic",innerRef:d}=m,s=w(m,["className","defaultOn","disabled","name","on","onChange","size","innerRef"]);const p=()=>l!==void 0?l:a,[h,E]=t.useState(p());t.useEffect(()=>{l!==void 0&&E(l)},[l]);const b=h?"enabled":"disabled",y=i.default(X[q],X[`${q}--${_}`],e),k=f=>{if(n!==ke){n(f,h);return}f.stopPropagation(),E(Y=>!Y)};return t.createElement("span",{className:y},t.createElement("input",g({type:"checkbox",className:X[`${q}__input`],onChange:k,checked:h,name:o,ref:d,disabled:r,"test-id":"foo"},s)),t.createElement("span",{className:X[`${q}__container`]},t.createElement("span",{className:i.default(X[`${q}__track`],X[`${q}__track--${b}`])}),t.createElement("span",{className:i.default(X[`${q}__slider`],X[`${q}__slider--${_}`],X[`${q}__slider--${_}--${b}`])})))};var Ie={tab:"lc-Tab-module__tab___fME7u",tab__description:"lc-Tab-module__tab__description___JGXU6","tab--selected":"lc-Tab-module__tab--selected___c0EkL"};const Fe="tab",tr=n=>{var _=n,{children:e,className:a,description:r,isSelected:o}=_,l=w(_,["children","className","description","isSelected"]);return t.createElement(S,x(g({},l),{as:l.href?"a":"button",size:"md",bold:o,className:i.default(Ie[Fe],a,o&&Ie[`${Fe}--selected`])}),e,r&&t.createElement(S,{as:"span",size:"md",className:Ie[`${Fe}__description`]},"(",r,")"))};var tt={tabs:"lc-TabsWrapper-module__tabs___Y2xyD",tabs__list:"lc-TabsWrapper-module__tabs__list___i6tVO"};const rt="tabs",rr=({className:e,children:a})=>t.createElement("div",{className:i.default(tt[rt],e)},a),or=({className:e,children:a})=>t.createElement("div",{className:i.default(tt[`${rt}__list`],e)},a);var W={tag:"lc-Tag-module__tag___1QRVY","tag--success":"lc-Tag-module__tag--success___P2hXQ",tag__remove:"lc-Tag-module__tag__remove___UmtrW","tag--error":"lc-Tag-module__tag--error___1cjsm","tag--warning":"lc-Tag-module__tag--warning___PstMG","tag--info":"lc-Tag-module__tag--info___RTH0C","tag--medium":"lc-Tag-module__tag--medium___l5-KI","tag--large":"lc-Tag-module__tag--large___ytC6Y","tag--outline":"lc-Tag-module__tag--outline___aZXtr",icon:"lc-Tag-module__icon___2Z-35","tag--text-white":"lc-Tag-module__tag--text-white___x0fnD","tag--text-black":"lc-Tag-module__tag--text-black___dUvmD","tag--with-icon":"lc-Tag-module__tag--with-icon___ZlkvT","tag--dismissible":"lc-Tag-module__tag--dismissible___Qobyr",tag__icon:"lc-Tag-module__tag__icon___tZoQ9",tag__avatar:"lc-Tag-module__tag__avatar___U4c-P"};const V="tag",ar=e=>e?Ge.getContrast(e,"#FFFFFF")>4.5?"text-white":"text-black":"",ot=p=>{var h=p,{className:e="",children:a,dismissible:r=!1,size:o="medium",kind:l="default",onRemove:n,outline:_=!1,icon:d,avatar:s,customColor:u}=h,m=w(h,["className","children","dismissible","size","kind","onRemove","outline","icon","avatar","customColor"]);const E=i.default(W[V],e,W[`${V}--${o}`],W[`${V}--${l}`],{[W[`${V}--dismissible`]]:r,[W[`${V}--outline`]]:_,[W[`${V}--with-icon`]]:!!d||!!s,[W[`${V}--${ar(u)}`]]:!!u}),b=()=>u?_?{style:{backgroundColor:"transparent",color:u,borderColor:u}}:{style:{backgroundColor:u}}:{},y=()=>{if(!!u)return _?u:Ge.getContrast(u,"#FFFFFF")>4.5?"#FFFFFF":"#000000"};return t.createElement(S,x(g(g({className:E},m),b()),{as:"div",size:"md"}),s&&t.createElement("img",{className:W[`${V}__avatar`],src:s,alt:"tag-avatar","data-testid":"lc-tag-avatar"})," ",d&&!s&&t.createElement(G,{"data-testid":"lc-tag-icon",className:W[`${V}__icon`],source:d,size:H.Small,customColor:y()}),a,r&&t.createElement("button",{title:"Remove",onClick:n,type:"button",className:W[`${V}__remove`]},t.createElement(G,{source:v.Close,size:H.Medium,customColor:y()})))},lr=({className:e="",innerEditableRef:a,inputRef:r,change:o,remove:l,value:n})=>{const[_,d]=t.useState(!1),s=()=>a.current,u=()=>{const b=s();return b?b.innerText:""},m=()=>{r&&r.current&&r.current.focus()},p=b=>{if(b.key===M.enter){b.preventDefault(),m();return}b.key===M.backspace&&u()===""&&(d(!0),l(),m())},h=()=>{const b=s();if(!(_||!b)){if(b.innerText===""){l();return}o(b.innerText)}},E=b=>{b.preventDefault();const y=b.clipboardData.getData("text/plain");document.execCommand("insertHTML",!1,Oe.default(y))};return t.createElement("div",{ref:a,className:e,contentEditable:!0,onPaste:E,onBlur:h,onKeyDown:p,dangerouslySetInnerHTML:{__html:Oe.default(n)}})};var be={"tag-input":"lc-TagInput-module__tag-input___CLVY-","tag-input--error":"lc-TagInput-module__tag-input--error___RP0SB","tag-input__input":"lc-TagInput-module__tag-input__input___dgEYB","tag-input__input--medium":"lc-TagInput-module__tag-input__input--medium___DYF7X","tag-input__input--large":"lc-TagInput-module__tag-input__input--large___G6iEO","tag-input__tag__content":"lc-TagInput-module__tag-input__tag__content___x95-M"};const _r="tag-input__tag",cr=({children:e,index:a,remove:r,validator:o,inputRef:l,update:n,size:_})=>{const d=t.useMemo(()=>o!==void 0?o(e):!0,[e,o]),s=t.useRef(null),u=()=>r(a);return t.createElement(ot,{kind:d?"default":"error",dismissible:!0,size:_,onRemove:u},t.createElement(lr,{value:e,inputRef:l,innerEditableRef:s,className:be[`${_r}__content`],change:m=>n(a,m),remove:u,validator:o}))},we="tag-input",nr=[M.enter,M.spacebar,M.tab,M.semicolon,M.comma],sr=[M.backspace,M.delete],at=({tags:e,onChange:a,validator:r,error:o,placeholder:l,size:n="medium"})=>{const _=i.default(be[we],{[be[`${we}--error`]]:o}),d=i.default(be[`${we}__input`],be[`${we}__input--${n}`]),[s,u]=t.useState(""),m=t.useRef(null),p=f=>{a([...e||[],f]),u("")},h=f=>{const N=[...e||[]];N.splice(f,1),a(N)},E=f=>u(f.target.value),b=f=>{if(nr.includes(f.key)){if(f.preventDefault(),s==="")return;p(s)}else if(sr.includes(f.key)){if(s!==""||!(e!=null&&e.length))return;h(e.length-1)}},y=(f,N)=>{const Y=[...e||[]];Y.reduce((Pe,$,O)=>Pe+($===N&&O!==f?1:0),0)>0?Y.splice(f,1):Y[f]=N,a(Y)},k=f=>{f.preventDefault();const Y=f.clipboardData.getData("text/plain").split(/[\s,;\n]+/);a([...e||[],...Y])};return t.createElement(t.Fragment,null,t.createElement("div",{className:_},e==null?void 0:e.map((f,N)=>t.createElement(cr,{index:N,key:`${N}${f}`,update:y,remove:h,inputRef:m,validator:r,size:n},f)),t.createElement("input",{ref:m,className:d,placeholder:l,value:s,onChange:E,onKeyDown:b,onPaste:k})),o&&t.createElement(ve,null,o))},dr=/^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i,ir="name@company.com",ur=e=>dr.test(e),mr=({tags:e,onChange:a,error:r,placeholder:o=ir,size:l})=>t.createElement(at,{tags:e,error:r,onChange:a,placeholder:o,validator:ur,size:l});var B={toast:"lc-Toast-module__toast___j5Amn",toast__content:"lc-Toast-module__toast__content___HjaNw",toast__icon:"lc-Toast-module__toast__icon___wLbLu",toast__close:"lc-Toast-module__toast__close___O18Lh",toast__actions:"lc-Toast-module__toast__actions___JWu-1","toast__actions-close":"lc-Toast-module__toast__actions-close___xN8YT","toast__actions-custom":"lc-Toast-module__toast__actions-custom___z1UUf","toast--notification":"lc-Toast-module__toast--notification___pDXnc","toast--success":"lc-Toast-module__toast--success___7UC6m","toast--warning":"lc-Toast-module__toast--warning___pteb7","toast--error":"lc-Toast-module__toast--error___trg--","toast--info":"lc-Toast-module__toast--info___IOp44","toast-wrapper":"lc-Toast-module__toast-wrapper___Oiwqp","toast-wrapper--fixed":"lc-Toast-module__toast-wrapper--fixed___QYxRI","toast-wrapper--block":"lc-Toast-module__toast-wrapper--block___j0kGt","toast-wrapper--horizontal-center":"lc-Toast-module__toast-wrapper--horizontal-center___t9AFd","toast-wrapper--horizontal-left":"lc-Toast-module__toast-wrapper--horizontal-left___-GY4I","toast-wrapper--horizontal-right":"lc-Toast-module__toast-wrapper--horizontal-right___VVMgm","toast-wrapper--vertical-top":"lc-Toast-module__toast-wrapper--vertical-top___uBfEG","toast-appear--slide":"lc-Toast-module__toast-appear--slide___G7GAp","toast-appear-active--slide":"lc-Toast-module__toast-appear-active--slide___brfgK","toast-exit--slide":"lc-Toast-module__toast-exit--slide___aqiBq","toast-exit-active--slide":"lc-Toast-module__toast-exit-active--slide___WryMi","toast-wrapper--vertical-bottom":"lc-Toast-module__toast-wrapper--vertical-bottom___erPuH","toast-appear--fade":"lc-Toast-module__toast-appear--fade___oUwHm","toast-appear-active--fade":"lc-Toast-module__toast-appear-active--fade___D3--J","toast-exit--fade":"lc-Toast-module__toast-exit--fade___iDA1p","toast-exit-active--fade":"lc-Toast-module__toast-exit-active--fade___tL7sb"};const oe="toast";var lt=(e=>(e.Success="success",e.Warning="warning",e.Error="error",e.Info="info",e.Notification="notification",e))(lt||{});const pr={success:{source:v.CheckCircleSolid,iconType:T.Inverted},warning:{source:v.Warning},error:{source:v.Error,iconType:T.Inverted},info:{source:v.Info,iconType:T.Inverted},notification:{source:v.Info,iconType:T.Link}},_t=({action:e,className:a,children:r,removable:o,variant:l="info",onClose:n})=>{const _=i.default(B[oe],B[`${oe}--${l}`],a),d=s=>s&&s.closeOnClick&&n?(s.handler(),n()):s.handler();return t.createElement("div",{className:_},t.createElement("div",{className:B[`${oe}__icon`]},t.createElement(G,g({},pr[l]))),t.createElement("div",{className:B[`${oe}__content`]},r),(e||o)&&t.createElement("div",{className:B[`${oe}__actions`]},e&&t.createElement("button",{className:B[`${oe}__actions-custom`],onClick:()=>d(e)},e.label),o&&t.createElement("div",{className:B[`${oe}__actions-close`],"aria-label":"Close toast",onClick:n},t.createElement(G,{source:v.Close,size:H.Small,iconType:["warning","notification"].includes(l)?T.Primary:T.Inverted}))))};var ct=(e=>(e.Left="left",e.Center="center",e.Right="right",e))(ct||{}),nt=(e=>(e.Top="top",e.Bottom="bottom",e))(nt||{});const st=200,ge="toast-wrapper",br=({className:e,toasts:a=[],fixed:r=!0,block:o=!1,animationType:l="slide",verticalPosition:n="top",horizontalPosition:_="center"})=>{const d=i.default(B[ge],{[B[`${ge}--fixed`]]:r,[B[`${ge}--block`]]:!r&&o,[B[`${ge}--horizontal-${_}`]]:_,[B[`${ge}--vertical-${n}`]]:n},e);return t.createElement("div",{className:d},t.createElement(Me.TransitionGroup,{component:null},a.map(({id:s,variant:u,content:m,removable:p,action:h,onClose:E})=>t.createElement(Me.CSSTransition,{key:s,classNames:{enter:B[`toast-appear--${l}`],enterActive:B[`toast-appear-active--${l}`],exit:B[`toast-exit--${l}`],exitActive:B[`toast-exit-active--${l}`]},timeout:st},t.createElement(_t,{variant:u,onClose:E,removable:p,action:h},m)))))};c.ANIMATION_TIME=st,c.ActionModal=Ot,c.Alert=Ct,c.Badge=kt,c.Button=Ce,c.ButtonGroup=xt,c.Card=Dt,c.Checkbox=je,c.CheckboxField=St,c.DesignTokens=vt,c.EmailTagInput=mr,c.FieldDescription=de,c.FieldError=ve,c.FieldGroup=Pt,c.Form=Gt,c.FormGroup=Mt,c.Heading=ne,c.HorizontalPosition=ct,c.Icon=G,c.IconSizeName=H,c.IconTypeName=T,c.InputField=Rt,c.Link=Lt,c.Loader=He,c.Modal=At,c.ModalBase=Se,c.ModalCloseButton=Ze,c.ModalPortal=zt,c.NumericInput=Qe,c.NumericInputField=qt,c.Popover=Vt,c.ProgressCircle=Kt,c.PromoBanner=Zt,c.RadioButton=Qt,c.Switch=er,c.Tab=tr,c.TabsList=or,c.TabsWrapper=rr,c.Tag=ot,c.TagInput=at,c.Text=S,c.TextField=Te,c.Toast=_t,c.ToastWrapper=br,c.Variants=lt,c.VerticalPosition=nt,Object.defineProperties(c,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,9 +1,4 @@
1
1
  import * as React from 'react';
2
- export declare enum AlertSize {
3
- Small = "small",
4
- Medium = "medium",
5
- Large = "large"
6
- }
7
2
  export declare enum AlertType {
8
3
  Info = "info",
9
4
  Warning = "warning",
@@ -12,7 +7,6 @@ export declare enum AlertType {
12
7
  }
13
8
  export interface AlertProps {
14
9
  className?: string;
15
- size?: AlertSize;
16
10
  type?: AlertType;
17
11
  onClose?: () => void;
18
12
  }
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- :root,.lc-legacy-theme{--background: #fff;--surface-basic-default: #fff;--surface-basic-subtle: #f1f6f8;--surface-basic-hover: #e0e8eb;--surface-basic-active: #dae4eb;--surface-basic-disabled: #eaedf0;--surface-secondary-default: #bdc7d1;--surface-secondary-subtle: #e4e8ec;--surface-secondary-hover: #a0a6ab;--surface-secondary-disabled: #dee3e8;--surface-feedback-info: #e5f3ff;--surface-feedback-negative: #fbeaed;--surface-feedback-warning: #fff8e0;--surface-feedback-positive: #e6f4ec;--surface-invert-default: #424d57;--surface-invert-subtle: #677179;--surface-invert-disabled: #a0a6ab;--surface-overlay: rgba(0, 0, 0, .7);--content-default: #424d57;--content-subtle: #677179;--content-disabled: #a0a6ab;--content-white-locked: #fff;--content-invert-default: #fff;--content-invert-subtle: rgba(255, 255, 255, .7);--content-invert-disabled: rgba(255, 255, 255, .5);--border-default: #bdc7d1;--border-subtle: #e4e8ec;--border-hover: #a0a6ab;--border-disabled: #dee3e8;--border-invert-default: rgba(255, 255, 255, .7);--border-invert-subtle: rgba(255, 255, 255, .3);--border-invert-hover: #fff;--border-invert-disabled: rgba(255, 255, 255, .5);--color-action-active: #295fbc;--color-action-hover: #4379d6;--color-action-default: #4284f5;--color-action-default-rgb: 66, 132, 245;--color-action-disabled: #a3c3fa;--color-negative-active: #94383a;--color-negative-hover: #b94648;--color-negative-default: #d74747;--color-negative-disabled: #eba3a3;--color-warning-default: #fbbd04;--color-warning-hover: #f99a01;--color-positive-default: #22aa61;--color-positive-hover: #0d874a;--color-positive-disabled: #90d5c4;--color-bot: #6b5aba;--color-black: #424d57;--color-white: #fff;--decor-blue900: #003288;--decor-blue800: #003fa4;--decor-blue700: #004bc2;--decor-blue600: #0059e1;--decor-blue500: #06f;--decor-blue400: #328dff;--decor-blue300: #68afff;--decor-blue200: #9dceff;--decor-blue100: #daedff;--decor-blue50: #f4faff;--decor-orange900: #6c1d00;--decor-orange800: #842600;--decor-orange700: #9c2e00;--decor-orange600: #b43700;--decor-orange500: #d54300;--decor-orange400: #ff5100;--decor-orange300: #ff8a77;--decor-orange200: #ffb8af;--decor-orange100: #ffe5e3;--decor-orange50: #fff8f7;--decor-yellow900: #493700;--decor-yellow800: #755b00;--decor-yellow700: #c9a100;--decor-yellow600: #e8bb00;--decor-yellow500: #f3c600;--decor-yellow400: #d1aa00;--decor-yellow300: #fed65e;--decor-yellow200: #fedc89;--decor-yellow100: #fff2d6;--decor-yellow50: #fff9ed;--decor-gray950: #131317;--decor-gray900: #1b1b20;--decor-gray800: #29292f;--decor-gray700: #3b3b43;--decor-gray600: #4e4e58;--decor-gray500: #62626d;--decor-gray400: #767680;--decor-gray300: #8d8d95;--decor-gray200: #ababb1;--decor-gray150: #c9c9cd;--decor-gray100: #c9c9cd;--decor-gray75: #eeeeef;--decor-gray50: #e2e2e4;--decor-gray40: #eeeeef;--decor-gray20: #fcfcfc;--decor-green900: #00431a;--decor-green800: #005321;--decor-green700: #006329;--decor-green600: #007331;--decor-green500: #00893c;--decor-green400: #00a449;--decor-green300: #00c057;--decor-green200: #7edd92;--decor-green100: #e4f4ed;--decor-green50: #f3fcf4;--decor-red900: #790002;--decor-red800: #930002;--decor-red700: #ae0003;--decor-red600: #ca0005;--decor-red500: #ee0007;--decor-red400: #ff4c4d;--decor-red300: #ff8889;--decor-red200: #ffb7b7;--decor-red100: #ffe5e5;--decor-red50: #fff8f8;--decor-purple900: #50009c;--decor-purple800: #6100bd;--decor-purple700: #7400df;--decor-purple600: #8609ff;--decor-purple500: #9146ff;--decor-purple400: #a372ff;--decor-purple300: #b99aff;--decor-purple200: #d1c0ff;--decor-purple100: #eee8ff;--decor-purple50: #faf8ff}*[class^=lc-]{box-sizing:border-box;font-family:Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.lc-Typography-module__heading-xl___nhr-6{font-size:32px;font-style:normal;font-weight:600;letter-spacing:0;line-height:40px}.lc-Typography-module__heading-lg___XYF7l{font-size:24px;font-style:normal;font-weight:600;letter-spacing:0;line-height:32px}.lc-Typography-module__heading-md___wHOIs{font-size:20px;font-style:normal;font-weight:600;letter-spacing:0;line-height:28px}.lc-Typography-module__heading-sm___nBmTV{font-size:18px;font-style:normal;font-weight:600;letter-spacing:0;line-height:24px}.lc-Typography-module__heading-xs___VcZBs{font-size:16px;font-style:normal;font-weight:600;letter-spacing:0;line-height:24px}.lc-Typography-module__caps___c3eNJ{font-size:12px;font-style:normal;font-weight:400;letter-spacing:.2px;line-height:20px;text-transform:uppercase}.lc-Typography-module__caps--bold___OZovw{font-weight:600}.lc-Typography-module__paragraph-md___UGoqq{font-size:15px;font-style:normal;font-weight:400;letter-spacing:0;line-height:22px}.lc-Typography-module__paragraph-md--bold___mWcMG{font-weight:600}.lc-Typography-module__paragraph-md--underline___Fv6zM{text-decoration-line:underline}.lc-Typography-module__paragraph-md--strike___yLGHh{text-decoration-line:line-through}.lc-Typography-module__paragraph-sm___QIEFL{font-size:14px;font-style:normal;font-weight:400;letter-spacing:0;line-height:20px}.lc-Typography-module__paragraph-sm--bold___fAjI5{font-weight:600}.lc-Typography-module__paragraph-xs___OUooD{font-size:12px;font-style:normal;font-weight:400;letter-spacing:.2px;line-height:16px}.lc-Typography-module__paragraph-xs--bold___z7om7{font-weight:600}.lc-Icon-module__icon___tw31R{align-items:center;display:flex}.lc-Icon-module__icon--primary___JJnBV{color:var(--content-default)}.lc-Icon-module__icon--subtle___sZIzL{color:var(--content-subtle)}.lc-Icon-module__icon--inverted___zA9QC{color:var(--content-invert-default)}.lc-Icon-module__icon--inverted-subtle___6UwBT{color:var(--content-invert-subtle)}.lc-Icon-module__icon--link___Jwkw9{color:var(--color-action-default)}.lc-Icon-module__icon--success___MKdz3{color:var(--color-positive-default)}.lc-Icon-module__icon--warning___5YCSW{color:var(--color-warning-default)}.lc-Icon-module__icon--error___CiJCD{color:var(--color-negative-default)}.lc-Icon-module__icon--disabled--primary___E0nee,.lc-Icon-module__icon--disabled--subtle___l-hK4{color:var(--content-disabled)}.lc-Icon-module__icon--disabled--inverted___5SBAf,.lc-Icon-module__icon--disabled--inverted-subtle___w-NBk{color:var(--content-invert-disabled)}.lc-Icon-module__icon--disabled--link___sVJOa{color:var(--color-action-disabled)}.lc-Icon-module__icon--disabled--success___sG-7d{color:var(--color-positive-disabled)}.lc-Icon-module__icon--disabled--warning___8ko1e{color:var(--color-warning-default)}.lc-Icon-module__icon--disabled--error___9KbVo{color:var(--color-negative-disabled)}.lc-Alert-module__alert___HBTns{box-sizing:border-box;overflow:hidden;padding:20px;position:relative;width:100%;word-break:break-word}.lc-Alert-module__alert__content-text___x2Un5{color:var(--content-default)}.lc-Alert-module__alert__content___9nZdf{display:flex;justify-content:flex-start;width:100%}.lc-Alert-module__alert--small___Fyk-v{max-width:400px}.lc-Alert-module__alert--small___Fyk-v .lc-Alert-module__alert__content___9nZdf{flex-direction:column}.lc-Alert-module__alert--small___Fyk-v .lc-Alert-module__alert__content-text___x2Un5{margin:14px 0 0;max-width:246px}.lc-Alert-module__alert--medium___ItZWT{max-width:800px}.lc-Alert-module__alert--medium___ItZWT .lc-Alert-module__alert__content-text___x2Un5{margin:0 30px 0 16px;max-width:640px}.lc-Alert-module__alert--large___IH9yM .lc-Alert-module__alert__content-text___x2Un5{margin:0 30px 0 16px;max-width:720px}.lc-Alert-module__alert__close-icon___rYxVy{background-color:transparent;border:0;box-shadow:none;height:24px;overflow:hidden;padding:0;position:absolute;right:12px;top:12px;width:24px}.lc-Alert-module__alert--info___GmIGN{background-color:var(--surface-feedback-info);box-shadow:inset 0 3px 0 0 var(--color-action-default)}.lc-Alert-module__alert--warning___MubhD{background-color:var(--surface-feedback-warning);box-shadow:inset 0 3px 0 0 var(--color-warning-default)}.lc-Alert-module__alert--success___fPtlZ{background-color:var(--surface-feedback-positive);box-shadow:inset 0 3px 0 0 var(--color-positive-default)}.lc-Alert-module__alert--error___DKPo0{background-color:var(--surface-feedback-negative);box-shadow:inset 0 3px 0 0 var(--color-negative-default)}.lc-Alert-module__alert__icon___8TaAH{flex-shrink:0}.lc-Badge-module__badge___GhLnu{background-color:var(--color-negative-default);border-radius:18px;box-sizing:border-box;color:var(--content-invert-default);display:inline-block;font-size:10px;font-weight:600;height:18px;line-height:18px;min-width:18px;padding:0 3px;text-align:center}.lc-Badge-module__badge___GhLnu+.lc-Badge-module__badge___GhLnu{margin-left:4px}.lc-Badge-module__badge--secondary___JjNIJ{background-color:var(--surface-secondary-default);color:var(--surface-invert-default)}@keyframes lc-Loader-module__rotate___Tlni-{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.lc-Loader-module__loader___LRflD{align-items:center;display:inline-flex;flex-direction:row;flex-wrap:nowrap}.lc-Loader-module__loader__spinner___l3C1g{flex-shrink:0;height:36px;width:36px}.lc-Loader-module__loader__spinner--small___dGFFt{height:15px;width:15px}.lc-Loader-module__loader__spinner--small___dGFFt [class*=spinner-circle]{border-width:2px}.lc-Loader-module__loader__spinner--medium___J-ki0{height:36px;width:36px}.lc-Loader-module__loader__spinner--medium___J-ki0 [class*=spinner-circle]{border-width:3px}.lc-Loader-module__loader__spinner--large___Poqq7{height:56px;width:56px}.lc-Loader-module__loader__spinner--large___Poqq7 [class*=spinner-circle]{border-width:4px}.lc-Loader-module__loader__spinner-circle___ApBUO{animation:lc-Loader-module__rotate___Tlni- 1s infinite linear;border-color:var(--surface-secondary-subtle);border-radius:50%;border-style:solid;border-top-color:var(--color-action-default);border-width:3px;box-sizing:border-box;height:100%;width:100%}.lc-Loader-module__loader__label___R74f6{color:var(--content-subtle);margin-left:10px}.lc-Button-module__btn___aijZJ{align-items:center;border-radius:4px;border-style:solid;border-width:1px;cursor:pointer;display:inline-flex;font-size:15px;font-weight:600;height:36px;justify-content:center;min-width:36px;padding:8px 16px;position:relative;text-align:center;text-decoration:none;transition-duration:.2s;transition-property:opacity,border,color,background-color,box-shadow;transition-timing-function:cubic-bezier(.64,0,.35,1);user-select:none}.lc-Button-module__btn___aijZJ:focus,.lc-Button-module__btn___aijZJ:hover,.lc-Button-module__btn___aijZJ:active{outline:0}.lc-Button-module__btn___aijZJ:focus{box-shadow:0 0 1px 2px rgba(var(--color-action-default-rgb),.7)}.lc-Button-module__btn--disabled___lXBav{cursor:not-allowed}.lc-Button-module__btn--icon-only___bF5pW{padding:6px}.lc-Button-module__btn--icon-only___bF5pW .lc-Button-module__btn__icon--left___H68zu,.lc-Button-module__btn--icon-only___bF5pW .lc-Button-module__btn__icon--right___fHr3D{margin:0}.lc-Button-module__btn--full-width___kdbAr{width:100%}.lc-Button-module__btn--basic___Jc2gD{background-color:var(--surface-basic-default);border-color:var(--color-action-default);color:var(--color-action-default)}.lc-Button-module__btn--basic___Jc2gD:hover{background-color:var(--surface-basic-subtle);color:var(--color-action-hover)}.lc-Button-module__btn--basic___Jc2gD:active{background-color:var(--surface-feedback-info);color:var(--color-action-hover)}.lc-Button-module__btn--basic___Jc2gD[disabled]{background-color:inherit;border-color:var(--color-action-disabled);color:var(--color-action-disabled)}.lc-Button-module__btn--primary___ajbjQ{background-color:var(--color-action-default);border-color:var(--color-action-default);color:var(--content-invert-default)}.lc-Button-module__btn--primary___ajbjQ:hover{background-color:var(--color-action-hover);border-color:var(--color-action-hover)}.lc-Button-module__btn--primary___ajbjQ:active{background-color:var(--color-action-active);border-color:var(--color-action-active)}.lc-Button-module__btn--primary___ajbjQ[disabled]{background-color:var(--color-action-disabled);border-color:var(--color-action-disabled)}.lc-Button-module__btn--secondary___iWzE0{background-color:var(--surface-basic-default);border-color:var(--surface-secondary-default);color:var(--content-default)}.lc-Button-module__btn--secondary___iWzE0:hover{background-color:var(--surface-basic-hover);border-color:var(--surface-secondary-hover)}.lc-Button-module__btn--secondary___iWzE0:active{background-color:var(--surface-feedback-info);border-color:var(--color-action-default);color:var(--color-action-default)}.lc-Button-module__btn--secondary___iWzE0[disabled]{background-color:inherit;border-color:var(--border-disabled);color:var(--content-disabled)}.lc-Button-module__btn--destructive___-kLCl{background-color:var(--color-negative-default);border-color:var(--color-negative-default);color:var(--content-invert-default)}.lc-Button-module__btn--destructive___-kLCl:hover{background-color:var(--color-negative-hover);border-color:var(--color-negative-hover)}.lc-Button-module__btn--destructive___-kLCl:active{background-color:var(--color-negative-active);border-color:var(--color-negative-active)}.lc-Button-module__btn--destructive___-kLCl[disabled]{background-color:var(--color-negative-disabled);border-color:var(--color-negative-disabled)}.lc-Button-module__btn--compact___4eptQ{height:32px;min-width:32px;padding:6px 16px}.lc-Button-module__btn--compact___4eptQ.lc-Button-module__btn--icon-only___bF5pW{padding:4px}.lc-Button-module__btn--large___lb-z6{height:42px;min-width:42px;padding:11px 16px}.lc-Button-module__btn--large___lb-z6.lc-Button-module__btn--icon-only___bF5pW{padding:9px}.lc-Button-module__btn--text___WA8OL,.lc-Button-module__btn--plain___eOPui,.lc-Button-module__btn--plain-light___eS9em{background-color:transparent;border-color:transparent;color:var(--color-action-default)}.lc-Button-module__btn--text___WA8OL:hover,.lc-Button-module__btn--plain___eOPui:hover,.lc-Button-module__btn--plain-light___eS9em:hover{color:var(--color-action-hover)}.lc-Button-module__btn--text___WA8OL[disabled],.lc-Button-module__btn--plain___eOPui[disabled],.lc-Button-module__btn--plain-light___eS9em[disabled]{color:var(--color-action-disabled)}.lc-Button-module__btn--plain-light___eS9em{font-weight:400}.lc-Button-module__btn--plain___eOPui{font-weight:600}.lc-Button-module__btn--plain___eOPui,.lc-Button-module__btn--plain-light___eS9em{border:0;height:auto;min-width:auto;padding:0}.lc-Button-module__btn--plain___eOPui:hover,.lc-Button-module__btn--plain___eOPui:focus,.lc-Button-module__btn--plain-light___eS9em:hover,.lc-Button-module__btn--plain-light___eS9em:focus{box-shadow:none;text-decoration:underline}.lc-Button-module__btn--plain___eOPui:disabled,.lc-Button-module__btn--plain-light___eS9em:disabled{text-decoration:none}.lc-Button-module__btn--loading___ZAgjv{cursor:progress;transition:all .2s cubic-bezier(.64,0,.35,1)}.lc-Button-module__btn--loading___ZAgjv>*{opacity:0}.lc-Button-module__btn--loading___ZAgjv .lc-Button-module__btn__loader___c8zZz{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:center;left:0;opacity:1;padding:inherit;position:absolute;top:0;width:100%}.lc-Button-module__btn--loading___ZAgjv .lc-Button-module__btn__loader___c8zZz>*{color:inherit;font-weight:inherit;margin:0 5px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.lc-Button-module__btn__content___wefl2{margin-top:-2px}.lc-Button-module__btn__icon___GVExB{color:inherit;display:inline-block;height:20px;line-height:1;width:20px}.lc-Button-module__btn__icon--left___H68zu{margin-left:-4px;margin-right:5px;order:-1}.lc-Button-module__btn__icon--right___fHr3D{margin-left:5px;margin-right:-4px;order:1}.lc-ButtonGroup-module__btn-group___R-lZQ{border:1px solid var(--border-subtle);border-radius:4px;display:inline-flex;flex-direction:row;padding:3px;vertical-align:middle}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn___bXPrU{border-color:transparent;color:var(--content-default)}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn--active___VAc37{background-color:var(--surface-basic-active)}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn--compact___t1whe{height:24px}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn--medium___XFRBP{height:28px}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn--large___OtNUz{height:34px}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn___bXPrU+.lc-ButtonGroup-module__btn___bXPrU{margin-left:2px}.lc-Card-module__card___GqMm2{background-color:var(--surface-basic-default);border:solid 1px var(--border-subtle);border-radius:4px;color:var(--content-default);margin-top:8px;overflow:hidden;padding:16px}.lc-Card-module__card__title___1YjAR{align-items:center;display:flex;margin-bottom:14px}.lc-Card-module__card__text___-jYlF{color:var(--content-default);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.lc-Card-module__card__img___teLC8{border-radius:4px;display:inline-block;height:24px;margin-right:10px;width:24px}.lc-Checkbox-module__checkbox___G7nTf{display:inline-block}.lc-Checkbox-module__checkbox__label___-o01x{align-items:center;cursor:pointer;display:inline-flex;flex:0 1 auto;width:100%}.lc-Checkbox-module__checkbox__square___MHUyd{align-items:center;background-color:var(--surface-basic-default);border:1px solid var(--border-default);border-radius:4px;box-sizing:border-box;display:flex;height:16px;justify-content:center;margin-right:8px;position:relative;transition:all .2s ease;width:16px}.lc-Checkbox-module__checkbox__checkmark___16pfY{opacity:0;pointer-events:none;transition:all .2s ease}.lc-Checkbox-module__checkbox--selected___S2vqY .lc-Checkbox-module__checkbox__square___MHUyd{background-color:var(--color-action-default);border-color:var(--color-action-default)}.lc-Checkbox-module__checkbox--selected___S2vqY .lc-Checkbox-module__checkbox__checkmark___16pfY{opacity:1}.lc-Checkbox-module__checkbox--selected___S2vqY:hover .lc-Checkbox-module__checkbox__input___YLbVF:checked+.lc-Checkbox-module__checkbox__square___MHUyd{background-color:var(--color-action-hover);border-color:var(--color-action-hover)}.lc-Checkbox-module__checkbox__text___P2SIq{color:var(--content-default);flex:1 0 auto}.lc-Checkbox-module__checkbox__input___YLbVF{display:none;height:100%;width:100%}.lc-Checkbox-module__checkbox__input___YLbVF:checked+.lc-Checkbox-module__checkbox__square___MHUyd{background-color:var(--color-action-default);border-color:var(--color-action-default)}.lc-Checkbox-module__checkbox__input___YLbVF:checked+.lc-Checkbox-module__checkbox__square___MHUyd .lc-Checkbox-module__checkbox__checkmark___16pfY{opacity:1}.lc-Checkbox-module__checkbox__input___YLbVF:focus+.lc-Checkbox-module__checkbox__square___MHUyd{box-shadow:0 0 1px 2px #4284f5b3}.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__square___MHUyd{background-color:var(--surface-basic-disabled);border-color:var(--border-disabled);opacity:.4}.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__label___-o01x,.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__input___YLbVF,.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__helper___YSJ-n,.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__text___P2SIq{color:var(--content-disabled);cursor:not-allowed}.lc-Checkbox-module__checkbox__helper___YSJ-n{cursor:default;margin-left:24px}.lc-FieldDescription-module__field-description___IcRDH{color:var(--content-subtle);display:block;margin:4px 0 0}.lc-FieldError-module__field-error___IDkPT{color:var(--color-negative-default);display:block;margin:4px 0 0}.lc-FieldGroup-module__field-group___gy8lp{align-items:flex-start;display:flex;flex-direction:column;margin:-8px 0}.lc-FieldGroup-module__field-group___gy8lp>*{padding:0 0 8px}.lc-FieldGroup-module__field-group--inline___or4qf{flex-direction:row;margin:0 -8px}.lc-FieldGroup-module__field-group--inline___or4qf>*{padding:0 8px}.lc-FieldGroup-module__field-group--stretched___6rkuO>*{width:100%}.lc-Form-module__form___1nOYF{border:0;box-sizing:border-box;margin:0;padding:0}.lc-Form-module__form__header___U4B7t,.lc-Form-module__form__footer___1-sUX{margin-bottom:32px}.lc-Form-module__form__label___spg-J{color:var(--content-default);margin:0 0 16px}.lc-Form-module__form__helper___bhfwS{color:var(--content-default);margin:0}.lc-FormGroup-module__form-group___e2JHa{border-style:none;margin:0 0 32px;min-width:auto;padding:0}.lc-FormGroup-module__form-group__header___DgGmR{margin-bottom:16px}.lc-FormGroup-module__form-group__label___NC-JW{color:var(--content-default);display:block;margin-bottom:4px}.lc-FormGroup-module__form-group__helper___SRuxe{color:var(--content-subtle)}.lc-TextField-module__text-field___bis8c{margin-bottom:20px}.lc-TextField-module__text-field--inline___MPHqg{display:flex;flex-direction:column}.lc-TextField-module__text-field__wrapper--inline___-gOob{display:flex;flex-direction:row;flex-wrap:nowrap}.lc-TextField-module__text-field__label___vpNdg{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;margin-bottom:4px}.lc-TextField-module__text-field__label___vpNdg label{margin-bottom:0}.lc-TextField-module__text-field__label--inline___YSRYX{align-items:center;height:32px;justify-content:center;margin-bottom:0;margin-right:10px}.lc-TextField-module__text-field__label--no-text___XSyn2{justify-content:flex-end;margin-right:0}.lc-TextField-module__text-field__label-wrapper___SNCct{display:flex;flex-grow:1}.lc-TextField-module__text-field__label-adornment___--pgp{align-items:center;align-self:flex-end;display:flex;flex-shrink:0;height:20px;justify-content:flex-end;line-height:20px;margin-left:4px;overflow:hidden;width:20px}.lc-TextField-module__text-field__label-right-node___sdnWg{align-self:flex-end;color:var(--content-default);display:flex;flex-shrink:0;font-size:14px;justify-content:flex-end;line-height:20px;margin-left:5px}.lc-TextField-module__text-field__label-right-node--inline___vMBP2{flex-grow:1;margin-bottom:4px}.lc-TextField-module__text-field__row-break___AnNrI{flex-basis:100%;height:0}.lc-TextField-module__text-field__content___dCkUW{flex-grow:1}.lc-TextField-module__field-label___q8Y-p{color:var(--content-default);display:block;font-size:14px;line-height:20px;margin-bottom:4px}.lc-InputField-module__input-field___A-GHj{background-clip:padding-box;border:1px solid var(--border-default);border-radius:4px;box-sizing:border-box;color:var(--content-default);font-size:15px;line-height:1.2;padding:8px 10px;transition:border .25s ease-in-out;width:100%;will-change:border-color}.lc-InputField-module__input-field___A-GHj::placeholder{color:var(--content-disabled)}.lc-InputField-module__input-field___A-GHj:hover{border-color:var(--border-hover);outline:0}.lc-InputField-module__input-field___A-GHj:focus{border-color:var(--color-action-default);outline:0}.lc-InputField-module__input-field--error___MMchC,.lc-InputField-module__input-field--error___MMchC:focus{border-color:var(--color-negative-default)}.lc-InputField-module__input-field___A-GHj:disabled{color:var(--content-disabled);cursor:not-allowed}.lc-Link-module__link___kqx52{color:var(--color-action-default);cursor:pointer;text-decoration:none}.lc-Link-module__link___kqx52:hover{color:var(--color-action-hover);text-decoration:underline}.lc-Link-module__link___kqx52:active{color:var(--color-action-active)}.lc-Link-module__link--bold___1rGdO{font-weight:600}.lc-Modal-module__modal-base___hbL1U{background-color:var(--surface-basic-default);border-radius:4px;box-shadow:0 20px 60px #0000004d;color:var(--content-default);display:flex;flex-direction:column;margin:10px;max-width:800px;min-width:400px;overflow:hidden;position:relative}.lc-Modal-module__modal-base__overlay___kCQ8t{align-items:center;background-color:var(--surface-overlay);display:none;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:13000}.lc-Modal-module__modal-base__overlay--visible___zUNJL{display:flex}.lc-Modal-module__modal-base__close___gJlgr{align-items:center;background-color:transparent;border-style:none;box-shadow:none;color:var(--content-subtle);cursor:pointer;display:flex;height:24px;justify-content:center;outline:none;padding:0;position:absolute;right:18px;top:18px;width:24px;z-index:1}.lc-Modal-module__modal-base__close___gJlgr:hover{color:var(--content-default)}.lc-Modal-module__modal__header___Fp5VE{background-color:var(--surface-basic-default);box-shadow:inset 0 -1px 0 var(--border-subtle);box-sizing:border-box;color:var(--content-default);padding:20px;width:100%}.lc-Modal-module__modal__heading___G9KVK{color:var(--content-default);margin:0;max-width:calc(100% - 32px);padding:0;text-align:left}.lc-Modal-module__modal__body___M-jmN{background-color:var(--surface-basic-default);box-sizing:border-box;color:var(--content-default);display:flex;flex-direction:column;flex-grow:1;padding:20px;position:relative;width:100%}.lc-Modal-module__modal__footer___2LYdc{box-shadow:inset 0 1px 0 var(--border-subtle);box-sizing:border-box;display:flex;flex-shrink:0;justify-content:flex-end;padding:20px;width:100%}.lc-Modal-module__action-modal___CsRC7{align-items:center;box-sizing:border-box;justify-content:center;padding:52px 20px}.lc-Modal-module__action-modal__heading___m3MuG{color:var(--content-default);font-size:24px;font-weight:600;line-height:1.33;margin:0 0 20px;text-align:center;width:100%}.lc-Modal-module__action-modal__content___gf-R2{color:var(--content-default);font-size:15px;line-height:1.33;text-align:center;width:100%}.lc-Modal-module__action-modal__actions___kpRXD{box-sizing:border-box;display:flex;justify-content:center;margin-top:32px;width:100%}.lc-Modal-module__action-modal__icon___MK5xt{margin-bottom:20px}.lc-NumericInput-module__numeric-input___j1esc{display:inline-block;height:36px;position:relative;width:64px}.lc-NumericInput-module__numeric-input__increment___i3Tys,.lc-NumericInput-module__numeric-input__decrement___3qgn0{align-items:center;background:transparent;border:0;border-left:1px solid var(--border-default);box-sizing:border-box;cursor:pointer;display:flex;height:50%;justify-content:center;padding:0;position:absolute;right:1px;top:1px;width:23px}.lc-NumericInput-module__numeric-input__increment___i3Tys:hover,.lc-NumericInput-module__numeric-input__increment___i3Tys:focus,.lc-NumericInput-module__numeric-input__decrement___3qgn0:hover,.lc-NumericInput-module__numeric-input__decrement___3qgn0:focus{outline:0}.lc-NumericInput-module__numeric-input___j1esc .lc-NumericInput-module__numeric-input__increment___i3Tys:disabled{border-color:var(--border-disabled);cursor:not-allowed}.lc-NumericInput-module__numeric-input___j1esc .lc-NumericInput-module__numeric-input__decrement___3qgn0{border-top:1px solid var(--border-default);bottom:1px;top:auto}.lc-NumericInput-module__numeric-input___j1esc .lc-NumericInput-module__numeric-input__decrement___3qgn0:disabled{border-color:var(--border-disabled);cursor:not-allowed}.lc-NumericInput-module__numeric-input___j1esc input{appearance:textfield;background-clip:padding-box;border:1px solid var(--border-default);border-radius:4px;box-sizing:border-box;color:var(--content-default);height:100%;line-height:36px;padding:0 28px 0 4px;text-align:right;transition:border .25s ease-in-out;width:100%;will-change:border-color}.lc-NumericInput-module__numeric-input___j1esc input::-webkit-outer-spin-button,.lc-NumericInput-module__numeric-input___j1esc input::-webkit-inner-spin-button{appearance:none;margin:0}.lc-NumericInput-module__numeric-input___j1esc input:hover{border-color:var(--border-hover);outline:0}.lc-NumericInput-module__numeric-input___j1esc input:focus{border-color:var(--color-action-default);outline:0}.lc-NumericInput-module__numeric-input___j1esc input:disabled{color:var(--content-disabled);cursor:not-allowed}.lc-NumericInput-module__numeric-input___j1esc input:disabled:hover{border-color:var(--border-disabled)}.lc-NumericInput-module__numeric-input--disabled___yaRvQ{background-color:var(--surface-basic-disabled);color:var(--content-default);cursor:not-allowed}.lc-NumericInput-module__numeric-input___j1esc.lc-NumericInput-module__numeric-input--no-controls___D90rG input{padding:0 4px}.lc-NumericInput-module__numeric-input___j1esc.lc-NumericInput-module__numeric-input--error___TMxRx input,.lc-NumericInput-module__numeric-input___j1esc.lc-NumericInput-module__numeric-input--error___TMxRx input:hover,.lc-NumericInput-module__numeric-input___j1esc.lc-NumericInput-module__numeric-input--error___TMxRx input:focus{border-color:var(--color-negative-default)}.lc-Popover-module__popover___8X1b2{background-color:var(--surface-basic-default);border-radius:4px;box-shadow:0 1px 10px #424d574d;display:none;max-width:336px;min-width:168px}.lc-Popover-module__popover___8X1b2:focus{outline:none}.lc-Popover-module__popover--visible___u5NXB{display:block}.lc-ProgressCircle-module__progress-circle___NRHCi{height:36px;transform:rotate(-90deg);width:36px}.lc-ProgressCircle-module__progress-circle--small___8FVwG{height:15px;width:15px}.lc-ProgressCircle-module__progress-circle--medium___XlzEX{height:36px;width:36px}.lc-ProgressCircle-module__progress-circle--large___qxa2y{height:56px;width:56px}.lc-ProgressCircle-module__progress-circle__bg-line--normal___nDNwj{stroke:var(--color-action-disabled)}.lc-ProgressCircle-module__progress-circle__bg-line--success___1aP-O{stroke:var(--color-positive-disabled)}.lc-ProgressCircle-module__progress-circle__bg-line--error___oqMZL{stroke:var(--color-negative-disabled)}.lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX{stroke:var(--color-action-default);transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR{stroke:var(--color-positive-default);transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9{transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.lc-ProgressCircle-module__progress-circle--error___2AA9K .lc-ProgressCircle-module__progress-circle__bg-line___12YrE{stroke:var(--color-negative-disabled)}.lc-ProgressCircle-module__progress-circle--success___hH5jv .lc-ProgressCircle-module__progress-circle__bg-line___12YrE{stroke:var(--color-positive-disabled)}.lc-ProgressCircle-module__progress-circle--normal___dFneQ .lc-ProgressCircle-module__progress-circle__bg-line___12YrE{stroke:var(--color-action-disabled)}.lc-PromoBanner-module__promo-banner___-mGpq{align-items:center;background-color:var(--surface-basic-subtle);border-radius:4px;box-sizing:border-box;color:var(--content-default);display:flex;font-size:16px;justify-content:space-between;min-width:180px;padding:20px;position:relative;width:100%;word-break:break-word}.lc-PromoBanner-module__promo-banner___-mGpq b{font-weight:600}.lc-PromoBanner-module__promo-banner__content___kRWar{display:flex;flex-direction:row;justify-content:flex-start}.lc-PromoBanner-module__promo-banner__wrapper___I-8cl{display:flex;flex-direction:column}.lc-PromoBanner-module__promo-banner__header___ebYHW{font-weight:600;margin-bottom:8px}.lc-PromoBanner-module__promo-banner__img___eaShb{height:48px;object-fit:contain;width:48px}.lc-PromoBanner-module__promo-banner__button-text___taYKa{margin-right:24px}.lc-PromoBanner-module__promo-banner--light___eJxOR{background-color:var(--surface-basic-default);border:solid 1px var(--border-subtle)}.lc-PromoBanner-module__promo-banner--small___7sWLV{flex-wrap:wrap;max-width:400px}.lc-PromoBanner-module__promo-banner--small___7sWLV .lc-PromoBanner-module__promo-banner__content___kRWar{flex-direction:column}.lc-PromoBanner-module__promo-banner--small___7sWLV .lc-PromoBanner-module__promo-banner__img___eaShb{margin-bottom:12px}.lc-PromoBanner-module__promo-banner--small___7sWLV .lc-PromoBanner-module__promo-banner__footer___8OjvH{display:flex;margin-top:12px}.lc-PromoBanner-module__promo-banner--medium___NeeoJ{flex-wrap:wrap;max-width:800px}.lc-PromoBanner-module__promo-banner--medium___NeeoJ .lc-PromoBanner-module__promo-banner__img___eaShb{margin-right:20px}.lc-PromoBanner-module__promo-banner--medium___NeeoJ .lc-PromoBanner-module__promo-banner__wrapper___I-8cl{max-width:680px}.lc-PromoBanner-module__promo-banner--medium___NeeoJ .lc-PromoBanner-module__promo-banner__footer___8OjvH{display:flex;flex-shrink:0;margin-top:12px}.lc-PromoBanner-module__promo-banner--large___pMiCU{min-width:600px}.lc-PromoBanner-module__promo-banner--large___pMiCU .lc-PromoBanner-module__promo-banner__img___eaShb{margin-right:20px}.lc-PromoBanner-module__promo-banner--large___pMiCU .lc-PromoBanner-module__promo-banner__wrapper___I-8cl{max-width:680px;min-width:180px}.lc-PromoBanner-module__promo-banner--large___pMiCU .lc-PromoBanner-module__promo-banner__footer___8OjvH{align-items:center;display:inline-flex;flex-shrink:0;margin:0 56px}.lc-PromoBanner-module__promo-banner__close-icon___GowBL{background-color:transparent;border:0;box-shadow:none;cursor:pointer;height:24px;overflow:hidden;padding:0;position:absolute;right:12px;top:12px;width:24px}.lc-RadioButton-module__radio-button___WaToM{display:inline-block}.lc-RadioButton-module__radio-button__label___i7ygg{align-items:center;cursor:pointer;display:inline-flex;flex:0 1 auto;width:100%}.lc-RadioButton-module__radio-button__circle___wimWA{background-color:var(--surface-basic-default);border:1px solid var(--border-default);border-radius:16px;box-sizing:border-box;height:16px;margin-right:8px;position:relative;transition:all .2s ease;width:16px}.lc-RadioButton-module__radio-button__inner-circle___qkRVf{background-color:var(--color-action-default);border-radius:8px;height:8px;left:3px;opacity:0;position:absolute;top:3px;transition:all .2s ease;width:8px}.lc-RadioButton-module__radio-button__text___mT8c0{color:var(--content-default);flex:1 0 auto}.lc-RadioButton-module__radio-button__input___7OTAK{cursor:pointer;height:100%;margin:0;opacity:0;width:100%}.lc-RadioButton-module__radio-button__helper___r8gJJ{cursor:default;margin-left:24px}.lc-RadioButton-module__radio-button___WaToM:focus .lc-RadioButton-module__radio-button__circle___wimWA{border-radius:20px;box-shadow:0 0 1px 1.6px #4384f5b3}.lc-RadioButton-module__radio-button--selected___s9lqj .lc-RadioButton-module__radio-button__circle___wimWA{border-color:var(--color-action-default)}.lc-RadioButton-module__radio-button--selected___s9lqj .lc-RadioButton-module__radio-button__inner-circle___qkRVf{opacity:1}.lc-RadioButton-module__radio-button--selected___s9lqj:hover .lc-RadioButton-module__radio-button__circle___wimWA{border-color:var(--color-action-hover)}.lc-RadioButton-module__radio-button--selected___s9lqj:hover .lc-RadioButton-module__radio-button__inner-circle___qkRVf{background-color:var(--color-action-hover)}.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__circle___wimWA{opacity:.4}.lc-RadioButton-module__radio-button--disabled___wHSA7:not(.lc-RadioButton-module__radio-button--selected___s9lqj) .lc-RadioButton-module__radio-button__circle___wimWA{background-color:var(--surface-basic-disabled)}.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__label___i7ygg,.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__input___7OTAK,.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__text___mT8c0,.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__helper___r8gJJ{color:var(--content-disabled);cursor:not-allowed}.lc-Switch-module__switch___AaA2k{display:inline-block;outline:none;position:relative}.lc-Switch-module__switch___AaA2k:hover .lc-Switch-module__switch__track--enabled___sy4Xl{background-color:var(--color-positive-default)}.lc-Switch-module__switch___AaA2k:hover .lc-Switch-module__switch__track--disabled___HkDhl{background-color:var(--surface-secondary-default)}.lc-Switch-module__switch--basic___jKO4n{height:28px;width:44px}.lc-Switch-module__switch--compact___OGFIX{height:16px;width:25px}.lc-Switch-module__switch__input___NiiOR{cursor:pointer;height:100%;margin:0;opacity:0;width:100%}.lc-Switch-module__switch__input___NiiOR:focus+.lc-Switch-module__switch__container___79F7W .lc-Switch-module__switch__track___2wr2M{box-shadow:0 0 1px 2px #4379d6b3}.lc-Switch-module__switch__container___79F7W{align-items:center;display:flex;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.lc-Switch-module__switch__track___2wr2M{border-radius:24px;flex:1;height:100%;transition-duration:.3s;transition-property:background-color;transition-timing-function:cubic-bezier(.33,0,.67,1)}.lc-Switch-module__switch__track--enabled___sy4Xl{background-color:var(--color-positive-default)}.lc-Switch-module__switch__track--disabled___HkDhl{background-color:var(--surface-secondary-default)}.lc-Switch-module__switch__slider___WHd--{background:var(--content-white-locked);border-radius:50%;position:absolute;top:50%;transform:translateY(-50%);transition-duration:.3s;transition-property:left,right;transition-timing-function:cubic-bezier(.33,0,.67,1)}.lc-Switch-module__switch__slider--basic___OMKTp{height:24px;width:24px}.lc-Switch-module__switch__slider--basic--enabled___sh9jo{left:18px;right:2px}.lc-Switch-module__switch__slider--basic--disabled___GSTO9{left:2px;right:18px}.lc-Switch-module__switch__slider--compact___uZ-lS{height:14px;width:14px}.lc-Switch-module__switch__slider--compact--enabled___04TFA{left:9px;right:2px}.lc-Switch-module__switch__slider--compact--disabled___Vqznr{left:2px;right:9px}.lc-Tab-module__tab___fME7u{align-items:center;background:none;border:0;color:var(--content-default);cursor:pointer;display:flex;flex-direction:row;margin:0 8px 11px;outline:none;overflow:visible;padding:0 12px 1px;position:relative;transition:color .25s}.lc-Tab-module__tab__description___JGXU6{color:var(--content-subtle);display:inline-block;padding-left:3px;transition:color .25s}.lc-Tab-module__tab___fME7u:before{background-color:var(--color-action-default);bottom:0;content:"";display:block;height:0;left:0;position:absolute;right:0;z-index:1}.lc-Tab-module__tab--selected___c0EkL,.lc-Tab-module__tab--selected___c0EkL .lc-Tab-module__tab__description___JGXU6{color:var(--color-action-default)}.lc-Tab-module__tab--selected___c0EkL:before{bottom:-12px;height:3px}.lc-Tab-module__tab___fME7u:hover{color:var(--color-action-default);text-decoration:none}.lc-Tab-module__tab___fME7u:hover .lc-Tab-module__tab__description___JGXU6{color:var(--color-action-default)}.lc-TabsWrapper-module__tabs___Y2xyD{border-bottom:1px solid var(--border-subtle);position:relative}.lc-TabsWrapper-module__tabs__list___i6tVO{display:flex;flex-direction:row;margin:0 -8px;position:relative}.lc-Tag-module__tag___1QRVY{align-items:center;background-color:var(--surface-secondary-default);border-color:var(--border-default);border-radius:4px;border-style:none;border-width:1px;box-sizing:border-box;color:var(--content-default);display:inline-flex;position:relative}.lc-Tag-module__tag--success___P2hXQ{background-color:#d1f4d5;border-color:#005321;color:#005321}.lc-Tag-module__tag--success___P2hXQ .lc-Tag-module__tag__remove___UmtrW{color:#005321}.lc-Tag-module__tag--error___1cjsm{background-color:var(--surface-feedback-negative);border-color:var(--color-negative-active);color:var(--color-negative-active)}.lc-Tag-module__tag--error___1cjsm .lc-Tag-module__tag__remove___UmtrW{color:var(--color-negative-active)}.lc-Tag-module__tag--warning___PstMG{background-color:#ffe9bc;border-color:#755b00;color:#755b00}.lc-Tag-module__tag--warning___PstMG .lc-Tag-module__tag__remove___UmtrW{color:#755b00}.lc-Tag-module__tag--info___RTH0C{background-color:var(--surface-feedback-info);border-color:var(--color-action-active);color:var(--color-action-active)}.lc-Tag-module__tag--info___RTH0C .lc-Tag-module__tag__remove___UmtrW{color:var(--color-action-active)}.lc-Tag-module__tag--medium___l5-KI{padding:1px 8px}.lc-Tag-module__tag--large___ytC6Y{padding:5px 12px}.lc-Tag-module__tag--outline___aZXtr{background-color:transparent;border-style:solid}.lc-Tag-module__tag--outline___aZXtr.lc-Tag-module__tag--medium___l5-KI{padding:0 7px}.lc-Tag-module__tag--outline___aZXtr.lc-Tag-module__tag--large___ytC6Y{padding:4px 11px}.lc-Tag-module__tag--outline___aZXtr .lc-Tag-module__icon___2Z-35{background-color:transparent}.lc-Tag-module__tag--text-white___x0fnD{color:#fff}.lc-Tag-module__tag--text-black___dUvmD{color:#000}.lc-Tag-module__tag--with-icon___ZlkvT.lc-Tag-module__tag--medium___l5-KI{padding-left:4px}.lc-Tag-module__tag--with-icon___ZlkvT.lc-Tag-module__tag--large___ytC6Y{padding-left:6px}.lc-Tag-module__tag--dismissible___Qobyr.lc-Tag-module__tag--medium___l5-KI{padding-right:4px}.lc-Tag-module__tag--dismissible___Qobyr.lc-Tag-module__tag--large___ytC6Y{padding-right:6px}.lc-Tag-module__tag__icon___tZoQ9{margin-right:4px}.lc-Tag-module__tag__avatar___U4c-P{border-radius:50%;height:20px;margin-right:4px;width:20px}.lc-Tag-module__tag__remove___UmtrW{align-items:center;background-color:transparent;border-style:none;box-shadow:none;color:var(--content-subtle);cursor:pointer;display:flex;justify-content:center;outline:none;padding:0 0 0 4px}.lc-Tag-module__tag__remove___UmtrW:hover{color:var(--content-default)}.lc-TagInput-module__tag-input___CLVY-{align-items:center;background-clip:padding-box;border:1px solid var(--border-default);border-radius:4px;box-sizing:border-box;color:var(--content-default);display:flex;flex-wrap:wrap;font-size:15px;overflow-y:auto;padding:4px;transition:border .25s ease-in-out;width:100%;will-change:border-color}.lc-TagInput-module__tag-input___CLVY-::placeholder{color:var(--content-disabled)}.lc-TagInput-module__tag-input___CLVY-:hover{border-color:var(--border-hover);outline:0}.lc-TagInput-module__tag-input___CLVY-:focus-within{border-color:var(--color-action-default);outline:0}.lc-TagInput-module__tag-input--error___RP0SB,.lc-TagInput-module__tag-input--error___RP0SB:focus-within{border-color:var(--color-negative-default)}.lc-TagInput-module__tag-input___CLVY-:disabled{color:var(--content-disabled);cursor:not-allowed}.lc-TagInput-module__tag-input___CLVY- *{box-sizing:border-box}.lc-TagInput-module__tag-input___CLVY->*{margin:2px}.lc-TagInput-module__tag-input__input___dgEYB{appearance:none;background:transparent;border-style:none;box-shadow:none;color:var(--content-default);flex-grow:1;font-size:15px;margin:0 4px;outline:0;padding:0 0 0 4px;width:auto}.lc-TagInput-module__tag-input__input--medium___DYF7X{line-height:28px}.lc-TagInput-module__tag-input__input--large___G6iEO{line-height:36px}.lc-TagInput-module__tag-input__input___dgEYB:focus{border-style:none}.lc-TagInput-module__tag-input__tag__content___x95-M{border-style:none;outline:0;padding:0;white-space:nowrap}.lc-Toast-module__toast___j5Amn{align-items:center;background:#fff;border-radius:4px;box-shadow:0 6px 30px -10px #0000004d;box-sizing:border-box;display:inline-flex;flex:0 1 auto;font-size:15px;font-stretch:normal;font-style:normal;font-weight:600;justify-content:flex-start;letter-spacing:normal;line-height:20px;max-width:500px;min-width:300px;padding:10px 12px}.lc-Toast-module__toast__content___HjaNw{color:var(--content-default);width:100%}.lc-Toast-module__toast__icon___wLbLu,.lc-Toast-module__toast__close___O18Lh{align-self:baseline;height:20px;padding-right:12px}.lc-Toast-module__toast__icon___wLbLu svg{display:flex;fill:var(--color-action-default);height:20px;width:20px}.lc-Toast-module__toast__actions___JWu-1{align-items:center;align-self:flex-start;display:inline-flex;flex:1 0 auto;flex-wrap:nowrap;height:20px;margin-bottom:auto;margin-left:auto}.lc-Toast-module__toast__actions-close___xN8YT{align-items:center;display:flex;flex:0 1 auto;height:100%;margin-left:16px;width:100%}.lc-Toast-module__toast__actions-close___xN8YT svg{cursor:pointer;display:flex;fill:var(--content-subtle);height:16px;width:16px}.lc-Toast-module__toast__actions-custom___z1UUf{background-color:transparent;border:0;color:var(--content-default);cursor:pointer;font-weight:600;line-height:20px;margin-left:16px;outline:0;padding:0;text-decoration:underline;white-space:nowrap}.lc-Toast-module__toast--notification___pDXnc{background:#fff}.lc-Toast-module__toast--success___7UC6m{background:var(--color-positive-default)}.lc-Toast-module__toast--warning___pteb7{background:var(--color-warning-default)}.lc-Toast-module__toast--warning___pteb7 .lc-Toast-module__toast__content___HjaNw{color:#424d57}.lc-Toast-module__toast--error___trg--{background:var(--color-negative-default)}.lc-Toast-module__toast--info___IOp44{background:var(--color-action-default)}.lc-Toast-module__toast--success___7UC6m .lc-Toast-module__toast__content___HjaNw,.lc-Toast-module__toast--success___7UC6m .lc-Toast-module__toast__actions-custom___z1UUf,.lc-Toast-module__toast--error___trg-- .lc-Toast-module__toast__content___HjaNw,.lc-Toast-module__toast--error___trg-- .lc-Toast-module__toast__actions-custom___z1UUf,.lc-Toast-module__toast--info___IOp44 .lc-Toast-module__toast__content___HjaNw,.lc-Toast-module__toast--info___IOp44 .lc-Toast-module__toast__actions-custom___z1UUf{color:#fff}.lc-Toast-module__toast-wrapper___Oiwqp{align-items:center;display:flex;flex-direction:column;position:absolute;z-index:120}.lc-Toast-module__toast-wrapper--fixed___QYxRI{position:fixed}.lc-Toast-module__toast-wrapper--block___j0kGt{position:static}.lc-Toast-module__toast-wrapper--horizontal-center___t9AFd{left:50%;transform:translate(-50%)}.lc-Toast-module__toast-wrapper--horizontal-left___-GY4I{left:5px}.lc-Toast-module__toast-wrapper--horizontal-right___VVMgm{right:5px}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG{top:5px}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast___j5Amn{margin-bottom:10px}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-appear--slide___G7GAp{transform:translateY(-100%)!important}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-appear--slide___G7GAp.lc-Toast-module__toast-appear-active--slide___brfgK{transform:translateY(0)!important;transition:transform .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-exit--slide___aqiBq{transform:translateY(0)!important}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-exit--slide___aqiBq.lc-Toast-module__toast-exit-active--slide___WryMi{transform:translateY(-100%)!important;transition:transform .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH{bottom:5px}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast___j5Amn{margin-top:10px}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-appear--slide___G7GAp{transform:translateY(100%)!important}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-appear--slide___G7GAp.lc-Toast-module__toast-appear-active--slide___brfgK{transform:translateY(0)!important;transition:transform .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-exit--slide___aqiBq{transform:translateY(0)!important}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-exit--slide___aqiBq.lc-Toast-module__toast-exit-active--slide___WryMi{transform:translateY(100%)!important;transition:transform .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-appear--fade___oUwHm,.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-appear--fade___oUwHm{opacity:0}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-appear--fade___oUwHm.lc-Toast-module__toast-appear-active--fade___D3--J,.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-appear--fade___oUwHm.lc-Toast-module__toast-appear-active--fade___D3--J,.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-exit--fade___iDA1p,.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-exit--fade___iDA1p{opacity:1;transition:opacity .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-exit--fade___iDA1p.lc-Toast-module__toast-exit-active--fade___tL7sb,.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-exit--fade___iDA1p.lc-Toast-module__toast-exit-active--fade___tL7sb{opacity:0}
1
+ :root,.lc-legacy-theme{--background: #fff;--surface-basic-default: #fff;--surface-basic-subtle: #f1f6f8;--surface-basic-hover: #e0e8eb;--surface-basic-active: #dae4eb;--surface-basic-disabled: #eaedf0;--surface-secondary-default: #bdc7d1;--surface-secondary-subtle: #e4e8ec;--surface-secondary-hover: #a0a6ab;--surface-secondary-disabled: #dee3e8;--surface-feedback-info: #e5f3ff;--surface-feedback-negative: #fbeaed;--surface-feedback-warning: #fff8e0;--surface-feedback-positive: #e6f4ec;--surface-invert-default: #424d57;--surface-invert-subtle: #677179;--surface-invert-disabled: #a0a6ab;--surface-overlay: rgba(0, 0, 0, .7);--content-default: #424d57;--content-subtle: #677179;--content-disabled: #a0a6ab;--content-white-locked: #fff;--content-invert-default: #fff;--content-invert-subtle: rgba(255, 255, 255, .7);--content-invert-disabled: rgba(255, 255, 255, .5);--border-default: #bdc7d1;--border-subtle: #e4e8ec;--border-hover: #a0a6ab;--border-disabled: #dee3e8;--border-invert-default: rgba(255, 255, 255, .7);--border-invert-subtle: rgba(255, 255, 255, .3);--border-invert-hover: #fff;--border-invert-disabled: rgba(255, 255, 255, .5);--color-action-active: #295fbc;--color-action-hover: #4379d6;--color-action-default: #4284f5;--color-action-default-rgb: 66, 132, 245;--color-action-disabled: #a3c3fa;--color-negative-active: #94383a;--color-negative-hover: #b94648;--color-negative-default: #d74747;--color-negative-disabled: #eba3a3;--color-warning-default: #fbbd04;--color-warning-hover: #f99a01;--color-positive-default: #22aa61;--color-positive-hover: #0d874a;--color-positive-disabled: #90d5c4;--color-bot: #6b5aba;--color-black: #424d57;--color-white: #fff;--decor-blue900: #003288;--decor-blue800: #003fa4;--decor-blue700: #004bc2;--decor-blue600: #0059e1;--decor-blue500: #06f;--decor-blue400: #328dff;--decor-blue300: #68afff;--decor-blue200: #9dceff;--decor-blue100: #daedff;--decor-blue50: #f4faff;--decor-orange900: #6c1d00;--decor-orange800: #842600;--decor-orange700: #9c2e00;--decor-orange600: #b43700;--decor-orange500: #d54300;--decor-orange400: #ff5100;--decor-orange300: #ff8a77;--decor-orange200: #ffb8af;--decor-orange100: #ffe5e3;--decor-orange50: #fff8f7;--decor-yellow900: #493700;--decor-yellow800: #755b00;--decor-yellow700: #c9a100;--decor-yellow600: #e8bb00;--decor-yellow500: #f3c600;--decor-yellow400: #d1aa00;--decor-yellow300: #fed65e;--decor-yellow200: #fedc89;--decor-yellow100: #fff2d6;--decor-yellow50: #fff9ed;--decor-gray950: #131317;--decor-gray900: #1b1b20;--decor-gray800: #29292f;--decor-gray700: #3b3b43;--decor-gray600: #4e4e58;--decor-gray500: #62626d;--decor-gray400: #767680;--decor-gray300: #8d8d95;--decor-gray200: #ababb1;--decor-gray150: #c9c9cd;--decor-gray100: #c9c9cd;--decor-gray75: #eeeeef;--decor-gray50: #e2e2e4;--decor-gray40: #eeeeef;--decor-gray20: #fcfcfc;--decor-green900: #00431a;--decor-green800: #005321;--decor-green700: #006329;--decor-green600: #007331;--decor-green500: #00893c;--decor-green400: #00a449;--decor-green300: #00c057;--decor-green200: #7edd92;--decor-green100: #e4f4ed;--decor-green50: #f3fcf4;--decor-red900: #790002;--decor-red800: #930002;--decor-red700: #ae0003;--decor-red600: #ca0005;--decor-red500: #ee0007;--decor-red400: #ff4c4d;--decor-red300: #ff8889;--decor-red200: #ffb7b7;--decor-red100: #ffe5e5;--decor-red50: #fff8f8;--decor-purple900: #50009c;--decor-purple800: #6100bd;--decor-purple700: #7400df;--decor-purple600: #8609ff;--decor-purple500: #9146ff;--decor-purple400: #a372ff;--decor-purple300: #b99aff;--decor-purple200: #d1c0ff;--decor-purple100: #eee8ff;--decor-purple50: #faf8ff}*[class^=lc-]{box-sizing:border-box;font-family:Source Sans Pro,-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica Neue,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.lc-Typography-module__heading-xl___nhr-6{font-size:32px;font-style:normal;font-weight:600;letter-spacing:0;line-height:40px}.lc-Typography-module__heading-lg___XYF7l{font-size:24px;font-style:normal;font-weight:600;letter-spacing:0;line-height:32px}.lc-Typography-module__heading-md___wHOIs{font-size:20px;font-style:normal;font-weight:600;letter-spacing:0;line-height:28px}.lc-Typography-module__heading-sm___nBmTV{font-size:18px;font-style:normal;font-weight:600;letter-spacing:0;line-height:24px}.lc-Typography-module__heading-xs___VcZBs{font-size:16px;font-style:normal;font-weight:600;letter-spacing:0;line-height:24px}.lc-Typography-module__caps___c3eNJ{font-size:12px;font-style:normal;font-weight:400;letter-spacing:.2px;line-height:20px;text-transform:uppercase}.lc-Typography-module__caps--bold___OZovw{font-weight:600}.lc-Typography-module__paragraph-md___UGoqq{font-size:15px;font-style:normal;font-weight:400;letter-spacing:0;line-height:22px}.lc-Typography-module__paragraph-md--bold___mWcMG{font-weight:600}.lc-Typography-module__paragraph-md--underline___Fv6zM{text-decoration-line:underline}.lc-Typography-module__paragraph-md--strike___yLGHh{text-decoration-line:line-through}.lc-Typography-module__paragraph-sm___QIEFL{font-size:14px;font-style:normal;font-weight:400;letter-spacing:0;line-height:20px}.lc-Typography-module__paragraph-sm--bold___fAjI5{font-weight:600}.lc-Typography-module__paragraph-xs___OUooD{font-size:12px;font-style:normal;font-weight:400;letter-spacing:.2px;line-height:16px}.lc-Typography-module__paragraph-xs--bold___z7om7{font-weight:600}.lc-Icon-module__icon___tw31R{align-items:center;display:flex}.lc-Icon-module__icon--primary___JJnBV{color:var(--content-default)}.lc-Icon-module__icon--subtle___sZIzL{color:var(--content-subtle)}.lc-Icon-module__icon--inverted___zA9QC{color:var(--content-invert-default)}.lc-Icon-module__icon--inverted-subtle___6UwBT{color:var(--content-invert-subtle)}.lc-Icon-module__icon--link___Jwkw9{color:var(--color-action-default)}.lc-Icon-module__icon--success___MKdz3{color:var(--color-positive-default)}.lc-Icon-module__icon--warning___5YCSW{color:var(--color-warning-default)}.lc-Icon-module__icon--error___CiJCD{color:var(--color-negative-default)}.lc-Icon-module__icon--disabled--primary___E0nee,.lc-Icon-module__icon--disabled--subtle___l-hK4{color:var(--content-disabled)}.lc-Icon-module__icon--disabled--inverted___5SBAf,.lc-Icon-module__icon--disabled--inverted-subtle___w-NBk{color:var(--content-invert-disabled)}.lc-Icon-module__icon--disabled--link___sVJOa{color:var(--color-action-disabled)}.lc-Icon-module__icon--disabled--success___sG-7d{color:var(--color-positive-disabled)}.lc-Icon-module__icon--disabled--warning___8ko1e{color:var(--color-warning-default)}.lc-Icon-module__icon--disabled--error___9KbVo{color:var(--color-negative-disabled)}.lc-Alert-module__alert___HBTns{box-sizing:border-box;overflow:hidden;padding:20px;position:relative;width:100%;word-break:break-word}.lc-Alert-module__alert__content___9nZdf{display:flex;justify-content:flex-start;width:100%}.lc-Alert-module__alert__content-text___x2Un5{color:var(--content-default)}.lc-Alert-module__alert__content-text--margin___whVzG{margin-right:22px}.lc-Alert-module__alert__content-icon___-EXJm{height:22px;margin-right:22px}.lc-Alert-module__alert--small___Fyk-v .lc-Alert-module__alert__content___9nZdf{flex-direction:column}.lc-Alert-module__alert--small___Fyk-v .lc-Alert-module__alert__content-text--margin___whVzG{margin-right:0}.lc-Alert-module__alert--small___Fyk-v .lc-Alert-module__alert__content-icon___-EXJm{margin-bottom:14px}.lc-Alert-module__alert__close-icon___rYxVy{background-color:transparent;border:0;box-shadow:none;height:24px;overflow:hidden;padding:0;position:absolute;right:17px;top:17px;width:24px}.lc-Alert-module__alert--info___GmIGN{background-color:var(--surface-feedback-info);box-shadow:inset 0 3px 0 0 var(--color-action-default)}.lc-Alert-module__alert--warning___MubhD{background-color:var(--surface-feedback-warning);box-shadow:inset 0 3px 0 0 var(--color-warning-default)}.lc-Alert-module__alert--success___fPtlZ{background-color:var(--surface-feedback-positive);box-shadow:inset 0 3px 0 0 var(--color-positive-default)}.lc-Alert-module__alert--error___DKPo0{background-color:var(--surface-feedback-negative);box-shadow:inset 0 3px 0 0 var(--color-negative-default)}.lc-Alert-module__alert__icon___8TaAH{flex-shrink:0}.lc-Badge-module__badge___GhLnu{background-color:var(--color-negative-default);border-radius:18px;box-sizing:border-box;color:var(--content-invert-default);display:inline-block;font-size:10px;font-weight:600;height:18px;line-height:18px;min-width:18px;padding:0 3px;text-align:center}.lc-Badge-module__badge___GhLnu+.lc-Badge-module__badge___GhLnu{margin-left:4px}.lc-Badge-module__badge--secondary___JjNIJ{background-color:var(--surface-secondary-default);color:var(--surface-invert-default)}@keyframes lc-Loader-module__rotate___Tlni-{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.lc-Loader-module__loader___LRflD{align-items:center;display:inline-flex;flex-direction:row;flex-wrap:nowrap}.lc-Loader-module__loader__spinner___l3C1g{flex-shrink:0;height:36px;width:36px}.lc-Loader-module__loader__spinner--small___dGFFt{height:15px;width:15px}.lc-Loader-module__loader__spinner--small___dGFFt [class*=spinner-circle]{border-width:2px}.lc-Loader-module__loader__spinner--medium___J-ki0{height:36px;width:36px}.lc-Loader-module__loader__spinner--medium___J-ki0 [class*=spinner-circle]{border-width:3px}.lc-Loader-module__loader__spinner--large___Poqq7{height:56px;width:56px}.lc-Loader-module__loader__spinner--large___Poqq7 [class*=spinner-circle]{border-width:4px}.lc-Loader-module__loader__spinner-circle___ApBUO{animation:lc-Loader-module__rotate___Tlni- 1s infinite linear;border-color:var(--surface-secondary-subtle);border-radius:50%;border-style:solid;border-top-color:var(--color-action-default);border-width:3px;box-sizing:border-box;height:100%;width:100%}.lc-Loader-module__loader__label___R74f6{color:var(--content-subtle);margin-left:10px}.lc-Button-module__btn___aijZJ{align-items:center;border-radius:4px;border-style:solid;border-width:1px;cursor:pointer;display:inline-flex;font-size:15px;font-weight:600;height:36px;justify-content:center;min-width:36px;padding:8px 16px;position:relative;text-align:center;text-decoration:none;transition-duration:.2s;transition-property:opacity,border,color,background-color,box-shadow;transition-timing-function:cubic-bezier(.64,0,.35,1);user-select:none}.lc-Button-module__btn___aijZJ:focus,.lc-Button-module__btn___aijZJ:hover,.lc-Button-module__btn___aijZJ:active{outline:0}.lc-Button-module__btn___aijZJ:focus{box-shadow:0 0 1px 2px rgba(var(--color-action-default-rgb),.7)}.lc-Button-module__btn--disabled___lXBav{cursor:not-allowed}.lc-Button-module__btn--icon-only___bF5pW{padding:6px}.lc-Button-module__btn--icon-only___bF5pW .lc-Button-module__btn__icon--left___H68zu,.lc-Button-module__btn--icon-only___bF5pW .lc-Button-module__btn__icon--right___fHr3D{margin:0}.lc-Button-module__btn--full-width___kdbAr{width:100%}.lc-Button-module__btn--basic___Jc2gD{background-color:var(--surface-basic-default);border-color:var(--color-action-default);color:var(--color-action-default)}.lc-Button-module__btn--basic___Jc2gD:hover{background-color:var(--surface-basic-subtle);color:var(--color-action-hover)}.lc-Button-module__btn--basic___Jc2gD:active{background-color:var(--surface-feedback-info);color:var(--color-action-hover)}.lc-Button-module__btn--basic___Jc2gD[disabled]{background-color:inherit;border-color:var(--color-action-disabled);color:var(--color-action-disabled)}.lc-Button-module__btn--primary___ajbjQ{background-color:var(--color-action-default);border-color:var(--color-action-default);color:var(--content-invert-default)}.lc-Button-module__btn--primary___ajbjQ:hover{background-color:var(--color-action-hover);border-color:var(--color-action-hover)}.lc-Button-module__btn--primary___ajbjQ:active{background-color:var(--color-action-active);border-color:var(--color-action-active)}.lc-Button-module__btn--primary___ajbjQ[disabled]{background-color:var(--color-action-disabled);border-color:var(--color-action-disabled)}.lc-Button-module__btn--secondary___iWzE0{background-color:var(--surface-basic-default);border-color:var(--surface-secondary-default);color:var(--content-default)}.lc-Button-module__btn--secondary___iWzE0:hover{background-color:var(--surface-basic-hover);border-color:var(--surface-secondary-hover)}.lc-Button-module__btn--secondary___iWzE0:active{background-color:var(--surface-feedback-info);border-color:var(--color-action-default);color:var(--color-action-default)}.lc-Button-module__btn--secondary___iWzE0[disabled]{background-color:inherit;border-color:var(--border-disabled);color:var(--content-disabled)}.lc-Button-module__btn--destructive___-kLCl{background-color:var(--color-negative-default);border-color:var(--color-negative-default);color:var(--content-invert-default)}.lc-Button-module__btn--destructive___-kLCl:hover{background-color:var(--color-negative-hover);border-color:var(--color-negative-hover)}.lc-Button-module__btn--destructive___-kLCl:active{background-color:var(--color-negative-active);border-color:var(--color-negative-active)}.lc-Button-module__btn--destructive___-kLCl[disabled]{background-color:var(--color-negative-disabled);border-color:var(--color-negative-disabled)}.lc-Button-module__btn--compact___4eptQ{height:32px;min-width:32px;padding:6px 16px}.lc-Button-module__btn--compact___4eptQ.lc-Button-module__btn--icon-only___bF5pW{padding:4px}.lc-Button-module__btn--large___lb-z6{height:42px;min-width:42px;padding:11px 16px}.lc-Button-module__btn--large___lb-z6.lc-Button-module__btn--icon-only___bF5pW{padding:9px}.lc-Button-module__btn--text___WA8OL,.lc-Button-module__btn--plain___eOPui,.lc-Button-module__btn--plain-light___eS9em{background-color:transparent;border-color:transparent;color:var(--color-action-default)}.lc-Button-module__btn--text___WA8OL:hover,.lc-Button-module__btn--plain___eOPui:hover,.lc-Button-module__btn--plain-light___eS9em:hover{color:var(--color-action-hover)}.lc-Button-module__btn--text___WA8OL[disabled],.lc-Button-module__btn--plain___eOPui[disabled],.lc-Button-module__btn--plain-light___eS9em[disabled]{color:var(--color-action-disabled)}.lc-Button-module__btn--plain-light___eS9em{font-weight:400}.lc-Button-module__btn--plain___eOPui{font-weight:600}.lc-Button-module__btn--plain___eOPui,.lc-Button-module__btn--plain-light___eS9em{border:0;height:auto;min-width:auto;padding:0}.lc-Button-module__btn--plain___eOPui:hover,.lc-Button-module__btn--plain___eOPui:focus,.lc-Button-module__btn--plain-light___eS9em:hover,.lc-Button-module__btn--plain-light___eS9em:focus{box-shadow:none;text-decoration:underline}.lc-Button-module__btn--plain___eOPui:disabled,.lc-Button-module__btn--plain-light___eS9em:disabled{text-decoration:none}.lc-Button-module__btn--loading___ZAgjv{cursor:progress;transition:all .2s cubic-bezier(.64,0,.35,1)}.lc-Button-module__btn--loading___ZAgjv>*{opacity:0}.lc-Button-module__btn--loading___ZAgjv .lc-Button-module__btn__loader___c8zZz{align-items:center;box-sizing:border-box;display:flex;height:100%;justify-content:center;left:0;opacity:1;padding:inherit;position:absolute;top:0;width:100%}.lc-Button-module__btn--loading___ZAgjv .lc-Button-module__btn__loader___c8zZz>*{color:inherit;font-weight:inherit;margin:0 5px;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.lc-Button-module__btn__content___wefl2{margin-top:-2px}.lc-Button-module__btn__icon___GVExB{color:inherit;display:inline-block;height:20px;line-height:1;width:20px}.lc-Button-module__btn__icon--left___H68zu{margin-left:-4px;margin-right:5px;order:-1}.lc-Button-module__btn__icon--right___fHr3D{margin-left:5px;margin-right:-4px;order:1}.lc-ButtonGroup-module__btn-group___R-lZQ{border:1px solid var(--border-subtle);border-radius:4px;display:inline-flex;flex-direction:row;padding:3px;vertical-align:middle}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn___bXPrU{border-color:transparent;color:var(--content-default)}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn--active___VAc37{background-color:var(--surface-basic-active)}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn--compact___t1whe{height:24px}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn--medium___XFRBP{height:28px}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn--large___OtNUz{height:34px}.lc-ButtonGroup-module__btn-group___R-lZQ .lc-ButtonGroup-module__btn___bXPrU+.lc-ButtonGroup-module__btn___bXPrU{margin-left:2px}.lc-Card-module__card___GqMm2{background-color:var(--surface-basic-default);border:solid 1px var(--border-subtle);border-radius:4px;color:var(--content-default);margin-top:8px;overflow:hidden;padding:16px}.lc-Card-module__card__title___1YjAR{align-items:center;display:flex;margin-bottom:14px}.lc-Card-module__card__text___-jYlF{color:var(--content-default);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.lc-Card-module__card__img___teLC8{border-radius:4px;display:inline-block;height:24px;margin-right:10px;width:24px}.lc-Checkbox-module__checkbox___G7nTf{display:inline-block}.lc-Checkbox-module__checkbox__label___-o01x{align-items:center;cursor:pointer;display:inline-flex;flex:0 1 auto;width:100%}.lc-Checkbox-module__checkbox__square___MHUyd{align-items:center;background-color:var(--surface-basic-default);border:1px solid var(--border-default);border-radius:4px;box-sizing:border-box;display:flex;height:16px;justify-content:center;margin-right:8px;position:relative;transition:all .2s ease;width:16px}.lc-Checkbox-module__checkbox__checkmark___16pfY{opacity:0;pointer-events:none;transition:all .2s ease}.lc-Checkbox-module__checkbox--selected___S2vqY .lc-Checkbox-module__checkbox__square___MHUyd{background-color:var(--color-action-default);border-color:var(--color-action-default)}.lc-Checkbox-module__checkbox--selected___S2vqY .lc-Checkbox-module__checkbox__checkmark___16pfY{opacity:1}.lc-Checkbox-module__checkbox--selected___S2vqY:hover .lc-Checkbox-module__checkbox__input___YLbVF:checked+.lc-Checkbox-module__checkbox__square___MHUyd{background-color:var(--color-action-hover);border-color:var(--color-action-hover)}.lc-Checkbox-module__checkbox__text___P2SIq{color:var(--content-default);flex:1 0 auto}.lc-Checkbox-module__checkbox__input___YLbVF{display:none;height:100%;width:100%}.lc-Checkbox-module__checkbox__input___YLbVF:checked+.lc-Checkbox-module__checkbox__square___MHUyd{background-color:var(--color-action-default);border-color:var(--color-action-default)}.lc-Checkbox-module__checkbox__input___YLbVF:checked+.lc-Checkbox-module__checkbox__square___MHUyd .lc-Checkbox-module__checkbox__checkmark___16pfY{opacity:1}.lc-Checkbox-module__checkbox__input___YLbVF:focus+.lc-Checkbox-module__checkbox__square___MHUyd{box-shadow:0 0 1px 2px #4284f5b3}.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__square___MHUyd{background-color:var(--surface-basic-disabled);border-color:var(--border-disabled);opacity:.4}.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__label___-o01x,.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__input___YLbVF,.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__helper___YSJ-n,.lc-Checkbox-module__checkbox--disabled___-lAqW .lc-Checkbox-module__checkbox__text___P2SIq{color:var(--content-disabled);cursor:not-allowed}.lc-Checkbox-module__checkbox__helper___YSJ-n{cursor:default;margin-left:24px}.lc-FieldDescription-module__field-description___IcRDH{color:var(--content-subtle);display:block;margin:4px 0 0}.lc-FieldError-module__field-error___IDkPT{color:var(--color-negative-default);display:block;margin:4px 0 0}.lc-FieldGroup-module__field-group___gy8lp{align-items:flex-start;display:flex;flex-direction:column;margin:-8px 0}.lc-FieldGroup-module__field-group___gy8lp>*{padding:0 0 8px}.lc-FieldGroup-module__field-group--inline___or4qf{flex-direction:row;margin:0 -8px}.lc-FieldGroup-module__field-group--inline___or4qf>*{padding:0 8px}.lc-FieldGroup-module__field-group--stretched___6rkuO>*{width:100%}.lc-Form-module__form___1nOYF{border:0;box-sizing:border-box;margin:0;padding:0}.lc-Form-module__form__header___U4B7t,.lc-Form-module__form__footer___1-sUX{margin-bottom:32px}.lc-Form-module__form__label___spg-J{color:var(--content-default);margin:0 0 16px}.lc-Form-module__form__helper___bhfwS{color:var(--content-default);margin:0}.lc-FormGroup-module__form-group___e2JHa{border-style:none;margin:0 0 32px;min-width:auto;padding:0}.lc-FormGroup-module__form-group__header___DgGmR{margin-bottom:16px}.lc-FormGroup-module__form-group__label___NC-JW{color:var(--content-default);display:block;margin-bottom:4px}.lc-FormGroup-module__form-group__helper___SRuxe{color:var(--content-subtle)}.lc-TextField-module__text-field___bis8c{margin-bottom:20px}.lc-TextField-module__text-field--inline___MPHqg{display:flex;flex-direction:column}.lc-TextField-module__text-field__wrapper--inline___-gOob{display:flex;flex-direction:row;flex-wrap:nowrap}.lc-TextField-module__text-field__label___vpNdg{align-items:center;display:flex;flex-direction:row;justify-content:flex-start;margin-bottom:4px}.lc-TextField-module__text-field__label___vpNdg label{margin-bottom:0}.lc-TextField-module__text-field__label--inline___YSRYX{align-items:center;height:32px;justify-content:center;margin-bottom:0;margin-right:10px}.lc-TextField-module__text-field__label--no-text___XSyn2{justify-content:flex-end;margin-right:0}.lc-TextField-module__text-field__label-wrapper___SNCct{display:flex;flex-grow:1}.lc-TextField-module__text-field__label-adornment___--pgp{align-items:center;align-self:flex-end;display:flex;flex-shrink:0;height:20px;justify-content:flex-end;line-height:20px;margin-left:4px;overflow:hidden;width:20px}.lc-TextField-module__text-field__label-right-node___sdnWg{align-self:flex-end;color:var(--content-default);display:flex;flex-shrink:0;font-size:14px;justify-content:flex-end;line-height:20px;margin-left:5px}.lc-TextField-module__text-field__label-right-node--inline___vMBP2{flex-grow:1;margin-bottom:4px}.lc-TextField-module__text-field__row-break___AnNrI{flex-basis:100%;height:0}.lc-TextField-module__text-field__content___dCkUW{flex-grow:1}.lc-TextField-module__field-label___q8Y-p{color:var(--content-default);display:block;font-size:14px;line-height:20px;margin-bottom:4px}.lc-InputField-module__input-field___A-GHj{background-clip:padding-box;border:1px solid var(--border-default);border-radius:4px;box-sizing:border-box;color:var(--content-default);font-size:15px;line-height:1.2;padding:8px 10px;transition:border .25s ease-in-out;width:100%;will-change:border-color}.lc-InputField-module__input-field___A-GHj::placeholder{color:var(--content-disabled)}.lc-InputField-module__input-field___A-GHj:hover{border-color:var(--border-hover);outline:0}.lc-InputField-module__input-field___A-GHj:focus{border-color:var(--color-action-default);outline:0}.lc-InputField-module__input-field--error___MMchC,.lc-InputField-module__input-field--error___MMchC:focus{border-color:var(--color-negative-default)}.lc-InputField-module__input-field___A-GHj:disabled{color:var(--content-disabled);cursor:not-allowed}.lc-Link-module__link___kqx52{color:var(--color-action-default);cursor:pointer;text-decoration:none}.lc-Link-module__link___kqx52:hover{color:var(--color-action-hover);text-decoration:underline}.lc-Link-module__link___kqx52:active{color:var(--color-action-active)}.lc-Link-module__link--bold___1rGdO{font-weight:600}.lc-Modal-module__modal-base___hbL1U{background-color:var(--surface-basic-default);border-radius:4px;box-shadow:0 20px 60px #0000004d;color:var(--content-default);display:flex;flex-direction:column;margin:10px;max-width:800px;min-width:400px;overflow:hidden;position:relative}.lc-Modal-module__modal-base__overlay___kCQ8t{align-items:center;background-color:var(--surface-overlay);display:none;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:13000}.lc-Modal-module__modal-base__overlay--visible___zUNJL{display:flex}.lc-Modal-module__modal-base__close___gJlgr{align-items:center;background-color:transparent;border-style:none;box-shadow:none;color:var(--content-subtle);cursor:pointer;display:flex;height:24px;justify-content:center;outline:none;padding:0;position:absolute;right:18px;top:18px;width:24px;z-index:1}.lc-Modal-module__modal-base__close___gJlgr:hover{color:var(--content-default)}.lc-Modal-module__modal__header___Fp5VE{background-color:var(--surface-basic-default);box-shadow:inset 0 -1px 0 var(--border-subtle);box-sizing:border-box;color:var(--content-default);padding:20px;width:100%}.lc-Modal-module__modal__heading___G9KVK{color:var(--content-default);margin:0;max-width:calc(100% - 32px);padding:0;text-align:left}.lc-Modal-module__modal__body___M-jmN{background-color:var(--surface-basic-default);box-sizing:border-box;color:var(--content-default);display:flex;flex-direction:column;flex-grow:1;padding:20px;position:relative;width:100%}.lc-Modal-module__modal__footer___2LYdc{box-shadow:inset 0 1px 0 var(--border-subtle);box-sizing:border-box;display:flex;flex-shrink:0;justify-content:flex-end;padding:20px;width:100%}.lc-Modal-module__action-modal___CsRC7{align-items:center;box-sizing:border-box;justify-content:center;padding:52px 20px}.lc-Modal-module__action-modal__heading___m3MuG{color:var(--content-default);font-size:24px;font-weight:600;line-height:1.33;margin:0 0 20px;text-align:center;width:100%}.lc-Modal-module__action-modal__content___gf-R2{color:var(--content-default);font-size:15px;line-height:1.33;text-align:center;width:100%}.lc-Modal-module__action-modal__actions___kpRXD{box-sizing:border-box;display:flex;justify-content:center;margin-top:32px;width:100%}.lc-Modal-module__action-modal__icon___MK5xt{margin-bottom:20px}.lc-NumericInput-module__numeric-input___j1esc{display:inline-block;height:36px;position:relative;width:64px}.lc-NumericInput-module__numeric-input__increment___i3Tys,.lc-NumericInput-module__numeric-input__decrement___3qgn0{align-items:center;background:transparent;border:0;border-left:1px solid var(--border-default);box-sizing:border-box;cursor:pointer;display:flex;height:50%;justify-content:center;padding:0;position:absolute;right:1px;top:1px;width:23px}.lc-NumericInput-module__numeric-input__increment___i3Tys:hover,.lc-NumericInput-module__numeric-input__increment___i3Tys:focus,.lc-NumericInput-module__numeric-input__decrement___3qgn0:hover,.lc-NumericInput-module__numeric-input__decrement___3qgn0:focus{outline:0}.lc-NumericInput-module__numeric-input___j1esc .lc-NumericInput-module__numeric-input__increment___i3Tys:disabled{border-color:var(--border-disabled);cursor:not-allowed}.lc-NumericInput-module__numeric-input___j1esc .lc-NumericInput-module__numeric-input__decrement___3qgn0{border-top:1px solid var(--border-default);bottom:1px;top:auto}.lc-NumericInput-module__numeric-input___j1esc .lc-NumericInput-module__numeric-input__decrement___3qgn0:disabled{border-color:var(--border-disabled);cursor:not-allowed}.lc-NumericInput-module__numeric-input___j1esc input{appearance:textfield;background-clip:padding-box;border:1px solid var(--border-default);border-radius:4px;box-sizing:border-box;color:var(--content-default);height:100%;line-height:36px;padding:0 28px 0 4px;text-align:right;transition:border .25s ease-in-out;width:100%;will-change:border-color}.lc-NumericInput-module__numeric-input___j1esc input::-webkit-outer-spin-button,.lc-NumericInput-module__numeric-input___j1esc input::-webkit-inner-spin-button{appearance:none;margin:0}.lc-NumericInput-module__numeric-input___j1esc input:hover{border-color:var(--border-hover);outline:0}.lc-NumericInput-module__numeric-input___j1esc input:focus{border-color:var(--color-action-default);outline:0}.lc-NumericInput-module__numeric-input___j1esc input:disabled{color:var(--content-disabled);cursor:not-allowed}.lc-NumericInput-module__numeric-input___j1esc input:disabled:hover{border-color:var(--border-disabled)}.lc-NumericInput-module__numeric-input--disabled___yaRvQ{background-color:var(--surface-basic-disabled);color:var(--content-default);cursor:not-allowed}.lc-NumericInput-module__numeric-input___j1esc.lc-NumericInput-module__numeric-input--no-controls___D90rG input{padding:0 4px}.lc-NumericInput-module__numeric-input___j1esc.lc-NumericInput-module__numeric-input--error___TMxRx input,.lc-NumericInput-module__numeric-input___j1esc.lc-NumericInput-module__numeric-input--error___TMxRx input:hover,.lc-NumericInput-module__numeric-input___j1esc.lc-NumericInput-module__numeric-input--error___TMxRx input:focus{border-color:var(--color-negative-default)}.lc-Popover-module__popover___8X1b2{background-color:var(--surface-basic-default);border-radius:4px;box-shadow:0 1px 10px #424d574d;display:none;max-width:336px;min-width:168px}.lc-Popover-module__popover___8X1b2:focus{outline:none}.lc-Popover-module__popover--visible___u5NXB{display:block}.lc-ProgressCircle-module__progress-circle___NRHCi{height:36px;transform:rotate(-90deg);width:36px}.lc-ProgressCircle-module__progress-circle--small___8FVwG{height:15px;width:15px}.lc-ProgressCircle-module__progress-circle--medium___XlzEX{height:36px;width:36px}.lc-ProgressCircle-module__progress-circle--large___qxa2y{height:56px;width:56px}.lc-ProgressCircle-module__progress-circle__bg-line--normal___nDNwj{stroke:var(--color-action-disabled)}.lc-ProgressCircle-module__progress-circle__bg-line--success___1aP-O{stroke:var(--color-positive-disabled)}.lc-ProgressCircle-module__progress-circle__bg-line--error___oqMZL{stroke:var(--color-negative-disabled)}.lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX{stroke:var(--color-action-default);transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR{stroke:var(--color-positive-default);transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9{transition:all .4s cubic-bezier(.08,.82,.17,1) 0s}.lc-ProgressCircle-module__progress-circle--error___2AA9K .lc-ProgressCircle-module__progress-circle__bg-line___12YrE{stroke:var(--color-negative-disabled)}.lc-ProgressCircle-module__progress-circle--success___hH5jv .lc-ProgressCircle-module__progress-circle__bg-line___12YrE{stroke:var(--color-positive-disabled)}.lc-ProgressCircle-module__progress-circle--normal___dFneQ .lc-ProgressCircle-module__progress-circle__bg-line___12YrE{stroke:var(--color-action-disabled)}.lc-PromoBanner-module__promo-banner___-mGpq{align-items:center;background-color:var(--surface-basic-subtle);border-radius:4px;box-sizing:border-box;color:var(--content-default);display:flex;font-size:16px;justify-content:space-between;min-width:180px;padding:20px;position:relative;width:100%;word-break:break-word}.lc-PromoBanner-module__promo-banner___-mGpq b{font-weight:600}.lc-PromoBanner-module__promo-banner__content___kRWar{display:flex;flex-direction:row;justify-content:flex-start}.lc-PromoBanner-module__promo-banner__wrapper___I-8cl{display:flex;flex-direction:column}.lc-PromoBanner-module__promo-banner__header___ebYHW{font-weight:600;margin-bottom:8px}.lc-PromoBanner-module__promo-banner__img___eaShb{height:48px;object-fit:contain;width:48px}.lc-PromoBanner-module__promo-banner__button-text___taYKa{margin-right:24px}.lc-PromoBanner-module__promo-banner--light___eJxOR{background-color:var(--surface-basic-default);border:solid 1px var(--border-subtle)}.lc-PromoBanner-module__promo-banner--small___7sWLV{flex-wrap:wrap;max-width:400px}.lc-PromoBanner-module__promo-banner--small___7sWLV .lc-PromoBanner-module__promo-banner__content___kRWar{flex-direction:column}.lc-PromoBanner-module__promo-banner--small___7sWLV .lc-PromoBanner-module__promo-banner__img___eaShb{margin-bottom:12px}.lc-PromoBanner-module__promo-banner--small___7sWLV .lc-PromoBanner-module__promo-banner__footer___8OjvH{display:flex;margin-top:12px}.lc-PromoBanner-module__promo-banner--medium___NeeoJ{flex-wrap:wrap;max-width:800px}.lc-PromoBanner-module__promo-banner--medium___NeeoJ .lc-PromoBanner-module__promo-banner__img___eaShb{margin-right:20px}.lc-PromoBanner-module__promo-banner--medium___NeeoJ .lc-PromoBanner-module__promo-banner__wrapper___I-8cl{max-width:680px}.lc-PromoBanner-module__promo-banner--medium___NeeoJ .lc-PromoBanner-module__promo-banner__footer___8OjvH{display:flex;flex-shrink:0;margin-top:12px}.lc-PromoBanner-module__promo-banner--large___pMiCU{min-width:600px}.lc-PromoBanner-module__promo-banner--large___pMiCU .lc-PromoBanner-module__promo-banner__img___eaShb{margin-right:20px}.lc-PromoBanner-module__promo-banner--large___pMiCU .lc-PromoBanner-module__promo-banner__wrapper___I-8cl{max-width:680px;min-width:180px}.lc-PromoBanner-module__promo-banner--large___pMiCU .lc-PromoBanner-module__promo-banner__footer___8OjvH{align-items:center;display:inline-flex;flex-shrink:0;margin:0 56px}.lc-PromoBanner-module__promo-banner__close-icon___GowBL{background-color:transparent;border:0;box-shadow:none;cursor:pointer;height:24px;overflow:hidden;padding:0;position:absolute;right:12px;top:12px;width:24px}.lc-RadioButton-module__radio-button___WaToM{display:inline-block}.lc-RadioButton-module__radio-button__label___i7ygg{align-items:center;cursor:pointer;display:inline-flex;flex:0 1 auto;width:100%}.lc-RadioButton-module__radio-button__circle___wimWA{background-color:var(--surface-basic-default);border:1px solid var(--border-default);border-radius:16px;box-sizing:border-box;height:16px;margin-right:8px;position:relative;transition:all .2s ease;width:16px}.lc-RadioButton-module__radio-button__inner-circle___qkRVf{background-color:var(--color-action-default);border-radius:8px;height:8px;left:3px;opacity:0;position:absolute;top:3px;transition:all .2s ease;width:8px}.lc-RadioButton-module__radio-button__text___mT8c0{color:var(--content-default);flex:1 0 auto}.lc-RadioButton-module__radio-button__input___7OTAK{cursor:pointer;height:100%;margin:0;opacity:0;width:100%}.lc-RadioButton-module__radio-button__helper___r8gJJ{cursor:default;margin-left:24px}.lc-RadioButton-module__radio-button___WaToM:focus .lc-RadioButton-module__radio-button__circle___wimWA{border-radius:20px;box-shadow:0 0 1px 1.6px #4384f5b3}.lc-RadioButton-module__radio-button--selected___s9lqj .lc-RadioButton-module__radio-button__circle___wimWA{border-color:var(--color-action-default)}.lc-RadioButton-module__radio-button--selected___s9lqj .lc-RadioButton-module__radio-button__inner-circle___qkRVf{opacity:1}.lc-RadioButton-module__radio-button--selected___s9lqj:hover .lc-RadioButton-module__radio-button__circle___wimWA{border-color:var(--color-action-hover)}.lc-RadioButton-module__radio-button--selected___s9lqj:hover .lc-RadioButton-module__radio-button__inner-circle___qkRVf{background-color:var(--color-action-hover)}.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__circle___wimWA{opacity:.4}.lc-RadioButton-module__radio-button--disabled___wHSA7:not(.lc-RadioButton-module__radio-button--selected___s9lqj) .lc-RadioButton-module__radio-button__circle___wimWA{background-color:var(--surface-basic-disabled)}.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__label___i7ygg,.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__input___7OTAK,.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__text___mT8c0,.lc-RadioButton-module__radio-button--disabled___wHSA7 .lc-RadioButton-module__radio-button__helper___r8gJJ{color:var(--content-disabled);cursor:not-allowed}.lc-Switch-module__switch___AaA2k{display:inline-block;outline:none;position:relative}.lc-Switch-module__switch___AaA2k:hover .lc-Switch-module__switch__track--enabled___sy4Xl{background-color:var(--color-positive-default)}.lc-Switch-module__switch___AaA2k:hover .lc-Switch-module__switch__track--disabled___HkDhl{background-color:var(--surface-secondary-default)}.lc-Switch-module__switch--basic___jKO4n{height:28px;width:44px}.lc-Switch-module__switch--compact___OGFIX{height:16px;width:25px}.lc-Switch-module__switch__input___NiiOR{cursor:pointer;height:100%;margin:0;opacity:0;width:100%}.lc-Switch-module__switch__input___NiiOR:focus+.lc-Switch-module__switch__container___79F7W .lc-Switch-module__switch__track___2wr2M{box-shadow:0 0 1px 2px #4379d6b3}.lc-Switch-module__switch__container___79F7W{align-items:center;display:flex;height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.lc-Switch-module__switch__track___2wr2M{border-radius:24px;flex:1;height:100%;transition-duration:.3s;transition-property:background-color;transition-timing-function:cubic-bezier(.33,0,.67,1)}.lc-Switch-module__switch__track--enabled___sy4Xl{background-color:var(--color-positive-default)}.lc-Switch-module__switch__track--disabled___HkDhl{background-color:var(--surface-secondary-default)}.lc-Switch-module__switch__slider___WHd--{background:var(--content-white-locked);border-radius:50%;position:absolute;top:50%;transform:translateY(-50%);transition-duration:.3s;transition-property:left,right;transition-timing-function:cubic-bezier(.33,0,.67,1)}.lc-Switch-module__switch__slider--basic___OMKTp{height:24px;width:24px}.lc-Switch-module__switch__slider--basic--enabled___sh9jo{left:18px;right:2px}.lc-Switch-module__switch__slider--basic--disabled___GSTO9{left:2px;right:18px}.lc-Switch-module__switch__slider--compact___uZ-lS{height:14px;width:14px}.lc-Switch-module__switch__slider--compact--enabled___04TFA{left:9px;right:2px}.lc-Switch-module__switch__slider--compact--disabled___Vqznr{left:2px;right:9px}.lc-Tab-module__tab___fME7u{align-items:center;background:none;border:0;color:var(--content-default);cursor:pointer;display:flex;flex-direction:row;margin:0 8px 11px;outline:none;overflow:visible;padding:0 12px 1px;position:relative;transition:color .25s}.lc-Tab-module__tab__description___JGXU6{color:var(--content-subtle);display:inline-block;padding-left:3px;transition:color .25s}.lc-Tab-module__tab___fME7u:before{background-color:var(--color-action-default);bottom:0;content:"";display:block;height:0;left:0;position:absolute;right:0;z-index:1}.lc-Tab-module__tab--selected___c0EkL,.lc-Tab-module__tab--selected___c0EkL .lc-Tab-module__tab__description___JGXU6{color:var(--color-action-default)}.lc-Tab-module__tab--selected___c0EkL:before{bottom:-12px;height:3px}.lc-Tab-module__tab___fME7u:hover{color:var(--color-action-default);text-decoration:none}.lc-Tab-module__tab___fME7u:hover .lc-Tab-module__tab__description___JGXU6{color:var(--color-action-default)}.lc-TabsWrapper-module__tabs___Y2xyD{border-bottom:1px solid var(--border-subtle);position:relative}.lc-TabsWrapper-module__tabs__list___i6tVO{display:flex;flex-direction:row;margin:0 -8px;position:relative}.lc-Tag-module__tag___1QRVY{align-items:center;background-color:var(--surface-secondary-default);border-color:var(--border-default);border-radius:4px;border-style:none;border-width:1px;box-sizing:border-box;color:var(--content-default);display:inline-flex;position:relative}.lc-Tag-module__tag--success___P2hXQ{background-color:#d1f4d5;border-color:#005321;color:#005321}.lc-Tag-module__tag--success___P2hXQ .lc-Tag-module__tag__remove___UmtrW{color:#005321}.lc-Tag-module__tag--error___1cjsm{background-color:var(--surface-feedback-negative);border-color:var(--color-negative-active);color:var(--color-negative-active)}.lc-Tag-module__tag--error___1cjsm .lc-Tag-module__tag__remove___UmtrW{color:var(--color-negative-active)}.lc-Tag-module__tag--warning___PstMG{background-color:#ffe9bc;border-color:#755b00;color:#755b00}.lc-Tag-module__tag--warning___PstMG .lc-Tag-module__tag__remove___UmtrW{color:#755b00}.lc-Tag-module__tag--info___RTH0C{background-color:var(--surface-feedback-info);border-color:var(--color-action-active);color:var(--color-action-active)}.lc-Tag-module__tag--info___RTH0C .lc-Tag-module__tag__remove___UmtrW{color:var(--color-action-active)}.lc-Tag-module__tag--medium___l5-KI{padding:1px 8px}.lc-Tag-module__tag--large___ytC6Y{padding:5px 12px}.lc-Tag-module__tag--outline___aZXtr{background-color:transparent;border-style:solid}.lc-Tag-module__tag--outline___aZXtr.lc-Tag-module__tag--medium___l5-KI{padding:0 7px}.lc-Tag-module__tag--outline___aZXtr.lc-Tag-module__tag--large___ytC6Y{padding:4px 11px}.lc-Tag-module__tag--outline___aZXtr .lc-Tag-module__icon___2Z-35{background-color:transparent}.lc-Tag-module__tag--text-white___x0fnD{color:#fff}.lc-Tag-module__tag--text-black___dUvmD{color:#000}.lc-Tag-module__tag--with-icon___ZlkvT.lc-Tag-module__tag--medium___l5-KI{padding-left:4px}.lc-Tag-module__tag--with-icon___ZlkvT.lc-Tag-module__tag--large___ytC6Y{padding-left:6px}.lc-Tag-module__tag--dismissible___Qobyr.lc-Tag-module__tag--medium___l5-KI{padding-right:4px}.lc-Tag-module__tag--dismissible___Qobyr.lc-Tag-module__tag--large___ytC6Y{padding-right:6px}.lc-Tag-module__tag__icon___tZoQ9{margin-right:4px}.lc-Tag-module__tag__avatar___U4c-P{border-radius:50%;height:20px;margin-right:4px;width:20px}.lc-Tag-module__tag__remove___UmtrW{align-items:center;background-color:transparent;border-style:none;box-shadow:none;color:var(--content-subtle);cursor:pointer;display:flex;justify-content:center;outline:none;padding:0 0 0 4px}.lc-Tag-module__tag__remove___UmtrW:hover{color:var(--content-default)}.lc-TagInput-module__tag-input___CLVY-{align-items:center;background-clip:padding-box;border:1px solid var(--border-default);border-radius:4px;box-sizing:border-box;color:var(--content-default);display:flex;flex-wrap:wrap;font-size:15px;overflow-y:auto;padding:4px;transition:border .25s ease-in-out;width:100%;will-change:border-color}.lc-TagInput-module__tag-input___CLVY-::placeholder{color:var(--content-disabled)}.lc-TagInput-module__tag-input___CLVY-:hover{border-color:var(--border-hover);outline:0}.lc-TagInput-module__tag-input___CLVY-:focus-within{border-color:var(--color-action-default);outline:0}.lc-TagInput-module__tag-input--error___RP0SB,.lc-TagInput-module__tag-input--error___RP0SB:focus-within{border-color:var(--color-negative-default)}.lc-TagInput-module__tag-input___CLVY-:disabled{color:var(--content-disabled);cursor:not-allowed}.lc-TagInput-module__tag-input___CLVY- *{box-sizing:border-box}.lc-TagInput-module__tag-input___CLVY->*{margin:2px}.lc-TagInput-module__tag-input__input___dgEYB{appearance:none;background:transparent;border-style:none;box-shadow:none;color:var(--content-default);flex-grow:1;font-size:15px;margin:0 4px;outline:0;padding:0 0 0 4px;width:auto}.lc-TagInput-module__tag-input__input--medium___DYF7X{line-height:28px}.lc-TagInput-module__tag-input__input--large___G6iEO{line-height:36px}.lc-TagInput-module__tag-input__input___dgEYB:focus{border-style:none}.lc-TagInput-module__tag-input__tag__content___x95-M{border-style:none;outline:0;padding:0;white-space:nowrap}.lc-Toast-module__toast___j5Amn{align-items:center;background:#fff;border-radius:4px;box-shadow:0 6px 30px -10px #0000004d;box-sizing:border-box;display:inline-flex;flex:0 1 auto;font-size:15px;font-stretch:normal;font-style:normal;font-weight:600;justify-content:flex-start;letter-spacing:normal;line-height:20px;max-width:500px;min-width:300px;padding:10px 12px}.lc-Toast-module__toast__content___HjaNw{color:var(--content-default);width:100%}.lc-Toast-module__toast__icon___wLbLu,.lc-Toast-module__toast__close___O18Lh{align-self:baseline;height:20px;padding-right:12px}.lc-Toast-module__toast__icon___wLbLu svg{display:flex;fill:var(--color-action-default);height:20px;width:20px}.lc-Toast-module__toast__actions___JWu-1{align-items:center;align-self:flex-start;display:inline-flex;flex:1 0 auto;flex-wrap:nowrap;height:20px;margin-bottom:auto;margin-left:auto}.lc-Toast-module__toast__actions-close___xN8YT{align-items:center;display:flex;flex:0 1 auto;height:100%;margin-left:16px;width:100%}.lc-Toast-module__toast__actions-close___xN8YT svg{cursor:pointer;display:flex;fill:var(--content-subtle);height:16px;width:16px}.lc-Toast-module__toast__actions-custom___z1UUf{background-color:transparent;border:0;color:var(--content-default);cursor:pointer;font-weight:600;line-height:20px;margin-left:16px;outline:0;padding:0;text-decoration:underline;white-space:nowrap}.lc-Toast-module__toast--notification___pDXnc{background:#fff}.lc-Toast-module__toast--success___7UC6m{background:var(--color-positive-default)}.lc-Toast-module__toast--warning___pteb7{background:var(--color-warning-default)}.lc-Toast-module__toast--warning___pteb7 .lc-Toast-module__toast__content___HjaNw{color:#424d57}.lc-Toast-module__toast--error___trg--{background:var(--color-negative-default)}.lc-Toast-module__toast--info___IOp44{background:var(--color-action-default)}.lc-Toast-module__toast--success___7UC6m .lc-Toast-module__toast__content___HjaNw,.lc-Toast-module__toast--success___7UC6m .lc-Toast-module__toast__actions-custom___z1UUf,.lc-Toast-module__toast--error___trg-- .lc-Toast-module__toast__content___HjaNw,.lc-Toast-module__toast--error___trg-- .lc-Toast-module__toast__actions-custom___z1UUf,.lc-Toast-module__toast--info___IOp44 .lc-Toast-module__toast__content___HjaNw,.lc-Toast-module__toast--info___IOp44 .lc-Toast-module__toast__actions-custom___z1UUf{color:#fff}.lc-Toast-module__toast-wrapper___Oiwqp{align-items:center;display:flex;flex-direction:column;position:absolute;z-index:120}.lc-Toast-module__toast-wrapper--fixed___QYxRI{position:fixed}.lc-Toast-module__toast-wrapper--block___j0kGt{position:static}.lc-Toast-module__toast-wrapper--horizontal-center___t9AFd{left:50%;transform:translate(-50%)}.lc-Toast-module__toast-wrapper--horizontal-left___-GY4I{left:5px}.lc-Toast-module__toast-wrapper--horizontal-right___VVMgm{right:5px}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG{top:5px}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast___j5Amn{margin-bottom:10px}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-appear--slide___G7GAp{transform:translateY(-100%)!important}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-appear--slide___G7GAp.lc-Toast-module__toast-appear-active--slide___brfgK{transform:translateY(0)!important;transition:transform .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-exit--slide___aqiBq{transform:translateY(0)!important}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-exit--slide___aqiBq.lc-Toast-module__toast-exit-active--slide___WryMi{transform:translateY(-100%)!important;transition:transform .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH{bottom:5px}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast___j5Amn{margin-top:10px}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-appear--slide___G7GAp{transform:translateY(100%)!important}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-appear--slide___G7GAp.lc-Toast-module__toast-appear-active--slide___brfgK{transform:translateY(0)!important;transition:transform .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-exit--slide___aqiBq{transform:translateY(0)!important}.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-exit--slide___aqiBq.lc-Toast-module__toast-exit-active--slide___WryMi{transform:translateY(100%)!important;transition:transform .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-appear--fade___oUwHm,.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-appear--fade___oUwHm{opacity:0}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-appear--fade___oUwHm.lc-Toast-module__toast-appear-active--fade___D3--J,.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-appear--fade___oUwHm.lc-Toast-module__toast-appear-active--fade___D3--J,.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-exit--fade___iDA1p,.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-exit--fade___iDA1p{opacity:1;transition:opacity .2s ease-in}.lc-Toast-module__toast-wrapper--vertical-top___uBfEG .lc-Toast-module__toast-exit--fade___iDA1p.lc-Toast-module__toast-exit-active--fade___tL7sb,.lc-Toast-module__toast-wrapper--vertical-bottom___erPuH .lc-Toast-module__toast-exit--fade___iDA1p.lc-Toast-module__toast-exit-active--fade___tL7sb{opacity:0}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/design-system-react-components",
3
- "version": "1.0.0-alpha.5",
3
+ "version": "1.0.0-alpha.8",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -30,12 +30,11 @@
30
30
  "test:coverage": "vitest run --coverage"
31
31
  },
32
32
  "peerDependencies": {
33
- "react": "^17.0.2",
34
- "react-dom": "^17.0.2"
33
+ "react": ">= 17.0.2",
34
+ "react-dom": ">= 17.0.2"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@babel/core": "^7.17.7",
38
- "@livechat/design-system-icons": "^1.0.0-alpha.4",
39
38
  "@storybook/addon-actions": "^6.4.13",
40
39
  "@storybook/addon-essentials": "^6.4.13",
41
40
  "@storybook/addon-links": "^6.4.13",
@@ -62,6 +61,7 @@
62
61
  "vitest": "^0.6.3"
63
62
  },
64
63
  "dependencies": {
64
+ "@livechat/design-system-icons": "^1.0.0-alpha.8",
65
65
  "@popperjs/core": "^2.11.2",
66
66
  "clsx": "^1.1.1",
67
67
  "lodash.escape": "^4.0.1",
@@ -69,5 +69,5 @@
69
69
  "react-popper": "^2.2.5",
70
70
  "react-transition-group": "^4.4.2"
71
71
  },
72
- "gitHead": "39f8bf17ce92736d68107b2ef69087904d000620"
72
+ "gitHead": "844637b8ac420e425f01b7b329e8554d3cd4420c"
73
73
  }