@aws-amplify/ui 3.0.1 → 3.0.2

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/index.js CHANGED
@@ -1,9 +1,9 @@
1
- var Pr=Object.create;var F=Object.defineProperty,Or=Object.defineProperties,Nr=Object.getOwnPropertyDescriptor,Fr=Object.getOwnPropertyDescriptors,zr=Object.getOwnPropertyNames,fe=Object.getOwnPropertySymbols,Br=Object.getPrototypeOf,he=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable;var be=(o,r,a)=>r in o?F(o,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[r]=a,p=(o,r)=>{for(var a in r||(r={}))he.call(r,a)&&be(o,a,r[a]);if(fe)for(var a of fe(r))Mr.call(r,a)&&be(o,a,r[a]);return o},M=(o,r)=>Or(o,Fr(r)),ye=o=>F(o,"__esModule",{value:!0});var Gr=(o,r)=>()=>(o&&(r=o(o=0)),r);var d=(o,r)=>()=>(r||o((r={exports:{}}).exports,r),r.exports),Hr=(o,r)=>{ye(o);for(var a in r)F(o,a,{get:r[a],enumerable:!0})},Lr=(o,r,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of zr(r))!he.call(o,t)&&t!=="default"&&F(o,t,{get:()=>r[t],enumerable:!(a=Nr(r,t))||a.enumerable});return o},v=o=>Lr(ye(F(o!=null?Pr(Br(o)):{},"default",o&&o.__esModule&&"default"in o?{get:()=>o.default,enumerable:!0}:{value:o,enumerable:!0})),o);var e=Gr(()=>{});var po=d((Ht,mo)=>{e();mo.exports={color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}}}});var fo=d((Lt,go)=>{e();go.exports={color:{value:"{colors.font.primary.value}"},lineHeight:{value:1},fontWeight:{value:"{fontWeights.semibold.value}"},fontSize:{value:"{fontSizes.small.value}"},textAlign:{value:"center"},paddingVertical:{value:"{space.xs.value}"},paddingHorizontal:{value:"{space.small.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xl.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},small:{fontSize:{value:"{fontSizes.xs.value}"},paddingVertical:{value:"{space.xxs.value}"},paddingHorizontal:{value:"{space.xs.value}"}},large:{fontSize:{value:"{fontSizes.medium.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"}}}});var bo=d((qt,ho)=>{e();ho.exports={fontWeight:{value:"{fontWeights.bold.value}"},transitionDuration:{value:"{components.fieldcontrol.transitionDuration.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},lineHeight:{value:"{components.fieldcontrol.lineHeight.value}"},paddingBlockStart:{value:"{components.fieldcontrol.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.paddingInlineEnd.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},borderWidth:{value:"{components.fieldcontrol.borderWidth.value}"},borderStyle:{value:"{components.fieldcontrol.borderStyle.value}"},borderRadius:{value:"{components.fieldcontrol.borderRadius.value}"},color:{value:"{colors.font.primary.value}"},_hover:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.brand.primary.60.value}"}},_focus:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{color:{value:"{colors.font.active.value}"},backgroundColor:{value:"{colors.brand.primary.20.value}"},borderColor:{value:"{colors.brand.primary.100.value}"}},_loading:{color:{value:"{colors.font.tertiary.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},primary:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.font.inverse.value}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.tertiary.value}"},color:{value:"{colors.font.inverse.value}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.100.value}"},color:{value:"{colors.font.inverse.value}"}}},menu:{borderWidth:{value:0},backgroundColor:{value:"transparent"},justifyContent:{value:"start"},_hover:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_focus:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_active:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.90.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}}},link:{borderWidth:{value:0},borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.interactive.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.hover.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.20.value}"},color:{value:"{colors.font.active.value}"}},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}}},small:{fontSize:{value:"{components.fieldcontrol.small.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.small.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.small.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.small.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.small.paddingInlineEnd.value}"}},large:{fontSize:{value:"{components.fieldcontrol.large.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.large.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.large.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.large.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.large.paddingInlineEnd.value}"}}}});var So=d((jt,yo)=>{e();yo.exports={backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"none"},padding:{value:"{space.medium.value}"},outlined:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},elevated:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"{shadows.medium.value}"}}}});var Co=d(($t,xo)=>{e();xo.exports={cursor:{value:"pointer"},alignItems:{value:"center"},_disabled:{cursor:{value:"not-allowed"}},button:{position:{value:"relative"},alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.white.value}"},before:{width:{value:"100%"},height:{value:"100%"},borderWidth:{value:"{borderWidths.medium.value}"},borderRadius:{value:"20%"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},_focus:{outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.error.value}"}}}}},icon:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"20%"},opacity:{value:"{opacities.0.value}"},transform:{value:"scale(0)"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.short.value}"},transitionTimingFunction:{value:"ease-in-out"},_checked:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}}});var To=d((Xt,ko)=>{e();ko.exports={alignItems:{value:"flex-start"},alignContent:{value:"center"},flexDirection:{value:"column"},justifyContent:{value:"center"}}});var Ao=d((Yt,wo)=>{e();wo.exports={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.medium.value}"},small:{borderWidth:{value:"{borderWidths.small.value}"}},large:{borderWidth:{value:"{borderWidths.large.value}"}},opacity:{value:"{opacities.60.value}"}}});var Do=d((Kt,Eo)=>{e();Eo.exports={display:{value:"block"},backgroundColor:{value:"{colors.white.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},width:{value:"100%"},item:{marginTop:{value:"1px"},boxShadow:{value:"{shadows.small.value}"},borderBottomLeftRadius:{value:"{radii.medium.value}"},borderBottomRightRadius:{value:"{radii.medium.value}"},borderTopLeftRadius:{value:"{radii.medium.value}"},borderTopRightRadius:{value:"{radii.medium.value}"},borderStartStartRadius:{value:"{radii.medium.value}"},borderStartEndRadius:{value:"{radii.medium.value}"},borderEndStartRadius:{value:"{radii.medium.value}"},borderEndEndRadius:{value:"{radii.medium.value}"},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},header:{boxShadow:{value:{offsetX:"0",offsetY:"1px",blurRadius:"0",color:"{colors.overlay.20.value}"}}},trigger:{minHeight:{value:"3rem"},paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},alignItems:{value:"center"},justifyContent:{value:"space-between"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}}},content:{paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},text:{color:{value:"{colors.font.secondary.value}"},paddingBlockStart:{value:"{space.medium.value}"},paddingBlockEnd:{value:"{space.medium.value}"}},_open:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}},_closed:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},icon:{transitionDuration:{value:"{time.medium.value}"},transitionTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}}});var Wo=d((Qt,Io)=>{e();Io.exports={gap:{value:"{space.xs.value}"},fontSize:{value:"{fontSizes.medium.value}"},small:{gap:{value:"{space.xxxs.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{gap:{value:"{space.small.value}"},fontSize:{value:"{fontSizes.large.value}"}},label:{color:{value:"{colors.font.secondary.value}"}}}});var Vo=d((Zt,Ro)=>{e();Ro.exports={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.small.value}"},color:{value:"{colors.font.primary.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"},fontSize:{value:"{components.field.fontSize.value}"},lineHeight:{value:"{lineHeights.medium.value}"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},small:{fontSize:{value:"{components.field.small.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.small.value}"},paddingInlineEnd:{value:"{space.small.value}"}},large:{fontSize:{value:"{components.field.large.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}},quiet:{borderStyle:{value:"none"},borderBlockEnd:{value:"{borderWidths.small.value} solid {colors.border.primary.value}"},borderInlineStart:{value:"none"},borderInlineEnd:{value:"none"},borderBlockStart:{value:"none"},borderRadius:{value:"0"},_focus:{borderBlockEndColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.focus.value}"}}},_error:{borderBlockEndColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.error.value}"}}}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.focus.value}"}}},_disabled:{color:{value:"{colors.font.disabled.value}"},cursor:{value:"not-allowed"},borderColor:{value:"{colors.transparent.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.error.value}"}}}}}});var Uo=d((Jt,_o)=>{e();_o.exports={gap:{value:0},vertical:{alignItems:{value:"center"}},outer:{alignItems:{value:"center"}}}});var Oo=d((en,Po)=>{e();Po.exports={error:{color:{value:"{colors.font.error.value}"},fontSize:{value:"{fontSizes.small.value}"}},description:{color:{value:"{colors.font.secondary.value}"},fontStyle:{value:"italic"},fontSize:{value:"{fontSizes.small.value}"}}}});var Fo=d((on,No)=>{e();No.exports={gap:{value:"{space.medium.value}"},justifyContent:{value:"normal"},alignItems:{value:"stretch"},alignContent:{value:"normal"},flexWrap:{value:"nowrap"}}});var Bo=d((rn,zo)=>{e();zo.exports={color:{value:"{colors.font.primary.value}"},lineHeight:{value:1.25},1:{fontSize:{value:"{fontSizes.xxxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},2:{fontSize:{value:"{fontSizes.xxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},3:{fontSize:{value:"{fontSizes.xxl.value}"},fontWeight:{value:"{fontWeights.normal.value}"}},4:{fontSize:{value:"{fontSizes.xl.value}"},fontWeight:{value:"{fontWeights.medium.value}"}},5:{fontSize:{value:"{fontSizes.large.value}"},fontWeight:{value:"{fontWeights.semibold.value}"}},6:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}}}});var Go=d((an,Mo)=>{e();Mo.exports={lineHeight:{value:1},height:{value:"1em"}}});var Lo=d((tn,Ho)=>{e();Ho.exports={maxWidth:{value:"100%"},height:{value:"auto"},objectFit:{value:"initial"},objectPosition:{value:"initial"}}});var jo=d((nn,qo)=>{e();qo.exports={active:{color:{value:"{colors.font.active.value}"}},color:{value:"{colors.font.interactive.value}"},focus:{color:{value:"{colors.font.focus.value}"}},hover:{color:{value:"{colors.font.hover.value}"}},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},visited:{color:{value:"{colors.font.interactive.value}"}}}});var Xo=d((ln,$o)=>{e();$o.exports={width:{value:"{fontSizes.xxl.value}"},height:{value:"{fontSizes.xxl.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},linear:{width:{value:"100%"},minWidth:{value:"5rem"},height:{value:"{fontSizes.xxs.value}"},strokeWidth:{value:"{fontSizes.xxs.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{height:{value:"{fontSizes.xxxs.value}"},strokeWidth:{value:"{fontSizes.xxxs.value}"}},large:{height:{value:"{fontSizes.xs.value}"},strokeWidth:{value:"{fontSizes.xs.value}"}}}}});var Ko=d((sn,Yo)=>{e();Yo.exports={backgroundColor:{value:"{colors.white.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},flexDirection:{value:"column"},gap:{value:0},maxWidth:{value:"30rem"},minWidth:{value:"14rem"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},item:{minHeight:{value:"2.5rem"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}}});var Zo=d((un,Qo)=>{e();Qo.exports={current:{alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.white.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.overlay.40.value}"}},button:{color:{value:"{colors.font.primary.value}"},paddingInlineStart:{value:"{space.xxs.value}"},paddingInlineEnd:{value:"{space.xxs.value}"},transitionProperty:{value:"background-color"},transitionDuration:{value:"{time.medium.value}"},hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},disabled:{color:{value:"{colors.font.disabled.value}"}}},ellipsis:{alignItems:{value:"baseline"},justifyContent:{value:"center"},paddingInlineStart:{value:"{space.xs.value}"},paddingInlineEnd:{value:"{space.xs.value}"}},itemContainer:{marginLeft:{value:"{space.xxxs.value}"},marginRight:{value:"{space.xxxs.value}"}},itemShared:{height:{value:"{fontSizes.xxl.value}"},minWidth:{value:"{fontSizes.xxl.value}"},borderRadius:{value:"{fontSizes.medium.value}"}}}});var er=d((dn,Jo)=>{e();Jo.exports={}});var rr=d((cn,or)=>{e();or.exports={borderRadius:{value:"{radii.small.value}"},transitionDuration:{value:"{time.long.value}"},startColor:{value:"{colors.background.secondary.value}"},endColor:{value:"{colors.background.tertiary.value}"},small:{height:{value:"{space.small.value}"}},default:{height:{value:"{space.medium.value}"}},large:{height:{value:"{space.large.value}"}}}});var tr=d((vn,ar)=>{e();ar.exports={alignItems:{value:"center"},justifyContent:{value:"flex-start"},gap:{value:"inherit"},_disabled:{cursor:{value:"not-allowed"}},button:{alignItems:{value:"center"},justifyContent:{value:"center"},width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},boxSizing:{value:"border-box"},borderWidth:{value:"{borderWidths.medium.value}"},borderStyle:{value:"solid"},borderRadius:{value:"50%"},borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.white.value}"},backgroundColor:{value:"{colors.white.value}"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},before:{content:{value:'""'},display:{value:"inline-block"},width:{value:"50%"},height:{value:"50%"},borderRadius:{value:"50%"},backgroundColor:{value:"currentColor"}},small:{width:{value:"{fontSizes.xs.value}"},height:{value:"{fontSizes.xs.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},_checked:{color:{value:"{colors.red.60.value}"},_disabled:{color:{value:"{colors.background.disabled.value}"}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.white.value}"},color:{value:"{colors.white.value}"}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}}});var ir=d((mn,nr)=>{e();nr.exports={large:{size:{value:"{fontSizes.xxxl.value}"}},default:{size:{value:"{fontSizes.xl.value}"}},small:{size:{value:"{fontSizes.small.value}"}},filled:{color:{value:"{colors.brand.secondary.80.value}"}},empty:{color:{value:"{colors.background.tertiary.value}"}}}});var sr=d((pn,lr)=>{e();lr.exports={paddingInlineEnd:{value:"{space.xxl.value}"},wrapper:{display:{value:"block"},position:{value:"relative"},cursor:{value:"pointer"}},iconWrapper:{alignItems:{value:"center"},position:{value:"absolute"},top:{value:"50%"},right:{value:"{space.medium.value}"},transform:{value:"translateY(-50%)"},pointerEvents:{value:"none"}},whiteSpace:{value:"nowrap"},minWidth:{value:"6.5rem"},small:{minWidth:{value:"5.5rem"}},large:{minWidth:{value:"7.5rem"}}}});var dr=d((gn,ur)=>{e();ur.exports={flexDirection:{value:"column"}}});var vr=d((fn,cr)=>{e();cr.exports={group:{gap:{value:"{space.small.value}"}},root:{horizontal:{height:{value:"2rem"}},vertical:{width:{value:"2rem"}}},track:{backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"9999px"},horizontal:{height:{value:"0.375rem"},minWidth:{value:"10rem"}},vertical:{width:{value:"0.375rem"},minHeight:{value:"10rem"}}},range:{backgroundColor:{value:"{colors.brand.primary.80.value}"}},thumb:{width:{value:"1.25rem"},height:{value:"1.25rem"},backgroundColor:{value:"{colors.white.value}"},boxShadow:{value:{offsetX:"0",offsetY:"2px",blurRadius:"10px",color:"{colors.black.value}"}},borderRadius:{value:"50%"},_hover:{backgroundColor:{value:"{colors.background.secondary.value}"}},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"3px",color:"{colors.border.focus.value}"}}}}}});var pr=d((hn,mr)=>{e();mr.exports={flexDirection:{value:"column"},input:{borderColor:{value:"{colors.brand.primary.20.value}"},textAlign:{value:"center"}}}});var fr=d((bn,gr)=>{e();gr.exports={disabled:{opacity:{value:"{opacities.30.value}"}},focused:{shadow:{value:"{shadows.small.value}"}},label:{padding:{value:"{space.xs.value}"}},large:{font:{size:{value:"{fontSizes.large.value}"}}},small:{font:{size:{value:"{fontSizes.small.value}"}}},thumb:{background:{value:"{colors.white.value}"},border:{color:{value:"{colors.neutral.20.value}"},radius:{value:"{radii.xxxl.value}"}},checked:{transform:{value:"{transforms.slideX.medium.value}"}},transition:{duration:{value:"{time.medium.value}"}},width:{value:"{space.relative.medium.value}"}},track:{backgroundColor:{value:"{colors.background.tertiary.value}"},border:{radius:{value:"{radii.xxxl.value}"}},checked:{backgroundColor:{value:"{colors.brand.primary.600.value}"}},height:{value:"{space.relative.medium.value}"},padding:{value:"{outlineWidths.medium.value}"},transition:{duration:{value:"{time.short.value}"}},width:{value:"{space.relative.xl.value}"}}}});var br=d((yn,hr)=>{e();hr.exports={borderCollapse:{value:"collapse"},display:{value:"table"},width:{value:"100%"},head:{display:{value:"table-header-group"},verticalAlign:{value:"middle"}},body:{display:{value:"table-row-group"},verticalAlign:{value:"middle"}},foot:{display:{value:"table-footer-group"},verticalAlign:{value:"middle"}},row:{display:{value:"table-row"},verticalAlign:{value:"middle"},hover:{backgroundColor:{value:"{colors.background.tertiary.value}"}},striped:{backgroundColor:{value:"{colors.background.secondary.value}"}}},header:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},data:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.normal.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},caption:{captionSide:{value:"bottom"},color:{value:"{colors.font.primary.value}"},display:{value:"table-caption"},fontSize:{value:"{fontSizes.medium.value}"},textAlign:{value:"center"},wordBreak:{value:"break-all"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}}}}});var Sr=d((Sn,yr)=>{e();yr.exports={backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},item:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},color:{value:"{colors.font.secondary.value}"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"},textAlign:{value:"center"},transitionDuration:{value:"{time.medium.value}"},_hover:{color:{value:"{colors.font.hover.value}"}},_focus:{color:{value:"{colors.font.focus.value}"}},_active:{color:{value:"{colors.font.interactive.value}"},borderColor:{value:"{colors.font.interactive.value}"},backgroundColor:{value:"transparent"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}}}}});var Cr=d((xn,xr)=>{e();xr.exports={color:{value:"{colors.font.primary.value}"},primary:{color:{value:"{colors.font.primary.value}"}},secondary:{color:{value:"{colors.font.secondary.value}"}},tertiary:{color:{value:"{colors.font.tertiary.value}"}},error:{color:{value:"{colors.font.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"}},success:{color:{value:"{colors.font.success.value}"}},info:{color:{value:"{colors.font.info.value}"}}}});var Tr=d((Cn,kr)=>{e();kr.exports={borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.overlay.50.value}"}},_active:{backgroundColor:{value:"{colors.transparent.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},borderColor:{value:"{colors.border.secondary.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{color:{value:"{colors.overlay.90.value}"},backgroundColor:{value:"{colors.overlay.20.value}"},_hover:{backgroundColor:{value:"{colors.overlay.30.value}"}}},primary:{backgroundColor:{value:"{colors.transparent.value}"},borderWidth:{value:"{borderWidths.small.value}"},_focus:{borderColor:{value:"{colors.border.focus.value}"},backgroundColor:{value:"{colors.transparent.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"},color:{value:"{colors.overlay.50.value}"}},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{backgroundColor:{value:"{colors.background.tertiary.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.white.value}"},_focus:{backgroundColor:{value:"{colors.border.focus.value}"},borderColor:{value:"{colors.border.focus.value}"}},_hover:{borderColor:{value:"{colors.brand.primary.60.value}"},backgroundColor:{value:"{colors.brand.primary.60.value}"}}}},link:{color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"}}}}}});var Ar=d((kn,wr)=>{e();wr.exports={alignItems:{value:"center"},alignContent:{value:"center"},justifyContent:{value:"flex-start"}}});var Dr=d((Tn,Er)=>{e();Er.exports={alert:po(),badge:fo(),button:bo(),card:So(),checkbox:Co(),checkboxfield:To(),divider:Ao(),expander:Do(),field:Wo(),fieldcontrol:Vo(),fieldgroup:Uo(),fieldmessages:Oo(),flex:Fo(),heading:Bo(),icon:Go(),image:Lo(),link:jo(),loader:Xo(),menu:Ko(),pagination:Zo(),phonenumberfield:er(),placeholder:rr(),radio:tr(),rating:ir(),select:sr(),selectfield:dr(),sliderfield:vr(),stepperfield:pr(),switchfield:fr(),table:br(),tabs:Sr(),text:Cr(),togglebutton:Tr(),togglebuttongroup:Ar()}});Hr(exports,{AuthChallengeNames:()=>k,DefaultTexts:()=>Jr,FederatedIdentityProviders:()=>Y,LoginMechanismArray:()=>z,authInputAttributes:()=>D,censorAllButFirstAndLast:()=>Kr,censorPhoneNumber:()=>Qr,countryDialCodes:()=>Zr,createAuthenticatorMachine:()=>ra,createTheme:()=>ue,defaultTheme:()=>ia,getActorContext:()=>Se,getActorState:()=>G,getAliasInfoFromContext:()=>$r,getConfiguredAliases:()=>Xr,getSendEventAliases:()=>xe,getServiceContextFacade:()=>Ce,getServiceFacade:()=>Yr,isDesignToken:()=>na,signUpFieldsWithDefault:()=>qr,signUpFieldsWithoutDefault:()=>jr,translate:()=>ea,translations:()=>oa});e();e();e();var X=v(require("lodash/includes"));e();e();var qr=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],jr=["address","gender","locale","picture","updated_at","zoneinfo"],k;(function(i){i.SMS_MFA="SMS_MFA",i.SOFTWARE_TOKEN_MFA="SOFTWARE_TOKEN_MFA",i.NEW_PASSWORD_REQUIRED="NEW_PASSWORD_REQUIRED",i.RESET_REQUIRED="RESET_REQUIRED",i.MFA_SETUP="MFA_SETUP"})(k||(k={}));var z=["username","email","phone_number"];e();var D={birthdate:{label:"Birthdate",placeholder:"Birthdate",type:"date",autocomplete:"bday"},confirmation_code:{label:"Confirmation Code",placeholder:"Code",type:"text",autocomplete:"one-time-code"},email:{label:"Email",type:"email",placeholder:"Email",autocomplete:"username"},family_name:{label:"Family Name",placeholder:"Family Name",type:"text",autocomplete:"family-name"},given_name:{label:"Given Name",placeholder:"Given Name",type:"text",autocomplete:"given-name"},middle_name:{label:"Middle Name",placeholder:"Middle Name",type:"text",autocomplete:"additional-name"},name:{label:"Name",placeholder:"Name",type:"text",autocomplete:"name"},nickname:{label:"Nickname",placeholder:"Nickname",type:"text",autocomplete:"tel"},password:{label:"Password",placeholder:"Password",type:"password",autocomplete:"password"},phone_number:{label:"Phone Number",placeholder:"Phone",type:"tel",autocomplete:"tel"},preferred_username:{label:"Preferred Username",placeholder:"Preferred Username",type:"text"},profile:{label:"Profile",placeholder:"Profile",type:"url",autocomplete:"url"},website:{label:"Website",placeholder:"Website",type:"url",autocomplete:"url"},username:{label:"Username",type:"text",placeholder:"Username",autocomplete:"username"}},Y;(function(n){n.Apple="SignInWithApple",n.Amazon="LoginWithAmazon",n.Facebook="Facebook",n.Google="Google"})(Y||(Y={}));var $r=(o,r)=>{var s,l,u,f,c;let a=(s=o.config)==null?void 0:s.loginMechanisms,t=(u=(l=o.actorRef)==null?void 0:l.context)==null?void 0:u.validationError.username;if(z.includes(r))return{label:D[r].label,type:D[r].type,error:t};let n="text",i=a.filter(m=>(0,X.default)(z,m)).map(m=>{var y,x;return(x=(y=D[m])==null?void 0:y.label)!=null?x:D.username.label}).join(" or ");return a.length===1&&(n=(c=(f=D[a[0]])==null?void 0:f.type)!=null?c:"text"),{label:i,type:n,error:t}},Xr=o=>{var i;let a=((i=o.config)==null?void 0:i.loginMechanisms).filter(s=>(0,X.default)(z,s)),[t,...n]=a;return{primaryAlias:t,secondaryAliases:n}},G=o=>{var r;return(r=o.context.actorRef)==null?void 0:r.getSnapshot()},Se=o=>{var r;return(r=G(o))==null?void 0:r.context},xe=o=>{let r=a=>t=>o({type:a,data:t});return{resendCode:r("RESEND"),signOut:r("SIGN_OUT"),submitForm:r("SUBMIT"),updateForm:r("CHANGE"),toFederatedSignIn:r("FEDERATED_SIGN_IN"),toResetPassword:r("RESET_PASSWORD"),toSignIn:r("SIGN_IN"),toSignUp:r("SIGN_UP"),skipVerification:r("SKIP")}},Ce=o=>{var f,c;let r=(f=o.context)==null?void 0:f.user,a=G(o),t=Se(o),n=t==null?void 0:t.remoteError,i=p({},t==null?void 0:t.validationError),s=Object.keys(i).length>0,l=o.hasTag("pending")||((c=G(o))==null?void 0:c.hasTag("pending")),u=(()=>{switch(!0){case o.matches("idle"):return"idle";case o.matches("signOut"):return"signOut";case o.matches("authenticated"):return"authenticated";case(a==null?void 0:a.matches("confirmSignUp")):return"confirmSignUp";case(a==null?void 0:a.matches("confirmSignIn")):return"confirmSignIn";case(a==null?void 0:a.matches("setupTOTP")):return"setupTOTP";case(a==null?void 0:a.matches("signIn")):return"signIn";case(a==null?void 0:a.matches("signUp")):return"signUp";case(a==null?void 0:a.matches("forceNewPassword")):return"forceNewPassword";case(a==null?void 0:a.matches("resetPassword")):return"resetPassword";case(a==null?void 0:a.matches("confirmResetPassword")):return"confirmResetPassword";case(a==null?void 0:a.matches("verifyUser")):return"verifyUser";case(a==null?void 0:a.matches("confirmVerifyUser")):return"confirmVerifyUser";default:return console.debug("Cannot infer `route` from Authenticator state:",o.value),null}})();return{error:n,hasValidationErrors:s,isPending:l,route:u,user:r,validationErrors:i}},Yr=({send:o,state:r})=>{let a=xe(o),t=Ce(r);return p(p({},a),t)};e();var Kr=o=>{let r=o.trim().split("");for(let a=0;a<r.length;a++)a>0&&a<r.length-1&&(r[a]="*");return r.join("")},Qr=o=>{if(o.length<4)return o;let r=o.split("");for(let a=0;a<r.length-4;a++)r[a]="*";return r.join("")};e();e();var Zr=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+291","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"];e();var Re=v(require("aws-amplify"));e();e();e();var K={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Code:"Code",Confirm:"Best\xE4tigen","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code","Create a new account":"Erstelle einen neuen Account","Create account":"Hier registrieren","Create Account":"Account erstellen",Email:"Email","Enter your password":"Geben Sie Ihr Passwort ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Forgot Password":"Passwort vergessen","Forgot your password? ":"Passwort vergessen? ","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xFCltiges Passwort-Format","Invalid phone number format":"Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ",or:"oder",Password:"Passwort","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset password":"Passwort zur\xFCcksetzen","Reset your password":"Zur\xFCcksetzen des Passworts","Send Code":"Code senden","Sign in":"Anmelden","Sign In":"Anmelden","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign Out":"Abmelden","Sign Up":"Registrieren",Skip:"\xDCberspringen",Submit:"Abschicken","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht",Username:"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein",Verify:"Verifizieren","Verify Contact":"Kontakt verifizieren"};e();var Q={"Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Reset your Password":"Reset your Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create Account":"Create Account","Creating Account":"Creating Account",Email:"Email","Enter your code":"Enter your code","Enter your username":"Enter your username","Enter your phone number":"Enter your phone number","Enter your email":"Enter your email","Forgot your password? ":"Forgot your password? ","Hide password":"Hide password",Loading:"Loading",Username:"Username","New password":"New password",Password:"Password","Phone Number":"Phone Number","Resend Code":"Resend Code","Reset your password":"Reset your password","Send Code":"Send Code","Send code":"Send code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in":"Sign in","Sign In":"Sign In","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in to your account":"Sign in to your account","Create a new account":"Create a new account","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting","Verify Contact":"Verify Contact","Account recovery requires verified contact information":"Account recovery requires verified contact information",Verify:"Verify"};e();var Z={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Iniciar sesi\xF3n","Change Password":"Cambia la contrase\xF1a",Code:"C\xF3digo",Confirm:"Confirmar","Confirm a Code":"Confirmar un c\xF3digo","Confirm Password":"Confirmar Contrase\xF1a","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Confirm Sign Up":"Confirmar Registraci\xF3n","Confirmation Code":"Codigo de confirmaci\xF3n","Create a new account":"Crear una cuenta nueva",Email:"Email","Forgot Password":"Se te olvid\xF3 la contrase\xF1a?","Incorrect username or password":"Nombre de usuario o contrase\xF1a incorrecta","Invalid password format":"Formato de contrase\xF1a inv\xE1lido","Invalid phone number format":`Formato de n\xFAmero de tel\xE9fono inv\xE1lido.
1
+ var Ur=Object.create;var F=Object.defineProperty,Or=Object.defineProperties,Nr=Object.getOwnPropertyDescriptor,Fr=Object.getOwnPropertyDescriptors,zr=Object.getOwnPropertyNames,fe=Object.getOwnPropertySymbols,Br=Object.getPrototypeOf,he=Object.prototype.hasOwnProperty,Mr=Object.prototype.propertyIsEnumerable;var be=(o,r,a)=>r in o?F(o,r,{enumerable:!0,configurable:!0,writable:!0,value:a}):o[r]=a,p=(o,r)=>{for(var a in r||(r={}))he.call(r,a)&&be(o,a,r[a]);if(fe)for(var a of fe(r))Mr.call(r,a)&&be(o,a,r[a]);return o},M=(o,r)=>Or(o,Fr(r)),ye=o=>F(o,"__esModule",{value:!0});var Gr=(o,r)=>()=>(o&&(r=o(o=0)),r);var d=(o,r)=>()=>(r||o((r={exports:{}}).exports,r),r.exports),Hr=(o,r)=>{ye(o);for(var a in r)F(o,a,{get:r[a],enumerable:!0})},Lr=(o,r,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let t of zr(r))!he.call(o,t)&&t!=="default"&&F(o,t,{get:()=>r[t],enumerable:!(a=Nr(r,t))||a.enumerable});return o},v=o=>Lr(ye(F(o!=null?Ur(Br(o)):{},"default",o&&o.__esModule&&"default"in o?{get:()=>o.default,enumerable:!0}:{value:o,enumerable:!0})),o);var e=Gr(()=>{});var po=d((Ht,mo)=>{e();mo.exports={alignItems:{value:"center"},justifyContent:{value:"space-between"},color:{value:"{colors.font.primary.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},paddingBlock:{value:"{space.small.value}"},paddingInline:{value:"{space.medium.value}"},icon:{size:{value:"{fontSizes.xl.value}"}},heading:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}}}});var fo=d((Lt,go)=>{e();go.exports={color:{value:"{colors.font.primary.value}"},lineHeight:{value:1},fontWeight:{value:"{fontWeights.semibold.value}"},fontSize:{value:"{fontSizes.small.value}"},textAlign:{value:"center"},paddingVertical:{value:"{space.xs.value}"},paddingHorizontal:{value:"{space.small.value}"},backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xl.value}"},info:{color:{value:"{colors.font.info.value}"},backgroundColor:{value:"{colors.background.info.value}"}},warning:{color:{value:"{colors.font.warning.value}"},backgroundColor:{value:"{colors.background.warning.value}"}},success:{color:{value:"{colors.font.success.value}"},backgroundColor:{value:"{colors.background.success.value}"}},error:{color:{value:"{colors.font.error.value}"},backgroundColor:{value:"{colors.background.error.value}"}},small:{fontSize:{value:"{fontSizes.xs.value}"},paddingVertical:{value:"{space.xxs.value}"},paddingHorizontal:{value:"{space.xs.value}"}},large:{fontSize:{value:"{fontSizes.medium.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"}}}});var bo=d((qt,ho)=>{e();ho.exports={fontWeight:{value:"{fontWeights.bold.value}"},transitionDuration:{value:"{components.fieldcontrol.transitionDuration.value}"},fontSize:{value:"{components.fieldcontrol.fontSize.value}"},lineHeight:{value:"{components.fieldcontrol.lineHeight.value}"},paddingBlockStart:{value:"{components.fieldcontrol.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.paddingInlineEnd.value}"},borderColor:{value:"{components.fieldcontrol.borderColor.value}"},borderWidth:{value:"{components.fieldcontrol.borderWidth.value}"},borderStyle:{value:"{components.fieldcontrol.borderStyle.value}"},borderRadius:{value:"{components.fieldcontrol.borderRadius.value}"},color:{value:"{colors.font.primary.value}"},_hover:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.brand.primary.60.value}"}},_focus:{color:{value:"{colors.font.focus.value}"},backgroundColor:{value:"{colors.brand.primary.10.value}"},borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{color:{value:"{colors.font.active.value}"},backgroundColor:{value:"{colors.brand.primary.20.value}"},borderColor:{value:"{colors.brand.primary.100.value}"}},_loading:{color:{value:"{colors.font.tertiary.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}},primary:{borderColor:{value:"transparent"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},backgroundColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.font.inverse.value}"},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.disabled.value}"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.background.tertiary.value}"},color:{value:"{colors.font.inverse.value}"}},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.90.value}"},color:{value:"{colors.font.inverse.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.100.value}"},color:{value:"{colors.font.inverse.value}"}}},menu:{borderWidth:{value:0},backgroundColor:{value:"transparent"},justifyContent:{value:"start"},_hover:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_focus:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.80.value}"}},_active:{color:{value:"{colors.font.inverse.value}"},backgroundColor:{value:"{colors.brand.primary.90.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}}},link:{borderWidth:{value:0},borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.interactive.value}"},_hover:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.hover.value}"}},_focus:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.10.value}"},color:{value:"{colors.font.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_active:{borderColor:{value:"transparent"},backgroundColor:{value:"{colors.brand.primary.20.value}"},color:{value:"{colors.font.active.value}"}},_disabled:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}},_loading:{borderColor:{value:"transparent"},backgroundColor:{value:"transparent"},color:{value:"{colors.font.disabled.value}"}}},small:{fontSize:{value:"{components.fieldcontrol.small.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.small.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.small.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.small.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.small.paddingInlineEnd.value}"}},large:{fontSize:{value:"{components.fieldcontrol.large.fontSize.value}"},paddingBlockStart:{value:"{components.fieldcontrol.large.paddingBlockStart.value}"},paddingBlockEnd:{value:"{components.fieldcontrol.large.paddingBlockEnd.value}"},paddingInlineStart:{value:"{components.fieldcontrol.large.paddingInlineStart.value}"},paddingInlineEnd:{value:"{components.fieldcontrol.large.paddingInlineEnd.value}"}}}});var So=d((jt,yo)=>{e();yo.exports={backgroundColor:{value:"{colors.background.primary.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"none"},padding:{value:"{space.medium.value}"},outlined:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},elevated:{backgroundColor:{value:"{components.card.backgroundColor.value}"},borderRadius:{value:"{radii.xs.value}"},borderWidth:{value:"0"},borderStyle:{value:"solid"},borderColor:{value:"transparent"},boxShadow:{value:"{shadows.medium.value}"}}}});var Co=d(($t,xo)=>{e();xo.exports={cursor:{value:"pointer"},alignItems:{value:"center"},_disabled:{cursor:{value:"not-allowed"}},button:{position:{value:"relative"},alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.white.value}"},before:{width:{value:"100%"},height:{value:"100%"},borderWidth:{value:"{borderWidths.medium.value}"},borderRadius:{value:"20%"},borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"}},_focus:{outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.focus.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{borderColor:{value:"{colors.transparent.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"2px",color:"{colors.border.error.value}"}}}}},icon:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"20%"},opacity:{value:"{opacities.0.value}"},transform:{value:"scale(0)"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.short.value}"},transitionTimingFunction:{value:"ease-in-out"},_checked:{opacity:{value:"{opacities.100.value}"},transform:{value:"scale(1)"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}}});var To=d((Xt,ko)=>{e();ko.exports={alignItems:{value:"flex-start"},alignContent:{value:"center"},flexDirection:{value:"column"},justifyContent:{value:"center"}}});var Ao=d((Yt,wo)=>{e();wo.exports={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.medium.value}"},small:{borderWidth:{value:"{borderWidths.small.value}"}},large:{borderWidth:{value:"{borderWidths.large.value}"}},opacity:{value:"{opacities.60.value}"}}});var Do=d((Kt,Eo)=>{e();Eo.exports={display:{value:"block"},backgroundColor:{value:"{colors.white.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},width:{value:"100%"},item:{marginTop:{value:"1px"},boxShadow:{value:"{shadows.small.value}"},borderBottomLeftRadius:{value:"{radii.medium.value}"},borderBottomRightRadius:{value:"{radii.medium.value}"},borderTopLeftRadius:{value:"{radii.medium.value}"},borderTopRightRadius:{value:"{radii.medium.value}"},borderStartStartRadius:{value:"{radii.medium.value}"},borderStartEndRadius:{value:"{radii.medium.value}"},borderEndStartRadius:{value:"{radii.medium.value}"},borderEndEndRadius:{value:"{radii.medium.value}"},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"2px",color:"{colors.border.focus.value}"}}}},header:{boxShadow:{value:{offsetX:"0",offsetY:"1px",blurRadius:"0",color:"{colors.overlay.20.value}"}}},trigger:{minHeight:{value:"3rem"},paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},alignItems:{value:"center"},justifyContent:{value:"space-between"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}}},content:{paddingInlineStart:{value:"{space.large.value}"},paddingInlineEnd:{value:"{space.large.value}"},text:{color:{value:"{colors.font.secondary.value}"},paddingBlockStart:{value:"{space.medium.value}"},paddingBlockEnd:{value:"{space.medium.value}"}},_open:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}},_closed:{animationDuration:{value:"{time.medium.value}"},animationTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}},icon:{transitionDuration:{value:"{time.medium.value}"},transitionTimingFunction:{value:"cubic-bezier(0.87, 0, 0.13, 1)"}}}});var Wo=d((Qt,Io)=>{e();Io.exports={gap:{value:"{space.xs.value}"},fontSize:{value:"{fontSizes.medium.value}"},small:{gap:{value:"{space.xxxs.value}"},fontSize:{value:"{fontSizes.small.value}"}},large:{gap:{value:"{space.small.value}"},fontSize:{value:"{fontSizes.large.value}"}},label:{color:{value:"{colors.font.secondary.value}"}}}});var Vo=d((Zt,Ro)=>{e();Ro.exports={borderStyle:{value:"solid"},borderColor:{value:"{colors.border.primary.value}"},borderWidth:{value:"{borderWidths.small.value}"},borderRadius:{value:"{radii.small.value}"},color:{value:"{colors.font.primary.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"},fontSize:{value:"{components.field.fontSize.value}"},lineHeight:{value:"{lineHeights.medium.value}"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},small:{fontSize:{value:"{components.field.small.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.small.value}"},paddingInlineEnd:{value:"{space.small.value}"}},large:{fontSize:{value:"{components.field.large.fontSize.value}"},paddingBlockStart:{value:"{space.xs.value}"},paddingBlockEnd:{value:"{space.xs.value}"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}},quiet:{borderStyle:{value:"none"},borderBlockEnd:{value:"{borderWidths.small.value} solid {colors.border.primary.value}"},borderInlineStart:{value:"none"},borderInlineEnd:{value:"none"},borderBlockStart:{value:"none"},borderRadius:{value:"0"},_focus:{borderBlockEndColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.focus.value}"}}},_error:{borderBlockEndColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"1px",color:"{colors.border.error.value}"}}}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.focus.value}"}}},_disabled:{color:{value:"{colors.font.disabled.value}"},cursor:{value:"not-allowed"},borderColor:{value:"{colors.transparent.value}"},backgroundColor:{value:"{colors.background.disabled.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:{offsetX:"0px",offsetY:"0px",blurRadius:"0px",spreadRadius:"1px",color:"{colors.border.error.value}"}}}}}});var Po=d((Jt,_o)=>{e();_o.exports={gap:{value:0},vertical:{alignItems:{value:"center"}},outer:{alignItems:{value:"center"}}}});var Oo=d((en,Uo)=>{e();Uo.exports={error:{color:{value:"{colors.font.error.value}"},fontSize:{value:"{fontSizes.small.value}"}},description:{color:{value:"{colors.font.secondary.value}"},fontStyle:{value:"italic"},fontSize:{value:"{fontSizes.small.value}"}}}});var Fo=d((on,No)=>{e();No.exports={gap:{value:"{space.medium.value}"},justifyContent:{value:"normal"},alignItems:{value:"stretch"},alignContent:{value:"normal"},flexWrap:{value:"nowrap"}}});var Bo=d((rn,zo)=>{e();zo.exports={color:{value:"{colors.font.primary.value}"},lineHeight:{value:1.25},1:{fontSize:{value:"{fontSizes.xxxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},2:{fontSize:{value:"{fontSizes.xxxl.value}"},fontWeight:{value:"{fontWeights.light.value}"}},3:{fontSize:{value:"{fontSizes.xxl.value}"},fontWeight:{value:"{fontWeights.normal.value}"}},4:{fontSize:{value:"{fontSizes.xl.value}"},fontWeight:{value:"{fontWeights.medium.value}"}},5:{fontSize:{value:"{fontSizes.large.value}"},fontWeight:{value:"{fontWeights.semibold.value}"}},6:{fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"}}}});var Go=d((an,Mo)=>{e();Mo.exports={lineHeight:{value:1},height:{value:"1em"}}});var Lo=d((tn,Ho)=>{e();Ho.exports={maxWidth:{value:"100%"},height:{value:"auto"},objectFit:{value:"initial"},objectPosition:{value:"initial"}}});var jo=d((nn,qo)=>{e();qo.exports={active:{color:{value:"{colors.font.active.value}"}},color:{value:"{colors.font.interactive.value}"},focus:{color:{value:"{colors.font.focus.value}"}},hover:{color:{value:"{colors.font.hover.value}"}},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}},visited:{color:{value:"{colors.font.interactive.value}"}}}});var Xo=d((ln,$o)=>{e();$o.exports={width:{value:"{fontSizes.xxl.value}"},height:{value:"{fontSizes.xxl.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},linear:{width:{value:"100%"},minWidth:{value:"5rem"},height:{value:"{fontSizes.xxs.value}"},strokeWidth:{value:"{fontSizes.xxs.value}"},strokeFilled:{value:"{colors.brand.primary.80.value}"},strokeEmpty:{value:"{colors.neutral.20.value}"},strokeLinecap:{value:"round"},animationDuration:{value:"1s"},small:{height:{value:"{fontSizes.xxxs.value}"},strokeWidth:{value:"{fontSizes.xxxs.value}"}},large:{height:{value:"{fontSizes.xs.value}"},strokeWidth:{value:"{fontSizes.xs.value}"}}}}});var Ko=d((sn,Yo)=>{e();Yo.exports={backgroundColor:{value:"{colors.white.value}"},borderRadius:{value:"{radii.medium.value}"},boxShadow:{value:"{shadows.large.value}"},flexDirection:{value:"column"},gap:{value:0},maxWidth:{value:"30rem"},minWidth:{value:"14rem"},small:{width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"}},large:{width:{value:"{fontSizes.xxxl.value}"},height:{value:"{fontSizes.xxxl.value}"}},item:{minHeight:{value:"2.5rem"},paddingInlineStart:{value:"{space.medium.value}"},paddingInlineEnd:{value:"{space.medium.value}"}}}});var Zo=d((un,Qo)=>{e();Qo.exports={current:{alignItems:{value:"center"},justifyContent:{value:"center"},color:{value:"{colors.white.value}"},fontSize:{value:"{fontSizes.small.value}"},backgroundColor:{value:"{colors.overlay.40.value}"}},button:{color:{value:"{colors.font.primary.value}"},paddingInlineStart:{value:"{space.xxs.value}"},paddingInlineEnd:{value:"{space.xxs.value}"},transitionProperty:{value:"background-color"},transitionDuration:{value:"{time.medium.value}"},hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.font.primary.value}"}},disabled:{color:{value:"{colors.font.disabled.value}"}}},ellipsis:{alignItems:{value:"baseline"},justifyContent:{value:"center"},paddingInlineStart:{value:"{space.xs.value}"},paddingInlineEnd:{value:"{space.xs.value}"}},itemContainer:{marginLeft:{value:"{space.xxxs.value}"},marginRight:{value:"{space.xxxs.value}"}},itemShared:{height:{value:"{fontSizes.xxl.value}"},minWidth:{value:"{fontSizes.xxl.value}"},borderRadius:{value:"{fontSizes.medium.value}"}}}});var er=d((dn,Jo)=>{e();Jo.exports={}});var rr=d((cn,or)=>{e();or.exports={borderRadius:{value:"{radii.small.value}"},transitionDuration:{value:"{time.long.value}"},startColor:{value:"{colors.background.secondary.value}"},endColor:{value:"{colors.background.tertiary.value}"},small:{height:{value:"{space.small.value}"}},default:{height:{value:"{space.medium.value}"}},large:{height:{value:"{space.large.value}"}}}});var tr=d((vn,ar)=>{e();ar.exports={alignItems:{value:"center"},justifyContent:{value:"flex-start"},gap:{value:"inherit"},_disabled:{cursor:{value:"not-allowed"}},button:{alignItems:{value:"center"},justifyContent:{value:"center"},width:{value:"{fontSizes.medium.value}"},height:{value:"{fontSizes.medium.value}"},boxSizing:{value:"border-box"},borderWidth:{value:"{borderWidths.medium.value}"},borderStyle:{value:"solid"},borderRadius:{value:"50%"},borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.white.value}"},backgroundColor:{value:"{colors.white.value}"},transitionProperty:{value:"all"},transitionDuration:{value:"{time.medium.value}"},outlineColor:{value:"{colors.transparent.value}"},outlineStyle:{value:"solid"},outlineWidth:{value:"{outlineWidths.medium.value}"},outlineOffset:{value:"{outlineOffsets.medium.value}"},padding:{value:"{borderWidths.medium.value}"},small:{width:{value:"{fontSizes.small.value}"},height:{value:"{fontSizes.small.value}"}},large:{width:{value:"{fontSizes.large.value}"},height:{value:"{fontSizes.large.value}"}},_checked:{color:{value:"{colors.brand.primary.80.value}"},_disabled:{color:{value:"{colors.background.disabled.value}"}}},_focus:{borderColor:{value:"{colors.border.focus.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"}},_error:{borderColor:{value:"{colors.border.error.value}"},_focus:{boxShadow:{value:"{components.fieldcontrol._error._focus.boxShadow.value}"}}},_disabled:{borderColor:{value:"{colors.border.disabled.value}"},backgroundColor:{value:"{colors.background.primary.value}"}}},label:{_disabled:{color:{value:"{colors.font.disabled.value}"}}}}});var ir=d((mn,nr)=>{e();nr.exports={large:{size:{value:"{fontSizes.xxxl.value}"}},default:{size:{value:"{fontSizes.xl.value}"}},small:{size:{value:"{fontSizes.small.value}"}},filled:{color:{value:"{colors.brand.secondary.80.value}"}},empty:{color:{value:"{colors.background.tertiary.value}"}}}});var sr=d((pn,lr)=>{e();lr.exports={paddingInlineEnd:{value:"{space.xxl.value}"},wrapper:{display:{value:"block"},position:{value:"relative"},cursor:{value:"pointer"}},iconWrapper:{alignItems:{value:"center"},position:{value:"absolute"},top:{value:"50%"},right:{value:"{space.medium.value}"},transform:{value:"translateY(-50%)"},pointerEvents:{value:"none"}},whiteSpace:{value:"nowrap"},minWidth:{value:"6.5rem"},small:{minWidth:{value:"5.5rem"}},large:{minWidth:{value:"7.5rem"}}}});var dr=d((gn,ur)=>{e();ur.exports={flexDirection:{value:"column"}}});var vr=d((fn,cr)=>{e();cr.exports={paddingBlock:{value:"{space.xs.value}"},track:{backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"9999px"},height:{value:"0.375rem"},minWidth:{value:"10rem"}},range:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderRadius:{value:"9999px"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"}}},thumb:{width:{value:"1.25rem"},height:{value:"1.25rem"},backgroundColor:{value:"{colors.background.primary.value}"},boxShadow:{value:"{shadows.medium.value}"},borderRadius:{value:"50%"},borderWidth:{value:"{borderWidths.small.value}"},borderColor:{value:"{colors.border.primary.value}"},borderStyle:{value:"solid"},_disabled:{backgroundColor:{value:"{colors.background.disabled.value}"},borderColor:{value:"transparent"},boxShadow:{value:"none"}},_hover:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.focus.value}"}},_focus:{boxShadow:{value:{offsetX:"0",offsetY:"0",blurRadius:"0",spreadRadius:"3px",color:"{colors.border.focus.value}"}}}},small:{track:{height:{value:"0.25rem"}},thumb:{width:{value:"1rem"},height:{value:"1rem"}}},large:{track:{height:{value:"0.625rem"}},thumb:{width:{value:"1.5rem"},height:{value:"1.5rem"}}}}});var pr=d((hn,mr)=>{e();mr.exports={flexDirection:{value:"column"},input:{textAlign:{value:"center"}}}});var fr=d((bn,gr)=>{e();gr.exports={disabled:{opacity:{value:"{opacities.60.value}"}},focused:{shadow:{value:"{shadows.small.value}"}},label:{padding:{value:"{space.xs.value}"}},large:{font:{size:{value:"{fontSizes.large.value}"}}},small:{font:{size:{value:"{fontSizes.small.value}"}}},thumb:{backgroundColor:{value:"{colors.background.primary.value}"},borderColor:{value:"{colors.border.tertiary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{transform:{value:"{transforms.slideX.medium.value}"}},transition:{duration:{value:"{time.medium.value}"}},width:{value:"{space.relative.medium.value}"}},track:{backgroundColor:{value:"{colors.background.tertiary.value}"},borderRadius:{value:"{radii.xxxl.value}"},checked:{backgroundColor:{value:"{colors.brand.primary.60.value}"}},height:{value:"{space.relative.medium.value}"},padding:{value:"{outlineWidths.medium.value}"},transition:{duration:{value:"{time.short.value}"}},width:{value:"{space.relative.xl.value}"}}}});var br=d((yn,hr)=>{e();hr.exports={borderCollapse:{value:"collapse"},display:{value:"table"},width:{value:"100%"},head:{display:{value:"table-header-group"},verticalAlign:{value:"middle"}},body:{display:{value:"table-row-group"},verticalAlign:{value:"middle"}},foot:{display:{value:"table-footer-group"},verticalAlign:{value:"middle"}},row:{display:{value:"table-row"},verticalAlign:{value:"middle"},hover:{backgroundColor:{value:"{colors.background.tertiary.value}"}},striped:{backgroundColor:{value:"{colors.background.secondary.value}"}}},header:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},data:{borderColor:{value:"{colors.border.tertiary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.small.value}"},color:{value:"{colors.font.primary.value}"},display:{value:"table-cell"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.normal.value}"},padding:{value:"{space.medium.value}"},verticalAlign:{value:"middle"},large:{fontSize:{value:"{fontSizes.large.value}"},padding:{value:"{space.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"},padding:{value:"{space.xs.value}"}}},caption:{captionSide:{value:"bottom"},color:{value:"{colors.font.primary.value}"},display:{value:"table-caption"},fontSize:{value:"{fontSizes.medium.value}"},textAlign:{value:"center"},wordBreak:{value:"break-all"},large:{fontSize:{value:"{fontSizes.large.value}"}},small:{fontSize:{value:"{fontSizes.small.value}"}}}}});var Sr=d((Sn,yr)=>{e();yr.exports={backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},item:{backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.secondary.value}"},borderStyle:{value:"solid"},borderWidth:{value:"{borderWidths.medium.value}"},color:{value:"{colors.font.secondary.value}"},fontSize:{value:"{fontSizes.medium.value}"},fontWeight:{value:"{fontWeights.bold.value}"},paddingVertical:{value:"{space.small.value}"},paddingHorizontal:{value:"{space.medium.value}"},textAlign:{value:"center"},transitionDuration:{value:"{time.medium.value}"},_hover:{color:{value:"{colors.font.hover.value}"}},_focus:{color:{value:"{colors.font.focus.value}"}},_active:{color:{value:"{colors.font.interactive.value}"},borderColor:{value:"{colors.font.interactive.value}"},backgroundColor:{value:"transparent"}},_disabled:{color:{value:"{colors.font.disabled.value}"},backgroundColor:{value:"transparent"},borderColor:{value:"{colors.border.tertiary.value}"}}}}});var Cr=d((xn,xr)=>{e();xr.exports={color:{value:"{colors.font.primary.value}"},primary:{color:{value:"{colors.font.primary.value}"}},secondary:{color:{value:"{colors.font.secondary.value}"}},tertiary:{color:{value:"{colors.font.tertiary.value}"}},error:{color:{value:"{colors.font.error.value}"}},warning:{color:{value:"{colors.font.warning.value}"}},success:{color:{value:"{colors.font.success.value}"}},info:{color:{value:"{colors.font.info.value}"}}}});var Tr=d((Cn,kr)=>{e();kr.exports={borderColor:{value:"{colors.border.primary.value}"},color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"}},_focus:{borderColor:{value:"{colors.border.focus.value}"},color:{value:"{colors.overlay.50.value}"}},_active:{backgroundColor:{value:"{colors.transparent.value}"}},_disabled:{backgroundColor:{value:"{colors.transparent.value}"},borderColor:{value:"{colors.border.secondary.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{color:{value:"{colors.overlay.90.value}"},backgroundColor:{value:"{colors.overlay.20.value}"},_hover:{backgroundColor:{value:"{colors.overlay.30.value}"}}},primary:{backgroundColor:{value:"{colors.transparent.value}"},borderWidth:{value:"{borderWidths.small.value}"},_focus:{borderColor:{value:"{colors.border.focus.value}"},backgroundColor:{value:"{colors.transparent.value}"},boxShadow:{value:"{components.fieldcontrol._focus.boxShadow.value}"},color:{value:"{colors.overlay.50.value}"}},_hover:{backgroundColor:{value:"{colors.overlay.10.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{backgroundColor:{value:"{colors.background.tertiary.value}"},color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.brand.primary.80.value}"},borderColor:{value:"{colors.brand.primary.80.value}"},color:{value:"{colors.white.value}"},_focus:{backgroundColor:{value:"{colors.border.focus.value}"},borderColor:{value:"{colors.border.focus.value}"}},_hover:{borderColor:{value:"{colors.brand.primary.60.value}"},backgroundColor:{value:"{colors.brand.primary.60.value}"}}}},link:{color:{value:"{colors.overlay.50.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_focus:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.50.value}"}},_disabled:{color:{value:"{colors.font.disabled.value}"}},_pressed:{backgroundColor:{value:"{colors.transparent.value}"},color:{value:"{colors.overlay.90.value}"},_hover:{backgroundColor:{value:"{colors.transparent.value}"}}}}}});var Ar=d((kn,wr)=>{e();wr.exports={alignItems:{value:"center"},alignContent:{value:"center"},justifyContent:{value:"flex-start"}}});var Dr=d((Tn,Er)=>{e();Er.exports={alert:po(),badge:fo(),button:bo(),card:So(),checkbox:Co(),checkboxfield:To(),divider:Ao(),expander:Do(),field:Wo(),fieldcontrol:Vo(),fieldgroup:Po(),fieldmessages:Oo(),flex:Fo(),heading:Bo(),icon:Go(),image:Lo(),link:jo(),loader:Xo(),menu:Ko(),pagination:Zo(),phonenumberfield:er(),placeholder:rr(),radio:tr(),rating:ir(),select:sr(),selectfield:dr(),sliderfield:vr(),stepperfield:pr(),switchfield:fr(),table:br(),tabs:Sr(),text:Cr(),togglebutton:Tr(),togglebuttongroup:Ar()}});Hr(exports,{AuthChallengeNames:()=>k,DefaultTexts:()=>Jr,FederatedIdentityProviders:()=>Y,LoginMechanismArray:()=>z,authInputAttributes:()=>D,censorAllButFirstAndLast:()=>Kr,censorPhoneNumber:()=>Qr,countryDialCodes:()=>Zr,createAuthenticatorMachine:()=>ra,createTheme:()=>ue,defaultTheme:()=>ia,getActorContext:()=>Se,getActorState:()=>G,getAliasInfoFromContext:()=>$r,getConfiguredAliases:()=>Xr,getSendEventAliases:()=>xe,getServiceContextFacade:()=>Ce,getServiceFacade:()=>Yr,isDesignToken:()=>na,signUpFieldsWithDefault:()=>qr,signUpFieldsWithoutDefault:()=>jr,translate:()=>ea,translations:()=>oa});e();e();e();var X=v(require("lodash/includes"));e();e();var qr=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],jr=["address","gender","locale","picture","updated_at","zoneinfo"],k;(function(i){i.SMS_MFA="SMS_MFA",i.SOFTWARE_TOKEN_MFA="SOFTWARE_TOKEN_MFA",i.NEW_PASSWORD_REQUIRED="NEW_PASSWORD_REQUIRED",i.RESET_REQUIRED="RESET_REQUIRED",i.MFA_SETUP="MFA_SETUP"})(k||(k={}));var z=["username","email","phone_number"];e();var D={birthdate:{label:"Birthdate",placeholder:"Birthdate",type:"date",autocomplete:"bday"},confirmation_code:{label:"Confirmation Code",placeholder:"Code",type:"text",autocomplete:"one-time-code"},email:{label:"Email",type:"email",placeholder:"Email",autocomplete:"username"},family_name:{label:"Family Name",placeholder:"Family Name",type:"text",autocomplete:"family-name"},given_name:{label:"Given Name",placeholder:"Given Name",type:"text",autocomplete:"given-name"},middle_name:{label:"Middle Name",placeholder:"Middle Name",type:"text",autocomplete:"additional-name"},name:{label:"Name",placeholder:"Name",type:"text",autocomplete:"name"},nickname:{label:"Nickname",placeholder:"Nickname",type:"text",autocomplete:"tel"},password:{label:"Password",placeholder:"Password",type:"password",autocomplete:"password"},phone_number:{label:"Phone Number",placeholder:"Phone",type:"tel",autocomplete:"tel"},preferred_username:{label:"Preferred Username",placeholder:"Preferred Username",type:"text"},profile:{label:"Profile",placeholder:"Profile",type:"url",autocomplete:"url"},website:{label:"Website",placeholder:"Website",type:"url",autocomplete:"url"},username:{label:"Username",type:"text",placeholder:"Username",autocomplete:"username"}},Y;(function(n){n.Apple="SignInWithApple",n.Amazon="LoginWithAmazon",n.Facebook="Facebook",n.Google="Google"})(Y||(Y={}));var $r=(o,r)=>{var s,l,u,f,c;let a=(s=o.config)==null?void 0:s.loginMechanisms,t=(u=(l=o.actorRef)==null?void 0:l.context)==null?void 0:u.validationError.username;if(z.includes(r))return{label:D[r].label,type:D[r].type,error:t};let n="text",i=a.filter(m=>(0,X.default)(z,m)).map(m=>{var y,x;return(x=(y=D[m])==null?void 0:y.label)!=null?x:D.username.label}).join(" or ");return a.length===1&&(n=(c=(f=D[a[0]])==null?void 0:f.type)!=null?c:"text"),{label:i,type:n,error:t}},Xr=o=>{var i;let a=((i=o.config)==null?void 0:i.loginMechanisms).filter(s=>(0,X.default)(z,s)),[t,...n]=a;return{primaryAlias:t,secondaryAliases:n}},G=o=>{var r;return(r=o.context.actorRef)==null?void 0:r.getSnapshot()},Se=o=>{var r;return(r=G(o))==null?void 0:r.context},xe=o=>{let r=a=>t=>o({type:a,data:t});return{resendCode:r("RESEND"),signOut:r("SIGN_OUT"),submitForm:r("SUBMIT"),updateForm:r("CHANGE"),toFederatedSignIn:r("FEDERATED_SIGN_IN"),toResetPassword:r("RESET_PASSWORD"),toSignIn:r("SIGN_IN"),toSignUp:r("SIGN_UP"),skipVerification:r("SKIP")}},Ce=o=>{var f,c;let r=(f=o.context)==null?void 0:f.user,a=G(o),t=Se(o),n=t==null?void 0:t.remoteError,i=p({},t==null?void 0:t.validationError),s=Object.keys(i).length>0,l=o.hasTag("pending")||((c=G(o))==null?void 0:c.hasTag("pending")),u=(()=>{switch(!0){case o.matches("idle"):return"idle";case o.matches("signOut"):return"signOut";case o.matches("authenticated"):return"authenticated";case(a==null?void 0:a.matches("confirmSignUp")):return"confirmSignUp";case(a==null?void 0:a.matches("confirmSignIn")):return"confirmSignIn";case(a==null?void 0:a.matches("setupTOTP")):return"setupTOTP";case(a==null?void 0:a.matches("signIn")):return"signIn";case(a==null?void 0:a.matches("signUp")):return"signUp";case(a==null?void 0:a.matches("forceNewPassword")):return"forceNewPassword";case(a==null?void 0:a.matches("resetPassword")):return"resetPassword";case(a==null?void 0:a.matches("confirmResetPassword")):return"confirmResetPassword";case(a==null?void 0:a.matches("verifyUser")):return"verifyUser";case(a==null?void 0:a.matches("confirmVerifyUser")):return"confirmVerifyUser";default:return console.debug("Cannot infer `route` from Authenticator state:",o.value),null}})();return{error:n,hasValidationErrors:s,isPending:l,route:u,user:r,validationErrors:i}},Yr=({send:o,state:r})=>{let a=xe(o),t=Ce(r);return p(p({},a),t)};e();var Kr=o=>{let r=o.trim().split("");for(let a=0;a<r.length;a++)a>0&&a<r.length-1&&(r[a]="*");return r.join("")},Qr=o=>{if(o.length<4)return o;let r=o.split("");for(let a=0;a<r.length-4;a++)r[a]="*";return r.join("")};e();e();var Zr=["+1","+7","+20","+27","+30","+31","+32","+33","+34","+36","+39","+40","+41","+43","+44","+45","+46","+47","+48","+49","+51","+52","+53","+54","+55","+56","+57","+58","+60","+61","+62","+63","+64","+65","+66","+81","+82","+84","+86","+90","+91","+92","+93","+94","+95","+98","+212","+213","+216","+218","+220","+221","+222","+223","+224","+225","+226","+227","+228","+229","+230","+231","+232","+233","+234","+235","+236","+237","+238","+239","+240","+241","+242","+243","+244","+245","+246","+248","+249","+250","+251","+252","+253","+254","+255","+256","+257","+258","+260","+261","+262","+263","+264","+265","+266","+267","+268","+269","+290","+291","+297","+298","+299","+345","+350","+351","+352","+353","+354","+355","+356","+357","+358","+359","+370","+371","+372","+373","+374","+375","+376","+377","+378","+379","+380","+381","+382","+385","+386","+387","+389","+420","+421","+423","+500","+501","+502","+503","+504","+505","+506","+507","+508","+509","+537","+590","+591","+593","+594","+595","+596","+597","+598","+599","+670","+672","+673","+674","+675","+676","+677","+678","+679","+680","+681","+682","+683","+685","+686","+687","+688","+689","+690","+691","+692","+850","+852","+853","+855","+856","+872","+880","+886","+960","+961","+962","+963","+964","+965","+966","+967","+968","+970","+971","+972","+973","+974","+975","+976","+977","+992","+993","+994","+995","+996","+998"];e();var Re=v(require("aws-amplify"));e();e();e();var K={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Code:"Code",Confirm:"Best\xE4tigen","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code","Create a new account":"Erstelle einen neuen Account","Create account":"Hier registrieren","Create Account":"Account erstellen",Email:"Email","Enter your password":"Geben Sie Ihr Passwort ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Forgot Password":"Passwort vergessen","Forgot your password? ":"Passwort vergessen? ","Have an account? ":"Schon registriert? ","Incorrect username or password":"Falscher Benutzername oder falsches Passwort","Invalid password format":"Ung\xFCltiges Passwort-Format","Invalid phone number format":"Ung\xFCltiges Telefonummern-Format. Benutze eine Nummer im Format: +12345678900","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ",or:"oder",Password:"Passwort","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset password":"Passwort zur\xFCcksetzen","Reset your password":"Zur\xFCcksetzen des Passworts","Send Code":"Code senden","Sign in":"Anmelden","Sign In":"Anmelden","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign Out":"Abmelden","Sign Up":"Registrieren",Skip:"\xDCberspringen",Submit:"Abschicken","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht",Username:"Benutzername","Username cannot be empty":"Benutzername darf nicht leer sein",Verify:"Verifizieren","Verify Contact":"Kontakt verifizieren"};e();var Q={"Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm Password","Reset your Password":"Reset your Password","Confirm Sign Up":"Confirm Sign Up","Confirm SMS Code":"Confirm SMS Code","Confirm TOTP Code":"Confirm TOTP Code",Confirm:"Confirm","Confirmation Code":"Confirmation Code",Confirming:"Confirming","Create Account":"Create Account","Creating Account":"Creating Account",Email:"Email","Enter your code":"Enter your code","Enter your username":"Enter your username","Enter your phone number":"Enter your phone number","Enter your email":"Enter your email","Forgot your password? ":"Forgot your password? ","Hide password":"Hide password",Loading:"Loading",Username:"Username","New password":"New password",Password:"Password","Phone Number":"Phone Number","Resend Code":"Resend Code","Reset your password":"Reset your password","Send Code":"Send Code","Send code":"Send code",Sending:"Sending","Setup TOTP":"Setup TOTP","Show password":"Show password","Sign in":"Sign in","Sign In":"Sign In","Sign In with Amazon":"Sign In with Amazon","Sign In with Apple":"Sign In with Apple","Sign In with Facebook":"Sign In with Facebook","Sign In with Google":"Sign In with Google","Sign in to your account":"Sign in to your account","Create a new account":"Create a new account","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting","Verify Contact":"Verify Contact","Account recovery requires verified contact information":"Account recovery requires verified contact information",Verify:"Verify"};e();var Z={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Iniciar sesi\xF3n","Change Password":"Cambia la contrase\xF1a",Code:"C\xF3digo",Confirm:"Confirmar","Confirm a Code":"Confirmar un c\xF3digo","Confirm Password":"Confirmar Contrase\xF1a","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Confirm Sign Up":"Confirmar Registraci\xF3n","Confirmation Code":"Codigo de confirmaci\xF3n","Create a new account":"Crear una cuenta nueva",Email:"Email","Forgot Password":"Se te olvid\xF3 la contrase\xF1a?","Incorrect username or password":"Nombre de usuario o contrase\xF1a incorrecta","Invalid password format":"Formato de contrase\xF1a inv\xE1lido","Invalid phone number format":`Formato de n\xFAmero de tel\xE9fono inv\xE1lido.
2
2
  Utilice el formato de n\xFAmero de tel\xE9fono +12345678900`,"Loading...":"Cargando...","New Password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend a Code":"Reenviar un c\xF3digo","Resend Code":"Mandar codigo otra vez","Send Code":"Enviar c\xF3digo","Sign In":"Iniciar ses\xEDon","Sign in to your account":"Iniciar ses\xEDon","Sign Out":"Desconectar","Sign Up":"Reg\xEDstrase",Skip:"Omitir",Submit:"Enviar","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe",Username:"Nombre de usuario","Username cannot be empty":"El campo de usuario no puede estar vacido",Verify:"Verificar","Verify Contact":"Verificar contacto"};e();var J={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.","Back to Sign In":"Retour \xE0 la connexion",Change:"Modifier","Change Password":"Modifier le mot de passe",Code:"Code",Confirm:"Confirmer","Confirm a Code":"Confirmer un code","Confirm Password":"Confirmez le mot de passe","Confirm Sign In":"Confirmer la connexion","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP","Confirmation Code":"Code de confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create account":"Cr\xE9er un compte","Create Account":"Cr\xE9er un compte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your email":"Saisissez votre adresse email","Enter your password":"Saisissez votre mot de passe","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot Password":"Mot de passe oubli\xE9","Forgot your password? ":"Mot de passe oubli\xE9 ? ","Have an account? ":"D\xE9j\xE0 un compte ? ",Hello:"Bonjour","Incorrect username or password":"Identifiant ou mot de passe incorrect","Invalid password format":"Format de mot de passe invalide","Invalid phone number format":"Format de num\xE9ro de t\xE9l\xE9phone invalide. Veuillez utiliser un format +12345678900","Loading...":"Chargement...","Lost your code? ":"Vous avez perdu votre code ? ","Network error":"Erreur r\xE9seau","New Password":"Nouveau mot de passe","No account? ":"Pas de compte ? ",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend a Code":"Renvoyer un code","Resend Code":"Renvoyer le code","Reset password":"R\xE9initialisez votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Send Code":"M'envoyer un code","Sign in":"Se connecter","Sign In":"Se connecter","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with AWS":"Se connecter avec AWS","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",Skip:"Passer",SMS:"SMS",Submit:"Soumettre","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas",Username:"Nom d'utilisateur","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas",Verify:"V\xE9rifier","Verify Contact":"V\xE9rifier le contact"};e();var ee={"Account recovery requires verified contact information":"Ripristino del conto richiede un account verificati","An account with the given email already exists.":"Un account con questa email esiste gi\xE0.","Back to Sign In":"Torna alla Accesso","Change Password":"Cambia la password",Code:"Codice",Confirm:"Conferma","Confirm a Code":"Codice Conferma","Confirm Password":"Conferma la password","Confirm Sign In":"Conferma di applicazione","Confirm Sign Up":"Registrazione Conferma","Confirmation Code":"Codice di verifica","Create a new account":"Creare un nuovo account","Create account":"Registrati","Create Account":"Crea account",Email:"E-mail","Enter your password":"Inserire la password","Enter your username":"Inserisci il tuo nome utente","Forgot Password":"Password dimenticata","Forgot your password? ":"Password dimenticata?","Have an account? ":"Gi\xE0 registrato?","Incorrect username or password":"Nome utente o password errati","Invalid password format":"Formato della password non valido","Invalid phone number format":"Utilizzo non valido Telefonummern formattare un numero nel formato :. 12.345.678,9 mille","Lost your code?":"Perso codice?","New Password":"Nuova password",or:"o","No account? ":"Nessun account?",Password:"Password","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Phone Number":"Numero di telefono","Resend Code":"Codice Rispedisci","Reset password":"Ripristina password","Reset your password":"Resetta password","Send Code":"Invia codice","Sign in":"Accesso","Sign In":"Accesso","Sign in to your account":"Accedi con il tuo account a","Sign Out":"Esci","Sign Up":"Iscriviti",Skip:"Salta",Submit:"Sottoscrivi","User already exists":"Questo utente esiste gi\xE0","User does not exist":"Questo utente non esiste",Username:"Nome utente","Username cannot be empty":"Nome utente non pu\xF2 essere vuoto",Verify:"Verifica","Verify Contact":"Contatto verifica"};e();var oe={"Account recovery requires verified contact information":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u5FA9\u65E7\u306B\u306F\u78BA\u8A8D\u6E08\u307F\u306E\u9023\u7D61\u5148\u304C\u5FC5\u8981\u3067\u3059","An account with the given email already exists.":"\u5165\u529B\u3055\u308C\u305F\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u306E\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u65E2\u306B\u5B58\u5728\u3057\u307E\u3059","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Code:"\u30B3\u30FC\u30C9",Confirm:"\u78BA\u5B9A","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9","Create a new account":"\u65B0\u3057\u3044\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Create Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","Forgot your password? ":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Have an account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u6301\u3063\u3066\u3044\u307E\u3059\u304B\uFF1F","Incorrect username or password":"\u30E6\u30FC\u30B6\u30FC\u540D\u304B\u30D1\u30B9\u30EF\u30FC\u30C9\u304C\u7570\u306A\u308A\u307E\u3059 ","Invalid password format":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u5F62\u5F0F\u304C\u7121\u52B9\u3067\u3059 ","Invalid phone number format":`\u4E0D\u6B63\u306A\u96FB\u8A71\u756A\u53F7\u306E\u5F62\u5F0F\u3067\u3059\u3002
3
- +12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"Lost your code? ":"\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F","New Password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","No account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Reset your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign In with Amazon":"Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Facebook":"Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Google":"Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1","User already exists":"\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ","User does not exist":"\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Username cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059",Verify:"\u78BA\u8A8D","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D"};e();var re={"Account recovery requires verified contact information":"\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F","Back to Sign In":"\u56DE\u5230\u767B\u5F55","Change Password":"\u6539\u53D8\u5BC6\u7801",Code:"\u786E\u8BA4\u7801",Confirm:"\u786E\u8BA4","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C",Email:"\u90AE\u7BB1","Forgot Password":"\u5FD8\u8BB0\u5BC6\u7801","Incorrect username or password":"\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF","Invalid password format":"\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF","Invalid phone number format":"\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900","New Password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Sign In":"\u767B\u5F55","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728",Username:"\u7528\u6237\u540D",Verify:"\u9A8C\u8BC1","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F"};e();var ae={BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_CODE:"Enter your code",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_YOUR_PASSWORD:"Forgot your password? ",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Send Code",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WEBSITE:"Website"};var ke=p({},K),Te=p({},Q),we=p({},Z),Ae=p({},J),Ee=p({},ee),De=p({},oe),Ie=p({},re),We=p({},ae);var Jr=p({},We);function ea(o){return Re.I18n.get(o)}var oa={de:ke,en:Te,es:we,fr:Ae,it:Ee,ja:De,zh:Ie};e();e();var b=v(require("xstate"));e();var g=v(require("xstate/lib/actions")),B=o=>(0,g.stop)(o),Ve=(0,g.assign)({attributeToVerify:o=>{}}),_e=(0,g.assign)({challengeName:o=>{}}),I=(0,g.assign)({remoteError:o=>""}),W=(0,g.assign)({formValues:o=>({})}),Ue=(0,g.assign)({unverifiedAttributes:o=>{}}),Pe=(0,g.assign)({username:o=>{}}),R=(0,g.assign)({validationError:o=>({})}),Oe=(0,g.assign)({challengeName:(o,r)=>{var a;return(a=r.data)==null?void 0:a.challengeName}}),Ne=(0,g.assign)({redirectIntent:o=>"confirmPasswordReset"}),Fe=(0,g.assign)({redirectIntent:o=>"confirmSignUp"}),H=(0,g.assign)({authAttributes:(o,r)=>{var i,s;let[a]=o.loginMechanisms,t=(i=o.formValues[a])!=null?i:o.formValues.username,n=(s=o.formValues)==null?void 0:s.password;return{username:t,password:n}}}),V=(0,g.assign)({validationError:(o,r)=>r.data}),_=(0,g.assign)({remoteError:(o,r)=>{var a;return((a=r.data)==null?void 0:a.message)||r.data}}),ze=(0,g.assign)({unverifiedAttributes:(o,r)=>r.data.unverified}),L=(0,g.assign)({user:(o,r)=>r.data.user||r.data}),Be=(0,g.assign)({username:(o,r)=>o.formValues.username}),Me=(0,g.assign)({authAttributes:(o,r)=>({username:o.formValues.username})}),U=(0,g.assign)({formValues:(o,r)=>{let{name:a,value:t}=r.data;return M(p({},o.formValues),{[a]:t})}});e();e();var T=v(require("aws-amplify")),j=v(require("lodash/get")),te=v(require("lodash/isEmpty")),h=v(require("xstate"));e();var Ge=v(require("lodash/isEmpty")),He=v(require("lodash/merge")),P=async(o,r)=>{let a=await Promise.all(r.map(n=>n(o))),t=(0,He.default)({},...a);return(0,Ge.default)(t)?Promise.resolve():Promise.reject(t)};e();var q=v(require("aws-amplify")),O={async getAmplifyConfig(){return q.Amplify.configure()},async getCurrentUser(){return q.Auth.currentAuthenticatedUser()},async validateCustomSignUp(o){},async validateConfirmPassword(o){let{password:r,confirm_password:a}=o;if(!r&&!a)return null;if(r&&a&&r!==a)return{confirm_password:"Your passwords must match"}},async validatePreferredUsername(o){}};var Le=(0,h.createMachine)({initial:"init",id:"signInActor",states:{init:{always:[{target:"signIn"}]},signIn:{initial:"edit",exit:"clearFormValues",states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:[(0,h.sendUpdate)(),"clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["clearError",(0,h.sendUpdate)()],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError",(0,h.sendUpdate)()],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedAttributes"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError"],states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError",(0,h.sendUpdate)()],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:(0,h.sendUpdate)()},invalid:{entry:(0,h.sendUpdate)()}},on:{CHANGE:{actions:"handleInput",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"validate"}},validate:{entry:(0,h.sendUpdate)(),invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:[(0,h.sendUpdate)(),"clearError"],invoke:{src:"forceNewPassword",onDone:{target:"resolved",actions:["setUser","setCredentials"]},onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"edit",exit:["clearFormValues","clearError"],states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:[(0,h.sendUpdate)(),"clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["setUser","clearChallengeName"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError"],states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedAttributes","clearAttributeToVerify"],states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:o=>({user:o.user})},rejected:{type:"final",data:(o,r)=>({intent:o.redirectIntent,authAttributes:o.authAttributes})}}},{actions:{clearAttributeToVerify:Ve,clearChallengeName:_e,clearError:I,clearFormValues:W,clearUnverifiedAttributes:Ue,clearValidationError:R,handleInput:U,setChallengeName:Oe,setConfirmResetPasswordIntent:Ne,setConfirmSignUpIntent:Fe,setCredentials:H,setFieldErrors:V,setRemoteError:_,setUnverifiedAttributes:ze,setUser:L,setUsernameAuthAttributes:Me},guards:{shouldConfirmSignIn:(o,r)=>{let a=(0,j.default)(r,"data.challengeName");return[k.SMS_MFA,k.SOFTWARE_TOKEN_MFA].includes(a)},shouldRedirectToConfirmSignUp:(o,r)=>r.data.code==="UserNotConfirmedException",shouldRedirectToConfirmResetPassword:(o,r)=>r.data.code==="PasswordResetRequiredException",shouldSetupTOTP:(o,r)=>(0,j.default)(r,"data.challengeName")===k.MFA_SETUP,shouldForceChangePassword:(o,r)=>(0,j.default)(r,"data.challengeName")===k.NEW_PASSWORD_REQUIRED,shouldRequestVerification:(o,r)=>{let{unverified:a,verified:t}=r.data;return(0,te.default)(t)&&!(0,te.default)(a)}},services:{async signIn(o){let r=o.formValues,{country_code:a,username:t,password:n}=r;return T.Auth.signIn((a!=null?a:"")+t,n)},async confirmSignIn(o,r){let{challengeName:a,user:t}=o,{confirmation_code:n}=o.formValues,i;return(a===k.SMS_MFA||a===k.SOFTWARE_TOKEN_MFA)&&(i=a),T.Auth.confirmSignIn(t,n,i)},async forceNewPassword(o,r){let{user:a,formValues:t}=o,{password:n}=t;return T.Auth.completeNewPassword(a,n)},async verifyTotpToken(o,r){let{user:a}=o,{confirmation_code:t}=o.formValues;return T.Auth.verifyTotpToken(a,t)},async federatedSignIn(o,r){let{provider:a}=r.data;return await T.Auth.federatedSignIn({provider:a})},async checkVerifiedContact(o,r){let{user:a}=o;return await T.Auth.verifiedContact(a)},async verifyUser(o,r){let{unverifiedAttr:a}=o.formValues,t=await T.Auth.verifyCurrentUserAttribute(a);return o.attributeToVerify=a,t},async confirmVerifyUser(o,r){let{attributeToVerify:a}=o,{confirmation_code:t}=o.formValues;return await T.Auth.verifyCurrentUserAttributeSubmit(a,t)},async validateFields(o,r){return P(o.formValues,[O.validateConfirmPassword])}}});e();var qe=v(require("xstate")),je=v(require("aws-amplify")),$e=(0,qe.createMachine)({initial:"pending",id:"signOutActor",states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:()=>je.Auth.signOut()}});e();var ne=v(require("aws-amplify")),C=v(require("xstate"));var Xe=(0,C.createMachine)({id:"resetPasswordActor",initial:"init",states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError"],states:{edit:{entry:(0,C.sendUpdate)(),on:{SUBMIT:"submit",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:[(0,C.sendUpdate)(),"setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:(0,C.sendUpdate)()},invalid:{entry:(0,C.sendUpdate)()}},on:{CHANGE:{actions:"handleInput",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:(0,C.sendUpdate)(),on:{SUBMIT:"validate",RESEND:"resendCode",CHANGE:{actions:"handleInput"}}},validate:{entry:(0,C.sendUpdate)(),invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError",(0,C.sendUpdate)()],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError",(0,C.sendUpdate)()],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:I,clearFormValues:W,clearUsername:Pe,clearValidationError:R,handleInput:U,setFieldErrors:V,setRemoteError:_,setUsername:Be},guards:{shouldAutoConfirmReset:(o,r)=>!!(o.intent&&o.intent==="confirmPasswordReset")},services:{async resetPassword(o){var a,t;let r=(t=(a=o.formValues)==null?void 0:a.username)!=null?t:o.username;return ne.Auth.forgotPassword(r)},async confirmResetPassword(o){let{username:r}=o,{confirmation_code:a,password:t}=o.formValues;return ne.Auth.forgotPasswordSubmit(r,a,t)},async validateFields(o,r){return P(o.formValues,[O.validateConfirmPassword])}}});e();var E=v(require("aws-amplify")),w=v(require("lodash/get")),Ye=v(require("lodash/pickBy")),S=v(require("xstate"));function Ke({services:o}){return(0,S.createMachine)({id:"signUpActor",initial:"init",states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:(0,S.sendUpdate)()},invalid:{entry:(0,S.sendUpdate)()}},on:{CHANGE:{actions:"handleInput",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:(0,S.sendUpdate)(),on:{SUBMIT:"validate",FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:[(0,S.sendUpdate)(),"clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:(0,S.sendUpdate)(),invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:[(0,S.sendUpdate)(),"clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser"]},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{invoke:{src:"signIn",onDone:{target:"#signUpActor.resolved",actions:"setUser"},onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:(0,S.sendUpdate)(),on:{SUBMIT:"submit",CHANGE:{actions:"handleInput"},RESEND:"resend"}},resend:{tags:["pending"],entry:(0,S.sendUpdate)(),invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setUser",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:[(0,S.sendUpdate)(),"clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setUser"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:(r,a)=>{let{username:t,password:n}=r.authAttributes;return{user:(0,w.default)(a,"data.user")||r.user,authAttributes:{username:t,password:n}}}}}},{guards:{isUserAlreadyConfirmed:(r,a)=>a.data.message==="User is already confirmed.",shouldInitConfirmSignUp:r=>r.intent&&r.intent==="confirmSignUp",shouldSkipConfirm:(r,a)=>a.data.userConfirmed},actions:{clearError:I,clearFormValues:W,clearValidationError:R,handleInput:U,setCredentials:H,setFieldErrors:V,setRemoteError:_,setUser:L},services:{async signIn(r,a){let{user:t,authAttributes:n,formValues:i}=r,s=(0,w.default)(t,"username")||(0,w.default)(n,"username"),l=(0,w.default)(i,"password");return await E.Auth.signIn(s,l)},async confirmSignUp(r,a){let{user:t,authAttributes:n,formValues:i}=r,{confirmation_code:s}=i,l=(0,w.default)(t,"username")||(0,w.default)(n,"username"),{password:u}=n;return await E.Auth.confirmSignUp(l,s),await E.Auth.signIn(l,u)},async resendConfirmationCode(r,a){let{user:t,authAttributes:n}=r,i=(0,w.default)(t,"username")||(0,w.default)(n,"username");return E.Auth.resendSignUp(i)},async federatedSignIn(r,a){let{provider:t}=a.data;return await E.Auth.federatedSignIn({provider:t})},async signUp(r,a){let{formValues:t,loginMechanisms:n}=r,[i]=n!=null?n:["username"];t.phone_number&&(t.phone_number=`${t.country_code}${t.phone_number}`.replace(/[^A-Z0-9+]/gi,""));let s=t[i],{password:l}=t,u=(0,Ye.default)(t,(c,m)=>{switch(m){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return m.startsWith("custom:")}});return await E.Auth.signUp({username:s,password:l,attributes:u})},async validateSignUp(r,a){return P(r.formValues,[o.validateConfirmPassword,o.validatePreferredUsername,o.validateCustomSignUp])}}})}var Qe="+1";function ra({initialState:o="signIn",loginMechanisms:r,signUpAttributes:a,socialProviders:t,services:n}){let i=p(p({},O),n);return(0,b.createMachine)({id:"authenticator",initial:"idle",context:{user:void 0,config:{loginMechanisms:r,signUpAttributes:a,socialProviders:t},actorRef:void 0},states:{idle:{invoke:[{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:o},{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig"}}]},signIn:{entry:"spawnSignInActor",exit:B("signInActor"),on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",cond:"shouldRedirectToSignUp"},{target:"resetPassword",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setUser"}]}},signUp:{entry:"spawnSignUpActor",exit:B("signUpActor"),on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"idle",actions:"setUser"}}},resetPassword:{entry:"spawnResetPasswordActor",exit:B("resetPasswordActor"),on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":"signIn"}},signOut:{entry:"spawnSignOutActor",exit:[B("signOutActor"),"clearUser"],on:{"done.invoke.signOutActor":"signIn"}},authenticated:{on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_OUT:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:(0,b.forwardTo)(s=>s.actorRef),setUser:(0,b.assign)({user:(s,l)=>l.data.user||l.data}),clearUser:(0,b.assign)({user:void 0}),applyAmplifyConfig:(0,b.assign)({config(s,l){var y,x,de,ce,ve,me,pe,ge;let u=(x=(y=l.data.aws_cognito_username_attributes)==null?void 0:y.map(A=>A.toLowerCase()))!=null?x:[],f=(ce=(de=l.data.aws_cognito_verification_mechanisms)==null?void 0:de.map(A=>A.toLowerCase()))!=null?ce:[],c=(me=(ve=l.data.aws_cognito_signup_attributes)==null?void 0:ve.map(A=>A.toLowerCase()))!=null?me:[],m=(ge=(pe=l.data.aws_cognito_social_providers)==null?void 0:pe.map(A=>A.toLowerCase()))!=null?ge:[];return u.length===0&&u.push("username"),{loginMechanisms:r!=null?r:u,signUpAttributes:a!=null?a:Array.from(new Set([...f,...c])),socialProviders:t!=null?t:m.sort()}}}),spawnSignInActor:(0,b.assign)({actorRef:(s,l)=>{var f,c,m,y,x;let u=Le.withContext({authAttributes:(f=l.data)==null?void 0:f.authAttributes,user:(c=l.data)==null?void 0:c.user,intent:(m=l.data)==null?void 0:m.intent,country_code:Qe,formValues:{},validationError:{},loginMechanisms:(y=s.config)==null?void 0:y.loginMechanisms,socialProviders:(x=s.config)==null?void 0:x.socialProviders});return(0,b.spawn)(u,{name:"signInActor"})}}),spawnSignUpActor:(0,b.assign)({actorRef:(s,l)=>{var f,c,m,y,x;let u=Ke({services:i}).withContext({authAttributes:(c=(f=l.data)==null?void 0:f.authAttributes)!=null?c:{},country_code:Qe,intent:(m=l.data)==null?void 0:m.intent,formValues:{},validationError:{},loginMechanisms:(y=s.config)==null?void 0:y.loginMechanisms,socialProviders:(x=s.config)==null?void 0:x.socialProviders});return(0,b.spawn)(u,{name:"signUpActor"})}}),spawnResetPasswordActor:(0,b.assign)({actorRef:(s,l)=>{var f,c,m;let u=Xe.withContext({formValues:{},intent:(f=l.data)==null?void 0:f.intent,username:(m=(c=l.data)==null?void 0:c.authAttributes)==null?void 0:m.username,validationError:{}});return(0,b.spawn)(u,{name:"resetPasswordActor"})}}),spawnSignOutActor:(0,b.assign)({actorRef:s=>{let l=$e.withContext({user:s.user});return(0,b.spawn)(l,{name:"signOutActor"})}})},guards:{shouldRedirectToSignUp:(s,l)=>{var u;return((u=l.data)==null?void 0:u.intent)?l.data.intent==="confirmSignUp":!1},shouldRedirectToResetPassword:(s,l)=>{var u;return((u=l.data)==null?void 0:u.intent)?l.data.intent==="confirmPasswordReset":!1}},services:i})}e();e();var Ur=v(require("style-dictionary/lib/utils/deepExtend")),le=v(require("style-dictionary/lib/utils/flattenProperties"));e();e();e();var Ze={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};e();var Je={red:{10:{value:"hsl(0, 75%, 95%)"},20:{value:"hsl(0, 75%, 85%)"},40:{value:"hsl(0, 75%, 75%)"},60:{value:"hsl(0, 50%, 50%)"},80:{value:"hsl(0, 95%, 30%)"},90:{value:"hsl(0, 100%, 20%)"},100:{value:"hsl(0, 100%, 15%)"}},orange:{10:{value:"hsl(30, 75%, 95%)"},20:{value:"hsl(30, 75%, 85%)"},40:{value:"hsl(30, 75%, 75%)"},60:{value:"hsl(30, 50%, 50%)"},80:{value:"hsl(30, 95%, 30%)"},90:{value:"hsl(30, 100%, 20%)"},100:{value:"hsl(30, 100%, 15%)"}},yellow:{10:{value:"hsl(60, 75%, 95%)"},20:{value:"hsl(60, 75%, 85%)"},40:{value:"hsl(60, 75%, 75%)"},60:{value:"hsl(60, 50%, 50%)"},80:{value:"hsl(60, 95%, 30%)"},90:{value:"hsl(60, 100%, 20%)"},100:{value:"hsl(60, 100%, 15%)"}},green:{10:{value:"hsl(130, 75%, 95%)"},20:{value:"hsl(130, 75%, 85%)"},40:{value:"hsl(130, 75%, 75%)"},60:{value:"hsl(130, 50%, 50%)"},80:{value:"hsl(130, 95%, 30%)"},90:{value:"hsl(130, 100%, 20%)"},100:{value:"hsl(130, 100%, 15%)"}},teal:{10:{value:"hsl(190, 75%, 95%)"},20:{value:"hsl(190, 75%, 85%)"},40:{value:"hsl(190, 70%, 70%)"},60:{value:"hsl(190, 50%, 50%)"},80:{value:"hsl(190, 95%, 30%)"},90:{value:"hsl(190, 100%, 20%)"},100:{value:"hsl(190, 100%, 15%)"}},blue:{10:{value:"hsl(220, 95%, 95%)"},20:{value:"hsl(220, 85%, 85%)"},40:{value:"hsl(220, 70%, 70%)"},60:{value:"hsl(220, 50%, 50%)"},80:{value:"hsl(220, 95%, 30%)"},90:{value:"hsl(220, 100%, 20%)"},100:{value:"hsl(220, 100%, 15%)"}},purple:{10:{value:"hsl(300, 95%, 95%)"},20:{value:"hsl(300, 85%, 85%)"},40:{value:"hsl(300, 70%, 70%)"},60:{value:"hsl(300, 50%, 50%)"},80:{value:"hsl(300, 95%, 30%)"},90:{value:"hsl(300, 100%, 20%)"},100:{value:"hsl(300, 100%, 15%)"}},pink:{10:{value:"hsl(340, 95%, 95%)"},20:{value:"hsl(340, 90%, 85%)"},40:{value:"hsl(340, 70%, 70%)"},60:{value:"hsl(340, 50%, 50%)"},80:{value:"hsl(340, 95%, 30%)"},90:{value:"hsl(340, 100%, 20%)"},100:{value:"hsl(340, 100%, 15%)"}},neutral:{10:{value:"hsl(210, 5%, 95%)"},20:{value:"hsl(210, 5%, 90%)"},40:{value:"hsl(210, 5%, 80%)"},60:{value:"hsl(210, 6%, 70%)"},80:{value:"hsl(210, 10%, 40%)"},90:{value:"hsl(210, 25%, 25%)"},100:{value:"hsl(210, 50%, 10%)"}},brand:{primary:{10:{value:"{colors.teal.10.value}"},20:{value:"{colors.teal.20.value}"},40:{value:"{colors.teal.40.value}"},60:{value:"{colors.teal.60.value}"},80:{value:"{colors.teal.80.value}"},90:{value:"{colors.teal.90.value}"},100:{value:"{colors.teal.100.value}"}},secondary:{10:{value:"{colors.purple.10.value}"},20:{value:"{colors.purple.20.value}"},40:{value:"{colors.purple.40.value}"},60:{value:"{colors.purple.60.value}"},80:{value:"{colors.purple.80.value}"},90:{value:"{colors.purple.90.value}"},100:{value:"{colors.purple.100.value}"}}},font:{primary:{value:"{colors.neutral.100.value}"},secondary:{value:"{colors.neutral.80.value}"},tertiary:{value:"{colors.neutral.60.value}"},disabled:{value:"{colors.font.tertiary.value}"},inverse:{value:"{colors.white.value}"},interactive:{value:"{colors.brand.primary.80.value}"},hover:{value:"{colors.brand.primary.90.value}"},focus:{value:"{colors.brand.primary.100.value}"},active:{value:"{colors.brand.primary.100.value}"},info:{value:"{colors.blue.80.value}"},warning:{value:"{colors.orange.80.value}"},error:{value:"{colors.red.80.value}"},success:{value:"{colors.green.80.value}"}},background:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.10.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.background.tertiary.value}"},info:{value:"{colors.blue.20.value}"},warning:{value:"{colors.orange.20.value}"},error:{value:"{colors.red.20.value}"},success:{value:"{colors.green.20.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.border.tertiary.value}"},focus:{value:"{colors.brand.primary.100.value}"},error:{value:"{colors.red.80.value}"}},shadow:{primary:{value:"hsla(210, 50%, 10%, 0.25)"},secondary:{value:"hsla(210, 50%, 10%, 0.15)"},tertiary:{value:"hsla(210, 50%, 10%, 0.05)"}},overlay:{10:{value:"hsla(0, 0%, 0%, 0.1)"},20:{value:"hsla(0, 0%, 0%, 0.2)"},30:{value:"hsla(0, 0%, 0%, 0.3)"},40:{value:"hsla(0, 0%, 0%, 0.4)"},50:{value:"hsla(0, 0%, 0%, 0.5)"},60:{value:"hsla(0, 0%, 0%, 0.6)"},70:{value:"hsla(0, 0%, 0%, 0.7)"},80:{value:"hsla(0, 0%, 0%, 0.8)"},90:{value:"hsla(0, 0%, 0%, 0.9)"}},black:{value:"hsl(0, 0%, 0%)"},white:{value:"hsl(0, 0%, 100%)"},transparent:{value:"transparent"}};e();var eo={default:{variable:{value:`'InterVariable', -apple-system, BlinkMacSystemFont,
3
+ +12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"Lost your code? ":"\u30B3\u30FC\u30C9\u3092\u5931\u304F\u3057\u307E\u3057\u305F\u304B\uFF1F","New Password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9","No account? ":"\u30A2\u30AB\u30A6\u30F3\u30C8\u304C\u7121\u3044\u3068\u304D ",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Reset your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8\u3059\u308B","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in to your account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306B\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign In with Amazon":"Amazon\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Facebook":"Facebook\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign In with Google":"Google\u3067\u30B5\u30A4\u30F3\u30A4\u30F3","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1","User already exists":"\u65E2\u306B\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u3066\u3044\u307E\u3059 ","User does not exist":"\u30E6\u30FC\u30B6\u30FC\u304C\u5B58\u5728\u3057\u307E\u305B\u3093 ",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Username cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059",Verify:"\u78BA\u8A8D","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D"};e();var re={"Account recovery requires verified contact information":"\u8D26\u6237\u6062\u590D\u9700\u8981\u9A8C\u8BC1\u8FC7\u7684\u8054\u7CFB\u65B9\u5F0F","Back to Sign In":"\u56DE\u5230\u767B\u5F55","Change Password":"\u6539\u53D8\u5BC6\u7801",Code:"\u786E\u8BA4\u7801",Confirm:"\u786E\u8BA4","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C",Email:"\u90AE\u7BB1","Forgot Password":"\u5FD8\u8BB0\u5BC6\u7801","Incorrect username or password":"\u7528\u6237\u540D\u6216\u5BC6\u7801\u9519\u8BEF","Invalid password format":"\u5BC6\u7801\u683C\u5F0F\u9519\u8BEF","Invalid phone number format":"\u7535\u8BDD\u683C\u5F0F\u9519\u8BEF\uFF0C\u8BF7\u4F7F\u7528\u683C\u5F0F +12345678900","New Password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Sign In":"\u767B\u5F55","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728",Username:"\u7528\u6237\u540D",Verify:"\u9A8C\u8BC1","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F"};e();var ae={BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CONFIRM_PASSWORD:"Confirm Password",CONFIRM_RESET_PASSWORD_HEADING:"Reset your Password",CONFIRM_SIGNUP_HEADING:"Confirm Sign Up",CONFIRM_SMS:"Confirm SMS Code",CONFIRM_TOTP:"Confirm TOTP Code",CONFIRM:"Confirm",CONFIRMATION_CODE:"Confirmation Code",CONFIRMING:"Confirming",CREATE_ACCOUNT:"Create Account",CREATING_ACCOUNT:"Creating Account",EMAIL_ADDRESS:"Email",ENTER_CODE:"Enter your code",ENTER_USERNAME:"Enter your username",FAMILY_NAME:"Family Name",GIVEN_NAME:"Given Name",FORGOT_YOUR_PASSWORD:"Forgot your password? ",HIDE_PASSWORD:"Hide password",LOADING:"Loading",LOGIN_NAME:"Username",MIDDLE_NAME:"Middle Name",NAME:"Name",NICKNAME:"Nickname",NEW_PASSWORD:"New password",PASSWORD:"Password",PHONE_NUMBER:"Phone Number",PREFERRED_USERNAME:"Preferred Username",PROFILE:"Profile",RESEND_CODE:"Resend Code",RESET_PASSWORD_HEADING:"Reset your password",RESET_PASSWORD:"Reset Password",SEND_CODE:"Send code",SENDING:"Sending",SETUP_TOTP:"Setup TOTP",SHOW_PASSWORD:"Show password",SIGN_IN_BUTTON:"Sign in",SIGN_IN_TAB:"Sign In",SIGN_IN_WITH_AMAZON:"Sign In with Amazon",SIGN_IN_WITH_APPLE:"Sign In with Apple",SIGN_IN_WITH_FACEBOOK:"Sign In with Facebook",SIGN_IN_WITH_GOOGLE:"Sign In with Google",SIGN_IN:"Sign in to your account",SIGN_UP_BUTTON:"Create a new account",SIGNING_IN_BUTTON:"Signing in",SKIP:"Skip",SUBMIT:"Submit",SUBMITTING:"Submitting",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WEBSITE:"Website"};var ke=p({},K),Te=p({},Q),we=p({},Z),Ae=p({},J),Ee=p({},ee),De=p({},oe),Ie=p({},re),We=p({},ae);var Jr=p({},We);function ea(o){return Re.I18n.get(o)}var oa={de:ke,en:Te,es:we,fr:Ae,it:Ee,ja:De,zh:Ie};e();e();var b=v(require("xstate"));e();var g=v(require("xstate/lib/actions")),B=o=>(0,g.stop)(o),Ve=(0,g.assign)({attributeToVerify:o=>{}}),_e=(0,g.assign)({challengeName:o=>{}}),I=(0,g.assign)({remoteError:o=>""}),W=(0,g.assign)({formValues:o=>({})}),Pe=(0,g.assign)({unverifiedAttributes:o=>{}}),Ue=(0,g.assign)({username:o=>{}}),R=(0,g.assign)({validationError:o=>({})}),Oe=(0,g.assign)({challengeName:(o,r)=>{var a;return(a=r.data)==null?void 0:a.challengeName}}),Ne=(0,g.assign)({redirectIntent:o=>"confirmPasswordReset"}),Fe=(0,g.assign)({redirectIntent:o=>"confirmSignUp"}),H=(0,g.assign)({authAttributes:(o,r)=>{var i,s;let[a]=o.loginMechanisms,t=(i=o.formValues[a])!=null?i:o.formValues.username,n=(s=o.formValues)==null?void 0:s.password;return{username:t,password:n}}}),V=(0,g.assign)({validationError:(o,r)=>r.data}),_=(0,g.assign)({remoteError:(o,r)=>{var a;return((a=r.data)==null?void 0:a.message)||r.data}}),ze=(0,g.assign)({unverifiedAttributes:(o,r)=>r.data.unverified}),L=(0,g.assign)({user:(o,r)=>r.data.user||r.data}),Be=(0,g.assign)({username:(o,r)=>o.formValues.username}),Me=(0,g.assign)({authAttributes:(o,r)=>({username:o.formValues.username})}),P=(0,g.assign)({formValues:(o,r)=>{let{name:a,value:t}=r.data;return M(p({},o.formValues),{[a]:t})}});e();e();var T=v(require("aws-amplify")),j=v(require("lodash/get")),te=v(require("lodash/isEmpty")),h=v(require("xstate"));e();var Ge=v(require("lodash/isEmpty")),He=v(require("lodash/merge")),U=async(o,r)=>{let a=await Promise.all(r.map(n=>n(o))),t=(0,He.default)({},...a);return(0,Ge.default)(t)?Promise.resolve():Promise.reject(t)};e();var q=v(require("aws-amplify")),O={async getAmplifyConfig(){return q.Amplify.configure()},async getCurrentUser(){return q.Auth.currentAuthenticatedUser()},async validateCustomSignUp(o){},async validateConfirmPassword(o){let{password:r,confirm_password:a}=o;if(!r&&!a)return null;if(r&&a&&r!==a)return{confirm_password:"Your passwords must match"}},async validatePreferredUsername(o){}};var Le=(0,h.createMachine)({initial:"init",id:"signInActor",states:{init:{always:[{target:"signIn"}]},signIn:{initial:"edit",exit:"clearFormValues",states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:[(0,h.sendUpdate)(),"clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["clearError",(0,h.sendUpdate)()],invoke:{src:"signIn",onDone:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"verifying"}],onError:[{cond:"shouldRedirectToConfirmSignUp",actions:["setCredentials","setConfirmSignUpIntent"],target:"rejected"},{cond:"shouldRedirectToConfirmResetPassword",actions:["setUsernameAuthAttributes","setConfirmResetPasswordIntent"],target:"rejected"},{actions:"setRemoteError",target:"edit"}]}},verifying:{tags:["pending"],entry:["clearError",(0,h.sendUpdate)()],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedAttributes"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError"],states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError",(0,h.sendUpdate)()],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:(0,h.sendUpdate)()},invalid:{entry:(0,h.sendUpdate)()}},on:{CHANGE:{actions:"handleInput",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"validate"}},validate:{entry:(0,h.sendUpdate)(),invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:[(0,h.sendUpdate)(),"clearError"],invoke:{src:"forceNewPassword",onDone:{target:"resolved",actions:["setUser","setCredentials"]},onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"edit",exit:["clearFormValues","clearError"],states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:[(0,h.sendUpdate)(),"clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["setUser","clearChallengeName"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError"],states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"verifyUser",onDone:{target:"#signInActor.confirmVerifyUser"},onError:{actions:"setRemoteError",target:"edit"}}}}},confirmVerifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearUnverifiedAttributes","clearAttributeToVerify"],states:{edit:{entry:(0,h.sendUpdate)(),on:{SUBMIT:"submit",SKIP:"#signInActor.resolved",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:"clearError",invoke:{src:"confirmVerifyUser",onDone:{target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},resolved:{type:"final",data:o=>({user:o.user})},rejected:{type:"final",data:(o,r)=>({intent:o.redirectIntent,authAttributes:o.authAttributes})}}},{actions:{clearAttributeToVerify:Ve,clearChallengeName:_e,clearError:I,clearFormValues:W,clearUnverifiedAttributes:Pe,clearValidationError:R,handleInput:P,setChallengeName:Oe,setConfirmResetPasswordIntent:Ne,setConfirmSignUpIntent:Fe,setCredentials:H,setFieldErrors:V,setRemoteError:_,setUnverifiedAttributes:ze,setUser:L,setUsernameAuthAttributes:Me},guards:{shouldConfirmSignIn:(o,r)=>{let a=(0,j.default)(r,"data.challengeName");return[k.SMS_MFA,k.SOFTWARE_TOKEN_MFA].includes(a)},shouldRedirectToConfirmSignUp:(o,r)=>r.data.code==="UserNotConfirmedException",shouldRedirectToConfirmResetPassword:(o,r)=>r.data.code==="PasswordResetRequiredException",shouldSetupTOTP:(o,r)=>(0,j.default)(r,"data.challengeName")===k.MFA_SETUP,shouldForceChangePassword:(o,r)=>(0,j.default)(r,"data.challengeName")===k.NEW_PASSWORD_REQUIRED,shouldRequestVerification:(o,r)=>{let{unverified:a,verified:t}=r.data;return(0,te.default)(t)&&!(0,te.default)(a)}},services:{async signIn(o){let r=o.formValues,{country_code:a,username:t,password:n}=r;return T.Auth.signIn((a!=null?a:"")+t,n)},async confirmSignIn(o,r){let{challengeName:a,user:t}=o,{confirmation_code:n}=o.formValues,i;return(a===k.SMS_MFA||a===k.SOFTWARE_TOKEN_MFA)&&(i=a),T.Auth.confirmSignIn(t,n,i)},async forceNewPassword(o,r){let{user:a,formValues:t}=o,{password:n}=t;return T.Auth.completeNewPassword(a,n)},async verifyTotpToken(o,r){let{user:a}=o,{confirmation_code:t}=o.formValues;return T.Auth.verifyTotpToken(a,t)},async federatedSignIn(o,r){let{provider:a}=r.data;return await T.Auth.federatedSignIn({provider:a})},async checkVerifiedContact(o,r){let{user:a}=o;return await T.Auth.verifiedContact(a)},async verifyUser(o,r){let{unverifiedAttr:a}=o.formValues,t=await T.Auth.verifyCurrentUserAttribute(a);return o.attributeToVerify=a,t},async confirmVerifyUser(o,r){let{attributeToVerify:a}=o,{confirmation_code:t}=o.formValues;return await T.Auth.verifyCurrentUserAttributeSubmit(a,t)},async validateFields(o,r){return U(o.formValues,[O.validateConfirmPassword])}}});e();var qe=v(require("xstate")),je=v(require("aws-amplify")),$e=(0,qe.createMachine)({initial:"pending",id:"signOutActor",states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:()=>je.Auth.signOut()}});e();var ne=v(require("aws-amplify")),C=v(require("xstate"));var Xe=(0,C.createMachine)({id:"resetPasswordActor",initial:"init",states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError"],states:{edit:{entry:(0,C.sendUpdate)(),on:{SUBMIT:"submit",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:[(0,C.sendUpdate)(),"setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:(0,C.sendUpdate)()},invalid:{entry:(0,C.sendUpdate)()}},on:{CHANGE:{actions:"handleInput",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:(0,C.sendUpdate)(),on:{SUBMIT:"validate",RESEND:"resendCode",CHANGE:{actions:"handleInput"}}},validate:{entry:(0,C.sendUpdate)(),invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError",(0,C.sendUpdate)()],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError",(0,C.sendUpdate)()],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:I,clearFormValues:W,clearUsername:Ue,clearValidationError:R,handleInput:P,setFieldErrors:V,setRemoteError:_,setUsername:Be},guards:{shouldAutoConfirmReset:(o,r)=>!!(o.intent&&o.intent==="confirmPasswordReset")},services:{async resetPassword(o){var a,t;let r=(t=(a=o.formValues)==null?void 0:a.username)!=null?t:o.username;return ne.Auth.forgotPassword(r)},async confirmResetPassword(o){let{username:r}=o,{confirmation_code:a,password:t}=o.formValues;return ne.Auth.forgotPasswordSubmit(r,a,t)},async validateFields(o,r){return U(o.formValues,[O.validateConfirmPassword])}}});e();var E=v(require("aws-amplify")),w=v(require("lodash/get")),Ye=v(require("lodash/pickBy")),S=v(require("xstate"));function Ke({services:o}){return(0,S.createMachine)({id:"signUpActor",initial:"init",states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:(0,S.sendUpdate)()},invalid:{entry:(0,S.sendUpdate)()}},on:{CHANGE:{actions:"handleInput",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:(0,S.sendUpdate)(),on:{SUBMIT:"validate",FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:[(0,S.sendUpdate)(),"clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:(0,S.sendUpdate)(),invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:[(0,S.sendUpdate)(),"clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser"]},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{invoke:{src:"signIn",onDone:{target:"#signUpActor.resolved",actions:"setUser"},onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:(0,S.sendUpdate)(),on:{SUBMIT:"submit",CHANGE:{actions:"handleInput"},RESEND:"resend"}},resend:{tags:["pending"],entry:(0,S.sendUpdate)(),invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setUser",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:[(0,S.sendUpdate)(),"clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setUser"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:(r,a)=>{let{username:t,password:n}=r.authAttributes;return{user:(0,w.default)(a,"data.user")||r.user,authAttributes:{username:t,password:n}}}}}},{guards:{isUserAlreadyConfirmed:(r,a)=>a.data.message==="User is already confirmed.",shouldInitConfirmSignUp:r=>r.intent&&r.intent==="confirmSignUp",shouldSkipConfirm:(r,a)=>a.data.userConfirmed},actions:{clearError:I,clearFormValues:W,clearValidationError:R,handleInput:P,setCredentials:H,setFieldErrors:V,setRemoteError:_,setUser:L},services:{async signIn(r,a){let{user:t,authAttributes:n,formValues:i}=r,s=(0,w.default)(t,"username")||(0,w.default)(n,"username"),l=(0,w.default)(i,"password");return await E.Auth.signIn(s,l)},async confirmSignUp(r,a){let{user:t,authAttributes:n,formValues:i}=r,{confirmation_code:s}=i,l=(0,w.default)(t,"username")||(0,w.default)(n,"username"),{password:u}=n;return await E.Auth.confirmSignUp(l,s),await E.Auth.signIn(l,u)},async resendConfirmationCode(r,a){let{user:t,authAttributes:n}=r,i=(0,w.default)(t,"username")||(0,w.default)(n,"username");return E.Auth.resendSignUp(i)},async federatedSignIn(r,a){let{provider:t}=a.data;return await E.Auth.federatedSignIn({provider:t})},async signUp(r,a){let{formValues:t,loginMechanisms:n}=r,[i]=n!=null?n:["username"];t.phone_number&&(t.phone_number=`${t.country_code}${t.phone_number}`.replace(/[^A-Z0-9+]/gi,""));let s=t[i],{password:l}=t,u=(0,Ye.default)(t,(c,m)=>{switch(m){case"address":case"birthdate":case"email":case"family_name":case"gender":case"given_name":case"locale":case"middle_name":case"name":case"nickname":case"phone_number":case"picture":case"preferred_username":case"profile":case"updated_at":case"website":case"zoneinfo":return!0;default:return m.startsWith("custom:")}});return await E.Auth.signUp({username:s,password:l,attributes:u})},async validateSignUp(r,a){return U(r.formValues,[o.validateConfirmPassword,o.validatePreferredUsername,o.validateCustomSignUp])}}})}var Qe="+1";function ra({initialState:o="signIn",loginMechanisms:r,signUpAttributes:a,socialProviders:t,services:n}){let i=p(p({},O),n);return(0,b.createMachine)({id:"authenticator",initial:"idle",context:{user:void 0,config:{loginMechanisms:r,signUpAttributes:a,socialProviders:t},actorRef:void 0},states:{idle:{invoke:[{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:o},{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig"}}]},signIn:{entry:"spawnSignInActor",exit:B("signInActor"),on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",cond:"shouldRedirectToSignUp"},{target:"resetPassword",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setUser"}]}},signUp:{entry:"spawnSignUpActor",exit:B("signUpActor"),on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"idle",actions:"setUser"}}},resetPassword:{entry:"spawnResetPasswordActor",exit:B("resetPasswordActor"),on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":"signIn"}},signOut:{entry:"spawnSignOutActor",exit:[B("signOutActor"),"clearUser"],on:{"done.invoke.signOutActor":"signIn"}},authenticated:{on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_OUT:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:(0,b.forwardTo)(s=>s.actorRef),setUser:(0,b.assign)({user:(s,l)=>l.data.user||l.data}),clearUser:(0,b.assign)({user:void 0}),applyAmplifyConfig:(0,b.assign)({config(s,l){var y,x,de,ce,ve,me,pe,ge;let u=(x=(y=l.data.aws_cognito_username_attributes)==null?void 0:y.map(A=>A.toLowerCase()))!=null?x:[],f=(ce=(de=l.data.aws_cognito_verification_mechanisms)==null?void 0:de.map(A=>A.toLowerCase()))!=null?ce:[],c=(me=(ve=l.data.aws_cognito_signup_attributes)==null?void 0:ve.map(A=>A.toLowerCase()))!=null?me:[],m=(ge=(pe=l.data.aws_cognito_social_providers)==null?void 0:pe.map(A=>A.toLowerCase()))!=null?ge:[];return u.length===0&&u.push("username"),{loginMechanisms:r!=null?r:u,signUpAttributes:a!=null?a:Array.from(new Set([...f,...c])),socialProviders:t!=null?t:m.sort()}}}),spawnSignInActor:(0,b.assign)({actorRef:(s,l)=>{var f,c,m,y,x;let u=Le.withContext({authAttributes:(f=l.data)==null?void 0:f.authAttributes,user:(c=l.data)==null?void 0:c.user,intent:(m=l.data)==null?void 0:m.intent,country_code:Qe,formValues:{},validationError:{},loginMechanisms:(y=s.config)==null?void 0:y.loginMechanisms,socialProviders:(x=s.config)==null?void 0:x.socialProviders});return(0,b.spawn)(u,{name:"signInActor"})}}),spawnSignUpActor:(0,b.assign)({actorRef:(s,l)=>{var f,c,m,y,x;let u=Ke({services:i}).withContext({authAttributes:(c=(f=l.data)==null?void 0:f.authAttributes)!=null?c:{},country_code:Qe,intent:(m=l.data)==null?void 0:m.intent,formValues:{},validationError:{},loginMechanisms:(y=s.config)==null?void 0:y.loginMechanisms,socialProviders:(x=s.config)==null?void 0:x.socialProviders});return(0,b.spawn)(u,{name:"signUpActor"})}}),spawnResetPasswordActor:(0,b.assign)({actorRef:(s,l)=>{var f,c,m;let u=Xe.withContext({formValues:{},intent:(f=l.data)==null?void 0:f.intent,username:(m=(c=l.data)==null?void 0:c.authAttributes)==null?void 0:m.username,validationError:{}});return(0,b.spawn)(u,{name:"resetPasswordActor"})}}),spawnSignOutActor:(0,b.assign)({actorRef:s=>{let l=$e.withContext({user:s.user});return(0,b.spawn)(l,{name:"signOutActor"})}})},guards:{shouldRedirectToSignUp:(s,l)=>{var u;return((u=l.data)==null?void 0:u.intent)?l.data.intent==="confirmSignUp":!1},shouldRedirectToResetPassword:(s,l)=>{var u;return((u=l.data)==null?void 0:u.intent)?l.data.intent==="confirmPasswordReset":!1}},services:i})}e();e();var Pr=v(require("style-dictionary/lib/utils/deepExtend")),le=v(require("style-dictionary/lib/utils/flattenProperties"));e();e();e();var Ze={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};e();var Je={red:{10:{value:"hsl(0, 75%, 95%)"},20:{value:"hsl(0, 75%, 85%)"},40:{value:"hsl(0, 75%, 75%)"},60:{value:"hsl(0, 50%, 50%)"},80:{value:"hsl(0, 95%, 30%)"},90:{value:"hsl(0, 100%, 20%)"},100:{value:"hsl(0, 100%, 15%)"}},orange:{10:{value:"hsl(30, 75%, 95%)"},20:{value:"hsl(30, 75%, 85%)"},40:{value:"hsl(30, 75%, 75%)"},60:{value:"hsl(30, 50%, 50%)"},80:{value:"hsl(30, 95%, 30%)"},90:{value:"hsl(30, 100%, 20%)"},100:{value:"hsl(30, 100%, 15%)"}},yellow:{10:{value:"hsl(60, 75%, 95%)"},20:{value:"hsl(60, 75%, 85%)"},40:{value:"hsl(60, 75%, 75%)"},60:{value:"hsl(60, 50%, 50%)"},80:{value:"hsl(60, 95%, 30%)"},90:{value:"hsl(60, 100%, 20%)"},100:{value:"hsl(60, 100%, 15%)"}},green:{10:{value:"hsl(130, 60%, 95%)"},20:{value:"hsl(130, 60%, 90%)"},40:{value:"hsl(130, 44%, 63%)"},60:{value:"hsl(130, 43%, 46%)"},80:{value:"hsl(130, 33%, 37%)"},90:{value:"hsl(130, 27%, 29%)"},100:{value:"hsl(130, 22%, 23%)"}},teal:{10:{value:"hsl(190, 75%, 95%)"},20:{value:"hsl(190, 75%, 85%)"},40:{value:"hsl(190, 70%, 70%)"},60:{value:"hsl(190, 50%, 50%)"},80:{value:"hsl(190, 95%, 30%)"},90:{value:"hsl(190, 100%, 20%)"},100:{value:"hsl(190, 100%, 15%)"}},blue:{10:{value:"hsl(220, 95%, 95%)"},20:{value:"hsl(220, 85%, 85%)"},40:{value:"hsl(220, 70%, 70%)"},60:{value:"hsl(220, 50%, 50%)"},80:{value:"hsl(220, 95%, 30%)"},90:{value:"hsl(220, 100%, 20%)"},100:{value:"hsl(220, 100%, 15%)"}},purple:{10:{value:"hsl(300, 95%, 95%)"},20:{value:"hsl(300, 85%, 85%)"},40:{value:"hsl(300, 70%, 70%)"},60:{value:"hsl(300, 50%, 50%)"},80:{value:"hsl(300, 95%, 30%)"},90:{value:"hsl(300, 100%, 20%)"},100:{value:"hsl(300, 100%, 15%)"}},pink:{10:{value:"hsl(340, 95%, 95%)"},20:{value:"hsl(340, 90%, 85%)"},40:{value:"hsl(340, 70%, 70%)"},60:{value:"hsl(340, 50%, 50%)"},80:{value:"hsl(340, 95%, 30%)"},90:{value:"hsl(340, 100%, 20%)"},100:{value:"hsl(340, 100%, 15%)"}},neutral:{10:{value:"hsl(210, 5%, 98%)"},20:{value:"hsl(210, 5%, 94%)"},40:{value:"hsl(210, 5%, 87%)"},60:{value:"hsl(210, 6%, 70%)"},80:{value:"hsl(210, 10%, 40%)"},90:{value:"hsl(210, 25%, 25%)"},100:{value:"hsl(210, 50%, 10%)"}},brand:{primary:{10:{value:"{colors.teal.10.value}"},20:{value:"{colors.teal.20.value}"},40:{value:"{colors.teal.40.value}"},60:{value:"{colors.teal.60.value}"},80:{value:"{colors.teal.80.value}"},90:{value:"{colors.teal.90.value}"},100:{value:"{colors.teal.100.value}"}},secondary:{10:{value:"{colors.purple.10.value}"},20:{value:"{colors.purple.20.value}"},40:{value:"{colors.purple.40.value}"},60:{value:"{colors.purple.60.value}"},80:{value:"{colors.purple.80.value}"},90:{value:"{colors.purple.90.value}"},100:{value:"{colors.purple.100.value}"}}},font:{primary:{value:"{colors.neutral.100.value}"},secondary:{value:"{colors.neutral.90.value}"},tertiary:{value:"{colors.neutral.80.value}"},disabled:{value:"{colors.font.tertiary.value}"},inverse:{value:"{colors.white.value}"},interactive:{value:"{colors.brand.primary.80.value}"},hover:{value:"{colors.brand.primary.90.value}"},focus:{value:"{colors.brand.primary.100.value}"},active:{value:"{colors.brand.primary.100.value}"},info:{value:"{colors.blue.90.value}"},warning:{value:"{colors.orange.90.value}"},error:{value:"{colors.red.90.value}"},success:{value:"{colors.green.90.value}"}},background:{primary:{value:"{colors.white.value}"},secondary:{value:"{colors.neutral.10.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.background.tertiary.value}"},info:{value:"{colors.blue.20.value}"},warning:{value:"{colors.orange.20.value}"},error:{value:"{colors.red.20.value}"},success:{value:"{colors.green.20.value}"}},border:{primary:{value:"{colors.neutral.60.value}"},secondary:{value:"{colors.neutral.40.value}"},tertiary:{value:"{colors.neutral.20.value}"},disabled:{value:"{colors.border.tertiary.value}"},focus:{value:"{colors.brand.primary.100.value}"},error:{value:"{colors.red.80.value}"}},shadow:{primary:{value:"hsla(210, 50%, 10%, 0.25)"},secondary:{value:"hsla(210, 50%, 10%, 0.15)"},tertiary:{value:"hsla(210, 50%, 10%, 0.05)"}},overlay:{10:{value:"hsla(0, 0%, 0%, 0.1)"},20:{value:"hsla(0, 0%, 0%, 0.2)"},30:{value:"hsla(0, 0%, 0%, 0.3)"},40:{value:"hsla(0, 0%, 0%, 0.4)"},50:{value:"hsla(0, 0%, 0%, 0.5)"},60:{value:"hsla(0, 0%, 0%, 0.6)"},70:{value:"hsla(0, 0%, 0%, 0.7)"},80:{value:"hsla(0, 0%, 0%, 0.8)"},90:{value:"hsla(0, 0%, 0%, 0.9)"}},black:{value:"hsl(0, 0%, 0%)"},white:{value:"hsl(0, 0%, 100%)"},transparent:{value:"transparent"}};e();var eo={default:{variable:{value:`'InterVariable', -apple-system, BlinkMacSystemFont,
4
4
  'Helvetica Neue', 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans',
5
5
  sans-serif`},static:{value:`'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue',
6
- 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif`}}};e();var oo={xxxs:{value:"0.375rem"},xxs:{value:"0.5rem"},xs:{value:"0.75rem"},small:{value:"0.875rem"},medium:{value:"1rem"},large:{value:"1.25rem"},xl:{value:"1.5rem"},xxl:{value:"2rem"},xxxl:{value:"3rem"},xxxxl:{value:"5rem"}};e();var ro={hairline:{value:100},thin:{value:200},light:{value:300},normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800},black:{value:900}};e();var ao={small:{value:"1.5"},medium:{value:"1.75"},large:{value:"2"}};e();var to={0:{value:"0"},10:{value:"0.1"},20:{value:"0.2"},30:{value:"0.3"},40:{value:"0.4"},50:{value:"0.5"},60:{value:"0.6"},70:{value:"0.7"},80:{value:"0.8"},90:{value:"0.9"},100:{value:"1"}};e();var no={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};e();var io={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};e();var lo={xs:{value:"0.125rem"},small:{value:"0.25rem"},medium:{value:"0.5rem"},large:{value:"1rem"},xl:{value:"2rem"},xxl:{value:"4rem"},xxxl:{value:"8rem"}};e();var so={small:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"4px",color:"{colors.shadow.tertiary.value}"}},medium:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"6px",color:"{colors.shadow.secondary.value}"}},large:{value:{offsetX:"0px",offsetY:"4px",blurRadius:"12px",color:"{colors.shadow.primary.value}"}}};e();var uo={xxxs:{value:"0.25rem"},xxs:{value:"0.375rem"},xs:{value:"0.5rem"},small:{value:"0.75rem"},medium:{value:"1rem"},large:{value:"1.5rem"},xl:{value:"2.0rem"},xxl:{value:"3.0rem"},xxxl:{value:"4.5rem"},relative:{xxxs:{value:"0.25em"},xxs:{value:"0.375rem"},xs:{value:"0.5em"},small:{value:"0.75em"},medium:{value:"1em"},large:{value:"1.5em"},xl:{value:"2.0em"},xxl:{value:"3.0em"},xxxl:{value:"4.5em"}}};e();var co={short:{value:"100ms"},medium:{value:"250ms"},long:{value:"500ms"}};e();var vo={slideX:{small:{value:"translateX(0.5em)"},medium:{value:"translateX(1em)"},large:{value:"translateX(2em)"}}};var Ir={components:Dr(),borderWidths:Ze,colors:Je,fonts:eo,fontSizes:oo,fontWeights:ro,lineHeights:ao,opacities:to,outlineOffsets:no,outlineWidths:io,radii:lo,shadows:so,space:uo,time:co,transforms:vo};e();var Wr={values:{base:0,small:30,medium:48,large:62,xl:80,xxl:96},unit:"em",defaultBreakpoint:"base"};var $={tokens:Ir,breakpoints:Wr,name:"base-theme"};e();var Rr=v(require("lodash/kebabCase")),Vr=v(require("style-dictionary/lib/utils/references/usesReference")),aa="amplify";function N(o){if((0,Vr.default)(o)){let r=o.replace(/\{|\}/g,"").replace(".value","").split(".");return`var(--${ie({path:r})})`}return o}function _r(o){let{value:r}=o;if(typeof r=="string")return N(r);if(typeof r=="object"&&"offsetX"in r){let{offsetX:a="",offsetY:t="",blurRadius:n="",spreadRadius:i="",color:s=""}=r;return[N(a),N(t),N(n),N(i),N(s)].join(" ")}return r}function ie({path:o=[]}){return`${(0,Rr.default)([aa,...o].join(" "))}`}function ta(o,r){let a=`--${ie({path:r})}`,{value:t}=o;return{name:a,path:r,value:_r(o),original:t,toString:()=>`var(${a})`}}function se(o,r=[]){let a={};if(o.hasOwnProperty("value"))return ta(o,r);for(let t in o)o.hasOwnProperty(t)&&(a[t]=se(o[t],r.concat(t)));return a}function ue(o,r=$){let a=(0,Ur.default)([{},r,o]),t=se(a.tokens),{breakpoints:n,name:i}=a,s=`[data-amplify-theme="${i}"] {
6
+ 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif`}}};e();var oo={xxxs:{value:"0.375rem"},xxs:{value:"0.5rem"},xs:{value:"0.75rem"},small:{value:"0.875rem"},medium:{value:"1rem"},large:{value:"1.25rem"},xl:{value:"1.5rem"},xxl:{value:"2rem"},xxxl:{value:"3rem"},xxxxl:{value:"5rem"}};e();var ro={hairline:{value:100},thin:{value:200},light:{value:300},normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800},black:{value:900}};e();var ao={small:{value:"1.5"},medium:{value:"1.75"},large:{value:"2"}};e();var to={0:{value:"0"},10:{value:"0.1"},20:{value:"0.2"},30:{value:"0.3"},40:{value:"0.4"},50:{value:"0.5"},60:{value:"0.6"},70:{value:"0.7"},80:{value:"0.8"},90:{value:"0.9"},100:{value:"1"}};e();var no={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};e();var io={small:{value:"1px"},medium:{value:"2px"},large:{value:"3px"}};e();var lo={xs:{value:"0.125rem"},small:{value:"0.25rem"},medium:{value:"0.5rem"},large:{value:"1rem"},xl:{value:"2rem"},xxl:{value:"4rem"},xxxl:{value:"8rem"}};e();var so={small:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"4px",color:"{colors.shadow.tertiary.value}"}},medium:{value:{offsetX:"0px",offsetY:"2px",blurRadius:"6px",color:"{colors.shadow.secondary.value}"}},large:{value:{offsetX:"0px",offsetY:"4px",blurRadius:"12px",color:"{colors.shadow.primary.value}"}}};e();var uo={xxxs:{value:"0.25rem"},xxs:{value:"0.375rem"},xs:{value:"0.5rem"},small:{value:"0.75rem"},medium:{value:"1rem"},large:{value:"1.5rem"},xl:{value:"2.0rem"},xxl:{value:"3.0rem"},xxxl:{value:"4.5rem"},relative:{xxxs:{value:"0.25em"},xxs:{value:"0.375rem"},xs:{value:"0.5em"},small:{value:"0.75em"},medium:{value:"1em"},large:{value:"1.5em"},xl:{value:"2.0em"},xxl:{value:"3.0em"},xxxl:{value:"4.5em"}}};e();var co={short:{value:"100ms"},medium:{value:"250ms"},long:{value:"500ms"}};e();var vo={slideX:{small:{value:"translateX(0.5em)"},medium:{value:"translateX(1em)"},large:{value:"translateX(2em)"}}};var Ir={components:Dr(),borderWidths:Ze,colors:Je,fonts:eo,fontSizes:oo,fontWeights:ro,lineHeights:ao,opacities:to,outlineOffsets:no,outlineWidths:io,radii:lo,shadows:so,space:uo,time:co,transforms:vo};e();var Wr={values:{base:0,small:30,medium:48,large:62,xl:80,xxl:96},unit:"em",defaultBreakpoint:"base"};var $={tokens:Ir,breakpoints:Wr,name:"base-theme"};e();var Rr=v(require("lodash/kebabCase")),Vr=v(require("style-dictionary/lib/utils/references/usesReference")),aa="amplify";function N(o){if((0,Vr.default)(o)){let r=o.replace(/\{|\}/g,"").replace(".value","").split(".");return`var(--${ie({path:r})})`}return o}function _r(o){let{value:r}=o;if(typeof r=="string")return N(r);if(typeof r=="object"&&"offsetX"in r){let{offsetX:a="",offsetY:t="",blurRadius:n="",spreadRadius:i="",color:s=""}=r;return[N(a),N(t),N(n),N(i),N(s)].join(" ")}return r}function ie({path:o=[]}){return`${(0,Rr.default)([aa,...o].join(" "))}`}function ta(o,r){let a=`--${ie({path:r})}`,{value:t}=o;return{name:a,path:r,value:_r(o),original:t,toString:()=>`var(${a})`}}function se(o,r=[]){let a={};if(o.hasOwnProperty("value"))return ta(o,r);for(let t in o)o.hasOwnProperty(t)&&(a[t]=se(o[t],r.concat(t)));return a}function ue(o,r=$){let a=(0,Pr.default)([{},r,o]),t=se(a.tokens),{breakpoints:n,name:i}=a,s=`[data-amplify-theme="${i}"] {
7
7
  `+(0,le.default)(t).map(u=>`${u.name}: ${u.value};`).join(`
8
8
  `)+`
9
9
  }