@aws-amplify/ui-vue 3.1.5 → 3.1.7

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.cjs CHANGED
@@ -1,5 +1,5 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var o=require("vue"),le=require("aws-amplify"),Vs=require("@aws-amplify/auth");const Me=o.defineComponent({__name:"base-field-set",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"fieldSetI",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("fieldset",o.mergeProps(n.$attrs,{"data-amplify-fieldset":""}),[o.renderSlot(n.$slots,"default")],16)])}}),Ms=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],Ie=o.defineComponent({__name:"amplify-button",props:{type:null,fullWidth:{type:[Boolean,String]},size:null,variation:null,fontWeight:null,loading:{type:[Boolean,String]},disabled:{type:[Boolean,String]}},setup(e){const t=e,{type:n,fullWidth:r,size:i,variation:a,fontWeight:s}=o.toRefs(t);return(u,c)=>o.renderSlot(u.$slots,"buttont",o.normalizeProps(o.guardReactiveProps(u.$attrs)),()=>[o.createElementVNode("button",o.mergeProps({class:["amplify-button",{[`amplify-button--${o.unref(a)}`]:o.unref(a),[`amplify-button--${o.unref(i)}`]:o.unref(i),"amplify-button--fullwidth":o.unref(r),"amplify-button--loading":e.loading,"amplify-button--disabled":e.disabled}],type:o.unref(n),style:{fontWeight:o.unref(s)},"data-fullwidth":o.unref(r),"data-size":o.unref(i),"data-fontWeight":o.unref(s),"data-variation":o.unref(a),"data-loading":e.loading,"data-disabled":e.disabled,disabled:e.disabled},u.$attrs,{"data-amplify-button":""}),[o.renderSlot(u.$slots,"default")],16,Ms)])}});var Ae=function(e){var t;return(t=e.context.actorRef)===null||t===void 0?void 0:t.getSnapshot()},ia=function(e){var t;return(t=Ae(e))===null||t===void 0?void 0:t.context},sn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ls=typeof sn=="object"&&sn&&sn.Object===Object&&sn,aa=Ls,js=aa,zs=typeof self=="object"&&self&&self.Object===Object&&self,Gs=js||zs||Function("return this")(),Le=Gs,Hs=Le,Ws=Hs.Symbol,Kt=Ws,Ko=Kt,sa=Object.prototype,Ys=sa.hasOwnProperty,Ks=sa.toString,Dt=Ko?Ko.toStringTag:void 0;function qs(e){var t=Ys.call(e,Dt),n=e[Dt];try{e[Dt]=void 0;var r=!0}catch{}var i=Ks.call(e);return r&&(t?e[Dt]=n:delete e[Dt]),i}var Js=qs,Zs=Object.prototype,Xs=Zs.toString;function Qs(e){return Xs.call(e)}var eu=Qs,qo=Kt,tu=Js,nu=eu,ru="[object Null]",ou="[object Undefined]",Jo=qo?qo.toStringTag:void 0;function iu(e){return e==null?e===void 0?ou:ru:Jo&&Jo in Object(e)?tu(e):nu(e)}var Tt=iu;function au(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var je=au,su=Tt,uu=je,cu="[object AsyncFunction]",lu="[object Function]",du="[object GeneratorFunction]",fu="[object Proxy]";function pu(e){if(!uu(e))return!1;var t=su(e);return t==lu||t==du||t==cu||t==fu}var Hr=pu,mu=9007199254740991;function hu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=mu}var Wr=hu,gu=Hr,vu=Wr;function yu(e){return e!=null&&vu(e.length)&&!gu(e)}var qt=yu,wu=Array.isArray,Be=wu;function Su(e){return e!=null&&typeof e=="object"}var Ze=Su,_u=Tt,bu=Ze,Cu="[object Symbol]";function Au(e){return typeof e=="symbol"||bu(e)&&_u(e)==Cu}var Yr=Au;function Tu(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var ua=Tu;function Iu(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Eu=Iu,Pu=Tt,$u=Ze,Nu="[object Arguments]";function ku(e){return $u(e)&&Pu(e)==Nu}var xu=ku,Zo=xu,Ou=Ze,ca=Object.prototype,Uu=ca.hasOwnProperty,Ru=ca.propertyIsEnumerable,Fu=Zo(function(){return arguments}())?Zo:function(e){return Ou(e)&&Uu.call(e,"callee")&&!Ru.call(e,"callee")},Bn=Fu,ut={exports:{}};function Bu(){return!1}var Du=Bu;(function(e,t){var n=Le,r=Du,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,u=s?n.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||r;e.exports=l})(ut,ut.exports);var Vu=9007199254740991,Mu=/^(?:0|[1-9]\d*)$/;function Lu(e,t){var n=typeof e;return t=t==null?Vu:t,!!t&&(n=="number"||n!="symbol"&&Mu.test(e))&&e>-1&&e%1==0&&e<t}var Dn=Lu,ju=Tt,zu=Wr,Gu=Ze,Hu="[object Arguments]",Wu="[object Array]",Yu="[object Boolean]",Ku="[object Date]",qu="[object Error]",Ju="[object Function]",Zu="[object Map]",Xu="[object Number]",Qu="[object Object]",ec="[object RegExp]",tc="[object Set]",nc="[object String]",rc="[object WeakMap]",oc="[object ArrayBuffer]",ic="[object DataView]",ac="[object Float32Array]",sc="[object Float64Array]",uc="[object Int8Array]",cc="[object Int16Array]",lc="[object Int32Array]",dc="[object Uint8Array]",fc="[object Uint8ClampedArray]",pc="[object Uint16Array]",mc="[object Uint32Array]",se={};se[ac]=se[sc]=se[uc]=se[cc]=se[lc]=se[dc]=se[fc]=se[pc]=se[mc]=!0;se[Hu]=se[Wu]=se[oc]=se[Yu]=se[ic]=se[Ku]=se[qu]=se[Ju]=se[Zu]=se[Xu]=se[Qu]=se[ec]=se[tc]=se[nc]=se[rc]=!1;function hc(e){return Gu(e)&&zu(e.length)&&!!se[ju(e)]}var gc=hc;function vc(e){return function(t){return e(t)}}var Kr=vc,Gt={exports:{}};(function(e,t){var n=aa,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,s=a&&n.process,u=function(){try{var c=i&&i.require&&i.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=u})(Gt,Gt.exports);var yc=gc,wc=Kr,Xo=Gt.exports,Qo=Xo&&Xo.isTypedArray,Sc=Qo?wc(Qo):yc,Vn=Sc,_c=Eu,bc=Bn,Cc=Be,Ac=ut.exports,Tc=Dn,Ic=Vn,Ec=Object.prototype,Pc=Ec.hasOwnProperty;function $c(e,t){var n=Cc(e),r=!n&&bc(e),i=!n&&!r&&Ac(e),a=!n&&!r&&!i&&Ic(e),s=n||r||i||a,u=s?_c(e.length,String):[],c=u.length;for(var l in e)(t||Pc.call(e,l))&&!(s&&(l=="length"||i&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Tc(l,c)))&&u.push(l);return u}var la=$c,Nc=Object.prototype;function kc(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Nc;return e===n}var Mn=kc;function xc(e,t){return function(n){return e(t(n))}}var da=xc,Oc=da,Uc=Oc(Object.keys,Object),Rc=Uc,Fc=Mn,Bc=Rc,Dc=Object.prototype,Vc=Dc.hasOwnProperty;function Mc(e){if(!Fc(e))return Bc(e);var t=[];for(var n in Object(e))Vc.call(e,n)&&n!="constructor"&&t.push(n);return t}var fa=Mc,Lc=la,jc=fa,zc=qt;function Gc(e){return zc(e)?Lc(e):jc(e)}var Ln=Gc,_r,ei;(function(e){e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google"})(_r||(_r={})),function(e){e.Email="email",e.PhoneNumber="phone_number"}(ei||(ei={}));var x=function(){return x=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},x.apply(this,arguments)};function pa(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function K(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function u(d){try{l(r.next(d))}catch(m){s(m)}}function c(d){try{l(r.throw(d))}catch(m){s(m)}}function l(d){d.done?a(d.value):i(d.value).then(u,c)}l((r=r.apply(e,t||[])).next())})}function q(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(d){return c([l,d])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(n=0)),n;)try{if(r=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1],a=l;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(l);break}a[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(d){l=[6,d],i=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ve(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var Hc=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],Wc=["username","email","phone_number"],Yc=Ve(Ve(Ve([],Wc,!0),Hc,!0),["confirmation_code","password","confirm_password"],!1),ye;(function(e){e.Alert="amplify-alert",e.AlertIcon="amplify-alert__icon",e.AlertHeading="amplify-alert__heading",e.AlertBody="amplify-alert__body",e.AlertDismiss="amplify-alert__dismiss",e.Autocomplete="amplify-autocomplete",e.AutocompleteMenu="amplify-autocomplete__menu",e.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",e.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",e.AutocompleteMenuHeader="amplify-autocomplete__menu__header",e.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",e.AutocompleteMenuOption="amplify-autocomplete__menu__option",e.AutocompleteMenuOptions="amplify-autocomplete__menu__options",e.Badge="amplify-badge",e.Button="amplify-button",e.ButtonGroup="amplify-buttongroup",e.ButtonLoaderWrapper="amplify-button__loader-wrapper",e.Card="amplify-card",e.Checkbox="amplify-checkbox",e.CheckboxButton="amplify-checkbox__button",e.CheckboxIcon="amplify-checkbox__icon",e.CheckboxInput="amplify-checkbox__input",e.CheckboxLabel="amplify-checkbox__label",e.CheckboxField="amplify-checkboxfield",e.Collection="amplify-collection",e.CollectionItems="amplify-collection-items",e.CollectionSearch="amplify-collection-search",e.CollectionPagination="amplify-collection-pagination",e.CountryCodeSelect="amplify-countrycodeselect",e.DialCodeSelect="amplify-dialcodeselect",e.Divider="amplify-divider",e.DividerLabel="amplify-divider--label",e.Expander="amplify-expander",e.ExpanderContent="amplify-expander__content",e.ExpanderContentText="amplify-expander__content__text",e.ExpanderHeader="amplify-expander__header",e.ExpanderIcon="amplify-expander__icon",e.ExpanderItem="amplify-expander__item",e.ExpanderTrigger="amplify-expander__trigger",e.Field="amplify-field",e.FieldDescription="amplify-field__description",e.FieldErrorMessage="amplify-field__error-message",e.FieldGroup="amplify-field-group",e.FieldGroupControl="amplify-field-group__control",e.FieldGroupOuterEnd="amplify-field-group__outer-end",e.FieldGroupOuterStart="amplify-field-group__outer-start",e.FieldGroupInnerEnd="amplify-field-group__inner-end",e.FieldGroupInnerStart="amplify-field-group__inner-start",e.FieldGroupIcon="amplify-field-group__icon",e.FieldGroupIconButton="amplify-field-group__icon-button",e.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",e.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",e.FieldShowPassword="amplify-field__show-password",e.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",e.FileUploaderDropZone="amplify-fileuploader__dropzone",e.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",e.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",e.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",e.FileUploaderFile="amplify-fileuploader__file",e.FileUploaderFileWrapper="amplify-fileuploader__file__wrapper",e.FileUploaderFileName="amplify-fileuploader__file__name",e.FileUploaderFileSize="amplify-fileuploader__file__size",e.FileUploaderFileInfo="amplify-fileuploader__file__info",e.FileUploaderFileImage="amplify-fileuploader__file__image",e.FileUploaderFileMain="amplify-fileuploader__file__main",e.FileUploaderFileStatus="amplify-fileuploader__file__status",e.FileUploaderLoader="amplify-fileuploader__loader",e.FileUploaderPreviewer="amplify-fileuploader__previewer",e.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",e.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",e.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",e.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",e.Flex="amplify-flex",e.Grid="amplify-grid",e.Heading="amplify-heading",e.HighlightMatch="amplify-highlightmatch",e.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",e.Icon="amplify-icon",e.Image="amplify-image",e.Input="amplify-input",e.Label="amplify-label",e.Link="amplify-link",e.Loader="amplify-loader",e.LoaderDeterminate="amplify-loader--determinate",e.LoaderPercentageText="amplify-loader__percentage-text",e.MenuContent="amplify-menu-content",e.MenuContentWrapper="amplify-menu-content-wrapper",e.MenuItem="amplify-menu-content__item",e.MenuTrigger="amplify-menu-trigger",e.Pagination="amplify-pagination",e.PaginationItemButton="amplify-pagination__item-button",e.PaginationItemCurrent="amplify-pagination__item-current",e.PaginationItemEllipsis="amplify-pagination__item-ellipsis",e.PasswordField="amplify-passwordfield",e.PhoneNumberField="amplify-phonenumberfield",e.Placeholder="amplify-placeholder",e.Radio="amplify-radio",e.RadioButton="amplify-radio__button",e.RadioInput="amplify-radio__input",e.RadioLabel="amplify-radio__label",e.RadioGroupField="amplify-radiogroupfield",e.RadioGroup="amplify-radiogroup",e.Rating="amplify-rating",e.ScrollView="amplify-scrollview",e.SearchField="amplify-searchfield",e.SearchFieldClear="amplify-searchfield__clear",e.SearchFieldSearch="amplify-searchfield__search",e.Select="amplify-select",e.SelectField="amplify-selectfield",e.SelectWrapper="amplify-select__wrapper",e.SelectIconWrapper="amplify-select__icon-wrapper",e.SliderField="amplify-sliderfield",e.SliderFieldGroup="amplify-sliderfield__group",e.SliderFieldLabel="amplify-sliderfield__label",e.SliderFieldRange="amplify-sliderfield__range",e.SliderFieldRoot="amplify-sliderfield__root",e.SliderFieldThumb="amplify-sliderfield__thumb",e.SliderFieldTrack="amplify-sliderfield__track",e.StepperField="amplify-stepperfield",e.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",e.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",e.StepperFieldInput="amplify-stepperfield__input",e.SwitchField="amplify-switchfield",e.SwitchLabel="amplify-switch-label",e.SwitchThumb="amplify-switch-thumb",e.SwitchTrack="amplify-switch-track",e.SwitchWrapper="amplify-switch__wrapper",e.Table="amplify-table",e.TableCaption="amplify-table__caption",e.TableBody="amplify-table__body",e.TableTd="amplify-table__td",e.TableTh="amplify-table__th",e.TableFoot="amplify-table__foot",e.TableHead="amplify-table__head",e.TableRow="amplify-table__row",e.Tabs="amplify-tabs",e.TabItems="amplify-tabs-item",e.Text="amplify-text",e.Textarea="amplify-textarea",e.TextAreaField="amplify-textareafield",e.TextField="amplify-textfield",e.ToggleButton="amplify-togglebutton",e.ToggleButtonGroup="amplify-togglebuttongroup",e.VisuallyHidden="amplify-visually-hidden"})(ye||(ye={}));var br=function(e){var t,n=(t=e==null?void 0:e.context.config)===null||t===void 0?void 0:t.loginMechanisms;return(n!=null?n:["username"])[0]},Kc=function(e){var t=function(n){return function(r){return e({type:n,data:r})}};return{initializeMachine:t("INIT"),resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},qc=function(e){var t,n,r,i,a,s=(t=ia(e))!==null&&t!==void 0?t:{},u=s.codeDeliveryDetails,c=s.remoteError,l=s.unverifiedContactMethods,d=s.validationError,m=((r=(n=e.context)===null||n===void 0?void 0:n.config)!==null&&r!==void 0?r:{}).socialProviders,f=(i=s==null?void 0:s.user)!==null&&i!==void 0?i:(a=e.context)===null||a===void 0?void 0:a.user,h=d&&Object.keys(d).length>0,p=Ae(e),w=e.hasTag("pending")||(p==null?void 0:p.hasTag("pending")),_=function(){switch(!0){case e.matches("idle"):return"idle";case e.matches("setup"):return"setup";case e.matches("signOut"):return"signOut";case e.matches("authenticated"):return"authenticated";case(p==null?void 0:p.matches("confirmSignUp")):return"confirmSignUp";case(p==null?void 0:p.matches("confirmSignIn")):return"confirmSignIn";case(p==null?void 0:p.matches("setupTOTP")):return"setupTOTP";case(p==null?void 0:p.matches("signIn")):return"signIn";case(p==null?void 0:p.matches("signUp")):return"signUp";case(p==null?void 0:p.matches("forceNewPassword")):return"forceNewPassword";case(p==null?void 0:p.matches("resetPassword")):return"resetPassword";case(p==null?void 0:p.matches("confirmResetPassword")):return"confirmResetPassword";case(p==null?void 0:p.matches("verifyUser")):return"verifyUser";case(p==null?void 0:p.matches("confirmVerifyUser")):return"confirmVerifyUser";case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}}(),S=function(v){switch(v){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}}(_);return{authStatus:S,codeDeliveryDetails:u,error:c,hasValidationErrors:h,isPending:w,route:_,socialProviders:m,unverifiedContactMethods:l,user:f,validationErrors:d}},ma=function(e){var t=e.send,n=e.state,r=Kc(t),i=qc(n);return x(x({},r),i)},Jc=["+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"],Zc={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Changing:"\xC4ndern von",Code:"Code","Confirm Password":"Passwort best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirm SMS Code":"SMS-Code best\xE4tigen","Confirm TOTP Code":"TOTP-Code best\xE4tigen",Confirm:"Best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code",Confirming:"Wird best\xE4tigt","Create a new account":"Einen neuen Account erstellen","Create Account":"Account erstellen","Creating Account":"Account wird erstellt","Dismiss alert":"Warnung verwerfen",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your email":"Geben Sie Ihre Email ein","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Forgot your password?":"Passwort vergessen? ","Hide password":"Passwort verbergen","It may take a minute to arrive":"Es kann eine Minute dauern, bis er ankommt",Loading:"Wird geladen","New password":"Neues Passwort",or:"oder",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xFCcksetzen des Passwort","Reset your password":"Zur\xFCcksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xDCberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","Forgot 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","It may take a minute to arrive.":"Es k\xF6nnte eine Minute dauern, bis der Code eintrifft.","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Reset password":"Passwort zur\xFCcksetzen","Sign Out":"Abmelden","Sign Up":"Registrieren","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht","Username cannot be empty":"Benutzername darf nicht leer sein","We Emailed You":"Email wurde versendet","Your code is on the way. To log in, enter the code we emailed to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an","Your code is on the way. To log in, enter the code we texted to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"},Xc={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm 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 a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your code":"Enter your code","Enter your email":"Enter your email","Enter your phone number":"Enter your phone number","Enter your username":"Enter your username","Forgot password?":"Forgot password?","Forgot your password?":"Forgot your password?","Hide password":"Hide password","It may take a minute to arrive":"It may take a minute to arrive",Loading:"Loading","New password":"New password",or:"or",Password:"Password","Phone Number":"Phone Number","Resend Code":"Resend Code","Reset your password":"Reset your password","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 to your account":"Sign in to your account","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","Sign In":"Sign In","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting",Username:"Username","Verify Contact":"Verify Contact",Verify:"Verify","We Emailed You":"We Emailed You","We Sent A Code":"We Sent A Code","We Texted You":"We Texted You","Your code is on the way. To log in, enter the code we emailed to":"Your code is on the way. To log in, enter the code we emailed to","Your code is on the way. To log in, enter the code we sent you":"Your code is on the way. To log in, enter the code we sent you","Your code is on the way. To log in, enter the code we texted to":"Your code is on the way. To log in, enter the code we texted to"},Qc={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xF3n","Change Password":"Cambiar contrase\xF1a",Changing:"Cambiando",Code:"C\xF3digo","Confirm Password":"Confirmar contrase\xF1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xF3digo de SMS","Confirm TOTP Code":"Confirmar c\xF3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xF3digo de confirmaci\xF3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your code":"Ingrese el c\xF3digo","Enter your email":"Escriba su Email","Enter your phone number":"Ingrese el n\xFAmero de tel\xE9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xBFOlvid\xF3 su contrase\xF1a?","Hide password":"Ocultar contrase\xF1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend Code":"Reenviar c\xF3digo","Reset your password":"Restablecer su contrase\xF1a","Reset your Password":"Restablecer su Contrase\xF1a","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xF1a","Sign in to your account":"Iniciar sesi\xF3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xF3n con Amazon","Sign In with Apple":"Iniciar Sesi\xF3n con Apple","Sign In with Facebook":"Iniciar Sesi\xF3n con Facebook","Sign In with Google":"Iniciar Sesi\xF3n con Google","Sign in":"Iniciar sesi\xF3n","Sign In":"Iniciar Sesi\xF3n","Signing in":"Iniciando sesi\xF3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xF3nico","We Sent A Code":"Hemos enviado un c\xF3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por correo electr\xF3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xF3digo","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Forgot Password":"Olvid\xE9 mi 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","Loading...":"Cargando...","New Password":"Nueva contrase\xF1a","Resend a Code":"Reenviar un c\xF3digo","Sign Out":"Cerrar sesi\xF3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xEDo","Your passwords must match":"Las contrase\xF1as deben coincidir"},el={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","Back to Sign In":"Retour \xE0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create Account":"Cr\xE9er un compte","Creating Account":"Cr\xE9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xE9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xE9initialiser votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xE9rifier le contact",Verify:"V\xE9rifier","We Sent A Code":"Nous avons envoy\xE9 un code","We Texted You":"Nous vous avons envoy\xE9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xE9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xE9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot 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 ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xE9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},tl={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xE8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xE8 gi\xE0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot 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":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xE0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xF2 essere vuoto"},nl={"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","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Changing:"\u5909\u66F4\u4E2D",Code:"\u30B3\u30FC\u30C9","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirm SMS Code":"SMS \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm TOTP Code":"TOTP \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D",Confirm:"\u78BA\u5B9A","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9",Confirming:"\u78BA\u8A8D\u4E2D","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","Creating Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u4F5C\u6210\u4E2D","Dismiss alert":"\u30A2\u30E9\u30FC\u30C8\u3092\u9589\u3058\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your code":"\u30B3\u30FC\u30C9\u3092\u5165\u529B","Enter your email":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B","Enter your phone number":"\u96FB\u8A71\u756A\u53F7\u3092\u5165\u529B","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot your password?":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Hide password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u975E\u8868\u793A","It may take a minute to arrive":"\u5230\u7740\u3059\u308B\u307E\u3067\u306B 1 \u5206\u304B\u304B\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002",Loading:"\u30ED\u30FC\u30C9\u4E2D","New password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset your 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","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1",Sending:"\u9001\u4FE1\u4E2D","Setup TOTP":"TOTP \u3092\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7","Show password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A","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 Apple":"Apple \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 In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Signing in":"\u30B5\u30A4\u30F3\u30A4\u30F3\u4E2D",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1",Submitting:"\u9001\u4FE1\u4E2D",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D",Verify:"\u78BA\u8A8D","We Sent A Code":"\u30B3\u30FC\u30C9\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","We Texted You":"\u30C6\u30AD\u30B9\u30C8\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we sent you":"\u30B3\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u3059\u3002\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u9001\u4FE1\u3057\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","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","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","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
2
- +12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"It may take a minute to arrive.":"\u30B3\u30FC\u30C9\u3092\u53D7\u4FE1\u3059\u308B\u307E\u3067\u6570\u5206\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002","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 ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ","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 cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059","We Emailed You":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we emailed to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:","Your code is on the way. To log in, enter the code we texted to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30C6\u30AD\u30B9\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:"},rl={"Account recovery requires verified contact information":"\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4","Back to Sign In":"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30","Change Password":"\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30",Changing:"\uBCC0\uACBD\uC911",Code:"\uCF54\uB4DC","Confirm Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778","Confirm Sign Up":"\uD68C\uC6D0\uAC00\uC785 \uD655\uC778","Confirm SMS Code":"\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778","Confirm TOTP Code":"TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778",Confirm:"\uD655\uC778","Confirmation Code":"\uC778\uC99D\uBC88\uD638",Confirming:"\uD655\uC778\uC911","Create a new account":"\uD68C\uC6D0\uAC00\uC785","Create Account":"\uD68C\uC6D0\uAC00\uC785","Creating Account":"\uD68C\uC6D0\uAC00\uC785\uC911","Dismiss alert":"\uC54C\uB9BC \uBB34\uC2DC",Email:"\uC774\uBA54\uC77C","Enter your code":"\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Enter your email":"\uC774\uBA54\uC77C \uC785\uB825","Enter your phone number":"\uC804\uD654\uBC88\uD638 \uC785\uB825","Enter your username":"\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Hide password":"\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30","It may take a minute to arrive":"\uB3C4\uCC29\uD558\uB294 \uB370 1\uBD84 \uC815\uB3C4 \uAC78\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4",Loading:"\uB85C\uB529\uC911","New password":"\uC0C8 \uBE44\uBC00\uBC88\uD638",or:"\uB610\uB294",Password:"\uBE44\uBC00\uBC88\uD638","Phone Number":"\uC804\uD654\uBC88\uD638","Resend Code":"\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1","Reset your password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Reset your Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Send code":"\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30","Send Code":"\uCF54\uB4DC \uC804\uC1A1",Sending:"\uC804\uC1A1\uC911","Setup TOTP":"TOTP \uC124\uC815\uD558\uAE30","Show password":"\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30","Sign in to your account":"\uB85C\uADF8\uC778","Sign In with Amazon":"Amazon \uB85C\uADF8\uC778","Sign In with Apple":"Apple \uB85C\uADF8\uC778","Sign In with Facebook":"Facebook \uB85C\uADF8\uC778","Sign In with Google":"Google \uB85C\uADF8\uC778","Sign in":"\uB85C\uADF8\uC778","Sign In":"\uB85C\uADF8\uC778","Signing in":"\uB85C\uADF8\uC778\uC911",Skip:"\uB2E4\uC74C\uC5D0 \uD558\uAE30",Submit:"\uD655\uC778",Submitting:"\uD655\uC778\uC911",Username:"\uC544\uC774\uB514","Verify Contact":"\uC5F0\uB77D\uCC98 \uD655\uC778",Verify:"\uC778\uC99D","We Emailed You":"\uC774\uBA54\uC77C\uC744 \uBCF4\uB0C4","We Sent A Code":"\uCF54\uB4DC\uB97C \uBCF4\uB0C4","We Texted You":"\uBB38\uC790 \uBA54\uC2DC\uC9C0\uB97C \uBCF4\uB0C4","Your code is on the way. To log in, enter the code we emailed to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC774\uBA54\uC77C\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we sent you":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we texted to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uBB38\uC790 \uBA54\uC2DC\uC9C0\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694",Birthdate:"\uC0DD\uB144\uC6D4\uC77C","Family Name":"\uC131","Forgot your password?":"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?","Given Name":"\uC774\uB984",Name:"\uC131\uD568",Nickname:"\uB2C9\uB124\uC784","Preferred Username":"\uB2C9\uB124\uC784",Profile:"\uD504\uB85C\uD544","Reset Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815",Website:"\uC6F9\uC0AC\uC774\uD2B8"},ol={"Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens","Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create a new account":"Nieuw account aanmaken","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt","Dismiss alert":"Waarschuwing sluiten",Email:"E-mail","Enter your code":"Vul je code in","Enter your email":"Vul je e-mail in","Enter your phone number":"Vul je telefoonnummer in","Enter your username":"Vul je gebruikersnaam in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord","It may take a minute to arrive":"Het kan even duren voordat deze aankomt",Loading:"Laden","New password":"Nieuw wachtwoord",or:"of",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Resend Code":"Verstuur code nogmaals","Reset your password":"Reset je wachtwoord","Reset your Password":"Wachtwoord resetten","Send code":"Verstuur code","Send Code":"Verstuur Code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in to your account":"Inloggen op je account","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in":"Inloggen","Sign In":"Inloggen","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd",Username:"Gebruikersnaam","Verify Contact":"Verifieer Contact",Verify:"Verifieer","We Emailed You":"We hebben u een e-mail gestuurd","We Sent A Code":"We hebben een code gestuurd","We Texted You":"We hebben u een sms gestuurd","Your code is on the way. To log in, enter the code we emailed to":"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar","Your code is on the way. To log in, enter the code we sent you":"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd","Your code is on the way. To log in, enter the code we texted to":"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar"},il={"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xF3t do logowania","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017A Has\u0142o","Confirm Sign Up":"Potwierd\u017A rejestracj\u0119","Confirm SMS Code":"Potwierd\u017A kod SMS","Confirm TOTP Code":"Potwierd\u017A has\u0142o jednorazowe",Confirm:"Potwierd\u017A","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xF3rz nowe konto","Create Account":"Utw\xF3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzu\u0107 alert",Email:"E-mail","Enter your code":"Wprowad\u017A sw\xF3j kod","Enter your email":"Wpisz sw\xF3j adres e-mail","Enter your phone number":"Wpisz sw\xF3j numer telefonu","Enter your username":"Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika","Forgot your password?":"Zapomnia\u0142e\u015B has\u0142a? ","Hide password":"Ukryj has\u0142o","It may take a minute to arrive":"Mo\u017Ce to chwil\u0119 potrwa\u0107",Loading:"\u0141adowanie","New password":"Nowe has\u0142o",or:"albo",Password:"Has\u0142o","Phone Number":"Numer telefonu","Resend Code":"Wy\u015Blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Send code":"Wy\u015Blij kod","Send Code":"Zresetuj has\u0142o",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017C has\u0142o","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015Blij",Submitting:"Wysy\u0142anie",Username:"Nazwa u\u017Cytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa u\u017Cytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 e-mail","We Sent A Code":"Wys\u0142ali\u015Bmy kod","We Texted You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A wys\u0142any do Ciebie kod","Your code is on the way. To log in, enter the code we texted to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any do Ciebie w wiadomo\u015Bci SMS pod numer"},al={"Account recovery requires verified contact information":"A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xF3digo","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscri\xE7\xE3o","Confirm SMS Code":"Confirme o c\xF3digo SMS","Confirm TOTP Code":"Confirme o c\xF3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xF3digo de confirma\xE7\xE3o",Confirming:"Confirmando","Create a new account":"Criar uma nova conta","Create Account":"Criar Conta","Creating Account":"Criando conta","Dismiss alert":"Descartar alerta",Email:"O email","Enter your code":"Insira seu c\xF3digo","Enter your email":"Digite seu e-mail","Enter your phone number":"Digite seu n\xFAmero de telefone","Enter your username":"entre com seu nome de usu\xE1rio","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha","It may take a minute to arrive":"Pode levar um minuto para chegar",Loading:"Carregando","New password":"Nova Senha",or:"ou",Password:"Senha","Phone Number":"N\xFAmero de telefone","Resend Code":"Reenviar c\xF3digo","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Fa\xE7a login em sua conta","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xE7a login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usu\xE1rio","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para voc\xEA","We Sent A Code":"Enviamos um c\xF3digo","We Texted You":"Enviamos um SMS para voc\xEA","Your code is on the way. To log in, enter the code we emailed to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo que enviamos para voc\xEA","Your code is on the way. To log in, enter the code we texted to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos uma mensagem de texto"},sl={"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":"\u66F4\u6539\u5BC6\u7801",Changing:"\u6B63\u5728\u4FEE\u6539",Code:"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C","Confirm SMS Code":"\u786E\u8BA4\u77ED\u4FE1\u9A8C\u8BC1\u7801","Confirm TOTP Code":"\u786E\u8BA4 TOTP \u4EE3\u7801",Confirm:"\u786E\u8BA4","Confirmation Code":"\u786E\u8BA4\u7801",Confirming:"\u6B63\u5728\u786E\u8BA4","Create a new account":"\u521B\u5EFA\u65B0\u8D26\u6237","Create Account":"\u521B\u5EFA\u8D26\u6237","Creating Account":"\u6B63\u5728\u521B\u5EFA\u8D26\u6237","Dismiss alert":"\u5173\u95ED\u8B66\u62A5",Email:"\u90AE\u7BB1","Enter your code":"\u8F93\u5165\u9A8C\u8BC1\u7801","Enter your email":"\u8F93\u5165\u7535\u5B50\u90AE\u4EF6","Enter your phone number":"\u8F93\u5165\u7535\u8BDD\u53F7\u7801","Enter your username":"\u8F93\u5165\u7528\u6237\u540D","Forgot your password?":"\u5FD8\u8BB0\u5BC6\u7801\u4E86\uFF1F","Hide password":"\u9690\u85CF\u5BC6\u7801","It may take a minute to arrive":"\u53EF\u80FD\u9700\u8981\u4E00\u5206\u949F\u624D\u80FD\u5230\u8FBE",Loading:"\u6B63\u5728\u52A0\u8F7D","New password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend Code":"\u91CD\u53D1\u9A8C\u8BC1\u7801","Reset your password":"\u91CD\u7F6E\u5BC6\u7801","Reset your Password":"\u91CD\u7F6E\u5BC6\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Send code":"\u53D1\u9001\u9A8C\u8BC1\u7801",Sending:"\u6B63\u5728\u53D1\u9001","Setup TOTP":"\u8BBE\u7F6E TOTP","Show password":"\u663E\u793A\u5BC6\u7801","Sign in to your account":"\u767B\u5F55\u8D26\u6237","Sign In with Amazon":"\u901A\u8FC7 Amazon \u767B\u5F55","Sign In with Apple":"\u901A\u8FC7 Apple \u767B\u5F55","Sign In with Facebook":"\u901A\u8FC7 Facebook \u767B\u5F55","Sign In with Google":"\u901A\u8FC7 Google \u767B\u5F55","Sign in":"\u767B\u5F55","Sign In":"\u767B\u5F55","Signing in":"\u6B63\u5728\u767B\u5F55",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4",Submitting:"\u6B63\u5728\u63D0\u4EA4",Username:"\u7528\u6237\u540D","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F",Verify:"\u9A8C\u8BC1","We Emailed You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u7535\u5B50\u90AE\u4EF6","We Sent A Code":"\u6211\u4EEC\u53D1\u9001\u4E86\u4EE3\u7801","We Texted You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u77ED\u4FE1","Your code is on the way. To log in, enter the code we emailed to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u7535\u5B50\u90AE\u4EF6\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Your code is on the way. To log in, enter the code we sent you":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u53D1\u9001\u7ED9\u60A8\u7684\u4EE3\u7801","Your code is on the way. To log in, enter the code we texted to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u77ED\u4FE1\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","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","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728"},ul={"Account recovery requires verified contact information":"F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xF6senord",Changing:"\xC4ndra",Code:"Kod","Confirm Password":"Bekr\xE4fta l\xF6senord","Confirm Sign Up":"Bekr\xE4fta registrering","Confirm SMS Code":"Bekr\xE4fta SMS-kod","Confirm TOTP Code":"Bekr\xE4fta TOTP-kod",Confirm:"Bekr\xE4fta","Confirmation Code":"Verifikationskod",Confirming:"Bekr\xE4ftar","Create a new account":"Skapa ett nytt konto","Create Account":"Skapa konto","Creating Account":"Skapar konto","Dismiss alert":"Avvisa varning",Email:"E-post","Enter your code":"Skriv din kod","Enter your email":"Fyll i din e-post","Enter your phone number":"Ange ditt telefonnummer","Enter your username":"Ange ditt anv\xE4ndarnamn","Forgot your password?":"Gl\xF6mt ditt l\xF6senord? ","Hide password":"D\xF6lj l\xF6senord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt l\xF6senord",or:"eller",Password:"L\xF6senord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"\xC5terst\xE4ll ditt l\xF6senord","Reset your Password":"\xC5terst\xE4ll ditt l\xF6senord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa l\xF6senord","Sign in to your account":"Logga in till ditt konto","Sign In with Amazon":"Logga in med Amazon","Sign In with Apple":"Logga in med Apple","Sign In with Facebook":"Logga in med Facebook","Sign In with Google":"Logga in med Google","Sign in":"Logga in","Sign In":"Logga in","Signing in":"Loggar in",Skip:"Hoppa \xF6ver",Submit:"Skicka",Submitting:"Skickar in",Username:"Anv\xE4ndarnamn","Verify Contact":"Verifiera kontakt",Verify:"Verifiera","We Sent A Code":"Vi skickade en kod","We Texted You":"Vi sms:ade dig","Your code is on the way. To log in, enter the code we emailed to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi mejlade till","Your code is on the way. To log in, enter the code we sent you":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi skickade till dig","Your code is on the way. To log in, enter the code we texted to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi sms:ade till","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Confirm a Code":"Bekr\xE4fta koden","Confirm Sign In":"Bekr\xE4fta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt l\xF6senord","Forgot Password":"Gl\xF6mt l\xF6senordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xE4ndarnamn eller l\xF6senord","Invalid password format":"Ogiltigt l\xF6senordsformat","Invalid phone number format":"Ogiltigt format f\xF6r telefonnummer","Lost your code? ":"F\xF6rlorat koden? ","New Password":"Nytt l\xF6senord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts","Reset password":"\xC5terst\xE4ll l\xF6senord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Anv\xE4ndaren finns redan","User does not exist":"Anv\xE4ndaren finns inte","Username cannot be empty":"Anv\xE4ndarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"},cl={"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","Back to Sign In":"Kembali ke Masuk","Change Password":"Ubah kata sandi",Changing:"Mengubah",Code:"Kode","Confirm Password":"Konfirmasi kata sandi","Confirm Sign Up":"Konfirmasi Pendaftaran","Confirm SMS Code":"Konfirmasi Kode SMS","Confirm TOTP Code":"Konfirmasi Kode TOTP",Confirm:"Konfirmasi","Confirmation Code":"Kode Konfirmasi",Confirming:"Mengkonfirmasi","Create a new account":"Buat akun baru","Create Account":"Buat Akun","Creating Account":"Membuat Akun","Dismiss alert":"Hentikan pemberitahuan",Email:"Email","Enter your code":"Masukkan kode anda","Enter your email":"Masukkan email anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot your password?":"Lupa kata sandi? ","Hide password":"Sembunyikan kata sandi","It may take a minute to arrive":"Mungkin perlu waktu satu menit untuk tiba",Loading:"Memuat","New password":"Kata sandi baru",or:"atau",Password:"Kata sandi","Phone Number":"Nomor telepon","Resend Code":"Kirim ulang kodenya","Reset your Password":"Reset Kata Sandi","Reset your password":"Ubah kata sandi anda","Send code":"Kirim kode","Send Code":"Kirim Kode",Sending:"Mengirim","Setup TOTP":"Siapkan TOTP","Show password":"Tampilkan kata sandi","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with Apple":"Masuk dengan Apple","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign in":"Masuk","Sign In":"Masuk","Signing in":"Memasuki",Skip:"Lewati",Submit:"Ajukan",Submitting:"Mengajukan",Username:"Nama akun","Verify Contact":"Verifikasi Kontak",Verify:"Verifikasi","We Sent A Code":"Kami Mengirim Kode","We Texted You":"Kami mengirim SMS kepada Anda","Your code is on the way. To log in, enter the code we sent you":"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Confirm a Code":"Konfirmasi kode","Create account":"Buat akun","Enter your password":"Masukkan kata sandi anda","Forgot Password":"Lupa kata sandi","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","No account? ":"Tidak ada akun?","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Resend a Code":"Renvoyer un code","Reset password":"Ubah kata sandi anda",Send:"Kirim","Sign In with AWS":"Masuk dengan AWS","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google",SMS:"SMS","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.","User is disabled.":"Akun dinonaktifkan.","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"},ll={"Account recovery requires verified contact information":"Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir","Back to Sign In":"Oturum A\xE7maya Geri D\xF6n","Change Password":"\u015Eifreyi De\u011Fi\u015Ftir",Changing:"De\u011Fi\u015Ftiriliyor",Code:"Kod","Confirm Password":"\u015Eifreyi Do\u011Frula","Confirm Sign Up":"Kay\u0131t \u0130\u015Flemini Do\u011Frula","Confirm SMS Code":"SMS Kodunu Do\u011Frula","Confirm TOTP Code":"Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula",Confirm:"Do\u011Frula","Confirmation Code":"Do\u011Frulama Kodu",Confirming:"Do\u011Frulan\u0131yor","Create a new account":"Yeni bir hesap olu\u015Ftur","Create Account":"Hesap Olu\u015Ftur","Creating Account":"Hesap Olu\u015Fturuluyor","Dismiss alert":"Uyar\u0131y\u0131 reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaran\u0131z\u0131 girin","Enter your username":"Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin","Forgot your password?":"\u015Eifrenizi mi unuttunuz?","Hide password":"\u015Eifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika s\xFCrebilir",Loading:"Y\xFCkleniyor","New password":"Yeni \u015Fifre",or:"veya",Password:"\u015Eifre","Phone Number":"Telefon Numaras\u0131","Resend Code":"Kodu Yeniden G\xF6nder","Reset your password":"\u015Eifrenizi s\u0131f\u0131rlay\u0131n","Reset your Password":"\u015Eifrenizi S\u0131f\u0131rlay\u0131n","Send code":"Kod g\xF6nder","Send Code":"Kod G\xF6nder",Sending:"G\xF6nderiliyor","Setup TOTP":"Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap","Show password":"\u015Eifreyi g\xF6ster","Sign in to your account":"Hesab\u0131n\u0131zda oturum a\xE7\u0131n","Sign In with Amazon":"Amazon ile Oturum A\xE7","Sign In with Apple":"Apple ile Oturum A\xE7","Sign In with Facebook":"Facebook ile Oturum A\xE7","Sign In with Google":"Google ile Oturum A\xE7","Sign in":"Oturum a\xE7","Sign In":"Oturum A\xE7","Signing in":"Oturum a\xE7\u0131l\u0131yor",Skip:"Atla",Submit:"G\xF6nder",Submitting:"G\xF6nderiliyor",Username:"Kullan\u0131c\u0131 ad\u0131","Verify Contact":"Ki\u015Fiyi Do\u011Frula",Verify:"Do\u011Frula","We Emailed You":"Size E-posta G\xF6nderdik","We Sent A Code":"Bir Kod G\xF6nderdik","We Texted You":"Size Mesaj G\xF6nderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, size g\xF6nderdi\u011Fimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum A\xE7may\u0131 Do\u011Frula","Have an account? ":"Hesab\u0131n\u0131z var m\u0131? ","Incorrect username or password":"Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre","Invalid password format":"Ge\xE7ersiz parola format\u0131","Invalid phone number format":"Ge\xE7ersiz telefon numaras\u0131 format\u0131","Lost your code? ":"Kodu mu kaybettiniz? ","No account? ":"Hesab\u0131n\u0131z yok mu? ","Password attempts exceeded":"Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131","Sign Out":"\xC7\u0131k\u0131\u015F yap","Sign Up":"Kay\u0131t Ol","User already exists":"Bu kullan\u0131c\u0131 zaten var","User does not exist":"B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil","Username cannot be empty":"Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz"},dl={"Account recovery requires verified contact information":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434, \u0447\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438","Change Password":"\u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u043E\u043B\u044F","Confirm Sign Up":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","Confirm SMS Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 CMC-\u041A\u043E\u0434","Confirm TOTP Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 TOTP-\u041A\u043E\u0434",Confirm:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044C","Confirmation Code":"\u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",Confirming:"\u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435","Create a new account":"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Create Account":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Creating Account":"\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C","Dismiss alert":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",Email:"\u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your code":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u041A\u043E\u0434","Enter your email":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your phone number":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Enter your username":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0438\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Forgot your password?":"\u0417\u0430\u0431\u044B\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F",Loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","New password":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0438\u043B\u0438",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Resend Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u044C \u0435\u0449\u0435 \u0440\u0430\u0437 \u041A\u043E\u0434","Reset your password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u041F\u0430\u0440\u043E\u043B\u044C","Send code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434","Send Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434",Sending:"\u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430","Setup TOTP":"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044C TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0437\u043D\u0430\u043A \u0432 \u0441\u0432\u043E\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442","Sign In with Amazon":"\u0437\u043D\u0430\u043A \u0432 \u0441 Amazon","Sign In with Apple":"\u0437\u043D\u0430\u043A \u0432 \u0441 Apple","Sign In with Facebook":"\u0437\u043D\u0430\u043A \u0432 \u0441 Facebook","Sign In with Google":"\u0437\u043D\u0430\u043A \u0432 \u0441 Google","Sign in":"\u0437\u043D\u0430\u043A \u0432","Sign In":"\u0437\u043D\u0430\u043A \u0432","Signing in":"\u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0432",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C",Submit:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430 \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435",Submitting:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432",Username:"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Verify Contact":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C","We Emailed You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0435 \u043F\u0438\u0441\u044C\u043C\u043E","We Sent A Code":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043F\u043E \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u0435","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043F\u043E\u0441\u043B\u0430\u043B\u0438 \u0432\u0430\u043C","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u043C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043C"},fl={"Account recovery requires verified contact information":"\u05E9\u05D7\u05D6\u05D5\u05E8 \u05DC\u05E7\u05D5\u05D7 \u05D3\u05D5\u05E8\u05E9 \u05E2\u05D5\u05D3 \u05DE\u05D9\u05D3\u05E2","Back to Sign In":"\u05D7\u05D6\u05D5\u05E8 \u05DC\u05D4\u05E8\u05E9\u05DE\u05D4","Change Password":"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E1\u05D9\u05E1\u05DE\u05D0",Changing:"\u05DE\u05E2\u05D3\u05DB\u05DF",Code:"\u05E7\u05D5\u05D3","Confirm Password":"\u05D0\u05E9\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0","Confirm Sign Up":"\u05D0\u05E9\u05E8 \u05D4\u05E8\u05E9\u05DE\u05D4","Confirm SMS Code":"\u05D0\u05E9\u05E8 sms \u05E7\u05D5\u05D3","Confirm TOTP Code":"\u05D0\u05E9\u05E8 totp \u05E7\u05D5\u05D3",Confirm:"\u05D0\u05D9\u05E9\u05D5\u05E8","Confirmation Code":"\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E7\u05D5\u05D3",Confirming:"\u05DE\u05D0\u05E9\u05E8","Create a new account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D7\u05D3\u05E9","Create Account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9","Creating Account":"\u05D9\u05E6\u05D9\u05E8\u05EA \u05DE\u05E9\u05EA\u05DE\u05E9","Dismiss alert":"\u05D4\u05E1\u05E8 \u05D4\u05EA\u05E8\u05D0\u05D4",Email:"\u05D0\u05D9\u05DE\u05D9\u05D9\u05DC","Enter your code":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3","Enter your email":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D9\u05DC \u05E9\u05DC\u05DA","Enter your phone number":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05DE\u05E1\u05E4\u05E8 \u05D4\u05D8\u05DC\u05E4\u05D5\u05DF \u05E9\u05DC\u05DA","Enter your username":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05EA\u05DE\u05E9 \u05E9\u05DC\u05DA","Forgot your password?":"\u05E9\u05D7\u05DB\u05EA \u05E1\u05D9\u05E1\u05DE\u05D0 ?","Hide password":"\u05D4\u05E1\u05EA\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0",Loading:"\u05D8\u05D5\u05E2\u05DF","New password":"\u05E1\u05D9\u05E1\u05DE\u05D0 \u05D7\u05D3\u05E9\u05D4",or:"\u05D0\u05D5\u05B9",Password:"\u05E1\u05D9\u05E1\u05DE\u05D0","Phone Number":"\u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF","Resend Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3 \u05E9\u05D5\u05D1","Reset your password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Reset your Password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Send code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3","Send Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3",Sending:"\u05E9\u05D5\u05DC\u05D7","Setup TOTP":"Setup TOTP","Show password":"\u05D4\u05E6\u05D2 \u05E1\u05D9\u05E1\u05DE\u05D0","Sign in to your account":"\u05D4\u05EA\u05D7\u05D1\u05E8 \u05DC\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05DA","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":"\u05D4\u05EA\u05D7\u05D1\u05E8","Sign In":"\u05D4\u05EA\u05D7\u05D1\u05E8","Signing in":"\u05DE\u05EA\u05D7\u05D1\u05E8",Skip:"\u05D3\u05DC\u05D2",Submit:"\u05E9\u05DC\u05D7",Submitting:"\u05E9\u05D5\u05DC\u05D7",Username:"\u05E9\u05DD \u05DE\u05E9\u05EA\u05DE\u05E9","Verify Contact":"\u05D0\u05DE\u05EA \u05D0\u05D9\u05E9 \u05E7\u05E9\u05E8",Verify:"\u05D0\u05DE\u05EA"},pl={"Account recovery requires verified contact information":"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u043E\u0433\u043E \u0437\u0430\u043F\u0438\u0441\u0443 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0454 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u0432\u0445\u043E\u0434\u0443","Change Password":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0417\u043C\u0456\u043D\u044E\u0454\u043C\u043E",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Confirm Sign Up":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u044E","Confirm SMS Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C SMS \u043A\u043E\u0434","Confirm TOTP Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C TOTP \u043A\u043E\u0434",Confirm:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","Confirmation Code":"\u041A\u043E\u0434 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u043D\u044F",Confirming:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454\u043C\u043E","Create a new account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Create Account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Creating Account":"\u0420\u0435\u0454\u0441\u0442\u0440\u0443\u0454\u043C\u043E","Dismiss alert":"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438 \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F",Email:"Email","Enter your code":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Enter your email":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 email","Enter your phone number":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Enter your username":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Forgot password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C?","Forgot your password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u0445\u043E\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435 \u0442\u0440\u0438\u0432\u0430\u0442\u0438 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",Loading:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E","New password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0430\u0431\u043E",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0422\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Resend Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset your password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Send code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434","Send Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434",Sending:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E","Setup TOTP":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0443 \u0432\u0430\u0448 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441","Sign In with Amazon":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Amazon","Sign In with Apple":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Apple","Sign In with Facebook":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Facebook","Sign In with Google":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Google","Sign in":"\u0423\u0432\u0456\u0439\u0442\u0438","Sign In":"\u0423\u0432\u0456\u0439\u0442\u0438","Signing in":"\u0412\u0445\u043E\u0434\u0438\u043C\u043E",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u0438",Submit:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438",Submitting:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E",Username:"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Verify Contact":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u041A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","We Emailed You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C Email","We Sent A Code":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0435 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u043D\u0430 Email","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0430\u043C \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0438\u043C \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F\u043C","An account with the given email already exists.":"\u041E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0437 \u0446\u0438\u043C Email \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454.","Confirm a Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Confirm Sign In":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0432\u0445\u0456\u0434","Forgot Password":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Incorrect username or password.":"\u041D\u0435\u0432\u0456\u0440\u043D\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043E \u043F\u0430\u0440\u043E\u043B\u044C","Invalid password format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043F\u0430\u0440\u043E\u043B\u044E","Invalid phone number format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043D\u043E\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E...","New Password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","Resend a Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign Out":"\u0412\u0438\u0439\u0442\u0438","Sign Up with Amazon":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Amazon","Sign Up with Apple":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Apple","Sign Up with Facebook":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Facebook","Sign Up with Google":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Google","Sign Up":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","User already exists":"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454","User does not exist":"\u0422\u0430\u043A\u0438\u0439 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043D\u0435 \u0456\u0441\u043D\u0443\u0454","Username cannot be empty":"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0431\u0443\u0442\u0438 \u043F\u0443\u0441\u0442\u0438\u043C","Your passwords must match":"\u041F\u0430\u0440\u043E\u043B\u0456 \u043C\u0430\u044E\u0442\u044C \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F"},ml={BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CODE_ARRIVAL:"It may take a minute to arrive",CODE_EMAILED:"Your code is on the way. To log in, enter the code we emailed to",CODE_SENT:"Your code is on the way. To log in, enter the code we sent you",CODE_TEXTED:"Your code is on the way. To log in, enter the code we texted to",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_PASSWORD:"Forgot Password?",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",OR:"or",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",UPPERCASE_COPY:"COPY",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WE_EMAILED:"We Emailed You",WE_SENT_CODE:"We Sent A Code",WE_TEXTED:"We Texted You",WEBSITE:"Website"},hl=x({},Zc),gl=x({},Xc),vl=x({},Qc),yl=x({},el),wl=x({},tl),Sl=x({},nl),_l=x({},rl),bl=x({},ol),Cl=x({},il),Al=x({},al),Tl=x({},sl),Il=x({},ul),El=x({},cl),Pl=x({},ll),$l=x({},dl),Nl=x({},fl),kl=x({},pl),xl=x({},ml),G=x({},xl);function F(e){return le.I18n.get(e)}var Ol={de:hl,en:gl,es:vl,fr:yl,id:El,it:wl,ja:Sl,kr:_l,nl:bl,pl:Cl,pt:Al,zh:Tl,sv:Il,tr:Pl,ru:$l,he:Nl,ua:kl},qr={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:Jc,isRequired:!0},preferred_username:{label:"Preferred Username",placeholder:"Enter your Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",placeholder:"Add your Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",placeholder:"Add your Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",placeholder:"Enter your Username",type:"text",autocomplete:"username",isRequired:!0}},Ul=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],ze=function(e){var t=new FormData(e.target);return Object.fromEntries(t)},ti=function(e){return Yc.includes(e)},Rl=function(e){return e?(t=e,Array.isArray(t)?e:[e]):null;var t},ha={},jn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});/*! *****************************************************************************
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var o=require("vue"),Y=require("aws-amplify"),Xa=require("@aws-amplify/auth");const _e=o.defineComponent({__name:"base-field-set",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"fieldSetI",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("fieldset",o.mergeProps(n.$attrs,{"data-amplify-fieldset":""}),[o.renderSlot(n.$slots,"default")],16)])}}),es=["type","data-fullwidth","data-size","data-fontWeight","data-variation","data-loading","data-disabled","disabled"],ce=o.defineComponent({__name:"amplify-button",props:{type:null,fullWidth:{type:[Boolean,String]},size:null,variation:null,fontWeight:null,loading:{type:[Boolean,String]},disabled:{type:[Boolean,String]}},setup(e){const t=e,{type:n,fullWidth:r,size:i,variation:a,fontWeight:s}=o.toRefs(t);return(u,c)=>o.renderSlot(u.$slots,"buttont",o.normalizeProps(o.guardReactiveProps(u.$attrs)),()=>[o.createElementVNode("button",o.mergeProps({class:["amplify-button",{[`amplify-button--${o.unref(a)}`]:o.unref(a),[`amplify-button--${o.unref(i)}`]:o.unref(i),"amplify-button--fullwidth":o.unref(r),"amplify-button--loading":e.loading,"amplify-button--disabled":e.disabled}],type:o.unref(n),style:{fontWeight:o.unref(s)},"data-fullwidth":o.unref(r),"data-size":o.unref(i),"data-fontWeight":o.unref(s),"data-variation":o.unref(a),"data-loading":e.loading,"data-disabled":e.disabled,disabled:e.disabled},u.$attrs,{"data-amplify-button":""}),[o.renderSlot(u.$slots,"default")],16,es)])}});var ue=function(e){var t;return(t=e.context.actorRef)===null||t===void 0?void 0:t.getSnapshot()},ar=function(e){var t;return(t=ue(e))===null||t===void 0?void 0:t.context},Vn,wo;(function(e){e.Apple="SignInWithApple",e.Amazon="LoginWithAmazon",e.Facebook="Facebook",e.Google="Google"})(Vn||(Vn={})),function(e){e.Email="email",e.PhoneNumber="phone_number"}(wo||(wo={}));var E=function(){return E=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},E.apply(this,arguments)};function Ci(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function F(e,t,n,r){function i(a){return a instanceof n?a:new n(function(s){s(a)})}return new(n||(n=Promise))(function(a,s){function u(d){try{l(r.next(d))}catch(p){s(p)}}function c(d){try{l(r.throw(d))}catch(p){s(p)}}function l(d){d.done?a(d.value):i(d.value).then(u,c)}l((r=r.apply(e,t||[])).next())})}function M(e,t){var n={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},r,i,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(d){return c([l,d])}}function c(l){if(r)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(n=0)),n;)try{if(r=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,i=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(a=n.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){n.label=l[1];break}if(l[0]===6&&n.label<a[1]){n.label=a[1],a=l;break}if(a&&n.label<a[2]){n.label=a[2],n.ops.push(l);break}a[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(d){l=[6,d],i=0}finally{r=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Se(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var ts=["birthdate","email","family_name","given_name","middle_name","name","nickname","phone_number","preferred_username","profile","website"],ns=["username","email","phone_number"],Ai=Se(Se(Se([],ns,!0),ts,!0),["confirmation_code","password","confirm_password"],!1),rs=function(e){return Ai.includes(e)},te;(function(e){e.Alert="amplify-alert",e.AlertIcon="amplify-alert__icon",e.AlertHeading="amplify-alert__heading",e.AlertBody="amplify-alert__body",e.AlertDismiss="amplify-alert__dismiss",e.Autocomplete="amplify-autocomplete",e.AutocompleteMenu="amplify-autocomplete__menu",e.AutocompleteMenuEmpty="amplify-autocomplete__menu--empty",e.AutocompleteMenuFooter="amplify-autocomplete__menu__footer",e.AutocompleteMenuHeader="amplify-autocomplete__menu__header",e.AutocompleteMenuLoading="amplify-autocomplete__menu--loading",e.AutocompleteMenuOption="amplify-autocomplete__menu__option",e.AutocompleteMenuOptions="amplify-autocomplete__menu__options",e.Badge="amplify-badge",e.Button="amplify-button",e.ButtonGroup="amplify-buttongroup",e.ButtonLoaderWrapper="amplify-button__loader-wrapper",e.Card="amplify-card",e.Checkbox="amplify-checkbox",e.CheckboxButton="amplify-checkbox__button",e.CheckboxIcon="amplify-checkbox__icon",e.CheckboxInput="amplify-checkbox__input",e.CheckboxLabel="amplify-checkbox__label",e.CheckboxField="amplify-checkboxfield",e.Collection="amplify-collection",e.CollectionItems="amplify-collection-items",e.CollectionSearch="amplify-collection-search",e.CollectionPagination="amplify-collection-pagination",e.CountryCodeSelect="amplify-countrycodeselect",e.DialCodeSelect="amplify-dialcodeselect",e.Divider="amplify-divider",e.DividerLabel="amplify-divider--label",e.Expander="amplify-expander",e.ExpanderContent="amplify-expander__content",e.ExpanderContentText="amplify-expander__content__text",e.ExpanderHeader="amplify-expander__header",e.ExpanderIcon="amplify-expander__icon",e.ExpanderItem="amplify-expander__item",e.ExpanderTrigger="amplify-expander__trigger",e.Field="amplify-field",e.FieldDescription="amplify-field__description",e.FieldErrorMessage="amplify-field__error-message",e.FieldGroup="amplify-field-group",e.FieldGroupControl="amplify-field-group__control",e.FieldGroupOuterEnd="amplify-field-group__outer-end",e.FieldGroupOuterStart="amplify-field-group__outer-start",e.FieldGroupInnerEnd="amplify-field-group__inner-end",e.FieldGroupInnerStart="amplify-field-group__inner-start",e.FieldGroupIcon="amplify-field-group__icon",e.FieldGroupIconButton="amplify-field-group__icon-button",e.FieldGroupHasInnerEnd="amplify-field-group--has-inner-end",e.FieldGroupHasInnerStart="amplify-field-group--has-inner-start",e.FieldShowPassword="amplify-field__show-password",e.FieldGroupFieldWrapper="amplify-field-group__field-wrapper",e.FileUploaderDropZone="amplify-fileuploader__dropzone",e.FileUploaderDropZoneIcon="amplify-fileuploader__dropzone__icon",e.FileUploaderDropZoneText="amplify-fileuploader__dropzone__text",e.FileUploaderDropZoneButton="amplify-fileuploader__dropzone__button",e.FileUploaderFile="amplify-fileuploader__file",e.FileUploaderFileWrapper="amplify-fileuploader__file__wrapper",e.FileUploaderFileName="amplify-fileuploader__file__name",e.FileUploaderFileSize="amplify-fileuploader__file__size",e.FileUploaderFileInfo="amplify-fileuploader__file__info",e.FileUploaderFileImage="amplify-fileuploader__file__image",e.FileUploaderFileMain="amplify-fileuploader__file__main",e.FileUploaderFileStatus="amplify-fileuploader__file__status",e.FileUploaderLoader="amplify-fileuploader__loader",e.FileUploaderPreviewer="amplify-fileuploader__previewer",e.FileUploaderPreviewerText="amplify-fileuploader__previewer__text",e.FileUploaderPreviewerBody="amplify-fileuploader__previewer__body",e.FileUploaderPreviewerFooter="amplify-fileuploader__previewer__footer",e.FileUploaderPreviewerFooterActions="amplify-fileuploader__previewer__footer__actions",e.Flex="amplify-flex",e.Grid="amplify-grid",e.Heading="amplify-heading",e.HighlightMatch="amplify-highlightmatch",e.HighlightMatchHighlighted="amplify-highlightmatch__highlighted",e.Icon="amplify-icon",e.Image="amplify-image",e.Input="amplify-input",e.Label="amplify-label",e.Link="amplify-link",e.Loader="amplify-loader",e.LoaderDeterminate="amplify-loader--determinate",e.LoaderPercentageText="amplify-loader__percentage-text",e.MenuContent="amplify-menu-content",e.MenuContentWrapper="amplify-menu-content-wrapper",e.MenuItem="amplify-menu-content__item",e.MenuTrigger="amplify-menu-trigger",e.Pagination="amplify-pagination",e.PaginationItemButton="amplify-pagination__item-button",e.PaginationItemCurrent="amplify-pagination__item-current",e.PaginationItemEllipsis="amplify-pagination__item-ellipsis",e.PasswordField="amplify-passwordfield",e.PhoneNumberField="amplify-phonenumberfield",e.Placeholder="amplify-placeholder",e.Radio="amplify-radio",e.RadioButton="amplify-radio__button",e.RadioInput="amplify-radio__input",e.RadioLabel="amplify-radio__label",e.RadioGroupField="amplify-radiogroupfield",e.RadioGroup="amplify-radiogroup",e.Rating="amplify-rating",e.ScrollView="amplify-scrollview",e.SearchField="amplify-searchfield",e.SearchFieldClear="amplify-searchfield__clear",e.SearchFieldSearch="amplify-searchfield__search",e.Select="amplify-select",e.SelectField="amplify-selectfield",e.SelectWrapper="amplify-select__wrapper",e.SelectIconWrapper="amplify-select__icon-wrapper",e.SliderField="amplify-sliderfield",e.SliderFieldGroup="amplify-sliderfield__group",e.SliderFieldLabel="amplify-sliderfield__label",e.SliderFieldRange="amplify-sliderfield__range",e.SliderFieldRoot="amplify-sliderfield__root",e.SliderFieldThumb="amplify-sliderfield__thumb",e.SliderFieldTrack="amplify-sliderfield__track",e.StepperField="amplify-stepperfield",e.StepperFieldButtonDecrease="amplify-stepperfield__button--decrease",e.StepperFieldButtonIncrease="amplify-stepperfield__button--increase",e.StepperFieldInput="amplify-stepperfield__input",e.SwitchField="amplify-switchfield",e.SwitchLabel="amplify-switch-label",e.SwitchThumb="amplify-switch-thumb",e.SwitchTrack="amplify-switch-track",e.SwitchWrapper="amplify-switch__wrapper",e.Table="amplify-table",e.TableCaption="amplify-table__caption",e.TableBody="amplify-table__body",e.TableTd="amplify-table__td",e.TableTh="amplify-table__th",e.TableFoot="amplify-table__foot",e.TableHead="amplify-table__head",e.TableRow="amplify-table__row",e.Tabs="amplify-tabs",e.TabItems="amplify-tabs-item",e.Text="amplify-text",e.Textarea="amplify-textarea",e.TextAreaField="amplify-textareafield",e.TextField="amplify-textfield",e.ToggleButton="amplify-togglebutton",e.ToggleButtonGroup="amplify-togglebuttongroup",e.VisuallyHidden="amplify-visually-hidden"})(te||(te={}));var Pt=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function os(){this.__data__=[],this.size=0}var is=os;function as(e,t){return e===t||e!==e&&t!==t}var bt=as,ss=bt;function us(e,t){for(var n=e.length;n--;)if(ss(e[n][0],t))return n;return-1}var rn=us,cs=rn,ls=Array.prototype,ds=ls.splice;function fs(e){var t=this.__data__,n=cs(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():ds.call(t,n,1),--this.size,!0}var ps=fs,ms=rn;function hs(e){var t=this.__data__,n=ms(t,e);return n<0?void 0:t[n][1]}var gs=hs,vs=rn;function ys(e){return vs(this.__data__,e)>-1}var ws=ys,Ss=rn;function _s(e,t){var n=this.__data__,r=Ss(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var bs=_s,Cs=is,As=ps,Ts=gs,Is=ws,Es=bs;function ot(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ot.prototype.clear=Cs;ot.prototype.delete=As;ot.prototype.get=Ts;ot.prototype.has=Is;ot.prototype.set=Es;var on=ot,Ps=on;function Ns(){this.__data__=new Ps,this.size=0}var ks=Ns;function xs(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var $s=xs;function Os(e){return this.__data__.get(e)}var Us=Os;function Rs(e){return this.__data__.has(e)}var Bs=Rs,Vs=typeof Pt=="object"&&Pt&&Pt.Object===Object&&Pt,Ti=Vs,Fs=Ti,Ms=typeof self=="object"&&self&&self.Object===Object&&self,Ds=Fs||Ms||Function("return this")(),be=Ds,Ls=be,zs=Ls.Symbol,an=zs,So=an,Ii=Object.prototype,Gs=Ii.hasOwnProperty,js=Ii.toString,pt=So?So.toStringTag:void 0;function Hs(e){var t=Gs.call(e,pt),n=e[pt];try{e[pt]=void 0;var r=!0}catch{}var i=js.call(e);return r&&(t?e[pt]=n:delete e[pt]),i}var Ws=Hs,Ys=Object.prototype,Ks=Ys.toString;function qs(e){return Ks.call(e)}var Js=qs,_o=an,Zs=Ws,Qs=Js,Xs="[object Null]",eu="[object Undefined]",bo=_o?_o.toStringTag:void 0;function tu(e){return e==null?e===void 0?eu:Xs:bo&&bo in Object(e)?Zs(e):Qs(e)}var it=tu;function nu(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var xe=nu,ru=it,ou=xe,iu="[object AsyncFunction]",au="[object Function]",su="[object GeneratorFunction]",uu="[object Proxy]";function cu(e){if(!ou(e))return!1;var t=ru(e);return t==au||t==su||t==iu||t==uu}var sr=cu,lu=be,du=lu["__core-js_shared__"],fu=du,In=fu,Co=function(){var e=/[^.]+$/.exec(In&&In.keys&&In.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function pu(e){return!!Co&&Co in e}var mu=pu,hu=Function.prototype,gu=hu.toString;function vu(e){if(e!=null){try{return gu.call(e)}catch{}try{return e+""}catch{}}return""}var Ei=vu,yu=sr,wu=mu,Su=xe,_u=Ei,bu=/[\\^$.*+?()[\]{}|]/g,Cu=/^\[object .+?Constructor\]$/,Au=Function.prototype,Tu=Object.prototype,Iu=Au.toString,Eu=Tu.hasOwnProperty,Pu=RegExp("^"+Iu.call(Eu).replace(bu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Nu(e){if(!Su(e)||wu(e))return!1;var t=yu(e)?Pu:Cu;return t.test(_u(e))}var ku=Nu;function xu(e,t){return e==null?void 0:e[t]}var $u=xu,Ou=ku,Uu=$u;function Ru(e,t){var n=Uu(e,t);return Ou(n)?n:void 0}var De=Ru,Bu=De,Vu=be,Fu=Bu(Vu,"Map"),ur=Fu,Mu=De,Du=Mu(Object,"create"),sn=Du,Ao=sn;function Lu(){this.__data__=Ao?Ao(null):{},this.size=0}var zu=Lu;function Gu(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var ju=Gu,Hu=sn,Wu="__lodash_hash_undefined__",Yu=Object.prototype,Ku=Yu.hasOwnProperty;function qu(e){var t=this.__data__;if(Hu){var n=t[e];return n===Wu?void 0:n}return Ku.call(t,e)?t[e]:void 0}var Ju=qu,Zu=sn,Qu=Object.prototype,Xu=Qu.hasOwnProperty;function ec(e){var t=this.__data__;return Zu?t[e]!==void 0:Xu.call(t,e)}var tc=ec,nc=sn,rc="__lodash_hash_undefined__";function oc(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=nc&&t===void 0?rc:t,this}var ic=oc,ac=zu,sc=ju,uc=Ju,cc=tc,lc=ic;function at(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}at.prototype.clear=ac;at.prototype.delete=sc;at.prototype.get=uc;at.prototype.has=cc;at.prototype.set=lc;var dc=at,To=dc,fc=on,pc=ur;function mc(){this.size=0,this.__data__={hash:new To,map:new(pc||fc),string:new To}}var hc=mc;function gc(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var vc=gc,yc=vc;function wc(e,t){var n=e.__data__;return yc(t)?n[typeof t=="string"?"string":"hash"]:n.map}var un=wc,Sc=un;function _c(e){var t=Sc(this,e).delete(e);return this.size-=t?1:0,t}var bc=_c,Cc=un;function Ac(e){return Cc(this,e).get(e)}var Tc=Ac,Ic=un;function Ec(e){return Ic(this,e).has(e)}var Pc=Ec,Nc=un;function kc(e,t){var n=Nc(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var xc=kc,$c=hc,Oc=bc,Uc=Tc,Rc=Pc,Bc=xc;function st(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}st.prototype.clear=$c;st.prototype.delete=Oc;st.prototype.get=Uc;st.prototype.has=Rc;st.prototype.set=Bc;var cr=st,Vc=on,Fc=ur,Mc=cr,Dc=200;function Lc(e,t){var n=this.__data__;if(n instanceof Vc){var r=n.__data__;if(!Fc||r.length<Dc-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Mc(r)}return n.set(e,t),this.size=n.size,this}var zc=Lc,Gc=on,jc=ks,Hc=$s,Wc=Us,Yc=Bs,Kc=zc;function ut(e){var t=this.__data__=new Gc(e);this.size=t.size}ut.prototype.clear=jc;ut.prototype.delete=Hc;ut.prototype.get=Wc;ut.prototype.has=Yc;ut.prototype.set=Kc;var lr=ut,qc="__lodash_hash_undefined__";function Jc(e){return this.__data__.set(e,qc),this}var Zc=Jc;function Qc(e){return this.__data__.has(e)}var Xc=Qc,el=cr,tl=Zc,nl=Xc;function Kt(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new el;++t<n;)this.add(e[t])}Kt.prototype.add=Kt.prototype.push=tl;Kt.prototype.has=nl;var rl=Kt;function ol(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var il=ol;function al(e,t){return e.has(t)}var sl=al,ul=rl,cl=il,ll=sl,dl=1,fl=2;function pl(e,t,n,r,i,a){var s=n&dl,u=e.length,c=t.length;if(u!=c&&!(s&&c>u))return!1;var l=a.get(e),d=a.get(t);if(l&&d)return l==t&&d==e;var p=-1,f=!0,m=n&fl?new ul:void 0;for(a.set(e,t),a.set(t,e);++p<u;){var v=e[p],y=t[p];if(r)var w=s?r(y,v,p,t,e,a):r(v,y,p,e,t,a);if(w!==void 0){if(w)continue;f=!1;break}if(m){if(!cl(t,function(S,g){if(!ll(m,g)&&(v===S||i(v,S,n,r,a)))return m.push(g)})){f=!1;break}}else if(!(v===y||i(v,y,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var Pi=pl,ml=be,hl=ml.Uint8Array,Ni=hl;function gl(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var vl=gl;function yl(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var wl=yl,Io=an,Eo=Ni,Sl=bt,_l=Pi,bl=vl,Cl=wl,Al=1,Tl=2,Il="[object Boolean]",El="[object Date]",Pl="[object Error]",Nl="[object Map]",kl="[object Number]",xl="[object RegExp]",$l="[object Set]",Ol="[object String]",Ul="[object Symbol]",Rl="[object ArrayBuffer]",Bl="[object DataView]",Po=Io?Io.prototype:void 0,En=Po?Po.valueOf:void 0;function Vl(e,t,n,r,i,a,s){switch(n){case Bl:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Rl:return!(e.byteLength!=t.byteLength||!a(new Eo(e),new Eo(t)));case Il:case El:case kl:return Sl(+e,+t);case Pl:return e.name==t.name&&e.message==t.message;case xl:case Ol:return e==t+"";case Nl:var u=bl;case $l:var c=r&Al;if(u||(u=Cl),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;r|=Tl,s.set(e,t);var d=_l(u(e),u(t),r,i,a,s);return s.delete(e),d;case Ul:if(En)return En.call(e)==En.call(t)}return!1}var Fl=Vl;function Ml(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var ki=Ml,Dl=Array.isArray,Ce=Dl,Ll=ki,zl=Ce;function Gl(e,t,n){var r=t(e);return zl(e)?r:Ll(r,n(e))}var xi=Gl;function jl(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var s=e[n];t(s,n,e)&&(a[i++]=s)}return a}var Hl=jl;function Wl(){return[]}var $i=Wl,Yl=Hl,Kl=$i,ql=Object.prototype,Jl=ql.propertyIsEnumerable,No=Object.getOwnPropertySymbols,Zl=No?function(e){return e==null?[]:(e=Object(e),Yl(No(e),function(t){return Jl.call(e,t)}))}:Kl,Oi=Zl;function Ql(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Xl=Ql;function ed(e){return e!=null&&typeof e=="object"}var Le=ed,td=it,nd=Le,rd="[object Arguments]";function od(e){return nd(e)&&td(e)==rd}var id=od,ko=id,ad=Le,Ui=Object.prototype,sd=Ui.hasOwnProperty,ud=Ui.propertyIsEnumerable,cd=ko(function(){return arguments}())?ko:function(e){return ad(e)&&sd.call(e,"callee")&&!ud.call(e,"callee")},cn=cd,qe={exports:{}};function ld(){return!1}var dd=ld;(function(e,t){var n=be,r=dd,i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,s=a&&a.exports===i,u=s?n.Buffer:void 0,c=u?u.isBuffer:void 0,l=c||r;e.exports=l})(qe,qe.exports);var fd=9007199254740991,pd=/^(?:0|[1-9]\d*)$/;function md(e,t){var n=typeof e;return t=t==null?fd:t,!!t&&(n=="number"||n!="symbol"&&pd.test(e))&&e>-1&&e%1==0&&e<t}var ln=md,hd=9007199254740991;function gd(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=hd}var dr=gd,vd=it,yd=dr,wd=Le,Sd="[object Arguments]",_d="[object Array]",bd="[object Boolean]",Cd="[object Date]",Ad="[object Error]",Td="[object Function]",Id="[object Map]",Ed="[object Number]",Pd="[object Object]",Nd="[object RegExp]",kd="[object Set]",xd="[object String]",$d="[object WeakMap]",Od="[object ArrayBuffer]",Ud="[object DataView]",Rd="[object Float32Array]",Bd="[object Float64Array]",Vd="[object Int8Array]",Fd="[object Int16Array]",Md="[object Int32Array]",Dd="[object Uint8Array]",Ld="[object Uint8ClampedArray]",zd="[object Uint16Array]",Gd="[object Uint32Array]",W={};W[Rd]=W[Bd]=W[Vd]=W[Fd]=W[Md]=W[Dd]=W[Ld]=W[zd]=W[Gd]=!0;W[Sd]=W[_d]=W[Od]=W[bd]=W[Ud]=W[Cd]=W[Ad]=W[Td]=W[Id]=W[Ed]=W[Pd]=W[Nd]=W[kd]=W[xd]=W[$d]=!1;function jd(e){return wd(e)&&yd(e.length)&&!!W[vd(e)]}var Hd=jd;function Wd(e){return function(t){return e(t)}}var Yd=Wd,Fn={exports:{}};(function(e,t){var n=Ti,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,s=a&&n.process,u=function(){try{var c=i&&i.require&&i.require("util").types;return c||s&&s.binding&&s.binding("util")}catch{}}();e.exports=u})(Fn,Fn.exports);var Kd=Hd,qd=Yd,xo=Fn.exports,$o=xo&&xo.isTypedArray,Jd=$o?qd($o):Kd,dn=Jd,Zd=Xl,Qd=cn,Xd=Ce,ef=qe.exports,tf=ln,nf=dn,rf=Object.prototype,of=rf.hasOwnProperty;function af(e,t){var n=Xd(e),r=!n&&Qd(e),i=!n&&!r&&ef(e),a=!n&&!r&&!i&&nf(e),s=n||r||i||a,u=s?Zd(e.length,String):[],c=u.length;for(var l in e)(t||of.call(e,l))&&!(s&&(l=="length"||i&&(l=="offset"||l=="parent")||a&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||tf(l,c)))&&u.push(l);return u}var Ri=af,sf=Object.prototype;function uf(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||sf;return e===n}var fn=uf;function cf(e,t){return function(n){return e(t(n))}}var Bi=cf,lf=Bi,df=lf(Object.keys,Object),ff=df,pf=fn,mf=ff,hf=Object.prototype,gf=hf.hasOwnProperty;function vf(e){if(!pf(e))return mf(e);var t=[];for(var n in Object(e))gf.call(e,n)&&n!="constructor"&&t.push(n);return t}var Vi=vf,yf=sr,wf=dr;function Sf(e){return e!=null&&wf(e.length)&&!yf(e)}var Ct=Sf,_f=Ri,bf=Vi,Cf=Ct;function Af(e){return Cf(e)?_f(e):bf(e)}var Fi=Af,Tf=xi,If=Oi,Ef=Fi;function Pf(e){return Tf(e,Ef,If)}var Nf=Pf,Oo=Nf,kf=1,xf=Object.prototype,$f=xf.hasOwnProperty;function Of(e,t,n,r,i,a){var s=n&kf,u=Oo(e),c=u.length,l=Oo(t),d=l.length;if(c!=d&&!s)return!1;for(var p=c;p--;){var f=u[p];if(!(s?f in t:$f.call(t,f)))return!1}var m=a.get(e),v=a.get(t);if(m&&v)return m==t&&v==e;var y=!0;a.set(e,t),a.set(t,e);for(var w=s;++p<c;){f=u[p];var S=e[f],g=t[f];if(r)var h=s?r(g,S,f,t,e,a):r(S,g,f,e,t,a);if(!(h===void 0?S===g||i(S,g,n,r,a):h)){y=!1;break}w||(w=f=="constructor")}if(y&&!w){var _=e.constructor,b=t.constructor;_!=b&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof b=="function"&&b instanceof b)&&(y=!1)}return a.delete(e),a.delete(t),y}var Uf=Of,Rf=De,Bf=be,Vf=Rf(Bf,"DataView"),Ff=Vf,Mf=De,Df=be,Lf=Mf(Df,"Promise"),zf=Lf,Gf=De,jf=be,Hf=Gf(jf,"Set"),Wf=Hf,Yf=De,Kf=be,qf=Yf(Kf,"WeakMap"),Jf=qf,Mn=Ff,Dn=ur,Ln=zf,zn=Wf,Gn=Jf,Mi=it,ct=Ei,Uo="[object Map]",Zf="[object Object]",Ro="[object Promise]",Bo="[object Set]",Vo="[object WeakMap]",Fo="[object DataView]",Qf=ct(Mn),Xf=ct(Dn),ep=ct(Ln),tp=ct(zn),np=ct(Gn),Fe=Mi;(Mn&&Fe(new Mn(new ArrayBuffer(1)))!=Fo||Dn&&Fe(new Dn)!=Uo||Ln&&Fe(Ln.resolve())!=Ro||zn&&Fe(new zn)!=Bo||Gn&&Fe(new Gn)!=Vo)&&(Fe=function(e){var t=Mi(e),n=t==Zf?e.constructor:void 0,r=n?ct(n):"";if(r)switch(r){case Qf:return Fo;case Xf:return Uo;case ep:return Ro;case tp:return Bo;case np:return Vo}return t});var Di=Fe,Pn=lr,rp=Pi,op=Fl,ip=Uf,Mo=Di,Do=Ce,Lo=qe.exports,ap=dn,sp=1,zo="[object Arguments]",Go="[object Array]",Nt="[object Object]",up=Object.prototype,jo=up.hasOwnProperty;function cp(e,t,n,r,i,a){var s=Do(e),u=Do(t),c=s?Go:Mo(e),l=u?Go:Mo(t);c=c==zo?Nt:c,l=l==zo?Nt:l;var d=c==Nt,p=l==Nt,f=c==l;if(f&&Lo(e)){if(!Lo(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new Pn),s||ap(e)?rp(e,t,n,r,i,a):op(e,t,c,n,r,i,a);if(!(n&sp)){var m=d&&jo.call(e,"__wrapped__"),v=p&&jo.call(t,"__wrapped__");if(m||v){var y=m?e.value():e,w=v?t.value():t;return a||(a=new Pn),i(y,w,n,r,a)}}return f?(a||(a=new Pn),ip(e,t,n,r,i,a)):!1}var lp=cp,dp=lp,Ho=Le;function Li(e,t,n,r,i){return e===t?!0:e==null||t==null||!Ho(e)&&!Ho(t)?e!==e&&t!==t:dp(e,t,n,r,Li,i)}var zi=Li,fp=Vi,pp=Di,mp=cn,hp=Ce,gp=Ct,vp=qe.exports,yp=fn,wp=dn,Sp="[object Map]",_p="[object Set]",bp=Object.prototype,Cp=bp.hasOwnProperty;function Ap(e){if(e==null)return!0;if(gp(e)&&(hp(e)||typeof e=="string"||typeof e.splice=="function"||vp(e)||wp(e)||mp(e)))return!e.length;var t=pp(e);if(t==Sp||t==_p)return!e.size;if(yp(e))return!fp(e).length;for(var n in e)if(Cp.call(e,n))return!1;return!0}var jn=Ap,Tp=it,Ip=Le,Ep="[object Symbol]";function Pp(e){return typeof e=="symbol"||Ip(e)&&Tp(e)==Ep}var fr=Pp;function Np(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var Gi=Np,kp=Ce,xp=fr,$p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Op=/^\w*$/;function Up(e,t){if(kp(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||xp(e)?!0:Op.test(e)||!$p.test(e)||t!=null&&e in Object(t)}var pr=Up,ji=cr,Rp="Expected a function";function mr(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Rp);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(mr.Cache||ji),n}mr.Cache=ji;var Bp=mr,Vp=Bp,Fp=500;function Mp(e){var t=Vp(e,function(r){return n.size===Fp&&n.clear(),r}),n=t.cache;return t}var Dp=Mp,Lp=Dp,zp=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Gp=/\\(\\)?/g,jp=Lp(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(zp,function(n,r,i,a){t.push(i?a.replace(Gp,"$1"):r||n)}),t}),Hp=jp,Wo=an,Wp=Gi,Yp=Ce,Kp=fr,qp=1/0,Yo=Wo?Wo.prototype:void 0,Ko=Yo?Yo.toString:void 0;function Hi(e){if(typeof e=="string")return e;if(Yp(e))return Wp(e,Hi)+"";if(Kp(e))return Ko?Ko.call(e):"";var t=e+"";return t=="0"&&1/e==-qp?"-0":t}var Jp=Hi,Zp=Jp;function Qp(e){return e==null?"":Zp(e)}var Xp=Qp,em=Ce,tm=pr,nm=Hp,rm=Xp;function om(e,t){return em(e)?e:tm(e,t)?[e]:nm(rm(e))}var pn=om,im=fr,am=1/0;function sm(e){if(typeof e=="string"||im(e))return e;var t=e+"";return t=="0"&&1/e==-am?"-0":t}var At=sm,um=pn,cm=At;function lm(e,t){t=um(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[cm(t[n++])];return n&&n==r?e:void 0}var hr=lm,dm=hr;function fm(e,t,n){var r=e==null?void 0:dm(e,t);return r===void 0?n:r}var Me=fm,pm=lr,mm=zi,hm=1,gm=2;function vm(e,t,n,r){var i=n.length,a=i,s=!r;if(e==null)return!a;for(e=Object(e);i--;){var u=n[i];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<a;){u=n[i];var c=u[0],l=e[c],d=u[1];if(s&&u[2]){if(l===void 0&&!(c in e))return!1}else{var p=new pm;if(r)var f=r(l,d,c,e,t,p);if(!(f===void 0?mm(d,l,hm|gm,r,p):f))return!1}}return!0}var ym=vm,wm=xe;function Sm(e){return e===e&&!wm(e)}var Wi=Sm,_m=Wi,bm=Fi;function Cm(e){for(var t=bm(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,_m(i)]}return t}var Am=Cm;function Tm(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var Yi=Tm,Im=ym,Em=Am,Pm=Yi;function Nm(e){var t=Em(e);return t.length==1&&t[0][2]?Pm(t[0][0],t[0][1]):function(n){return n===e||Im(n,e,t)}}var km=Nm;function xm(e,t){return e!=null&&t in Object(e)}var $m=xm,Om=pn,Um=cn,Rm=Ce,Bm=ln,Vm=dr,Fm=At;function Mm(e,t,n){t=Om(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var s=Fm(t[r]);if(!(a=e!=null&&n(e,s)))break;e=e[s]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&Vm(i)&&Bm(s,i)&&(Rm(e)||Um(e)))}var Dm=Mm,Lm=$m,zm=Dm;function Gm(e,t){return e!=null&&zm(e,t,Lm)}var jm=Gm,Hm=zi,Wm=Me,Ym=jm,Km=pr,qm=Wi,Jm=Yi,Zm=At,Qm=1,Xm=2;function eh(e,t){return Km(e)&&qm(t)?Jm(Zm(e),t):function(n){var r=Wm(n,e);return r===void 0&&r===t?Ym(n,e):Hm(t,r,Qm|Xm)}}var th=eh;function nh(e){return e}var gr=nh;function rh(e){return function(t){return t==null?void 0:t[e]}}var oh=rh,ih=hr;function ah(e){return function(t){return ih(t,e)}}var sh=ah,uh=oh,ch=sh,lh=pr,dh=At;function fh(e){return lh(e)?uh(dh(e)):ch(e)}var ph=fh,mh=km,hh=th,gh=gr,vh=Ce,yh=ph;function wh(e){return typeof e=="function"?e:e==null?gh:typeof e=="object"?vh(e)?hh(e[0],e[1]):mh(e):yh(e)}var Sh=wh,_h=De,bh=function(){try{var e=_h(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Ki=bh,qo=Ki;function Ch(e,t,n){t=="__proto__"&&qo?qo(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var vr=Ch,Ah=vr,Th=bt,Ih=Object.prototype,Eh=Ih.hasOwnProperty;function Ph(e,t,n){var r=e[t];(!(Eh.call(e,t)&&Th(r,n))||n===void 0&&!(t in e))&&Ah(e,t,n)}var qi=Ph,Nh=qi,kh=pn,xh=ln,Jo=xe,$h=At;function Oh(e,t,n,r){if(!Jo(e))return e;t=kh(t,e);for(var i=-1,a=t.length,s=a-1,u=e;u!=null&&++i<a;){var c=$h(t[i]),l=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(i!=s){var d=u[c];l=r?r(d,c,u):void 0,l===void 0&&(l=Jo(d)?d:xh(t[i+1])?[]:{})}Nh(u,c,l),u=u[c]}return e}var Uh=Oh,Rh=hr,Bh=Uh,Vh=pn;function Fh(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var s=t[r],u=Rh(e,s);n(u,s)&&Bh(a,Vh(s,e),u)}return a}var Mh=Fh,Dh=Bi,Lh=Dh(Object.getPrototypeOf,Object),yr=Lh,zh=ki,Gh=yr,jh=Oi,Hh=$i,Wh=Object.getOwnPropertySymbols,Yh=Wh?function(e){for(var t=[];e;)zh(t,jh(e)),e=Gh(e);return t}:Hh,Kh=Yh;function qh(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Jh=qh,Zh=xe,Qh=fn,Xh=Jh,eg=Object.prototype,tg=eg.hasOwnProperty;function ng(e){if(!Zh(e))return Xh(e);var t=Qh(e),n=[];for(var r in e)r=="constructor"&&(t||!tg.call(e,r))||n.push(r);return n}var rg=ng,og=Ri,ig=rg,ag=Ct;function sg(e){return ag(e)?og(e,!0):ig(e)}var wr=sg,ug=xi,cg=Kh,lg=wr;function dg(e){return ug(e,lg,cg)}var fg=dg,pg=Gi,mg=Sh,hg=Mh,gg=fg;function vg(e,t){if(e==null)return{};var n=pg(gg(e),function(r){return[r]});return t=mg(t),hg(e,n,function(r,i){return t(r,i[0])})}var yg=vg,wg=vr,Sg=bt;function _g(e,t,n){(n!==void 0&&!Sg(e[t],n)||n===void 0&&!(t in e))&&wg(e,t,n)}var Ji=_g;function bg(e){return function(t,n,r){for(var i=-1,a=Object(t),s=r(t),u=s.length;u--;){var c=s[e?u:++i];if(n(a[c],c,a)===!1)break}return t}}var Cg=bg,Ag=Cg,Tg=Ag(),Ig=Tg,Hn={exports:{}};(function(e,t){var n=be,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,s=a?n.Buffer:void 0,u=s?s.allocUnsafe:void 0;function c(l,d){if(d)return l.slice();var p=l.length,f=u?u(p):new l.constructor(p);return l.copy(f),f}e.exports=c})(Hn,Hn.exports);var Zo=Ni;function Eg(e){var t=new e.constructor(e.byteLength);return new Zo(t).set(new Zo(e)),t}var Pg=Eg,Ng=Pg;function kg(e,t){var n=t?Ng(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var xg=kg;function $g(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Og=$g,Ug=xe,Qo=Object.create,Rg=function(){function e(){}return function(t){if(!Ug(t))return{};if(Qo)return Qo(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Bg=Rg,Vg=Bg,Fg=yr,Mg=fn;function Dg(e){return typeof e.constructor=="function"&&!Mg(e)?Vg(Fg(e)):{}}var Lg=Dg,zg=Ct,Gg=Le;function jg(e){return Gg(e)&&zg(e)}var Hg=jg,Wg=it,Yg=yr,Kg=Le,qg="[object Object]",Jg=Function.prototype,Zg=Object.prototype,Zi=Jg.toString,Qg=Zg.hasOwnProperty,Xg=Zi.call(Object);function ev(e){if(!Kg(e)||Wg(e)!=qg)return!1;var t=Yg(e);if(t===null)return!0;var n=Qg.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Zi.call(n)==Xg}var tv=ev;function nv(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Qi=nv,rv=qi,ov=vr;function iv(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),i?ov(n,u,c):rv(n,u,c)}return n}var av=iv,sv=av,uv=wr;function cv(e){return sv(e,uv(e))}var lv=cv,Xo=Ji,dv=Hn.exports,fv=xg,pv=Og,mv=Lg,ei=cn,ti=Ce,hv=Hg,gv=qe.exports,vv=sr,yv=xe,wv=tv,Sv=dn,ni=Qi,_v=lv;function bv(e,t,n,r,i,a,s){var u=ni(e,n),c=ni(t,n),l=s.get(c);if(l){Xo(e,n,l);return}var d=a?a(u,c,n+"",e,t,s):void 0,p=d===void 0;if(p){var f=ti(c),m=!f&&gv(c),v=!f&&!m&&Sv(c);d=c,f||m||v?ti(u)?d=u:hv(u)?d=pv(u):m?(p=!1,d=dv(c,!0)):v?(p=!1,d=fv(c,!0)):d=[]:wv(c)||ei(c)?(d=u,ei(u)?d=_v(u):(!yv(u)||vv(u))&&(d=mv(c))):p=!1}p&&(s.set(c,d),i(d,c,r,a,s),s.delete(c)),Xo(e,n,d)}var Cv=bv,Av=lr,Tv=Ji,Iv=Ig,Ev=Cv,Pv=xe,Nv=wr,kv=Qi;function Xi(e,t,n,r,i){e!==t&&Iv(t,function(a,s){if(i||(i=new Av),Pv(a))Ev(e,t,s,n,Xi,r,i);else{var u=r?r(kv(e,s),a,s+"",e,t,i):void 0;u===void 0&&(u=a),Tv(e,s,u)}},Nv)}var xv=Xi;function $v(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Ov=$v,Uv=Ov,ri=Math.max;function Rv(e,t,n){return t=ri(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=ri(r.length-t,0),s=Array(a);++i<a;)s[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(s),Uv(e,this,u)}}var Bv=Rv;function Vv(e){return function(){return e}}var Fv=Vv,Mv=Fv,oi=Ki,Dv=gr,Lv=oi?function(e,t){return oi(e,"toString",{configurable:!0,enumerable:!1,value:Mv(t),writable:!0})}:Dv,zv=Lv,Gv=800,jv=16,Hv=Date.now;function Wv(e){var t=0,n=0;return function(){var r=Hv(),i=jv-(r-n);if(n=r,i>0){if(++t>=Gv)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Yv=Wv,Kv=zv,qv=Yv,Jv=qv(Kv),Zv=Jv,Qv=gr,Xv=Bv,ey=Zv;function ty(e,t){return ey(Xv(e,t,Qv),e+"")}var ny=ty,ry=bt,oy=Ct,iy=ln,ay=xe;function sy(e,t,n){if(!ay(n))return!1;var r=typeof t;return(r=="number"?oy(n)&&iy(t,n.length):r=="string"&&t in n)?ry(n[t],e):!1}var uy=sy,cy=ny,ly=uy;function dy(e){return cy(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,s&&ly(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t})}var fy=dy,py=xv,my=fy,hy=my(function(e,t,n){py(e,t,n)}),gy=hy,Wn=function(e){var t,n=(t=e==null?void 0:e.context.config)===null||t===void 0?void 0:t.loginMechanisms;return(n!=null?n:["username"])[0]},vy=function(e){var t=function(n){return function(r){return e({type:n,data:r})}};return{initializeMachine:t("INIT"),resendCode:t("RESEND"),signOut:t("SIGN_OUT"),submitForm:t("SUBMIT"),updateForm:t("CHANGE"),updateBlur:t("BLUR"),toFederatedSignIn:t("FEDERATED_SIGN_IN"),toResetPassword:t("RESET_PASSWORD"),toSignIn:t("SIGN_IN"),toSignUp:t("SIGN_UP"),skipVerification:t("SKIP")}},yy=function(e){var t,n,r,i,a,s=(t=ar(e))!==null&&t!==void 0?t:{},u=s.codeDeliveryDetails,c=s.remoteError,l=s.unverifiedContactMethods,d=s.validationError,p=s.totpSecretCode,f=p===void 0?null:p,m=((r=(n=e.context)===null||n===void 0?void 0:n.config)!==null&&r!==void 0?r:{}).socialProviders,v=(i=s==null?void 0:s.user)!==null&&i!==void 0?i:(a=e.context)===null||a===void 0?void 0:a.user,y=d&&Object.keys(d).length>0,w=ue(e),S=e.hasTag("pending")||(w==null?void 0:w.hasTag("pending")),g=function(){switch(!0){case e.matches("idle"):return"idle";case e.matches("setup"):return"setup";case e.matches("signOut"):return"signOut";case e.matches("authenticated"):return"authenticated";case(w==null?void 0:w.matches("confirmSignUp")):return"confirmSignUp";case(w==null?void 0:w.matches("confirmSignIn")):return"confirmSignIn";case(w==null?void 0:w.matches("setupTOTP.edit")):case(w==null?void 0:w.matches("setupTOTP.submit")):return"setupTOTP";case(w==null?void 0:w.matches("signIn")):return"signIn";case(w==null?void 0:w.matches("signUp")):return"signUp";case(w==null?void 0:w.matches("forceNewPassword")):return"forceNewPassword";case(w==null?void 0:w.matches("resetPassword")):return"resetPassword";case(w==null?void 0:w.matches("confirmResetPassword")):return"confirmResetPassword";case(w==null?void 0:w.matches("verifyUser")):return"verifyUser";case(w==null?void 0:w.matches("confirmVerifyUser")):return"confirmVerifyUser";case(w==null?void 0:w.matches("setupTOTP.getTotpSecretCode")):case e.matches("signIn.runActor"):return"transition";default:return console.debug("Cannot infer `route` from Authenticator state:",e.value),null}}(),h=function(_){switch(_){case"idle":case"setup":return"configuring";case"authenticated":return"authenticated";default:return"unauthenticated"}}(g);return{authStatus:h,codeDeliveryDetails:u,error:c,hasValidationErrors:y,isPending:S,route:g,socialProviders:m,totpSecretCode:f,unverifiedContactMethods:l,user:v,validationErrors:d}},ea=function(e){var t=e.send,n=e.state,r=vy(t),i=yy(n);return E(E({},r),i)},wy=["+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"],Sy={"Account recovery requires verified contact information":"Zur\xFCcksetzen des Account ben\xF6tigt einen verifizierten Account","Back to Sign In":"Zur\xFCck zur Anmeldung","Change Password":"Passwort \xE4ndern",Changing:"\xC4ndern von",Code:"Code","Confirm Password":"Passwort best\xE4tigen","Confirm Sign Up":"Registrierung best\xE4tigen","Confirm SMS Code":"SMS-Code best\xE4tigen","Confirm TOTP Code":"TOTP-Code best\xE4tigen",Confirm:"Best\xE4tigen","Confirmation Code":"Best\xE4tigungs-Code",Confirming:"Wird best\xE4tigt","Create a new account":"Einen neuen Account erstellen","Create Account":"Account erstellen","Creating Account":"Account wird erstellt","Dismiss alert":"Warnung verwerfen",Email:"Email","Enter your code":"Geben Sie Ihren Code ein","Enter your email":"Geben Sie Ihre Email ein","Enter your phone number":"Geben Sie Ihre Telefonnummer ein","Enter your username":"Geben Sie Ihren Benutzernamen ein","Forgot your password?":"Passwort vergessen? ","Hide password":"Passwort verbergen","It may take a minute to arrive":"Es kann eine Minute dauern, bis er ankommt",Loading:"Wird geladen","New password":"Neues Passwort",or:"oder",Password:"Passwort","Phone Number":"Telefonnummer","Resend Code":"Code erneut senden","Reset your Password":"Zur\xFCcksetzen des Passwort","Reset your password":"Zur\xFCcksetzen des passwort","Send code":"Code senden","Send Code":"Code senden",Sending:"Wird gesendet","Setup TOTP":"TOTP einrichten","Show password":"Passwort anzeigen","Sign in to your account":"Melden Sie sich mit Ihrem Account an","Sign In with Amazon":"Mit Amazon anmelden","Sign In with Apple":"Mit Apple anmelden","Sign In with Facebook":"Mit Facebook anmelden","Sign In with Google":"Mit Google anmelden","Sign in":"Anmelden","Sign In":"Anmelden","Signing in":"Wird angemeldet",Skip:"\xDCberspringen",Submit:"Abschicken",Submitting:"Wird gesendet",Username:"Benutzername","Verify Contact":"Kontakt verifizieren",Verify:"Verifizieren","We Sent A Code":"Wir haben einen Code gesendet","We Texted You":"Wir haben Ihnen eine SMS-Textur","Your code is on the way. To log in, enter the code we sent you":"Ihr Code ist unterwegs. Um sich anzumelden, geben Sie den Code ein, den wir Ihnen gesendet haben","An account with the given email already exists.":"Ein Account mit dieser Email existiert bereits.","Confirm a Code":"Code best\xE4tigen","Confirm Sign In":"Anmeldung best\xE4tigen","Create account":"Hier registrieren","Enter your password":"Geben Sie Ihr Passwort ein","Forgot 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","It may take a minute to arrive.":"Es k\xF6nnte eine Minute dauern, bis der Code eintrifft.","Lost your code? ":"Code verloren? ","New Password":"Neues Passwort","No account? ":"Kein Account? ","Password attempts exceeded":"Die maximale Anzahl der fehlerhaften Anmeldeversuche wurde erreicht","Reset password":"Passwort zur\xFCcksetzen","Sign Out":"Abmelden","Sign Up":"Registrieren","User already exists":"Dieser Benutzer existiert bereits","User does not exist":"Dieser Benutzer existiert nicht","Username cannot be empty":"Benutzername darf nicht leer sein","We Emailed You":"Email wurde versendet","Your code is on the way. To log in, enter the code we emailed to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an","Your code is on the way. To log in, enter the code we texted to":"Ihr Best\xE4tigungscode ist unterwegs. Um sich einzuloggen geben Sie den Code ein, den wir verschickt haben an"},_y={"Account recovery requires verified contact information":"Account recovery requires verified contact information","Back to Sign In":"Back to Sign In","Change Password":"Change Password",Changing:"Changing",Code:"Code","Confirm Password":"Confirm 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 a new account":"Create a new account","Create Account":"Create Account","Creating Account":"Creating Account","Dismiss alert":"Dismiss alert",Email:"Email","Enter your code":"Enter your code","Enter your email":"Enter your email","Enter your phone number":"Enter your phone number","Enter your username":"Enter your username","Forgot password?":"Forgot password?","Forgot your password?":"Forgot your password?","Hide password":"Hide password","It may take a minute to arrive":"It may take a minute to arrive",Loading:"Loading","New password":"New password",or:"or",Password:"Password","Phone Number":"Phone Number","Resend Code":"Resend Code","Reset your password":"Reset your password","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 to your account":"Sign in to your account","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","Sign In":"Sign In","Signing in":"Signing in",Skip:"Skip",Submit:"Submit",Submitting:"Submitting",Username:"Username","Verify Contact":"Verify Contact",Verify:"Verify","We Emailed You":"We Emailed You","We Sent A Code":"We Sent A Code","We Texted You":"We Texted You","Your code is on the way. To log in, enter the code we emailed to":"Your code is on the way. To log in, enter the code we emailed to","Your code is on the way. To log in, enter the code we sent you":"Your code is on the way. To log in, enter the code we sent you","Your code is on the way. To log in, enter the code we texted to":"Your code is on the way. To log in, enter the code we texted to"},by={"Account recovery requires verified contact information":"La recuperaci\xF3n de la cuenta requiere informaci\xF3n de contacto verificada","Back to Sign In":"Volver a inicio de sesi\xF3n","Change Password":"Cambiar contrase\xF1a",Changing:"Cambiando",Code:"C\xF3digo","Confirm Password":"Confirmar contrase\xF1a","Confirm Sign Up":"Confirmar registro","Confirm SMS Code":"Confirmar el c\xF3digo de SMS","Confirm TOTP Code":"Confirmar c\xF3digo TOTP",Confirm:"Confirmar","Confirmation Code":"C\xF3digo de confirmaci\xF3n",Confirming:"Confirmando","Create a new account":"Crear una cuenta nueva","Create Account":"Crear cuenta","Creating Account":"Creando cuenta","Dismiss alert":"Descartar alerta",Email:"Email","Enter your code":"Ingrese el c\xF3digo","Enter your email":"Escriba su Email","Enter your phone number":"Ingrese el n\xFAmero de tel\xE9fono","Enter your username":"Ingrese el nombre de usuario","Forgot your password?":"\xBFOlvid\xF3 su contrase\xF1a?","Hide password":"Ocultar contrase\xF1a","It may take a minute to arrive":"Es posible que tarde un minuto en llegar",Loading:"Cargando","New password":"Nueva contrase\xF1a",or:"o",Password:"Contrase\xF1a","Phone Number":"N\xFAmero de tel\xE9fono","Resend Code":"Reenviar c\xF3digo","Reset your password":"Restablecer su contrase\xF1a","Reset your Password":"Restablecer su Contrase\xF1a","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar contrase\xF1a","Sign in to your account":"Iniciar sesi\xF3n en tu cuenta","Sign In with Amazon":"Iniciar Sesi\xF3n con Amazon","Sign In with Apple":"Iniciar Sesi\xF3n con Apple","Sign In with Facebook":"Iniciar Sesi\xF3n con Facebook","Sign In with Google":"Iniciar Sesi\xF3n con Google","Sign in":"Iniciar sesi\xF3n","Sign In":"Iniciar Sesi\xF3n","Signing in":"Iniciando sesi\xF3n",Skip:"Omitir",Submit:"Enviar",Submitting:"Enviando",Username:"Nombre de usuario","Verify Contact":"Verificar contacto",Verify:"Verificar","We Emailed You":"Le hemos enviado un correo electr\xF3nico","We Sent A Code":"Hemos enviado un c\xF3digo","We Texted You":"Le hemos enviado un mensaje de texto","Your code is on the way. To log in, enter the code we emailed to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por correo electr\xF3nico a","Your code is on the way. To log in, enter the code we sent you":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que le hemos enviado","Your code is on the way. To log in, enter the code we texted to":"El c\xF3digo est\xE1 en camino. Para iniciar sesi\xF3n, escriba el c\xF3digo que hemos enviado por mensaje de texto a","An account with the given email already exists.":"Ya existe una cuenta con el correo ingresado.","Confirm a Code":"Confirmar un c\xF3digo","Confirm Sign In":"Confirmar inicio de sesi\xF3n","Forgot Password":"Olvid\xE9 mi 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","Loading...":"Cargando...","New Password":"Nueva contrase\xF1a","Resend a Code":"Reenviar un c\xF3digo","Sign Out":"Cerrar sesi\xF3n","Sign Up with Amazon":"Crear cuenta con Amazon","Sign Up with Apple":"Crear cuenta con Apple","Sign Up with Facebook":"Crear cuenta con Facebook","Sign Up with Google":"Crear cuenta con Google","Sign Up":"Crear cuenta","User already exists":"El usuario ya existe","User does not exist":"El usuario no existe","Username cannot be empty":"El nombre de usuario no puede estar vac\xEDo","Your passwords must match":"Las contrase\xF1as deben coincidir"},Cy={"Account recovery requires verified contact information":"La r\xE9cup\xE9ration du compte n\xE9cessite des informations de contact v\xE9rifi\xE9es","Back to Sign In":"Retour \xE0 la connexion","Change Password":"Modifier le mot de passe",Changing:"Modification en cours",Code:"Code","Confirm Password":"Confirmez le mot de passe","Confirm Sign Up":"Confirmer l'inscription","Confirm SMS Code":"Confirmer le code SMS","Confirm TOTP Code":"Confirmer le code TOTP",Confirm:"Confirmer","Confirmation Code":"Code de confirmation",Confirming:"Confirmation","Create a new account":"Cr\xE9er un nouveau compte","Create Account":"Cr\xE9er un compte","Creating Account":"Cr\xE9ation d'un compte","Dismiss alert":"Supprimer l'alerte",Email:"Email","Enter your code":"Saisissez cotre code de confirmation","Enter your email":"Saisissez votre adresse email","Enter your phone number":"Saisissez votre num\xE9ro de t\xE9l\xE9phone","Enter your username":"Saisissez votre nom d'utilisateur","Forgot your password?":"Mot de passe oubli\xE9 ? ","Hide password":"Masquer le mot de passe","It may take a minute to arrive":"Cela peut prendre une minute",Loading:"Chargement en cours","New password":"Nouveau mot de passe",or:"ou",Password:"Mot de passe","Phone Number":"Num\xE9ro de t\xE9l\xE9phone","Resend Code":"Renvoyer le code","Reset your Password":"R\xE9initialiser votre mot de passe","Reset your password":"R\xE9initialisez votre mot de passe","Send code":"Envoyer le code","Send Code":"M'envoyer un code",Sending:"Envoi en cours","Setup TOTP":"Configuration de TOTP","Show password":"Afficher le mot de passe","Sign in to your account":"Connexion \xE0 votre compte","Sign In with Amazon":"Se connecter avec Amazon","Sign In with Apple":"Se connecter avec Apple","Sign In with Facebook":"Se connecter avec Facebook","Sign In with Google":"Se connecter avec Google","Sign in":"Se connecter","Sign In":"Se connecter","Signing in":"Connexion en cours",Skip:"Passer",Submit:"Soumettre",Submitting:"Envoi en cours",Username:"Nom d'utilisateur","Verify Contact":"V\xE9rifier le contact",Verify:"V\xE9rifier","We Sent A Code":"Nous avons envoy\xE9 un code","We Texted You":"Nous vous avons envoy\xE9 un SMS","Your code is on the way. To log in, enter the code we sent you":"Votre code est en cours d'envoi. Pour vous connecter, saisissez le code que nous vous avons envoy\xE9","An account with the given email already exists.":"Un utilisateur avec cette adresse email existe d\xE9j\xE0.",Change:"Modifier","Confirm a Code":"Confirmer un code","Confirm Sign In":"Confirmer la connexion","Create account":"Cr\xE9er un compte","Enter your password":"Saisissez votre mot de passe","Forgot 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 ? ","Resend a Code":"Renvoyer un code","Reset password":"R\xE9initialisez votre mot de passe",Send:"Envoyer","Sign In with AWS":"Se connecter avec AWS","Sign Out":"D\xE9connexion","Sign Up":"S'inscrire",SMS:"SMS","User already exists":"L'utilisateur existe d\xE9j\xE0","User does not exist":"L'utilisateur n'existe pas","Username cannot be empty":"Le nom d'utilisateur doit \xEAtre renseign\xE9","Username/client id combination not found.":"L'utilisateur n'existe pas","We Emailed You":"Nous vous avons envoy\xE9 un code","Your code is on the way. To log in, enter the code we emailed to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur cette adresse email","Your code is on the way. To log in, enter the code we texted to":"Votre code est en route. Pour vous connecter entrez le code re\xE7u sur ce num\xE9ro de t\xE9l\xE9phone","It may take a minute to arrive.":"Cela peut prendre quelques minutes."},Ay={"Account recovery requires verified contact information":"Il ripristino dell'account richiede informazioni di contatto verificate","Back to Sign In":"Torna alla schermata di accesso","Change Password":"Cambia la password",Changing:"Modifica in corso",Code:"Codice","Confirm Password":"Conferma la password","Confirm Sign Up":"Conferma registrazione","Confirm SMS Code":"Conferma codice SMS","Confirm TOTP Code":"Conferma codice TOTP",Confirm:"Conferma","Confirmation Code":"Codice di verifica",Confirming:"Conferma in corso","Create a new account":"Crea un nuovo account","Create Account":"Crea Account","Creating Account":"Creazione account in corso","Dismiss alert":"Ignora l'avviso",Email:"Email","Enter your code":"Inserisci il tuo codice","Enter your email":"Inserisci la tua e-mail","Enter your phone number":'Inserisci il tuo numero di telefono"',"Enter your username":"Inserisci il tuo nome utente","Forgot your password?":"Password dimenticata?","Hide password":"Nascondi password","It may take a minute to arrive":"L'arrivo potrebbe richiedere qualche minuto",Loading:"Caricamento in corso","New password":"Nuova password",or:"oppure",Password:"Password","Phone Number":"Numero di telefono","Resend Code":"Invia nuovamente il codice","Reset your Password":"Reimposta la tua Password","Reset your password":"Reimposta la tua password","Send code":"Invia codice","Send Code":"Invia codice",Sending:"Invio in corso","Setup TOTP":"Configura TOTP","Show password":"Mostra password","Sign in to your account":"Accedi al tuo account","Sign In with Amazon":"Accedi con Amazon","Sign In with Apple":"Accedi con Apple","Sign In with Facebook":"Accedi con Facebook","Sign In with Google":"Accedi con Google","Sign in":"Accedi","Sign In":"Accedi","Signing in":"Accesso in corso",Skip:"Salta",Submit:"Invia",Submitting:"Invio in corso",Username:"Nome utente","Verify Contact":"Verifica contatto",Verify:"Verifica","We Emailed You":"Ti abbiamo inviato un'e-mail","We Sent A Code":"Ti abbiamo inviato un codice","We Texted You":"Ti abbiamo inviato un SMS","Your code is on the way. To log in, enter the code we emailed to":"Il codice \xE8 in arrivo. Per effettuare l'accesso, immetti il codice che ti abbiamo inviato via e-mail","Your code is on the way. To log in, enter the code we sent you":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che ti abbiamo inviato","Your code is on the way. To log in, enter the code we texted to":"Il codice \xE8 in arrivo. Per accedere, immetti il codice che abbiamo inviato tramite SMS","An account with the given email already exists.":"Questa email \xE8 gi\xE0 utilizzata da un altro account.","Confirm a Code":"Conferma un codice","Confirm Sign In":"Conferma l'accesso","Create account":"Crea account","Enter your password":"Inserisci la tua password","Forgot 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":"Formato del numero di telefono non valido","Lost your code?":"Codice smarrito?","New Password":"Nuova password","No account? ":"Non hai un account?","Password attempts exceeded":"Il numero massimo di tentativi di accesso falliti \xE8 stato raggiunto","Reset password":"Reimposta password","Sign Out":"Esci","Sign Up":"Registrati","User already exists":"Utente gi\xE0 esistente","User does not exist":"Utente inesistente","Username cannot be empty":"Il nome utente non pu\xF2 essere vuoto"},Ty={"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","Back to Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306B\u623B\u308B","Change Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5909\u3048\u308B ",Changing:"\u5909\u66F4\u4E2D",Code:"\u30B3\u30FC\u30C9","Confirm Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u306E\u78BA\u8A8D","Confirm Sign Up":"\u767B\u9332\u3059\u308B","Confirm SMS Code":"SMS \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm TOTP Code":"TOTP \u30B3\u30FC\u30C9\u3092\u78BA\u8A8D",Confirm:"\u78BA\u5B9A","Confirmation Code":"\u78BA\u8A8D\u30B3\u30FC\u30C9",Confirming:"\u78BA\u8A8D\u4E2D","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","Creating Account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u306E\u4F5C\u6210\u4E2D","Dismiss alert":"\u30A2\u30E9\u30FC\u30C8\u3092\u9589\u3058\u308B",Email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9","Enter your code":"\u30B3\u30FC\u30C9\u3092\u5165\u529B","Enter your email":"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9\u3092\u5165\u529B","Enter your phone number":"\u96FB\u8A71\u756A\u53F7\u3092\u5165\u529B","Enter your username":"\u30E6\u30FC\u30B6\u30FC\u540D\u3092\u5165\u529B ","Forgot your password?":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u307E\u3057\u305F\u304B\uFF1F ","Hide password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u975E\u8868\u793A","It may take a minute to arrive":"\u5230\u7740\u3059\u308B\u307E\u3067\u306B 1 \u5206\u304B\u304B\u308B\u3053\u3068\u304C\u3042\u308A\u307E\u3059\u3002",Loading:"\u30ED\u30FC\u30C9\u4E2D","New password":"\u65B0\u3057\u3044\u30D1\u30B9\u30EF\u30FC\u30C9",or:"\u53C8\u306F",Password:"\u30D1\u30B9\u30EF\u30FC\u30C9 ","Phone Number":"\u96FB\u8A71\u756A\u53F7","Resend Code":"\u30B3\u30FC\u30C9\u3092\u518D\u9001\u4FE1","Reset your 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","Send Code":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1",Sending:"\u9001\u4FE1\u4E2D","Setup TOTP":"TOTP \u3092\u30BB\u30C3\u30C8\u30A2\u30C3\u30D7","Show password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u8868\u793A","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 Apple":"Apple \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 In":"\u30B5\u30A4\u30F3\u30A4\u30F3 ","Sign in":"\u30B5\u30A4\u30F3\u30A4\u30F3","Signing in":"\u30B5\u30A4\u30F3\u30A4\u30F3\u4E2D",Skip:"\u30B9\u30AD\u30C3\u30D7",Submit:"\u9001\u4FE1",Submitting:"\u9001\u4FE1\u4E2D",Username:"\u30E6\u30FC\u30B6\u30FC\u540D ","Verify Contact":"\u9023\u7D61\u5148\u3092\u78BA\u8A8D",Verify:"\u78BA\u8A8D","We Sent A Code":"\u30B3\u30FC\u30C9\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","We Texted You":"\u30C6\u30AD\u30B9\u30C8\u304C\u9001\u4FE1\u3055\u308C\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we sent you":"\u30B3\u30FC\u30C9\u304C\u9014\u4E2D\u3067\u3059\u3002\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u9001\u4FE1\u3057\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002","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","Confirm a Code":"\u30B3\u30FC\u30C9\u3092\u78BA\u8A8D","Confirm Sign In":"\u30B5\u30A4\u30F3\u30A4\u30F3\u3059\u308B","Create account":"\u30A2\u30AB\u30A6\u30F3\u30C8\u3092\u4F5C\u308B ","Enter your password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5165\u529B ","Forgot Password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u5FD8\u308C\u305F ","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
2
+ +12345678900 \u306E\u5F62\u5F0F\u3067\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044`,"It may take a minute to arrive.":"\u30B3\u30FC\u30C9\u3092\u53D7\u4FE1\u3059\u308B\u307E\u3067\u6570\u5206\u304B\u304B\u308B\u5834\u5408\u304C\u3042\u308A\u307E\u3059\u3002","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 ","Password attempts exceeded":"\u30B5\u30A4\u30F3\u30A4\u30F3\u306E\u8A66\u884C\u56DE\u6570\u304C\u4E0A\u9650\u306B\u9054\u3057\u307E\u3057\u305F","Reset password":"\u30D1\u30B9\u30EF\u30FC\u30C9\u3092\u30EA\u30BB\u30C3\u30C8 ","Sign Out":"\u30B5\u30A4\u30F3\u30A2\u30A6\u30C8 ","Sign Up":"\u767B\u9332 ","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 cannot be empty":"\u30E6\u30FC\u30B6\u30FC\u540D\u306F\u5165\u529B\u5FC5\u9808\u3067\u3059","We Emailed You":"\u30B3\u30FC\u30C9\u3092\u9001\u4FE1\u3057\u307E\u3057\u305F","Your code is on the way. To log in, enter the code we emailed to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30E1\u30FC\u30EB\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:","Your code is on the way. To log in, enter the code we texted to":"\u30ED\u30B0\u30A4\u30F3\u3059\u308B\u306B\u306F\u3001\u30C6\u30AD\u30B9\u30C8\u30E1\u30C3\u30BB\u30FC\u30B8\u306B\u8A18\u8F09\u3055\u308C\u305F\u30B3\u30FC\u30C9\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044\u3002\u9001\u4FE1\u5148:"},Iy={"Account recovery requires verified contact information":"\uACC4\uC815 \uBCF5\uAD6C\uB97C \uC704\uD574 \uC5F0\uB77D\uCC98 \uD655\uC778\uC774 \uD544\uC694\uD569\uB2C8\uB2E4","Back to Sign In":"\uB85C\uADF8\uC778\uC73C\uB85C \uB3CC\uC544\uAC00\uAE30","Change Password":"\uBE44\uBC00\uBC88\uD638 \uBCC0\uACBD\uD558\uAE30",Changing:"\uBCC0\uACBD\uC911",Code:"\uCF54\uB4DC","Confirm Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uD655\uC778","Confirm Sign Up":"\uD68C\uC6D0\uAC00\uC785 \uD655\uC778","Confirm SMS Code":"\uD734\uB300\uD3F0 \uBCF8\uC778 \uD655\uC778","Confirm TOTP Code":"TOTP \uC778\uC99D\uBC88\uD638 \uD655\uC778",Confirm:"\uD655\uC778","Confirmation Code":"\uC778\uC99D\uBC88\uD638",Confirming:"\uD655\uC778\uC911","Create a new account":"\uD68C\uC6D0\uAC00\uC785","Create Account":"\uD68C\uC6D0\uAC00\uC785","Creating Account":"\uD68C\uC6D0\uAC00\uC785\uC911","Dismiss alert":"\uC54C\uB9BC \uBB34\uC2DC",Email:"\uC774\uBA54\uC77C","Enter your code":"\uC778\uC99D\uBC88\uD638\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Enter your email":"\uC774\uBA54\uC77C \uC785\uB825","Enter your phone number":"\uC804\uD654\uBC88\uD638 \uC785\uB825","Enter your username":"\uC544\uC774\uB514\uB97C \uC785\uB825\uD574\uC8FC\uC138\uC694","Hide password":"\uBE44\uBC00\uBC88\uD638 \uC228\uAE30\uAE30","It may take a minute to arrive":"\uB3C4\uCC29\uD558\uB294 \uB370 1\uBD84 \uC815\uB3C4 \uAC78\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4",Loading:"\uB85C\uB529\uC911","New password":"\uC0C8 \uBE44\uBC00\uBC88\uD638",or:"\uB610\uB294",Password:"\uBE44\uBC00\uBC88\uD638","Phone Number":"\uC804\uD654\uBC88\uD638","Resend Code":"\uC778\uC99D\uBC88\uD638 \uC7AC\uC804\uC1A1","Reset your password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Reset your Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815","Send code":"\uC778\uC99D\uCF54\uB4DC \uBCF4\uB0B4\uAE30","Send Code":"\uCF54\uB4DC \uC804\uC1A1",Sending:"\uC804\uC1A1\uC911","Setup TOTP":"TOTP \uC124\uC815\uD558\uAE30","Show password":"\uBE44\uBC00\uBC88\uD638 \uBCF4\uC774\uAE30","Sign in to your account":"\uB85C\uADF8\uC778","Sign In with Amazon":"Amazon \uB85C\uADF8\uC778","Sign In with Apple":"Apple \uB85C\uADF8\uC778","Sign In with Facebook":"Facebook \uB85C\uADF8\uC778","Sign In with Google":"Google \uB85C\uADF8\uC778","Sign in":"\uB85C\uADF8\uC778","Sign In":"\uB85C\uADF8\uC778","Signing in":"\uB85C\uADF8\uC778\uC911",Skip:"\uB2E4\uC74C\uC5D0 \uD558\uAE30",Submit:"\uD655\uC778",Submitting:"\uD655\uC778\uC911",Username:"\uC544\uC774\uB514","Verify Contact":"\uC5F0\uB77D\uCC98 \uD655\uC778",Verify:"\uC778\uC99D","We Emailed You":"\uC774\uBA54\uC77C\uC744 \uBCF4\uB0C4","We Sent A Code":"\uCF54\uB4DC\uB97C \uBCF4\uB0C4","We Texted You":"\uBB38\uC790 \uBA54\uC2DC\uC9C0\uB97C \uBCF4\uB0C4","Your code is on the way. To log in, enter the code we emailed to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC774\uBA54\uC77C\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we sent you":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694","Your code is on the way. To log in, enter the code we texted to":"\uCF54\uB4DC\uAC00 \uC804\uC1A1 \uC911\uC785\uB2C8\uB2E4. \uB85C\uADF8\uC778\uD558\uB824\uBA74 \uBB38\uC790 \uBA54\uC2DC\uC9C0\uB85C \uC804\uC1A1\uD55C \uCF54\uB4DC\uB97C \uC785\uB825\uD558\uC138\uC694",Birthdate:"\uC0DD\uB144\uC6D4\uC77C","Family Name":"\uC131","Forgot your password?":"\uBE44\uBC00\uBC88\uD638\uB97C \uC78A\uC73C\uC168\uB098\uC694?","Given Name":"\uC774\uB984",Name:"\uC131\uD568",Nickname:"\uB2C9\uB124\uC784","Preferred Username":"\uB2C9\uB124\uC784",Profile:"\uD504\uB85C\uD544","Reset Password":"\uBE44\uBC00\uBC88\uD638 \uC7AC\uC124\uC815",Website:"\uC6F9\uC0AC\uC774\uD2B8"},Ey={"Account recovery requires verified contact information":"Accountherstel vereist geverifieerde contactgegevens","Back to Sign In":"Terug naar inloggen","Change Password":"Wachtwoord wijzigen",Changing:"Wordt aangepast",Code:"Code","Confirm Password":"Bevestig Wachtwoord","Confirm Sign Up":"Bevestig inschrijving","Confirm SMS Code":"Bevestig SMS Code","Confirm TOTP Code":"Bevestig TOTP Code",Confirm:"Bevestig","Confirmation Code":"Bevestigingscode",Confirming:"Bevestigen","Create a new account":"Nieuw account aanmaken","Create Account":"Account aanmaken","Creating Account":"Account wordt aangemaakt","Dismiss alert":"Waarschuwing sluiten",Email:"E-mail","Enter your code":"Vul je code in","Enter your email":"Vul je e-mail in","Enter your phone number":"Vul je telefoonnummer in","Enter your username":"Vul je gebruikersnaam in","Forgot your password?":"Wachtwoord vergeten? ","Hide password":"Verberg wachtwoord","It may take a minute to arrive":"Het kan even duren voordat deze aankomt",Loading:"Laden","New password":"Nieuw wachtwoord",or:"of",Password:"Wachtwoord","Phone Number":"Telefoonnummer","Resend Code":"Verstuur code nogmaals","Reset your password":"Reset je wachtwoord","Reset your Password":"Wachtwoord resetten","Send code":"Verstuur code","Send Code":"Verstuur Code",Sending:"Versturen","Setup TOTP":"TOTP Instellingen","Show password":"Toon wachtwoord","Sign in to your account":"Inloggen op je account","Sign In with Amazon":"Inloggen met Amazon","Sign In with Apple":"Inloggen met Apple","Sign In with Facebook":"Inloggen met Facebook","Sign In with Google":"Inloggen met Google","Sign in":"Inloggen","Sign In":"Inloggen","Signing in":"Inloggen",Skip:"Overslaan",Submit:"Versturen",Submitting:"Wordt verstuurd",Username:"Gebruikersnaam","Verify Contact":"Verifieer Contact",Verify:"Verifieer","We Emailed You":"We hebben u een e-mail gestuurd","We Sent A Code":"We hebben een code gestuurd","We Texted You":"We hebben u een sms gestuurd","Your code is on the way. To log in, enter the code we emailed to":"Uw code is onderweg. Om in te loggen, voer de code in die we gemaild hebben naar","Your code is on the way. To log in, enter the code we sent you":"Uw code is onderweg. Om in te loggen, voer de code in die we u hebben gestuurd","Your code is on the way. To log in, enter the code we texted to":"Uw code is onderweg. Om in te loggen, voer de code in die we hebben gestuurd naar"},Py={"Account recovery requires verified contact information":"Odzyskanie konta wymaga zweryfikowanych danych kontaktowych","Back to Sign In":"Powr\xF3t do logowania","Change Password":"Zmie\u0144 has\u0142o",Changing:"Zmienianie",Code:"Kod","Confirm Password":"Potwierd\u017A Has\u0142o","Confirm Sign Up":"Potwierd\u017A rejestracj\u0119","Confirm SMS Code":"Potwierd\u017A kod SMS","Confirm TOTP Code":"Potwierd\u017A has\u0142o jednorazowe",Confirm:"Potwierd\u017A","Confirmation Code":"Kod potwierdzenia",Confirming:"Potwierdzanie","Create a new account":"Utw\xF3rz nowe konto","Create Account":"Utw\xF3rz konto","Creating Account":"Tworzenie konta","Dismiss alert":"Odrzu\u0107 alert",Email:"E-mail","Enter your code":"Wprowad\u017A sw\xF3j kod","Enter your email":"Wpisz sw\xF3j adres e-mail","Enter your phone number":"Wpisz sw\xF3j numer telefonu","Enter your username":"Wprowad\u017A swoj\u0105 nazw\u0119 u\u017Cytkownika","Forgot your password?":"Zapomnia\u0142e\u015B has\u0142a? ","Hide password":"Ukryj has\u0142o","It may take a minute to arrive":"Mo\u017Ce to chwil\u0119 potrwa\u0107",Loading:"\u0141adowanie","New password":"Nowe has\u0142o",or:"albo",Password:"Has\u0142o","Phone Number":"Numer telefonu","Resend Code":"Wy\u015Blij kod ponownie","Reset your password":"Zresetuj swoje has\u0142o","Reset your Password":"Zresetuj swoje has\u0142o","Send code":"Wy\u015Blij kod","Send Code":"Zresetuj has\u0142o",Sending:"Wysy\u0142anie","Setup TOTP":"Konfiguruj TOTP","Show password":"Poka\u017C has\u0142o","Sign in to your account":"Zaloguj si\u0119 na swoje konto","Sign In with Amazon":"Zaloguj z Amazon","Sign In with Apple":"Zaloguj z Apple","Sign In with Facebook":"Zaloguj z Facebook","Sign In with Google":"Zaloguj z Google","Sign In":"Logowanie","Sign in":"Zaloguj","Signing in":"Logowanie",Skip:"Pomi\u0144",Submit:"Wy\u015Blij",Submitting:"Wysy\u0142anie",Username:"Nazwa u\u017Cytkownika","Verify Contact":"Weryfikacja danych kontaktowych",Verify:"Zweryfikuj",Birthdate:"Data urodzenia","Family Name":"Nazwisko","Given Name":"Pierwsze imi\u0119","Middle Name":"Drugie imi\u0119",Name:"Imi\u0119 i nazwisko",Nickname:"Pseudonim","Preferred Username":"Preferowana nazwa u\u017Cytkownika",Profile:"Profil",Website:"Strona internetowa","We Emailed You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 e-mail","We Sent A Code":"Wys\u0142ali\u015Bmy kod","We Texted You":"Wys\u0142ali\u015Bmy Ci wiadomo\u015B\u0107 SMS","Your code is on the way. To log in, enter the code we emailed to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any na adres e-mail","Your code is on the way. To log in, enter the code we sent you":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A wys\u0142any do Ciebie kod","Your code is on the way. To log in, enter the code we texted to":"Tw\xF3j kod zosta\u0142 wys\u0142any. Aby si\u0119 zalogowa\u0107, wprowad\u017A kod wys\u0142any do Ciebie w wiadomo\u015Bci SMS pod numer"},Ny={"Account recovery requires verified contact information":"A recupera\xE7\xE3o da conta requer informa\xE7\xF5es de contato verificadas","Back to Sign In":"Voltar para Entrar","Change Password":"Mudar senha",Changing:"Mudando",Code:"C\xF3digo","Confirm Password":"Confirme a Senha","Confirm Sign Up":"Confirmar inscri\xE7\xE3o","Confirm SMS Code":"Confirme o c\xF3digo SMS","Confirm TOTP Code":"Confirme o c\xF3digo TOTP",Confirm:"confirme","Confirmation Code":"C\xF3digo de confirma\xE7\xE3o",Confirming:"Confirmando","Create a new account":"Criar uma nova conta","Create Account":"Criar Conta","Creating Account":"Criando conta","Dismiss alert":"Descartar alerta",Email:"O email","Enter your code":"Insira seu c\xF3digo","Enter your email":"Digite seu e-mail","Enter your phone number":"Digite seu n\xFAmero de telefone","Enter your username":"entre com seu nome de usu\xE1rio","Forgot your password?":"Esqueceu sua senha? ","Hide password":"Esconder a senha","It may take a minute to arrive":"Pode levar um minuto para chegar",Loading:"Carregando","New password":"Nova Senha",or:"ou",Password:"Senha","Phone Number":"N\xFAmero de telefone","Resend Code":"Reenviar c\xF3digo","Reset your password":"Redefina sua senha","Reset your Password":"Redefina sua senha","Send code":"Enviar c\xF3digo","Send Code":"Enviar c\xF3digo",Sending:"Enviando","Setup TOTP":"Configurar TOTP","Show password":"Mostrar senha","Sign in to your account":"Fa\xE7a login em sua conta","Sign In with Amazon":"Entrar com a Amazon","Sign In with Apple":"Entrar com a Apple","Sign In with Facebook":"Entrar com o Facebook","Sign In with Google":"Fa\xE7a login no Google","Sign in":"Entrar","Sign In":"Entrar","Signing in":"Entrando",Skip:"Pular",Submit:"Enviar",Submitting:"Enviando",Username:"Nome do usu\xE1rio","Verify Contact":"Verificar contato",Verify:"Verificar","We Emailed You":"Enviamos um e-mail para voc\xEA","We Sent A Code":"Enviamos um c\xF3digo","We Texted You":"Enviamos um SMS para voc\xEA","Your code is on the way. To log in, enter the code we emailed to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos um e-mail","Your code is on the way. To log in, enter the code we sent you":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo que enviamos para voc\xEA","Your code is on the way. To log in, enter the code we texted to":"Seu c\xF3digo est\xE1 a caminho. Para fazer login, insira o c\xF3digo para o qual enviamos uma mensagem de texto"},ky={"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":"\u66F4\u6539\u5BC6\u7801",Changing:"\u6B63\u5728\u4FEE\u6539",Code:"\u786E\u8BA4\u7801","Confirm Password":"\u786E\u8BA4\u5BC6\u7801","Confirm Sign Up":"\u786E\u8BA4\u6CE8\u518C","Confirm SMS Code":"\u786E\u8BA4\u77ED\u4FE1\u9A8C\u8BC1\u7801","Confirm TOTP Code":"\u786E\u8BA4 TOTP \u4EE3\u7801",Confirm:"\u786E\u8BA4","Confirmation Code":"\u786E\u8BA4\u7801",Confirming:"\u6B63\u5728\u786E\u8BA4","Create a new account":"\u521B\u5EFA\u65B0\u8D26\u6237","Create Account":"\u521B\u5EFA\u8D26\u6237","Creating Account":"\u6B63\u5728\u521B\u5EFA\u8D26\u6237","Dismiss alert":"\u5173\u95ED\u8B66\u62A5",Email:"\u90AE\u7BB1","Enter your code":"\u8F93\u5165\u9A8C\u8BC1\u7801","Enter your email":"\u8F93\u5165\u7535\u5B50\u90AE\u4EF6","Enter your phone number":"\u8F93\u5165\u7535\u8BDD\u53F7\u7801","Enter your username":"\u8F93\u5165\u7528\u6237\u540D","Forgot your password?":"\u5FD8\u8BB0\u5BC6\u7801\u4E86\uFF1F","Hide password":"\u9690\u85CF\u5BC6\u7801","It may take a minute to arrive":"\u53EF\u80FD\u9700\u8981\u4E00\u5206\u949F\u624D\u80FD\u5230\u8FBE",Loading:"\u6B63\u5728\u52A0\u8F7D","New password":"\u65B0\u5BC6\u7801",or:"\u6216\u8005",Password:"\u5BC6\u7801","Phone Number":"\u7535\u8BDD","Resend Code":"\u91CD\u53D1\u9A8C\u8BC1\u7801","Reset your password":"\u91CD\u7F6E\u5BC6\u7801","Reset your Password":"\u91CD\u7F6E\u5BC6\u7801","Send Code":"\u53D1\u9001\u786E\u8BA4\u7801","Send code":"\u53D1\u9001\u9A8C\u8BC1\u7801",Sending:"\u6B63\u5728\u53D1\u9001","Setup TOTP":"\u8BBE\u7F6E TOTP","Show password":"\u663E\u793A\u5BC6\u7801","Sign in to your account":"\u767B\u5F55\u8D26\u6237","Sign In with Amazon":"\u901A\u8FC7 Amazon \u767B\u5F55","Sign In with Apple":"\u901A\u8FC7 Apple \u767B\u5F55","Sign In with Facebook":"\u901A\u8FC7 Facebook \u767B\u5F55","Sign In with Google":"\u901A\u8FC7 Google \u767B\u5F55","Sign in":"\u767B\u5F55","Sign In":"\u767B\u5F55","Signing in":"\u6B63\u5728\u767B\u5F55",Skip:"\u8DF3\u8FC7",Submit:"\u63D0\u4EA4",Submitting:"\u6B63\u5728\u63D0\u4EA4",Username:"\u7528\u6237\u540D","Verify Contact":"\u9A8C\u8BC1\u8054\u7CFB\u65B9\u5F0F",Verify:"\u9A8C\u8BC1","We Emailed You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u7535\u5B50\u90AE\u4EF6","We Sent A Code":"\u6211\u4EEC\u53D1\u9001\u4E86\u4EE3\u7801","We Texted You":"\u6211\u4EEC\u7ED9\u60A8\u53D1\u9001\u4E86\u77ED\u4FE1","Your code is on the way. To log in, enter the code we emailed to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u7535\u5B50\u90AE\u4EF6\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Your code is on the way. To log in, enter the code we sent you":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u53D1\u9001\u7ED9\u60A8\u7684\u4EE3\u7801","Your code is on the way. To log in, enter the code we texted to":"\u60A8\u7684\u4EE3\u7801\u6B63\u5728\u53D1\u9001\u4E2D\u3002\u8981\u767B\u5F55\uFF0C\u8BF7\u8F93\u5165\u6211\u4EEC\u901A\u8FC7\u77ED\u4FE1\u53D1\u9001\u7ED9\u4EE5\u4E0B\u4EBA\u5458\u7684\u4EE3\u7801\uFF1A","Confirm a Code":"\u786E\u8BA4\u7801","Confirm Sign In":"\u786E\u8BA4\u767B\u5F55","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","Resend a Code":"\u91CD\u53D1\u786E\u8BA4\u7801","Sign Out":"\u9000\u51FA","Sign Up":"\u6CE8\u518C","User already exists":"\u7528\u6237\u5DF2\u7ECF\u5B58\u5728","User does not exist":"\u7528\u6237\u4E0D\u5B58\u5728"},xy={"Account recovery requires verified contact information":"F\xF6r att \xE5terst\xE4lla kontot beh\xF6ver du ett verifierat konto","Back to Sign In":"Tillbaka till inloggningen","Change Password":"Byt l\xF6senord",Changing:"\xC4ndra",Code:"Kod","Confirm Password":"Bekr\xE4fta l\xF6senord","Confirm Sign Up":"Bekr\xE4fta registrering","Confirm SMS Code":"Bekr\xE4fta SMS-kod","Confirm TOTP Code":"Bekr\xE4fta TOTP-kod",Confirm:"Bekr\xE4fta","Confirmation Code":"Verifikationskod",Confirming:"Bekr\xE4ftar","Create a new account":"Skapa ett nytt konto","Create Account":"Skapa konto","Creating Account":"Skapar konto","Dismiss alert":"Avvisa varning",Email:"E-post","Enter your code":"Skriv din kod","Enter your email":"Fyll i din e-post","Enter your phone number":"Ange ditt telefonnummer","Enter your username":"Ange ditt anv\xE4ndarnamn","Forgot your password?":"Gl\xF6mt ditt l\xF6senord? ","Hide password":"D\xF6lj l\xF6senord","It may take a minute to arrive":"Det kan ta en minut att komma fram",Loading:"Laddar","New password":"Nytt l\xF6senord",or:"eller",Password:"L\xF6senord","Phone Number":"Telefonnummer","Resend Code":"Skicka koden igen","Reset your password":"\xC5terst\xE4ll ditt l\xF6senord","Reset your Password":"\xC5terst\xE4ll ditt l\xF6senord","Send code":"Skicka kod","Send Code":"Skicka kod",Sending:"Skickar","Setup TOTP":"Konfigurera TOTP","Show password":"Visa l\xF6senord","Sign in to your account":"Logga in till ditt konto","Sign In with Amazon":"Logga in med Amazon","Sign In with Apple":"Logga in med Apple","Sign In with Facebook":"Logga in med Facebook","Sign In with Google":"Logga in med Google","Sign in":"Logga in","Sign In":"Logga in","Signing in":"Loggar in",Skip:"Hoppa \xF6ver",Submit:"Skicka",Submitting:"Skickar in",Username:"Anv\xE4ndarnamn","Verify Contact":"Verifiera kontakt",Verify:"Verifiera","We Sent A Code":"Vi skickade en kod","We Texted You":"Vi sms:ade dig","Your code is on the way. To log in, enter the code we emailed to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi mejlade till","Your code is on the way. To log in, enter the code we sent you":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi skickade till dig","Your code is on the way. To log in, enter the code we texted to":"Din kod \xE4r p\xE5 v\xE4g. F\xF6r att logga in, ange koden vi sms:ade till","An account with the given email already exists.":"Det finns redan ett konto med denna e-postadress","Confirm a Code":"Bekr\xE4fta koden","Confirm Sign In":"Bekr\xE4fta inloggning","Create account":"Skapa konto","Enter your password":"Ange ditt l\xF6senord","Forgot Password":"Gl\xF6mt l\xF6senordet","Have an account? ":"Redan registrerad? ","Incorrect username or password":"Felaktigt anv\xE4ndarnamn eller l\xF6senord","Invalid password format":"Ogiltigt l\xF6senordsformat","Invalid phone number format":"Ogiltigt format f\xF6r telefonnummer","Lost your code? ":"F\xF6rlorat koden? ","New Password":"Nytt l\xF6senord","No account? ":"Inget konto? ","Password attempts exceeded":"Maximalt antal felaktiga inloggningsf\xF6rs\xF6k har uppn\xE5tts","Reset password":"\xC5terst\xE4ll l\xF6senord","Sign Out":"Logga ut","Sign Up":"Registrering","User already exists":"Anv\xE4ndaren finns redan","User does not exist":"Anv\xE4ndaren finns inte","Username cannot be empty":"Anv\xE4ndarnamnet kan inte vara tomt","We Emailed You":"Vi har skickat e-post till dig"},$y={"Account recovery requires verified contact information":"Pemulihan akun memerlukan informasi kontak terverifikasi","Back to Sign In":"Kembali ke Masuk","Change Password":"Ubah kata sandi",Changing:"Mengubah",Code:"Kode","Confirm Password":"Konfirmasi kata sandi","Confirm Sign Up":"Konfirmasi Pendaftaran","Confirm SMS Code":"Konfirmasi Kode SMS","Confirm TOTP Code":"Konfirmasi Kode TOTP",Confirm:"Konfirmasi","Confirmation Code":"Kode Konfirmasi",Confirming:"Mengkonfirmasi","Create a new account":"Buat akun baru","Create Account":"Buat Akun","Creating Account":"Membuat Akun","Dismiss alert":"Hentikan pemberitahuan",Email:"Email","Enter your code":"Masukkan kode anda","Enter your email":"Masukkan email anda","Enter your phone number":"Masukkan nomor telepon anda","Enter your username":"Masukkan nama akun anda","Forgot your password?":"Lupa kata sandi? ","Hide password":"Sembunyikan kata sandi","It may take a minute to arrive":"Mungkin perlu waktu satu menit untuk tiba",Loading:"Memuat","New password":"Kata sandi baru",or:"atau",Password:"Kata sandi","Phone Number":"Nomor telepon","Resend Code":"Kirim ulang kodenya","Reset your Password":"Reset Kata Sandi","Reset your password":"Ubah kata sandi anda","Send code":"Kirim kode","Send Code":"Kirim Kode",Sending:"Mengirim","Setup TOTP":"Siapkan TOTP","Show password":"Tampilkan kata sandi","Sign in to your account":"Masuk akun anda","Sign In with Amazon":"Masuk dengan Amazon","Sign In with Apple":"Masuk dengan Apple","Sign In with Facebook":"Masuk dengan Facebook","Sign In with Google":"Masuk dengan Google","Sign in":"Masuk","Sign In":"Masuk","Signing in":"Memasuki",Skip:"Lewati",Submit:"Ajukan",Submitting:"Mengajukan",Username:"Nama akun","Verify Contact":"Verifikasi Kontak",Verify:"Verifikasi","We Sent A Code":"Kami Mengirim Kode","We Texted You":"Kami mengirim SMS kepada Anda","Your code is on the way. To log in, enter the code we sent you":"Kode Anda segera hadir. Untuk masuk, masukkan kode yang kami kirimkan kepada Anda","An account with the given email already exists.":"Akun dengan email tersebut sudah terdaftar.","Attempt limit exceeded, please try after some time.":"Batas percobaan terlampaui, mohon coba lagi setelah beberapa waktu.","Cannot reset password for the user as there is no registered/verified email or phone_number":"Tidak dapat mengatur ulang kata sandi karena tidak ada email terdaftar / terverifikasi atau nomor telepon",Change:"Ubah","Confirm a Code":"Konfirmasi kode","Create account":"Buat akun","Enter your password":"Masukkan kata sandi anda","Forgot Password":"Lupa kata sandi","Have an account? ":"Sudah punya akun? ",Hello:"Halo","Incorrect username or password.":"Nama akun atau kata sandi salah.","Invalid phone number format":"Nomor telepon tidak sesuai dengan format.","Invalid verification code provided, please try again.":"Kode verifikasi tidak sesuai, mohon coba lagi.","It may take a minute to arrive.":"Mungkin perlu beberapa waktu untuk tiba.","Lost your code? ":"Kode anda hilang?",Name:"Nama","Network error":"Galat jaringan","No account? ":"Tidak ada akun?","Password did not conform with policy: Password not long enough":"Kata sandi tidak sesuai dengan aturan: Kata sandi kurang panjang","Resend a Code":"Renvoyer un code","Reset password":"Ubah kata sandi anda",Send:"Kirim","Sign In with AWS":"Masuk dengan AWS","Sign Up with Amazon":"Daftar dengan Amazon","Sign Up with AWS":"Daftar dengan AWS","Sign Up with Facebook":"Daftar dengan Facebook","Sign Up with Google":"Daftar dengan Google",SMS:"SMS","User already exists":"Akun sudah terdaftar","User does not exist.":"Akun tidak terdaftar.","User is disabled.":"Akun dinonaktifkan.","Username cannot be empty":"Nama akun tidak boleh kosong","Username/client id combination not found.":"Nama akun atau id tidak ditemukan.","We Emailed You":"Kami mengirimkanmu email","Your code is on the way. To log in, enter the code we emailed to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami emailkan ke","Your code is on the way. To log in, enter the code we texted to":"Kode anda dalam pengiriman. Untuk masuk, masukkan kode yang kami tuliskan ke","Your passwords must match":"Kata sandi harus sama"},Oy={"Account recovery requires verified contact information":"Hesap kurtarma, do\u011Frulanm\u0131\u015F ileti\u015Fim bilgilerini gerektirir","Back to Sign In":"Oturum A\xE7maya Geri D\xF6n","Change Password":"\u015Eifreyi De\u011Fi\u015Ftir",Changing:"De\u011Fi\u015Ftiriliyor",Code:"Kod","Confirm Password":"\u015Eifreyi Do\u011Frula","Confirm Sign Up":"Kay\u0131t \u0130\u015Flemini Do\u011Frula","Confirm SMS Code":"SMS Kodunu Do\u011Frula","Confirm TOTP Code":"Tek Kullan\u0131ml\u0131k \u015Eifreyi Do\u011Frula",Confirm:"Do\u011Frula","Confirmation Code":"Do\u011Frulama Kodu",Confirming:"Do\u011Frulan\u0131yor","Create a new account":"Yeni bir hesap olu\u015Ftur","Create Account":"Hesap Olu\u015Ftur","Creating Account":"Hesap Olu\u015Fturuluyor","Dismiss alert":"Uyar\u0131y\u0131 reddet",Email:"E-posta","Enter your code":"Kodu girin","Enter your email":"E-posta adresinizi girin","Enter your phone number":"Telefon numaran\u0131z\u0131 girin","Enter your username":"Kullan\u0131c\u0131 ad\u0131n\u0131z\u0131 girin","Forgot your password?":"\u015Eifrenizi mi unuttunuz?","Hide password":"\u015Eifreyi gizle","It may take a minute to arrive":"Kodun gelmesi bir dakika s\xFCrebilir",Loading:"Y\xFCkleniyor","New password":"Yeni \u015Fifre",or:"veya",Password:"\u015Eifre","Phone Number":"Telefon Numaras\u0131","Resend Code":"Kodu Yeniden G\xF6nder","Reset your password":"\u015Eifrenizi s\u0131f\u0131rlay\u0131n","Reset your Password":"\u015Eifrenizi S\u0131f\u0131rlay\u0131n","Send code":"Kod g\xF6nder","Send Code":"Kod G\xF6nder",Sending:"G\xF6nderiliyor","Setup TOTP":"Tek kullan\u0131ml\u0131k \u015Fifre kurulumu yap","Show password":"\u015Eifreyi g\xF6ster","Sign in to your account":"Hesab\u0131n\u0131zda oturum a\xE7\u0131n","Sign In with Amazon":"Amazon ile Oturum A\xE7","Sign In with Apple":"Apple ile Oturum A\xE7","Sign In with Facebook":"Facebook ile Oturum A\xE7","Sign In with Google":"Google ile Oturum A\xE7","Sign in":"Oturum a\xE7","Sign In":"Oturum A\xE7","Signing in":"Oturum a\xE7\u0131l\u0131yor",Skip:"Atla",Submit:"G\xF6nder",Submitting:"G\xF6nderiliyor",Username:"Kullan\u0131c\u0131 ad\u0131","Verify Contact":"Ki\u015Fiyi Do\u011Frula",Verify:"Do\u011Frula","We Emailed You":"Size E-posta G\xF6nderdik","We Sent A Code":"Bir Kod G\xF6nderdik","We Texted You":"Size Mesaj G\xF6nderdik","Your code is on the way. To log in, enter the code we emailed to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz e-postadaki kodu girin","Your code is on the way. To log in, enter the code we sent you":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, size g\xF6nderdi\u011Fimiz kodu girin","Your code is on the way. To log in, enter the code we texted to":"Kodunuz yolda. Oturum a\xE7mak i\xE7in, g\xF6nderdi\u011Fimiz mesajdaki kodu girin","An account with the given email already exists.":"Bu e-postaya ait zaten bir hesap var.","Confirm Sign In":"Oturum A\xE7may\u0131 Do\u011Frula","Have an account? ":"Hesab\u0131n\u0131z var m\u0131? ","Incorrect username or password":"Yanl\u0131\u015F kullan\u0131c\u0131 ad\u0131 ya da \u015Fifre","Invalid password format":"Ge\xE7ersiz parola format\u0131","Invalid phone number format":"Ge\xE7ersiz telefon numaras\u0131 format\u0131","Lost your code? ":"Kodu mu kaybettiniz? ","No account? ":"Hesab\u0131n\u0131z yok mu? ","Password attempts exceeded":"Maksimum oturum a\xE7ma giri\u015Fimi a\u015F\u0131ld\u0131","Sign Out":"\xC7\u0131k\u0131\u015F yap","Sign Up":"Kay\u0131t Ol","User already exists":"Bu kullan\u0131c\u0131 zaten var","User does not exist":"B\xF6yle bir kullan\u0131c\u0131 mevcut de\u011Fil","Username cannot be empty":"Kullan\u0131c\u0131 ad\u0131 bo\u015F olamaz"},Uy={"Account recovery requires verified contact information":"\u0412\u043E\u0441\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u043E\u0439 \u0437\u0430\u043F\u0438\u0441\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043F\u0440\u043E\u0432\u0435\u0440\u043A\u0438 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0439 \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434, \u0447\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438","Change Password":"\u0438\u0437\u043C\u0435\u043D\u044F\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u0438\u0435",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u043F\u0430\u0440\u043E\u043B\u044F","Confirm Sign Up":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F","Confirm SMS Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 CMC-\u041A\u043E\u0434","Confirm TOTP Code":"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435 TOTP-\u041A\u043E\u0434",Confirm:"\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044C","Confirmation Code":"\u043A\u043E\u0434 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u044F",Confirming:"\u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0435\u043D\u0438\u0435","Create a new account":"\u0421\u043E\u0437\u0434\u0430\u0432\u0430\u0442\u044C \u043D\u043E\u0432\u0443\u044E \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Create Account":"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0443\u0447\u0435\u0442\u043D\u0443\u044E \u0437\u0430\u043F\u0438\u0441\u044C","Creating Account":"\u0441\u043E\u0437\u0434\u0430\u043D\u0438\u0435 \u0443\u0447\u0435\u0442\u043D\u0430\u044F \u0437\u0430\u043F\u0438\u0441\u044C","Dismiss alert":"\u0417\u0430\u043A\u0440\u044B\u0442\u044C \u043E\u043F\u043E\u0432\u0435\u0449\u0435\u043D\u0438\u0435",Email:"\u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your code":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u041A\u043E\u0434","Enter your email":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430","Enter your phone number":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Enter your username":"\u0432\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0448 \u0438\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Forgot your password?":"\u0417\u0430\u0431\u044B\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u043A\u0440\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435\u0442 \u0437\u0430\u043D\u044F\u0442\u044C \u043D\u0435\u043A\u043E\u0442\u043E\u0440\u043E\u0435 \u0432\u0440\u0435\u043C\u044F",Loading:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430","New password":"\u041D\u043E\u0432\u044B\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0438\u043B\u0438",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430","Resend Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u044C \u0435\u0449\u0435 \u0440\u0430\u0437 \u041A\u043E\u0434","Reset your password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0441\u0431\u0440\u043E\u0441 \u0432\u0430\u0448 \u041F\u0430\u0440\u043E\u043B\u044C","Send code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434","Send Code":"\u041E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0442\u044C \u041A\u043E\u0434",Sending:"\u043E\u0442\u043F\u0440\u0430\u0432\u043A\u0430","Setup TOTP":"\u041D\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044C TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0437\u043D\u0430\u043A \u0432 \u0441\u0432\u043E\u0439 \u0430\u043A\u043A\u0430\u0443\u043D\u0442","Sign In with Amazon":"\u0437\u043D\u0430\u043A \u0432 \u0441 Amazon","Sign In with Apple":"\u0437\u043D\u0430\u043A \u0432 \u0441 Apple","Sign In with Facebook":"\u0437\u043D\u0430\u043A \u0432 \u0441 Facebook","Sign In with Google":"\u0437\u043D\u0430\u043A \u0432 \u0441 Google","Sign in":"\u0437\u043D\u0430\u043A \u0432","Sign In":"\u0437\u043D\u0430\u043A \u0432","Signing in":"\u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u0435 \u0432",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u043A\u0430\u0442\u044C",Submit:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043D\u0430 \u0440\u0430\u0441\u0441\u043C\u043E\u0442\u0440\u0435\u043D\u0438\u0435",Submitting:"\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0432",Username:"\u0418\u043C\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044F","Verify Contact":"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u043A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C","We Emailed You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0435 \u043F\u0438\u0441\u044C\u043C\u043E","We Sent A Code":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0435 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043F\u043E \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u0435","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043F\u043E\u0441\u043B\u0430\u043B\u0438 \u0432\u0430\u043C","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u0435\u043D. \u0427\u0442\u043E\u0431\u044B \u0432\u043E\u0439\u0442\u0438 \u0432 \u0441\u0438\u0441\u0442\u0435\u043C\u0443, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043E\u0434, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043C\u044B \u043E\u0442\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u044B\u043C \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u0435\u043C"},Ry={"Account recovery requires verified contact information":"\u05E9\u05D7\u05D6\u05D5\u05E8 \u05DC\u05E7\u05D5\u05D7 \u05D3\u05D5\u05E8\u05E9 \u05E2\u05D5\u05D3 \u05DE\u05D9\u05D3\u05E2","Back to Sign In":"\u05D7\u05D6\u05D5\u05E8 \u05DC\u05D4\u05E8\u05E9\u05DE\u05D4","Change Password":"\u05E2\u05D3\u05DB\u05D5\u05DF \u05E1\u05D9\u05E1\u05DE\u05D0",Changing:"\u05DE\u05E2\u05D3\u05DB\u05DF",Code:"\u05E7\u05D5\u05D3","Confirm Password":"\u05D0\u05E9\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0","Confirm Sign Up":"\u05D0\u05E9\u05E8 \u05D4\u05E8\u05E9\u05DE\u05D4","Confirm SMS Code":"\u05D0\u05E9\u05E8 sms \u05E7\u05D5\u05D3","Confirm TOTP Code":"\u05D0\u05E9\u05E8 totp \u05E7\u05D5\u05D3",Confirm:"\u05D0\u05D9\u05E9\u05D5\u05E8","Confirmation Code":"\u05D0\u05D9\u05E9\u05D5\u05E8 \u05E7\u05D5\u05D3",Confirming:"\u05DE\u05D0\u05E9\u05E8","Create a new account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9 \u05D7\u05D3\u05E9","Create Account":"\u05E6\u05D5\u05E8 \u05DE\u05E9\u05EA\u05DE\u05E9","Creating Account":"\u05D9\u05E6\u05D9\u05E8\u05EA \u05DE\u05E9\u05EA\u05DE\u05E9","Dismiss alert":"\u05D4\u05E1\u05E8 \u05D4\u05EA\u05E8\u05D0\u05D4",Email:"\u05D0\u05D9\u05DE\u05D9\u05D9\u05DC","Enter your code":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05E7\u05D5\u05D3","Enter your email":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05D4\u05DE\u05D9\u05D9\u05DC \u05E9\u05DC\u05DA","Enter your phone number":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05DE\u05E1\u05E4\u05E8 \u05D4\u05D8\u05DC\u05E4\u05D5\u05DF \u05E9\u05DC\u05DA","Enter your username":"\u05D4\u05DB\u05E0\u05E1 \u05D0\u05EA \u05E9\u05DD \u05D4\u05DE\u05EA\u05DE\u05E9 \u05E9\u05DC\u05DA","Forgot your password?":"\u05E9\u05D7\u05DB\u05EA \u05E1\u05D9\u05E1\u05DE\u05D0 ?","Hide password":"\u05D4\u05E1\u05EA\u05E8 \u05E1\u05D9\u05E1\u05DE\u05D0",Loading:"\u05D8\u05D5\u05E2\u05DF","New password":"\u05E1\u05D9\u05E1\u05DE\u05D0 \u05D7\u05D3\u05E9\u05D4",or:"\u05D0\u05D5\u05B9",Password:"\u05E1\u05D9\u05E1\u05DE\u05D0","Phone Number":"\u05DE\u05E1\u05E4\u05E8 \u05D8\u05DC\u05E4\u05D5\u05DF","Resend Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3 \u05E9\u05D5\u05D1","Reset your password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Reset your Password":"\u05D0\u05E4\u05E1 \u05E1\u05D9\u05E1\u05DE\u05D0","Send code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3","Send Code":"\u05E9\u05DC\u05D7 \u05E7\u05D5\u05D3",Sending:"\u05E9\u05D5\u05DC\u05D7","Setup TOTP":"Setup TOTP","Show password":"\u05D4\u05E6\u05D2 \u05E1\u05D9\u05E1\u05DE\u05D0","Sign in to your account":"\u05D4\u05EA\u05D7\u05D1\u05E8 \u05DC\u05D7\u05E9\u05D1\u05D5\u05DF \u05E9\u05DC\u05DA","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":"\u05D4\u05EA\u05D7\u05D1\u05E8","Sign In":"\u05D4\u05EA\u05D7\u05D1\u05E8","Signing in":"\u05DE\u05EA\u05D7\u05D1\u05E8",Skip:"\u05D3\u05DC\u05D2",Submit:"\u05E9\u05DC\u05D7",Submitting:"\u05E9\u05D5\u05DC\u05D7",Username:"\u05E9\u05DD \u05DE\u05E9\u05EA\u05DE\u05E9","Verify Contact":"\u05D0\u05DE\u05EA \u05D0\u05D9\u05E9 \u05E7\u05E9\u05E8",Verify:"\u05D0\u05DE\u05EA"},By={"Account recovery requires verified contact information":"\u0412\u0456\u0434\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044F \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u043E\u0433\u043E \u0437\u0430\u043F\u0438\u0441\u0443 \u043F\u043E\u0442\u0440\u0435\u0431\u0443\u0454 \u043A\u043E\u043D\u0442\u0430\u043A\u0442\u043D\u043E\u0457 \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457","Back to Sign In":"\u041D\u0430\u0437\u0430\u0434 \u043D\u0430 \u0441\u0442\u043E\u0440\u0456\u043D\u043A\u0443 \u0432\u0445\u043E\u0434\u0443","Change Password":"\u0417\u043C\u0456\u043D\u0438\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C",Changing:"\u0417\u043C\u0456\u043D\u044E\u0454\u043C\u043E",Code:"\u041A\u043E\u0434","Confirm Password":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043F\u0430\u0440\u043E\u043B\u044C","Confirm Sign Up":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u044E","Confirm SMS Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C SMS \u043A\u043E\u0434","Confirm TOTP Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C TOTP \u043A\u043E\u0434",Confirm:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","Confirmation Code":"\u041A\u043E\u0434 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0435\u043D\u043D\u044F",Confirming:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0436\u0443\u0454\u043C\u043E","Create a new account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Create Account":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","Creating Account":"\u0420\u0435\u0454\u0441\u0442\u0440\u0443\u0454\u043C\u043E","Dismiss alert":"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438 \u0441\u043F\u043E\u0432\u0456\u0449\u0435\u043D\u043D\u044F",Email:"Email","Enter your code":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Enter your email":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 email","Enter your phone number":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Enter your username":"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u0432\u0430\u0448\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Forgot password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C?","Forgot your password?":"\u0417\u0430\u0431\u0443\u043B\u0438 \u0432\u0430\u0448 \u043F\u0430\u0440\u043E\u043B\u044C?","Hide password":"\u0421\u0445\u043E\u0432\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","It may take a minute to arrive":"\u0414\u043E\u0441\u0442\u0430\u0432\u043A\u0430 \u043C\u043E\u0436\u0435 \u0442\u0440\u0438\u0432\u0430\u0442\u0438 \u0445\u0432\u0438\u043B\u0438\u043D\u0443",Loading:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E","New password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C",or:"\u0430\u0431\u043E",Password:"\u041F\u0430\u0440\u043E\u043B\u044C","Phone Number":"\u041D\u043E\u043C\u0435\u0440 \u0422\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Resend Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset your password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Reset your Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Send code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434","Send Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434",Sending:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E","Setup TOTP":"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 TOTP","Show password":"\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign in to your account":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0443 \u0432\u0430\u0448 \u043E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441","Sign In with Amazon":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Amazon","Sign In with Apple":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Apple","Sign In with Facebook":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Facebook","Sign In with Google":"\u0423\u0432\u0456\u0439\u0442\u0438 \u0437 Google","Sign in":"\u0423\u0432\u0456\u0439\u0442\u0438","Sign In":"\u0423\u0432\u0456\u0439\u0442\u0438","Signing in":"\u0412\u0445\u043E\u0434\u0438\u043C\u043E",Skip:"\u041F\u0440\u043E\u043F\u0443\u0441\u0442\u0438\u0442\u0438",Submit:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438",Submitting:"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u043B\u044F\u0454\u043C\u043E",Username:"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430","Verify Contact":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u041A\u043E\u043D\u0442\u0430\u043A\u0442",Verify:"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438","We Emailed You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C Email","We Sent A Code":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u043A\u043E\u0434","We Texted You":"\u041C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0435 \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F","Your code is on the way. To log in, enter the code we emailed to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u043D\u0430 Email","Your code is on the way. To log in, enter the code we sent you":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0430\u043C \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438","Your code is on the way. To log in, enter the code we texted to":"\u0412\u0430\u0448 \u043A\u043E\u0434 \u0432\u0436\u0435 \u0432 \u0434\u043E\u0440\u043E\u0437\u0456. \u0429\u043E\u0431 \u0443\u0432\u0456\u0439\u0442\u0438, \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043E\u0434, \u0449\u043E \u043C\u0438 \u0432\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u043B\u0438 \u0432\u0430\u043C \u0442\u0435\u043A\u0441\u0442\u043E\u0432\u0438\u043C \u043F\u043E\u0432\u0456\u0434\u043E\u043C\u043B\u0435\u043D\u043D\u044F\u043C","An account with the given email already exists.":"\u041E\u0431\u043B\u0456\u043A\u043E\u0432\u0438\u0439 \u0437\u0430\u043F\u0438\u0441 \u0437 \u0446\u0438\u043C Email \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454.","Confirm a Code":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u043A\u043E\u0434","Confirm Sign In":"\u041F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0456\u0442\u044C \u0432\u0445\u0456\u0434","Forgot Password":"\u0417\u0430\u0431\u0443\u043B\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Incorrect username or password.":"\u041D\u0435\u0432\u0456\u0440\u043D\u0435 \u0456\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u0430\u0431\u043E \u043F\u0430\u0440\u043E\u043B\u044C","Invalid password format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043F\u0430\u0440\u043E\u043B\u044E","Invalid phone number format":"\u041D\u0435\u0432\u0456\u0440\u043D\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u043D\u043E\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0443","Loading...":"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0454\u043C\u043E...","New Password":"\u041D\u043E\u0432\u0438\u0439 \u043F\u0430\u0440\u043E\u043B\u044C","Resend a Code":"\u0412\u0456\u0434\u043F\u0440\u0430\u0432\u0438\u0442\u0438 \u043A\u043E\u0434 \u043F\u043E\u0432\u0442\u043E\u0440\u043D\u043E","Reset Password":"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043F\u0430\u0440\u043E\u043B\u044C","Sign Out":"\u0412\u0438\u0439\u0442\u0438","Sign Up with Amazon":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Amazon","Sign Up with Apple":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Apple","Sign Up with Facebook":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Facebook","Sign Up with Google":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u0437 Google","Sign Up":"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044F","User already exists":"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u0432\u0436\u0435 \u0456\u0441\u043D\u0443\u0454","User does not exist":"\u0422\u0430\u043A\u0438\u0439 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447 \u043D\u0435 \u0456\u0441\u043D\u0443\u0454","Username cannot be empty":"\u0406\u043C\u02BC\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0430 \u043D\u0435 \u043C\u043E\u0436\u0435 \u0431\u0443\u0442\u0438 \u043F\u0443\u0441\u0442\u0438\u043C","Your passwords must match":"\u041F\u0430\u0440\u043E\u043B\u0456 \u043C\u0430\u044E\u0442\u044C \u0437\u0431\u0456\u0433\u0430\u0442\u0438\u0441\u044F"},Vy={BACK_SIGN_IN:"Back to Sign In",BIRTHDATE:"Birthdate",CHANGE_PASSWORD:"Change Password",CHANGING_PASSWORD:"Changing",CODE:"Code",CODE_ARRIVAL:"It may take a minute to arrive",CODE_EMAILED:"Your code is on the way. To log in, enter the code we emailed to",CODE_SENT:"Your code is on the way. To log in, enter the code we sent you",CODE_TEXTED:"Your code is on the way. To log in, enter the code we texted to",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_PASSWORD:"Forgot Password?",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",OR:"or",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",UPPERCASE_COPY:"COPY",VERIFY_CONTACT:"Verify Contact",VERIFY_HEADING:"Account recovery requires verified contact information",VERIFY:"Verify",WE_EMAILED:"We Emailed You",WE_SENT_CODE:"We Sent A Code",WE_TEXTED:"We Texted You",WEBSITE:"Website"},Fy=E({},Sy),My=E({},_y),Dy=E({},by),Ly=E({},Cy),zy=E({},Ay),Gy=E({},Ty),jy=E({},Iy),Hy=E({},Ey),Wy=E({},Py),Yy=E({},Ny),Ky=E({},ky),qy=E({},xy),Jy=E({},$y),Zy=E({},Oy),Qy=E({},Uy),Xy=E({},Ry),ew=E({},By),tw=E({},Vy),R=E({},tw);function x(e){return Y.I18n.get(e)}var nw={de:Fy,en:My,es:Dy,fr:Ly,id:Jy,it:zy,ja:Gy,kr:jy,nl:Hy,pl:Wy,pt:Yy,zh:Ky,sv:qy,tr:Zy,ru:Qy,he:Xy,ua:ew},mn={birthdate:{label:"Birthdate",placeholder:"Enter your Birthdate",type:"date",autocomplete:"bday",isRequired:!0},confirmation_code:{label:"Confirmation Code",placeholder:"Enter your Confirmation Code",type:"number",autocomplete:"one-time-code",isRequired:!0},confirm_password:{label:"Confirm Password",placeholder:"Please confirm your Password",type:"password",autocomplete:"new-password",isRequired:!0},email:{label:"Email",placeholder:"Enter your Email",type:"email",autocomplete:"username",isRequired:!0},family_name:{label:"Family Name",placeholder:"Enter your Family Name",type:"text",autocomplete:"family-name",isRequired:!0},given_name:{label:"Given Name",placeholder:"Enter your Given Name",type:"text",autocomplete:"given-name",isRequired:!0},middle_name:{label:"Middle Name",placeholder:"Enter your Middle Name",type:"text",autocomplete:"additional-name",isRequired:!0},name:{label:"Name",placeholder:"Enter your Name",type:"text",autocomplete:"name",isRequired:!0},nickname:{label:"Nickname",placeholder:"Enter your Nickname",type:"text",autocomplete:"tel",isRequired:!0},password:{label:"Password",placeholder:"Enter your Password",type:"password",autocomplete:"new-password",isRequired:!0},phone_number:{label:"Phone Number",placeholder:"Enter your Phone Number",type:"tel",autocomplete:"tel",dialCode:"+1",dialCodeList:wy,isRequired:!0},preferred_username:{label:"Preferred Username",placeholder:"Enter your Preferred Username",type:"text",isRequired:!0},profile:{label:"Profile",placeholder:"Add your Profile",type:"url",autocomplete:"url",isRequired:!0},website:{label:"Website",placeholder:"Add your Website",type:"url",autocomplete:"url",isRequired:!0},username:{label:"Username",placeholder:"Enter your Username",type:"text",autocomplete:"username",isRequired:!0}},rw=["^","$","*",".","[","]","{","}","(",")","?",'"',"!","@","#","%","&","/","\\",",",">","<","'",":",";","|","_","~","`","=","+","-"," "],Ae=function(e){var t=new FormData(e.target);return Object.fromEntries(t)},ii=function(e){return Ai.includes(e)},ow=function(e){return e?(t=e,Array.isArray(t)?e:[e]):null;var t},ta={},na={};(function(e){Object.defineProperty(e,"__esModule",{value:!0});/*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
5
5
  Permission to use, copy, modify, and/or distribute this software for any
@@ -12,7 +12,7 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */e.__assign=function(){return e.__assign=Object.assign||function(s){for(var u,c=1,l=arguments.length;c<l;c++){u=arguments[c];for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(s[d]=u[d])}return s},e.__assign.apply(this,arguments)};function t(a,s){var u={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&s.indexOf(c)<0&&(u[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,c=Object.getOwnPropertySymbols(a);l<c.length;l++)s.indexOf(c[l])<0&&Object.prototype.propertyIsEnumerable.call(a,c[l])&&(u[c[l]]=a[c[l]]);return u}function n(a){var s=typeof Symbol=="function"&&Symbol.iterator,u=s&&a[s],c=0;if(u)return u.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(a,s){var u=typeof Symbol=="function"&&a[Symbol.iterator];if(!u)return a;var c=u.call(a),l,d=[],m;try{for(;(s===void 0||s-- >0)&&!(l=c.next()).done;)d.push(l.value)}catch(f){m={error:f}}finally{try{l&&!l.done&&(u=c.return)&&u.call(c)}finally{if(m)throw m.error}}return d}function i(a,s,u){if(u||arguments.length===2)for(var c=0,l=s.length,d;c<l;c++)(d||!(c in s))&&(d||(d=Array.prototype.slice.call(s,0,c)),d[c]=s[c]);return a.concat(d||Array.prototype.slice.call(s))}e.__read=r,e.__rest=t,e.__spreadArray=i,e.__values=n})(jn);Object.defineProperty(ha,"__esModule",{value:!0});var ni=jn,Fl={timeout:1e4};function Bl(e,t,n){var r=ni.__assign(ni.__assign({},Fl),n);return new Promise(function(i,a){var s=!1,u=r.timeout===1/0?void 0:setTimeout(function(){l.unsubscribe(),a(new Error("Timeout of ".concat(r.timeout," ms exceeded")))},r.timeout),c=function(){clearTimeout(u),s=!0,l==null||l.unsubscribe()},l=e.subscribe({next:function(d){t(d)&&(c(),i(d))},error:function(d){c(),a(d)},complete:function(){c(),a(new Error("Actor terminated without satisfying predicate"))}});s&&l.unsubscribe()})}var Dl=ha.waitFor=Bl,Vl=function(e){var t=e.packageName,n=e.version;Vs.appendToCognitoUserAgent("".concat(t,"/").concat(n))},ri=function(e){return K(void 0,void 0,void 0,function(){return q(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,Dl(e,function(n){return Ae(n).matches("autoSignIn")})];case 1:case 2:return t.sent(),[3,3];case 3:return[2]}})})},Ml=function(e,t){return K(void 0,void 0,void 0,function(){var n,r,i,a;return q(this,function(s){switch(s.label){case 0:switch(n=t.send,r=t.getSnapshot(),e.payload.event){case"tokenRefresh":return[3,1];case"autoSignIn":return[3,2];case"autoSignIn_failure":return[3,5];case"signOut":case"tokenRefresh_failure":return[3,7]}return[3,8];case 1:return r.matches("authenticated.idle")&&n("TOKEN_REFRESH"),[3,9];case 2:return r.matches("authenticated")?[3,4]:[4,ri(t)];case 3:s.sent(),(i=Ae(t.getSnapshot()))!=null&&i.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN",data:e.payload.data}),s.label=4;case 4:return[3,9];case 5:return[4,ri(t)];case 6:return s.sent(),(a=Ae(t.getSnapshot()))!=null&&a.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN_FAILURE",data:e.payload.data}),[3,9];case 7:return r.matches("authenticated.idle")&&n("SIGN_OUT"),[3,9];case 8:return[3,9];case 9:return[2]}})})},Ll=function(e,t){return t===void 0&&(t=Ml),le.Hub.listen("auth",function(n,r){return function(i){r(i,n)}}(e,t),"authenticator-hub-handler")},jl=function(e){return Ul.some(function(t){return e.includes(t)})};function zl(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Object.entries(e).reduce(function(r,i){var a,s=i[0],u=i[1];return x(x({},r),((a={})[s]=t.includes(s)?u:u==null?void 0:u.trim(),a))},{})}var Qe=function(e,t){var n=ia(e).country_code,r=qr[t];return r.type==="tel"&&(r=x(x({},r),{dialCode:n})),r},cr=function(e){var t=br(e);return x(x({},Qe(e,t)),{autocomplete:"username"})},un=function(e){return{confirmation_code:x(x({},Qe(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}},Gl={signIn:function(e){return{username:x({},cr(e)),password:x(x({},Qe(e,"password")),{autocomplete:"current-password"})}},signUp:function(e){for(var t=e.context.config,n=t.loginMechanisms,r=t.signUpAttributes,i=br(e),a={},s=0,u=Array.from(new Set(Ve(Ve(Ve([],n,!0),["password","confirm_password"],!1),r,!0)));s<u.length;s++){var c=u[s];if(ti(c)){var l=c===i?cr(e):Qe(e,c);a[c]=x({},l)}else console.debug("Authenticator does not have a default implementation for ".concat(c,". Customize SignUp FormFields to add your own."))}return a},confirmSignUp:function(e){return{confirmation_code:x(x({},Qe(e,"confirmation_code")),{placeholder:"Enter your code"})}},confirmSignIn:un,forceNewPassword:function(e){for(var t=Ae(e).context.requiredAttributes,n={},r=0,i=Array.from(new Set(Ve(["password","confirm_password"],t,!0)));r<i.length;r++){var a=i[r];ti(a)?n[a]=x({},Qe(e,a)):console.debug("Authenticator does not have a default implementation for ".concat(a,". Customize ForceNewPassword FormFields to add your own."))}return n},resetPassword:function(e){var t=br(e),n=qr[t].label;return{username:x(x({},cr(e)),{label:"Enter your ".concat(n.toLowerCase()),placeholder:"Enter your ".concat(n.toLowerCase())})}},confirmResetPassword:function(e){return x(x({},un(e)),{password:x(x({},Qe(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:x(x({},Qe(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})})},confirmVerifyUser:un,setupTOTP:un};function Hl(){this.__data__=[],this.size=0}var Wl=Hl;function Yl(e,t){return e===t||e!==e&&t!==t}var Jt=Yl,Kl=Jt;function ql(e,t){for(var n=e.length;n--;)if(Kl(e[n][0],t))return n;return-1}var zn=ql,Jl=zn,Zl=Array.prototype,Xl=Zl.splice;function Ql(e){var t=this.__data__,n=Jl(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():Xl.call(t,n,1),--this.size,!0}var ed=Ql,td=zn;function nd(e){var t=this.__data__,n=td(t,e);return n<0?void 0:t[n][1]}var rd=nd,od=zn;function id(e){return od(this.__data__,e)>-1}var ad=id,sd=zn;function ud(e,t){var n=this.__data__,r=sd(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}var cd=ud,ld=Wl,dd=ed,fd=rd,pd=ad,md=cd;function It(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}It.prototype.clear=ld;It.prototype.delete=dd;It.prototype.get=fd;It.prototype.has=pd;It.prototype.set=md;var Gn=It,hd=Gn;function gd(){this.__data__=new hd,this.size=0}var vd=gd;function yd(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}var wd=yd;function Sd(e){return this.__data__.get(e)}var _d=Sd;function bd(e){return this.__data__.has(e)}var Cd=bd,Ad=Le,Td=Ad["__core-js_shared__"],Id=Td,lr=Id,oi=function(){var e=/[^.]+$/.exec(lr&&lr.keys&&lr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Ed(e){return!!oi&&oi in e}var Pd=Ed,$d=Function.prototype,Nd=$d.toString;function kd(e){if(e!=null){try{return Nd.call(e)}catch{}try{return e+""}catch{}}return""}var ga=kd,xd=Hr,Od=Pd,Ud=je,Rd=ga,Fd=/[\\^$.*+?()[\]{}|]/g,Bd=/^\[object .+?Constructor\]$/,Dd=Function.prototype,Vd=Object.prototype,Md=Dd.toString,Ld=Vd.hasOwnProperty,jd=RegExp("^"+Md.call(Ld).replace(Fd,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function zd(e){if(!Ud(e)||Od(e))return!1;var t=xd(e)?jd:Bd;return t.test(Rd(e))}var Gd=zd;function Hd(e,t){return e==null?void 0:e[t]}var Wd=Hd,Yd=Gd,Kd=Wd;function qd(e,t){var n=Kd(e,t);return Yd(n)?n:void 0}var ct=qd,Jd=ct,Zd=Le,Xd=Jd(Zd,"Map"),Jr=Xd,Qd=ct,ef=Qd(Object,"create"),Hn=ef,ii=Hn;function tf(){this.__data__=ii?ii(null):{},this.size=0}var nf=tf;function rf(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var of=rf,af=Hn,sf="__lodash_hash_undefined__",uf=Object.prototype,cf=uf.hasOwnProperty;function lf(e){var t=this.__data__;if(af){var n=t[e];return n===sf?void 0:n}return cf.call(t,e)?t[e]:void 0}var df=lf,ff=Hn,pf=Object.prototype,mf=pf.hasOwnProperty;function hf(e){var t=this.__data__;return ff?t[e]!==void 0:mf.call(t,e)}var gf=hf,vf=Hn,yf="__lodash_hash_undefined__";function wf(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=vf&&t===void 0?yf:t,this}var Sf=wf,_f=nf,bf=of,Cf=df,Af=gf,Tf=Sf;function Et(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Et.prototype.clear=_f;Et.prototype.delete=bf;Et.prototype.get=Cf;Et.prototype.has=Af;Et.prototype.set=Tf;var If=Et,ai=If,Ef=Gn,Pf=Jr;function $f(){this.size=0,this.__data__={hash:new ai,map:new(Pf||Ef),string:new ai}}var Nf=$f;function kf(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var xf=kf,Of=xf;function Uf(e,t){var n=e.__data__;return Of(t)?n[typeof t=="string"?"string":"hash"]:n.map}var Wn=Uf,Rf=Wn;function Ff(e){var t=Rf(this,e).delete(e);return this.size-=t?1:0,t}var Bf=Ff,Df=Wn;function Vf(e){return Df(this,e).get(e)}var Mf=Vf,Lf=Wn;function jf(e){return Lf(this,e).has(e)}var zf=jf,Gf=Wn;function Hf(e,t){var n=Gf(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}var Wf=Hf,Yf=Nf,Kf=Bf,qf=Mf,Jf=zf,Zf=Wf;function Pt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Pt.prototype.clear=Yf;Pt.prototype.delete=Kf;Pt.prototype.get=qf;Pt.prototype.has=Jf;Pt.prototype.set=Zf;var Zr=Pt,Xf=Gn,Qf=Jr,ep=Zr,tp=200;function np(e,t){var n=this.__data__;if(n instanceof Xf){var r=n.__data__;if(!Qf||r.length<tp-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ep(r)}return n.set(e,t),this.size=n.size,this}var rp=np,op=Gn,ip=vd,ap=wd,sp=_d,up=Cd,cp=rp;function $t(e){var t=this.__data__=new op(e);this.size=t.size}$t.prototype.clear=ip;$t.prototype.delete=ap;$t.prototype.get=sp;$t.prototype.has=up;$t.prototype.set=cp;var Yn=$t;function lp(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var dp=lp,fp=ct,pp=function(){try{var e=fp(Object,"defineProperty");return e({},"",{}),e}catch{}}(),va=pp,si=va;function mp(e,t,n){t=="__proto__"&&si?si(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var Xr=mp,hp=Xr,gp=Jt,vp=Object.prototype,yp=vp.hasOwnProperty;function wp(e,t,n){var r=e[t];(!(yp.call(e,t)&&gp(r,n))||n===void 0&&!(t in e))&&hp(e,t,n)}var Qr=wp,Sp=Qr,_p=Xr;function bp(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var u=t[a],c=r?r(n[u],e[u],u,n,e):void 0;c===void 0&&(c=e[u]),i?_p(n,u,c):Sp(n,u,c)}return n}var Zt=bp,Cp=Zt,Ap=Ln;function Tp(e,t){return e&&Cp(t,Ap(t),e)}var Ip=Tp;function Ep(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Pp=Ep,$p=je,Np=Mn,kp=Pp,xp=Object.prototype,Op=xp.hasOwnProperty;function Up(e){if(!$p(e))return kp(e);var t=Np(e),n=[];for(var r in e)r=="constructor"&&(t||!Op.call(e,r))||n.push(r);return n}var Rp=Up,Fp=la,Bp=Rp,Dp=qt;function Vp(e){return Dp(e)?Fp(e,!0):Bp(e)}var Xt=Vp,Mp=Zt,Lp=Xt;function jp(e,t){return e&&Mp(t,Lp(t),e)}var zp=jp,En={exports:{}};(function(e,t){var n=Le,r=t&&!t.nodeType&&t,i=r&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===r,s=a?n.Buffer:void 0,u=s?s.allocUnsafe:void 0;function c(l,d){if(d)return l.slice();var m=l.length,f=u?u(m):new l.constructor(m);return l.copy(f),f}e.exports=c})(En,En.exports);function Gp(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var ya=Gp;function Hp(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var s=e[n];t(s,n,e)&&(a[i++]=s)}return a}var Wp=Hp;function Yp(){return[]}var wa=Yp,Kp=Wp,qp=wa,Jp=Object.prototype,Zp=Jp.propertyIsEnumerable,ui=Object.getOwnPropertySymbols,Xp=ui?function(e){return e==null?[]:(e=Object(e),Kp(ui(e),function(t){return Zp.call(e,t)}))}:qp,eo=Xp,Qp=Zt,em=eo;function tm(e,t){return Qp(e,em(e),t)}var nm=tm;function rm(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Sa=rm,om=da,im=om(Object.getPrototypeOf,Object),to=im,am=Sa,sm=to,um=eo,cm=wa,lm=Object.getOwnPropertySymbols,dm=lm?function(e){for(var t=[];e;)am(t,um(e)),e=sm(e);return t}:cm,_a=dm,fm=Zt,pm=_a;function mm(e,t){return fm(e,pm(e),t)}var hm=mm,gm=Sa,vm=Be;function ym(e,t,n){var r=t(e);return vm(e)?r:gm(r,n(e))}var ba=ym,wm=ba,Sm=eo,_m=Ln;function bm(e){return wm(e,_m,Sm)}var Ca=bm,Cm=ba,Am=_a,Tm=Xt;function Im(e){return Cm(e,Tm,Am)}var Aa=Im,Em=ct,Pm=Le,$m=Em(Pm,"DataView"),Nm=$m,km=ct,xm=Le,Om=km(xm,"Promise"),Um=Om,Rm=ct,Fm=Le,Bm=Rm(Fm,"Set"),Dm=Bm,Vm=ct,Mm=Le,Lm=Vm(Mm,"WeakMap"),jm=Lm,Cr=Nm,Ar=Jr,Tr=Um,Ir=Dm,Er=jm,Ta=Tt,Nt=ga,ci="[object Map]",zm="[object Object]",li="[object Promise]",di="[object Set]",fi="[object WeakMap]",pi="[object DataView]",Gm=Nt(Cr),Hm=Nt(Ar),Wm=Nt(Tr),Ym=Nt(Ir),Km=Nt(Er),at=Ta;(Cr&&at(new Cr(new ArrayBuffer(1)))!=pi||Ar&&at(new Ar)!=ci||Tr&&at(Tr.resolve())!=li||Ir&&at(new Ir)!=di||Er&&at(new Er)!=fi)&&(at=function(e){var t=Ta(e),n=t==zm?e.constructor:void 0,r=n?Nt(n):"";if(r)switch(r){case Gm:return pi;case Hm:return ci;case Wm:return li;case Ym:return di;case Km:return fi}return t});var Qt=at,qm=Object.prototype,Jm=qm.hasOwnProperty;function Zm(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Jm.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Xm=Zm,Qm=Le,eh=Qm.Uint8Array,Ia=eh,mi=Ia;function th(e){var t=new e.constructor(e.byteLength);return new mi(t).set(new mi(e)),t}var no=th,nh=no;function rh(e,t){var n=t?nh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var oh=rh,ih=/\w*$/;function ah(e){var t=new e.constructor(e.source,ih.exec(e));return t.lastIndex=e.lastIndex,t}var sh=ah,hi=Kt,gi=hi?hi.prototype:void 0,vi=gi?gi.valueOf:void 0;function uh(e){return vi?Object(vi.call(e)):{}}var ch=uh,lh=no;function dh(e,t){var n=t?lh(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Ea=dh,fh=no,ph=oh,mh=sh,hh=ch,gh=Ea,vh="[object Boolean]",yh="[object Date]",wh="[object Map]",Sh="[object Number]",_h="[object RegExp]",bh="[object Set]",Ch="[object String]",Ah="[object Symbol]",Th="[object ArrayBuffer]",Ih="[object DataView]",Eh="[object Float32Array]",Ph="[object Float64Array]",$h="[object Int8Array]",Nh="[object Int16Array]",kh="[object Int32Array]",xh="[object Uint8Array]",Oh="[object Uint8ClampedArray]",Uh="[object Uint16Array]",Rh="[object Uint32Array]";function Fh(e,t,n){var r=e.constructor;switch(t){case Th:return fh(e);case vh:case yh:return new r(+e);case Ih:return ph(e,n);case Eh:case Ph:case $h:case Nh:case kh:case xh:case Oh:case Uh:case Rh:return gh(e,n);case wh:return new r;case Sh:case Ch:return new r(e);case _h:return mh(e);case bh:return new r;case Ah:return hh(e)}}var Bh=Fh,Dh=je,yi=Object.create,Vh=function(){function e(){}return function(t){if(!Dh(t))return{};if(yi)return yi(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}(),Mh=Vh,Lh=Mh,jh=to,zh=Mn;function Gh(e){return typeof e.constructor=="function"&&!zh(e)?Lh(jh(e)):{}}var Pa=Gh,Hh=Qt,Wh=Ze,Yh="[object Map]";function Kh(e){return Wh(e)&&Hh(e)==Yh}var qh=Kh,Jh=qh,Zh=Kr,wi=Gt.exports,Si=wi&&wi.isMap,Xh=Si?Zh(Si):Jh,Qh=Xh,eg=Qt,tg=Ze,ng="[object Set]";function rg(e){return tg(e)&&eg(e)==ng}var og=rg,ig=og,ag=Kr,_i=Gt.exports,bi=_i&&_i.isSet,sg=bi?ag(bi):ig,ug=sg,cg=Yn,lg=dp,dg=Qr,fg=Ip,pg=zp,mg=En.exports,hg=ya,gg=nm,vg=hm,yg=Ca,wg=Aa,Sg=Qt,_g=Xm,bg=Bh,Cg=Pa,Ag=Be,Tg=ut.exports,Ig=Qh,Eg=je,Pg=ug,$g=Ln,Ng=Xt,kg=1,xg=2,Og=4,$a="[object Arguments]",Ug="[object Array]",Rg="[object Boolean]",Fg="[object Date]",Bg="[object Error]",Na="[object Function]",Dg="[object GeneratorFunction]",Vg="[object Map]",Mg="[object Number]",ka="[object Object]",Lg="[object RegExp]",jg="[object Set]",zg="[object String]",Gg="[object Symbol]",Hg="[object WeakMap]",Wg="[object ArrayBuffer]",Yg="[object DataView]",Kg="[object Float32Array]",qg="[object Float64Array]",Jg="[object Int8Array]",Zg="[object Int16Array]",Xg="[object Int32Array]",Qg="[object Uint8Array]",ev="[object Uint8ClampedArray]",tv="[object Uint16Array]",nv="[object Uint32Array]",re={};re[$a]=re[Ug]=re[Wg]=re[Yg]=re[Rg]=re[Fg]=re[Kg]=re[qg]=re[Jg]=re[Zg]=re[Xg]=re[Vg]=re[Mg]=re[ka]=re[Lg]=re[jg]=re[zg]=re[Gg]=re[Qg]=re[ev]=re[tv]=re[nv]=!0;re[Bg]=re[Na]=re[Hg]=!1;function _n(e,t,n,r,i,a){var s,u=t&kg,c=t&xg,l=t&Og;if(n&&(s=i?n(e,r,i,a):n(e)),s!==void 0)return s;if(!Eg(e))return e;var d=Ag(e);if(d){if(s=_g(e),!u)return hg(e,s)}else{var m=Sg(e),f=m==Na||m==Dg;if(Tg(e))return mg(e,u);if(m==ka||m==$a||f&&!i){if(s=c||f?{}:Cg(e),!u)return c?vg(e,pg(s,e)):gg(e,fg(s,e))}else{if(!re[m])return i?e:{};s=bg(e,m,u)}}a||(a=new cg);var h=a.get(e);if(h)return h;a.set(e,s),Pg(e)?e.forEach(function(_){s.add(_n(_,t,n,_,e,a))}):Ig(e)&&e.forEach(function(_,S){s.set(S,_n(_,t,n,S,e,a))});var p=l?c?wg:yg:c?Ng:$g,w=d?void 0:p(e);return lg(w||e,function(_,S){w&&(S=_,_=e[S]),dg(s,S,_n(_,t,n,S,e,a))}),s}var rv=_n,ov=rv,iv=1,av=4;function sv(e){return ov(e,iv|av)}var uv=sv,cv=function(e){for(var t=x({},e),n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],a=i[0],s=i[1],u=s.label,c=s.placeholder;t[a]=x(x({},s),{label:u?F(u):void 0,placeholder:c?F(c):void 0})}return t},lv=function(e){return Object.entries(e).sort(function(t,n){return(t[1].order||Number.MAX_VALUE)-(n[1].order||Number.MAX_VALUE)}).filter(function(t){return t[1]!==void 0})},dv=function(e,t){t===void 0&&(t={});var n=uv(e);return Object.keys(t).forEach(function(r){n[r]=x(x({},n[r]),t[r])}),n},fv=function(e,t){var n=(0,Gl[e])(t);return cv(n)},pv=function(e,t){var n,r,i=fv(e,t),a=((r=(n=Ae(t).context)===null||n===void 0?void 0:n.formFields)===null||r===void 0?void 0:r[e])||{},s=dv(i,a);return delete s.QR,s},mv=function(e){return e.map(function(t){return[t[0],x(x({},t[1]),{order:void 0})]})},hv=function(e,t){var n=pv(e,t);return mv(lv(n))},gv={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},xe={getBackToSignInText:function(){return F(G.BACK_SIGN_IN)},getChangePasswordText:function(){return F(G.CHANGE_PASSWORD)},getChangingText:function(){return F(G.CHANGING_PASSWORD)},getConfirmText:function(){return F(G.CONFIRM)},getConfirmingText:function(){return F(G.CONFIRMING)},getCopyText:function(){return F(G.UPPERCASE_COPY)},getHidePasswordText:function(){return F(G.HIDE_PASSWORD)},getLoadingText:function(){return F(G.LOADING)},getOrText:function(){return F(G.OR)},getResendCodeText:function(){return F(G.RESEND_CODE)},getSendCodeText:function(){return F(G.SEND_CODE)},getSendingText:function(){return F(G.SENDING)},getShowPasswordText:function(){return F(G.SHOW_PASSWORD)},getSubmitText:function(){return F(G.SUBMIT)},getSubmittingText:function(){return F(G.SUBMITTING)},getSignInTabText:function(){return F(G.SIGN_IN_TAB)},getSignUpTabText:function(){return F(G.CREATE_ACCOUNT)},getForgotPasswordText:function(e){return F(e?G.FORGOT_PASSWORD:G.FORGOT_YOUR_PASSWORD)},getSigningInText:function(){return F(G.SIGNING_IN_BUTTON)},getSignInText:function(){return F(G.SIGN_IN_BUTTON)},getCreatingAccountText:function(){return F(G.CREATING_ACCOUNT)},getCreateAccountText:function(){return F(G.CREATE_ACCOUNT)},getDeliveryMessageText:function(e){var t=e!=null?e:{},n=t.DeliveryMedium,r=t.Destination,i=n==="EMAIL",a=n==="SMS",s=F(G.CODE_ARRIVAL);if(!i&&!a)return"".concat(F(G.CODE_SENT),". ").concat(s,".");var u=F(i?G.CODE_EMAILED:G.CODE_TEXTED);return"".concat(u," ").concat(r,". ").concat(s,".")},getDeliveryMethodText:function(e){var t=(e!=null?e:{}).DeliveryMedium,n=t==="EMAIL";return F(n||t!=="SMS"?n?G.WE_EMAILED:G.WE_TEXTED:G.WE_SENT_CODE)},getChallengeText:function(e){switch(e){case"SMS_MFA":return F(G.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return F(G.CONFIRM_TOTP);default:throw new Error("".concat(F("Unexpected challengeName encountered in ConfirmSignIn:")," ").concat(e))}},getResetYourPasswordText:function(){return F(G.RESET_PASSWORD)},getSetupTOTPText:function(){return F(G.SETUP_TOTP)},getSetupTOTPInstructionsText:function(){return F("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below.")},getCopiedText:function(){return F("COPIED")},getSignInWithFederationText:function(e,t){return F("Sign ".concat(e==="signIn"?"In":"Up"," with ").concat(gv[t]))},getSkipText:function(){return F(G.SKIP)},getVerifyText:function(){return F(G.VERIFY)},getVerifyContactText:function(){return F(G.VERIFY_CONTACT)},getAccountRecoveryInfoText:function(){return F(G.VERIFY_HEADING)}};/*! *****************************************************************************
15
+ ***************************************************************************** */e.__assign=function(){return e.__assign=Object.assign||function(s){for(var u,c=1,l=arguments.length;c<l;c++){u=arguments[c];for(var d in u)Object.prototype.hasOwnProperty.call(u,d)&&(s[d]=u[d])}return s},e.__assign.apply(this,arguments)};function t(a,s){var u={};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&s.indexOf(c)<0&&(u[c]=a[c]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var l=0,c=Object.getOwnPropertySymbols(a);l<c.length;l++)s.indexOf(c[l])<0&&Object.prototype.propertyIsEnumerable.call(a,c[l])&&(u[c[l]]=a[c[l]]);return u}function n(a){var s=typeof Symbol=="function"&&Symbol.iterator,u=s&&a[s],c=0;if(u)return u.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}function r(a,s){var u=typeof Symbol=="function"&&a[Symbol.iterator];if(!u)return a;var c=u.call(a),l,d=[],p;try{for(;(s===void 0||s-- >0)&&!(l=c.next()).done;)d.push(l.value)}catch(f){p={error:f}}finally{try{l&&!l.done&&(u=c.return)&&u.call(c)}finally{if(p)throw p.error}}return d}function i(a,s,u){if(u||arguments.length===2)for(var c=0,l=s.length,d;c<l;c++)(d||!(c in s))&&(d||(d=Array.prototype.slice.call(s,0,c)),d[c]=s[c]);return a.concat(d||Array.prototype.slice.call(s))}e.__read=r,e.__rest=t,e.__spreadArray=i,e.__values=n})(na);Object.defineProperty(ta,"__esModule",{value:!0});var ai=na,iw={timeout:1e4};function aw(e,t,n){var r=ai.__assign(ai.__assign({},iw),n);return new Promise(function(i,a){var s=!1,u=r.timeout===1/0?void 0:setTimeout(function(){l.unsubscribe(),a(new Error("Timeout of ".concat(r.timeout," ms exceeded")))},r.timeout),c=function(){clearTimeout(u),s=!0,l==null||l.unsubscribe()},l=e.subscribe({next:function(d){t(d)&&(c(),i(d))},error:function(d){c(),a(d)},complete:function(){c(),a(new Error("Actor terminated without satisfying predicate"))}});s&&l.unsubscribe()})}var sw=ta.waitFor=aw,uw=function(e){var t=e.packageName,n=e.version;Xa.appendToCognitoUserAgent("".concat(t,"/").concat(n))},si=function(e){return F(void 0,void 0,void 0,function(){return M(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,sw(e,function(n){return ue(n).matches("autoSignIn")})];case 1:case 2:return t.sent(),[3,3];case 3:return[2]}})})},cw=function(e,t){return F(void 0,void 0,void 0,function(){var n,r,i;return M(this,function(a){switch(a.label){case 0:switch(n=t.send,r=t.getSnapshot(),e.payload.event){case"tokenRefresh":return[3,1];case"autoSignIn":return[3,2];case"autoSignIn_failure":return[3,5];case"signOut":case"tokenRefresh_failure":return[3,7]}return[3,8];case 1:return r.matches("authenticated.idle")&&n("TOKEN_REFRESH"),[3,9];case 2:return r.matches("authenticated")?[3,4]:[4,si(t)];case 3:a.sent(),(i=ue(t.getSnapshot()))!=null&&i.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN",data:e.payload.data}),a.label=4;case 4:return[3,9];case 5:return[4,si(t)];case 6:return a.sent(),(i=ue(t.getSnapshot()))!=null&&i.matches("autoSignIn")&&n({type:"AUTO_SIGN_IN_FAILURE",data:e.payload.data}),[3,9];case 7:return r.matches("authenticated.idle")&&n("SIGN_OUT"),[3,9];case 8:return[3,9];case 9:return[2]}})})},lw=function(e,t){return t===void 0&&(t=cw),Y.Hub.listen("auth",function(n,r){return function(i){r(i,n)}}(e,t),"authenticator-hub-handler")},dw=function(e){return rw.some(function(t){return e.includes(t)})},fw=function(e,t,n){return encodeURI("otpauth://totp/".concat(e,":").concat(t,"?secret=").concat(n,"&issuer=").concat(e))};function pw(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Object.entries(e).reduce(function(r,i){var a,s=i[0],u=i[1];return E(E({},r),((a={})[s]=t.includes(s)?u:u==null?void 0:u.trim(),a))},{})}var $e=function(e,t){var n=ar(e).country_code,r=mn[t];return r.type==="tel"&&(r=E(E({},r),{dialCode:n})),r},zt=function(e){var t=Wn(e);return E(E({},$e(e,t)),{autocomplete:"username"})},kt=function(e){return{confirmation_code:E(E({},$e(e,"confirmation_code")),{label:"Code *",placeholder:"Code"})}},mw={signIn:function(e){return{username:E({},zt(e)),password:E(E({},$e(e,"password")),{autocomplete:"current-password"})}},signUp:function(e){for(var t=e.context.config,n=t.loginMechanisms,r=t.signUpAttributes,i=Wn(e),a={},s=0,u=Array.from(new Set(Se(Se(Se([],n,!0),["password","confirm_password"],!1),r,!0)));s<u.length;s++){var c=u[s];if(ii(c)){var l=c===i?zt(e):$e(e,c);a[c]=E({},l)}else console.debug("Authenticator does not have a default implementation for ".concat(c,". Customize SignUp FormFields to add your own."))}return a},confirmSignUp:function(e){return{confirmation_code:E(E({},$e(e,"confirmation_code")),{placeholder:"Enter your code"})}},confirmSignIn:kt,forceNewPassword:function(e){for(var t=ue(e).context.requiredAttributes,n={},r=0,i=Array.from(new Set(Se(["password","confirm_password"],t,!0)));r<i.length;r++){var a=i[r];ii(a)?n[a]=E({},$e(e,a)):console.debug("Authenticator does not have a default implementation for ".concat(a,". Customize ForceNewPassword FormFields to add your own."))}return n},resetPassword:function(e){var t=Wn(e),n=mn[t].label;return{username:E(E({},zt(e)),{label:"Enter your ".concat(n.toLowerCase()),placeholder:"Enter your ".concat(n.toLowerCase())})}},confirmResetPassword:function(e){return E(E({},kt(e)),{password:E(E({},$e(e,"password")),{label:"New Password",placeholder:"New Password"}),confirm_password:E(E({},$e(e,"confirm_password")),{label:"Confirm Password",placeholder:"Confirm Password"})})},confirmVerifyUser:kt,setupTOTP:kt},hw=function(e){for(var t=E({},e),n=0,r=Object.entries(e);n<r.length;n++){var i=r[n],a=i[0],s=i[1],u=s.label,c=s.placeholder;t[a]=E(E({},s),{label:u?x(u):void 0,placeholder:c?x(c):void 0})}return t},gw=function(e){return Object.entries(e).sort(function(t,n){return(t[1].order||Number.MAX_VALUE)-(n[1].order||Number.MAX_VALUE)}).filter(function(t){return t[1]!==void 0})},vw=function(e,t){return(0,mw[e])(t)},yw=function(e,t){var n,r,i=(r=(n=ar(t))===null||n===void 0?void 0:n.formFields)===null||r===void 0?void 0:r[e];return i&&Object.keys(i).length!==0?Object.entries(i).reduce(function(a,s){var u,c,l,d=s[0],p=s[1];if(e!=="signIn"&&e!=="resetPassword"||d!=="username")return rs(d)?(f=mn[d],m=E(E({},f),p),E(E({},a),((c={})[d]=m,c))):E(E({},a),((l={})[d]=p,l));var f=zt(t),m=E(E({},f),p);return E(E({},a),((u={})[d]=m,u))},{}):{}},ww=function(e,t){var n=vw(e,t),r=yw(e,t),i=E(E({},n),r);return delete i.QR,hw(i)},Sw=function(e){return e.map(function(t){return[t[0],E(E({},t[1]),{order:void 0})]})},_w=function(e,t){var n=ww(e,t);return Sw(gw(n))},bw={amazon:"Amazon",apple:"Apple",facebook:"Facebook",google:"Google"},me={getBackToSignInText:function(){return x(R.BACK_SIGN_IN)},getChangePasswordText:function(){return x(R.CHANGE_PASSWORD)},getChangingText:function(){return x(R.CHANGING_PASSWORD)},getConfirmText:function(){return x(R.CONFIRM)},getConfirmingText:function(){return x(R.CONFIRMING)},getCopyText:function(){return x(R.UPPERCASE_COPY)},getHidePasswordText:function(){return x(R.HIDE_PASSWORD)},getLoadingText:function(){return x(R.LOADING)},getOrText:function(){return x(R.OR)},getResendCodeText:function(){return x(R.RESEND_CODE)},getSendCodeText:function(){return x(R.SEND_CODE)},getSendingText:function(){return x(R.SENDING)},getShowPasswordText:function(){return x(R.SHOW_PASSWORD)},getSubmitText:function(){return x(R.SUBMIT)},getSubmittingText:function(){return x(R.SUBMITTING)},getSignInTabText:function(){return x(R.SIGN_IN_TAB)},getSignUpTabText:function(){return x(R.CREATE_ACCOUNT)},getForgotPasswordText:function(e){return x(e?R.FORGOT_PASSWORD:R.FORGOT_YOUR_PASSWORD)},getSigningInText:function(){return x(R.SIGNING_IN_BUTTON)},getSignInText:function(){return x(R.SIGN_IN_BUTTON)},getCreatingAccountText:function(){return x(R.CREATING_ACCOUNT)},getCreateAccountText:function(){return x(R.CREATE_ACCOUNT)},getDeliveryMessageText:function(e){var t=e!=null?e:{},n=t.DeliveryMedium,r=t.Destination,i=n==="EMAIL",a=n==="SMS",s=x(R.CODE_ARRIVAL);if(!i&&!a)return"".concat(x(R.CODE_SENT),". ").concat(s,".");var u=x(i?R.CODE_EMAILED:R.CODE_TEXTED);return"".concat(u," ").concat(r,". ").concat(s,".")},getDeliveryMethodText:function(e){var t=(e!=null?e:{}).DeliveryMedium,n=t==="EMAIL";return x(n||t!=="SMS"?n?R.WE_EMAILED:R.WE_TEXTED:R.WE_SENT_CODE)},getChallengeText:function(e){switch(e){case"SMS_MFA":return x(R.CONFIRM_SMS);case"SOFTWARE_TOKEN_MFA":return x(R.CONFIRM_TOTP);default:throw new Error("".concat(x("Unexpected challengeName encountered in ConfirmSignIn:")," ").concat(e))}},getResetYourPasswordText:function(){return x(R.RESET_PASSWORD)},getSetupTOTPText:function(){return x(R.SETUP_TOTP)},getSetupTOTPInstructionsText:function(){return x("Copy and paste the secret key below into an authenticator app and then enter the code in the text field below.")},getCopiedText:function(){return x("COPIED")},getSignInWithFederationText:function(e,t){return x("Sign ".concat(e==="signIn"?"In":"Up"," with ").concat(bw[t]))},getSkipText:function(){return x(R.SKIP)},getVerifyText:function(){return x(R.VERIFY)},getVerifyContactText:function(){return x(R.VERIFY_CONTACT)},getAccountRecoveryInfoText:function(){return x(R.VERIFY_HEADING)}};/*! *****************************************************************************
16
16
  Copyright (c) Microsoft Corporation.
17
17
 
18
18
  Permission to use, copy, modify, and/or distribute this software for any
@@ -25,14 +25,14 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
25
25
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
26
26
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
27
27
  PERFORMANCE OF THIS SOFTWARE.
28
- ***************************************************************************** */var E=function(){return E=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},E.apply(this,arguments)};function ro(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function W(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Y(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(u){s={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return a}function oe(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var ne;(function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"})(ne||(ne={}));var Je;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(Je||(Je={}));var Pr=ne.Start,oo=ne.Stop,vt=ne.Raise,yt=ne.Send,xa=ne.Cancel,vv=ne.NullEvent,io=ne.Assign;ne.After;ne.DoneState;var Oa=ne.Log,yv=ne.Init,$r=ne.Invoke;ne.ErrorExecution;var Ci=ne.ErrorPlatform,wv=ne.ErrorCustom,ao=ne.Update,Sv=ne.Choose,_v=ne.Pure,Ua=".",Ai={},Nr="xstate.guard",bv="",Ra=!0,cn;function so(e,t,n){n===void 0&&(n=Ua);var r=jt(e,n),i=jt(t,n);return X(i)?X(r)?i===r:!1:X(r)?r in i:Object.keys(r).every(function(a){return a in i?so(r[a],i[a]):!1})}function Fa(e){try{return X(e)||typeof e=="number"?"".concat(e):e.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function kr(e,t){try{return kt(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function Cv(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function jt(e,t){if(Cv(e))return e.value;if(kt(e))return Pn(e);if(typeof e!="string")return e;var n=kr(e,t);return Pn(n)}function Pn(e){if(e.length===1)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function Vt(e,t){for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var a=r[i];n[a]=t(e[a],a,e,i)}return n}function Ti(e,t,n){var r,i,a={};try{for(var s=W(Object.keys(e)),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c];!n(l)||(a[c]=t(l,c,e))}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}var Av=function(e){return function(t){var n,r,i=t;try{for(var a=W(e),s=a.next();!s.done;s=a.next()){var u=s.value;i=i[u]}}catch(c){n={error:c}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}};function Tv(e,t){return function(n){var r,i,a=n;try{for(var s=W(e),u=s.next();!u.done;u=s.next()){var c=u.value;a=a[t][c]}}catch(l){r={error:l}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}}function bn(e){if(!e)return[[]];if(X(e))return[[e]];var t=de(Object.keys(e).map(function(n){var r=e[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:bn(e[n]).map(function(i){return[n].concat(i)})}));return t}function de(e){var t;return(t=[]).concat.apply(t,oe([],Y(e),!1))}function Ba(e){return kt(e)?e:[e]}function Re(e){return e===void 0?[]:Ba(e)}function $n(e,t,n){var r,i;if(te(e))return e(t,n.data);var a={};try{for(var s=W(Object.keys(e)),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c];te(l)?a[c]=l(t,n.data):a[c]=l}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}function Iv(e){return/^(done|error)\./.test(e)}function Ii(e){return!!(e instanceof Promise||e!==null&&(te(e)||typeof e=="object")&&te(e.then))}function Ev(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Pv(e,t){var n,r,i=Y([[],[]],2),a=i[0],s=i[1];try{for(var u=W(e),c=u.next();!c.done;c=u.next()){var l=c.value;t(l)?a.push(l):s.push(l)}}catch(d){n={error:d}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return[a,s]}function Da(e,t){return Vt(e.states,function(n,r){if(!!n){var i=(X(t)?void 0:t[r])||(n?n.current:void 0);if(!!i)return{current:i,states:Da(n,i)}}})}function $v(e,t){return{current:t,states:Da(e,t)}}function Ei(e,t,n,r){var i=e&&n.reduce(function(a,s){var u,c,l=s.assignment,d={state:r,action:s,_event:t},m={};if(te(l))m=l(a,t.data,d);else try{for(var f=W(Object.keys(l)),h=f.next();!h.done;h=f.next()){var p=h.value,w=l[p];m[p]=te(w)?w(a,t.data,d):w}}catch(_){u={error:_}}finally{try{h&&!h.done&&(c=f.return)&&c.call(f)}finally{if(u)throw u.error}}return Object.assign({},a,m)},e);return i}var Nv=function(){};function kt(e){return Array.isArray(e)}function te(e){return typeof e=="function"}function X(e){return typeof e=="string"}function Va(e,t){if(!!e)return X(e)?{type:Nr,name:e,predicate:t?t[e]:void 0}:te(e)?{type:Nr,name:e.name,predicate:e}:e}function kv(e){try{return"subscribe"in e&&te(e.subscribe)}catch{return!1}}var et=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();cn={},cn[et]=function(){return this},cn[Symbol.observable]=function(){return this};function wt(e){return!!e&&"__xstatenode"in e}function xv(e){return!!e&&typeof e.send=="function"}var Ov=function(){var e=0;return function(){return e++,e.toString(16)}}();function uo(e,t){return X(e)||typeof e=="number"?E({type:e},t):e}function Se(e,t){if(!X(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=uo(e);return E({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function dt(e,t){var n=Ba(t).map(function(r){return typeof r=="undefined"||typeof r=="string"||wt(r)?{target:r,event:e}:E(E({},r),{event:e})});return n}function Uv(e){if(!(e===void 0||e===bv))return Re(e)}function Ma(e,t,n,r,i){var a=e.options.guards,s={state:i,cond:t,_event:r};if(t.type===Nr)return((a==null?void 0:a[t.name])||t.predicate)(n,r.data,s);var u=a==null?void 0:a[t.type];if(!u)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return u(n,r.data,s)}function La(e){return typeof e=="string"?{type:e}:e}function Cn(e,t,n){var r=function(){},i=typeof e=="object",a=i?e:null;return{next:((i?e.next:e)||r).bind(a),error:((i?e.error:t)||r).bind(a),complete:((i?e.complete:n)||r).bind(a)}}function ln(e,t){return"".concat(e,":invocation[").concat(t,"]")}var gt=Se({type:yv});function xr(e,t){return t&&t[e]||void 0}function Ht(e,t){var n;if(X(e)||typeof e=="number"){var r=xr(e,t);te(r)?n={type:e,exec:r}:r?n=r:n={type:e,exec:void 0}}else if(te(e))n={type:e.name||e.toString(),exec:e};else{var r=xr(e.type,t);if(te(r))n=E(E({},e),{exec:r});else if(r){var i=r.type||e.type;n=E(E(E({},r),e),{type:i})}else n=e}return n}var tt=function(e,t){if(!e)return[];var n=kt(e)?e:[e];return n.map(function(r){return Ht(r,t)})};function co(e){var t=Ht(e);return E(E({id:X(e)?e:t.id},t),{type:t.type})}function Rv(e){return X(e)?{type:vt,event:e}:Kn(e,{to:Je.Internal})}function Fv(e){return{type:vt,_event:Se(e.event)}}function Kn(e,t){return{to:t?t.to:void 0,type:yt,event:te(e)?e:uo(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:te(e)?e.name:Fa(e)}}function Bv(e,t,n,r){var i={_event:n},a=Se(te(e.event)?e.event(t,n.data,i):e.event),s;if(X(e.delay)){var u=r&&r[e.delay];s=te(u)?u(t,n.data,i):u}else s=te(e.delay)?e.delay(t,n.data,i):e.delay;var c=te(e.to)?e.to(t,n.data,i):e.to;return E(E({},e),{to:c,_event:a,event:a.data,delay:s})}function Dv(e,t){return Kn(e,E(E({},t),{to:Je.Parent}))}function Vv(){return Dv(ao)}var Mv=function(e,t,n){return E(E({},e),{value:X(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},Lv=function(e){return{type:xa,sendId:e}};function jv(e){var t=co(e);return{type:ne.Start,activity:t,exec:void 0}}function zv(e){var t=te(e)?e:co(e);return{type:ne.Stop,activity:t,exec:void 0}}function Gv(e,t,n){var r=te(e.activity)?e.activity(t,n.data):e.activity,i=typeof r=="string"?{id:r}:r,a={type:ne.Stop,activity:i};return a}var Hv=function(e){return{type:io,assignment:e}};function Wv(e,t){var n=t?"#".concat(t):"";return"".concat(ne.After,"(").concat(e,")").concat(n)}function dn(e,t){var n="".concat(ne.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function An(e,t){var n="".concat(ne.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Mt(e,t){var n="".concat(ne.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Yv(e,t){return Kn(function(n,r){return r},E(E({},t),{to:e}))}var Kv=function(e){var t,n,r=[];try{for(var i=W(e),a=i.next();!a.done;a=i.next())for(var s=a.value,u=0;u<s.length;){if(s[u].type===io){r.push(s[u]),s.splice(u,1);continue}u++}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r};function Nn(e,t,n,r,i,a,s){s===void 0&&(s=!1);var u=s?[]:Kv(i),c=u.length?Ei(n,r,u,t):n,l=s?[n]:void 0,d=[];function m(p){var w;switch(p.type){case vt:return Fv(p);case yt:var _=Bv(p,c,r,e.options.delays);return a&&_.to!==Je.Internal&&d.push(_),_;case Oa:{var S=Mv(p,c,r);return a==null||a(S,c,r),S}case Sv:{var v=p,g=(w=v.conds.find(function(D){var L=Va(D.cond,e.options.guards);return!L||Ma(e,L,c,r,a?void 0:t)}))===null||w===void 0?void 0:w.actions;if(!g)return[];var b=Y(Nn(e,t,c,r,[tt(Re(g),e.options.actions)],a,s),2),C=b[0],A=b[1];return c=A,l==null||l.push(c),C}case _v:{var g=p.get(c,r.data);if(!g)return[];var I=Y(Nn(e,t,c,r,[tt(Re(g),e.options.actions)],a,s),2),P=I[0],U=I[1];return c=U,l==null||l.push(c),P}case oo:{var S=Gv(p,c,r);return a==null||a(S,n,r),S}case io:{c=Ei(c,r,[p],a?void 0:t),l==null||l.push(c);break}default:var T=Ht(p,e.options.actions),k=T.exec;if(a)a(T,c,r);else if(k&&l){var M=l.length-1;T=E(E({},T),{exec:function(D){for(var L=[],j=1;j<arguments.length;j++)L[j-1]=arguments[j];k.apply(void 0,oe([l[M]],Y(L),!1))}})}return T}}function f(p){var w,_,S=[];try{for(var v=W(p),g=v.next();!g.done;g=v.next()){var b=g.value,C=m(b);C&&(S=S.concat(C))}}catch(A){w={error:A}}finally{try{g&&!g.done&&(_=v.return)&&_.call(v)}finally{if(w)throw w.error}}return d.forEach(function(A){a(A,c,r)}),d.length=0,S}var h=de(i.map(f));return[h,c]}var kn=[],mt=function(e,t){kn.push(e);var n=t(e);return kn.pop(),n},qv=function(e){return e(kn[kn.length-1])};function ja(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[et]=function(){return this},t}function Jv(e,t,n,r){var i,a=La(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],u=e.data?$n(e.data,n,r):void 0,c=s?lo(s,e.id,u):ja(e.id);return c.meta=e,c}function lo(e,t,n){var r=ja(t);if(r.deferred=!0,wt(e)){var i=r.state=mt(void 0,function(){return(n?e.withContext(n):e).initialState});r.getSnapshot=function(){return i}}return r}function Zv(e){try{return typeof e.send=="function"}catch{return!1}}function Xv(e){return Zv(e)&&"id"in e}function Qv(e){var t;return E((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[et]=function(){return this},t),e)}var xn=function(e){return e.type==="atomic"||e.type==="final"};function za(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function Wt(e){return za(e).filter(function(t){return t.type!=="history"})}function Ga(e){var t=[e];return xn(e)?t:t.concat(de(Wt(e).map(Ga)))}function Lt(e,t){var n,r,i,a,s,u,c,l,d=new Set(e),m=Or(d),f=new Set(t);try{for(var h=W(f),p=h.next();!p.done;p=h.next())for(var w=p.value,_=w.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(U){n={error:U}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}var S=Or(f);try{for(var v=W(f),g=v.next();!g.done;g=v.next()){var w=g.value;if(w.type==="compound"&&(!S.get(w)||!S.get(w).length))m.get(w)?m.get(w).forEach(function(T){return f.add(T)}):w.initialStateNodes.forEach(function(T){return f.add(T)});else if(w.type==="parallel")try{for(var b=(s=void 0,W(Wt(w))),C=b.next();!C.done;C=b.next()){var A=C.value;f.has(A)||(f.add(A),m.get(A)?m.get(A).forEach(function(T){return f.add(T)}):A.initialStateNodes.forEach(function(T){return f.add(T)}))}}catch(T){s={error:T}}finally{try{C&&!C.done&&(u=b.return)&&u.call(b)}finally{if(s)throw s.error}}}}catch(U){i={error:U}}finally{try{g&&!g.done&&(a=v.return)&&a.call(v)}finally{if(i)throw i.error}}try{for(var I=W(f),P=I.next();!P.done;P=I.next())for(var w=P.value,_=w.parent;_&&!f.has(_);)f.add(_),_=_.parent}catch(U){c={error:U}}finally{try{P&&!P.done&&(l=I.return)&&l.call(I)}finally{if(c)throw c.error}}return f}function Ha(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var r=n[0];if(r){if(xn(r))return r.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=Ha(a,t)}),i}function Or(e){var t,n,r=new Map;try{for(var i=W(e),a=i.next();!a.done;a=i.next()){var s=a.value;r.has(s)||r.set(s,[]),s.parent&&(r.has(s.parent)||r.set(s.parent,[]),r.get(s.parent).push(s))}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function ey(e,t){var n=Lt([e],t);return Ha(e,Or(n))}function ht(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function ty(e){return oe([],Y(new Set(de(oe([],Y(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Tn(e,t){return t.type==="compound"?Wt(t).some(function(n){return n.type==="final"&&ht(e,n)}):t.type==="parallel"?Wt(t).every(function(n){return Tn(e,n)}):!1}function ny(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function Pi(e){return new Set(de(e.map(function(t){return t.tags})))}function Wa(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(X(e)||X(t))return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(i){return Wa(e[i],t[i])})}function ry(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function oy(e,t){var n=e.exec,r=E(E({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return r}var Fe=function(){function e(t){var n=this,r;this.actions=[],this.activities=Ai,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||Ai,this.meta=ny(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=(r=Array.isArray(t.tags)?new Set(t.tags):t.tags)!==null&&r!==void 0?r:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return ty(n.configuration)}})}return e.from=function(t,n){if(t instanceof e)return t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t;var r=gt;return new e({value:t,context:n,_event:r,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){if(t instanceof e){if(!t.actions.length)return t;var r=gt;return new e({value:t.value,context:n,_event:r,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,n)},e.prototype.toStrings=function(t,n){var r=this;if(t===void 0&&(t=this.value),n===void 0&&(n="."),X(t))return[t];var i=Object.keys(t);return i.concat.apply(i,oe([],Y(i.map(function(a){return r.toStrings(t[a],n).map(function(s){return a+n+s})})),!1))},e.prototype.toJSON=function(){var t=this;t.configuration,t.transitions;var n=t.tags;t.machine;var r=ro(t,["configuration","transitions","tags","machine"]);return E(E({},r),{tags:Array.from(n)})},e.prototype.matches=function(t){return so(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;Ra&&Nv(!!this.machine);var r=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,t);return!!(r!=null&&r.transitions.length)&&r.transitions.some(function(i){return i.target!==void 0||i.actions.length})},e}(),iy={deferEvents:!1},$i=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=E(E({},iy),t)}return e.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents){this.schedule(t);return}this.process(t)}this.flushEvents()},e.prototype.schedule=function(t){if(!this.initialized||this.processingEvent){this.queue.push(t);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},e.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(n){throw this.clear(),n}finally{this.processingEvent=!1}},e}(),dr=new Map,ay=0,fn={bookId:function(){return"x:".concat(ay++)},register:function(e,t){return dr.set(e,t),e},get:function(e){return dr.get(e)},free:function(e){dr.delete(e)}};function fo(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global}function sy(){var e=fo();if(e&&"__xstate__"in e)return e.__xstate__}function uy(e){if(!!fo()){var t=sy();t&&t.register(e)}}function cy(e,t){t===void 0&&(t={});var n=e.initialState,r=new Set,i=[],a=!1,s=function(){if(!a){for(a=!0;i.length>0;){var l=i.shift();n=e.transition(n,l,c),r.forEach(function(d){return d.next(n)})}a=!1}},u=Qv({id:t.id,send:function(l){i.push(l),s()},getSnapshot:function(){return n},subscribe:function(l,d,m){var f=Cn(l,d,m);return r.add(f),f.next(n),{unsubscribe:function(){r.delete(f)}}}}),c={parent:t.parent,self:u,id:t.id||"anonymous",observers:r};return n=e.start?e.start(c):n,u}var Ur={sync:!1,autoForward:!1},we;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(we||(we={}));var ly=function(){function e(t,n){n===void 0&&(n=e.defaultOptions);var r=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=we.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,m){if(kt(d))return r.batch(d),r.state;var f=Se(uo(d,m));if(r.status===we.Stopped)return r.state;if(r.status!==we.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(f.name,'" was sent to uninitialized service "').concat(r.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
29
- Event: `).concat(JSON.stringify(f.data)));return r.scheduler.schedule(function(){r.forward(f);var h=r._nextState(f);r.update(h,f)}),r._state},this.sendTo=function(d,m,f){var h=r.parent&&(m===Je.Parent||r.parent.id===m),p=h?r.parent:X(m)?r.children.get(m)||fn.get(m):xv(m)?m:void 0;if(!p){if(!h)throw new Error("Unable to send event to child '".concat(m,"' from service '").concat(r.id,"'."));return}if("machine"in p){if(r.status!==we.Stopped||r.parent!==p||r.state.done){var w=E(E({},d),{name:d.name===wv?"".concat(Mt(r.id)):d.name,origin:r.sessionId});!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([p,w]):p.send(w)}}else!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([p,d.data]):p.send(d.data)},this._exec=function(d,m,f,h){h===void 0&&(h=r.machine.options.actions);var p=d.exec||xr(d.type,h),w=te(p)?p:p?p.exec:d.exec;if(w)try{return w(m,f.data,r.machine.config.predictableActionArguments?{action:d,_event:f}:{action:d,state:r.state,_event:f})}catch(M){throw r.parent&&r.parent.send({type:"xstate.error",data:M}),M}switch(d.type){case yt:var _=d;if(typeof _.delay=="number"){r.defer(_);return}else _.to?r.sendTo(_._event,_.to,f===gt):r.send(_._event);break;case xa:r.cancel(d.sendId);break;case Pr:{if(r.status!==we.Running)return;var S=d.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[S.id||S.type])break;if(S.type===ne.Invoke){var v=La(S.src),g=r.machine.options.services?r.machine.options.services[v.type]:void 0,b=S.id,C=S.data,A="autoForward"in S?S.autoForward:!!S.forward;if(!g)return;var I=C?$n(C,m,f):void 0;if(typeof g=="string")return;var P=te(g)?g(m,f.data,{data:I,src:v,meta:S.meta}):g;if(!P)return;var U=void 0;wt(P)&&(P=I?P.withContext(I):P,U={autoForward:A}),r.spawn(P,b,U)}else r.spawnActivity(S);break}case oo:{r.stopChild(d.activity.id);break}case Oa:var T=d.label,k=d.value;T?r.logger(T,k):r.logger(k);break}};var i=E(E({},e.defaultOptions),n),a=i.clock,s=i.logger,u=i.parent,c=i.id,l=c!==void 0?c:t.id;this.id=l,this.logger=s,this.clock=a,this.parent=u,this.options=i,this.scheduler=new $i({deferEvents:this.options.deferEvents}),this.sessionId=fn.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:mt(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(t,n){var r,i;try{for(var a=W(t.actions),s=a.next();!s.done;s=a.next()){var u=s.value;this.exec(u,t,n)}}catch(c){r={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}},e.prototype.update=function(t,n){var r,i,a,s,u,c,l,d,m=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||n===gt)&&this.options.execute)this.execute(this.state);else for(var f=void 0;f=this._outgoingQueue.shift();)f[0].send(f[1]);if(this.children.forEach(function(U){m.state.children[U.id]=U}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var h=W(this.eventListeners),p=h.next();!p.done;p=h.next()){var w=p.value;w(t.event)}}catch(U){r={error:U}}finally{try{p&&!p.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}try{for(var _=W(this.listeners),S=_.next();!S.done;S=_.next()){var w=S.value;w(t,t.event)}}catch(U){a={error:U}}finally{try{S&&!S.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}try{for(var v=W(this.contextListeners),g=v.next();!g.done;g=v.next()){var b=g.value;b(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(U){u={error:U}}finally{try{g&&!g.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}if(this.state.done){var C=t.configuration.find(function(U){return U.type==="final"&&U.parent===m.machine}),A=C&&C.doneData?$n(C.doneData,t.context,n):void 0;try{for(var I=W(this.doneListeners),P=I.next();!P.done;P=I.next()){var w=P.value;w(An(this.id,A))}}catch(U){l={error:U}}finally{try{P&&!P.done&&(d=I.return)&&d.call(I)}finally{if(l)throw l.error}}this._stop(),this._stopChildren()}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===we.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,r){var i=this,a=Cn(t,n,r);this.listeners.add(a.next),this.status!==we.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===we.Stopped?a.complete():(this.onDone(s),this.onStop(s)),{unsubscribe:function(){i.listeners.delete(a.next),i.doneListeners.delete(s),i.stopListeners.delete(s)}}},e.prototype.onEvent=function(t){return this.eventListeners.add(t),this},e.prototype.onSend=function(t){return this.sendListeners.add(t),this},e.prototype.onChange=function(t){return this.contextListeners.add(t),this},e.prototype.onStop=function(t){return this.stopListeners.add(t),this},e.prototype.onDone=function(t){return this.doneListeners.add(t),this},e.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},e.prototype.start=function(t){var n=this;if(this.status===we.Running)return this;this.machine._init(),fn.register(this.sessionId,this),this.initialized=!0,this.status=we.Running;var r=t===void 0?this.initialState:mt(this,function(){return ry(t)?n.machine.resolveState(t):n.machine.resolveState(Fe.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,gt)}),this},e.prototype._stopChildren=function(){this.children.forEach(function(t){te(t.stop)&&t.stop()}),this.children.clear()},e.prototype._stop=function(){var t,n,r,i,a,s,u,c,l,d;try{for(var m=W(this.listeners),f=m.next();!f.done;f=m.next()){var h=f.value;this.listeners.delete(h)}}catch(I){t={error:I}}finally{try{f&&!f.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}try{for(var p=W(this.stopListeners),w=p.next();!w.done;w=p.next()){var h=w.value;h(),this.stopListeners.delete(h)}}catch(I){r={error:I}}finally{try{w&&!w.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}try{for(var _=W(this.contextListeners),S=_.next();!S.done;S=_.next()){var h=S.value;this.contextListeners.delete(h)}}catch(I){a={error:I}}finally{try{S&&!S.done&&(s=_.return)&&s.call(_)}finally{if(a)throw a.error}}try{for(var v=W(this.doneListeners),g=v.next();!g.done;g=v.next()){var h=g.value;this.doneListeners.delete(h)}}catch(I){u={error:I}}finally{try{g&&!g.done&&(c=v.return)&&c.call(v)}finally{if(u)throw u.error}}if(!this.initialized)return this;this.initialized=!1,this.status=we.Stopped,this._initialState=void 0;try{for(var b=W(Object.keys(this.delayedEventsMap)),C=b.next();!C.done;C=b.next()){var A=C.value;this.clock.clearTimeout(this.delayedEventsMap[A])}}catch(I){l={error:I}}finally{try{C&&!C.done&&(d=b.return)&&d.call(b)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new $i({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=Se({type:"xstate.stop"}),i=mt(t,function(){var a=de(oe([],Y(t.state.configuration),!1).sort(function(d,m){return m.order-d.order}).map(function(d){return tt(d.onExit,t.machine.options.actions)})),s=Y(Nn(t.machine,t.state,t.state.context,r,[a],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),u=s[0],c=s[1],l=new Fe({value:t.state.value,context:c,_event:r,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:u.filter(function(d){return d.type!==vt&&(d.type!==yt||!!d.to&&d.to!==Je.Internal)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return l.changed=!0,l});t.update(i,r),t._stopChildren(),fn.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(!(this.status===we.NotStarted&&this.options.deferEvents)){if(this.status!==we.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'))}if(!!t.length){var r=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,a,s=n.state,u=!1,c=[],l=function(h){var p=Se(h);n.forward(p),s=mt(n,function(){return n.machine.transition(s,p,void 0,r||void 0)}),c.push.apply(c,oe([],Y(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(w){return oy(w,s)})),!1)),u=u||!!s.changed};try{for(var d=W(t),m=d.next();!m.done;m=d.next()){var f=m.value;l(f)}}catch(h){i={error:h}}finally{try{m&&!m.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=u,s.actions=c,n.update(s,Se(t[t.length-1]))})}},e.prototype.sender=function(t){return this.send.bind(this,t)},e.prototype._nextState=function(t,n){var r=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var i=Se(t);if(i.name.indexOf(Ci)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(Ci)===0}))throw i.data.data;var a=mt(this,function(){return r.machine.transition(r.state,i,void 0,n||void 0)});return a},e.prototype.nextState=function(t){return this._nextState(t,!1)},e.prototype.forward=function(t){var n,r;try{for(var i=W(this.forwardTo),a=i.next();!a.done;a=i.next()){var s=a.value,u=this.children.get(s);if(!u)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));u.send(t)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.defer=function(t){var n=this;this.delayedEventsMap[t.id]=this.clock.setTimeout(function(){t.to?n.sendTo(t._event,t.to,!0):n.send(t._event)},t.delay)},e.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},e.prototype.exec=function(t,n,r){r===void 0&&(r=this.machine.options.actions),this._exec(t,n.context,n._event,r)},e.prototype.removeChild=function(t){var n;this.children.delete(t),this.forwardTo.delete(t),(n=this.state)===null||n===void 0||delete n.children[t]},e.prototype.stopChild=function(t){var n=this.children.get(t);!n||(this.removeChild(t),te(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,r){if(this.status!==we.Running)return lo(t,n);if(Ii(t))return this.spawnPromise(Promise.resolve(t),n);if(te(t))return this.spawnCallback(t,n);if(Xv(t))return this.spawnActor(t,n);if(kv(t))return this.spawnObservable(t,n);if(wt(t))return this.spawnMachine(t,E(E({},r),{id:n}));if(Ev(t))return this.spawnBehavior(t,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof t,'".'))},e.prototype.spawnMachine=function(t,n){var r=this;n===void 0&&(n={});var i=new e(t,E(E({},this.options),{parent:this,id:n.id||t.id})),a=E(E({},Ur),n);a.sync&&i.onTransition(function(u){r.send(ao,{state:u,id:i.id})});var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(u){r.removeChild(i.id),r.send(Se(u,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var r=cy(t,{id:n,parent:this});return this.children.set(n,r),r},e.prototype.spawnPromise=function(t,n){var r,i=this,a=!1,s;t.then(function(c){a||(s=c,i.removeChild(n),i.send(Se(An(n,c),{origin:n})))},function(c){if(!a){i.removeChild(n);var l=Mt(n,c);try{i.send(Se(l,{origin:n}))}catch{i.devTools&&i.devTools.send(l,i.state),i.machine.strict&&i.stop()}}});var u=(r={id:n,send:function(){},subscribe:function(c,l,d){var m=Cn(c,l,d),f=!1;return t.then(function(h){f||(m.next(h),!f&&m.complete())},function(h){f||m.error(h)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[et]=function(){return this},r);return this.children.set(n,u),u},e.prototype.spawnCallback=function(t,n){var r,i=this,a=!1,s=new Set,u=new Set,c,l=function(f){c=f,u.forEach(function(h){return h(f)}),!a&&i.send(Se(f,{origin:n}))},d;try{d=t(l,function(f){s.add(f)})}catch(f){this.send(Mt(n,f))}if(Ii(d))return this.spawnPromise(d,n);var m=(r={id:n,send:function(f){return s.forEach(function(h){return h(f)})},subscribe:function(f){var h=Cn(f);return u.add(h.next),{unsubscribe:function(){u.delete(h.next)}}},stop:function(){a=!0,te(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return c}},r[et]=function(){return this},r);return this.children.set(n,m),m},e.prototype.spawnObservable=function(t,n){var r,i=this,a,s=t.subscribe(function(c){a=c,i.send(Se(c,{origin:n}))},function(c){i.removeChild(n),i.send(Se(Mt(n,c),{origin:n}))},function(){i.removeChild(n),i.send(Se(An(n),{origin:n}))}),u=(r={id:n,send:function(){},subscribe:function(c,l,d){return t.subscribe(c,l,d)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return{id:n}}},r[et]=function(){return this},r);return this.children.set(n,u),u},e.prototype.spawnActor=function(t,n){return this.children.set(n,t),t},e.prototype.spawnActivity=function(t){var n=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(!!n){var r=n(this.state.context,t);this.spawnEffect(t.id,r)}},e.prototype.spawnEffect=function(t,n){var r;this.children.set(t,(r={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}},r[et]=function(){return this},r))},e.prototype.attachDev=function(){var t=fo();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var n=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(E(E({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:E({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}uy(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[et]=function(){return this},e.prototype.getSnapshot=function(){return this.status===we.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(t,n){return setTimeout(t,n)},clearTimeout:function(t){return clearTimeout(t)}},logger:console.log.bind(console),devTools:!1},e.interpret=Ya,e}(),dy=function(e){return X(e)?E(E({},Ur),{name:e}):E(E(E({},Ur),{name:Ov()}),e)};function pn(e,t){var n=dy(t);return qv(function(r){return r?r.spawn(e,n.name,n):lo(e,n.name)})}function Ya(e,t){var n=new ly(e,t);return n}function fy(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function mn(e){return E(E({type:$r},e),{toJSON:function(){e.onDone,e.onError;var t=ro(e,["onDone","onError"]);return E(E({},t),{type:$r,src:fy(e.src)})}})}var hn="",Rr="#",fr="*",ft={},pt=function(e){return e[0]===Rr},py=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},my=function(){function e(t,n,r,i){r===void 0&&(r="context"in t?t.context:void 0);var a=this,s;this.config=t,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(py(),n),this.parent=i==null?void 0:i.parent,this.key=this.config.key||(i==null?void 0:i.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:Ua),this.id=this.config.id||oe([this.machine.key],Y(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(s=this.config.schema)!==null&&s!==void 0?s:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?Vt(this.config.states,function(l,d){var m,f=new e(l,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,E((m={},m[f.id]=f,m),f.idMap)),f}):ft;var u=0;function c(l){var d,m;l.order=u++;try{for(var f=W(za(l)),h=f.next();!h.done;h=f.next()){var p=h.value;c(p)}}catch(w){d={error:w}}finally{try{h&&!h.done&&(m=f.return)&&m.call(f)}finally{if(d)throw d.error}}}c(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(l){var d=l.event;return d===hn}):hn in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=Re(this.config.entry||this.config.onEntry).map(function(l){return Ht(l)}),this.onExit=Re(this.config.exit||this.config.onExit).map(function(l){return Ht(l)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=Re(this.config.invoke).map(function(l,d){var m,f;if(wt(l)){var h=ln(a.id,d);return a.machine.options.services=E((m={},m[h]=l,m),a.machine.options.services),mn({src:h,id:h})}else if(X(l.src)){var h=l.id||ln(a.id,d);return mn(E(E({},l),{id:h,src:l.src}))}else if(wt(l.src)||te(l.src)){var h=l.id||ln(a.id,d);return a.machine.options.services=E((f={},f[h]=l.src,f),a.machine.options.services),mn(E(E({id:h},l),{src:h}))}else{var p=l.src;return mn(E(E({id:ln(a.id,d)},l),{src:p}))}}),this.activities=Re(this.config.activities).concat(this.invoke).map(function(l){return co(l)}),this.transition=this.transition.bind(this),this.tags=Re(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||Ga(this).forEach(function(t){return t.on})},e.prototype.withConfig=function(t,n){var r=this.options,i=r.actions,a=r.activities,s=r.guards,u=r.services,c=r.delays;return new e(this.config,{actions:E(E({},i),t.actions),activities:E(E({},a),t.activities),guards:E(E({},s),t.guards),services:E(E({},u),t.services),delays:E(E({},c),t.delays)},n!=null?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return te(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:Vt(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(n,r){return n[r.eventType]=n[r.eventType]||[],n[r.eventType].push(r),n},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var n=t===hn,r=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===fr});return this.__cache.candidates[t]=r,r},e.prototype.getDelayedTransitions=function(){var t=this,n=this.config.after;if(!n)return[];var r=function(a,s){var u=te(a)?"".concat(t.id,":delay[").concat(s,"]"):a,c=Wv(u,t.id);return t.onEntry.push(Kn(c,{delay:a})),t.onExit.push(Lv(c)),c},i=kt(n)?n.map(function(a,s){var u=r(a.delay,s);return E(E({},a),{event:u})}):de(Object.keys(n).map(function(a,s){var u=n[a],c=X(u)?{target:u}:u,l=isNaN(+a)?a:+a,d=r(l,s);return Re(c).map(function(m){return E(E({},m),{event:d,delay:l})})}));return i.map(function(a){var s=a.delay;return E(E({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,r=this;if(!t)return[];var i=t instanceof Fe?t.value:jt(t,this.delimiter);if(X(i)){var a=this.getStateNode(i).initial;return a!==void 0?this.getStateNodes((n={},n[i]=a,n)):[this,this.states[i]]}var s=Object.keys(i),u=[this];return u.push.apply(u,oe([],Y(de(s.map(function(c){return r.getStateNode(c).getStateNodes(i[c])}))),!1)),u},e.prototype.handles=function(t){var n=Fa(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof Fe?t:Fe.create(t),r=Array.from(Lt([],this.getStateNodes(n.value)));return new Fe(E(E({},n),{value:this.resolve(n.value),configuration:r,done:Tn(r,this),tags:Pi(r),machine:this.machine}))},e.prototype.transitionLeafNode=function(t,n,r){var i=this.getStateNode(t),a=i.next(n,r);return!a||!a.transitions.length?this.next(n,r):a},e.prototype.transitionCompoundNode=function(t,n,r){var i=Object.keys(t),a=this.getStateNode(i[0]),s=a._transition(t[i[0]],n,r);return!s||!s.transitions.length?this.next(n,r):s},e.prototype.transitionParallelNode=function(t,n,r){var i,a,s={};try{for(var u=W(Object.keys(t)),c=u.next();!c.done;c=u.next()){var l=c.value,d=t[l];if(!!d){var m=this.getStateNode(l),f=m._transition(d,n,r);f&&(s[l]=f)}}}catch(v){i={error:v}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}var h=Object.keys(s).map(function(v){return s[v]}),p=de(h.map(function(v){return v.transitions})),w=h.some(function(v){return v.transitions.length>0});if(!w)return this.next(n,r);var _=de(h.map(function(v){return v.entrySet})),S=de(Object.keys(s).map(function(v){return s[v].configuration}));return{transitions:p,entrySet:_,exitSet:de(h.map(function(v){return v.exitSet})),configuration:S,source:n,actions:de(Object.keys(s).map(function(v){return s[v].actions}))}},e.prototype._transition=function(t,n,r){return X(t)?this.transitionLeafNode(t,n,r):Object.keys(t).length===1?this.transitionCompoundNode(t,n,r):this.transitionParallelNode(t,n,r)},e.prototype.getTransitionData=function(t,n){return this._transition(t.value,t,Se(n))},e.prototype.next=function(t,n){var r,i,a=this,s=n.name,u=[],c=[],l;try{for(var d=W(this.getCandidates(s)),m=d.next();!m.done;m=d.next()){var f=m.value,h=f.cond,p=f.in,w=t.context,_=p?X(p)&&pt(p)?t.matches(jt(this.getStateNodeById(p).path,this.delimiter)):so(jt(p,this.delimiter),Av(this.path.slice(0,-2))(t.value)):!0,S=!1;try{S=!h||Ma(this.machine,h,w,n,t)}catch(C){throw new Error("Unable to evaluate guard '".concat(h.name||h.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
30
- `).concat(C.message))}if(S&&_){f.target!==void 0&&(c=f.target),u.push.apply(u,oe([],Y(f.actions),!1)),l=f;break}}}catch(C){r={error:C}}finally{try{m&&!m.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}if(!!l){if(!c.length)return{transitions:[l],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:u};var v=de(c.map(function(C){return a.getRelativeStateNodes(C,t.historyValue)})),g=!!l.internal,b=[];return g||c.forEach(function(C){b.push.apply(b,oe([],Y(a.getExternalReentryNodes(C)),!1))}),{transitions:[l],entrySet:b,exitSet:g?[]:[this],configuration:v,source:t,actions:u}}},e.prototype.getExternalReentryNodes=function(t){for(var n=[],r=Y(t.order>this.order?[t,this]:[this,t],2),i=r[0],a=r[1];i&&i!==a;)n.push(i),i=i.parent;return i!==a?[]:(n.push(a),n)},e.prototype.getActions=function(t,n,r,i,a,s,u){var c,l,d,m,f=this,h=Lt([],s?this.getStateNodes(s.value):[this]);try{for(var p=W(t),w=p.next();!w.done;w=p.next()){var _=w.value;(!ht(h,_)||ht(r.entrySet,_.parent)&&!ht(r.entrySet,_))&&r.entrySet.push(_)}}catch(T){c={error:T}}finally{try{w&&!w.done&&(l=p.return)&&l.call(p)}finally{if(c)throw c.error}}try{for(var S=W(h),v=S.next();!v.done;v=S.next()){var _=v.value;(!ht(t,_)||ht(r.exitSet,_.parent))&&r.exitSet.push(_)}}catch(T){d={error:T}}finally{try{v&&!v.done&&(m=S.return)&&m.call(S)}finally{if(d)throw d.error}}var g=de(r.entrySet.map(function(T){var k=[];if(T.type!=="final")return k;var M=T.parent;if(!M.parent)return k;k.push(dn(T.id,T.doneData),dn(M.id,T.doneData?$n(T.doneData,i,a):void 0));var D=M.parent;return D.type==="parallel"&&Wt(D).every(function(L){return Tn(r.configuration,L)})&&k.push(dn(D.id)),k}));r.exitSet.sort(function(T,k){return k.order-T.order}),r.entrySet.sort(function(T,k){return T.order-k.order});var b=new Set(r.entrySet),C=new Set(r.exitSet),A=Array.from(b).map(function(T){var k=T.onEntry,M=T.activities.map(function(D){return jv(D)});return tt(u?oe(oe([],Y(k),!1),Y(M),!1):oe(oe([],Y(M),!1),Y(k),!1),f.machine.options.actions)}).concat([g.map(Rv)]),I=Array.from(C).map(function(T){return tt(oe(oe([],Y(T.onExit),!1),Y(T.activities.map(function(k){return zv(k)})),!1),f.machine.options.actions)}),P=I.concat([tt(r.actions,this.machine.options.actions)]).concat(A);if(n){var U=tt(de(oe([],Y(t),!1).sort(function(T,k){return k.order-T.order}).map(function(T){return T.onExit})),this.machine.options.actions).filter(function(T){return T.type!==vt&&(T.type!==yt||!!T.to&&T.to!==Je.Internal)});return P.concat([U])}return P},e.prototype.transition=function(t,n,r,i){t===void 0&&(t=this.initialState);var a=Se(n),s;if(t instanceof Fe)s=r===void 0?t:this.resolveState(Fe.from(t,r));else{var u=X(t)?this.resolve(Pn(this.getResolvedPath(t))):this.resolve(t),c=r!=null?r:this.machine.context;s=this.resolveState(Fe.from(u,c))}if(this.strict&&!this.events.includes(a.name)&&!Iv(a.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(a.name,"'"));var l=this._transition(s.value,s,a)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:s,actions:[]},d=Lt([],this.getStateNodes(s.value)),m=l.configuration.length?Lt(d,l.configuration):d;return l.configuration=oe([],Y(m),!1),this.resolveTransition(l,s,s.context,i,a)},e.prototype.resolveRaisedTransition=function(t,n,r,i){var a,s=t.actions;return t=this.transition(t,n,void 0,i),t._event=r,t.event=r.data,(a=t.actions).unshift.apply(a,oe([],Y(s),!1)),t},e.prototype.resolveTransition=function(t,n,r,i,a){var s,u,c,l,d=this;a===void 0&&(a=gt);var m=t.configuration,f=!n||t.transitions.length>0,h=f?t.configuration:n?n.configuration:[],p=Tn(h,this),w=f?ey(this.machine,m):void 0,_=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,S=this.getActions(new Set(h),p,t,r,a,n,i),v=n?E({},n.activities):{};try{for(var g=W(S),b=g.next();!b.done;b=g.next()){var C=b.value;try{for(var A=(c=void 0,W(C)),I=A.next();!I.done;I=A.next()){var P=I.value;P.type===Pr?v[P.activity.id||P.activity.type]=P:P.type===oo&&(v[P.activity.id||P.activity.type]=!1)}}catch(pe){c={error:pe}}finally{try{I&&!I.done&&(l=A.return)&&l.call(A)}finally{if(c)throw c.error}}}}catch(pe){s={error:pe}}finally{try{b&&!b.done&&(u=g.return)&&u.call(g)}finally{if(s)throw s.error}}var U=Y(Nn(this,n,r,a,S,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),T=U[0],k=U[1],M=Y(Pv(T,function(pe){return pe.type===vt||pe.type===yt&&pe.to===Je.Internal}),2),D=M[0],L=M[1],j=T.filter(function(pe){var De;return pe.type===Pr&&((De=pe.activity)===null||De===void 0?void 0:De.type)===$r}),fe=j.reduce(function(pe,De){return pe[De.activity.id]=Jv(De.activity,d.machine,k,a),pe},n?E({},n.children):{}),ve=new Fe({value:w||n.value,context:k,_event:a,_sessionid:n?n._sessionid:null,historyValue:w?_?$v(_,w):void 0:n?n.historyValue:void 0,history:!w||t.source?n:void 0,actions:w?L:[],activities:w?v:n?n.activities:{},events:[],configuration:h,transitions:t.transitions,children:fe,done:p,tags:Pi(h),machine:this}),Te=r!==k;ve.changed=a.name===ao||Te;var be=ve.history;be&&delete be.history;var qe=!p&&(this._transient||m.some(function(pe){return pe._transient}));if(!f&&(!qe||a.name===hn))return ve;var Ce=ve;if(!p)for(qe&&(Ce=this.resolveRaisedTransition(Ce,{type:vv},a,i));D.length;){var Ut=D.shift();Ce=this.resolveRaisedTransition(Ce,Ut._event,a,i)}var Rt=Ce.changed||(be?!!Ce.actions.length||Te||typeof be.value!=typeof Ce.value||!Wa(Ce.value,be.value):void 0);return Ce.changed=Rt,Ce.history=be,Ce},e.prototype.getStateNode=function(t){if(pt(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var n=this.states[t];if(!n)throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return n},e.prototype.getStateNodeById=function(t){var n=pt(t)?t.slice(Rr.length):t;if(n===this.id)return this;var r=this.machine.idMap[n];if(!r)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return r},e.prototype.getStateNodeByPath=function(t){if(typeof t=="string"&&pt(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=kr(t,this.delimiter).slice(),r=this;n.length;){var i=n.shift();if(!i.length)break;r=r.getStateNode(i)}return r},e.prototype.resolve=function(t){var n,r=this;if(!t)return this.initialStateValue||ft;switch(this.type){case"parallel":return Vt(this.initialStateValue,function(a,s){return a?r.getStateNode(s).resolve(t[s]||a):ft});case"compound":if(X(t)){var i=this.getStateNode(t);return i.type==="parallel"||i.type==="compound"?(n={},n[t]=i.initialStateValue,n):t}return Object.keys(t).length?Vt(t,function(a,s){return a?r.getStateNode(s).resolve(a):ft}):this.initialStateValue||{};default:return t||ft}},e.prototype.getResolvedPath=function(t){if(pt(t)){var n=this.machine.idMap[t.slice(Rr.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return kr(t,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var n;if(this.type==="parallel")n=Ti(this.states,function(r){return r.initialStateValue||ft},function(r){return r.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));n=xn(this.states[this.initial])?this.initial:(t={},t[this.initial]=this.states[this.initial].initialStateValue,t)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(t,n){this._init();var r=this.getStateNodes(t);return this.resolveTransition({configuration:r,entrySet:r,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,n!=null?n:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var t;if(this.type==="history"){var n=this.config;X(n.target)?t=pt(n.target)?Pn(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target:t=n.target}return t},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(t,n,r){return r===void 0&&(r=!0),r?t.type==="history"?t.resolveHistory(n):t.initialStateNodes:[t]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var t=this;if(xn(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=bn(this.initialStateValue);return de(n.map(function(r){return t.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=Y(t),r=n[0],i=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var a=this.getStateNode(r);if(a.type==="history")return a.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(i)},e.prototype.historyValue=function(t){if(!!Object.keys(this.states).length)return{current:t||this.initialStateValue,states:Ti(this.states,function(n,r){if(!t)return n.historyValue();var i=X(t)?void 0:t[r];return n.historyValue(i||n.initialStateValue)},function(n){return!n.history})}},e.prototype.resolveHistory=function(t){var n=this;if(this.type!=="history")return[this];var r=this.parent;if(!t){var i=this.target;return i?de(bn(i).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var a=Tv(r.path,"states")(t).current;return X(a)?[r.getStateNode(a)]:de(bn(a).map(function(s){return n.history==="deep"?r.getFromRelativePath(s):[r.states[s[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var t=this,n=de(Object.keys(this.states).map(function(r){return t.states[r].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var t,n,r,i;if(this.__cache.events)return this.__cache.events;var a=this.states,s=new Set(this.ownEvents);if(a)try{for(var u=W(Object.keys(a)),c=u.next();!c.done;c=u.next()){var l=c.value,d=a[l];if(d.states)try{for(var m=(r=void 0,W(d.events)),f=m.next();!f.done;f=m.next()){var h=f.value;s.add("".concat(h))}}catch(p){r={error:p}}finally{try{f&&!f.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}}}catch(p){t={error:p}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(n){return!(!n.target&&!n.actions.length&&n.internal)}).map(function(n){return n.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(t){var n=this;if(t!==void 0)return t.map(function(r){if(!X(r))return r;var i=r[0]===n.delimiter;if(i&&!n.parent)return n.getStateNodeByPath(r.slice(1));var a=i?n.key+r:r;if(n.parent)try{var s=n.parent.getStateNodeByPath(a);return s}catch(u){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
31
- `).concat(u.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,r=Uv(t.target),i="internal"in t?t.internal:r?r.some(function(c){return X(c)&&c[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(r),u=E(E({},t),{actions:tt(Re(t.actions)),cond:Va(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return E(E({},u),{target:u.target?u.target.map(function(c){return"#".concat(c.id)}):void 0,source:"#".concat(n.id)})}});return u},e.prototype.formatTransitions=function(){var t,n,r=this,i;if(!this.config.on)i=[];else if(Array.isArray(this.config.on))i=this.config.on;else{var a=this.config.on,s=fr,u=a[s],c=u===void 0?[]:u,l=ro(a,[typeof s=="symbol"?s:s+""]);i=de(Object.keys(l).map(function(v){var g=dt(v,l[v]);return g}).concat(dt(fr,c)))}var d=this.config.always?dt("",this.config.always):[],m=this.config.onDone?dt(String(dn(this.id)),this.config.onDone):[],f=de(this.invoke.map(function(v){var g=[];return v.onDone&&g.push.apply(g,oe([],Y(dt(String(An(v.id)),v.onDone)),!1)),v.onError&&g.push.apply(g,oe([],Y(dt(String(Mt(v.id)),v.onError)),!1)),g})),h=this.after,p=de(oe(oe(oe(oe([],Y(m),!1),Y(f),!1),Y(i),!1),Y(d),!1).map(function(v){return Re(v).map(function(g){return r.formatTransition(g)})}));try{for(var w=W(h),_=w.next();!_.done;_=w.next()){var S=_.value;p.push(S)}}catch(v){t={error:v}}finally{try{_&&!_.done&&(n=w.return)&&n.call(w)}finally{if(t)throw t.error}}return p},e}(),Ni=!1;function en(e,t){return!Ra&&!e.predictableActionArguments&&!Ni&&(Ni=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new my(e,t)}var ke=Hv,po=Vv,hy=Yv,Z={},mo={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ActionTypes=void 0,function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"}(e.ActionTypes||(e.ActionTypes={})),e.SpecialTargets=void 0,function(t){t.Parent="#_parent",t.Internal="#_internal"}(e.SpecialTargets||(e.SpecialTargets={}))})(mo);var me={};Object.defineProperty(me,"__esModule",{value:!0});var ge=mo,gy=ge.ActionTypes.Start,vy=ge.ActionTypes.Stop,yy=ge.ActionTypes.Raise,wy=ge.ActionTypes.Send,Sy=ge.ActionTypes.Cancel,_y=ge.ActionTypes.NullEvent,by=ge.ActionTypes.Assign,Cy=ge.ActionTypes.After,Ay=ge.ActionTypes.DoneState,Ty=ge.ActionTypes.Log,Iy=ge.ActionTypes.Init,Ey=ge.ActionTypes.Invoke,Py=ge.ActionTypes.ErrorExecution,$y=ge.ActionTypes.ErrorPlatform,Ny=ge.ActionTypes.ErrorCustom,ky=ge.ActionTypes.Update,xy=ge.ActionTypes.Choose,Oy=ge.ActionTypes.Pure;me.after=Cy;me.assign=by;me.cancel=Sy;me.choose=xy;me.doneState=Ay;me.error=Ny;me.errorExecution=Py;me.errorPlatform=$y;me.init=Iy;me.invoke=Ey;me.log=Ty;me.nullEvent=_y;me.pure=Oy;me.raise=yy;me.send=wy;me.start=gy;me.stop=vy;me.update=ky;var Ka={},xt={};Object.defineProperty(xt,"__esModule",{value:!0});var Uy=".",Ry={},Fy="xstate.guard",By="";xt.DEFAULT_GUARD_TYPE=Fy;xt.EMPTY_ACTIVITY_MAP=Ry;xt.STATE_DELIMITER=Uy;xt.TARGETLESS_KEY=By;var qn={};Object.defineProperty(qn,"__esModule",{value:!0});var Dy=!0;qn.IS_PRODUCTION=Dy;(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=jn,n=xt,r=qn,i;function a(y){return Object.keys(y)}function s(y,N,R){R===void 0&&(R=n.STATE_DELIMITER);var O=m(y,R),B=m(N,R);return fe(B)?fe(O)?B===O:!1:fe(O)?O in B:Object.keys(O).every(function(V){return V in B?s(O[V],B[V]):!1})}function u(y){try{return fe(y)||typeof y=="number"?"".concat(y):y.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function c(y){try{return fe(y)||typeof y=="number"?"".concat(y):j(y)?y.name:y.type}catch{throw new Error("Actions must be strings or objects with a string action.type property.")}}function l(y,N){try{return L(y)?y:y.toString().split(N)}catch{throw new Error("'".concat(y,"' is not a valid state path."))}}function d(y){return typeof y=="object"&&"value"in y&&"context"in y&&"event"in y&&"_event"in y}function m(y,N){if(d(y))return y.value;if(L(y))return f(y);if(typeof y!="string")return y;var R=l(y,N);return f(R)}function f(y){if(y.length===1)return y[0];for(var N={},R=N,O=0;O<y.length-1;O++)O===y.length-2?R[y[O]]=y[O+1]:(R[y[O]]={},R=R[y[O]]);return N}function h(y,N){for(var R={},O=Object.keys(y),B=0;B<O.length;B++){var V=O[B];R[V]=N(y[V],V,y,B)}return R}function p(y,N,R){var O,B,V={};try{for(var H=t.__values(Object.keys(y)),z=H.next();!z.done;z=H.next()){var ee=z.value,ie=y[ee];!R(ie)||(V[ee]=N(ie,ee,y))}}catch(Ee){O={error:Ee}}finally{try{z&&!z.done&&(B=H.return)&&B.call(H)}finally{if(O)throw O.error}}return V}var w=function(y){return function(N){var R,O,B=N;try{for(var V=t.__values(y),H=V.next();!H.done;H=V.next()){var z=H.value;B=B[z]}}catch(ee){R={error:ee}}finally{try{H&&!H.done&&(O=V.return)&&O.call(V)}finally{if(R)throw R.error}}return B}};function _(y,N){return function(R){var O,B,V=R;try{for(var H=t.__values(y),z=H.next();!z.done;z=H.next()){var ee=z.value;V=V[N][ee]}}catch(ie){O={error:ie}}finally{try{z&&!z.done&&(B=H.return)&&B.call(H)}finally{if(O)throw O.error}}return V}}function S(y){if(!y)return[[]];if(fe(y))return[[y]];var N=g(Object.keys(y).map(function(R){var O=y[R];return typeof O!="string"&&(!O||!Object.keys(O).length)?[[R]]:S(y[R]).map(function(B){return[R].concat(B)})}));return N}function v(y){var N,R,O={};if(y&&y.length===1&&y[0].length===1)return y[0][0];try{for(var B=t.__values(y),V=B.next();!V.done;V=B.next())for(var H=V.value,z=O,ee=0;ee<H.length;ee++){var ie=H[ee];if(ee===H.length-2){z[ie]=H[ee+1];break}z[ie]=z[ie]||{},z=z[ie]}}catch(Ee){N={error:Ee}}finally{try{V&&!V.done&&(R=B.return)&&R.call(B)}finally{if(N)throw N.error}}return O}function g(y){var N;return(N=[]).concat.apply(N,t.__spreadArray([],t.__read(y),!1))}function b(y){return L(y)?y:[y]}function C(y){return y===void 0?[]:b(y)}function A(y,N,R){var O,B;if(j(y))return y(N,R.data);var V={};try{for(var H=t.__values(Object.keys(y)),z=H.next();!z.done;z=H.next()){var ee=z.value,ie=y[ee];j(ie)?V[ee]=ie(N,R.data):V[ee]=ie}}catch(Ee){O={error:Ee}}finally{try{z&&!z.done&&(B=H.return)&&B.call(H)}finally{if(O)throw O.error}}return V}function I(y){return/^(done|error)\./.test(y)}function P(y){return!!(y instanceof Promise||y!==null&&(j(y)||typeof y=="object")&&j(y.then))}function U(y){return y!==null&&typeof y=="object"&&"transition"in y&&typeof y.transition=="function"}function T(y,N){var R,O,B=t.__read([[],[]],2),V=B[0],H=B[1];try{for(var z=t.__values(y),ee=z.next();!ee.done;ee=z.next()){var ie=ee.value;N(ie)?V.push(ie):H.push(ie)}}catch(Ee){R={error:Ee}}finally{try{ee&&!ee.done&&(O=z.return)&&O.call(z)}finally{if(R)throw R.error}}return[V,H]}function k(y,N){return h(y.states,function(R,O){if(!!R){var B=(fe(N)?void 0:N[O])||(R?R.current:void 0);if(!!B)return{current:B,states:k(R,B)}}})}function M(y,N){return{current:N,states:k(y,N)}}function D(y,N,R,O){r.IS_PRODUCTION||e.warn(!!y,"Attempting to update undefined context");var B=y&&R.reduce(function(V,H){var z,ee,ie=H.assignment,Ee={state:O,action:H,_event:N},lt={};if(j(ie))lt=ie(V,N.data,Ee);else try{for(var it=t.__values(Object.keys(ie)),Xe=it.next();!Xe.done;Xe=it.next()){var ae=Xe.value,ce=ie[ae];lt[ae]=j(ce)?ce(V,N.data,Ee):ce}}catch(Bt){z={error:Bt}}finally{try{Xe&&!Xe.done&&(ee=it.return)&&ee.call(it)}finally{if(z)throw z.error}}return Object.assign({},V,lt)},y);return B}e.warn=function(){},r.IS_PRODUCTION||(e.warn=function(y,N){var R=y instanceof Error?y:void 0;if(!(!R&&y)&&console!==void 0){var O=["Warning: ".concat(N)];R&&O.push(R),console.warn.apply(console,O)}});function L(y){return Array.isArray(y)}function j(y){return typeof y=="function"}function fe(y){return typeof y=="string"}function ve(y,N){if(!!y)return fe(y)?{type:n.DEFAULT_GUARD_TYPE,name:y,predicate:N?N[y]:void 0}:j(y)?{type:n.DEFAULT_GUARD_TYPE,name:y.name,predicate:y}:y}function Te(y){try{return"subscribe"in y&&j(y.subscribe)}catch{return!1}}var be=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),qe=(i={},i[be]=function(){return this},i[Symbol.observable]=function(){return this},i);function Ce(y){return!!y&&"__xstatenode"in y}function Ut(y){return!!y&&typeof y.send=="function"}var Rt=function(){var y=0;return function(){return y++,y.toString(16)}}();function pe(y,N){return fe(y)||typeof y=="number"?t.__assign({type:y},N):y}function De(y,N){if(!fe(y)&&"$$type"in y&&y.$$type==="scxml")return y;var R=pe(y);return t.__assign({name:R.type,data:R,$$type:"scxml",type:"external"},N)}function ar(y,N){var R=b(N).map(function(O){return typeof O=="undefined"||typeof O=="string"||Ce(O)?{target:O,event:y}:t.__assign(t.__assign({},O),{event:y})});return R}function sr(y){if(!(y===void 0||y===n.TARGETLESS_KEY))return C(y)}function on(y,N,R){if(!r.IS_PRODUCTION){var O=y.stack?" Stacktrace was '".concat(y.stack,"'"):"";if(y===N)console.error("Missing onError handler for invocation '".concat(R,"', error was '").concat(y,"'.").concat(O));else{var B=N.stack?" Stacktrace was '".concat(N.stack,"'"):"";console.error("Missing onError handler and/or unhandled exception/promise rejection for invocation '".concat(R,"'. ")+"Original error: '".concat(y,"'. ").concat(O," Current error is '").concat(N,"'.").concat(B))}}}function an(y,N,R,O,B){var V=y.options.guards,H={state:B,cond:N,_event:O};if(N.type===n.DEFAULT_GUARD_TYPE)return((V==null?void 0:V[N.name])||N.predicate)(R,O.data,H);var z=V==null?void 0:V[N.type];if(!z)throw new Error("Guard '".concat(N.type,"' is not implemented on machine '").concat(y.id,"'."));return z(R,O.data,H)}function Ft(y){return typeof y=="string"?{type:y}:y}function ur(y,N,R){var O=function(){},B=typeof y=="object",V=B?y:null;return{next:((B?y.next:y)||O).bind(V),error:((B?y.error:N)||O).bind(V),complete:((B?y.complete:R)||O).bind(V)}}function $(y,N){return"".concat(y,":invocation[").concat(N,"]")}e.createInvokeId=$,e.evaluateGuard=an,e.flatten=g,e.getActionType=c,e.getEventType=u,e.interopSymbols=qe,e.isActor=Ut,e.isArray=L,e.isBehavior=U,e.isBuiltInEvent=I,e.isFunction=j,e.isMachine=Ce,e.isObservable=Te,e.isPromiseLike=P,e.isStateLike=d,e.isString=fe,e.keys=a,e.mapContext=A,e.mapFilterValues=p,e.mapValues=h,e.matchesState=s,e.nestedPath=_,e.normalizeTarget=sr,e.partition=T,e.path=w,e.pathToStateValue=f,e.pathsToStateValue=v,e.reportUnhandledExceptionOnInvocation=on,e.symbolObservable=be,e.toArray=C,e.toArrayStrict=b,e.toEventObject=pe,e.toGuard=ve,e.toInvokeSource=Ft,e.toObserver=ur,e.toSCXMLEvent=De,e.toStatePath=l,e.toStatePaths=S,e.toStateValue=m,e.toTransitionConfigArray=ar,e.uniqueId=Rt,e.updateContext=D,e.updateHistoryStates=k,e.updateHistoryValue=M})(Ka);Object.defineProperty(Z,"__esModule",{value:!0});var Q=jn,Pe=mo,he=me,J=Ka,qa=qn,Vy=J.toSCXMLEvent({type:he.init});function Fr(e,t){return t&&t[e]||void 0}function Jn(e,t){var n;if(J.isString(e)||typeof e=="number"){var r=Fr(e,t);J.isFunction(r)?n={type:e,exec:r}:r?n=r:n={type:e,exec:void 0}}else if(J.isFunction(e))n={type:e.name||e.toString(),exec:e};else{var r=Fr(e.type,t);if(J.isFunction(r))n=Q.__assign(Q.__assign({},e),{exec:r});else if(r){var i=r.type||e.type;n=Q.__assign(Q.__assign(Q.__assign({},r),e),{type:i})}else n=e}return n}var Br=function(e,t){if(!e)return[];var n=J.isArray(e)?e:[e];return n.map(function(r){return Jn(r,t)})};function ho(e){var t=Jn(e);return Q.__assign(Q.__assign({id:J.isString(e)?e:t.id},t),{type:t.type})}function My(e){return J.isString(e)?{type:he.raise,event:e}:Ot(e,{to:Pe.SpecialTargets.Internal})}function Ja(e){return{type:he.raise,_event:J.toSCXMLEvent(e.event)}}function Ot(e,t){return{to:t?t.to:void 0,type:he.send,event:J.isFunction(e)?e:J.toEventObject(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:J.isFunction(e)?e.name:J.getEventType(e)}}function Za(e,t,n,r){var i={_event:n},a=J.toSCXMLEvent(J.isFunction(e.event)?e.event(t,n.data,i):e.event),s;if(J.isString(e.delay)){var u=r&&r[e.delay];s=J.isFunction(u)?u(t,n.data,i):u}else s=J.isFunction(e.delay)?e.delay(t,n.data,i):e.delay;var c=J.isFunction(e.to)?e.to(t,n.data,i):e.to;return Q.__assign(Q.__assign({},e),{to:c,_event:a,event:a.data,delay:s})}function go(e,t){return Ot(e,Q.__assign(Q.__assign({},t),{to:Pe.SpecialTargets.Parent}))}function Ly(e,t,n){return Ot(t,Q.__assign(Q.__assign({},n),{to:e}))}function jy(){return go(he.update)}function zy(e,t){return Ot(e,Q.__assign(Q.__assign({},t),{to:function(n,r,i){var a=i._event;return a.origin}}))}var Gy=function(e,t){return{context:e,event:t}};function Hy(e,t){return e===void 0&&(e=Gy),{type:he.log,label:t,expr:e}}var Xa=function(e,t,n){return Q.__assign(Q.__assign({},e),{value:J.isString(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},Wy=function(e){return{type:he.cancel,sendId:e}};function Yy(e){var t=ho(e);return{type:Pe.ActionTypes.Start,activity:t,exec:void 0}}function Ky(e){var t=J.isFunction(e)?e:ho(e);return{type:Pe.ActionTypes.Stop,activity:t,exec:void 0}}function Qa(e,t,n){var r=J.isFunction(e.activity)?e.activity(t,n.data):e.activity,i=typeof r=="string"?{id:r}:r,a={type:Pe.ActionTypes.Stop,activity:i};return a}var qy=function(e){return{type:he.assign,assignment:e}};function Jy(e){return typeof e=="object"&&"type"in e}function Zy(e,t){var n=t?"#".concat(t):"";return"".concat(Pe.ActionTypes.After,"(").concat(e,")").concat(n)}function Xy(e,t){var n="".concat(Pe.ActionTypes.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Qy(e,t){var n="".concat(Pe.ActionTypes.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function ew(e,t){var n="".concat(Pe.ActionTypes.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function tw(e){return{type:Pe.ActionTypes.Pure,get:e}}function nw(e,t){if(!qa.IS_PRODUCTION&&(!e||typeof e=="function")){var n=e;e=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var a=typeof n=="function"?n.apply(void 0,Q.__spreadArray([],Q.__read(r),!1)):n;if(!a)throw new Error("Attempted to forward event to undefined actor. This risks an infinite loop in the sender.");return a}}return Ot(function(r,i){return i},Q.__assign(Q.__assign({},t),{to:e}))}function rw(e,t){return go(function(n,r,i){return{type:he.error,data:J.isFunction(e)?e(n,r,i):e}},Q.__assign(Q.__assign({},t),{to:Pe.SpecialTargets.Parent}))}function ow(e){return{type:Pe.ActionTypes.Choose,conds:e}}var iw=function(e){var t,n,r=[];try{for(var i=Q.__values(e),a=i.next();!a.done;a=i.next())for(var s=a.value,u=0;u<s.length;){if(s[u].type===he.assign){r.push(s[u]),s.splice(u,1);continue}u++}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r};function Dr(e,t,n,r,i,a,s){s===void 0&&(s=!1);var u=s?[]:iw(i),c=u.length?J.updateContext(n,r,u,t):n,l=s?[n]:void 0,d=[];function m(p){var w;switch(p.type){case he.raise:return Ja(p);case he.send:var _=Za(p,c,r,e.options.delays);return qa.IS_PRODUCTION||J.warn(!J.isString(p.delay)||typeof _.delay=="number","No delay reference for delay expression '".concat(p.delay,"' was found on machine '").concat(e.id,"'")),a&&_.to!==Pe.SpecialTargets.Internal&&d.push(_),_;case he.log:{var S=Xa(p,c,r);return a==null||a(S,c,r),S}case he.choose:{var v=p,g=(w=v.conds.find(function(D){var L=J.toGuard(D.cond,e.options.guards);return!L||J.evaluateGuard(e,L,c,r,a?void 0:t)}))===null||w===void 0?void 0:w.actions;if(!g)return[];var b=Q.__read(Dr(e,t,c,r,[Br(J.toArray(g),e.options.actions)],a,s),2),C=b[0],A=b[1];return c=A,l==null||l.push(c),C}case he.pure:{var g=p.get(c,r.data);if(!g)return[];var I=Q.__read(Dr(e,t,c,r,[Br(J.toArray(g),e.options.actions)],a,s),2),P=I[0],U=I[1];return c=U,l==null||l.push(c),P}case he.stop:{var S=Qa(p,c,r);return a==null||a(S,n,r),S}case he.assign:{c=J.updateContext(c,r,[p],a?void 0:t),l==null||l.push(c);break}default:var T=Jn(p,e.options.actions),k=T.exec;if(a)a(T,c,r);else if(k&&l){var M=l.length-1;T=Q.__assign(Q.__assign({},T),{exec:function(D){for(var L=[],j=1;j<arguments.length;j++)L[j-1]=arguments[j];k.apply(void 0,Q.__spreadArray([l[M]],Q.__read(L),!1))}})}return T}}function f(p){var w,_,S=[];try{for(var v=Q.__values(p),g=v.next();!g.done;g=v.next()){var b=g.value,C=m(b);C&&(S=S.concat(C))}}catch(A){w={error:A}}finally{try{g&&!g.done&&(_=v.return)&&_.call(v)}finally{if(w)throw w.error}}return d.forEach(function(A){a(A,c,r)}),d.length=0,S}var h=J.flatten(i.map(f));return[h,c]}Z.actionTypes=he;Z.after=Zy;var ue=Z.assign=qy;Z.cancel=Wy;var aw=Z.choose=ow;Z.done=Xy;Z.doneInvoke=Qy;Z.error=ew;Z.escalate=rw;Z.forwardTo=nw;Z.getActionFunction=Fr;Z.initEvent=Vy;Z.isActionObject=Jy;Z.log=Hy;Z.pure=tw;Z.raise=My;Z.resolveActions=Dr;Z.resolveLog=Xa;Z.resolveRaise=Ja;Z.resolveSend=Za;Z.resolveStop=Qa;Z.respond=zy;Z.send=Ot;Z.sendParent=go;Z.sendTo=Ly;Z.sendUpdate=jy;Z.start=Yy;var sw=Z.stop=Ky;Z.toActionObject=Jn;Z.toActionObjects=Br;Z.toActivityDefinition=ho;var gn=function(e){return sw(e)},uw=ue({attributeToVerify:function(e){}}),cw=ue({challengeName:function(e){}}),lw=ue({requiredAttributes:function(e){}}),vo=ue({remoteError:function(e){return""}}),yo=ue({formValues:function(e){return{}}}),wo=ue({touched:function(e){return{}}}),dw=ue({unverifiedContactMethods:function(e){}}),fw=ue({username:function(e){}}),So=ue({validationError:function(e){return{}}}),pw=ue({challengeName:function(e,t){var n;return(n=t.data)===null||n===void 0?void 0:n.challengeName}}),mw=ue({requiredAttributes:function(e,t){var n,r;return(r=(n=t.data)===null||n===void 0?void 0:n.challengeParam)===null||r===void 0?void 0:r.requiredAttributes}}),hw=ue({redirectIntent:function(e){return"confirmPasswordReset"}}),gw=ue({redirectIntent:function(e){return"confirmSignUp"}}),es=ue({authAttributes:function(e,t){var n,r,i=e.loginMechanisms[0];return{username:(n=e.formValues[i])!==null&&n!==void 0?n:e.formValues.username,password:(r=e.formValues)===null||r===void 0?void 0:r.password}}}),_o=ue({validationError:function(e,t){return t.data}}),bo=ue({remoteError:function(e,t){var n;return t.data.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":((n=t.data)===null||n===void 0?void 0:n.message)||t.data}}),vw=ue({unverifiedContactMethods:function(e,t){return t.data.unverified}}),ts=ue({user:function(e,t){return t.data.user||t.data}}),yw=ue({username:function(e,t){var n=e.formValues,r=n.username,i=n.country_code;return i&&(r="".concat(i).concat(r)),r}}),ww=ue({codeDeliveryDetails:function(e,t){return t.data.codeDeliveryDetails}}),Sw=ue({authAttributes:function(e,t){return{username:e.formValues.username}}}),Co=ue({formValues:function(e,t){var n,r=t.data,i=r.name,a=r.value;return x(x({},e.formValues),((n={})[i]=a,n))}}),Ao=ue({formValues:function(e,t){var n=x(x({},e.formValues),t.data);return zl(n,"password")}}),To=ue({touched:function(e,t){var n,r=t.data.name;return x(x({},e.touched),((n={})["".concat(r)]=!0,n))}}),_w=function(e){return K(void 0,void 0,void 0,function(){var t;return q(this,function(n){switch(n.label){case 0:return t=e.username,[4,le.Auth.forgotPassword(t)];case 1:return[2,n.sent()]}})})},ns=ue({formValues:function(e,t){var n,r,i=e.loginMechanisms[0],a=i===void 0?"username":i;if(!e.formValues.phone_number&&a!=="phone_number")return e.formValues;var s=e.formValues,u=e.country_code,c=s.phone_number?"phone_number":"username",l="".concat((r=s.country_code)!==null&&r!==void 0?r:u).concat(s[c]).replace(/[^A-Z0-9+]/gi,""),d=x(x({},s),((n={})[c]=l,n));return delete d.country_code,d}}),bw=Be,Cw=Yr,Aw=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tw=/^\w*$/;function Iw(e,t){if(bw(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Cw(e)?!0:Tw.test(e)||!Aw.test(e)||t!=null&&e in Object(t)}var Io=Iw,rs=Zr,Ew="Expected a function";function Eo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Ew);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var s=e.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(Eo.Cache||rs),n}Eo.Cache=rs;var Pw=Eo,$w=Pw,Nw=500;function kw(e){var t=$w(e,function(r){return n.size===Nw&&n.clear(),r}),n=t.cache;return t}var xw=kw,Ow=xw,Uw=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Rw=/\\(\\)?/g,Fw=Ow(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Uw,function(n,r,i,a){t.push(i?a.replace(Rw,"$1"):r||n)}),t}),Bw=Fw,ki=Kt,Dw=ua,Vw=Be,Mw=Yr,Lw=1/0,xi=ki?ki.prototype:void 0,Oi=xi?xi.toString:void 0;function os(e){if(typeof e=="string")return e;if(Vw(e))return Dw(e,os)+"";if(Mw(e))return Oi?Oi.call(e):"";var t=e+"";return t=="0"&&1/e==-Lw?"-0":t}var jw=os,zw=jw;function Gw(e){return e==null?"":zw(e)}var Hw=Gw,Ww=Be,Yw=Io,Kw=Bw,qw=Hw;function Jw(e,t){return Ww(e)?e:Yw(e,t)?[e]:Kw(qw(e))}var Zn=Jw,Zw=Yr,Xw=1/0;function Qw(e){if(typeof e=="string"||Zw(e))return e;var t=e+"";return t=="0"&&1/e==-Xw?"-0":t}var tn=Qw,eS=Zn,tS=tn;function nS(e,t){t=eS(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[tS(t[n++])];return n&&n==r?e:void 0}var Po=nS,rS=Po;function oS(e,t,n){var r=e==null?void 0:rS(e,t);return r===void 0?n:r}var st=oS,iS=fa,aS=Qt,sS=Bn,uS=Be,cS=qt,lS=ut.exports,dS=Mn,fS=Vn,pS="[object Map]",mS="[object Set]",hS=Object.prototype,gS=hS.hasOwnProperty;function vS(e){if(e==null)return!0;if(cS(e)&&(uS(e)||typeof e=="string"||typeof e.splice=="function"||lS(e)||fS(e)||sS(e)))return!e.length;var t=aS(e);if(t==pS||t==mS)return!e.size;if(dS(e))return!iS(e).length;for(var n in e)if(gS.call(e,n))return!1;return!0}var Vr=vS,yS=Xr,wS=Jt;function SS(e,t,n){(n!==void 0&&!wS(e[t],n)||n===void 0&&!(t in e))&&yS(e,t,n)}var is=SS;function _S(e){return function(t,n,r){for(var i=-1,a=Object(t),s=r(t),u=s.length;u--;){var c=s[e?u:++i];if(n(a[c],c,a)===!1)break}return t}}var bS=_S,CS=bS,AS=CS(),TS=AS,IS=qt,ES=Ze;function PS(e){return ES(e)&&IS(e)}var $S=PS,NS=Tt,kS=to,xS=Ze,OS="[object Object]",US=Function.prototype,RS=Object.prototype,as=US.toString,FS=RS.hasOwnProperty,BS=as.call(Object);function DS(e){if(!xS(e)||NS(e)!=OS)return!1;var t=kS(e);if(t===null)return!0;var n=FS.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&as.call(n)==BS}var VS=DS;function MS(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ss=MS,LS=Zt,jS=Xt;function zS(e){return LS(e,jS(e))}var GS=zS,Ui=is,HS=En.exports,WS=Ea,YS=ya,KS=Pa,Ri=Bn,Fi=Be,qS=$S,JS=ut.exports,ZS=Hr,XS=je,QS=VS,e_=Vn,Bi=ss,t_=GS;function n_(e,t,n,r,i,a,s){var u=Bi(e,n),c=Bi(t,n),l=s.get(c);if(l){Ui(e,n,l);return}var d=a?a(u,c,n+"",e,t,s):void 0,m=d===void 0;if(m){var f=Fi(c),h=!f&&JS(c),p=!f&&!h&&e_(c);d=c,f||h||p?Fi(u)?d=u:qS(u)?d=YS(u):h?(m=!1,d=HS(c,!0)):p?(m=!1,d=WS(c,!0)):d=[]:QS(c)||Ri(c)?(d=u,Ri(u)?d=t_(u):(!XS(u)||ZS(u))&&(d=KS(c))):m=!1}m&&(s.set(c,d),i(d,c,r,a,s),s.delete(c)),Ui(e,n,d)}var r_=n_,o_=Yn,i_=is,a_=TS,s_=r_,u_=je,c_=Xt,l_=ss;function us(e,t,n,r,i){e!==t&&a_(t,function(a,s){if(i||(i=new o_),u_(a))s_(e,t,s,n,us,r,i);else{var u=r?r(l_(e,s),a,s+"",e,t,i):void 0;u===void 0&&(u=a),i_(e,s,u)}},c_)}var d_=us;function f_(e){return e}var $o=f_;function p_(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var m_=p_,h_=m_,Di=Math.max;function g_(e,t,n){return t=Di(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Di(r.length-t,0),s=Array(a);++i<a;)s[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(s),h_(e,this,u)}}var v_=g_;function y_(e){return function(){return e}}var w_=y_,S_=w_,Vi=va,__=$o,b_=Vi?function(e,t){return Vi(e,"toString",{configurable:!0,enumerable:!1,value:S_(t),writable:!0})}:__,C_=b_,A_=800,T_=16,I_=Date.now;function E_(e){var t=0,n=0;return function(){var r=I_(),i=T_-(r-n);if(n=r,i>0){if(++t>=A_)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var P_=E_,$_=C_,N_=P_,k_=N_($_),x_=k_,O_=$o,U_=v_,R_=x_;function F_(e,t){return R_(U_(e,t,O_),e+"")}var B_=F_,D_=Jt,V_=qt,M_=Dn,L_=je;function j_(e,t,n){if(!L_(n))return!1;var r=typeof t;return(r=="number"?V_(n)&&M_(t,n.length):r=="string"&&t in n)?D_(n[t],e):!1}var z_=j_,G_=B_,H_=z_;function W_(e){return G_(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(a=e.length>3&&typeof a=="function"?(i--,a):void 0,s&&H_(n[0],n[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t})}var Y_=W_,K_=d_,q_=Y_,J_=q_(function(e,t,n){K_(e,t,n)}),Z_=J_,No=function(e,t,n,r){return K(void 0,void 0,void 0,function(){var i,a;return q(this,function(s){switch(s.label){case 0:return[4,Promise.all(r.map(function(u){return u(e,t,n)}))];case 1:return i=s.sent(),a=Z_.apply(void 0,Ve([{}],i,!1)),Vr(a)?[2,Promise.resolve()]:[2,Promise.reject(a)]}})})},St={getAmplifyConfig:function(){return K(this,void 0,void 0,function(){return q(this,function(e){return[2,le.Amplify.configure()]})})},getCurrentUser:function(){return K(this,void 0,void 0,function(){return q(this,function(e){return[2,le.Auth.currentAuthenticatedUser()]})})},handleSignUp:function(e){return K(this,void 0,void 0,function(){return q(this,function(t){return[2,le.Auth.signUp(x(x({},e),{autoSignIn:{enabled:!0}}))]})})},handleSignIn:function(e){var t=e.username,n=e.password;return K(this,void 0,void 0,function(){return q(this,function(r){return[2,le.Auth.signIn(t,n)]})})},handleConfirmSignIn:function(e){var t=e.user,n=e.code,r=e.mfaType;return K(this,void 0,void 0,function(){return q(this,function(i){return[2,le.Auth.confirmSignIn(t,n,r)]})})},handleConfirmSignUp:function(e){var t=e.username,n=e.code;return K(this,void 0,void 0,function(){return q(this,function(r){switch(r.label){case 0:return[4,le.Auth.confirmSignUp(t,n)];case 1:return[2,r.sent()]}})})},handleForgotPasswordSubmit:function(e){var t=e.username,n=e.code,r=e.password;return K(this,void 0,void 0,function(){return q(this,function(i){return[2,le.Auth.forgotPasswordSubmit(t,n,r)]})})},handleForgotPassword:function(e){return K(this,void 0,void 0,function(){return q(this,function(t){return[2,le.Auth.forgotPassword(e)]})})},validateCustomSignUp:function(e,t){return K(this,void 0,void 0,function(){return q(this,function(n){return[2]})})},validateFormPassword:function(e,t,n){return K(this,void 0,void 0,function(){var r,i,a,s;return q(this,function(u){return r=e.password,t.password&&n?(i=[],a=+(n==null?void 0:n.passwordPolicyMinLength),r.length<a&&i.push("Password must have at least ".concat(a," characters")),(s=n==null?void 0:n.passwordPolicyCharacters)==null||s.forEach(function(c){switch(c){case"REQUIRES_LOWERCASE":/[a-z]/.test(r)||i.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(r)||i.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(r)||i.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":jl(r)||i.push("Password must have special characters")}}),[2,i.length!==0?{password:i}:null]):[2,null]})})},validateConfirmPassword:function(e,t){return K(this,void 0,void 0,function(){var n,r,i,a;return q(this,function(s){return n=e.password,r=e.confirm_password,i=t.confirm_password,a=t.password,n||r?(n||r)&&n!==r&&(i&&a||(n==null?void 0:n.length)>=6&&(r==null?void 0:r.length)>=6)?[2,{confirm_password:"Your passwords must match"}]:[2]:[2,null]})})},validatePreferredUsername:function(e,t){return K(this,void 0,void 0,function(){return q(this,function(n){return[2]})})}},X_=["SMS_MFA","SOFTWARE_TOKEN_MFA"],pr=function(e){return st(e,"data.challengeName")},Mi=function(e,t){return e===t},Li=function(e){return X_.includes(e)};function Q_(e){var t=e.services;return en({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","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","setRequiredAttributes"],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","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","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","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"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","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"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:function(n){return{user:n.user}}},rejected:{type:"final",data:function(n,r){return{intent:n.redirectIntent,authAttributes:n.authAttributes}}}}},{actions:{clearAttributeToVerify:uw,clearChallengeName:cw,clearRequiredAttributes:lw,clearError:vo,clearFormValues:yo,clearTouched:wo,clearUnverifiedContactMethods:dw,clearValidationError:So,handleInput:Co,handleSubmit:Ao,handleBlur:To,parsePhoneNumber:ns,setChallengeName:pw,setConfirmResetPasswordIntent:hw,setConfirmSignUpIntent:gw,setRequiredAttributes:mw,setCredentials:es,setFieldErrors:_o,setRemoteError:bo,setUnverifiedContactMethods:vw,setUser:ts,setUsernameAuthAttributes:Sw,sendUpdate:po()},guards:{shouldAutoSignIn:function(n){return(n==null?void 0:n.intent)==="autoSignIn"},shouldAutoSubmit:function(n){return(n==null?void 0:n.intent)==="autoSignInSubmit"},shouldConfirmSignIn:function(n,r){return Li(pr(r))},shouldForceChangePassword:function(n,r){return Mi(pr(r),"NEW_PASSWORD_REQUIRED")},shouldRedirectToConfirmResetPassword:function(n,r){return r.data.code==="PasswordResetRequiredException"},shouldRedirectToConfirmSignUp:function(n,r){return r.data.code==="UserNotConfirmedException"},shouldRequestVerification:function(n,r){var i=r.data,a=i.unverified,s=i.verified;return Vr(s)&&!Vr(a)},shouldSetupTOTP:function(n,r){return Mi(pr(r),"MFA_SETUP")}},services:{signIn:function(n){return K(this,void 0,void 0,function(){var r,i,a,s,u,c,l;return q(this,function(d){switch(d.label){case 0:return r=n.authAttributes,i=r===void 0?{}:r,a=n.formValues,s=a===void 0?{}:a,u=x(x({},i),s),c=u.username,l=u.password,[4,t.handleSignIn({username:c,password:l})];case 1:return[2,d.sent()]}})})},confirmSignIn:function(n){return K(this,void 0,void 0,function(){var r,i,a,s;return q(this,function(u){switch(u.label){case 0:return r=n.challengeName,i=n.user,a=n.formValues.confirmation_code,s=Li(r)?r:void 0,[4,t.handleConfirmSignIn({user:i,code:a,mfaType:s})];case 1:return u.sent(),[4,le.Auth.currentAuthenticatedUser()];case 2:return[2,u.sent()]}})})},forceNewPassword:function(n){return K(this,void 0,void 0,function(){var r,i,a,s,u,c,l,d,m;return q(this,function(f){switch(f.label){case 0:r=n.user,i=n.formValues,a=i.password,i.confirm_password,s=i.phone_number,u=i.country_code,c=pa(i,["password","confirm_password","phone_number","country_code"]),s&&(l="".concat(u).concat(s).replace(/[^A-Z0-9+]/gi,""),c=x(x({},c),{phone_number:l})),f.label=1;case 1:return f.trys.push([1,3,,4]),[4,le.Auth.completeNewPassword(r,a,c)];case 2:return(d=f.sent()).challengeName?[2,d]:[2,le.Auth.currentAuthenticatedUser()];case 3:return m=f.sent(),[2,Promise.reject(m)];case 4:return[2]}})})},verifyTotpToken:function(n){return K(this,void 0,void 0,function(){var r,i,a;return q(this,function(s){return r=n.formValues,i=n.user,a=r.confirmation_code,[2,le.Auth.verifyTotpToken(i,a)]})})},federatedSignIn:function(n,r){return K(this,void 0,void 0,function(){var i;return q(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,le.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},checkVerifiedContact:function(n){return K(this,void 0,void 0,function(){var r;return q(this,function(i){switch(i.label){case 0:return r=n.user,[4,le.Auth.verifiedContact(r)];case 1:return[2,i.sent()]}})})},verifyUser:function(n){return K(this,void 0,void 0,function(){var r,i;return q(this,function(a){switch(a.label){case 0:return r=n.formValues.unverifiedAttr,[4,le.Auth.verifyCurrentUserAttribute(r)];case 1:return i=a.sent(),n.attributeToVerify=r,[2,i]}})})},confirmVerifyUser:function(n){return K(this,void 0,void 0,function(){var r,i;return q(this,function(a){switch(a.label){case 0:return r=n.attributeToVerify,i=n.formValues.confirmation_code,[4,le.Auth.verifyCurrentUserAttributeSubmit(r,i)];case 1:return[2,a.sent()]}})})},validateFields:function(n){return K(this,void 0,void 0,function(){return q(this,function(r){return[2,No(n.formValues,n.touched,n.passwordSettings,[St.validateFormPassword,St.validateConfirmPassword])]})})}}})}var eb=en({initial:"pending",id:"signOutActor",predictableActionArguments:!0,states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:function(){return le.Auth.signOut()}}});function tb(e){var t=e.services;return en({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:vo,clearFormValues:yo,clearTouched:wo,clearUsername:fw,clearValidationError:So,handleInput:Co,handleSubmit:Ao,handleBlur:To,resendCode:_w,setFieldErrors:_o,setRemoteError:bo,setUsername:yw,sendUpdate:po()},guards:{shouldAutoConfirmReset:function(n,r){return!(!n.intent||n.intent!=="confirmPasswordReset")}},services:{resetPassword:function(n){return K(this,void 0,void 0,function(){var r;return q(this,function(i){return r=n.username,[2,t.handleForgotPassword(r)]})})},confirmResetPassword:function(n){return K(this,void 0,void 0,function(){var r,i,a,s;return q(this,function(u){return r=n.username,i=n.formValues,a=i.confirmation_code,s=i.password,[2,t.handleForgotPasswordSubmit({username:r,code:a,password:s})]})})},validateFields:function(n,r){return K(this,void 0,void 0,function(){return q(this,function(i){return[2,No(n.formValues,n.touched,n.passwordSettings,[St.validateFormPassword,St.validateConfirmPassword])]})})}}})}var nb="__lodash_hash_undefined__";function rb(e){return this.__data__.set(e,nb),this}var ob=rb;function ib(e){return this.__data__.has(e)}var ab=ib,sb=Zr,ub=ob,cb=ab;function On(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new sb;++t<n;)this.add(e[t])}On.prototype.add=On.prototype.push=ub;On.prototype.has=cb;var lb=On;function db(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var fb=db;function pb(e,t){return e.has(t)}var mb=pb,hb=lb,gb=fb,vb=mb,yb=1,wb=2;function Sb(e,t,n,r,i,a){var s=n&yb,u=e.length,c=t.length;if(u!=c&&!(s&&c>u))return!1;var l=a.get(e),d=a.get(t);if(l&&d)return l==t&&d==e;var m=-1,f=!0,h=n&wb?new hb:void 0;for(a.set(e,t),a.set(t,e);++m<u;){var p=e[m],w=t[m];if(r)var _=s?r(w,p,m,t,e,a):r(p,w,m,e,t,a);if(_!==void 0){if(_)continue;f=!1;break}if(h){if(!gb(t,function(S,v){if(!vb(h,v)&&(p===S||i(p,S,n,r,a)))return h.push(v)})){f=!1;break}}else if(!(p===w||i(p,w,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}var cs=Sb;function _b(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}var bb=_b;function Cb(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Ab=Cb,ji=Kt,zi=Ia,Tb=Jt,Ib=cs,Eb=bb,Pb=Ab,$b=1,Nb=2,kb="[object Boolean]",xb="[object Date]",Ob="[object Error]",Ub="[object Map]",Rb="[object Number]",Fb="[object RegExp]",Bb="[object Set]",Db="[object String]",Vb="[object Symbol]",Mb="[object ArrayBuffer]",Lb="[object DataView]",Gi=ji?ji.prototype:void 0,mr=Gi?Gi.valueOf:void 0;function jb(e,t,n,r,i,a,s){switch(n){case Lb:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Mb:return!(e.byteLength!=t.byteLength||!a(new zi(e),new zi(t)));case kb:case xb:case Rb:return Tb(+e,+t);case Ob:return e.name==t.name&&e.message==t.message;case Fb:case Db:return e==t+"";case Ub:var u=Eb;case Bb:var c=r&$b;if(u||(u=Pb),e.size!=t.size&&!c)return!1;var l=s.get(e);if(l)return l==t;r|=Nb,s.set(e,t);var d=Ib(u(e),u(t),r,i,a,s);return s.delete(e),d;case Vb:if(mr)return mr.call(e)==mr.call(t)}return!1}var zb=jb,Hi=Ca,Gb=1,Hb=Object.prototype,Wb=Hb.hasOwnProperty;function Yb(e,t,n,r,i,a){var s=n&Gb,u=Hi(e),c=u.length,l=Hi(t),d=l.length;if(c!=d&&!s)return!1;for(var m=c;m--;){var f=u[m];if(!(s?f in t:Wb.call(t,f)))return!1}var h=a.get(e),p=a.get(t);if(h&&p)return h==t&&p==e;var w=!0;a.set(e,t),a.set(t,e);for(var _=s;++m<c;){f=u[m];var S=e[f],v=t[f];if(r)var g=s?r(v,S,f,t,e,a):r(S,v,f,e,t,a);if(!(g===void 0?S===v||i(S,v,n,r,a):g)){w=!1;break}_||(_=f=="constructor")}if(w&&!_){var b=e.constructor,C=t.constructor;b!=C&&"constructor"in e&&"constructor"in t&&!(typeof b=="function"&&b instanceof b&&typeof C=="function"&&C instanceof C)&&(w=!1)}return a.delete(e),a.delete(t),w}var Kb=Yb,hr=Yn,qb=cs,Jb=zb,Zb=Kb,Wi=Qt,Yi=Be,Ki=ut.exports,Xb=Vn,Qb=1,qi="[object Arguments]",Ji="[object Array]",vn="[object Object]",e1=Object.prototype,Zi=e1.hasOwnProperty;function t1(e,t,n,r,i,a){var s=Yi(e),u=Yi(t),c=s?Ji:Wi(e),l=u?Ji:Wi(t);c=c==qi?vn:c,l=l==qi?vn:l;var d=c==vn,m=l==vn,f=c==l;if(f&&Ki(e)){if(!Ki(t))return!1;s=!0,d=!1}if(f&&!d)return a||(a=new hr),s||Xb(e)?qb(e,t,n,r,i,a):Jb(e,t,c,n,r,i,a);if(!(n&Qb)){var h=d&&Zi.call(e,"__wrapped__"),p=m&&Zi.call(t,"__wrapped__");if(h||p){var w=h?e.value():e,_=p?t.value():t;return a||(a=new hr),i(w,_,n,r,a)}}return f?(a||(a=new hr),Zb(e,t,n,r,i,a)):!1}var n1=t1,r1=n1,Xi=Ze;function ls(e,t,n,r,i){return e===t?!0:e==null||t==null||!Xi(e)&&!Xi(t)?e!==e&&t!==t:r1(e,t,n,r,ls,i)}var ds=ls,o1=Yn,i1=ds,a1=1,s1=2;function u1(e,t,n,r){var i=n.length,a=i,s=!r;if(e==null)return!a;for(e=Object(e);i--;){var u=n[i];if(s&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++i<a;){u=n[i];var c=u[0],l=e[c],d=u[1];if(s&&u[2]){if(l===void 0&&!(c in e))return!1}else{var m=new o1;if(r)var f=r(l,d,c,e,t,m);if(!(f===void 0?i1(d,l,a1|s1,r,m):f))return!1}}return!0}var c1=u1,l1=je;function d1(e){return e===e&&!l1(e)}var fs=d1,f1=fs,p1=Ln;function m1(e){for(var t=p1(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,f1(i)]}return t}var h1=m1;function g1(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}var ps=g1,v1=c1,y1=h1,w1=ps;function S1(e){var t=y1(e);return t.length==1&&t[0][2]?w1(t[0][0],t[0][1]):function(n){return n===e||v1(n,e,t)}}var _1=S1;function b1(e,t){return e!=null&&t in Object(e)}var C1=b1,A1=Zn,T1=Bn,I1=Be,E1=Dn,P1=Wr,$1=tn;function N1(e,t,n){t=A1(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var s=$1(t[r]);if(!(a=e!=null&&n(e,s)))break;e=e[s]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&P1(i)&&E1(s,i)&&(I1(e)||T1(e)))}var k1=N1,x1=C1,O1=k1;function U1(e,t){return e!=null&&O1(e,t,x1)}var R1=U1,F1=ds,B1=st,D1=R1,V1=Io,M1=fs,L1=ps,j1=tn,z1=1,G1=2;function H1(e,t){return V1(e)&&M1(t)?L1(j1(e),t):function(n){var r=B1(n,e);return r===void 0&&r===t?D1(n,e):F1(t,r,z1|G1)}}var W1=H1;function Y1(e){return function(t){return t==null?void 0:t[e]}}var K1=Y1,q1=Po;function J1(e){return function(t){return q1(t,e)}}var Z1=J1,X1=K1,Q1=Z1,eC=Io,tC=tn;function nC(e){return eC(e)?X1(tC(e)):Q1(e)}var rC=nC,oC=_1,iC=W1,aC=$o,sC=Be,uC=rC;function cC(e){return typeof e=="function"?e:e==null?aC:typeof e=="object"?sC(e)?iC(e[0],e[1]):oC(e):uC(e)}var lC=cC,dC=Qr,fC=Zn,pC=Dn,Qi=je,mC=tn;function hC(e,t,n,r){if(!Qi(e))return e;t=fC(t,e);for(var i=-1,a=t.length,s=a-1,u=e;u!=null&&++i<a;){var c=mC(t[i]),l=n;if(c==="__proto__"||c==="constructor"||c==="prototype")return e;if(i!=s){var d=u[c];l=r?r(d,c,u):void 0,l===void 0&&(l=Qi(d)?d:pC(t[i+1])?[]:{})}dC(u,c,l),u=u[c]}return e}var gC=hC,vC=Po,yC=gC,wC=Zn;function SC(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var s=t[r],u=vC(e,s);n(u,s)&&yC(a,wC(s,e),u)}return a}var _C=SC,bC=ua,CC=lC,AC=_C,TC=Aa;function IC(e,t){if(e==null)return{};var n=bC(TC(e),function(r){return[r]});return t=CC(t),AC(e,n,function(r,i){return t(r,i[0])})}var EC=IC;function PC(e){var t=e.services;return en({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:function(n,r){var i=n.authAttributes,a=i.username,s=i.password;return{user:st(r,"data.user")||n.user,authAttributes:{username:a,password:s},intent:n.intent}}}}},{guards:{isUserAlreadyConfirmed:function(n,r){return r.data.message==="User is already confirmed."},shouldInitConfirmSignUp:function(n){return n.intent&&n.intent==="confirmSignUp"},shouldSkipConfirm:function(n,r){return r.data.userConfirmed}},actions:{clearError:vo,clearFormValues:yo,clearTouched:wo,clearValidationError:So,handleInput:Co,handleSubmit:Ao,handleBlur:To,parsePhoneNumber:ns,setCredentials:es,setFieldErrors:_o,setRemoteError:bo,setCodeDeliveryDetails:ww,setUser:ts,sendUpdate:po(),setAutoSignInIntent:ke({intent:function(n){return(n==null?void 0:n.intent)==="confirmSignUp"?"autoSignInSubmit":"autoSignIn"}})},services:{confirmSignUp:function(n,r){return K(this,void 0,void 0,function(){var i,a,s,u,c;return q(this,function(l){switch(l.label){case 0:return i=n.user,a=n.authAttributes,s=n.formValues,u=s.confirmation_code,c=st(i,"username")||st(a,"username"),[4,t.handleConfirmSignUp({username:c,code:u})];case 1:return[2,l.sent()]}})})},resendConfirmationCode:function(n,r){return K(this,void 0,void 0,function(){var i,a,s;return q(this,function(u){return i=n.user,a=n.authAttributes,s=st(i,"username")||st(a,"username"),[2,le.Auth.resendSignUp(s)]})})},federatedSignIn:function(n,r){return K(this,void 0,void 0,function(){var i;return q(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,le.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},signUp:function(n,r){return K(this,void 0,void 0,function(){var i,a,s,u,c,l,d;return q(this,function(m){switch(m.label){case 0:return i=n.formValues,a=n.loginMechanisms,s=a[0],c=(u=i)[s===void 0?"username":s],l=u.password,d=EC(i,function(f,h){switch(h){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 h.startsWith("custom:")}}),[4,t.handleSignUp({username:c,password:l,attributes:d})];case 1:return[2,m.sent()]}})})},validateSignUp:function(n,r){return K(this,void 0,void 0,function(){return q(this,function(i){return[2,No(n.formValues,n.touched,n.passwordSettings,[t.validateFormPassword,t.validateConfirmPassword,t.validatePreferredUsername,t.validateCustomSignUp])]})})}}})}function $C(){return en({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:St,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:{target:"setup"}}},setup:{initial:"waitConfig",states:{waitConfig:{on:{INIT:{actions:["configure","setHasSetup"],target:"applyConfig"}}},applyConfig:{invoke:{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig",target:"goToInitialState"}}},goToInitialState:{always:[{target:"#authenticator.signUp",cond:"isInitialStateSignUp"},{target:"#authenticator.resetPassword",cond:"isInitialStateResetPassword"},{target:"#authenticator.signIn"}]}}},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignInActor"}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignUpActor"},autoSignIn:{invoke:{src:"getCurrentUser",onDone:"#authenticator.authenticated",onError:"#authenticator.setup.goToInitialState"}}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"#authenticator.signIn",actions:"setActorDoneData",cond:"shouldAutoSignIn"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopResetPasswordActor"}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:["stopSignOutActor","clearUser"]}},on:{"done.invoke.signOutActor":[{target:"setup",cond:"shouldSetup"},{target:"setup.goToInitialState"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},AUTO_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:aw([{cond:"hasActor",actions:hy(function(e){return e.actorRef})}]),setUser:ke({user:function(e,t){return t.data}}),setActorDoneData:ke({actorDoneData:function(e,t){var n,r;return{authAttributes:x({},(n=t.data)===null||n===void 0?void 0:n.authAttributes),intent:(r=t.data)===null||r===void 0?void 0:r.intent}},user:function(e,t){var n;return(n=t.data)===null||n===void 0?void 0:n.user}}),clearUser:ke({user:void 0}),clearActorDoneData:ke({actorDoneData:void 0}),applyAmplifyConfig:ke({config:function(e,t){var n,r,i,a,s,u,c,l,d,m=(r=(n=t.data.aws_cognito_username_attributes)===null||n===void 0?void 0:n.map(function(C){return C.toLowerCase()}))!==null&&r!==void 0?r:[],f=(a=(i=t.data.aws_cognito_verification_mechanisms)===null||i===void 0?void 0:i.map(function(C){return C.toLowerCase()}))!==null&&a!==void 0?a:[],h=(u=(s=t.data.aws_cognito_signup_attributes)===null||s===void 0?void 0:s.map(function(C){return C.toLowerCase()}))!==null&&u!==void 0?u:[],p=(l=(c=t.data.aws_cognito_social_providers)===null||c===void 0?void 0:c.map(function(C){return C.toLowerCase()}))!==null&&l!==void 0?l:[],w=t.data.aws_cognito_password_protection_settings||{};m.length===0&&m.push("username");var _=e.config,S=_.loginMechanisms,v=_.signUpAttributes,g=_.socialProviders,b=_.initialState;return{loginMechanisms:S!=null?S:m,formFields:(d=NC(_.formFields))!==null&&d!==void 0?d:{},passwordSettings:w,signUpAttributes:v!=null?v:Array.from(new Set(Ve(Ve([],f,!0),h,!0))),socialProviders:g!=null?g:p.sort(),initialState:b}}}),spawnSignInActor:ke({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=Q_({services:l}).withContext({authAttributes:(r=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&r!==void 0?r:{},user:e.user,intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:(a=e.config)===null||a===void 0?void 0:a.passwordSettings,loginMechanisms:(s=e.config)===null||s===void 0?void 0:s.loginMechanisms,socialProviders:(u=e.config)===null||u===void 0?void 0:u.socialProviders,formFields:(c=e.config)===null||c===void 0?void 0:c.formFields});return pn(d,{name:"signInActor"})}}),spawnSignUpActor:ke({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=PC({services:l}).withContext({authAttributes:(r=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&r!==void 0?r:{},country_code:"+1",intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,formValues:{},touched:{},validationError:{},loginMechanisms:(a=e.config)===null||a===void 0?void 0:a.loginMechanisms,socialProviders:(s=e.config)===null||s===void 0?void 0:s.socialProviders,formFields:(u=e.config)===null||u===void 0?void 0:u.formFields,passwordSettings:(c=e.config)===null||c===void 0?void 0:c.passwordSettings});return pn(d,{name:"signUpActor"})}}),spawnResetPasswordActor:ke({actorRef:function(e,t){var n,r,i,a,s,u=e.services,c=tb({services:u}).withContext({formValues:{},touched:{},intent:(n=e.actorDoneData)===null||n===void 0?void 0:n.intent,username:(i=(r=e.actorDoneData)===null||r===void 0?void 0:r.authAttributes)===null||i===void 0?void 0:i.username,formFields:(a=e.config)===null||a===void 0?void 0:a.formFields,validationError:{},passwordSettings:(s=e.config)===null||s===void 0?void 0:s.passwordSettings});return pn(c,{name:"resetPasswordActor"})}}),spawnSignOutActor:ke({actorRef:function(e){var t=eb.withContext({user:e.user});return pn(t,{name:"signOutActor"})}}),stopSignInActor:gn("signInActor"),stopSignUpActor:gn("signUpActor"),stopResetPasswordActor:gn("resetPasswordActor"),stopSignOutActor:gn("signOutActor"),configure:ke(function(e,t){var n=t.data,r=n.services,i=pa(n,["services"]);return{services:x(x({},St),r),config:i}}),setHasSetup:ke({hasSetup:!0})},guards:{isInitialStateSignUp:function(e){return e.config.initialState==="signUp"},isInitialStateResetPassword:function(e){return e.config.initialState==="resetPassword"},shouldRedirectToSignUp:function(e,t){var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmSignUp"},shouldRedirectToResetPassword:function(e,t){var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmPasswordReset"},shouldAutoSignIn:function(e,t){var n,r;return((n=t.data)===null||n===void 0?void 0:n.intent)==="autoSignIn"||((r=t.data)===null||r===void 0?void 0:r.intent)==="autoSignInSubmit"},shouldSetup:function(e){return e.hasSetup===!1},hasActor:function(e){return!!e.actorRef}},services:{getCurrentUser:function(e,t){return e.services.getCurrentUser()},getAmplifyConfig:function(e,t){return e.services.getAmplifyConfig()}}})}function NC(e){return e&&Object.keys(e).forEach(function(t){Object.keys(e[t]).forEach(function(n){var r=e[t][n];r.required=r.isRequired})}),e}const kC={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},xC={class:"amplify-flex amplify-authenticator__icon-wrapper"},OC=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[o.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})],-1),UC=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[o.createElementVNode("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})],-1),Ge={__name:"base-alert",setup(e){const t=o.ref(!0),n=F("Dismiss alert");function r(){t.value=!1}return(i,a)=>{const s=Ie;return t.value?(o.openBlock(),o.createElementBlock("div",kC,[o.createElementVNode("div",xC,[OC,o.createElementVNode("div",null,[o.renderSlot(i.$slots,"default")])]),o.createVNode(s,{class:"amplify-field-group__control amplify-alert__dismiss","aria-label":o.unref(n),fullwidth:!1,variation:"link",type:"button",onClick:r},{default:o.withCtx(()=>[UC]),_:1},8,["aria-label"])])):o.createCommentVNode("",!0)}}};var Xn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};const RC={};function FC(e,t){return o.openBlock(),o.createElementBlock("div",null,[o.renderSlot(e.$slots,"default")])}var _e=Xn(RC,[["render",FC]]);const He=o.defineComponent({__name:"base-form",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"formt",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("form",o.mergeProps({"data-amplify-form":""},n.$attrs),[o.renderSlot(n.$slots,"default")],16)])}}),We=o.defineComponent({__name:"base-footer",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"footert",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("footer",o.normalizeProps(o.guardReactiveProps(n.$attrs)),[o.renderSlot(n.$slots,"default")],16)])}});function BC(e){return o.getCurrentScope()?(o.onScopeDispose(e),!0):!1}function Oe(e){let t=0,n,r;const i=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...a)=>(t+=1,n||(r=o.effectScope(!0),n=r.run(()=>e(...a))),BC(i),n)}var Un=globalThis&&globalThis.__assign||function(){return Un=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},Un.apply(this,arguments)},DC=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function VC(e,t,n){if(typeof e=="object")return e;var r=function(){};return{next:e,error:t||r,complete:n||r}}function MC(e,t,n){t===void 0&&(t={});var r=typeof e=="function"?e():e,i=t.context,a=t.guards,s=t.actions,u=t.activities,c=t.services,l=t.delays,d=t.state,m=DC(t,["context","guards","actions","activities","services","delays","state"]),f={context:i,guards:a,actions:s,activities:u,services:c,delays:l},h=r.withConfig(f,function(){return Un(Un({},r.context),i)}),p=Ya(h,m).start(d?Fe.create(d):void 0),w;return o.onMounted(function(){n&&(w=p.subscribe(VC(n)))}),o.onBeforeUnmount(function(){p.stop(),w==null||w.unsubscribe()}),p}function LC(e){return"state"in e}var ea=function(){};function jC(e){return"getSnapshot"in e?e.getSnapshot():LC(e)?e.state:void 0}function ms(e,t){t===void 0&&(t=jC);var n=o.isRef(e)?e:o.shallowRef(e),r=o.shallowRef(t(n.value)),i=function(a){n.value.send(a)};return o.watch(n,function(a,s,u){r.value=t(a);var c=a.subscribe({next:function(l){return r.value=l},error:ea,complete:ea}).unsubscribe;u(function(){return c()})},{immediate:!0}),{state:r,send:i}}const hs={error:"",hasValidationErrors:!1,isPending:!1,route:"",authStatus:"",user:"",validationErrors:[""],codeDeliveryDetails:{val:"",DeliveryMedium:""},change:e=>null,updateForm:e=>null,updateBlur:e=>null,resend:e=>null,resendCode:e=>null,signOut:e=>null,federatedSignIn:e=>null,toFederatedSignIn:e=>null,resetPassword:e=>null,toResetPassword:e=>null,signIn:e=>null,toSignIn:e=>null,signUp:e=>null,toSignUp:e=>null,skip:e=>null,skipVerification:e=>null,submit:e=>null,submitForm:e=>null},Mr=o.ref(),In=o.reactive({...hs,send:"",state:""}),Ue=e=>(e&&(Mr.value=e),ms(Mr.value)),zC=()=>(ta(),o.watchEffect(()=>{ta()}),In),$e=zC;function ta(){if(!Mr.value)return;const{state:e,send:t}=Ue(),n=ma({send:t,state:e.value});for(const r of Object.keys(hs))In[r]=n[r];In.send=t,In.state=e}const yn=o.defineComponent({__name:"federated-sign-in-button",props:{provider:String},setup(e){const t=e,{provider:n}=o.toRefs(t),{send:r}=Ue(),i=()=>{r({type:"FEDERATED_SIGN_IN",data:{provider:n==null?void 0:n.value}})};return(a,s)=>{const u=_e,c=Ie;return o.openBlock(),o.createBlock(c,{class:"amplify-field-group__control federated-sign-in-button amplify-authenticator__font",fullwidth:!1,style:{"font-weight":"normal"},type:"button",onClick:i},{default:o.withCtx(()=>[o.createVNode(u,{class:"amplify-flex federated-sign-in-button-row amplify-authenticator__sign-in-button-wrapper"},{default:o.withCtx(()=>[o.renderSlot(a.$slots,"default")]),_:3})]),_:3})}}}),GC=o.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 248 268"},[o.createElementVNode("path",{d:"M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z",fill:"#FF9900"})],-1),HC={class:"amplify-text amplify-authenticator__federated-text"},WC=o.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"})],-1),YC={class:"amplify-text amplify-authenticator__federated-text"},KC=o.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 279 538"},[o.createElementVNode("path",{d:"M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",fill:"#1877F2"})],-1),qC={class:"amplify-text amplify-authenticator__federated-text"},JC=o.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},[o.createElementVNode("path",{d:"M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",fill:"#4285F4"}),o.createElementVNode("path",{d:"M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",fill:"#34A853"}),o.createElementVNode("path",{d:"M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",fill:"#FBBC05"}),o.createElementVNode("path",{d:"M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",fill:"#EB4335"})],-1),ZC={class:"amplify-text amplify-authenticator__federated-text"},XC=["data-label"],Qn=o.defineComponent({__name:"federated-sign-in",setup(e){var g;const{state:t}=Ue(),n=Oe($e),{route:r}=n(),{value:{context:i}}=t,a=(g=i==null?void 0:i.config)==null?void 0:g.socialProviders,s=a==null?void 0:a.includes("amazon"),u=a==null?void 0:a.includes("apple"),c=a==null?void 0:a.includes("facebook"),l=a==null?void 0:a.includes("google"),d=c||l||s||u,{getSignInWithFederationText:m,getOrText:f}=xe,h=o.computed(()=>_r),p=o.computed(()=>m(r,"amazon")),w=o.computed(()=>m(r,"apple")),_=o.computed(()=>m(r,"facebook")),S=o.computed(()=>m(r,"google")),v=o.computed(()=>f());return(b,C)=>{const A=_e;return o.unref(d)?(o.openBlock(),o.createBlock(A,{key:0,class:"amplify-flex federated-sign-in-container amplify-authenticator__column amplify-authenticator__sign-in-base"},{default:o.withCtx(()=>[o.unref(s)?(o.openBlock(),o.createBlock(yn,{key:0,provider:o.unref(h).Amazon},{default:o.withCtx(()=>[GC,o.createElementVNode("p",HC,o.toDisplayString(o.unref(p)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(u)?(o.openBlock(),o.createBlock(yn,{key:1,provider:o.unref(h).Apple},{default:o.withCtx(()=>[WC,o.createElementVNode("p",YC,o.toDisplayString(o.unref(w)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(c)?(o.openBlock(),o.createBlock(yn,{key:2,provider:o.unref(h).Facebook},{default:o.withCtx(()=>[KC,o.createElementVNode("p",qC,o.toDisplayString(o.unref(_)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(l)?(o.openBlock(),o.createBlock(yn,{key:3,provider:o.unref(h).Google},{default:o.withCtx(()=>[JC,o.createElementVNode("p",ZC,o.toDisplayString(o.unref(S)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.createElementVNode("hr",{class:"amplify-divider amplify-divider--label amplify-divider--small","aria-orientation":"horizontal","data-size":"small","data-label":o.unref(v)},null,8,XC)]),_:1})):o.createCommentVNode("",!0)}}});let QC=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=n[e]&63;r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r<63?t+="_":t+="-"}return t};const e0={},t0={"data-amplify-label":""};function n0(e,t){return o.openBlock(),o.createElementBlock("label",t0,[o.renderSlot(e.$slots,"default")])}var er=Xn(e0,[["render",n0]]);const tr=o.defineComponent({__name:"base-input",emits:["update:modelValue"],setup(e,{emit:t}){const n=r=>{t("update:modelValue",r.target.value)};return(r,i)=>(o.openBlock(),o.createElementBlock("input",{onChange:i[0]||(i[0]=a=>n(a)),"data-amplify-input":""},null,32))}}),r0=["aria-label","aria-checked"],o0=o.createElementVNode("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"},null,-1),i0=[o0],a0=o.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),s0=o.createElementVNode("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"},null,-1),u0=[a0,s0],c0={inheritAttrs:!1},ko=o.defineComponent({...c0,__name:"password-control",props:{name:null,label:null,autocomplete:{default:"new-password"},hasError:{type:Boolean,default:!1},labelHidden:{type:Boolean},placeholder:null,required:{type:Boolean,default:!0},describedBy:null},setup(e){var v;const t=e,n=F("Show password"),r=F("Hide password"),i=o.ref("password"),a=o.ref(n),s=Math.floor(Math.random()*999999),{name:u,label:c,autocomplete:l,hasError:d,labelHidden:m,placeholder:f,required:h}=o.toRefs(t);let p=o.ref("");function w(){a.value=a.value===n?r:n,i.value=i.value==="password"?"text":"password"}const _=F((v=f==null?void 0:f.value)!=null?v:c.value),S=F(c.value);return(g,b)=>{const C=er,A=tr,I=_e;return o.openBlock(),o.createBlock(I,{class:o.normalizeClass([o.unref(ye).Flex,o.unref(ye).Field,o.unref(ye).TextField,o.unref(ye).PasswordField,"amplify-authenticator__column"])},{default:o.withCtx(()=>[o.createVNode(C,{class:o.normalizeClass(["amplify-label",{"amplify-visually-hidden":o.unref(m)}]),for:"amplify-field-"+o.unref(s)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1},8,["class","for"]),o.createVNode(I,{class:o.normalizeClass([o.unref(ye).Flex,o.unref(ye).FieldGroup])},{default:o.withCtx(()=>[o.createVNode(I,{class:o.normalizeClass(o.unref(ye).FieldGroupFieldWrapper)},{default:o.withCtx(()=>{var P;return[o.createVNode(A,o.mergeProps(g.$attrs,{modelValue:o.unref(p),"onUpdate:modelValue":b[0]||(b[0]=U=>o.isRef(p)?p.value=U:p=U),class:[o.unref(ye).Input,o.unref(ye).FieldGroupControl],id:"amplify-field-"+o.unref(s),"data-amplify-password":"true",name:o.unref(u),autocomplete:o.unref(l),required:(P=o.unref(h))!=null?P:!0,placeholder:o.unref(_),type:i.value,"aria-invalid":o.unref(d),"aria-describedBy":e.describedBy}),null,16,["modelValue","class","id","name","autocomplete","required","placeholder","type","aria-invalid","aria-describedBy"])]}),_:1},8,["class"]),o.createVNode(I,{class:o.normalizeClass(o.unref(ye).FieldGroupOuterEnd)},{default:o.withCtx(()=>[o.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:o.normalizeClass([o.unref(ye).Button,o.unref(ye).FieldGroupControl,o.unref(ye).FieldShowPassword]),"data-fullwidth":"false",type:"button",role:"switch",onClick:w},[i.value==="password"?(o.openBlock(),o.createElementBlock("svg",{key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:o.normalizeClass(o.unref(ye).Icon)},i0,2)):(o.openBlock(),o.createElementBlock("svg",{key:1,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:o.normalizeClass(o.unref(ye).Icon)},u0,2))],10,r0)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),l0=["value","selected"],d0=o.defineComponent({__name:"base-select",props:{selectValue:{default:""},options:null},emits:["update:selectValue"],setup(e,{emit:t}){const n=e,{options:r,selectValue:i}=o.toRefs(n),a=s=>{t("update:selectValue",s.target.value)};return(s,u)=>(o.openBlock(),o.createElementBlock("select",{onChange:u[0]||(u[0]=c=>a(c))},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(r),(c,l)=>(o.openBlock(),o.createElementBlock("option",{key:l,value:c,selected:c==o.unref(i)?!0:void 0},o.toDisplayString(c),9,l0))),128))],32))}}),f0=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","data-size":"large",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon amplify-icon--large"},[o.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),p0=o.defineComponent({__name:"alias-control",props:{label:{default:"Username"},name:{default:"username"},placeholder:{default:""},autocomplete:{default:""},labelHidden:{type:Boolean},required:{type:Boolean,default:!0},dialCode:null,dialCodeList:null,type:{default:"text"},hasError:{type:Boolean},describedBy:null},setup(e){const t=e,{label:n,name:r,placeholder:i,autocomplete:a,labelHidden:s,required:u,dialCode:c,dialCodeList:l}=o.toRefs(t),d=Math.floor(Math.random()*999999),m=Math.floor(Math.random()*999999);return(f,h)=>{const p=er,w=d0,_=_e,S=tr;return o.openBlock(),o.createBlock(_,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(p,o.mergeProps({for:"amplify-field-"+o.unref(d),class:["amplify-label",{"amplify-visually-hidden":o.unref(s)}]},f.$attrs),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)),1)]),_:1},16,["for","class"]),o.createVNode(_,{class:"amplify-flex amplify-field-group"},{default:o.withCtx(()=>[o.createVNode(_,{class:"amplify-field-group__outer-start"},{default:o.withCtx(()=>[e.type==="tel"?(o.openBlock(),o.createBlock(_,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(p,o.mergeProps({for:"amplify-field-"+o.unref(m),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString("Country Code"))]),_:1},16,["for"]),o.createVNode(_,{class:"amplify-select__wrapper"},{default:o.withCtx(()=>[o.createVNode(w,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+o.unref(m),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:o.unref(l),"select-value":o.unref(c)},null,8,["id","options","select-value"]),o.createVNode(_,{class:"amplify-flex amplify-select__icon-wrapper amplify-authenticator__icon-wrapper"},{default:o.withCtx(()=>[f0]),_:1})]),_:1})]),_:1})):o.createCommentVNode("",!0)]),_:1}),o.createVNode(_,{class:"amplify-field-group__field-wrapper"},{default:o.withCtx(()=>{var v;return[o.createVNode(S,{class:"amplify-input amplify-field-group__control",id:"amplify-field-"+o.unref(d),autocomplete:o.unref(a),name:o.unref(r),required:(v=o.unref(u))!=null?v:!0,type:e.type,placeholder:o.unref(i),"aria-invalid":e.hasError,"aria-describedBy":e.describedBy},null,8,["id","autocomplete","name","required","type","placeholder","aria-invalid","aria-describedBy"])]}),_:1})]),_:1})]),_:1})}}}),m0=["id"],gs=o.defineComponent({__name:"base-form-field",props:{name:{default:""},formField:{default:()=>({})}},setup(e){const t=e,{name:n,formField:r}=o.toRefs(t),i=Oe($e),{validationErrors:a}=o.toRefs(i()),{type:s}=r.value,u=s==="password",c=QC(12),l=o.computed(()=>Rl(a.value[n.value])),d=o.computed(()=>{var f;return((f=l.value)==null?void 0:f.length)>0}),m=o.computed(()=>d.value?c:void 0);return(f,h)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[u?(o.openBlock(),o.createBlock(ko,{key:0,name:o.unref(n),label:o.unref(r).label,placeholder:o.unref(r).placeholder,required:o.unref(r).isRequired,"label-hidden":o.unref(r).labelHidden,autocomplete:o.unref(r).autocomplete,hasError:o.unref(d),describedBy:o.unref(m)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","hasError","describedBy"])):(o.openBlock(),o.createBlock(p0,{key:1,name:o.unref(n),label:o.unref(r).label,placeholder:o.unref(r).placeholder,required:o.unref(r).isRequired,"label-hidden":o.unref(r).labelHidden,autocomplete:o.unref(r).autocomplete,"dial-code":o.unref(r).dialCode,"dial-code-list":o.unref(r).dialCodeList,type:o.unref(r).type,hasError:o.unref(d),describedBy:o.unref(m)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","dial-code","dial-code-list","type","hasError","describedBy"])),o.unref(d)?(o.openBlock(),o.createElementBlock("div",{key:2,id:o.unref(m)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),(p,w)=>(o.openBlock(),o.createElementBlock("p",{key:w,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},o.toDisplayString(o.unref(F)(p)),1))),128))],8,m0)):o.createCommentVNode("",!0)],64))}}),Ye=o.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=o.toRefs(t),{state:r}=Ue();let i=[];return o.onBeforeMount(()=>{i=hv(n.value,r.value)}),(a,s)=>(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(i),([u,c])=>(o.openBlock(),o.createBlock(gs,{name:u,key:u,formField:c},null,8,["name","formField"]))),128))}}),h0=o.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),g0={"data-amplify-footer":""},xo=o.defineComponent({__name:"sign-in",emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){const r=Oe($e)(),i=o.useAttrs(),{getForgotPasswordText:a,getSignInText:s,getSigningInText:u}=xe,c=o.computed(()=>a()),l=o.computed(()=>s()),d=o.computed(()=>u()),{state:m,send:f}=Ue(),h=o.computed(()=>Ae(m.value)),p=v=>{const{name:g,value:b}=v.target;f({type:"CHANGE",data:{name:g,value:b}})},w=v=>{i!=null&&i.onSignInSubmit?t("signInSubmit",v):_(v)},_=v=>{r.submitForm(ze(v))},S=()=>{i!=null&&i.onForgotPasswordClicked?t("forgotPasswordClicked"):f({type:"RESET_PASSWORD"})};return(v,g)=>{const b=Me,C=Ge,A=Ie,I=_e,P=He,U=We;return o.renderSlot(v.$slots,"signInSlotI",o.normalizeProps(o.guardReactiveProps(v.$attrs)),()=>[o.renderSlot(v.$slots,"header"),o.createVNode(I,o.normalizeProps(o.guardReactiveProps(v.$attrs)),{default:o.withCtx(()=>[o.createVNode(P,{"data-amplify-authenticator-signin":"",onInput:p,onSubmit:o.withModifiers(w,["prevent"]),method:"post"},{formt:o.withCtx(({slotData:T})=>[o.renderSlot(v.$slots,"form",{info:T,onSignInSubmit:w,onInput:p,onForgotPasswordClicked:S})]),default:o.withCtx(()=>[o.createVNode(Qn),o.createVNode(I,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(b,{disabled:o.unref(h).matches("signIn.submit"),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:o.withCtx(({slotData:T})=>[o.renderSlot(v.$slots,"signin-fields",{info:T})]),default:o.withCtx(()=>[h0,o.createVNode(Ye,{route:"signIn"})]),_:3},8,["disabled"]),o.unref(h).context.remoteError?(o.openBlock(),o.createBlock(C,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(h).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(A,{disabled:o.unref(h).matches("signIn.submit"),class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h).matches("signIn.submit")?o.unref(d):o.unref(l)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),o.createVNode(U,null,{default:o.withCtx(()=>[o.renderSlot(v.$slots,"footer",{},()=>[o.createElementVNode("div",g0,[o.createVNode(A,{onClick:S,class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!0,size:"small",style:{"font-weight":"normal"},type:"button"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(c)),1)]),_:1})])])]),_:3})])}}}),Oo=o.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Ye,{route:"signUp"}))}}),Uo=o.defineComponent({__name:"sign-up",emits:["signUpSubmit"],setup(e,{emit:t}){const n=Oe($e),r=n(),i=n(),{hasValidationErrors:a,isPending:s,error:u}=o.toRefs(r),c=o.useAttrs(),{getCreateAccountText:l}=xe,d=o.computed(()=>l()),m=w=>{let{checked:_,name:S,type:v,value:g}=w.target;v==="checkbox"&&!_&&(g=void 0),i.updateForm({name:S,value:g})};function f(w){const{name:_}=w.target;i.updateBlur({name:_})}const h=w=>{c!=null&&c.onSignUpSubmit?t("signUpSubmit",w):p(w)},p=w=>{i.submitForm(ze(w))};return(w,_)=>{const S=Me,v=Ge,g=Ie,b=_e,C=He,A=We;return o.renderSlot(w.$slots,"signUpSlotI",o.normalizeProps(o.guardReactiveProps(w.$attrs)),()=>[o.renderSlot(w.$slots,"header"),o.createVNode(b,o.normalizeProps(o.guardReactiveProps(w.$attrs)),{default:o.withCtx(()=>[o.createVNode(C,{onInput:m,onBlurCapture:f,onSubmit:o.withModifiers(h,["prevent"])},{default:o.withCtx(()=>[o.createVNode(Qn),o.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(S,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(s)},{fieldSetI:o.withCtx(({slotData:I})=>[o.renderSlot(w.$slots,"signup-fields",{info:I})]),default:o.withCtx(()=>[o.createVNode(Oo)]),_:3},8,["disabled"]),o.unref(u)?(o.openBlock(),o.createBlock(v,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(u))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(g,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:o.unref(s)||o.unref(a)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(d)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),o.createVNode(A,null,{default:o.withCtx(()=>[o.renderSlot(w.$slots,"footer")]),_:3})])}}}),v0=o.defineComponent({__name:"base-two-tab-item",props:{label:null,id:null,active:{type:Boolean,default:!1}},setup(e){const t=e,{active:n,id:r,label:i}=o.toRefs(t);return(a,s)=>{const u=_e;return o.openBlock(),o.createBlock(u,{tabindex:o.unref(n)?0:-1,"data-state":o.unref(n)?"active":"inactive","aria-selected":o.unref(n)?"true":"false","aria-controls":`radix-id-${o.unref(r)}-8-content-0`,id:`radix-id-${o.unref(r)}-8-trigger-0`,"data-orientation":"horizontal",role:"tab",class:"amplify-tabs-item","data-spacing":"equal","data-radix-collection-item":""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(i)),1)]),_:1},8,["tabindex","data-state","aria-selected","aria-controls","id"])}}}),y0={};function w0(e,t){const n=_e;return o.openBlock(),o.createBlock(n,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",class:"amplify-authenticator__tabs",role:"tablist"},{default:o.withCtx(()=>[o.createVNode(n,{class:"amplify-flex amplify-tabs amplify-authenticator__tabs-wrapper","data-indicator-position":"top"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var S0=Xn(y0,[["render",w0]]);const rt=o.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n}){var s,u;const r=t.default?t.default():[],i=t.headingI?t.headingI():[],a=`${n.class||""} amplify-heading--${e.level}`;if(((u=(s=i[0])==null?void 0:s.children)==null?void 0:u.length)===0)i[0].children=[o.h(`h${e.level}`,{...n,class:a},[r])];else return()=>o.h(`h${e.level}`,{"data-amplify-heading":"",...n,class:a},[i[0]?o.h(i[0].children[0]):o.h(r[0])]);return()=>i}}),_0={};function b0(e,t){return o.renderSlot(e.$slots,"textI",o.normalizeProps(o.guardReactiveProps(e.$attrs)),()=>[o.createElementVNode("span",o.mergeProps(e.$attrs,{"data-amplify-text":""}),[o.renderSlot(e.$slots,"default")],16)])}var vs=Xn(_0,[["render",b0]]);const Ro=o.defineComponent({__name:"confirm-sign-up",emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=Oe($e),{isPending:i,error:a,codeDeliveryDetails:s}=o.toRefs(r()),{submitForm:u,updateForm:c,resendCode:l}=r(),{getDeliveryMethodText:d,getDeliveryMessageText:m,getResendCodeText:f,getConfirmText:h}=xe,p=o.computed(()=>d(s.value)),w=o.computed(()=>f()),_=o.computed(()=>h()),S=o.computed(()=>m(s.value)),v=A=>{const{name:I,value:P}=A.target;c({name:I,value:P})},g=A=>{n!=null&&n.onConfirmSignUpSubmit?t("confirmSignUpSubmit",A):b(A)},b=A=>{u(ze(A))},C=()=>{n!=null&&n.onLostCodeClicked?t("lostCodeClicked"):l()};return(A,I)=>{const P=rt,U=vs,T=Me,k=Ge,M=Ie,D=We,L=_e,j=He;return o.renderSlot(A.$slots,"confirmSignUpSlotI",o.normalizeProps(o.guardReactiveProps(A.$attrs)),()=>[o.createVNode(L,o.normalizeProps(o.guardReactiveProps(A.$attrs)),{default:o.withCtx(()=>[o.createVNode(j,{onInput:v,onSubmit:o.withModifiers(g,["prevent"])},{default:o.withCtx(()=>[o.createVNode(L,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(A.$slots,"header",{},()=>[o.createVNode(P,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1})]),o.createVNode(U,{class:"amplify-authenticator__subtitle"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1}),o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(i)},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"confirmSignUp"})]),_:1},8,["disabled"]),o.createVNode(D,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(a)?(o.openBlock(),o.createBlock(k,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(a))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(M,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:o.unref(i)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(_)),1)]),_:1},8,["disabled"]),o.createVNode(M,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(C,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(w)),1)]),_:1},8,["onClick"]),o.renderSlot(A.$slots,"footer",{onConfirmSignUpSubmit:g,onLostCodeClicked:C})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Fo=o.defineComponent({__name:"confirm-sign-in",emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=Ue(),s=Oe($e)(),u=o.computed(()=>Ae(r.value)),c=u.value.context.challengeName,{getBackToSignInText:l,getConfirmText:d,getChallengeText:m}=xe,f=o.computed(()=>m(c)),h=o.computed(()=>l()),p=o.computed(()=>d()),w=g=>{const{name:b,value:C}=g.target;i({type:"CHANGE",data:{name:b,value:C}})},_=g=>{n!=null&&n.onConfirmSignInSubmit?t("confirmSignInSubmit",g):S(g)},S=g=>{s.submitForm(ze(g))},v=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(g,b)=>{const C=rt,A=_e,I=Ge,P=Ie,U=We,T=Me,k=He;return o.renderSlot(g.$slots,"confirmSignInSlotI",o.normalizeProps(o.guardReactiveProps(g.$attrs)),()=>[o.createVNode(A,o.normalizeProps(o.guardReactiveProps(g.$attrs)),{default:o.withCtx(()=>[o.createVNode(k,{"data-amplify-authenticator-confirmsignin":"",onInput:w,onSubmit:o.withModifiers(_,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.renderSlot(g.$slots,"header",{},()=>[o.createVNode(C,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"confirmSignIn"})]),_:1}),o.createVNode(U,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var M,D;return[(D=(M=o.unref(u))==null?void 0:M.context)!=null&&D.remoteError?(o.openBlock(),o.createBlock(I,{key:0},{default:o.withCtx(()=>{var L,j;return[o.createTextVNode(o.toDisplayString(o.unref(F)((j=(L=o.unref(u))==null?void 0:L.context)==null?void 0:j.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:o.unref(u).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(v,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1},8,["onClick"]),o.renderSlot(g.$slots,"footer",{onBackToSignInClicked:v,onConfirmSignInSubmit:_})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var nn={},C0=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},ys={},Ne={};let Bo;const A0=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];Ne.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};Ne.getSymbolTotalCodewords=function(t){return A0[t]};Ne.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};Ne.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Bo=t};Ne.isKanjiModeEnabled=function(){return typeof Bo!="undefined"};Ne.toSJIS=function(t){return Bo(t)};var nr={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},e.from=function(r,i){if(e.isValid(r))return r;try{return t(r)}catch{return i}}})(nr);function ws(){this.buffer=[],this.length=0}ws.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var T0=ws;function rn(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}rn.prototype.set=function(e,t,n,r){const i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)};rn.prototype.get=function(e,t){return this.data[e*this.size+t]};rn.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};rn.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var I0=rn,Ss={};(function(e){const t=Ne.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const i=Math.floor(r/7)+2,a=t(r),s=a===145?26:Math.ceil((a-13)/(2*i-2))*2,u=[a-7];for(let c=1;c<i-1;c++)u[c]=u[c-1]-s;return u.push(6),u.reverse()},e.getPositions=function(r){const i=[],a=e.getRowColCoords(r),s=a.length;for(let u=0;u<s;u++)for(let c=0;c<s;c++)u===0&&c===0||u===0&&c===s-1||u===s-1&&c===0||i.push([a[u],a[c]]);return i}})(Ss);var _s={};const E0=Ne.getSymbolSize,na=7;_s.getPositions=function(t){const n=E0(t);return[[0,0],[n-na,0],[0,n-na]]};var bs={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const a=i.size;let s=0,u=0,c=0,l=null,d=null;for(let m=0;m<a;m++){u=c=0,l=d=null;for(let f=0;f<a;f++){let h=i.get(m,f);h===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=h,u=1),h=i.get(f,m),h===d?c++:(c>=5&&(s+=t.N1+(c-5)),d=h,c=1)}u>=5&&(s+=t.N1+(u-5)),c>=5&&(s+=t.N1+(c-5))}return s},e.getPenaltyN2=function(i){const a=i.size;let s=0;for(let u=0;u<a-1;u++)for(let c=0;c<a-1;c++){const l=i.get(u,c)+i.get(u,c+1)+i.get(u+1,c)+i.get(u+1,c+1);(l===4||l===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const a=i.size;let s=0,u=0,c=0;for(let l=0;l<a;l++){u=c=0;for(let d=0;d<a;d++)u=u<<1&2047|i.get(l,d),d>=10&&(u===1488||u===93)&&s++,c=c<<1&2047|i.get(d,l),d>=10&&(c===1488||c===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let a=0;const s=i.data.length;for(let c=0;c<s;c++)a+=i.data[c];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function n(r,i,a){switch(r){case e.Patterns.PATTERN000:return(i+a)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return a%3===0;case e.Patterns.PATTERN011:return(i+a)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(a/3))%2===0;case e.Patterns.PATTERN101:return i*a%2+i*a%3===0;case e.Patterns.PATTERN110:return(i*a%2+i*a%3)%2===0;case e.Patterns.PATTERN111:return(i*a%3+(i+a)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(i,a){const s=a.size;for(let u=0;u<s;u++)for(let c=0;c<s;c++)a.isReserved(c,u)||a.xor(c,u,n(i,c,u))},e.getBestMask=function(i,a){const s=Object.keys(e.Patterns).length;let u=0,c=1/0;for(let l=0;l<s;l++){a(l),e.applyMask(l,i);const d=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(l,i),d<c&&(c=d,u=l)}return u}})(bs);var rr={};const nt=nr,wn=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Sn=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];rr.getBlocksCount=function(t,n){switch(n){case nt.L:return wn[(t-1)*4+0];case nt.M:return wn[(t-1)*4+1];case nt.Q:return wn[(t-1)*4+2];case nt.H:return wn[(t-1)*4+3];default:return}};rr.getTotalCodewordsCount=function(t,n){switch(n){case nt.L:return Sn[(t-1)*4+0];case nt.M:return Sn[(t-1)*4+1];case nt.Q:return Sn[(t-1)*4+2];case nt.H:return Sn[(t-1)*4+3];default:return}};var Cs={},or={};const zt=new Uint8Array(512),Rn=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)zt[n]=t,Rn[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)zt[n]=zt[n-255]})();or.log=function(t){if(t<1)throw new Error("log("+t+")");return Rn[t]};or.exp=function(t){return zt[t]};or.mul=function(t,n){return t===0||n===0?0:zt[Rn[t]+Rn[n]]};(function(e){const t=or;e.mul=function(r,i){const a=new Uint8Array(r.length+i.length-1);for(let s=0;s<r.length;s++)for(let u=0;u<i.length;u++)a[s+u]^=t.mul(r[s],i[u]);return a},e.mod=function(r,i){let a=new Uint8Array(r);for(;a.length-i.length>=0;){const s=a[0];for(let c=0;c<i.length;c++)a[c]^=t.mul(i[c],s);let u=0;for(;u<a.length&&a[u]===0;)u++;a=a.slice(u)}return a},e.generateECPolynomial=function(r){let i=new Uint8Array([1]);for(let a=0;a<r;a++)i=e.mul(i,new Uint8Array([1,t.exp(a)]));return i}})(Cs);const As=Cs;function Do(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Do.prototype.initialize=function(t){this.degree=t,this.genPoly=As.generateECPolynomial(this.degree)};Do.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const r=As.mod(n,this.genPoly),i=this.degree-r.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(r,i),a}return r};var P0=Do,Ts={},ot={},Vo={};Vo.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Ke={};const Is="[0-9]+",$0="[A-Z $%*+\\-./:]+";let Yt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";Yt=Yt.replace(/u/g,"\\u");const N0="(?:(?![A-Z0-9 $%*+\\-./:]|"+Yt+`)(?:.|[\r
32
- ]))+`;Ke.KANJI=new RegExp(Yt,"g");Ke.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Ke.BYTE=new RegExp(N0,"g");Ke.NUMERIC=new RegExp(Is,"g");Ke.ALPHANUMERIC=new RegExp($0,"g");const k0=new RegExp("^"+Yt+"$"),x0=new RegExp("^"+Is+"$"),O0=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Ke.testKanji=function(t){return k0.test(t)};Ke.testNumeric=function(t){return x0.test(t)};Ke.testAlphanumeric=function(t){return O0.test(t)};(function(e){const t=Vo,n=Ke;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(a,s){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?a.ccBits[0]:s<27?a.ccBits[1]:a.ccBits[2]},e.getBestModeForData=function(a){return n.testNumeric(a)?e.NUMERIC:n.testAlphanumeric(a)?e.ALPHANUMERIC:n.testKanji(a)?e.KANJI:e.BYTE},e.toString=function(a){if(a&&a.id)return a.id;throw new Error("Invalid mode")},e.isValid=function(a){return a&&a.bit&&a.ccBits};function r(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(a,s){if(e.isValid(a))return a;try{return r(a)}catch{return s}}})(ot);(function(e){const t=Ne,n=rr,r=nr,i=ot,a=Vo,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,u=t.getBCHDigit(s);function c(f,h,p){for(let w=1;w<=40;w++)if(h<=e.getCapacity(w,p,f))return w}function l(f,h){return i.getCharCountIndicator(f,h)+4}function d(f,h){let p=0;return f.forEach(function(w){p+=l(w.mode,h)+w.getBitsLength()}),p}function m(f,h){for(let p=1;p<=40;p++)if(d(f,p)<=e.getCapacity(p,h,i.MIXED))return p}e.from=function(h,p){return a.isValid(h)?parseInt(h,10):p},e.getCapacity=function(h,p,w){if(!a.isValid(h))throw new Error("Invalid QR Code version");typeof w=="undefined"&&(w=i.BYTE);const _=t.getSymbolTotalCodewords(h),S=n.getTotalCodewordsCount(h,p),v=(_-S)*8;if(w===i.MIXED)return v;const g=v-l(w,h);switch(w){case i.NUMERIC:return Math.floor(g/10*3);case i.ALPHANUMERIC:return Math.floor(g/11*2);case i.KANJI:return Math.floor(g/13);case i.BYTE:default:return Math.floor(g/8)}},e.getBestVersionForData=function(h,p){let w;const _=r.from(p,r.M);if(Array.isArray(h)){if(h.length>1)return m(h,_);if(h.length===0)return 1;w=h[0]}else w=h;return c(w.mode,w.getLength(),_)},e.getEncodedBits=function(h){if(!a.isValid(h)||h<7)throw new Error("Invalid QR Code version");let p=h<<12;for(;t.getBCHDigit(p)-u>=0;)p^=s<<t.getBCHDigit(p)-u;return h<<12|p}})(Ts);var Es={};const Lr=Ne,Ps=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,U0=1<<14|1<<12|1<<10|1<<4|1<<1,ra=Lr.getBCHDigit(Ps);Es.getEncodedBits=function(t,n){const r=t.bit<<3|n;let i=r<<10;for(;Lr.getBCHDigit(i)-ra>=0;)i^=Ps<<Lr.getBCHDigit(i)-ra;return(r<<10|i)^U0};var $s={};const R0=ot;function _t(e){this.mode=R0.NUMERIC,this.data=e.toString()}_t.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};_t.prototype.getLength=function(){return this.data.length};_t.prototype.getBitsLength=function(){return _t.getBitsLength(this.data.length)};_t.prototype.write=function(t){let n,r,i;for(n=0;n+3<=this.data.length;n+=3)r=this.data.substr(n,3),i=parseInt(r,10),t.put(i,10);const a=this.data.length-n;a>0&&(r=this.data.substr(n),i=parseInt(r,10),t.put(i,a*3+1))};var F0=_t;const B0=ot,gr=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function bt(e){this.mode=B0.ALPHANUMERIC,this.data=e}bt.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};bt.prototype.getLength=function(){return this.data.length};bt.prototype.getBitsLength=function(){return bt.getBitsLength(this.data.length)};bt.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let r=gr.indexOf(this.data[n])*45;r+=gr.indexOf(this.data[n+1]),t.put(r,11)}this.data.length%2&&t.put(gr.indexOf(this.data[n]),6)};var D0=bt,V0=function(t){for(var n=[],r=t.length,i=0;i<r;i++){var a=t.charCodeAt(i);if(a>=55296&&a<=56319&&r>i+1){var s=t.charCodeAt(i+1);s>=56320&&s<=57343&&(a=(a-55296)*1024+s-56320+65536,i+=1)}if(a<128){n.push(a);continue}if(a<2048){n.push(a>>6|192),n.push(a&63|128);continue}if(a<55296||a>=57344&&a<65536){n.push(a>>12|224),n.push(a>>6&63|128),n.push(a&63|128);continue}if(a>=65536&&a<=1114111){n.push(a>>18|240),n.push(a>>12&63|128),n.push(a>>6&63|128),n.push(a&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const M0=V0,L0=ot;function Ct(e){this.mode=L0.BYTE,this.data=new Uint8Array(M0(e))}Ct.getBitsLength=function(t){return t*8};Ct.prototype.getLength=function(){return this.data.length};Ct.prototype.getBitsLength=function(){return Ct.getBitsLength(this.data.length)};Ct.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var j0=Ct;const z0=ot,G0=Ne;function At(e){this.mode=z0.KANJI,this.data=e}At.getBitsLength=function(t){return t*13};At.prototype.getLength=function(){return this.data.length};At.prototype.getBitsLength=function(){return At.getBitsLength(this.data.length)};At.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=G0.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
33
- Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var H0=At,Ns={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,r,i){var a={},s={};s[r]=0;var u=t.PriorityQueue.make();u.push(r,0);for(var c,l,d,m,f,h,p,w,_;!u.empty();){c=u.pop(),l=c.value,m=c.cost,f=n[l]||{};for(d in f)f.hasOwnProperty(d)&&(h=f[d],p=m+h,w=s[d],_=typeof s[d]=="undefined",(_||w>p)&&(s[d]=p,u.push(d,p),a[d]=l))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var S=["Could not find a path from ",r," to ",i,"."].join("");throw new Error(S)}return a},extract_shortest_path_from_predecessor_list:function(n,r){for(var i=[],a=r;a;)i.push(a),n[a],a=n[a];return i.reverse(),i},find_path:function(n,r,i){var a=t.single_source_shortest_paths(n,r,i);return t.extract_shortest_path_from_predecessor_list(a,i)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,i={},a;n=n||{};for(a in r)r.hasOwnProperty(a)&&(i[a]=r[a]);return i.queue=[],i.sorter=n.sorter||r.default_sorter,i},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var i={value:n,cost:r};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Ns);(function(e){const t=ot,n=F0,r=D0,i=j0,a=H0,s=Ke,u=Ne,c=Ns.exports;function l(S){return unescape(encodeURIComponent(S)).length}function d(S,v,g){const b=[];let C;for(;(C=S.exec(g))!==null;)b.push({data:C[0],index:C.index,mode:v,length:C[0].length});return b}function m(S){const v=d(s.NUMERIC,t.NUMERIC,S),g=d(s.ALPHANUMERIC,t.ALPHANUMERIC,S);let b,C;return u.isKanjiModeEnabled()?(b=d(s.BYTE,t.BYTE,S),C=d(s.KANJI,t.KANJI,S)):(b=d(s.BYTE_KANJI,t.BYTE,S),C=[]),v.concat(g,b,C).sort(function(I,P){return I.index-P.index}).map(function(I){return{data:I.data,mode:I.mode,length:I.length}})}function f(S,v){switch(v){case t.NUMERIC:return n.getBitsLength(S);case t.ALPHANUMERIC:return r.getBitsLength(S);case t.KANJI:return a.getBitsLength(S);case t.BYTE:return i.getBitsLength(S)}}function h(S){return S.reduce(function(v,g){const b=v.length-1>=0?v[v.length-1]:null;return b&&b.mode===g.mode?(v[v.length-1].data+=g.data,v):(v.push(g),v)},[])}function p(S){const v=[];for(let g=0;g<S.length;g++){const b=S[g];switch(b.mode){case t.NUMERIC:v.push([b,{data:b.data,mode:t.ALPHANUMERIC,length:b.length},{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.ALPHANUMERIC:v.push([b,{data:b.data,mode:t.BYTE,length:b.length}]);break;case t.KANJI:v.push([b,{data:b.data,mode:t.BYTE,length:l(b.data)}]);break;case t.BYTE:v.push([{data:b.data,mode:t.BYTE,length:l(b.data)}])}}return v}function w(S,v){const g={},b={start:{}};let C=["start"];for(let A=0;A<S.length;A++){const I=S[A],P=[];for(let U=0;U<I.length;U++){const T=I[U],k=""+A+U;P.push(k),g[k]={node:T,lastCount:0},b[k]={};for(let M=0;M<C.length;M++){const D=C[M];g[D]&&g[D].node.mode===T.mode?(b[D][k]=f(g[D].lastCount+T.length,T.mode)-f(g[D].lastCount,T.mode),g[D].lastCount+=T.length):(g[D]&&(g[D].lastCount=T.length),b[D][k]=f(T.length,T.mode)+4+t.getCharCountIndicator(T.mode,v))}}C=P}for(let A=0;A<C.length;A++)b[C[A]].end=0;return{map:b,table:g}}function _(S,v){let g;const b=t.getBestModeForData(S);if(g=t.from(v,b),g!==t.BYTE&&g.bit<b.bit)throw new Error('"'+S+'" cannot be encoded with mode '+t.toString(g)+`.
34
- Suggested mode is: `+t.toString(b));switch(g===t.KANJI&&!u.isKanjiModeEnabled()&&(g=t.BYTE),g){case t.NUMERIC:return new n(S);case t.ALPHANUMERIC:return new r(S);case t.KANJI:return new a(S);case t.BYTE:return new i(S)}}e.fromArray=function(v){return v.reduce(function(g,b){return typeof b=="string"?g.push(_(b,null)):b.data&&g.push(_(b.data,b.mode)),g},[])},e.fromString=function(v,g){const b=m(v,u.isKanjiModeEnabled()),C=p(b),A=w(C,g),I=c.find_path(A.map,"start","end"),P=[];for(let U=1;U<I.length-1;U++)P.push(A.table[I[U]].node);return e.fromArray(h(P))},e.rawSplit=function(v){return e.fromArray(m(v,u.isKanjiModeEnabled()))}})($s);const ir=Ne,vr=nr,W0=T0,Y0=I0,K0=Ss,q0=_s,jr=bs,zr=rr,J0=P0,Fn=Ts,Z0=Es,X0=ot,yr=$s;function Q0(e,t){const n=e.size,r=q0.getPositions(t);for(let i=0;i<r.length;i++){const a=r[i][0],s=r[i][1];for(let u=-1;u<=7;u++)if(!(a+u<=-1||n<=a+u))for(let c=-1;c<=7;c++)s+c<=-1||n<=s+c||(u>=0&&u<=6&&(c===0||c===6)||c>=0&&c<=6&&(u===0||u===6)||u>=2&&u<=4&&c>=2&&c<=4?e.set(a+u,s+c,!0,!0):e.set(a+u,s+c,!1,!0))}}function e2(e){const t=e.size;for(let n=8;n<t-8;n++){const r=n%2===0;e.set(n,6,r,!0),e.set(6,n,r,!0)}}function t2(e,t){const n=K0.getPositions(t);for(let r=0;r<n.length;r++){const i=n[r][0],a=n[r][1];for(let s=-2;s<=2;s++)for(let u=-2;u<=2;u++)s===-2||s===2||u===-2||u===2||s===0&&u===0?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0)}}function n2(e,t){const n=e.size,r=Fn.getEncodedBits(t);let i,a,s;for(let u=0;u<18;u++)i=Math.floor(u/3),a=u%3+n-8-3,s=(r>>u&1)===1,e.set(i,a,s,!0),e.set(a,i,s,!0)}function wr(e,t,n){const r=e.size,i=Z0.getEncodedBits(t,n);let a,s;for(a=0;a<15;a++)s=(i>>a&1)===1,a<6?e.set(a,8,s,!0):a<8?e.set(a+1,8,s,!0):e.set(r-15+a,8,s,!0),a<8?e.set(8,r-a-1,s,!0):a<9?e.set(8,15-a-1+1,s,!0):e.set(8,15-a-1,s,!0);e.set(r-8,8,1,!0)}function r2(e,t){const n=e.size;let r=-1,i=n-1,a=7,s=0;for(let u=n-1;u>0;u-=2)for(u===6&&u--;;){for(let c=0;c<2;c++)if(!e.isReserved(i,u-c)){let l=!1;s<t.length&&(l=(t[s]>>>a&1)===1),e.set(i,u-c,l),a--,a===-1&&(s++,a=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}function o2(e,t,n){const r=new W0;n.forEach(function(c){r.put(c.mode.bit,4),r.put(c.getLength(),X0.getCharCountIndicator(c.mode,e)),c.write(r)});const i=ir.getSymbolTotalCodewords(e),a=zr.getTotalCodewordsCount(e,t),s=(i-a)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const u=(s-r.getLengthInBits())/8;for(let c=0;c<u;c++)r.put(c%2?17:236,8);return i2(r,e,t)}function i2(e,t,n){const r=ir.getSymbolTotalCodewords(t),i=zr.getTotalCodewordsCount(t,n),a=r-i,s=zr.getBlocksCount(t,n),u=r%s,c=s-u,l=Math.floor(r/s),d=Math.floor(a/s),m=d+1,f=l-d,h=new J0(f);let p=0;const w=new Array(s),_=new Array(s);let S=0;const v=new Uint8Array(e.buffer);for(let I=0;I<s;I++){const P=I<c?d:m;w[I]=v.slice(p,p+P),_[I]=h.encode(w[I]),p+=P,S=Math.max(S,P)}const g=new Uint8Array(r);let b=0,C,A;for(C=0;C<S;C++)for(A=0;A<s;A++)C<w[A].length&&(g[b++]=w[A][C]);for(C=0;C<f;C++)for(A=0;A<s;A++)g[b++]=_[A][C];return g}function a2(e,t,n,r){let i;if(Array.isArray(e))i=yr.fromArray(e);else if(typeof e=="string"){let l=t;if(!l){const d=yr.rawSplit(e);l=Fn.getBestVersionForData(d,n)}i=yr.fromString(e,l||40)}else throw new Error("Invalid data");const a=Fn.getBestVersionForData(i,n);if(!a)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=a;else if(t<a)throw new Error(`
28
+ ***************************************************************************** */var I=function(){return I=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},I.apply(this,arguments)};function Sr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function B(e){var t=typeof Symbol=="function"&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function V(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var r=n.call(e),i,a=[],s;try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)a.push(i.value)}catch(u){s={error:u}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(s)throw s.error}}return a}function G(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,a;r<i;r++)(a||!(r in t))&&(a||(a=Array.prototype.slice.call(t,0,r)),a[r]=t[r]);return e.concat(a||Array.prototype.slice.call(t))}var L;(function(e){e.Start="xstate.start",e.Stop="xstate.stop",e.Raise="xstate.raise",e.Send="xstate.send",e.Cancel="xstate.cancel",e.NullEvent="",e.Assign="xstate.assign",e.After="xstate.after",e.DoneState="done.state",e.DoneInvoke="done.invoke",e.Log="xstate.log",e.Init="xstate.init",e.Invoke="xstate.invoke",e.ErrorExecution="error.execution",e.ErrorCommunication="error.communication",e.ErrorPlatform="error.platform",e.ErrorCustom="xstate.error",e.Update="xstate.update",e.Pure="xstate.pure",e.Choose="xstate.choose"})(L||(L={}));var ke;(function(e){e.Parent="#_parent",e.Internal="#_internal"})(ke||(ke={}));var Yn=L.Start,_r=L.Stop,Je=L.Raise,Ze=L.Send,ra=L.Cancel,Cw=L.NullEvent,br=L.Assign;L.After;L.DoneState;var oa=L.Log,Aw=L.Init,Kn=L.Invoke;L.ErrorExecution;var ui=L.ErrorPlatform,Tw=L.ErrorCustom,Cr=L.Update,Iw=L.Choose,Ew=L.Pure,ia=".",ci={},qn="xstate.guard",Pw="",aa=!0,xt;function Ar(e,t,n){n===void 0&&(n=ia);var r=vt(e,n),i=vt(t,n);return D(i)?D(r)?i===r:!1:D(r)?r in i:Object.keys(r).every(function(a){return a in i?Ar(r[a],i[a]):!1})}function sa(e){try{return D(e)||typeof e=="number"?"".concat(e):e.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function Jn(e,t){try{return lt(e)?e:e.toString().split(t)}catch{throw new Error("'".concat(e,"' is not a valid state path."))}}function Nw(e){return typeof e=="object"&&"value"in e&&"context"in e&&"event"in e&&"_event"in e}function vt(e,t){if(Nw(e))return e.value;if(lt(e))return qt(e);if(typeof e!="string")return e;var n=Jn(e,t);return qt(n)}function qt(e){if(e.length===1)return e[0];for(var t={},n=t,r=0;r<e.length-1;r++)r===e.length-2?n[e[r]]=e[r+1]:(n[e[r]]={},n=n[e[r]]);return t}function mt(e,t){for(var n={},r=Object.keys(e),i=0;i<r.length;i++){var a=r[i];n[a]=t(e[a],a,e,i)}return n}function li(e,t,n){var r,i,a={};try{for(var s=B(Object.keys(e)),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c];!n(l)||(a[c]=t(l,c,e))}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}var kw=function(e){return function(t){var n,r,i=t;try{for(var a=B(e),s=a.next();!s.done;s=a.next()){var u=s.value;i=i[u]}}catch(c){n={error:c}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}};function xw(e,t){return function(n){var r,i,a=n;try{for(var s=B(e),u=s.next();!u.done;u=s.next()){var c=u.value;a=a[t][c]}}catch(l){r={error:l}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}}function Gt(e){if(!e)return[[]];if(D(e))return[[e]];var t=K(Object.keys(e).map(function(n){var r=e[n];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[n]]:Gt(e[n]).map(function(i){return[n].concat(i)})}));return t}function K(e){var t;return(t=[]).concat.apply(t,G([],V(e),!1))}function ua(e){return lt(e)?e:[e]}function ye(e){return e===void 0?[]:ua(e)}function Jt(e,t,n){var r,i;if(z(e))return e(t,n.data);var a={};try{for(var s=B(Object.keys(e)),u=s.next();!u.done;u=s.next()){var c=u.value,l=e[c];z(l)?a[c]=l(t,n.data):a[c]=l}}catch(d){r={error:d}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}function $w(e){return/^(done|error)\./.test(e)}function di(e){return!!(e instanceof Promise||e!==null&&(z(e)||typeof e=="object")&&z(e.then))}function Ow(e){return e!==null&&typeof e=="object"&&"transition"in e&&typeof e.transition=="function"}function Uw(e,t){var n,r,i=V([[],[]],2),a=i[0],s=i[1];try{for(var u=B(e),c=u.next();!c.done;c=u.next()){var l=c.value;t(l)?a.push(l):s.push(l)}}catch(d){n={error:d}}finally{try{c&&!c.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return[a,s]}function ca(e,t){return mt(e.states,function(n,r){if(!!n){var i=(D(t)?void 0:t[r])||(n?n.current:void 0);if(!!i)return{current:i,states:ca(n,i)}}})}function Rw(e,t){return{current:t,states:ca(e,t)}}function fi(e,t,n,r){var i=e&&n.reduce(function(a,s){var u,c,l=s.assignment,d={state:r,action:s,_event:t},p={};if(z(l))p=l(a,t.data,d);else try{for(var f=B(Object.keys(l)),m=f.next();!m.done;m=f.next()){var v=m.value,y=l[v];p[v]=z(y)?y(a,t.data,d):y}}catch(w){u={error:w}}finally{try{m&&!m.done&&(c=f.return)&&c.call(f)}finally{if(u)throw u.error}}return Object.assign({},a,p)},e);return i}var Bw=function(){};function lt(e){return Array.isArray(e)}function z(e){return typeof e=="function"}function D(e){return typeof e=="string"}function la(e,t){if(!!e)return D(e)?{type:qn,name:e,predicate:t?t[e]:void 0}:z(e)?{type:qn,name:e.name,predicate:e}:e}function Vw(e){try{return"subscribe"in e&&z(e.subscribe)}catch{return!1}}var Oe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();xt={},xt[Oe]=function(){return this},xt[Symbol.observable]=function(){return this};function Qe(e){return!!e&&"__xstatenode"in e}function Fw(e){return!!e&&typeof e.send=="function"}var Mw=function(){var e=0;return function(){return e++,e.toString(16)}}();function Tr(e,t){return D(e)||typeof e=="number"?I({type:e},t):e}function re(e,t){if(!D(e)&&"$$type"in e&&e.$$type==="scxml")return e;var n=Tr(e);return I({name:n.type,data:n,$$type:"scxml",type:"external"},t)}function Ge(e,t){var n=ua(t).map(function(r){return typeof r=="undefined"||typeof r=="string"||Qe(r)?{target:r,event:e}:I(I({},r),{event:e})});return n}function Dw(e){if(!(e===void 0||e===Pw))return ye(e)}function da(e,t,n,r,i){var a=e.options.guards,s={state:i,cond:t,_event:r};if(t.type===qn)return((a==null?void 0:a[t.name])||t.predicate)(n,r.data,s);var u=a==null?void 0:a[t.type];if(!u)throw new Error("Guard '".concat(t.type,"' is not implemented on machine '").concat(e.id,"'."));return u(n,r.data,s)}function fa(e){return typeof e=="string"?{type:e}:e}function jt(e,t,n){var r=function(){},i=typeof e=="object",a=i?e:null;return{next:((i?e.next:e)||r).bind(a),error:((i?e.error:t)||r).bind(a),complete:((i?e.complete:n)||r).bind(a)}}function $t(e,t){return"".concat(e,":invocation[").concat(t,"]")}var Ke=re({type:Aw});function Zn(e,t){return t&&t[e]||void 0}function wt(e,t){var n;if(D(e)||typeof e=="number"){var r=Zn(e,t);z(r)?n={type:e,exec:r}:r?n=r:n={type:e,exec:void 0}}else if(z(e))n={type:e.name||e.toString(),exec:e};else{var r=Zn(e.type,t);if(z(r))n=I(I({},e),{exec:r});else if(r){var i=r.type||e.type;n=I(I(I({},r),e),{type:i})}else n=e}return n}var Ue=function(e,t){if(!e)return[];var n=lt(e)?e:[e];return n.map(function(r){return wt(r,t)})};function Ir(e){var t=wt(e);return I(I({id:D(e)?e:t.id},t),{type:t.type})}function Lw(e){return D(e)?{type:Je,event:e}:hn(e,{to:ke.Internal})}function zw(e){return{type:Je,_event:re(e.event)}}function hn(e,t){return{to:t?t.to:void 0,type:Ze,event:z(e)?e:Tr(e),delay:t?t.delay:void 0,id:t&&t.id!==void 0?t.id:z(e)?e.name:sa(e)}}function Gw(e,t,n,r){var i={_event:n},a=re(z(e.event)?e.event(t,n.data,i):e.event),s;if(D(e.delay)){var u=r&&r[e.delay];s=z(u)?u(t,n.data,i):u}else s=z(e.delay)?e.delay(t,n.data,i):e.delay;var c=z(e.to)?e.to(t,n.data,i):e.to;return I(I({},e),{to:c,_event:a,event:a.data,delay:s})}function jw(e,t){return hn(e,I(I({},t),{to:ke.Parent}))}function Hw(){return jw(Cr)}var Ww=function(e,t,n){return I(I({},e),{value:D(e.expr)?e.expr:e.expr(t,n.data,{_event:n})})},Yw=function(e){return{type:ra,sendId:e}};function Kw(e){var t=Ir(e);return{type:L.Start,activity:t,exec:void 0}}function pa(e){var t=z(e)?e:Ir(e);return{type:L.Stop,activity:t,exec:void 0}}function qw(e,t,n){var r=z(e.activity)?e.activity(t,n.data):e.activity,i=typeof r=="string"?{id:r}:r,a={type:L.Stop,activity:i};return a}var ma=function(e){return{type:br,assignment:e}};function Jw(e,t){var n=t?"#".concat(t):"";return"".concat(L.After,"(").concat(e,")").concat(n)}function Ot(e,t){var n="".concat(L.DoneState,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Ht(e,t){var n="".concat(L.DoneInvoke,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function ht(e,t){var n="".concat(L.ErrorPlatform,".").concat(e),r={type:n,data:t};return r.toString=function(){return n},r}function Zw(e,t){return hn(function(n,r){return r},I(I({},t),{to:e}))}function Qw(e){return{type:L.Choose,conds:e}}var Xw=function(e){var t,n,r=[];try{for(var i=B(e),a=i.next();!a.done;a=i.next())for(var s=a.value,u=0;u<s.length;){if(s[u].type===br){r.push(s[u]),s.splice(u,1);continue}u++}}catch(c){t={error:c}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r};function Zt(e,t,n,r,i,a,s){s===void 0&&(s=!1);var u=s?[]:Xw(i),c=u.length?fi(n,r,u,t):n,l=s?[n]:void 0,d=[];function p(v){var y;switch(v.type){case Je:return zw(v);case Ze:var w=Gw(v,c,r,e.options.delays);return a&&w.to!==ke.Internal&&d.push(w),w;case oa:{var S=Ww(v,c,r);return a==null||a(S,c,r),S}case Iw:{var g=v,h=(y=g.conds.find(function(O){var H=la(O.cond,e.options.guards);return!H||da(e,H,c,r,a?void 0:t)}))===null||y===void 0?void 0:y.actions;if(!h)return[];var _=V(Zt(e,t,c,r,[Ue(ye(h),e.options.actions)],a,s),2),b=_[0],C=_[1];return c=C,l==null||l.push(c),b}case Ew:{var h=v.get(c,r.data);if(!h)return[];var A=V(Zt(e,t,c,r,[Ue(ye(h),e.options.actions)],a,s),2),N=A[0],k=A[1];return c=k,l==null||l.push(c),N}case _r:{var S=qw(v,c,r);return a==null||a(S,n,r),S}case br:{c=fi(c,r,[v],a?void 0:t),l==null||l.push(c);break}default:var T=wt(v,e.options.actions),$=T.exec;if(a)a(T,c,r);else if($&&l){var U=l.length-1;T=I(I({},T),{exec:function(O){for(var H=[],J=1;J<arguments.length;J++)H[J-1]=arguments[J];$.apply(void 0,G([l[U]],V(H),!1))}})}return T}}function f(v){var y,w,S=[];try{for(var g=B(v),h=g.next();!h.done;h=g.next()){var _=h.value,b=p(_);b&&(S=S.concat(b))}}catch(C){y={error:C}}finally{try{h&&!h.done&&(w=g.return)&&w.call(g)}finally{if(y)throw y.error}}return d.forEach(function(C){a(C,c,r)}),d.length=0,S}var m=K(i.map(f));return[m,c]}var Qt=[],We=function(e,t){Qt.push(e);var n=t(e);return Qt.pop(),n},eS=function(e){return e(Qt[Qt.length-1])};function ha(e){var t;return t={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:e}}},t[Oe]=function(){return this},t}function tS(e,t,n,r){var i,a=fa(e.src),s=(i=t==null?void 0:t.options.services)===null||i===void 0?void 0:i[a.type],u=e.data?Jt(e.data,n,r):void 0,c=s?Er(s,e.id,u):ha(e.id);return c.meta=e,c}function Er(e,t,n){var r=ha(t);if(r.deferred=!0,Qe(e)){var i=r.state=We(void 0,function(){return(n?e.withContext(n):e).initialState});r.getSnapshot=function(){return i}}return r}function nS(e){try{return typeof e.send=="function"}catch{return!1}}function rS(e){return nS(e)&&"id"in e}function oS(e){var t;return I((t={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},t[Oe]=function(){return this},t),e)}var Xt=function(e){return e.type==="atomic"||e.type==="final"};function ga(e){return Object.keys(e.states).map(function(t){return e.states[t]})}function St(e){return ga(e).filter(function(t){return t.type!=="history"})}function va(e){var t=[e];return Xt(e)?t:t.concat(K(St(e).map(va)))}function gt(e,t){var n,r,i,a,s,u,c,l,d=new Set(e),p=Qn(d),f=new Set(t);try{for(var m=B(f),v=m.next();!v.done;v=m.next())for(var y=v.value,w=y.parent;w&&!f.has(w);)f.add(w),w=w.parent}catch(k){n={error:k}}finally{try{v&&!v.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}var S=Qn(f);try{for(var g=B(f),h=g.next();!h.done;h=g.next()){var y=h.value;if(y.type==="compound"&&(!S.get(y)||!S.get(y).length))p.get(y)?p.get(y).forEach(function(T){return f.add(T)}):y.initialStateNodes.forEach(function(T){return f.add(T)});else if(y.type==="parallel")try{for(var _=(s=void 0,B(St(y))),b=_.next();!b.done;b=_.next()){var C=b.value;f.has(C)||(f.add(C),p.get(C)?p.get(C).forEach(function(T){return f.add(T)}):C.initialStateNodes.forEach(function(T){return f.add(T)}))}}catch(T){s={error:T}}finally{try{b&&!b.done&&(u=_.return)&&u.call(_)}finally{if(s)throw s.error}}}}catch(k){i={error:k}}finally{try{h&&!h.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}try{for(var A=B(f),N=A.next();!N.done;N=A.next())for(var y=N.value,w=y.parent;w&&!f.has(w);)f.add(w),w=w.parent}catch(k){c={error:k}}finally{try{N&&!N.done&&(l=A.return)&&l.call(A)}finally{if(c)throw c.error}}return f}function ya(e,t){var n=t.get(e);if(!n)return{};if(e.type==="compound"){var r=n[0];if(r){if(Xt(r))return r.key}else return{}}var i={};return n.forEach(function(a){i[a.key]=ya(a,t)}),i}function Qn(e){var t,n,r=new Map;try{for(var i=B(e),a=i.next();!a.done;a=i.next()){var s=a.value;r.has(s)||r.set(s,[]),s.parent&&(r.has(s.parent)||r.set(s.parent,[]),r.get(s.parent).push(s))}}catch(u){t={error:u}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function iS(e,t){var n=gt([e],t);return ya(e,Qn(n))}function Ye(e,t){return Array.isArray(e)?e.some(function(n){return n===t}):e instanceof Set?e.has(t):!1}function aS(e){return G([],V(new Set(K(G([],V(e.map(function(t){return t.ownEvents})),!1)))),!1)}function Wt(e,t){return t.type==="compound"?St(t).some(function(n){return n.type==="final"&&Ye(e,n)}):t.type==="parallel"?St(t).every(function(n){return Wt(e,n)}):!1}function sS(e){return e===void 0&&(e=[]),e.reduce(function(t,n){return n.meta!==void 0&&(t[n.id]=n.meta),t},{})}function pi(e){return new Set(K(e.map(function(t){return t.tags})))}function wa(e,t){if(e===t)return!0;if(e===void 0||t===void 0)return!1;if(D(e)||D(t))return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(i){return wa(e[i],t[i])})}function uS(e){return typeof e!="object"||e===null?!1:"value"in e&&"_event"in e}function cS(e,t){var n=e.exec,r=I(I({},e),{exec:n!==void 0?function(){return n(t.context,t.event,{action:e,state:t,_event:t._event})}:void 0});return r}var we=function(){function e(t){var n=this,r;this.actions=[],this.activities=ci,this.meta={},this.events=[],this.value=t.value,this.context=t.context,this._event=t._event,this._sessionid=t._sessionid,this.event=this._event.data,this.historyValue=t.historyValue,this.history=t.history,this.actions=t.actions||[],this.activities=t.activities||ci,this.meta=sS(t.configuration),this.events=t.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=t.configuration,this.transitions=t.transitions,this.children=t.children,this.done=!!t.done,this.tags=(r=Array.isArray(t.tags)?new Set(t.tags):t.tags)!==null&&r!==void 0?r:new Set,this.machine=t.machine,Object.defineProperty(this,"nextEvents",{get:function(){return aS(n.configuration)}})}return e.from=function(t,n){if(t instanceof e)return t.context!==n?new e({value:t.value,context:n,_event:t._event,_sessionid:null,historyValue:t.historyValue,history:t.history,actions:[],activities:t.activities,meta:{},events:[],configuration:[],transitions:[],children:{}}):t;var r=Ke;return new e({value:t,context:n,_event:r,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta:void 0,events:[],configuration:[],transitions:[],children:{}})},e.create=function(t){return new e(t)},e.inert=function(t,n){if(t instanceof e){if(!t.actions.length)return t;var r=Ke;return new e({value:t.value,context:n,_event:r,_sessionid:null,historyValue:t.historyValue,history:t.history,activities:t.activities,configuration:t.configuration,transitions:[],children:{}})}return e.from(t,n)},e.prototype.toStrings=function(t,n){var r=this;if(t===void 0&&(t=this.value),n===void 0&&(n="."),D(t))return[t];var i=Object.keys(t);return i.concat.apply(i,G([],V(i.map(function(a){return r.toStrings(t[a],n).map(function(s){return a+n+s})})),!1))},e.prototype.toJSON=function(){var t=this;t.configuration,t.transitions;var n=t.tags;t.machine;var r=Sr(t,["configuration","transitions","tags","machine"]);return I(I({},r),{tags:Array.from(n)})},e.prototype.matches=function(t){return Ar(t,this.value)},e.prototype.hasTag=function(t){return this.tags.has(t)},e.prototype.can=function(t){var n;aa&&Bw(!!this.machine);var r=(n=this.machine)===null||n===void 0?void 0:n.getTransitionData(this,t);return!!(r!=null&&r.transitions.length)&&r.transitions.some(function(i){return i.target!==void 0||i.actions.length})},e}(),lS={deferEvents:!1},mi=function(){function e(t){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=I(I({},lS),t)}return e.prototype.initialize=function(t){if(this.initialized=!0,t){if(!this.options.deferEvents){this.schedule(t);return}this.process(t)}this.flushEvents()},e.prototype.schedule=function(t){if(!this.initialized||this.processingEvent){this.queue.push(t);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(t),this.flushEvents()},e.prototype.clear=function(){this.queue=[]},e.prototype.flushEvents=function(){for(var t=this.queue.shift();t;)this.process(t),t=this.queue.shift()},e.prototype.process=function(t){this.processingEvent=!0;try{t()}catch(n){throw this.clear(),n}finally{this.processingEvent=!1}},e}(),Nn=new Map,dS=0,Ut={bookId:function(){return"x:".concat(dS++)},register:function(e,t){return Nn.set(e,t),e},get:function(e){return Nn.get(e)},free:function(e){Nn.delete(e)}};function Pr(){if(typeof globalThis!="undefined")return globalThis;if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof global!="undefined")return global}function fS(){var e=Pr();if(e&&"__xstate__"in e)return e.__xstate__}function pS(e){if(!!Pr()){var t=fS();t&&t.register(e)}}function mS(e,t){t===void 0&&(t={});var n=e.initialState,r=new Set,i=[],a=!1,s=function(){if(!a){for(a=!0;i.length>0;){var l=i.shift();n=e.transition(n,l,c),r.forEach(function(d){return d.next(n)})}a=!1}},u=oS({id:t.id,send:function(l){i.push(l),s()},getSnapshot:function(){return n},subscribe:function(l,d,p){var f=jt(l,d,p);return r.add(f),f.next(n),{unsubscribe:function(){r.delete(f)}}}}),c={parent:t.parent,self:u,id:t.id||"anonymous",observers:r};return n=e.start?e.start(c):n,u}var Xn={sync:!1,autoForward:!1},ne;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(ne||(ne={}));var hS=function(){function e(t,n){n===void 0&&(n=e.defaultOptions);var r=this;this.machine=t,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=ne.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(d,p){if(lt(d))return r.batch(d),r.state;var f=re(Tr(d,p));if(r.status===ne.Stopped)return r.state;if(r.status!==ne.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(f.name,'" was sent to uninitialized service "').concat(r.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
29
+ Event: `).concat(JSON.stringify(f.data)));return r.scheduler.schedule(function(){r.forward(f);var m=r._nextState(f);r.update(m,f)}),r._state},this.sendTo=function(d,p,f){var m=r.parent&&(p===ke.Parent||r.parent.id===p),v=m?r.parent:D(p)?r.children.get(p)||Ut.get(p):Fw(p)?p:void 0;if(!v){if(!m)throw new Error("Unable to send event to child '".concat(p,"' from service '").concat(r.id,"'."));return}if("machine"in v){if(r.status!==ne.Stopped||r.parent!==v||r.state.done){var y=I(I({},d),{name:d.name===Tw?"".concat(ht(r.id)):d.name,origin:r.sessionId});!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([v,y]):v.send(y)}}else!f&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([v,d.data]):v.send(d.data)},this._exec=function(d,p,f,m){m===void 0&&(m=r.machine.options.actions);var v=d.exec||Zn(d.type,m),y=z(v)?v:v?v.exec:d.exec;if(y)try{return y(p,f.data,r.machine.config.predictableActionArguments?{action:d,_event:f}:{action:d,state:r.state,_event:f})}catch(U){throw r.parent&&r.parent.send({type:"xstate.error",data:U}),U}switch(d.type){case Ze:var w=d;if(typeof w.delay=="number"){r.defer(w);return}else w.to?r.sendTo(w._event,w.to,f===Ke):r.send(w._event);break;case ra:r.cancel(d.sendId);break;case Yn:{if(r.status!==ne.Running)return;var S=d.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[S.id||S.type])break;if(S.type===L.Invoke){var g=fa(S.src),h=r.machine.options.services?r.machine.options.services[g.type]:void 0,_=S.id,b=S.data,C="autoForward"in S?S.autoForward:!!S.forward;if(!h)return;var A=b?Jt(b,p,f):void 0;if(typeof h=="string")return;var N=z(h)?h(p,f.data,{data:A,src:g,meta:S.meta}):h;if(!N)return;var k=void 0;Qe(N)&&(N=A?N.withContext(A):N,k={autoForward:C}),r.spawn(N,_,k)}else r.spawnActivity(S);break}case _r:{r.stopChild(d.activity.id);break}case oa:var T=d.label,$=d.value;T?r.logger(T,$):r.logger($);break}};var i=I(I({},e.defaultOptions),n),a=i.clock,s=i.logger,u=i.parent,c=i.id,l=c!==void 0?c:t.id;this.id=l,this.logger=s,this.clock=a,this.parent=u,this.options=i,this.scheduler=new mi({deferEvents:this.options.deferEvents}),this.sessionId=Ut.bookId()}return Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this;return this._initialState?this._initialState:We(this,function(){return t._initialState=t.machine.initialState,t._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),e.prototype.execute=function(t,n){var r,i;try{for(var a=B(t.actions),s=a.next();!s.done;s=a.next()){var u=s.value;this.exec(u,t,n)}}catch(c){r={error:c}}finally{try{s&&!s.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}},e.prototype.update=function(t,n){var r,i,a,s,u,c,l,d,p=this;if(t._sessionid=this.sessionId,this._state=t,(!this.machine.config.predictableActionArguments||n===Ke)&&this.options.execute)this.execute(this.state);else for(var f=void 0;f=this._outgoingQueue.shift();)f[0].send(f[1]);if(this.children.forEach(function(k){p.state.children[k.id]=k}),this.devTools&&this.devTools.send(n.data,t),t.event)try{for(var m=B(this.eventListeners),v=m.next();!v.done;v=m.next()){var y=v.value;y(t.event)}}catch(k){r={error:k}}finally{try{v&&!v.done&&(i=m.return)&&i.call(m)}finally{if(r)throw r.error}}try{for(var w=B(this.listeners),S=w.next();!S.done;S=w.next()){var y=S.value;y(t,t.event)}}catch(k){a={error:k}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(a)throw a.error}}try{for(var g=B(this.contextListeners),h=g.next();!h.done;h=g.next()){var _=h.value;_(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(k){u={error:k}}finally{try{h&&!h.done&&(c=g.return)&&c.call(g)}finally{if(u)throw u.error}}if(this.state.done){var b=t.configuration.find(function(k){return k.type==="final"&&k.parent===p.machine}),C=b&&b.doneData?Jt(b.doneData,t.context,n):void 0;try{for(var A=B(this.doneListeners),N=A.next();!N.done;N=A.next()){var y=N.value;y(Ht(this.id,C))}}catch(k){l={error:k}}finally{try{N&&!N.done&&(d=A.return)&&d.call(A)}finally{if(l)throw l.error}}this._stop(),this._stopChildren()}},e.prototype.onTransition=function(t){return this.listeners.add(t),this.status===ne.Running&&t(this.state,this.state.event),this},e.prototype.subscribe=function(t,n,r){var i=this,a=jt(t,n,r);this.listeners.add(a.next),this.status!==ne.NotStarted&&a.next(this.state);var s=function(){i.doneListeners.delete(s),i.stopListeners.delete(s),a.complete()};return this.status===ne.Stopped?a.complete():(this.onDone(s),this.onStop(s)),{unsubscribe:function(){i.listeners.delete(a.next),i.doneListeners.delete(s),i.stopListeners.delete(s)}}},e.prototype.onEvent=function(t){return this.eventListeners.add(t),this},e.prototype.onSend=function(t){return this.sendListeners.add(t),this},e.prototype.onChange=function(t){return this.contextListeners.add(t),this},e.prototype.onStop=function(t){return this.stopListeners.add(t),this},e.prototype.onDone=function(t){return this.doneListeners.add(t),this},e.prototype.off=function(t){return this.listeners.delete(t),this.eventListeners.delete(t),this.sendListeners.delete(t),this.stopListeners.delete(t),this.doneListeners.delete(t),this.contextListeners.delete(t),this},e.prototype.start=function(t){var n=this;if(this.status===ne.Running)return this;this.machine._init(),Ut.register(this.sessionId,this),this.initialized=!0,this.status=ne.Running;var r=t===void 0?this.initialState:We(this,function(){return uS(t)?n.machine.resolveState(t):n.machine.resolveState(we.from(t,n.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){n.update(r,Ke)}),this},e.prototype._stopChildren=function(){this.children.forEach(function(t){z(t.stop)&&t.stop()}),this.children.clear()},e.prototype._stop=function(){var t,n,r,i,a,s,u,c,l,d;try{for(var p=B(this.listeners),f=p.next();!f.done;f=p.next()){var m=f.value;this.listeners.delete(m)}}catch(A){t={error:A}}finally{try{f&&!f.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}try{for(var v=B(this.stopListeners),y=v.next();!y.done;y=v.next()){var m=y.value;m(),this.stopListeners.delete(m)}}catch(A){r={error:A}}finally{try{y&&!y.done&&(i=v.return)&&i.call(v)}finally{if(r)throw r.error}}try{for(var w=B(this.contextListeners),S=w.next();!S.done;S=w.next()){var m=S.value;this.contextListeners.delete(m)}}catch(A){a={error:A}}finally{try{S&&!S.done&&(s=w.return)&&s.call(w)}finally{if(a)throw a.error}}try{for(var g=B(this.doneListeners),h=g.next();!h.done;h=g.next()){var m=h.value;this.doneListeners.delete(m)}}catch(A){u={error:A}}finally{try{h&&!h.done&&(c=g.return)&&c.call(g)}finally{if(u)throw u.error}}if(!this.initialized)return this;this.initialized=!1,this.status=ne.Stopped,this._initialState=void 0;try{for(var _=B(Object.keys(this.delayedEventsMap)),b=_.next();!b.done;b=_.next()){var C=b.value;this.clock.clearTimeout(this.delayedEventsMap[C])}}catch(A){l={error:A}}finally{try{b&&!b.done&&(d=_.return)&&d.call(_)}finally{if(l)throw l.error}}this.scheduler.clear(),this.scheduler=new mi({deferEvents:this.options.deferEvents})},e.prototype.stop=function(){var t=this,n=this.scheduler;return this._stop(),n.schedule(function(){var r=re({type:"xstate.stop"}),i=We(t,function(){var a=K(G([],V(t.state.configuration),!1).sort(function(d,p){return p.order-d.order}).map(function(d){return Ue(d.onExit,t.machine.options.actions)})),s=V(Zt(t.machine,t.state,t.state.context,r,[a],t.machine.config.predictableActionArguments?t._exec:void 0,t.machine.config.predictableActionArguments||t.machine.config.preserveActionOrder),2),u=s[0],c=s[1],l=new we({value:t.state.value,context:c,_event:r,_sessionid:t.sessionId,historyValue:void 0,history:t.state,actions:u.filter(function(d){return d.type!==Je&&(d.type!==Ze||!!d.to&&d.to!==ke.Internal)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:t.state.done,tags:t.state.tags,machine:t.machine});return l.changed=!0,l});t.update(i,r),t._stopChildren(),Ut.free(t.sessionId)}),this},e.prototype.batch=function(t){var n=this;if(!(this.status===ne.NotStarted&&this.options.deferEvents)){if(this.status!==ne.Running)throw new Error("".concat(t.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'))}if(!!t.length){var r=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var i,a,s=n.state,u=!1,c=[],l=function(m){var v=re(m);n.forward(v),s=We(n,function(){return n.machine.transition(s,v,void 0,r||void 0)}),c.push.apply(c,G([],V(n.machine.config.predictableActionArguments?s.actions:s.actions.map(function(y){return cS(y,s)})),!1)),u=u||!!s.changed};try{for(var d=B(t),p=d.next();!p.done;p=d.next()){var f=p.value;l(f)}}catch(m){i={error:m}}finally{try{p&&!p.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}s.changed=u,s.actions=c,n.update(s,re(t[t.length-1]))})}},e.prototype.sender=function(t){return this.send.bind(this,t)},e.prototype._nextState=function(t,n){var r=this;n===void 0&&(n=!!this.machine.config.predictableActionArguments&&this._exec);var i=re(t);if(i.name.indexOf(ui)===0&&!this.state.nextEvents.some(function(s){return s.indexOf(ui)===0}))throw i.data.data;var a=We(this,function(){return r.machine.transition(r.state,i,void 0,n||void 0)});return a},e.prototype.nextState=function(t){return this._nextState(t,!1)},e.prototype.forward=function(t){var n,r;try{for(var i=B(this.forwardTo),a=i.next();!a.done;a=i.next()){var s=a.value,u=this.children.get(s);if(!u)throw new Error("Unable to forward event '".concat(t,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(s,"'."));u.send(t)}}catch(c){n={error:c}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.defer=function(t){var n=this;this.delayedEventsMap[t.id]=this.clock.setTimeout(function(){t.to?n.sendTo(t._event,t.to,!0):n.send(t._event)},t.delay)},e.prototype.cancel=function(t){this.clock.clearTimeout(this.delayedEventsMap[t]),delete this.delayedEventsMap[t]},e.prototype.exec=function(t,n,r){r===void 0&&(r=this.machine.options.actions),this._exec(t,n.context,n._event,r)},e.prototype.removeChild=function(t){var n;this.children.delete(t),this.forwardTo.delete(t),(n=this.state)===null||n===void 0||delete n.children[t]},e.prototype.stopChild=function(t){var n=this.children.get(t);!n||(this.removeChild(t),z(n.stop)&&n.stop())},e.prototype.spawn=function(t,n,r){if(this.status!==ne.Running)return Er(t,n);if(di(t))return this.spawnPromise(Promise.resolve(t),n);if(z(t))return this.spawnCallback(t,n);if(rS(t))return this.spawnActor(t,n);if(Vw(t))return this.spawnObservable(t,n);if(Qe(t))return this.spawnMachine(t,I(I({},r),{id:n}));if(Ow(t))return this.spawnBehavior(t,n);throw new Error('Unable to spawn entity "'.concat(n,'" of type "').concat(typeof t,'".'))},e.prototype.spawnMachine=function(t,n){var r=this;n===void 0&&(n={});var i=new e(t,I(I({},this.options),{parent:this,id:n.id||t.id})),a=I(I({},Xn),n);a.sync&&i.onTransition(function(u){r.send(Cr,{state:u,id:i.id})});var s=i;return this.children.set(i.id,s),a.autoForward&&this.forwardTo.add(i.id),i.onDone(function(u){r.removeChild(i.id),r.send(re(u,{origin:i.id}))}).start(),s},e.prototype.spawnBehavior=function(t,n){var r=mS(t,{id:n,parent:this});return this.children.set(n,r),r},e.prototype.spawnPromise=function(t,n){var r,i=this,a=!1,s;t.then(function(c){a||(s=c,i.removeChild(n),i.send(re(Ht(n,c),{origin:n})))},function(c){if(!a){i.removeChild(n);var l=ht(n,c);try{i.send(re(l,{origin:n}))}catch{i.devTools&&i.devTools.send(l,i.state),i.machine.strict&&i.stop()}}});var u=(r={id:n,send:function(){},subscribe:function(c,l,d){var p=jt(c,l,d),f=!1;return t.then(function(m){f||(p.next(m),!f&&p.complete())},function(m){f||p.error(m)}),{unsubscribe:function(){return f=!0}}},stop:function(){a=!0},toJSON:function(){return{id:n}},getSnapshot:function(){return s}},r[Oe]=function(){return this},r);return this.children.set(n,u),u},e.prototype.spawnCallback=function(t,n){var r,i=this,a=!1,s=new Set,u=new Set,c,l=function(f){c=f,u.forEach(function(m){return m(f)}),!a&&i.send(re(f,{origin:n}))},d;try{d=t(l,function(f){s.add(f)})}catch(f){this.send(ht(n,f))}if(di(d))return this.spawnPromise(d,n);var p=(r={id:n,send:function(f){return s.forEach(function(m){return m(f)})},subscribe:function(f){var m=jt(f);return u.add(m.next),{unsubscribe:function(){u.delete(m.next)}}},stop:function(){a=!0,z(d)&&d()},toJSON:function(){return{id:n}},getSnapshot:function(){return c}},r[Oe]=function(){return this},r);return this.children.set(n,p),p},e.prototype.spawnObservable=function(t,n){var r,i=this,a,s=t.subscribe(function(c){a=c,i.send(re(c,{origin:n}))},function(c){i.removeChild(n),i.send(re(ht(n,c),{origin:n}))},function(){i.removeChild(n),i.send(re(Ht(n),{origin:n}))}),u=(r={id:n,send:function(){},subscribe:function(c,l,d){return t.subscribe(c,l,d)},stop:function(){return s.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return{id:n}}},r[Oe]=function(){return this},r);return this.children.set(n,u),u},e.prototype.spawnActor=function(t,n){return this.children.set(n,t),t},e.prototype.spawnActivity=function(t){var n=this.machine.options&&this.machine.options.activities?this.machine.options.activities[t.type]:void 0;if(!!n){var r=n(this.state.context,t);this.spawnEffect(t.id,r)}},e.prototype.spawnEffect=function(t,n){var r;this.children.set(t,(r={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:n||void 0,getSnapshot:function(){},toJSON:function(){return{id:t}}},r[Oe]=function(){return this},r))},e.prototype.attachDev=function(){var t=Pr();if(this.options.devTools&&t){if(t.__REDUX_DEVTOOLS_EXTENSION__){var n=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=t.__REDUX_DEVTOOLS_EXTENSION__.connect(I(I({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},n),{features:I({jump:!1,skip:!1},n?n.features:void 0)}),this.machine),this.devTools.init(this.state)}pS(this)}},e.prototype.toJSON=function(){return{id:this.id}},e.prototype[Oe]=function(){return this},e.prototype.getSnapshot=function(){return this.status===ne.NotStarted?this.initialState:this._state},e.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(t,n){return setTimeout(t,n)},clearTimeout:function(t){return clearTimeout(t)}},logger:console.log.bind(console),devTools:!1},e.interpret=Sa,e}(),gS=function(e){return D(e)?I(I({},Xn),{name:e}):I(I(I({},Xn),{name:Mw()}),e)};function Rt(e,t){var n=gS(t);return eS(function(r){return r?r.spawn(e,n.name,n):Er(e,n.name)})}function Sa(e,t){var n=new hS(e,t);return n}function vS(e){if(typeof e=="string"){var t={type:e};return t.toString=function(){return e},t}return e}function Bt(e){return I(I({type:Kn},e),{toJSON:function(){e.onDone,e.onError;var t=Sr(e,["onDone","onError"]);return I(I({},t),{type:Kn,src:vS(e.src)})}})}var Vt="",er="#",kn="*",je={},He=function(e){return e[0]===er},yS=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},wS=function(){function e(t,n,r,i){r===void 0&&(r="context"in t?t.context:void 0);var a=this,s;this.config=t,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(yS(),n),this.parent=i==null?void 0:i.parent,this.key=this.config.key||(i==null?void 0:i.key)||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:ia),this.id=this.config.id||G([this.machine.key],V(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(s=this.config.schema)!==null&&s!==void 0?s:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?mt(this.config.states,function(l,d){var p,f=new e(l,{},void 0,{parent:a,key:d});return Object.assign(a.idMap,I((p={},p[f.id]=f,p),f.idMap)),f}):je;var u=0;function c(l){var d,p;l.order=u++;try{for(var f=B(ga(l)),m=f.next();!m.done;m=f.next()){var v=m.value;c(v)}}catch(y){d={error:y}}finally{try{m&&!m.done&&(p=f.return)&&p.call(f)}finally{if(d)throw d.error}}}c(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(l){var d=l.event;return d===Vt}):Vt in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=ye(this.config.entry||this.config.onEntry).map(function(l){return wt(l)}),this.onExit=ye(this.config.exit||this.config.onExit).map(function(l){return wt(l)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=ye(this.config.invoke).map(function(l,d){var p,f;if(Qe(l)){var m=$t(a.id,d);return a.machine.options.services=I((p={},p[m]=l,p),a.machine.options.services),Bt({src:m,id:m})}else if(D(l.src)){var m=l.id||$t(a.id,d);return Bt(I(I({},l),{id:m,src:l.src}))}else if(Qe(l.src)||z(l.src)){var m=l.id||$t(a.id,d);return a.machine.options.services=I((f={},f[m]=l.src,f),a.machine.options.services),Bt(I(I({id:m},l),{src:m}))}else{var v=l.src;return Bt(I(I({id:$t(a.id,d)},l),{src:v}))}}),this.activities=ye(this.config.activities).concat(this.invoke).map(function(l){return Ir(l)}),this.transition=this.transition.bind(this),this.tags=ye(this.config.tags)}return e.prototype._init=function(){this.__cache.transitions||va(this).forEach(function(t){return t.on})},e.prototype.withConfig=function(t,n){var r=this.options,i=r.actions,a=r.activities,s=r.guards,u=r.services,c=r.delays;return new e(this.config,{actions:I(I({},i),t.actions),activities:I(I({},a),t.activities),guards:I(I({},s),t.guards),services:I(I({},u),t.services),delays:I(I({},c),t.delays)},n!=null?n:this.context)},e.prototype.withContext=function(t){return new e(this.config,this.options,t)},Object.defineProperty(e.prototype,"context",{get:function(){return z(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.type,initial:this.initial,history:this.history,states:mt(this.states,function(t){return t.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.definition},Object.defineProperty(e.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var t=this.transitions;return this.__cache.on=t.reduce(function(n,r){return n[r.eventType]=n[r.eventType]||[],n[r.eventType].push(r),n},{})},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),e.prototype.getCandidates=function(t){if(this.__cache.candidates[t])return this.__cache.candidates[t];var n=t===Vt,r=this.transitions.filter(function(i){var a=i.eventType===t;return n?a:a||i.eventType===kn});return this.__cache.candidates[t]=r,r},e.prototype.getDelayedTransitions=function(){var t=this,n=this.config.after;if(!n)return[];var r=function(a,s){var u=z(a)?"".concat(t.id,":delay[").concat(s,"]"):a,c=Jw(u,t.id);return t.onEntry.push(hn(c,{delay:a})),t.onExit.push(Yw(c)),c},i=lt(n)?n.map(function(a,s){var u=r(a.delay,s);return I(I({},a),{event:u})}):K(Object.keys(n).map(function(a,s){var u=n[a],c=D(u)?{target:u}:u,l=isNaN(+a)?a:+a,d=r(l,s);return ye(c).map(function(p){return I(I({},p),{event:d,delay:l})})}));return i.map(function(a){var s=a.delay;return I(I({},t.formatTransition(a)),{delay:s})})},e.prototype.getStateNodes=function(t){var n,r=this;if(!t)return[];var i=t instanceof we?t.value:vt(t,this.delimiter);if(D(i)){var a=this.getStateNode(i).initial;return a!==void 0?this.getStateNodes((n={},n[i]=a,n)):[this,this.states[i]]}var s=Object.keys(i),u=[this];return u.push.apply(u,G([],V(K(s.map(function(c){return r.getStateNode(c).getStateNodes(i[c])}))),!1)),u},e.prototype.handles=function(t){var n=sa(t);return this.events.includes(n)},e.prototype.resolveState=function(t){var n=t instanceof we?t:we.create(t),r=Array.from(gt([],this.getStateNodes(n.value)));return new we(I(I({},n),{value:this.resolve(n.value),configuration:r,done:Wt(r,this),tags:pi(r),machine:this.machine}))},e.prototype.transitionLeafNode=function(t,n,r){var i=this.getStateNode(t),a=i.next(n,r);return!a||!a.transitions.length?this.next(n,r):a},e.prototype.transitionCompoundNode=function(t,n,r){var i=Object.keys(t),a=this.getStateNode(i[0]),s=a._transition(t[i[0]],n,r);return!s||!s.transitions.length?this.next(n,r):s},e.prototype.transitionParallelNode=function(t,n,r){var i,a,s={};try{for(var u=B(Object.keys(t)),c=u.next();!c.done;c=u.next()){var l=c.value,d=t[l];if(!!d){var p=this.getStateNode(l),f=p._transition(d,n,r);f&&(s[l]=f)}}}catch(g){i={error:g}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}var m=Object.keys(s).map(function(g){return s[g]}),v=K(m.map(function(g){return g.transitions})),y=m.some(function(g){return g.transitions.length>0});if(!y)return this.next(n,r);var w=K(m.map(function(g){return g.entrySet})),S=K(Object.keys(s).map(function(g){return s[g].configuration}));return{transitions:v,entrySet:w,exitSet:K(m.map(function(g){return g.exitSet})),configuration:S,source:n,actions:K(Object.keys(s).map(function(g){return s[g].actions}))}},e.prototype._transition=function(t,n,r){return D(t)?this.transitionLeafNode(t,n,r):Object.keys(t).length===1?this.transitionCompoundNode(t,n,r):this.transitionParallelNode(t,n,r)},e.prototype.getTransitionData=function(t,n){return this._transition(t.value,t,re(n))},e.prototype.next=function(t,n){var r,i,a=this,s=n.name,u=[],c=[],l;try{for(var d=B(this.getCandidates(s)),p=d.next();!p.done;p=d.next()){var f=p.value,m=f.cond,v=f.in,y=t.context,w=v?D(v)&&He(v)?t.matches(vt(this.getStateNodeById(v).path,this.delimiter)):Ar(vt(v,this.delimiter),kw(this.path.slice(0,-2))(t.value)):!0,S=!1;try{S=!m||da(this.machine,m,y,n,t)}catch(b){throw new Error("Unable to evaluate guard '".concat(m.name||m.type,"' in transition for event '").concat(s,"' in state node '").concat(this.id,`':
30
+ `).concat(b.message))}if(S&&w){f.target!==void 0&&(c=f.target),u.push.apply(u,G([],V(f.actions),!1)),l=f;break}}}catch(b){r={error:b}}finally{try{p&&!p.done&&(i=d.return)&&i.call(d)}finally{if(r)throw r.error}}if(!!l){if(!c.length)return{transitions:[l],entrySet:[],exitSet:[],configuration:t.value?[this]:[],source:t,actions:u};var g=K(c.map(function(b){return a.getRelativeStateNodes(b,t.historyValue)})),h=!!l.internal,_=[];return h||c.forEach(function(b){_.push.apply(_,G([],V(a.getExternalReentryNodes(b)),!1))}),{transitions:[l],entrySet:_,exitSet:h?[]:[this],configuration:g,source:t,actions:u}}},e.prototype.getExternalReentryNodes=function(t){for(var n=[],r=V(t.order>this.order?[t,this]:[this,t],2),i=r[0],a=r[1];i&&i!==a;)n.push(i),i=i.parent;return i!==a?[]:(n.push(a),n)},e.prototype.getActions=function(t,n,r,i,a,s,u){var c,l,d,p,f=this,m=gt([],s?this.getStateNodes(s.value):[this]);try{for(var v=B(t),y=v.next();!y.done;y=v.next()){var w=y.value;(!Ye(m,w)||Ye(r.entrySet,w.parent)&&!Ye(r.entrySet,w))&&r.entrySet.push(w)}}catch(T){c={error:T}}finally{try{y&&!y.done&&(l=v.return)&&l.call(v)}finally{if(c)throw c.error}}try{for(var S=B(m),g=S.next();!g.done;g=S.next()){var w=g.value;(!Ye(t,w)||Ye(r.exitSet,w.parent))&&r.exitSet.push(w)}}catch(T){d={error:T}}finally{try{g&&!g.done&&(p=S.return)&&p.call(S)}finally{if(d)throw d.error}}var h=K(r.entrySet.map(function(T){var $=[];if(T.type!=="final")return $;var U=T.parent;if(!U.parent)return $;$.push(Ot(T.id,T.doneData),Ot(U.id,T.doneData?Jt(T.doneData,i,a):void 0));var O=U.parent;return O.type==="parallel"&&St(O).every(function(H){return Wt(r.configuration,H)})&&$.push(Ot(O.id)),$}));r.exitSet.sort(function(T,$){return $.order-T.order}),r.entrySet.sort(function(T,$){return T.order-$.order});var _=new Set(r.entrySet),b=new Set(r.exitSet),C=Array.from(_).map(function(T){var $=T.onEntry,U=T.activities.map(function(O){return Kw(O)});return Ue(u?G(G([],V($),!1),V(U),!1):G(G([],V(U),!1),V($),!1),f.machine.options.actions)}).concat([h.map(Lw)]),A=Array.from(b).map(function(T){return Ue(G(G([],V(T.onExit),!1),V(T.activities.map(function($){return pa($)})),!1),f.machine.options.actions)}),N=A.concat([Ue(r.actions,this.machine.options.actions)]).concat(C);if(n){var k=Ue(K(G([],V(t),!1).sort(function(T,$){return $.order-T.order}).map(function(T){return T.onExit})),this.machine.options.actions).filter(function(T){return T.type!==Je&&(T.type!==Ze||!!T.to&&T.to!==ke.Internal)});return N.concat([k])}return N},e.prototype.transition=function(t,n,r,i){t===void 0&&(t=this.initialState);var a=re(n),s;if(t instanceof we)s=r===void 0?t:this.resolveState(we.from(t,r));else{var u=D(t)?this.resolve(qt(this.getResolvedPath(t))):this.resolve(t),c=r!=null?r:this.machine.context;s=this.resolveState(we.from(u,c))}if(this.strict&&!this.events.includes(a.name)&&!$w(a.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(a.name,"'"));var l=this._transition(s.value,s,a)||{transitions:[],configuration:[],entrySet:[],exitSet:[],source:s,actions:[]},d=gt([],this.getStateNodes(s.value)),p=l.configuration.length?gt(d,l.configuration):d;return l.configuration=G([],V(p),!1),this.resolveTransition(l,s,s.context,i,a)},e.prototype.resolveRaisedTransition=function(t,n,r,i){var a,s=t.actions;return t=this.transition(t,n,void 0,i),t._event=r,t.event=r.data,(a=t.actions).unshift.apply(a,G([],V(s),!1)),t},e.prototype.resolveTransition=function(t,n,r,i,a){var s,u,c,l,d=this;a===void 0&&(a=Ke);var p=t.configuration,f=!n||t.transitions.length>0,m=f?t.configuration:n?n.configuration:[],v=Wt(m,this),y=f?iS(this.machine,p):void 0,w=n?n.historyValue?n.historyValue:t.source?this.machine.historyValue(n.value):void 0:void 0,S=this.getActions(new Set(m),v,t,r,a,n,i),g=n?I({},n.activities):{};try{for(var h=B(S),_=h.next();!_.done;_=h.next()){var b=_.value;try{for(var C=(c=void 0,B(b)),A=C.next();!A.done;A=C.next()){var N=A.value;N.type===Yn?g[N.activity.id||N.activity.type]=N:N.type===_r&&(g[N.activity.id||N.activity.type]=!1)}}catch(X){c={error:X}}finally{try{A&&!A.done&&(l=C.return)&&l.call(C)}finally{if(c)throw c.error}}}}catch(X){s={error:X}}finally{try{_&&!_.done&&(u=h.return)&&u.call(h)}finally{if(s)throw s.error}}var k=V(Zt(this,n,r,a,S,i,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),T=k[0],$=k[1],U=V(Uw(T,function(X){return X.type===Je||X.type===Ze&&X.to===ke.Internal}),2),O=U[0],H=U[1],J=T.filter(function(X){var ve;return X.type===Yn&&((ve=X.activity)===null||ve===void 0?void 0:ve.type)===Kn}),Z=J.reduce(function(X,ve){return X[ve.activity.id]=tS(ve.activity,d.machine,$,a),X},n?I({},n.children):{}),ae=new we({value:y||n.value,context:$,_event:a,_sessionid:n?n._sessionid:null,historyValue:y?w?Rw(w,y):void 0:n?n.historyValue:void 0,history:!y||t.source?n:void 0,actions:y?H:[],activities:y?g:n?n.activities:{},events:[],configuration:m,transitions:t.transitions,children:Z,done:v,tags:pi(m),machine:this}),se=r!==$;ae.changed=a.name===Cr||se;var ee=ae.history;ee&&delete ee.history;var ze=!v&&(this._transient||p.some(function(X){return X._transient}));if(!f&&(!ze||a.name===Vt))return ae;var ie=ae;if(!v)for(ze&&(ie=this.resolveRaisedTransition(ie,{type:Cw},a,i));O.length;){var dt=O.shift();ie=this.resolveRaisedTransition(ie,dt._event,a,i)}var ft=ie.changed||(ee?!!ie.actions.length||se||typeof ee.value!=typeof ie.value||!wa(ie.value,ee.value):void 0);return ie.changed=ft,ie.history=ee,ie},e.prototype.getStateNode=function(t){if(He(t))return this.machine.getStateNodeById(t);if(!this.states)throw new Error("Unable to retrieve child state '".concat(t,"' from '").concat(this.id,"'; no child states exist."));var n=this.states[t];if(!n)throw new Error("Child state '".concat(t,"' does not exist on '").concat(this.id,"'"));return n},e.prototype.getStateNodeById=function(t){var n=He(t)?t.slice(er.length):t;if(n===this.id)return this;var r=this.machine.idMap[n];if(!r)throw new Error("Child state node '#".concat(n,"' does not exist on machine '").concat(this.id,"'"));return r},e.prototype.getStateNodeByPath=function(t){if(typeof t=="string"&&He(t))try{return this.getStateNodeById(t.slice(1))}catch{}for(var n=Jn(t,this.delimiter).slice(),r=this;n.length;){var i=n.shift();if(!i.length)break;r=r.getStateNode(i)}return r},e.prototype.resolve=function(t){var n,r=this;if(!t)return this.initialStateValue||je;switch(this.type){case"parallel":return mt(this.initialStateValue,function(a,s){return a?r.getStateNode(s).resolve(t[s]||a):je});case"compound":if(D(t)){var i=this.getStateNode(t);return i.type==="parallel"||i.type==="compound"?(n={},n[t]=i.initialStateValue,n):t}return Object.keys(t).length?mt(t,function(a,s){return a?r.getStateNode(s).resolve(a):je}):this.initialStateValue||{};default:return t||je}},e.prototype.getResolvedPath=function(t){if(He(t)){var n=this.machine.idMap[t.slice(er.length)];if(!n)throw new Error("Unable to find state node '".concat(t,"'"));return n.path}return Jn(t,this.delimiter)},Object.defineProperty(e.prototype,"initialStateValue",{get:function(){var t;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var n;if(this.type==="parallel")n=li(this.states,function(r){return r.initialStateValue||je},function(r){return r.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));n=Xt(this.states[this.initial])?this.initial:(t={},t[this.initial]=this.states[this.initial].initialStateValue,t)}else n={};return this.__cache.initialStateValue=n,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),e.prototype.getInitialState=function(t,n){this._init();var r=this.getStateNodes(t);return this.resolveTransition({configuration:r,entrySet:r,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,n!=null?n:this.machine.context,void 0)},Object.defineProperty(e.prototype,"initialState",{get:function(){var t=this.initialStateValue;if(!t)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"target",{get:function(){var t;if(this.type==="history"){var n=this.config;D(n.target)?t=He(n.target)?qt(this.machine.getStateNodeById(n.target).path.slice(this.path.length-1)):n.target:t=n.target}return t},enumerable:!1,configurable:!0}),e.prototype.getRelativeStateNodes=function(t,n,r){return r===void 0&&(r=!0),r?t.type==="history"?t.resolveHistory(n):t.initialStateNodes:[t]},Object.defineProperty(e.prototype,"initialStateNodes",{get:function(){var t=this;if(Xt(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var n=Gt(this.initialStateValue);return K(n.map(function(r){return t.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),e.prototype.getFromRelativePath=function(t){if(!t.length)return[this];var n=V(t),r=n[0],i=n.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var a=this.getStateNode(r);if(a.type==="history")return a.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(i)},e.prototype.historyValue=function(t){if(!!Object.keys(this.states).length)return{current:t||this.initialStateValue,states:li(this.states,function(n,r){if(!t)return n.historyValue();var i=D(t)?void 0:t[r];return n.historyValue(i||n.initialStateValue)},function(n){return!n.history})}},e.prototype.resolveHistory=function(t){var n=this;if(this.type!=="history")return[this];var r=this.parent;if(!t){var i=this.target;return i?K(Gt(i).map(function(s){return r.getFromRelativePath(s)})):r.initialStateNodes}var a=xw(r.path,"states")(t).current;return D(a)?[r.getStateNode(a)]:K(Gt(a).map(function(s){return n.history==="deep"?r.getFromRelativePath(s):[r.states[s[0]]]}))},Object.defineProperty(e.prototype,"stateIds",{get:function(){var t=this,n=K(Object.keys(this.states).map(function(r){return t.states[r].stateIds}));return[this.id].concat(n)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"events",{get:function(){var t,n,r,i;if(this.__cache.events)return this.__cache.events;var a=this.states,s=new Set(this.ownEvents);if(a)try{for(var u=B(Object.keys(a)),c=u.next();!c.done;c=u.next()){var l=c.value,d=a[l];if(d.states)try{for(var p=(r=void 0,B(d.events)),f=p.next();!f.done;f=p.next()){var m=f.value;s.add("".concat(m))}}catch(v){r={error:v}}finally{try{f&&!f.done&&(i=p.return)&&i.call(p)}finally{if(r)throw r.error}}}}catch(v){t={error:v}}finally{try{c&&!c.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return this.__cache.events=Array.from(s)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ownEvents",{get:function(){var t=new Set(this.transitions.filter(function(n){return!(!n.target&&!n.actions.length&&n.internal)}).map(function(n){return n.eventType}));return Array.from(t)},enumerable:!1,configurable:!0}),e.prototype.resolveTarget=function(t){var n=this;if(t!==void 0)return t.map(function(r){if(!D(r))return r;var i=r[0]===n.delimiter;if(i&&!n.parent)return n.getStateNodeByPath(r.slice(1));var a=i?n.key+r:r;if(n.parent)try{var s=n.parent.getStateNodeByPath(a);return s}catch(u){throw new Error("Invalid transition definition for state node '".concat(n.id,`':
31
+ `).concat(u.message))}else return n.getStateNodeByPath(a)})},e.prototype.formatTransition=function(t){var n=this,r=Dw(t.target),i="internal"in t?t.internal:r?r.some(function(c){return D(c)&&c[0]===n.delimiter}):!0,a=this.machine.options.guards,s=this.resolveTarget(r),u=I(I({},t),{actions:Ue(ye(t.actions)),cond:la(t.cond,a),target:s,source:this,internal:i,eventType:t.event,toJSON:function(){return I(I({},u),{target:u.target?u.target.map(function(c){return"#".concat(c.id)}):void 0,source:"#".concat(n.id)})}});return u},e.prototype.formatTransitions=function(){var t,n,r=this,i;if(!this.config.on)i=[];else if(Array.isArray(this.config.on))i=this.config.on;else{var a=this.config.on,s=kn,u=a[s],c=u===void 0?[]:u,l=Sr(a,[typeof s=="symbol"?s:s+""]);i=K(Object.keys(l).map(function(g){var h=Ge(g,l[g]);return h}).concat(Ge(kn,c)))}var d=this.config.always?Ge("",this.config.always):[],p=this.config.onDone?Ge(String(Ot(this.id)),this.config.onDone):[],f=K(this.invoke.map(function(g){var h=[];return g.onDone&&h.push.apply(h,G([],V(Ge(String(Ht(g.id)),g.onDone)),!1)),g.onError&&h.push.apply(h,G([],V(Ge(String(ht(g.id)),g.onError)),!1)),h})),m=this.after,v=K(G(G(G(G([],V(p),!1),V(f),!1),V(i),!1),V(d),!1).map(function(g){return ye(g).map(function(h){return r.formatTransition(h)})}));try{for(var y=B(m),w=y.next();!w.done;w=y.next()){var S=w.value;v.push(S)}}catch(g){t={error:g}}finally{try{w&&!w.done&&(n=y.return)&&n.call(y)}finally{if(t)throw t.error}}return v},e}(),hi=!1;function Tt(e,t){return!aa&&!e.predictableActionArguments&&!hi&&(hi=!0,console.warn("It is highly recommended to set `predictableActionArguments` to `true` when using `createMachine`. https://xstate.js.org/docs/guides/actions.html")),new wS(e,t)}var pe=ma,Nr=Hw,SS=Zw,j=ma,_S=pa,Ft=function(e){return _S(e)},bS=j({attributeToVerify:function(e){}}),CS=j({challengeName:function(e){}}),AS=j({requiredAttributes:function(e){}}),kr=j({remoteError:function(e){return""}}),xr=j({formValues:function(e){return{}}}),$r=j({touched:function(e){return{}}}),TS=j({unverifiedContactMethods:function(e){}}),IS=j({username:function(e){}}),Or=j({validationError:function(e){return{}}}),ES=j({totpSecretCode:function(e,t){return t.data}}),PS=j({challengeName:function(e,t){var n;return(n=t.data)===null||n===void 0?void 0:n.challengeName}}),NS=j({requiredAttributes:function(e,t){var n,r;return(r=(n=t.data)===null||n===void 0?void 0:n.challengeParam)===null||r===void 0?void 0:r.requiredAttributes}}),kS=j({redirectIntent:function(e){return"confirmPasswordReset"}}),xS=j({redirectIntent:function(e){return"confirmSignUp"}}),_a=j({authAttributes:function(e,t){var n,r,i=e.loginMechanisms[0];return{username:(n=e.formValues[i])!==null&&n!==void 0?n:e.formValues.username,password:(r=e.formValues)===null||r===void 0?void 0:r.password}}}),Ur=j({validationError:function(e,t){return t.data}}),Rr=j({remoteError:function(e,t){var n;return t.data.name==="NoUserPoolError"?"Configuration error (see console) \u2013 please contact the administrator":((n=t.data)===null||n===void 0?void 0:n.message)||t.data}}),$S=j({unverifiedContactMethods:function(e,t){return t.data.unverified}}),ba=j({user:function(e,t){return t.data.user||t.data}}),OS=j({username:function(e,t){var n=e.formValues,r=n.username,i=n.country_code;return i&&(r="".concat(i).concat(r)),r}}),US=j({codeDeliveryDetails:function(e,t){return t.data.codeDeliveryDetails}}),RS=j({authAttributes:function(e,t){return{username:e.formValues.username}}}),Br=j({formValues:function(e,t){var n,r=t.data,i=r.name,a=r.value;return E(E({},e.formValues),((n={})[i]=a,n))}}),Vr=j({formValues:function(e,t){var n=E(E({},e.formValues),t.data);return pw(n,"password")}}),Fr=j({touched:function(e,t){var n,r=t.data.name;return E(E({},e.touched),((n={})["".concat(r)]=!0,n))}}),BS=function(e){return F(void 0,void 0,void 0,function(){var t;return M(this,function(n){switch(n.label){case 0:return t=e.username,[4,Y.Auth.forgotPassword(t)];case 1:return[2,n.sent()]}})})},Ca=j({formValues:function(e,t){var n,r,i=e.loginMechanisms[0],a=i===void 0?"username":i;if(!e.formValues.phone_number&&a!=="phone_number")return e.formValues;var s=e.formValues,u=e.country_code,c=s.phone_number?"phone_number":"username",l="".concat((r=s.country_code)!==null&&r!==void 0?r:u).concat(s[c]).replace(/[^A-Z0-9+]/gi,""),d=E(E({},s),((n={})[c]=l,n));return delete d.country_code,d}}),Mr=function(e,t,n,r){return F(void 0,void 0,void 0,function(){var i,a;return M(this,function(s){switch(s.label){case 0:return[4,Promise.all(r.map(function(u){return u(e,t,n)}))];case 1:return i=s.sent(),a=gy.apply(void 0,Se([{}],i,!1)),jn(a)?[2,Promise.resolve()]:[2,Promise.reject(a)]}})})},Xe={getAmplifyConfig:function(){return F(this,void 0,void 0,function(){return M(this,function(e){return[2,Y.Amplify.configure()]})})},getCurrentUser:function(){return F(this,void 0,void 0,function(){return M(this,function(e){return[2,Y.Auth.currentAuthenticatedUser()]})})},handleSignUp:function(e){return F(this,void 0,void 0,function(){return M(this,function(t){return[2,Y.Auth.signUp(E(E({},e),{autoSignIn:{enabled:!0}}))]})})},handleSignIn:function(e){var t=e.username,n=e.password;return F(this,void 0,void 0,function(){return M(this,function(r){return[2,Y.Auth.signIn(t,n)]})})},handleConfirmSignIn:function(e){var t=e.user,n=e.code,r=e.mfaType;return F(this,void 0,void 0,function(){return M(this,function(i){return[2,Y.Auth.confirmSignIn(t,n,r)]})})},handleConfirmSignUp:function(e){var t=e.username,n=e.code;return F(this,void 0,void 0,function(){return M(this,function(r){switch(r.label){case 0:return[4,Y.Auth.confirmSignUp(t,n)];case 1:return[2,r.sent()]}})})},handleForgotPasswordSubmit:function(e){var t=e.username,n=e.code,r=e.password;return F(this,void 0,void 0,function(){return M(this,function(i){return[2,Y.Auth.forgotPasswordSubmit(t,n,r)]})})},handleForgotPassword:function(e){return F(this,void 0,void 0,function(){return M(this,function(t){return[2,Y.Auth.forgotPassword(e)]})})},validateCustomSignUp:function(e,t){return F(this,void 0,void 0,function(){return M(this,function(n){return[2]})})},validateFormPassword:function(e,t,n){return F(this,void 0,void 0,function(){var r,i,a,s;return M(this,function(u){return r=e.password,t.password&&n?(i=[],a=+(n==null?void 0:n.passwordPolicyMinLength),r.length<a&&i.push("Password must have at least ".concat(a," characters")),(s=n==null?void 0:n.passwordPolicyCharacters)==null||s.forEach(function(c){switch(c){case"REQUIRES_LOWERCASE":/[a-z]/.test(r)||i.push("Password must have lower case letters");break;case"REQUIRES_UPPERCASE":/[A-Z]/.test(r)||i.push("Password must have upper case letters");break;case"REQUIRES_NUMBERS":/[0-9]/.test(r)||i.push("Password must have numbers");break;case"REQUIRES_SYMBOLS":dw(r)||i.push("Password must have special characters")}}),[2,i.length!==0?{password:i}:null]):[2,null]})})},validateConfirmPassword:function(e,t){return F(this,void 0,void 0,function(){var n,r,i,a;return M(this,function(s){return n=e.password,r=e.confirm_password,i=t.confirm_password,a=t.password,n||r?(n||r)&&n!==r&&(i&&a||(n==null?void 0:n.length)>=6&&(r==null?void 0:r.length)>=6)?[2,{confirm_password:"Your passwords must match"}]:[2]:[2,null]})})},validatePreferredUsername:function(e,t){return F(this,void 0,void 0,function(){return M(this,function(n){return[2]})})}},VS=["SMS_MFA","SOFTWARE_TOKEN_MFA"],xn=function(e){return Me(e,"data.challengeName")},gi=function(e,t){return e===t},vi=function(e){return VS.includes(e)};function FS(e){var t=e.services;return Tt({initial:"init",id:"signInActor",predictableActionArguments:!0,states:{init:{always:[{target:"autoSignIn.submit",cond:"shouldAutoSubmit"},{target:"autoSignIn",cond:"shouldAutoSignIn"},{target:"signIn"}]},signIn:{initial:"edit",exit:["clearFormValues","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onError:{actions:"setRemoteError"}}},submit:{tags:["pending"],entry:["parsePhoneNumber","clearError","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","setRequiredAttributes"],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","sendUpdate"],invoke:{src:"checkVerifiedContact",onDone:[{cond:"shouldRequestVerification",target:"#signInActor.verifyUser",actions:"setUnverifiedContactMethods"},{target:"resolved"}],onError:{actions:"setRemoteError",target:"edit"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},autoSignIn:{initial:"pending",states:{pending:{tags:["pending"],entry:["clearError","sendUpdate"],on:{AUTO_SIGN_IN:[{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldForceChangePassword",actions:["setUser","setChallengeName","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],AUTO_SIGN_IN_FAILURE:{actions:"setRemoteError",target:"pending"}}},submit:{tags:["pending"],entry:["clearError","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","setRequiredAttributes"],target:"#signInActor.forceNewPassword"},{actions:"setUser",target:"#signInActor.resolved"}],onError:{actions:"setRemoteError",target:"#signInActor.signIn"}}},resolved:{always:"#signInActor.resolved"},rejected:{always:"#signInActor.rejected"}}},confirmSignIn:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmSignIn",onDone:{target:"#signInActor.resolved",actions:["setUser","clearChallengeName","clearRequiredAttributes"]},onError:{target:"edit",actions:"setRemoteError"}}}}},forceNewPassword:{type:"parallel",exit:["clearFormValues","clearError","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submit:{initial:"idle",entry:"clearError",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"forceNewPassword",onDone:[{cond:"shouldConfirmSignIn",actions:["setUser","setChallengeName"],target:"#signInActor.confirmSignIn"},{cond:"shouldSetupTOTP",actions:["setUser","setChallengeName"],target:"#signInActor.setupTOTP"},{target:"resolved",actions:["setUser","setCredentials"]}],onError:{target:"idle",actions:"setRemoteError"}}},resolved:{type:"final",always:"#signInActor.resolved"}}}}},setupTOTP:{initial:"getTotpSecretCode",exit:["clearFormValues","clearError","clearTouched"],states:{getTotpSecretCode:{invoke:{src:"getTotpSecretCode",onDone:{target:"edit",actions:"setTotpSecretCode"},onError:{target:"edit",actions:"setRemoteError"}}},edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},SIGN_IN:"#signInActor.signIn",CHANGE:{actions:"handleInput"}}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"verifyTotpToken",onDone:{actions:["clearChallengeName","clearRequiredAttributes"],target:"#signInActor.resolved"},onError:{actions:"setRemoteError",target:"edit"}}}}},verifyUser:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"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","clearUnverifiedContactMethods","clearAttributeToVerify","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"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:function(n){return{user:n.user}}},rejected:{type:"final",data:function(n,r){return{intent:n.redirectIntent,authAttributes:n.authAttributes}}}}},{actions:{clearAttributeToVerify:bS,clearChallengeName:CS,clearRequiredAttributes:AS,clearError:kr,clearFormValues:xr,clearTouched:$r,clearUnverifiedContactMethods:TS,clearValidationError:Or,handleInput:Br,handleSubmit:Vr,handleBlur:Fr,parsePhoneNumber:Ca,setChallengeName:PS,setConfirmResetPasswordIntent:kS,setConfirmSignUpIntent:xS,setRequiredAttributes:NS,setCredentials:_a,setFieldErrors:Ur,setRemoteError:Rr,setTotpSecretCode:ES,setUnverifiedContactMethods:$S,setUser:ba,setUsernameAuthAttributes:RS,sendUpdate:Nr()},guards:{shouldAutoSignIn:function(n){return(n==null?void 0:n.intent)==="autoSignIn"},shouldAutoSubmit:function(n){return(n==null?void 0:n.intent)==="autoSignInSubmit"},shouldConfirmSignIn:function(n,r){return vi(xn(r))},shouldForceChangePassword:function(n,r){return gi(xn(r),"NEW_PASSWORD_REQUIRED")},shouldRedirectToConfirmResetPassword:function(n,r){return r.data.code==="PasswordResetRequiredException"},shouldRedirectToConfirmSignUp:function(n,r){return r.data.code==="UserNotConfirmedException"},shouldRequestVerification:function(n,r){var i=r.data,a=i.unverified,s=i.verified;return jn(s)&&!jn(a)},shouldSetupTOTP:function(n,r){return gi(xn(r),"MFA_SETUP")}},services:{signIn:function(n){return F(this,void 0,void 0,function(){var r,i,a,s,u,c,l;return M(this,function(d){switch(d.label){case 0:return r=n.authAttributes,i=r===void 0?{}:r,a=n.formValues,s=a===void 0?{}:a,u=E(E({},i),s),c=u.username,l=u.password,[4,t.handleSignIn({username:c,password:l})];case 1:return[2,d.sent()]}})})},confirmSignIn:function(n){return F(this,void 0,void 0,function(){var r,i,a,s;return M(this,function(u){switch(u.label){case 0:return r=n.challengeName,i=n.user,a=n.formValues.confirmation_code,s=vi(r)?r:void 0,[4,t.handleConfirmSignIn({user:i,code:a,mfaType:s})];case 1:return u.sent(),[4,Y.Auth.currentAuthenticatedUser()];case 2:return[2,u.sent()]}})})},forceNewPassword:function(n){return F(this,void 0,void 0,function(){var r,i,a,s,u,c,l,d,p;return M(this,function(f){switch(f.label){case 0:r=n.user,i=n.formValues,a=i.password,i.confirm_password,s=i.phone_number,u=i.country_code,c=Ci(i,["password","confirm_password","phone_number","country_code"]),s&&(l="".concat(u).concat(s).replace(/[^A-Z0-9+]/gi,""),c=E(E({},c),{phone_number:l})),f.label=1;case 1:return f.trys.push([1,3,,4]),[4,Y.Auth.completeNewPassword(r,a,c)];case 2:return(d=f.sent()).challengeName?[2,d]:[2,Y.Auth.currentAuthenticatedUser()];case 3:return p=f.sent(),[2,Promise.reject(p)];case 4:return[2]}})})},getTotpSecretCode:function(n){return F(this,void 0,void 0,function(){var r;return M(this,function(i){return r=n.user,[2,Y.Auth.setupTOTP(r)]})})},verifyTotpToken:function(n){return F(this,void 0,void 0,function(){var r,i,a;return M(this,function(s){return r=n.formValues,i=n.user,a=r.confirmation_code,[2,Y.Auth.verifyTotpToken(i,a)]})})},federatedSignIn:function(n,r){return F(this,void 0,void 0,function(){var i;return M(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,Y.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},checkVerifiedContact:function(n){return F(this,void 0,void 0,function(){var r;return M(this,function(i){switch(i.label){case 0:return r=n.user,[4,Y.Auth.verifiedContact(r)];case 1:return[2,i.sent()]}})})},verifyUser:function(n){return F(this,void 0,void 0,function(){var r,i;return M(this,function(a){switch(a.label){case 0:return r=n.formValues.unverifiedAttr,[4,Y.Auth.verifyCurrentUserAttribute(r)];case 1:return i=a.sent(),n.attributeToVerify=r,[2,i]}})})},confirmVerifyUser:function(n){return F(this,void 0,void 0,function(){var r,i;return M(this,function(a){switch(a.label){case 0:return r=n.attributeToVerify,i=n.formValues.confirmation_code,[4,Y.Auth.verifyCurrentUserAttributeSubmit(r,i)];case 1:return[2,a.sent()]}})})},validateFields:function(n){return F(this,void 0,void 0,function(){return M(this,function(r){return[2,Mr(n.formValues,n.touched,n.passwordSettings,[Xe.validateFormPassword,Xe.validateConfirmPassword])]})})}}})}var MS=Tt({initial:"pending",id:"signOutActor",predictableActionArguments:!0,states:{pending:{tags:["pending"],invoke:{src:"signOut",onDone:"resolved",onError:"rejected"}},resolved:{type:"final"},rejected:{type:"final"}}},{services:{signOut:function(){return Y.Auth.signOut()}}});function DS(e){var t=e.services;return Tt({id:"resetPasswordActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmResetPassword",cond:"shouldAutoConfirmReset",actions:"resendCode"},{target:"resetPassword"}]},resetPassword:{initial:"edit",exit:["clearFormValues","clearError","clearTouched"],states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},submit:{tags:["pending"],entry:["sendUpdate","setUsername","clearError"],invoke:{src:"resetPassword",onDone:{target:"#resetPasswordActor.confirmResetPassword"},onError:{actions:["setRemoteError"],target:"edit"}}}}},confirmResetPassword:{type:"parallel",exit:["clearFormValues","clearError","clearUsername","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateFields",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},RESEND:"resendCode",CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"}}},validate:{entry:"sendUpdate",invoke:{src:"validateFields",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},resendCode:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"resetPassword",onDone:{target:"idle"},onError:{actions:"setRemoteError",target:"idle"}}},pending:{tags:["pending"],entry:["clearError","sendUpdate"],invoke:{src:"confirmResetPassword",onDone:{actions:"clearUsername",target:"#resetPasswordActor.resolved"},onError:{actions:"setRemoteError",target:"idle"}}}}}}},resolved:{type:"final"}}},{actions:{clearError:kr,clearFormValues:xr,clearTouched:$r,clearUsername:IS,clearValidationError:Or,handleInput:Br,handleSubmit:Vr,handleBlur:Fr,resendCode:BS,setFieldErrors:Ur,setRemoteError:Rr,setUsername:OS,sendUpdate:Nr()},guards:{shouldAutoConfirmReset:function(n,r){return!(!n.intent||n.intent!=="confirmPasswordReset")}},services:{resetPassword:function(n){return F(this,void 0,void 0,function(){var r;return M(this,function(i){return r=n.username,[2,t.handleForgotPassword(r)]})})},confirmResetPassword:function(n){return F(this,void 0,void 0,function(){var r,i,a,s;return M(this,function(u){return r=n.username,i=n.formValues,a=i.confirmation_code,s=i.password,[2,t.handleForgotPasswordSubmit({username:r,code:a,password:s})]})})},validateFields:function(n,r){return F(this,void 0,void 0,function(){return M(this,function(i){return[2,Mr(n.formValues,n.touched,n.passwordSettings,[Xe.validateFormPassword,Xe.validateConfirmPassword])]})})}}})}function LS(e){var t=e.services;return Tt({id:"signUpActor",initial:"init",predictableActionArguments:!0,states:{init:{always:[{target:"confirmSignUp",cond:"shouldInitConfirmSignUp"},{target:"signUp"}]},signUp:{type:"parallel",exit:["clearError","clearFormValues","clearTouched"],states:{validation:{initial:"pending",states:{pending:{invoke:{src:"validateSignUp",onDone:{target:"valid",actions:"clearValidationError"},onError:{target:"invalid",actions:"setFieldErrors"}}},valid:{entry:"sendUpdate"},invalid:{entry:"sendUpdate"}},on:{CHANGE:{actions:"handleInput",target:".pending"},BLUR:{actions:"handleBlur",target:".pending"}}},submission:{initial:"idle",states:{idle:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"validate"},FEDERATED_SIGN_IN:"federatedSignIn"}},federatedSignIn:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"federatedSignIn",onDone:"#signUpActor.resolved",onError:{actions:"setRemoteError"}}},validate:{entry:"sendUpdate",invoke:{src:"validateSignUp",onDone:{target:"pending",actions:"clearValidationError"},onError:{target:"idle",actions:"setFieldErrors"}}},pending:{tags:["pending"],entry:["parsePhoneNumber","sendUpdate","clearError"],invoke:{src:"signUp",onDone:[{cond:"shouldSkipConfirm",target:"skipConfirm",actions:["setUser","setCredentials"]},{target:"resolved",actions:["setUser","setCredentials","setCodeDeliveryDetails"]}],onError:{target:"idle",actions:"setRemoteError"}}},skipConfirm:{always:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"}},resolved:{type:"final",always:"#signUpActor.confirmSignUp"}}}}},confirmSignUp:{initial:"edit",states:{edit:{entry:"sendUpdate",on:{SUBMIT:{actions:"handleSubmit",target:"submit"},CHANGE:{actions:"handleInput"},BLUR:{actions:"handleBlur"},RESEND:"resend"}},resend:{tags:["pending"],entry:"sendUpdate",invoke:{src:"resendConfirmationCode",onDone:{target:"edit"},onError:[{target:"#signUpActor.resolved",actions:"setAutoSignInIntent",cond:"isUserAlreadyConfirmed"},{target:"edit",actions:"setRemoteError"}]}},submit:{tags:["pending"],entry:["sendUpdate","clearError"],invoke:{src:"confirmSignUp",onDone:{target:"#signUpActor.resolved",actions:"setAutoSignInIntent"},onError:{target:"edit",actions:"setRemoteError"}}}}},resolved:{type:"final",data:function(n,r){var i=n.authAttributes,a=i.username,s=i.password;return{user:Me(r,"data.user")||n.user,authAttributes:{username:a,password:s},intent:n.intent}}}}},{guards:{isUserAlreadyConfirmed:function(n,r){return r.data.message==="User is already confirmed."},shouldInitConfirmSignUp:function(n){return n.intent&&n.intent==="confirmSignUp"},shouldSkipConfirm:function(n,r){return r.data.userConfirmed}},actions:{clearError:kr,clearFormValues:xr,clearTouched:$r,clearValidationError:Or,handleInput:Br,handleSubmit:Vr,handleBlur:Fr,parsePhoneNumber:Ca,setCredentials:_a,setFieldErrors:Ur,setRemoteError:Rr,setCodeDeliveryDetails:US,setUser:ba,sendUpdate:Nr(),setAutoSignInIntent:pe({intent:function(n){return(n==null?void 0:n.intent)==="confirmSignUp"?"autoSignInSubmit":"autoSignIn"}})},services:{confirmSignUp:function(n,r){return F(this,void 0,void 0,function(){var i,a,s,u,c;return M(this,function(l){switch(l.label){case 0:return i=n.user,a=n.authAttributes,s=n.formValues,u=s.confirmation_code,c=Me(i,"username")||Me(a,"username"),[4,t.handleConfirmSignUp({username:c,code:u})];case 1:return[2,l.sent()]}})})},resendConfirmationCode:function(n,r){return F(this,void 0,void 0,function(){var i,a,s;return M(this,function(u){return i=n.user,a=n.authAttributes,s=Me(i,"username")||Me(a,"username"),[2,Y.Auth.resendSignUp(s)]})})},federatedSignIn:function(n,r){return F(this,void 0,void 0,function(){var i;return M(this,function(a){switch(a.label){case 0:return i=r.data.provider,[4,Y.Auth.federatedSignIn({provider:i})];case 1:return[2,a.sent()]}})})},signUp:function(n,r){return F(this,void 0,void 0,function(){var i,a,s,u,c,l,d;return M(this,function(p){switch(p.label){case 0:return i=n.formValues,a=n.loginMechanisms,s=a[0],c=(u=i)[s===void 0?"username":s],l=u.password,d=yg(i,function(f,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:")}}),[4,t.handleSignUp({username:c,password:l,attributes:d})];case 1:return[2,p.sent()]}})})},validateSignUp:function(n,r){return F(this,void 0,void 0,function(){return M(this,function(i){return[2,Mr(n.formValues,n.touched,n.passwordSettings,[t.validateFormPassword,t.validateConfirmPassword,t.validatePreferredUsername,t.validateCustomSignUp])]})})}}})}var zS=Qw;function GS(){return Tt({id:"authenticator",initial:"idle",context:{user:void 0,config:{},services:Xe,actorRef:void 0,hasSetup:!1},predictableActionArguments:!0,states:{idle:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"authenticated"},onError:{target:"setup"}}},setup:{initial:"waitConfig",states:{waitConfig:{on:{INIT:{actions:["configure","setHasSetup"],target:"applyConfig"}}},applyConfig:{invoke:{src:"getAmplifyConfig",onDone:{actions:"applyAmplifyConfig",target:"goToInitialState"}}},goToInitialState:{always:[{target:"#authenticator.signUp",cond:"isInitialStateSignUp"},{target:"#authenticator.resetPassword",cond:"isInitialStateResetPassword"},{target:"#authenticator.signIn"}]}}},signIn:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignInActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignInActor"}},on:{SIGN_UP:"signUp",RESET_PASSWORD:"resetPassword","done.invoke.signInActor":[{target:"signUp",actions:"setActorDoneData",cond:"shouldRedirectToSignUp"},{target:"resetPassword",actions:"setActorDoneData",cond:"shouldRedirectToResetPassword"},{target:"authenticated",actions:"setActorDoneData"}]}},signUp:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignUpActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopSignUpActor"},autoSignIn:{invoke:{src:"getCurrentUser",onDone:"#authenticator.authenticated",onError:"#authenticator.setup.goToInitialState"}}},on:{SIGN_IN:"signIn","done.invoke.signUpActor":{target:"#authenticator.signIn",actions:"setActorDoneData",cond:"shouldAutoSignIn"}}},resetPassword:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnResetPasswordActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:"stopResetPasswordActor"}},on:{SIGN_IN:"signIn","done.invoke.resetPasswordActor":{target:"signIn",actions:"setActorDoneData"}}},signOut:{initial:"spawnActor",states:{spawnActor:{always:{actions:"spawnSignOutActor",target:"runActor"}},runActor:{entry:"clearActorDoneData",exit:["stopSignOutActor","clearUser"]}},on:{"done.invoke.signOutActor":[{target:"setup",cond:"shouldSetup"},{target:"setup.goToInitialState"}]}},authenticated:{initial:"idle",states:{idle:{on:{TOKEN_REFRESH:"refreshUser"}},refreshUser:{invoke:{src:"getCurrentUser",onDone:{actions:"setUser",target:"idle"},onError:{target:"#authenticator.signOut"}}}},on:{SIGN_OUT:"signOut"}}},on:{CHANGE:{actions:"forwardToActor"},BLUR:{actions:"forwardToActor"},SUBMIT:{actions:"forwardToActor"},FEDERATED_SIGN_IN:{actions:"forwardToActor"},AUTO_SIGN_IN:{actions:"forwardToActor"},RESEND:{actions:"forwardToActor"},SIGN_IN:{actions:"forwardToActor"},SKIP:{actions:"forwardToActor"}}},{actions:{forwardToActor:zS([{cond:"hasActor",actions:SS(function(e){return e.actorRef})}]),setUser:pe({user:function(e,t){return t.data}}),setActorDoneData:pe({actorDoneData:function(e,t){var n,r;return{authAttributes:E({},(n=t.data)===null||n===void 0?void 0:n.authAttributes),intent:(r=t.data)===null||r===void 0?void 0:r.intent}},user:function(e,t){var n;return(n=t.data)===null||n===void 0?void 0:n.user}}),clearUser:pe({user:void 0}),clearActorDoneData:pe({actorDoneData:void 0}),applyAmplifyConfig:pe({config:function(e,t){var n,r,i,a,s,u,c,l,d,p=(r=(n=t.data.aws_cognito_username_attributes)===null||n===void 0?void 0:n.map(function(b){return b.toLowerCase()}))!==null&&r!==void 0?r:[],f=(a=(i=t.data.aws_cognito_verification_mechanisms)===null||i===void 0?void 0:i.map(function(b){return b.toLowerCase()}))!==null&&a!==void 0?a:[],m=(u=(s=t.data.aws_cognito_signup_attributes)===null||s===void 0?void 0:s.map(function(b){return b.toLowerCase()}))!==null&&u!==void 0?u:[],v=(l=(c=t.data.aws_cognito_social_providers)===null||c===void 0?void 0:c.map(function(b){return b.toLowerCase()}))!==null&&l!==void 0?l:[],y=t.data.aws_cognito_password_protection_settings||{};p.length===0&&p.push("username");var w=e.config,S=w.loginMechanisms,g=w.signUpAttributes,h=w.socialProviders,_=w.initialState;return{loginMechanisms:S!=null?S:p,formFields:(d=jS(w.formFields))!==null&&d!==void 0?d:{},passwordSettings:y,signUpAttributes:g!=null?g:Array.from(new Set(Se(Se([],f,!0),m,!0))),socialProviders:h!=null?h:v.sort(),initialState:_}}}),spawnSignInActor:pe({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=FS({services:l}).withContext({authAttributes:(r=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&r!==void 0?r:{},user:e.user,intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,country_code:"+1",formValues:{},touched:{},validationError:{},passwordSettings:(a=e.config)===null||a===void 0?void 0:a.passwordSettings,loginMechanisms:(s=e.config)===null||s===void 0?void 0:s.loginMechanisms,socialProviders:(u=e.config)===null||u===void 0?void 0:u.socialProviders,formFields:(c=e.config)===null||c===void 0?void 0:c.formFields});return Rt(d,{name:"signInActor"})}}),spawnSignUpActor:pe({actorRef:function(e,t){var n,r,i,a,s,u,c,l=e.services,d=LS({services:l}).withContext({authAttributes:(r=(n=e.actorDoneData)===null||n===void 0?void 0:n.authAttributes)!==null&&r!==void 0?r:{},country_code:"+1",intent:(i=e.actorDoneData)===null||i===void 0?void 0:i.intent,formValues:{},touched:{},validationError:{},loginMechanisms:(a=e.config)===null||a===void 0?void 0:a.loginMechanisms,socialProviders:(s=e.config)===null||s===void 0?void 0:s.socialProviders,formFields:(u=e.config)===null||u===void 0?void 0:u.formFields,passwordSettings:(c=e.config)===null||c===void 0?void 0:c.passwordSettings});return Rt(d,{name:"signUpActor"})}}),spawnResetPasswordActor:pe({actorRef:function(e,t){var n,r,i,a,s,u=e.services,c=DS({services:u}).withContext({formValues:{},touched:{},intent:(n=e.actorDoneData)===null||n===void 0?void 0:n.intent,username:(i=(r=e.actorDoneData)===null||r===void 0?void 0:r.authAttributes)===null||i===void 0?void 0:i.username,formFields:(a=e.config)===null||a===void 0?void 0:a.formFields,validationError:{},passwordSettings:(s=e.config)===null||s===void 0?void 0:s.passwordSettings});return Rt(c,{name:"resetPasswordActor"})}}),spawnSignOutActor:pe({actorRef:function(e){var t=MS.withContext({user:e.user});return Rt(t,{name:"signOutActor"})}}),stopSignInActor:Ft("signInActor"),stopSignUpActor:Ft("signUpActor"),stopResetPasswordActor:Ft("resetPasswordActor"),stopSignOutActor:Ft("signOutActor"),configure:pe(function(e,t){var n=t.data,r=n.services,i=Ci(n,["services"]);return{services:E(E({},Xe),r),config:i}}),setHasSetup:pe({hasSetup:!0})},guards:{isInitialStateSignUp:function(e){return e.config.initialState==="signUp"},isInitialStateResetPassword:function(e){return e.config.initialState==="resetPassword"},shouldRedirectToSignUp:function(e,t){var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmSignUp"},shouldRedirectToResetPassword:function(e,t){var n;return((n=t.data)===null||n===void 0?void 0:n.intent)==="confirmPasswordReset"},shouldAutoSignIn:function(e,t){var n,r;return((n=t.data)===null||n===void 0?void 0:n.intent)==="autoSignIn"||((r=t.data)===null||r===void 0?void 0:r.intent)==="autoSignInSubmit"},shouldSetup:function(e){return e.hasSetup===!1},hasActor:function(e){return!!e.actorRef}},services:{getCurrentUser:function(e,t){return e.services.getCurrentUser()},getAmplifyConfig:function(e,t){return e.services.getAmplifyConfig()}}})}function jS(e){return e&&Object.keys(e).forEach(function(t){Object.keys(e[t]).forEach(function(n){var r=e[t][n];r.required=r.isRequired})}),e}const HS={key:0,class:"amplify-flex amplify-alert amplify-alert--error amplify-authenticator__base","data-variation":"error",role:"alert"},WS={class:"amplify-flex amplify-authenticator__icon-wrapper"},YS=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[o.createElementVNode("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"})],-1),KS=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"amplify-icon","aria-hidden":"true",viewBox:"0 0 24 24",fill:"currentColor"},[o.createElementVNode("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"})],-1),Te={__name:"base-alert",setup(e){const t=o.ref(!0),n=x("Dismiss alert");function r(){t.value=!1}return(i,a)=>{const s=ce;return t.value?(o.openBlock(),o.createElementBlock("div",HS,[o.createElementVNode("div",WS,[YS,o.createElementVNode("div",null,[o.renderSlot(i.$slots,"default")])]),o.createVNode(s,{class:"amplify-field-group__control amplify-alert__dismiss","aria-label":o.unref(n),fullwidth:!1,variation:"link",type:"button",onClick:r},{default:o.withCtx(()=>[KS]),_:1},8,["aria-label"])])):o.createCommentVNode("",!0)}}};var gn=(e,t)=>{const n=e.__vccOpts||e;for(const[r,i]of t)n[r]=i;return n};const qS={};function JS(e,t){return o.openBlock(),o.createElementBlock("div",null,[o.renderSlot(e.$slots,"default")])}var oe=gn(qS,[["render",JS]]);const Ie=o.defineComponent({__name:"base-form",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"formt",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("form",o.mergeProps({"data-amplify-form":""},n.$attrs),[o.renderSlot(n.$slots,"default")],16)])}}),Ee=o.defineComponent({__name:"base-footer",setup(e){let t=o.useSlots();return(n,r)=>o.renderSlot(n.$slots,"footert",o.mergeProps(n.$attrs,{slotData:o.unref(t).default&&o.unref(t).default()}),()=>[o.createElementVNode("footer",o.normalizeProps(o.guardReactiveProps(n.$attrs)),[o.renderSlot(n.$slots,"default")],16)])}});function ZS(e){return o.getCurrentScope()?(o.onScopeDispose(e),!0):!1}function he(e){let t=0,n,r;const i=()=>{t-=1,r&&t<=0&&(r.stop(),n=void 0,r=void 0)};return(...a)=>(t+=1,n||(r=o.effectScope(!0),n=r.run(()=>e(...a))),ZS(i),n)}var en=globalThis&&globalThis.__assign||function(){return en=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])}return e},en.apply(this,arguments)},QS=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};function XS(e,t,n){if(typeof e=="object")return e;var r=function(){};return{next:e,error:t||r,complete:n||r}}function e_(e,t,n){t===void 0&&(t={});var r=typeof e=="function"?e():e,i=t.context,a=t.guards,s=t.actions,u=t.activities,c=t.services,l=t.delays,d=t.state,p=QS(t,["context","guards","actions","activities","services","delays","state"]),f={context:i,guards:a,actions:s,activities:u,services:c,delays:l},m=r.withConfig(f,function(){return en(en({},r.context),i)}),v=Sa(m,p).start(d?we.create(d):void 0),y;return o.onMounted(function(){n&&(y=v.subscribe(XS(n)))}),o.onBeforeUnmount(function(){v.stop(),y==null||y.unsubscribe()}),v}function t_(e){return"state"in e}var yi=function(){};function n_(e){return"getSnapshot"in e?e.getSnapshot():t_(e)?e.state:void 0}function Aa(e,t){t===void 0&&(t=n_);var n=o.isRef(e)?e:o.shallowRef(e),r=o.shallowRef(t(n.value)),i=function(a){n.value.send(a)};return o.watch(n,function(a,s,u){r.value=t(a);var c=a.subscribe({next:function(l){return r.value=l},error:yi,complete:yi}).unsubscribe;u(function(){return c()})},{immediate:!0}),{state:r,send:i}}const Ta={error:"",hasValidationErrors:!1,isPending:!1,route:"",authStatus:"",user:"",validationErrors:[""],codeDeliveryDetails:{val:"",DeliveryMedium:""},change:e=>null,updateForm:e=>null,updateBlur:e=>null,resend:e=>null,resendCode:e=>null,signOut:e=>null,federatedSignIn:e=>null,toFederatedSignIn:e=>null,resetPassword:e=>null,toResetPassword:e=>null,signIn:e=>null,toSignIn:e=>null,signUp:e=>null,toSignUp:e=>null,skip:e=>null,skipVerification:e=>null,submit:e=>null,submitForm:e=>null},tr=o.ref(),Yt=o.reactive({...Ta,send:"",state:""}),ge=e=>(e&&(tr.value=e),Aa(tr.value)),r_=()=>(wi(),o.watchEffect(()=>{wi()}),Yt),le=r_;function wi(){if(!tr.value)return;const{state:e,send:t}=ge(),n=ea({send:t,state:e.value});for(const r of Object.keys(Ta))Yt[r]=n[r];Yt.send=t,Yt.state=e}const Mt=o.defineComponent({__name:"federated-sign-in-button",props:{provider:String},setup(e){const t=e,{provider:n}=o.toRefs(t),{send:r}=ge(),i=()=>{r({type:"FEDERATED_SIGN_IN",data:{provider:n==null?void 0:n.value}})};return(a,s)=>{const u=oe,c=ce;return o.openBlock(),o.createBlock(c,{class:"amplify-field-group__control federated-sign-in-button amplify-authenticator__font",fullwidth:!1,style:{"font-weight":"normal"},type:"button",onClick:i},{default:o.withCtx(()=>[o.createVNode(u,{class:"amplify-flex federated-sign-in-button-row amplify-authenticator__sign-in-button-wrapper"},{default:o.withCtx(()=>[o.renderSlot(a.$slots,"default")]),_:3})]),_:3})}}}),o_=o.createElementVNode("svg",{"aria-label":"Amazon icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 248 268"},[o.createElementVNode("path",{d:"M139.056521,147.024612 C133.548808,156.744524 124.782731,162.726926 115.087401,162.726926 C101.790721,162.726926 93.9937779,152.612964 93.9937779,137.68681 C93.9937779,108.224571 120.447551,102.879017 145.533369,102.879017 L145.533369,110.365976 C145.533369,123.831358 145.876354,135.063787 139.056521,147.024612 M207.206992,162.579655 C209.400505,165.692256 209.887066,169.437725 207.063416,171.770186 C199.996315,177.653081 187.429476,188.590967 180.513926,194.716661 L180.46208,194.621133 C178.176838,196.663031 174.862638,196.810303 172.27828,195.445057 C160.780281,185.9162 158.686473,181.494078 152.405048,172.403055 C133.405233,191.751331 119.909143,197.534719 95.309886,197.534719 C66.1281801,197.534719 43.4791563,179.599451 43.4791563,143.669212 C43.4791563,115.616003 58.6782107,96.5105248 80.4019706,87.1727225 C99.2063636,78.9096034 125.464714,77.4528107 145.533369,75.1641337 L145.533369,70.694248 C145.533369,62.4749122 146.167493,52.7510201 141.297893,45.6541312 C137.110277,39.2856386 129.018206,36.6586354 121.859376,36.6586354 C108.658413,36.6586354 96.9171331,43.4171982 94.0416364,57.4199213 C93.4593582,60.532522 91.1701278,63.5933787 88.003492,63.7406501 L54.4387473,60.1424518 C51.6150972,59.5095829 48.4484614,57.2248862 49.2740201,52.8982915 C56.9712583,12.2553679 93.7983558,0 126.732964,0 C143.587124,0 165.606011,4.47386604 178.902691,17.2148315 C195.760839,32.917146 194.149604,53.8694866 194.149604,76.6726704 L194.149604,130.542157 C194.149604,146.734049 200.87372,153.830938 207.206992,162.579655 Z M233.826346,208.038962 C230.467669,203.683255 211.550709,205.9821 203.056405,206.998432 C200.470662,207.321077 200.076227,205.042397 202.406981,203.404973 C217.475208,192.664928 242.201125,195.766353 245.081698,199.363845 C247.966255,202.981502 244.336653,228.071183 230.172839,240.049379 C228.001452,241.888455 225.929671,240.904388 226.89783,238.468418 C230.077218,230.430525 237.204944,212.418868 233.826346,208.038962 Z M126.768855,264 C74.0234043,264 42.0764048,241.955028 17.7852554,217.541992 C12.9733903,212.705982 6.71799208,206.295994 3.31151296,200.690918 C1.90227474,198.372135 5.59096074,195.021875 8.0442063,196.84375 C38.2390146,219.267578 82.1011654,239.538304 125.529506,239.538304 C154.819967,239.538304 191.046475,227.469543 220.66851,214.867659 C225.146771,212.966167 225.146771,219.180222 224.511585,221.060516 C224.183264,222.03242 209.514625,236.221149 189.247207,247.047411 C170.304273,257.166172 146.397132,264 126.768855,264 Z",fill:"#FF9900"})],-1),i_={class:"amplify-text amplify-authenticator__federated-text"},a_=o.createElementVNode("svg",{"aria-label":"Apple icon",class:"amplify-icon federated-sign-in-icon",fill:"#000",preserveAspectRatio:"xMidYMid",stroke:"#000",strokeWidth:"0",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{d:"M747.4 535.7c-.4-68.2 30.5-119.6 92.9-157.5-34.9-50-87.7-77.5-157.3-82.8-65.9-5.2-138 38.4-164.4 38.4-27.9 0-91.7-36.6-141.9-36.6C273.1 298.8 163 379.8 163 544.6c0 48.7 8.9 99 26.7 150.8 23.8 68.2 109.6 235.3 199.1 232.6 46.8-1.1 79.9-33.2 140.8-33.2 59.1 0 89.7 33.2 141.9 33.2 90.3-1.3 167.9-153.2 190.5-221.6-121.1-57.1-114.6-167.2-114.6-170.7zm-105.1-305c50.7-60.2 46.1-115 44.6-134.7-44.8 2.6-96.6 30.5-126.1 64.8-32.5 36.8-51.6 82.3-47.5 133.6 48.4 3.7 92.6-21.2 129-63.7z"})],-1),s_={class:"amplify-text amplify-authenticator__federated-text"},u_=o.createElementVNode("svg",{"aria-label":"Facebook icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 279 538"},[o.createElementVNode("path",{d:"M82.3409742,538 L82.3409742,292.936652 L0,292.936652 L0,196.990154 L82.2410458,196.990154 L82.2410458,126.4295 C82.2410458,44.575144 132.205229,0 205.252865,0 C240.227794,0 270.306232,2.59855099 279,3.79788222 L279,89.2502322 L228.536175,89.2502322 C188.964542,89.2502322 181.270057,108.139699 181.270057,135.824262 L181.270057,196.89021 L276.202006,196.89021 L263.810888,292.836708 L181.16913,292.836708 L181.16913,538 L82.3409742,538 Z",fill:"#1877F2"})],-1),c_={class:"amplify-text amplify-authenticator__federated-text"},l_=o.createElementVNode("svg",{"aria-label":"Google icon",class:"amplify-icon federated-sign-in-icon",viewBox:"0 0 256 262",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},[o.createElementVNode("path",{d:"M255.878 133.451c0-10.734-.871-18.567-2.756-26.69H130.55v48.448h71.947c-1.45 12.04-9.283 30.172-26.69 42.356l-.244 1.622 38.755 30.023 2.685.268c24.659-22.774 38.875-56.282 38.875-96.027",fill:"#4285F4"}),o.createElementVNode("path",{d:"M130.55 261.1c35.248 0 64.839-11.605 86.453-31.622l-41.196-31.913c-11.024 7.688-25.82 13.055-45.257 13.055-34.523 0-63.824-22.773-74.269-54.25l-1.531.13-40.298 31.187-.527 1.465C35.393 231.798 79.49 261.1 130.55 261.1",fill:"#34A853"}),o.createElementVNode("path",{d:"M56.281 156.37c-2.756-8.123-4.351-16.827-4.351-25.82 0-8.994 1.595-17.697 4.206-25.82l-.073-1.73L15.26 71.312l-1.335.635C5.077 89.644 0 109.517 0 130.55s5.077 40.905 13.925 58.602l42.356-32.782",fill:"#FBBC05"}),o.createElementVNode("path",{d:"M130.55 50.479c24.514 0 41.05 10.589 50.479 19.438l36.844-35.974C195.245 12.91 165.798 0 130.55 0 79.49 0 35.393 29.301 13.925 71.947l42.211 32.783c10.59-31.477 39.891-54.251 74.414-54.251",fill:"#EB4335"})],-1),d_={class:"amplify-text amplify-authenticator__federated-text"},f_=["data-label"],vn=o.defineComponent({__name:"federated-sign-in",setup(e){var h;const{state:t}=ge(),n=he(le),{route:r}=n(),{value:{context:i}}=t,a=(h=i==null?void 0:i.config)==null?void 0:h.socialProviders,s=a==null?void 0:a.includes("amazon"),u=a==null?void 0:a.includes("apple"),c=a==null?void 0:a.includes("facebook"),l=a==null?void 0:a.includes("google"),d=c||l||s||u,{getSignInWithFederationText:p,getOrText:f}=me,m=o.computed(()=>Vn),v=o.computed(()=>p(r,"amazon")),y=o.computed(()=>p(r,"apple")),w=o.computed(()=>p(r,"facebook")),S=o.computed(()=>p(r,"google")),g=o.computed(()=>f());return(_,b)=>{const C=oe;return o.unref(d)?(o.openBlock(),o.createBlock(C,{key:0,class:"amplify-flex federated-sign-in-container amplify-authenticator__column amplify-authenticator__sign-in-base"},{default:o.withCtx(()=>[o.unref(s)?(o.openBlock(),o.createBlock(Mt,{key:0,provider:o.unref(m).Amazon},{default:o.withCtx(()=>[o_,o.createElementVNode("p",i_,o.toDisplayString(o.unref(v)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(u)?(o.openBlock(),o.createBlock(Mt,{key:1,provider:o.unref(m).Apple},{default:o.withCtx(()=>[a_,o.createElementVNode("p",s_,o.toDisplayString(o.unref(y)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(c)?(o.openBlock(),o.createBlock(Mt,{key:2,provider:o.unref(m).Facebook},{default:o.withCtx(()=>[u_,o.createElementVNode("p",c_,o.toDisplayString(o.unref(w)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.unref(l)?(o.openBlock(),o.createBlock(Mt,{key:3,provider:o.unref(m).Google},{default:o.withCtx(()=>[l_,o.createElementVNode("p",d_,o.toDisplayString(o.unref(S)),1)]),_:1},8,["provider"])):o.createCommentVNode("",!0),o.createElementVNode("hr",{class:"amplify-divider amplify-divider--label amplify-divider--small","aria-orientation":"horizontal","data-size":"small","data-label":o.unref(g)},null,8,f_)]),_:1})):o.createCommentVNode("",!0)}}});let p_=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=n[e]&63;r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r<63?t+="_":t+="-"}return t};const m_={},h_={"data-amplify-label":""};function g_(e,t){return o.openBlock(),o.createElementBlock("label",h_,[o.renderSlot(e.$slots,"default")])}var yn=gn(m_,[["render",g_]]);const wn=o.defineComponent({__name:"base-input",emits:["update:modelValue"],setup(e,{emit:t}){const n=r=>{t("update:modelValue",r.target.value)};return(r,i)=>(o.openBlock(),o.createElementBlock("input",{onChange:i[0]||(i[0]=a=>n(a)),"data-amplify-input":""},null,32))}}),v_=["aria-label","aria-checked"],y_=o.createElementVNode("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"},null,-1),w_=[y_],S_=o.createElementVNode("path",{d:"M0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0zm0 0h24v24H0z",fill:"none"},null,-1),__=o.createElementVNode("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78l3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"},null,-1),b_=[S_,__],C_={inheritAttrs:!1},Dr=o.defineComponent({...C_,__name:"password-control",props:{name:null,label:null,autocomplete:{default:"new-password"},hasError:{type:Boolean,default:!1},labelHidden:{type:Boolean},placeholder:null,required:{type:Boolean,default:!0},describedBy:null},setup(e){var g;const t=e,n=x("Show password"),r=x("Hide password"),i=o.ref("password"),a=o.ref(n),s=Math.floor(Math.random()*999999),{name:u,label:c,autocomplete:l,hasError:d,labelHidden:p,placeholder:f,required:m}=o.toRefs(t);let v=o.ref("");function y(){a.value=a.value===n?r:n,i.value=i.value==="password"?"text":"password"}const w=x((g=f==null?void 0:f.value)!=null?g:c.value),S=x(c.value);return(h,_)=>{const b=yn,C=wn,A=oe;return o.openBlock(),o.createBlock(A,{class:o.normalizeClass([o.unref(te).Flex,o.unref(te).Field,o.unref(te).TextField,o.unref(te).PasswordField,"amplify-authenticator__column"])},{default:o.withCtx(()=>[o.createVNode(b,{class:o.normalizeClass(["amplify-label",{"amplify-visually-hidden":o.unref(p)}]),for:"amplify-field-"+o.unref(s)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1},8,["class","for"]),o.createVNode(A,{class:o.normalizeClass([o.unref(te).Flex,o.unref(te).FieldGroup])},{default:o.withCtx(()=>[o.createVNode(A,{class:o.normalizeClass(o.unref(te).FieldGroupFieldWrapper)},{default:o.withCtx(()=>{var N;return[o.createVNode(C,o.mergeProps(h.$attrs,{modelValue:o.unref(v),"onUpdate:modelValue":_[0]||(_[0]=k=>o.isRef(v)?v.value=k:v=k),class:[o.unref(te).Input,o.unref(te).FieldGroupControl],id:"amplify-field-"+o.unref(s),"data-amplify-password":"true",name:o.unref(u),autocomplete:o.unref(l),required:(N=o.unref(m))!=null?N:!0,placeholder:o.unref(w),type:i.value,"aria-invalid":o.unref(d),"aria-describedBy":e.describedBy}),null,16,["modelValue","class","id","name","autocomplete","required","placeholder","type","aria-invalid","aria-describedBy"])]}),_:1},8,["class"]),o.createVNode(A,{class:o.normalizeClass(o.unref(te).FieldGroupOuterEnd)},{default:o.withCtx(()=>[o.createElementVNode("button",{"aria-label":a.value,"aria-checked":i.value!=="password",class:o.normalizeClass([o.unref(te).Button,o.unref(te).FieldGroupControl,o.unref(te).FieldShowPassword]),"data-fullwidth":"false",type:"button",role:"switch",onClick:y},[i.value==="password"?(o.openBlock(),o.createElementBlock("svg",{key:0,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:o.normalizeClass(o.unref(te).Icon)},w_,2)):(o.openBlock(),o.createElementBlock("svg",{key:1,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24",class:o.normalizeClass(o.unref(te).Icon)},b_,2))],10,v_)]),_:1},8,["class"])]),_:1},8,["class"])]),_:1},8,["class"])}}}),A_=["value","selected"],T_=o.defineComponent({__name:"base-select",props:{selectValue:{default:""},options:null},emits:["update:selectValue"],setup(e,{emit:t}){const n=e,{options:r,selectValue:i}=o.toRefs(n),a=s=>{t("update:selectValue",s.target.value)};return(s,u)=>(o.openBlock(),o.createElementBlock("select",{onChange:u[0]||(u[0]=c=>a(c))},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(r),(c,l)=>(o.openBlock(),o.createElementBlock("option",{key:l,value:c,selected:c==o.unref(i)?!0:void 0},o.toDisplayString(c),9,A_))),128))],32))}}),I_=o.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg","data-size":"large",fill:"currentColor",viewBox:"0 0 24 24",class:"amplify-icon amplify-icon--large"},[o.createElementVNode("path",{d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})],-1),E_=o.defineComponent({__name:"alias-control",props:{label:{default:"Username"},name:{default:"username"},placeholder:{default:""},autocomplete:{default:""},labelHidden:{type:Boolean},required:{type:Boolean,default:!0},dialCode:null,dialCodeList:null,type:{default:"text"},hasError:{type:Boolean},describedBy:null},setup(e){const t=e,{label:n,name:r,placeholder:i,autocomplete:a,labelHidden:s,required:u,dialCode:c,dialCodeList:l}=o.toRefs(t),d=Math.floor(Math.random()*999999),p=Math.floor(Math.random()*999999);return(f,m)=>{const v=yn,y=T_,w=oe,S=wn;return o.openBlock(),o.createBlock(w,{class:"amplify-flex amplify-field amplify-textfield amplify-phonenumberfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(v,o.mergeProps({for:"amplify-field-"+o.unref(d),class:["amplify-label",{"amplify-visually-hidden":o.unref(s)}]},f.$attrs),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)),1)]),_:1},16,["for","class"]),o.createVNode(w,{class:"amplify-flex amplify-field-group"},{default:o.withCtx(()=>[o.createVNode(w,{class:"amplify-field-group__outer-start"},{default:o.withCtx(()=>[e.type==="tel"?(o.openBlock(),o.createBlock(w,{key:0,class:"amplify-flex amplify-field amplify-selectfield amplify-countrycodeselect amplify-dialcodeselect amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(v,o.mergeProps({for:"amplify-field-"+o.unref(p),class:"amplify-label amplify-visually-hidden"},f.$attrs),{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString("Country Code"))]),_:1},16,["for"]),o.createVNode(w,{class:"amplify-select__wrapper"},{default:o.withCtx(()=>[o.createVNode(y,{class:"amplify-select amplify-field-group__control",id:"amplify-field-"+o.unref(p),autocomplete:"tel-country-code","aria-label":"country code",name:"country_code",options:o.unref(l),"select-value":o.unref(c)},null,8,["id","options","select-value"]),o.createVNode(w,{class:"amplify-flex amplify-select__icon-wrapper amplify-authenticator__icon-wrapper"},{default:o.withCtx(()=>[I_]),_:1})]),_:1})]),_:1})):o.createCommentVNode("",!0)]),_:1}),o.createVNode(w,{class:"amplify-field-group__field-wrapper"},{default:o.withCtx(()=>{var g;return[o.createVNode(S,{class:"amplify-input amplify-field-group__control",id:"amplify-field-"+o.unref(d),autocomplete:o.unref(a),name:o.unref(r),required:(g=o.unref(u))!=null?g:!0,type:e.type,placeholder:o.unref(i),"aria-invalid":e.hasError,"aria-describedBy":e.describedBy},null,8,["id","autocomplete","name","required","type","placeholder","aria-invalid","aria-describedBy"])]}),_:1})]),_:1})]),_:1})}}}),P_=["id"],Ia=o.defineComponent({__name:"base-form-field",props:{name:{default:""},formField:{default:()=>({})}},setup(e){const t=e,{name:n,formField:r}=o.toRefs(t),i=he(le),{validationErrors:a}=o.toRefs(i()),{type:s}=r.value,u=s==="password",c=p_(12),l=o.computed(()=>ow(a.value[n.value])),d=o.computed(()=>{var f;return((f=l.value)==null?void 0:f.length)>0}),p=o.computed(()=>d.value?c:void 0);return(f,m)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[u?(o.openBlock(),o.createBlock(Dr,{key:0,name:o.unref(n),label:o.unref(r).label,placeholder:o.unref(r).placeholder,required:o.unref(r).isRequired,"label-hidden":o.unref(r).labelHidden,autocomplete:o.unref(r).autocomplete,hasError:o.unref(d),describedBy:o.unref(p)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","hasError","describedBy"])):(o.openBlock(),o.createBlock(E_,{key:1,name:o.unref(n),label:o.unref(r).label,placeholder:o.unref(r).placeholder,required:o.unref(r).isRequired,"label-hidden":o.unref(r).labelHidden,autocomplete:o.unref(r).autocomplete,"dial-code":o.unref(r).dialCode,"dial-code-list":o.unref(r).dialCodeList,type:o.unref(r).type,hasError:o.unref(d),describedBy:o.unref(p)},null,8,["name","label","placeholder","required","label-hidden","autocomplete","dial-code","dial-code-list","type","hasError","describedBy"])),o.unref(d)?(o.openBlock(),o.createElementBlock("div",{key:2,id:o.unref(p)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(l),(v,y)=>(o.openBlock(),o.createElementBlock("p",{key:y,role:"alert","data-variation":"error",class:"amplify-text amplify-text--error"},o.toDisplayString(o.unref(x)(v)),1))),128))],8,P_)):o.createCommentVNode("",!0)],64))}}),Pe=o.defineComponent({__name:"base-form-fields",props:{route:null},setup(e){const t=e,{route:n}=o.toRefs(t),{state:r}=ge();let i=[];return o.onBeforeMount(()=>{i=_w(n.value,r.value)}),(a,s)=>(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(i),([u,c])=>(o.openBlock(),o.createBlock(Ia,{name:u,key:u,formField:c},null,8,["name","formField"]))),128))}}),N_=o.createElementVNode("legend",{class:"amplify-visually-hidden"},"Sign in",-1),k_={"data-amplify-footer":""},Lr=o.defineComponent({__name:"sign-in",emits:["signInSubmit","forgotPasswordClicked","createAccountClicked"],setup(e,{emit:t}){const r=he(le)(),i=o.useAttrs(),{getForgotPasswordText:a,getSignInText:s,getSigningInText:u}=me,c=o.computed(()=>a()),l=o.computed(()=>s()),d=o.computed(()=>u()),{state:p,send:f}=ge(),m=o.computed(()=>ue(p.value)),v=g=>{const{name:h,value:_}=g.target;f({type:"CHANGE",data:{name:h,value:_}})},y=g=>{i!=null&&i.onSignInSubmit?t("signInSubmit",g):w(g)},w=g=>{r.submitForm(Ae(g))},S=()=>{i!=null&&i.onForgotPasswordClicked?t("forgotPasswordClicked"):f({type:"RESET_PASSWORD"})};return(g,h)=>{const _=_e,b=Te,C=ce,A=oe,N=Ie,k=Ee;return o.renderSlot(g.$slots,"signInSlotI",o.normalizeProps(o.guardReactiveProps(g.$attrs)),()=>[o.renderSlot(g.$slots,"header"),o.createVNode(A,o.normalizeProps(o.guardReactiveProps(g.$attrs)),{default:o.withCtx(()=>[o.createVNode(N,{"data-amplify-authenticator-signin":"",onInput:v,onSubmit:o.withModifiers(y,["prevent"]),method:"post"},{formt:o.withCtx(({slotData:T})=>[o.renderSlot(g.$slots,"form",{info:T,onSignInSubmit:y,onInput:v,onForgotPasswordClicked:S})]),default:o.withCtx(()=>[o.createVNode(vn),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(_,{disabled:o.unref(m).matches("signIn.submit"),class:"amplify-flex amplify-authenticator__column"},{fieldSetI:o.withCtx(({slotData:T})=>[o.renderSlot(g.$slots,"signin-fields",{info:T})]),default:o.withCtx(()=>[N_,o.createVNode(Pe,{route:"signIn"})]),_:3},8,["disabled"]),o.unref(m).context.remoteError?(o.openBlock(),o.createBlock(b,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(m).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(C,{disabled:o.unref(m).matches("signIn.submit"),class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m).matches("signIn.submit")?o.unref(d):o.unref(l)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),o.createVNode(k,null,{default:o.withCtx(()=>[o.renderSlot(g.$slots,"footer",{},()=>[o.createElementVNode("div",k_,[o.createVNode(C,{onClick:S,class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!0,size:"small",style:{"font-weight":"normal"},type:"button"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(c)),1)]),_:1})])])]),_:3})])}}}),zr=o.defineComponent({__name:"authenticator-sign-up-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Pe,{route:"signUp"}))}}),Gr=o.defineComponent({__name:"sign-up",emits:["signUpSubmit"],setup(e,{emit:t}){const n=he(le),r=n(),i=n(),{hasValidationErrors:a,isPending:s,error:u}=o.toRefs(r),c=o.useAttrs(),{getCreateAccountText:l}=me,d=o.computed(()=>l()),p=y=>{let{checked:w,name:S,type:g,value:h}=y.target;g==="checkbox"&&!w&&(h=void 0),i.updateForm({name:S,value:h})};function f(y){const{name:w}=y.target;i.updateBlur({name:w})}const m=y=>{c!=null&&c.onSignUpSubmit?t("signUpSubmit",y):v(y)},v=y=>{i.submitForm(Ae(y))};return(y,w)=>{const S=_e,g=Te,h=ce,_=oe,b=Ie,C=Ee;return o.renderSlot(y.$slots,"signUpSlotI",o.normalizeProps(o.guardReactiveProps(y.$attrs)),()=>[o.renderSlot(y.$slots,"header"),o.createVNode(_,o.normalizeProps(o.guardReactiveProps(y.$attrs)),{default:o.withCtx(()=>[o.createVNode(b,{onInput:p,onBlurCapture:f,onSubmit:o.withModifiers(m,["prevent"])},{default:o.withCtx(()=>[o.createVNode(vn),o.createVNode(_,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(S,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(s)},{fieldSetI:o.withCtx(({slotData:A})=>[o.renderSlot(y.$slots,"signup-fields",{info:A})]),default:o.withCtx(()=>[o.createVNode(zr)]),_:3},8,["disabled"]),o.unref(u)?(o.openBlock(),o.createBlock(g,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(u))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(h,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!0,loading:!1,variation:"primary",style:{"border-radius":"0px","font-weight":"normal"},disabled:o.unref(s)||o.unref(a)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(d)),1)]),_:1},8,["disabled"])]),_:3})]),_:3},8,["onSubmit"])]),_:3},16),o.createVNode(C,null,{default:o.withCtx(()=>[o.renderSlot(y.$slots,"footer")]),_:3})])}}}),x_=o.defineComponent({__name:"base-two-tab-item",props:{label:null,id:null,active:{type:Boolean,default:!1}},setup(e){const t=e,{active:n,id:r,label:i}=o.toRefs(t);return(a,s)=>{const u=oe;return o.openBlock(),o.createBlock(u,{tabindex:o.unref(n)?0:-1,"data-state":o.unref(n)?"active":"inactive","aria-selected":o.unref(n)?"true":"false","aria-controls":`radix-id-${o.unref(r)}-8-content-0`,id:`radix-id-${o.unref(r)}-8-trigger-0`,"data-orientation":"horizontal",role:"tab",class:"amplify-tabs-item","data-spacing":"equal","data-radix-collection-item":""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(i)),1)]),_:1},8,["tabindex","data-state","aria-selected","aria-controls","id"])}}}),$_={};function O_(e,t){const n=oe;return o.openBlock(),o.createBlock(n,{tabindex:"0","aria-orientation":"horizontal","data-orientation":"horizontal",class:"amplify-authenticator__tabs",role:"tablist"},{default:o.withCtx(()=>[o.createVNode(n,{class:"amplify-flex amplify-tabs amplify-authenticator__tabs-wrapper","data-indicator-position":"top"},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"default")]),_:3})]),_:3})}var U_=gn($_,[["render",O_]]);const Be=o.defineComponent({props:{level:{type:Number,default:1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n}){var s,u;const r=t.default?t.default():[],i=t.headingI?t.headingI():[],a=`${n.class||""} amplify-heading--${e.level}`;if(((u=(s=i[0])==null?void 0:s.children)==null?void 0:u.length)===0)i[0].children=[o.h(`h${e.level}`,{...n,class:a},[r])];else return()=>o.h(`h${e.level}`,{"data-amplify-heading":"",...n,class:a},[i[0]?o.h(i[0].children[0]):o.h(r[0])]);return()=>i}}),R_={};function B_(e,t){return o.renderSlot(e.$slots,"textI",o.normalizeProps(o.guardReactiveProps(e.$attrs)),()=>[o.createElementVNode("span",o.mergeProps(e.$attrs,{"data-amplify-text":""}),[o.renderSlot(e.$slots,"default")],16)])}var Ea=gn(R_,[["render",B_]]);const jr=o.defineComponent({__name:"confirm-sign-up",emits:["confirmSignUpSubmit","lostCodeClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=he(le),{isPending:i,error:a,codeDeliveryDetails:s}=o.toRefs(r()),{submitForm:u,updateForm:c,resendCode:l}=r(),{getDeliveryMethodText:d,getDeliveryMessageText:p,getResendCodeText:f,getConfirmText:m}=me,v=o.computed(()=>d(s.value)),y=o.computed(()=>f()),w=o.computed(()=>m()),S=o.computed(()=>p(s.value)),g=C=>{const{name:A,value:N}=C.target;c({name:A,value:N})},h=C=>{n!=null&&n.onConfirmSignUpSubmit?t("confirmSignUpSubmit",C):_(C)},_=C=>{u(Ae(C))},b=()=>{n!=null&&n.onLostCodeClicked?t("lostCodeClicked"):l()};return(C,A)=>{const N=Be,k=Ea,T=_e,$=Te,U=ce,O=Ee,H=oe,J=Ie;return o.renderSlot(C.$slots,"confirmSignUpSlotI",o.normalizeProps(o.guardReactiveProps(C.$attrs)),()=>[o.createVNode(H,o.normalizeProps(o.guardReactiveProps(C.$attrs)),{default:o.withCtx(()=>[o.createVNode(J,{onInput:g,onSubmit:o.withModifiers(h,["prevent"])},{default:o.withCtx(()=>[o.createVNode(H,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(C.$slots,"header",{},()=>[o.createVNode(N,{class:"amplify-heading amplify-authenticator__heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(v)),1)]),_:1})]),o.createVNode(k,{class:"amplify-authenticator__subtitle"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(S)),1)]),_:1}),o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(i)},{default:o.withCtx(()=>[o.createVNode(Pe,{route:"confirmSignUp"})]),_:1},8,["disabled"]),o.createVNode(O,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(a)?(o.openBlock(),o.createBlock($,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(a))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(U,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:o.unref(i)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(w)),1)]),_:1},8,["disabled"]),o.createVNode(U,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"default",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(b,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(y)),1)]),_:1},8,["onClick"]),o.renderSlot(C.$slots,"footer",{onConfirmSignUpSubmit:h,onLostCodeClicked:b})]),_:3})]),_:3})]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Hr=o.defineComponent({__name:"confirm-sign-in",emits:["confirmSignInSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=ge(),s=he(le)(),u=o.computed(()=>ue(r.value)),c=u.value.context.challengeName,{getBackToSignInText:l,getConfirmText:d,getChallengeText:p}=me,f=o.computed(()=>p(c)),m=o.computed(()=>l()),v=o.computed(()=>d()),y=h=>{const{name:_,value:b}=h.target;i({type:"CHANGE",data:{name:_,value:b}})},w=h=>{n!=null&&n.onConfirmSignInSubmit?t("confirmSignInSubmit",h):S(h)},S=h=>{s.submitForm(Ae(h))},g=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(h,_)=>{const b=Be,C=oe,A=Te,N=ce,k=Ee,T=_e,$=Ie;return o.renderSlot(h.$slots,"confirmSignInSlotI",o.normalizeProps(o.guardReactiveProps(h.$attrs)),()=>[o.createVNode(C,o.normalizeProps(o.guardReactiveProps(h.$attrs)),{default:o.withCtx(()=>[o.createVNode($,{"data-amplify-authenticator-confirmsignin":"",onInput:y,onSubmit:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{},()=>[o.createVNode(b,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Pe,{route:"confirmSignIn"})]),_:1}),o.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var U,O;return[(O=(U=o.unref(u))==null?void 0:U.context)!=null&&O.remoteError?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>{var H,J;return[o.createTextVNode(o.toDisplayString(o.unref(x)((J=(H=o.unref(u))==null?void 0:H.context)==null?void 0:J.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(N,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:o.unref(u).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(v)),1)]),_:1},8,["disabled"]),o.createVNode(N,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(g,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["onClick"]),o.renderSlot(h.$slots,"footer",{onBackToSignInClicked:g,onConfirmSignInSubmit:w})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}});var It={},V_=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},Pa={},de={};let Wr;const F_=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];de.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};de.getSymbolTotalCodewords=function(t){return F_[t]};de.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};de.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Wr=t};de.isKanjiModeEnabled=function(){return typeof Wr!="undefined"};de.toSJIS=function(t){return Wr(t)};var Sn={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},e.from=function(r,i){if(e.isValid(r))return r;try{return t(r)}catch{return i}}})(Sn);function Na(){this.buffer=[],this.length=0}Na.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var M_=Na;function Et(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}Et.prototype.set=function(e,t,n,r){const i=e*this.size+t;this.data[i]=n,r&&(this.reservedBit[i]=!0)};Et.prototype.get=function(e,t){return this.data[e*this.size+t]};Et.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};Et.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var D_=Et,ka={};(function(e){const t=de.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const i=Math.floor(r/7)+2,a=t(r),s=a===145?26:Math.ceil((a-13)/(2*i-2))*2,u=[a-7];for(let c=1;c<i-1;c++)u[c]=u[c-1]-s;return u.push(6),u.reverse()},e.getPositions=function(r){const i=[],a=e.getRowColCoords(r),s=a.length;for(let u=0;u<s;u++)for(let c=0;c<s;c++)u===0&&c===0||u===0&&c===s-1||u===s-1&&c===0||i.push([a[u],a[c]]);return i}})(ka);var xa={};const L_=de.getSymbolSize,Si=7;xa.getPositions=function(t){const n=L_(t);return[[0,0],[n-Si,0],[0,n-Si]]};var $a={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(i){return i!=null&&i!==""&&!isNaN(i)&&i>=0&&i<=7},e.from=function(i){return e.isValid(i)?parseInt(i,10):void 0},e.getPenaltyN1=function(i){const a=i.size;let s=0,u=0,c=0,l=null,d=null;for(let p=0;p<a;p++){u=c=0,l=d=null;for(let f=0;f<a;f++){let m=i.get(p,f);m===l?u++:(u>=5&&(s+=t.N1+(u-5)),l=m,u=1),m=i.get(f,p),m===d?c++:(c>=5&&(s+=t.N1+(c-5)),d=m,c=1)}u>=5&&(s+=t.N1+(u-5)),c>=5&&(s+=t.N1+(c-5))}return s},e.getPenaltyN2=function(i){const a=i.size;let s=0;for(let u=0;u<a-1;u++)for(let c=0;c<a-1;c++){const l=i.get(u,c)+i.get(u,c+1)+i.get(u+1,c)+i.get(u+1,c+1);(l===4||l===0)&&s++}return s*t.N2},e.getPenaltyN3=function(i){const a=i.size;let s=0,u=0,c=0;for(let l=0;l<a;l++){u=c=0;for(let d=0;d<a;d++)u=u<<1&2047|i.get(l,d),d>=10&&(u===1488||u===93)&&s++,c=c<<1&2047|i.get(d,l),d>=10&&(c===1488||c===93)&&s++}return s*t.N3},e.getPenaltyN4=function(i){let a=0;const s=i.data.length;for(let c=0;c<s;c++)a+=i.data[c];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function n(r,i,a){switch(r){case e.Patterns.PATTERN000:return(i+a)%2===0;case e.Patterns.PATTERN001:return i%2===0;case e.Patterns.PATTERN010:return a%3===0;case e.Patterns.PATTERN011:return(i+a)%3===0;case e.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(a/3))%2===0;case e.Patterns.PATTERN101:return i*a%2+i*a%3===0;case e.Patterns.PATTERN110:return(i*a%2+i*a%3)%2===0;case e.Patterns.PATTERN111:return(i*a%3+(i+a)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(i,a){const s=a.size;for(let u=0;u<s;u++)for(let c=0;c<s;c++)a.isReserved(c,u)||a.xor(c,u,n(i,c,u))},e.getBestMask=function(i,a){const s=Object.keys(e.Patterns).length;let u=0,c=1/0;for(let l=0;l<s;l++){a(l),e.applyMask(l,i);const d=e.getPenaltyN1(i)+e.getPenaltyN2(i)+e.getPenaltyN3(i)+e.getPenaltyN4(i);e.applyMask(l,i),d<c&&(c=d,u=l)}return u}})($a);var _n={};const Re=Sn,Dt=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Lt=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];_n.getBlocksCount=function(t,n){switch(n){case Re.L:return Dt[(t-1)*4+0];case Re.M:return Dt[(t-1)*4+1];case Re.Q:return Dt[(t-1)*4+2];case Re.H:return Dt[(t-1)*4+3];default:return}};_n.getTotalCodewordsCount=function(t,n){switch(n){case Re.L:return Lt[(t-1)*4+0];case Re.M:return Lt[(t-1)*4+1];case Re.Q:return Lt[(t-1)*4+2];case Re.H:return Lt[(t-1)*4+3];default:return}};var Oa={},bn={};const yt=new Uint8Array(512),tn=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)yt[n]=t,tn[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)yt[n]=yt[n-255]})();bn.log=function(t){if(t<1)throw new Error("log("+t+")");return tn[t]};bn.exp=function(t){return yt[t]};bn.mul=function(t,n){return t===0||n===0?0:yt[tn[t]+tn[n]]};(function(e){const t=bn;e.mul=function(r,i){const a=new Uint8Array(r.length+i.length-1);for(let s=0;s<r.length;s++)for(let u=0;u<i.length;u++)a[s+u]^=t.mul(r[s],i[u]);return a},e.mod=function(r,i){let a=new Uint8Array(r);for(;a.length-i.length>=0;){const s=a[0];for(let c=0;c<i.length;c++)a[c]^=t.mul(i[c],s);let u=0;for(;u<a.length&&a[u]===0;)u++;a=a.slice(u)}return a},e.generateECPolynomial=function(r){let i=new Uint8Array([1]);for(let a=0;a<r;a++)i=e.mul(i,new Uint8Array([1,t.exp(a)]));return i}})(Oa);const Ua=Oa;function Yr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}Yr.prototype.initialize=function(t){this.degree=t,this.genPoly=Ua.generateECPolynomial(this.degree)};Yr.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const r=Ua.mod(n,this.genPoly),i=this.degree-r.length;if(i>0){const a=new Uint8Array(this.degree);return a.set(r,i),a}return r};var z_=Yr,Ra={},Ve={},Kr={};Kr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Ne={};const Ba="[0-9]+",G_="[A-Z $%*+\\-./:]+";let _t="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";_t=_t.replace(/u/g,"\\u");const j_="(?:(?![A-Z0-9 $%*+\\-./:]|"+_t+`)(?:.|[\r
32
+ ]))+`;Ne.KANJI=new RegExp(_t,"g");Ne.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Ne.BYTE=new RegExp(j_,"g");Ne.NUMERIC=new RegExp(Ba,"g");Ne.ALPHANUMERIC=new RegExp(G_,"g");const H_=new RegExp("^"+_t+"$"),W_=new RegExp("^"+Ba+"$"),Y_=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Ne.testKanji=function(t){return H_.test(t)};Ne.testNumeric=function(t){return W_.test(t)};Ne.testAlphanumeric=function(t){return Y_.test(t)};(function(e){const t=Kr,n=Ne;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(a,s){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?a.ccBits[0]:s<27?a.ccBits[1]:a.ccBits[2]},e.getBestModeForData=function(a){return n.testNumeric(a)?e.NUMERIC:n.testAlphanumeric(a)?e.ALPHANUMERIC:n.testKanji(a)?e.KANJI:e.BYTE},e.toString=function(a){if(a&&a.id)return a.id;throw new Error("Invalid mode")},e.isValid=function(a){return a&&a.bit&&a.ccBits};function r(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+i)}}e.from=function(a,s){if(e.isValid(a))return a;try{return r(a)}catch{return s}}})(Ve);(function(e){const t=de,n=_n,r=Sn,i=Ve,a=Kr,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,u=t.getBCHDigit(s);function c(f,m,v){for(let y=1;y<=40;y++)if(m<=e.getCapacity(y,v,f))return y}function l(f,m){return i.getCharCountIndicator(f,m)+4}function d(f,m){let v=0;return f.forEach(function(y){v+=l(y.mode,m)+y.getBitsLength()}),v}function p(f,m){for(let v=1;v<=40;v++)if(d(f,v)<=e.getCapacity(v,m,i.MIXED))return v}e.from=function(m,v){return a.isValid(m)?parseInt(m,10):v},e.getCapacity=function(m,v,y){if(!a.isValid(m))throw new Error("Invalid QR Code version");typeof y=="undefined"&&(y=i.BYTE);const w=t.getSymbolTotalCodewords(m),S=n.getTotalCodewordsCount(m,v),g=(w-S)*8;if(y===i.MIXED)return g;const h=g-l(y,m);switch(y){case i.NUMERIC:return Math.floor(h/10*3);case i.ALPHANUMERIC:return Math.floor(h/11*2);case i.KANJI:return Math.floor(h/13);case i.BYTE:default:return Math.floor(h/8)}},e.getBestVersionForData=function(m,v){let y;const w=r.from(v,r.M);if(Array.isArray(m)){if(m.length>1)return p(m,w);if(m.length===0)return 1;y=m[0]}else y=m;return c(y.mode,y.getLength(),w)},e.getEncodedBits=function(m){if(!a.isValid(m)||m<7)throw new Error("Invalid QR Code version");let v=m<<12;for(;t.getBCHDigit(v)-u>=0;)v^=s<<t.getBCHDigit(v)-u;return m<<12|v}})(Ra);var Va={};const nr=de,Fa=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,K_=1<<14|1<<12|1<<10|1<<4|1<<1,_i=nr.getBCHDigit(Fa);Va.getEncodedBits=function(t,n){const r=t.bit<<3|n;let i=r<<10;for(;nr.getBCHDigit(i)-_i>=0;)i^=Fa<<nr.getBCHDigit(i)-_i;return(r<<10|i)^K_};var Ma={};const q_=Ve;function et(e){this.mode=q_.NUMERIC,this.data=e.toString()}et.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};et.prototype.getLength=function(){return this.data.length};et.prototype.getBitsLength=function(){return et.getBitsLength(this.data.length)};et.prototype.write=function(t){let n,r,i;for(n=0;n+3<=this.data.length;n+=3)r=this.data.substr(n,3),i=parseInt(r,10),t.put(i,10);const a=this.data.length-n;a>0&&(r=this.data.substr(n),i=parseInt(r,10),t.put(i,a*3+1))};var J_=et;const Z_=Ve,$n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function tt(e){this.mode=Z_.ALPHANUMERIC,this.data=e}tt.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};tt.prototype.getLength=function(){return this.data.length};tt.prototype.getBitsLength=function(){return tt.getBitsLength(this.data.length)};tt.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let r=$n.indexOf(this.data[n])*45;r+=$n.indexOf(this.data[n+1]),t.put(r,11)}this.data.length%2&&t.put($n.indexOf(this.data[n]),6)};var Q_=tt,X_=function(t){for(var n=[],r=t.length,i=0;i<r;i++){var a=t.charCodeAt(i);if(a>=55296&&a<=56319&&r>i+1){var s=t.charCodeAt(i+1);s>=56320&&s<=57343&&(a=(a-55296)*1024+s-56320+65536,i+=1)}if(a<128){n.push(a);continue}if(a<2048){n.push(a>>6|192),n.push(a&63|128);continue}if(a<55296||a>=57344&&a<65536){n.push(a>>12|224),n.push(a>>6&63|128),n.push(a&63|128);continue}if(a>=65536&&a<=1114111){n.push(a>>18|240),n.push(a>>12&63|128),n.push(a>>6&63|128),n.push(a&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const eb=X_,tb=Ve;function nt(e){this.mode=tb.BYTE,this.data=new Uint8Array(eb(e))}nt.getBitsLength=function(t){return t*8};nt.prototype.getLength=function(){return this.data.length};nt.prototype.getBitsLength=function(){return nt.getBitsLength(this.data.length)};nt.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var nb=nt;const rb=Ve,ob=de;function rt(e){this.mode=rb.KANJI,this.data=e}rt.getBitsLength=function(t){return t*13};rt.prototype.getLength=function(){return this.data.length};rt.prototype.getBitsLength=function(){return rt.getBitsLength(this.data.length)};rt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=ob.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
33
+ Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var ib=rt,Da={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,r,i){var a={},s={};s[r]=0;var u=t.PriorityQueue.make();u.push(r,0);for(var c,l,d,p,f,m,v,y,w;!u.empty();){c=u.pop(),l=c.value,p=c.cost,f=n[l]||{};for(d in f)f.hasOwnProperty(d)&&(m=f[d],v=p+m,y=s[d],w=typeof s[d]=="undefined",(w||y>v)&&(s[d]=v,u.push(d,v),a[d]=l))}if(typeof i!="undefined"&&typeof s[i]=="undefined"){var S=["Could not find a path from ",r," to ",i,"."].join("");throw new Error(S)}return a},extract_shortest_path_from_predecessor_list:function(n,r){for(var i=[],a=r;a;)i.push(a),n[a],a=n[a];return i.reverse(),i},find_path:function(n,r,i){var a=t.single_source_shortest_paths(n,r,i);return t.extract_shortest_path_from_predecessor_list(a,i)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,i={},a;n=n||{};for(a in r)r.hasOwnProperty(a)&&(i[a]=r[a]);return i.queue=[],i.sorter=n.sorter||r.default_sorter,i},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var i={value:n,cost:r};this.queue.push(i),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Da);(function(e){const t=Ve,n=J_,r=Q_,i=nb,a=ib,s=Ne,u=de,c=Da.exports;function l(S){return unescape(encodeURIComponent(S)).length}function d(S,g,h){const _=[];let b;for(;(b=S.exec(h))!==null;)_.push({data:b[0],index:b.index,mode:g,length:b[0].length});return _}function p(S){const g=d(s.NUMERIC,t.NUMERIC,S),h=d(s.ALPHANUMERIC,t.ALPHANUMERIC,S);let _,b;return u.isKanjiModeEnabled()?(_=d(s.BYTE,t.BYTE,S),b=d(s.KANJI,t.KANJI,S)):(_=d(s.BYTE_KANJI,t.BYTE,S),b=[]),g.concat(h,_,b).sort(function(A,N){return A.index-N.index}).map(function(A){return{data:A.data,mode:A.mode,length:A.length}})}function f(S,g){switch(g){case t.NUMERIC:return n.getBitsLength(S);case t.ALPHANUMERIC:return r.getBitsLength(S);case t.KANJI:return a.getBitsLength(S);case t.BYTE:return i.getBitsLength(S)}}function m(S){return S.reduce(function(g,h){const _=g.length-1>=0?g[g.length-1]:null;return _&&_.mode===h.mode?(g[g.length-1].data+=h.data,g):(g.push(h),g)},[])}function v(S){const g=[];for(let h=0;h<S.length;h++){const _=S[h];switch(_.mode){case t.NUMERIC:g.push([_,{data:_.data,mode:t.ALPHANUMERIC,length:_.length},{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.ALPHANUMERIC:g.push([_,{data:_.data,mode:t.BYTE,length:_.length}]);break;case t.KANJI:g.push([_,{data:_.data,mode:t.BYTE,length:l(_.data)}]);break;case t.BYTE:g.push([{data:_.data,mode:t.BYTE,length:l(_.data)}])}}return g}function y(S,g){const h={},_={start:{}};let b=["start"];for(let C=0;C<S.length;C++){const A=S[C],N=[];for(let k=0;k<A.length;k++){const T=A[k],$=""+C+k;N.push($),h[$]={node:T,lastCount:0},_[$]={};for(let U=0;U<b.length;U++){const O=b[U];h[O]&&h[O].node.mode===T.mode?(_[O][$]=f(h[O].lastCount+T.length,T.mode)-f(h[O].lastCount,T.mode),h[O].lastCount+=T.length):(h[O]&&(h[O].lastCount=T.length),_[O][$]=f(T.length,T.mode)+4+t.getCharCountIndicator(T.mode,g))}}b=N}for(let C=0;C<b.length;C++)_[b[C]].end=0;return{map:_,table:h}}function w(S,g){let h;const _=t.getBestModeForData(S);if(h=t.from(g,_),h!==t.BYTE&&h.bit<_.bit)throw new Error('"'+S+'" cannot be encoded with mode '+t.toString(h)+`.
34
+ Suggested mode is: `+t.toString(_));switch(h===t.KANJI&&!u.isKanjiModeEnabled()&&(h=t.BYTE),h){case t.NUMERIC:return new n(S);case t.ALPHANUMERIC:return new r(S);case t.KANJI:return new a(S);case t.BYTE:return new i(S)}}e.fromArray=function(g){return g.reduce(function(h,_){return typeof _=="string"?h.push(w(_,null)):_.data&&h.push(w(_.data,_.mode)),h},[])},e.fromString=function(g,h){const _=p(g,u.isKanjiModeEnabled()),b=v(_),C=y(b,h),A=c.find_path(C.map,"start","end"),N=[];for(let k=1;k<A.length-1;k++)N.push(C.table[A[k]].node);return e.fromArray(m(N))},e.rawSplit=function(g){return e.fromArray(p(g,u.isKanjiModeEnabled()))}})(Ma);const Cn=de,On=Sn,ab=M_,sb=D_,ub=ka,cb=xa,rr=$a,or=_n,lb=z_,nn=Ra,db=Va,fb=Ve,Un=Ma;function pb(e,t){const n=e.size,r=cb.getPositions(t);for(let i=0;i<r.length;i++){const a=r[i][0],s=r[i][1];for(let u=-1;u<=7;u++)if(!(a+u<=-1||n<=a+u))for(let c=-1;c<=7;c++)s+c<=-1||n<=s+c||(u>=0&&u<=6&&(c===0||c===6)||c>=0&&c<=6&&(u===0||u===6)||u>=2&&u<=4&&c>=2&&c<=4?e.set(a+u,s+c,!0,!0):e.set(a+u,s+c,!1,!0))}}function mb(e){const t=e.size;for(let n=8;n<t-8;n++){const r=n%2===0;e.set(n,6,r,!0),e.set(6,n,r,!0)}}function hb(e,t){const n=ub.getPositions(t);for(let r=0;r<n.length;r++){const i=n[r][0],a=n[r][1];for(let s=-2;s<=2;s++)for(let u=-2;u<=2;u++)s===-2||s===2||u===-2||u===2||s===0&&u===0?e.set(i+s,a+u,!0,!0):e.set(i+s,a+u,!1,!0)}}function gb(e,t){const n=e.size,r=nn.getEncodedBits(t);let i,a,s;for(let u=0;u<18;u++)i=Math.floor(u/3),a=u%3+n-8-3,s=(r>>u&1)===1,e.set(i,a,s,!0),e.set(a,i,s,!0)}function Rn(e,t,n){const r=e.size,i=db.getEncodedBits(t,n);let a,s;for(a=0;a<15;a++)s=(i>>a&1)===1,a<6?e.set(a,8,s,!0):a<8?e.set(a+1,8,s,!0):e.set(r-15+a,8,s,!0),a<8?e.set(8,r-a-1,s,!0):a<9?e.set(8,15-a-1+1,s,!0):e.set(8,15-a-1,s,!0);e.set(r-8,8,1,!0)}function vb(e,t){const n=e.size;let r=-1,i=n-1,a=7,s=0;for(let u=n-1;u>0;u-=2)for(u===6&&u--;;){for(let c=0;c<2;c++)if(!e.isReserved(i,u-c)){let l=!1;s<t.length&&(l=(t[s]>>>a&1)===1),e.set(i,u-c,l),a--,a===-1&&(s++,a=7)}if(i+=r,i<0||n<=i){i-=r,r=-r;break}}}function yb(e,t,n){const r=new ab;n.forEach(function(c){r.put(c.mode.bit,4),r.put(c.getLength(),fb.getCharCountIndicator(c.mode,e)),c.write(r)});const i=Cn.getSymbolTotalCodewords(e),a=or.getTotalCodewordsCount(e,t),s=(i-a)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const u=(s-r.getLengthInBits())/8;for(let c=0;c<u;c++)r.put(c%2?17:236,8);return wb(r,e,t)}function wb(e,t,n){const r=Cn.getSymbolTotalCodewords(t),i=or.getTotalCodewordsCount(t,n),a=r-i,s=or.getBlocksCount(t,n),u=r%s,c=s-u,l=Math.floor(r/s),d=Math.floor(a/s),p=d+1,f=l-d,m=new lb(f);let v=0;const y=new Array(s),w=new Array(s);let S=0;const g=new Uint8Array(e.buffer);for(let A=0;A<s;A++){const N=A<c?d:p;y[A]=g.slice(v,v+N),w[A]=m.encode(y[A]),v+=N,S=Math.max(S,N)}const h=new Uint8Array(r);let _=0,b,C;for(b=0;b<S;b++)for(C=0;C<s;C++)b<y[C].length&&(h[_++]=y[C][b]);for(b=0;b<f;b++)for(C=0;C<s;C++)h[_++]=w[C][b];return h}function Sb(e,t,n,r){let i;if(Array.isArray(e))i=Un.fromArray(e);else if(typeof e=="string"){let l=t;if(!l){const d=Un.rawSplit(e);l=nn.getBestVersionForData(d,n)}i=Un.fromString(e,l||40)}else throw new Error("Invalid data");const a=nn.getBestVersionForData(i,n);if(!a)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=a;else if(t<a)throw new Error(`
35
35
  The chosen QR Code version cannot contain this amount of data.
36
36
  Minimum version required to store current data is: `+a+`.
37
- `);const s=o2(t,n,i),u=ir.getSymbolSize(t),c=new Y0(u);return Q0(c,t),e2(c),t2(c,t),wr(c,n,0),t>=7&&n2(c,t),r2(c,s),isNaN(r)&&(r=jr.getBestMask(c,wr.bind(null,c,n))),jr.applyMask(r,c),wr(c,n,r),{modules:c,version:t,errorCorrectionLevel:n,maskPattern:r,segments:i}}ys.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let r=vr.M,i,a;return typeof n!="undefined"&&(r=vr.from(n.errorCorrectionLevel,vr.M),i=Fn.from(n.version),a=jr.from(n.maskPattern),n.toSJISFunc&&ir.setToSJISFunction(n.toSJISFunc)),a2(t,i,r,a)};var ks={},Mo={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(a){return[a,a]}))),r.length===6&&r.push("F","F");const i=parseInt(r.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const i=typeof r.margin=="undefined"||r.margin===null||r.margin<0?4:r.margin,a=r.width&&r.width>=21?r.width:void 0,s=r.scale||4;return{width:a,scale:a?4:s,margin:i,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,i){return i.width&&i.width>=r+i.margin*2?i.width/(r+i.margin*2):i.scale},e.getImageWidth=function(r,i){const a=e.getScale(r,i);return Math.floor((r+i.margin*2)*a)},e.qrToImageData=function(r,i,a){const s=i.modules.size,u=i.modules.data,c=e.getScale(s,a),l=Math.floor((s+a.margin*2)*c),d=a.margin*c,m=[a.color.light,a.color.dark];for(let f=0;f<l;f++)for(let h=0;h<l;h++){let p=(f*l+h)*4,w=a.color.light;if(f>=d&&h>=d&&f<l-d&&h<l-d){const _=Math.floor((f-d)/c),S=Math.floor((h-d)/c);w=m[u[_*s+S]?1:0]}r[p++]=w.r,r[p++]=w.g,r[p++]=w.b,r[p]=w.a}}})(Mo);(function(e){const t=Mo;function n(i,a,s){i.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=s,a.width=s,a.style.height=s+"px",a.style.width=s+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(a,s,u){let c=u,l=s;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(l=r()),c=t.getOptions(c);const d=t.getImageWidth(a.modules.size,c),m=l.getContext("2d"),f=m.createImageData(d,d);return t.qrToImageData(f.data,a,c),n(m,l,d),m.putImageData(f,0,0),l},e.renderToDataURL=function(a,s,u){let c=u;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const l=e.render(a,s,c),d=c.type||"image/png",m=c.rendererOpts||{};return l.toDataURL(d,m.quality)}})(ks);var xs={};const s2=Mo;function oa(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function Sr(e,t,n){let r=e+t;return typeof n!="undefined"&&(r+=" "+n),r}function u2(e,t,n){let r="",i=0,a=!1,s=0;for(let u=0;u<e.length;u++){const c=Math.floor(u%t),l=Math.floor(u/t);!c&&!a&&(a=!0),e[u]?(s++,u>0&&c>0&&e[u-1]||(r+=a?Sr("M",c+n,.5+l+n):Sr("m",i,0),i=0,a=!1),c+1<t&&e[u+1]||(r+=Sr("h",s),s=0)):i++}return r}xs.render=function(t,n,r){const i=s2.getOptions(n),a=t.modules.size,s=t.modules.data,u=a+i.margin*2,c=i.color.light.a?"<path "+oa(i.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",l="<path "+oa(i.color.dark,"stroke")+' d="'+u2(s,a,i.margin)+'"/>',d='viewBox="0 0 '+u+" "+u+'"',m=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+m+d+' shape-rendering="crispEdges">'+c+l+`</svg>
38
- `;return typeof r=="function"&&r(null,f),f};const c2=C0,Gr=ys,Os=ks,l2=xs;function Lo(e,t,n,r,i){const a=[].slice.call(arguments,1),s=a.length,u=typeof a[s-1]=="function";if(!u&&!c2())throw new Error("Callback required as last argument");if(u){if(s<2)throw new Error("Too few arguments provided");s===2?(i=n,n=t,t=r=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=r,r=void 0):(i=r,r=n,n=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(n=t,t=r=void 0):s===2&&!t.getContext&&(r=n,n=t,t=void 0),new Promise(function(c,l){try{const d=Gr.create(n,r);c(e(d,t,r))}catch(d){l(d)}})}try{const c=Gr.create(n,r);i(null,e(c,t,r))}catch(c){i(c)}}nn.create=Gr.create;nn.toCanvas=Lo.bind(null,Os.render);nn.toDataURL=Lo.bind(null,Os.renderToDataURL);nn.toString=Lo.bind(null,function(e,t,n){return l2.render(e,n)});const d2={key:0},f2=["src"],p2={"data-amplify-copy-tooltip":""},m2=o.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"})],-1),h2=o.defineComponent({__name:"setup-totp",emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var U,T;const r=Oe($e)(),i=o.useAttrs(),{state:a,send:s}=Ue(),{value:{context:u}}=a,c=(T=(U=u==null?void 0:u.config)==null?void 0:U.formFields)==null?void 0:T.setupTOTP,l=c==null?void 0:c.QR,d=o.computed(()=>Ae(a.value));let m=o.reactive({qrCodeImageSource:"",isLoading:!0}),f=o.ref("");const{getCopyText:h,getCopiedText:p,getBackToSignInText:w,getConfirmText:_}=xe;let S=o.ref(h());function v(){navigator.clipboard.writeText(f.value),S.value=p()}o.onMounted(async()=>{var D,L;const k=new le.Logger("SetupTOTP-logger"),{user:M}=d.value.context;if(!!M)try{f.value=await le.Auth.setupTOTP(M);const j=(D=l==null?void 0:l.totpIssuer)!=null?D:"AWSCognito",fe=(L=l==null?void 0:l.totpUsername)!=null?L:M.username,ve=encodeURI(`otpauth://totp/${j}:${fe}?secret=${f.value}&issuer=${j}`);m.qrCodeImageSource=await nn.toDataURL(ve)}catch(j){k.error(j)}finally{m.isLoading=!1}});const g=o.computed(()=>w()),b=o.computed(()=>_()),C=k=>{const{name:M,value:D}=k.target;s({type:"CHANGE",data:{name:M,value:D}})},A=k=>{i!=null&&i.onConfirmSetupTOTPSubmit?t("confirmSetupTOTPSubmit",k):I(k)},I=k=>{r.submitForm(ze(k))},P=()=>{i!=null&&i.onBackToSignInClicked?t("backToSignInClicked"):s({type:"SIGN_IN"})};return(k,M)=>{const D=rt,L=_e,j=Ge,fe=Ie,ve=We,Te=Me,be=He;return o.renderSlot(k.$slots,"confirmSetupTOTPI",o.normalizeProps(o.guardReactiveProps(k.$attrs)),()=>[o.createVNode(L,o.normalizeProps(o.guardReactiveProps(k.$attrs)),{default:o.withCtx(()=>[o.createVNode(be,{"data-amplify-authenticator-setup-totp":"",onInput:C,onSubmit:o.withModifiers(A,["prevent"])},{default:o.withCtx(()=>[o.createVNode(Te,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(d).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.unref(m).isLoading?(o.openBlock(),o.createElementBlock("p",d2,"Loading...")):(o.openBlock(),o.createBlock(L,{key:1,class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(k.$slots,"header",{},()=>[o.createVNode(D,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(" Setup TOTP ")]),_:1})]),o.createVNode(L,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createElementVNode("img",{class:"amplify-image","data-amplify-qrcode":"",src:o.unref(m).qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,f2),o.createVNode(L,{class:"amplify-flex","data-amplify-copy":""},{default:o.withCtx(()=>[o.createElementVNode("div",null,o.toDisplayString(o.unref(f)),1),o.createVNode(L,{"data-amplify-copy-svg":"",onClick:v},{default:o.withCtx(()=>[o.createElementVNode("div",p2,o.toDisplayString(o.unref(S)),1),m2]),_:1})]),_:1}),o.createVNode(Ye,{route:"setupTOTP"})]),_:1}),o.createVNode(ve,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var qe;return[(qe=o.unref(d).context)!=null&&qe.remoteError?(o.openBlock(),o.createBlock(j,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(d).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(fe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:o.unref(d).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(b)),1)]),_:1},8,["disabled"]),o.createVNode(fe,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(P,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(g)),1)]),_:1},8,["onClick"]),o.renderSlot(k.$slots,"footer",{onBackToSignInClicked:P,onSetupTOTPSubmit:A})]}),_:3})]),_:3}))]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),jo=o.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Ye,{route:"forceNewPassword"}))}}),zo=o.defineComponent({__name:"force-new-password",emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=Ue(),s=Oe($e)(),u=o.computed(()=>Ae(r.value)),{getChangePasswordText:c,getChangingText:l,getBackToSignInText:d}=xe,m=o.computed(()=>c()),f=o.computed(()=>l()),h=o.computed(()=>d()),p=()=>{n!=null&&n.onHaveAccountClicked?t("haveAccountClicked"):i({type:"SIGN_IN"})},w=g=>{n!=null&&n.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",g):_(g)},_=g=>{s.submitForm(ze(g))},S=g=>{const{name:b,value:C}=g.target;i({type:"CHANGE",data:{name:b,value:C}})};function v(g){const{name:b}=g.target;s.updateBlur({name:b})}return(g,b)=>{const C=rt,A=_e,I=Ge,P=Ie,U=We,T=Me,k=He;return o.renderSlot(g.$slots,"forceNewPasswordI",o.normalizeProps(o.guardReactiveProps(g.$attrs)),()=>[o.createVNode(A,o.normalizeProps(o.guardReactiveProps(g.$attrs)),{default:o.withCtx(()=>[o.createVNode(k,{"data-amplify-authenticator-forcenewpassword":"",onInput:S,onBlurCapture:v,onSubmit:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("forceNewPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(g.$slots,"header",{},()=>[o.createVNode(C,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1})]),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(g.$slots,"force-new-password-form-fields",{},()=>[o.createVNode(jo)])]),_:3}),o.createVNode(U,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(u).context.remoteError?(o.openBlock(),o.createBlock(I,{key:0,"data-ui-error":""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(u).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:o.unref(u).matches("signUp.submit")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(u).matches("forceNewPassword.pending")?o.unref(f)+"\u2026":o.unref(m)),1)]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(p,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1},8,["onClick"]),o.renderSlot(g.$slots,"footer",{onHaveAccountClicked:p,onForceNewPasswordSubmit:w})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Go=o.defineComponent({__name:"reset-password",emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=Oe($e),{send:i,submitForm:a}=r(),{error:s,isPending:u}=o.toRefs(r()),{getBackToSignInText:c,getResetYourPasswordText:l,getSendCodeText:d}=xe,m=o.computed(()=>c()),f=o.computed(()=>l()),h=o.computed(()=>d()),p=v=>{n!=null&&n.onResetPasswordSubmit?t("resetPasswordSubmit",v):w(v)},w=v=>{a(ze(v))},_=v=>{const{name:g,value:b}=v.target;i({type:"CHANGE",data:{name:g,value:b}})},S=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(v,g)=>{const b=rt,C=Me,A=Ge,I=Ie,P=We,U=_e,T=He;return o.renderSlot(v.$slots,"resetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(v.$attrs)),()=>[o.createVNode(T,o.mergeProps(v.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:_,onSubmit:o.withModifiers(p,["prevent"])}),{default:o.withCtx(()=>[o.createVNode(U,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(v.$slots,"header",{},()=>[o.createVNode(b,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u)},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"resetPassword"})]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(s)?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(F)(o.unref(s))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1},8,["disabled"]),o.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(S,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["onClick"]),o.renderSlot(v.$slots,"footer",{onBackToSignInClicked:S,onResetPasswordSubmit:p})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),Ho=o.defineComponent({__name:"confirm-reset-password",emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const{state:n,send:r}=Ue(),a=Oe($e)(),s=o.useAttrs(),u=o.computed(()=>Ae(n.value)),{getResendCodeText:c,getResetYourPasswordText:l,getSubmitText:d}=xe,m=o.computed(()=>c()),f=o.computed(()=>l()),h=o.computed(()=>d()),p=g=>{s!=null&&s.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",g):w(g)},w=g=>{a.submitForm(ze(g))},_=()=>{r({type:"RESEND"})},S=g=>{const{name:b,value:C}=g.target;r({type:"CHANGE",data:{name:b,value:C}})};function v(g){const{name:b}=g.target;a.updateBlur({name:b})}return(g,b)=>{const C=rt,A=_e,I=Ge,P=Ie,U=We,T=Me,k=He;return o.renderSlot(g.$slots,"confirmResetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(g.$attrs)),()=>[o.createVNode(A,o.normalizeProps(o.guardReactiveProps(g.$attrs)),{default:o.withCtx(()=>[o.createVNode(k,{"data-amplify-authenticator-confirmResetpassword":"",onInput:S,onBlurCapture:v,onSubmit:o.withModifiers(p,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmResetPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(g.$slots,"header",{},()=>[o.createVNode(C,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(A,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"confirmResetPassword"})]),_:1}),o.createVNode(U,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var M,D;return[(D=(M=o.unref(u))==null?void 0:M.context)!=null&&D.remoteError?(o.openBlock(),o.createBlock(I,{key:0},{default:o.withCtx(()=>{var L,j;return[o.createTextVNode(o.toDisplayString(o.unref(F)((j=(L=o.unref(u))==null?void 0:L.context)==null?void 0:j.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",variation:"primary",fullwidth:!1,type:"submit",disabled:o.unref(u).matches("confirmResetPassword.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1},8,["disabled"]),o.createVNode(P,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:o.withModifiers(_,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["onClick"]),o.renderSlot(g.$slots,"footer",{onConfirmResetPasswordSubmit:p,onLostYourCodeClicked:_})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Wo=o.defineComponent({__name:"verify-user",emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=Oe($e)(),i=o.useAttrs(),{state:a,send:s}=Ue(),u=o.computed(()=>Ae(a.value)),{unverifiedContactMethods:c}=u.value.context,{getAccountRecoveryInfoText:l,getSkipText:d,getVerifyText:m,getVerifyContactText:f}=xe,h=o.computed(()=>l()),p=o.computed(()=>d()),w=o.computed(()=>m()),_=o.computed(()=>f()),S=C=>{const{name:A,value:I}=C.target;s({type:"CHANGE",data:{name:A,value:I}})},v=C=>{i!=null&&i.onVerifyUserSubmit?t("verifyUserSubmit",C):g(C)},g=C=>{r.submitForm(ze(C))},b=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s("SKIP")};return(C,A)=>{const I=rt,P=er,U=tr,T=vs,k=_e,M=Ge,D=Ie,L=We,j=Me,fe=He;return o.renderSlot(C.$slots,"verifyUserSlotI",{},()=>[o.createVNode(k,null,{default:o.withCtx(()=>[o.createVNode(fe,{onInput:S,onSubmit:o.withModifiers(v,["prevent"])},{default:o.withCtx(()=>[o.createVNode(j,{disabled:o.unref(u).matches("verifyUser.pending"),class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(C.$slots,"header",{},()=>[o.createVNode(I,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1})]),o.createVNode(k,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(P,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(_)),1)]),_:1}),o.createVNode(k,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column","aria-labelledby":"amplify-field-493c"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(c),(ve,Te)=>(o.openBlock(),o.createBlock(P,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:ve},{default:o.withCtx(()=>[o.createVNode(U,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",id:"verify",name:"unverifiedAttr",type:"radio",value:Te},null,8,["value"]),o.createVNode(T,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),o.createVNode(T,{class:"amplify-text amplify-radio__label"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(qr)[Te].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),o.createVNode(L,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var ve,Te;return[(Te=(ve=o.unref(u))==null?void 0:ve.context)!=null&&Te.remoteError?(o.openBlock(),o.createBlock(M,{key:0},{default:o.withCtx(()=>{var be;return[o.createTextVNode(o.toDisplayString(o.unref(F)((be=o.unref(u))==null?void 0:be.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(D,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u).matches("verifyUser.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(w)),1)]),_:1},8,["disabled"]),o.createVNode(D,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(b,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1},8,["onClick"]),o.renderSlot(C.$slots,"footer",{onSkipClicked:b,onVerifyUserSubmit:v})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),Yo=o.defineComponent({__name:"confirm-verify-user",emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=Oe($e)(),i=o.useAttrs(),{state:a,send:s}=Ue(),u=o.computed(()=>Ae(a.value)),{getAccountRecoveryInfoText:c,getSkipText:l,getSubmitText:d}=xe,m=o.computed(()=>c()),f=o.computed(()=>l()),h=o.computed(()=>d()),p=v=>{const{name:g,value:b}=v.target;s({type:"CHANGE",data:{name:g,value:b}})},w=v=>{i!=null&&i.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",v):_(v)},_=v=>{r.submitForm(ze(v))},S=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s({type:"SKIP"})};return(v,g)=>{const b=rt,C=_e,A=Ge,I=Ie,P=We,U=Me,T=He;return o.renderSlot(v.$slots,"confirmVerifyUserSlotI",o.normalizeProps(o.guardReactiveProps(v.$attrs)),()=>[o.createVNode(C,o.normalizeProps(o.guardReactiveProps(v.$attrs)),{default:o.withCtx(()=>[o.createVNode(T,{onInput:p,onSubmit:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createVNode(U,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmVerifyUser.pending")},{default:o.withCtx(()=>[o.renderSlot(v.$slots,"header",{},()=>[o.createVNode(b,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Ye,{route:"confirmVerifyUser"})]),_:1}),o.createVNode(P,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var k,M;return[(M=(k=o.unref(u))==null?void 0:k.context)!=null&&M.remoteError?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>{var D;return[o.createTextVNode(o.toDisplayString(o.unref(F)((D=o.unref(u))==null?void 0:D.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u).matches("confirmVerifyUser.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(h)),1)]),_:1},8,["disabled"]),o.createVNode(I,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(S,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1},8,["onClick"]),o.renderSlot(v.$slots,"footer",{onSkipClicked:S,onConfirmVerifyUserSubmit:w})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),g2="3.1.5",v2=["data-variation"],y2={"data-amplify-container":""},w2=["data-amplify-router-content"],S2={key:1,"data-amplify-router-content":""},Us=o.defineComponent({__name:"authenticator",props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},emits:["signInSubmit","confirmSignUpSubmit","resetPasswordSubmit","confirmResetPasswordSubmit","confirmSignInSubmit","mSetupTOTPSubmit","forceNewPasswordSubmit","signUpSubmit","verifyUserSubmit","confirmVerifyUserSubmit"],setup(e,{emit:t}){const n=e,r=o.useAttrs(),{initialState:i,loginMechanisms:a,variation:s,services:u,signUpAttributes:c,socialProviders:l,hideSignUp:d,formFields:m}=o.toRefs(n),f=$C(),h=MC(f);let p,w;const{state:_,send:S}=ms(h);Ue(h);const v=o.ref(!1);w=h.subscribe($=>{$.matches("setup")&&!v.value&&(S({type:"INIT",data:{initialState:i==null?void 0:i.value,loginMechanisms:a==null?void 0:a.value,socialProviders:l==null?void 0:l.value,signUpAttributes:c==null?void 0:c.value,services:u==null?void 0:u.value,formFields:m==null?void 0:m.value}}),v.value=!0)}).unsubscribe,o.onMounted(()=>{p=Ll(h),Vl({packageName:"@aws-amplify/ui-vue",version:g2})}),o.onUnmounted(()=>{p&&p(),w&&w()});const g=o.computed(()=>Ae(_.value)),b=o.ref(),C=o.ref(),A=o.ref(),I=o.ref(),P=o.ref(),U=o.ref(),T=o.ref(),k=o.ref(),M=o.ref(),D=o.ref(),{getSignInTabText:L,getSignUpTabText:j}=xe,fe=o.computed(()=>L()),ve=o.computed(()=>j()),Te=$=>{var y;r!=null&&r.onSignInSubmit?t("signInSubmit",$):(y=b.value)==null||y.submit($)},be=$=>{r!=null&&r.onConfirmSignUpSubmit?t("confirmSignUpSubmit",$):A.value.submit($)},qe=$=>{r!=null&&r.onResetPasswordSubmit?t("resetPasswordSubmit",$):T.value.submit($)},Ce=$=>{r!=null&&r.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",$):k.value.submit($)},Ut=$=>{r!=null&&r.onConfirmSignInSubmit?t("confirmSignInSubmit",$):I.value.submit($)},Rt=$=>{r!=null&&r.onForceNewPasswordSubmit?t("mSetupTOTPSubmit",$):P.value.submit($)},pe=$=>{r!=null&&r.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",$):U.value.submit($)},De=$=>{r!=null&&r.onSignUpSubmit?t("signUpSubmit",$):C.value.submit()},ar=$=>{r!=null&&r.onVerifyUserSubmit?t("verifyUserSubmit",$):M.value.submit($)},sr=$=>{r!=null&&r.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",$):D.value.submit($)},on=o.ref(null),an=o.ref();o.watch(()=>_.value.context,()=>{const{user:$,signOut:y}=ma({send:S,state:_.value});on.value=$,an.value=y});const Ft=o.computed(()=>{var $,y;return(($=g.value)==null?void 0:$.matches("signIn"))||((y=g.value)==null?void 0:y.matches("signUp"))}),ur=o.computed(()=>{var $;return!(_.value.matches("authenticated")||_.value.matches("idle")||_.value.matches("setup")||_.value.matches("signOut")||(($=g.value)==null?void 0:$.matches("autoSignIn")))});return($,y)=>{var O,B,V,H,z,ee,ie,Ee,lt,it,Xe;const N=v0,R=S0;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.unref(ur)?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0},$.$attrs,{"data-amplify-authenticator":"","data-variation":o.unref(s)}),[o.createElementVNode("div",y2,[o.renderSlot($.$slots,"header"),o.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":o.unref(Ft)?void 0:""},[o.unref(Ft)&&!o.unref(d)?(o.openBlock(),o.createBlock(R,{key:0},{default:o.withCtx(()=>{var ae,ce;return[o.createVNode(N,{active:(ae=o.unref(g))==null?void 0:ae.matches("signIn"),id:44472,label:o.unref(fe),onClick:y[0]||(y[0]=Bt=>o.unref(S)("SIGN_IN"))},null,8,["active","label"]),o.createVNode(N,{active:(ce=o.unref(g))==null?void 0:ce.matches("signUp"),id:44471,label:o.unref(ve),onClick:y[1]||(y[1]=Bt=>o.unref(S)("SIGN_UP"))},null,8,["active","label"])]}),_:1})):o.createCommentVNode("",!0),o.unref(Ft)?(o.openBlock(),o.createElementBlock("div",S2,[(O=o.unref(g))!=null&&O.matches("signIn")?(o.openBlock(),o.createBlock(xo,{key:0,onSignInSubmit:Te,ref_key:"signInComponent",ref:b},{signInSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"sign-in")]),form:o.withCtx(({info:ae,onSignInSubmit:ce,onForgotPasswordClicked:Bt,onInput:Ds})=>[o.renderSlot($.$slots,"sign-in-form",{info:ae,onInput:Ds,onSignInSubmit:ce,onForgotPasswordClicked:Bt})]),header:o.withCtx(()=>[o.renderSlot($.$slots,"sign-in-header")]),footer:o.withCtx(()=>[o.renderSlot($.$slots,"sign-in-footer")]),_:3},512)):o.createCommentVNode("",!0),((B=o.unref(g))==null?void 0:B.matches("signUp"))&&!o.unref(d)?(o.openBlock(),o.createBlock(Uo,{key:1,onSignUpSubmit:De,ref_key:"signUpComponent",ref:C},{signUpSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"sign-up")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"sign-up-header")]),"signup-fields":o.withCtx(({info:ae})=>[o.renderSlot($.$slots,"sign-up-fields",{info:ae})]),footer:o.withCtx(()=>[o.renderSlot($.$slots,"sign-up-footer")]),_:3},512)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),(V=o.unref(g))!=null&&V.matches("confirmSignUp")?(o.openBlock(),o.createBlock(Ro,{key:2,onConfirmSignUpSubmit:be,ref_key:"confirmSignUpComponent",ref:A},{confirmSignUpSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-up")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-up-header")]),footer:o.withCtx(({onConfirmSignUpSubmit:ae,onLostCodeClicked:ce})=>[o.renderSlot($.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:ae,onLostCodeClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(H=o.unref(g))!=null&&H.matches("resetPassword")?(o.openBlock(),o.createBlock(Go,{key:3,onResetPasswordSubmit:qe,ref_key:"resetPasswordComponent",ref:T},{resetPasswordSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"reset-password")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"reset-password-header")]),footer:o.withCtx(({onResetPasswordSubmit:ae,onBackToSignInClicked:ce})=>[o.renderSlot($.$slots,"reset-password-footer",{onResetPasswordSubmit:ae,onBackToSignInClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(z=o.unref(g))!=null&&z.matches("confirmResetPassword")?(o.openBlock(),o.createBlock(Ho,{key:4,onConfirmResetPasswordSubmit:Ce,ref_key:"confirmResetPasswordComponent",ref:k},{confirmResetPasswordSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-reset-password")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-reset-password-header")]),footer:o.withCtx(({onConfirmResetPasswordSubmit:ae,onLostYourCodeClicked:ce})=>[o.renderSlot($.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:ae,onLostYourCodeClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(ee=o.unref(g))!=null&&ee.matches("confirmSignIn")?(o.openBlock(),o.createBlock(Fo,{key:5,onConfirmSignInSubmit:Ut,ref_key:"confirmSignInComponent",ref:I},{confirmSignInSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-in")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-sign-in-header")]),footer:o.withCtx(({onConfirmSignInSubmit:ae,onBackToSignInClicked:ce})=>[o.renderSlot($.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:ae,onBackToSignInClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(ie=o.unref(g))!=null&&ie.matches("setupTOTP")?(o.openBlock(),o.createBlock(h2,{key:6,onConfirmSetupTotpSubmit:Rt,ref_key:"confirmSetupTOTPComponent",ref:P},{confirmSetupTOTPI:o.withCtx(()=>[o.renderSlot($.$slots,"setup-totp")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"setup-totp-header")]),footer:o.withCtx(({onSetupTOTPSubmit:ae,onBackToSignInClicked:ce})=>[o.renderSlot($.$slots,"setup-totp-footer",{onSetupTOTPSubmit:ae,onBackToSignInClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(Ee=o.unref(g))!=null&&Ee.matches("forceNewPassword")?(o.openBlock(),o.createBlock(zo,{key:7,onForceNewPasswordSubmit:pe,ref_key:"forceNewPasswordComponent",ref:U},{forceNewPasswordI:o.withCtx(()=>[o.renderSlot($.$slots,"force-new-password")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"force-new-password-header")]),"force-new-password-form-fields":o.withCtx(()=>[o.renderSlot($.$slots,"force-new-password-form-fields")]),footer:o.withCtx(({onHaveAccountClicked:ae,onForceNewPasswordSubmit:ce})=>[o.renderSlot($.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:ce,onBackToSignInClicked:ae})]),_:3},512)):o.createCommentVNode("",!0),(lt=o.unref(g))!=null&&lt.matches("verifyUser")?(o.openBlock(),o.createBlock(Wo,{key:8,onVerifyUserSubmit:ar,ref_key:"verifyUserComponent",ref:M},{verifyUserSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"verify-user")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"verify-user-header")]),footer:o.withCtx(({onVerifyUserSubmit:ae,onSkipClicked:ce})=>[o.renderSlot($.$slots,"verify-user-footer",{onVerifyUserSubmit:ae,onSkipClicked:ce})]),_:3},512)):o.createCommentVNode("",!0),(it=o.unref(g))!=null&&it.matches("confirmVerifyUser")?(o.openBlock(),o.createBlock(Yo,{key:9,onConfirmVerifyUserSubmit:sr,ref_key:"confirmVerifyUserComponent",ref:D},{confirmVerifyUserSlotI:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-verify-user")]),header:o.withCtx(()=>[o.renderSlot($.$slots,"confirm-verify-user-header")]),footer:o.withCtx(({onConfirmVerifyUserSubmit:ae,onSkipClicked:ce})=>[o.renderSlot($.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:ae,onSkipClicked:ce})]),_:3},512)):o.createCommentVNode("",!0)],8,w2),o.renderSlot($.$slots,"footer")])],16,v2)):o.createCommentVNode("",!0),(Xe=o.unref(_))!=null&&Xe.matches("authenticated")?o.renderSlot($.$slots,"default",{key:1,user:on.value,state:o.unref(_),signOut:an.value,send:o.unref(S)}):o.createCommentVNode("",!0)],64)}}}),Rs=o.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),Fs=o.defineComponent({__name:"amplify-text-field",props:{label:{default:""},id:{default:""},autocomplete:{default:""},placeholder:{default:""},required:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},name:{default:""},type:{default:"text"},hideLabel:{type:Boolean,default:!0}},setup(e){const t=e,{label:n,id:r,autocomplete:i,placeholder:a,required:s,name:u,type:c}=o.toRefs(t);return(l,d)=>{const m=er,f=tr,h=_e;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(m,{class:o.normalizeClass(["amplify-label",{"amplify-visually-hidden":e.hideLabel}]),for:o.unref(r)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)),1)]),_:1},8,["class","for"]),o.createVNode(h,{class:"amplify-field-group__field-wrapper"},{default:o.withCtx(()=>[o.createVNode(f,{class:"amplify-input amplify-field-group__control",id:o.unref(r),"aria-invalid":"false",autocomplete:o.unref(i),placeholder:o.unref(a),required:o.unref(s),name:o.unref(u),disabled:e.disabled,type:o.unref(c)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),_2={class:"amplify-flex amplify-field amplify-checkboxfield"},b2={class:"amplify-flex amplify-checkbox"},C2={class:"amplify-visually-hidden"},A2=["data-error","data-checked"],T2=["data-checked"],I2=o.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),E2=[I2],P2=o.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),$2={key:0,class:"amplify-text amplify-field__error-message"},Bs=o.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=o.ref(!1),{errorMessage:r}=o.toRefs(t);return(i,a)=>(o.openBlock(),o.createElementBlock("div",_2,[o.createElementVNode("label",b2,[o.createElementVNode("span",C2,[o.createElementVNode("input",{onClick:a[0]||(a[0]=s=>n.value=!n.value),class:"amplify-input amplify-field-group__control amplify-checkbox__input","aria-invalid":"false",type:"checkbox",name:"acknowledgement",value:"yes"})]),o.createElementVNode("span",{class:o.normalizeClass(["amplify-flex amplify-checkbox__button",{"amplify-checkbox__button--error":!n.value}]),"aria-hidden":"true","data-focus":"false","data-error":!n.value,"data-checked":n.value},[(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:o.normalizeClass(["amplify-icon amplify-checkbox__icon",{"amplify-checkbox__icon--checked":n.value}]),viewBox:"0 0 24 24",fill:"currentColor","data-checked":n.value},E2,10,T2))],10,A2),P2]),n.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",$2,o.toDisplayString(o.unref(r)),1))]))}});var N2={install:e=>{e.component("SignIn",xo),e.component("SignUp",Uo),e.component("FederatedSignIn",Qn),e.component("Authenticator",Us),e.component("RenderInfo",Rs),e.component("PasswordControl",ko),e.component("ForceNewPassword",zo),e.component("ResetPassword",Go),e.component("ConfirmResetPassword",Ho),e.component("ConfirmSignUp",Ro),e.component("ConfirmSignIn",Fo),e.component("VerifyUser",Wo),e.component("ConfirmVerifyUser",Yo),e.component("AmplifyTextField",Fs),e.component("AmplifyCheckBox",Bs),e.component("AmplifyButton",Ie),e.component("BaseFormField",gs),e.component("BaseFormFields",Ye),e.component("AuthenticatorSignUpFormFields",Oo),e.component("AuthenticatorForceNewPasswordFormFields",jo)}};exports.AmplifyButton=Ie;exports.AmplifyCheckBox=Bs;exports.AmplifyTextField=Fs;exports.Authenticator=Us;exports.AuthenticatorForceNewPasswordFormFields=jo;exports.AuthenticatorSignUpFormFields=Oo;exports.ConfirmResetPassword=Ho;exports.ConfirmSignIn=Fo;exports.ConfirmSignUp=Ro;exports.ConfirmVerifyUser=Yo;exports.FederatedSignIn=Qn;exports.ForceNewPassword=zo;exports.PasswordControl=ko;exports.RenderInfo=Rs;exports.ResetPassword=Go;exports.SignIn=xo;exports.SignUp=Uo;exports.VerifyUser=Wo;exports.default=N2;exports.translations=Ol;exports.useAuthenticator=$e;
37
+ `);const s=yb(t,n,i),u=Cn.getSymbolSize(t),c=new sb(u);return pb(c,t),mb(c),hb(c,t),Rn(c,n,0),t>=7&&gb(c,t),vb(c,s),isNaN(r)&&(r=rr.getBestMask(c,Rn.bind(null,c,n))),rr.applyMask(r,c),Rn(c,n,r),{modules:c,version:t,errorCorrectionLevel:n,maskPattern:r,segments:i}}Pa.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let r=On.M,i,a;return typeof n!="undefined"&&(r=On.from(n.errorCorrectionLevel,On.M),i=nn.from(n.version),a=rr.from(n.maskPattern),n.toSJISFunc&&Cn.setToSJISFunction(n.toSJISFunc)),Sb(t,i,r,a)};var La={},qr={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(a){return[a,a]}))),r.length===6&&r.push("F","F");const i=parseInt(r.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:i&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const i=typeof r.margin=="undefined"||r.margin===null||r.margin<0?4:r.margin,a=r.width&&r.width>=21?r.width:void 0,s=r.scale||4;return{width:a,scale:a?4:s,margin:i,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,i){return i.width&&i.width>=r+i.margin*2?i.width/(r+i.margin*2):i.scale},e.getImageWidth=function(r,i){const a=e.getScale(r,i);return Math.floor((r+i.margin*2)*a)},e.qrToImageData=function(r,i,a){const s=i.modules.size,u=i.modules.data,c=e.getScale(s,a),l=Math.floor((s+a.margin*2)*c),d=a.margin*c,p=[a.color.light,a.color.dark];for(let f=0;f<l;f++)for(let m=0;m<l;m++){let v=(f*l+m)*4,y=a.color.light;if(f>=d&&m>=d&&f<l-d&&m<l-d){const w=Math.floor((f-d)/c),S=Math.floor((m-d)/c);y=p[u[w*s+S]?1:0]}r[v++]=y.r,r[v++]=y.g,r[v++]=y.b,r[v]=y.a}}})(qr);(function(e){const t=qr;function n(i,a,s){i.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=s,a.width=s,a.style.height=s+"px",a.style.width=s+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(a,s,u){let c=u,l=s;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),s||(l=r()),c=t.getOptions(c);const d=t.getImageWidth(a.modules.size,c),p=l.getContext("2d"),f=p.createImageData(d,d);return t.qrToImageData(f.data,a,c),n(p,l,d),p.putImageData(f,0,0),l},e.renderToDataURL=function(a,s,u){let c=u;typeof c=="undefined"&&(!s||!s.getContext)&&(c=s,s=void 0),c||(c={});const l=e.render(a,s,c),d=c.type||"image/png",p=c.rendererOpts||{};return l.toDataURL(d,p.quality)}})(La);var za={};const _b=qr;function bi(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function Bn(e,t,n){let r=e+t;return typeof n!="undefined"&&(r+=" "+n),r}function bb(e,t,n){let r="",i=0,a=!1,s=0;for(let u=0;u<e.length;u++){const c=Math.floor(u%t),l=Math.floor(u/t);!c&&!a&&(a=!0),e[u]?(s++,u>0&&c>0&&e[u-1]||(r+=a?Bn("M",c+n,.5+l+n):Bn("m",i,0),i=0,a=!1),c+1<t&&e[u+1]||(r+=Bn("h",s),s=0)):i++}return r}za.render=function(t,n,r){const i=_b.getOptions(n),a=t.modules.size,s=t.modules.data,u=a+i.margin*2,c=i.color.light.a?"<path "+bi(i.color.light,"fill")+' d="M0 0h'+u+"v"+u+'H0z"/>':"",l="<path "+bi(i.color.dark,"stroke")+' d="'+bb(s,a,i.margin)+'"/>',d='viewBox="0 0 '+u+" "+u+'"',p=i.width?'width="'+i.width+'" height="'+i.width+'" ':"",f='<svg xmlns="http://www.w3.org/2000/svg" '+p+d+' shape-rendering="crispEdges">'+c+l+`</svg>
38
+ `;return typeof r=="function"&&r(null,f),f};const Cb=V_,ir=Pa,Ga=La,Ab=za;function Jr(e,t,n,r,i){const a=[].slice.call(arguments,1),s=a.length,u=typeof a[s-1]=="function";if(!u&&!Cb())throw new Error("Callback required as last argument");if(u){if(s<2)throw new Error("Too few arguments provided");s===2?(i=n,n=t,t=r=void 0):s===3&&(t.getContext&&typeof i=="undefined"?(i=r,r=void 0):(i=r,r=n,n=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(n=t,t=r=void 0):s===2&&!t.getContext&&(r=n,n=t,t=void 0),new Promise(function(c,l){try{const d=ir.create(n,r);c(e(d,t,r))}catch(d){l(d)}})}try{const c=ir.create(n,r);i(null,e(c,t,r))}catch(c){i(c)}}It.create=ir.create;It.toCanvas=Jr.bind(null,Ga.render);It.toDataURL=Jr.bind(null,Ga.renderToDataURL);It.toString=Jr.bind(null,function(e,t,n){return Ab.render(e,n)});const Tb={key:0},Ib=["src"],Eb={"data-amplify-copy-tooltip":""},Pb=o.createElementVNode("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[o.createElementVNode("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM15 5H8C6.9 5 6.01 5.9 6.01 7L6 21C6 22.1 6.89 23 7.99 23H19C20.1 23 21 22.1 21 21V11L15 5ZM8 21V7H14V12H19V21H8Z"})],-1),Nb=o.defineComponent({__name:"setup-totp",emits:["confirmSetupTOTPSubmit","backToSignInClicked"],setup(e,{emit:t}){var O,H,J;const n=new Y.Logger("SetupTOTP-logger"),i=he(le)(),a=o.useAttrs(),{state:s,send:u}=ge(),{value:{context:c}}=s,l=o.computed(()=>ue(s.value)),{totpSecretCode:d,user:p}=l.value.context,f=(H=(O=c==null?void 0:c.config)==null?void 0:O.formFields)==null?void 0:H.setupTOTP,{totpIssuer:m="AWSCognito",totpUsername:v=p==null?void 0:p.username}=(J=f==null?void 0:f.QR)!=null?J:{},y=typeof d=="string"&&typeof v=="string"?fw(m,v,d):null,w=o.reactive({qrCodeImageSource:"",isLoading:!0}),{getCopyText:S,getCopiedText:g,getBackToSignInText:h,getConfirmText:_}=me,b=o.ref(S());function C(){typeof d=="string"&&navigator.clipboard.writeText(d),b.value=g()}o.onMounted(async()=>{if(!(!p||!y))try{w.qrCodeImageSource=await It.toDataURL(y)}catch(Z){n.error(Z)}finally{w.isLoading=!1}});const A=o.computed(()=>h()),N=o.computed(()=>_()),k=Z=>{const{name:ae,value:se}=Z.target;u({type:"CHANGE",data:{name:ae,value:se}})},T=Z=>{a!=null&&a.onConfirmSetupTOTPSubmit?t("confirmSetupTOTPSubmit",Z):$(Z)},$=Z=>{i.submitForm(Ae(Z))},U=()=>{a!=null&&a.onBackToSignInClicked?t("backToSignInClicked"):u({type:"SIGN_IN"})};return(Z,ae)=>{const se=Be,ee=oe,ze=Te,ie=ce,dt=Ee,ft=_e,X=Ie;return o.renderSlot(Z.$slots,"confirmSetupTOTPI",o.normalizeProps(o.guardReactiveProps(Z.$attrs)),()=>[o.createVNode(ee,o.normalizeProps(o.guardReactiveProps(Z.$attrs)),{default:o.withCtx(()=>[o.createVNode(X,{"data-amplify-authenticator-setup-totp":"",onInput:k,onSubmit:o.withModifiers(T,["prevent"])},{default:o.withCtx(()=>[o.createVNode(ft,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(l).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createVNode(ee,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(Z.$slots,"header",{},()=>[o.createVNode(se,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(" Setup TOTP ")]),_:1})]),o.createVNode(ee,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[w.isLoading?(o.openBlock(),o.createElementBlock("p",Tb,"Loading...")):(o.openBlock(),o.createElementBlock("img",{key:1,class:"amplify-image","data-amplify-qrcode":"",src:w.qrCodeImageSource,alt:"qr code",width:"228",height:"228"},null,8,Ib)),o.createVNode(ee,{class:"amplify-flex","data-amplify-copy":""},{default:o.withCtx(()=>[o.createElementVNode("div",null,o.toDisplayString(o.unref(d)),1),o.createVNode(ee,{"data-amplify-copy-svg":"",onClick:C},{default:o.withCtx(()=>[o.createElementVNode("div",Eb,o.toDisplayString(b.value),1),Pb]),_:1})]),_:1}),o.createVNode(Pe,{route:"setupTOTP"})]),_:1}),o.createVNode(dt,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var ve;return[(ve=o.unref(l).context)!=null&&ve.remoteError?(o.openBlock(),o.createBlock(ze,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(l).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(ie,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",type:"submit",disabled:o.unref(l).matches("confirmSignIn.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(N)),1)]),_:1},8,["disabled"]),o.createVNode(ie,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(U,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(A)),1)]),_:1},8,["onClick"]),o.renderSlot(Z.$slots,"footer",{onBackToSignInClicked:U,onSetupTOTPSubmit:T})]}),_:3})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Zr=o.defineComponent({__name:"authenticator-force-new-password-form-fields",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Pe,{route:"forceNewPassword"}))}}),Qr=o.defineComponent({__name:"force-new-password",emits:["haveAccountClicked","forceNewPasswordSubmit"],setup(e,{emit:t}){const n=o.useAttrs(),{state:r,send:i}=ge(),s=he(le)(),u=o.computed(()=>ue(r.value)),{getChangePasswordText:c,getChangingText:l,getBackToSignInText:d}=me,p=o.computed(()=>c()),f=o.computed(()=>l()),m=o.computed(()=>d()),v=()=>{n!=null&&n.onHaveAccountClicked?t("haveAccountClicked"):i({type:"SIGN_IN"})},y=h=>{n!=null&&n.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",h):w(h)},w=h=>{s.submitForm(Ae(h))},S=h=>{const{name:_,value:b}=h.target;i({type:"CHANGE",data:{name:_,value:b}})};function g(h){const{name:_}=h.target;s.updateBlur({name:_})}return(h,_)=>{const b=Be,C=oe,A=Te,N=ce,k=Ee,T=_e,$=Ie;return o.renderSlot(h.$slots,"forceNewPasswordI",o.normalizeProps(o.guardReactiveProps(h.$attrs)),()=>[o.createVNode(C,o.normalizeProps(o.guardReactiveProps(h.$attrs)),{default:o.withCtx(()=>[o.createVNode($,{"data-amplify-authenticator-forcenewpassword":"",onInput:S,onBlurCapture:g,onSubmit:o.withModifiers(y,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("forceNewPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{},()=>[o.createVNode(b,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"force-new-password-form-fields",{},()=>[o.createVNode(Zr)])]),_:3}),o.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(u).context.remoteError?(o.openBlock(),o.createBlock(A,{key:0,"data-ui-error":""},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(u).context.remoteError)),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(N,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,loading:!1,variation:"primary",style:{"font-weight":"normal"},disabled:o.unref(u).matches("signUp.submit")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(u).matches("forceNewPassword.pending")?o.unref(f)+"\u2026":o.unref(p)),1)]),_:1},8,["disabled"]),o.createVNode(N,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(v,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["onClick"]),o.renderSlot(h.$slots,"footer",{onHaveAccountClicked:v,onForceNewPasswordSubmit:y})]),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),Xr=o.defineComponent({__name:"reset-password",emits:["resetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const n=o.useAttrs(),r=he(le),{send:i,submitForm:a}=r(),{error:s,isPending:u}=o.toRefs(r()),{getBackToSignInText:c,getResetYourPasswordText:l,getSendCodeText:d}=me,p=o.computed(()=>c()),f=o.computed(()=>l()),m=o.computed(()=>d()),v=g=>{n!=null&&n.onResetPasswordSubmit?t("resetPasswordSubmit",g):y(g)},y=g=>{a(Ae(g))},w=g=>{const{name:h,value:_}=g.target;i({type:"CHANGE",data:{name:h,value:_}})},S=()=>{n!=null&&n.onBackToSignInClicked?t("backToSignInClicked"):i({type:"SIGN_IN"})};return(g,h)=>{const _=Be,b=_e,C=Te,A=ce,N=Ee,k=oe,T=Ie;return o.renderSlot(g.$slots,"resetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(g.$attrs)),()=>[o.createVNode(T,o.mergeProps(g.$attrs,{"data-amplify-authenticator-resetpassword":"",onInput:w,onSubmit:o.withModifiers(v,["prevent"])}),{default:o.withCtx(()=>[o.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(g.$slots,"header",{},()=>[o.createVNode(_,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(b,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u)},{default:o.withCtx(()=>[o.createVNode(Pe,{route:"resetPassword"})]),_:1},8,["disabled"]),o.createVNode(N,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.unref(s)?(o.openBlock(),o.createBlock(C,{key:0},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(x)(o.unref(s))),1)]),_:1})):o.createCommentVNode("",!0),o.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["disabled"]),o.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(S,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1},8,["onClick"]),o.renderSlot(g.$slots,"footer",{onBackToSignInClicked:S,onResetPasswordSubmit:v})]),_:3})]),_:3})]),_:3},16,["onSubmit"])])}}}),eo=o.defineComponent({__name:"confirm-reset-password",emits:["confirmResetPasswordSubmit","backToSignInClicked"],setup(e,{emit:t}){const{state:n,send:r}=ge(),a=he(le)(),s=o.useAttrs(),u=o.computed(()=>ue(n.value)),{getResendCodeText:c,getResetYourPasswordText:l,getSubmitText:d}=me,p=o.computed(()=>c()),f=o.computed(()=>l()),m=o.computed(()=>d()),v=h=>{s!=null&&s.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",h):y(h)},y=h=>{a.submitForm(Ae(h))},w=()=>{r({type:"RESEND"})},S=h=>{const{name:_,value:b}=h.target;r({type:"CHANGE",data:{name:_,value:b}})};function g(h){const{name:_}=h.target;a.updateBlur({name:_})}return(h,_)=>{const b=Be,C=oe,A=Te,N=ce,k=Ee,T=_e,$=Ie;return o.renderSlot(h.$slots,"confirmResetPasswordSlotI",o.normalizeProps(o.guardReactiveProps(h.$attrs)),()=>[o.createVNode(C,o.normalizeProps(o.guardReactiveProps(h.$attrs)),{default:o.withCtx(()=>[o.createVNode($,{"data-amplify-authenticator-confirmResetpassword":"",onInput:S,onBlurCapture:g,onSubmit:o.withModifiers(v,["prevent"])},{default:o.withCtx(()=>[o.createVNode(T,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmResetPassword.pending")},{default:o.withCtx(()=>[o.renderSlot(h.$slots,"header",{},()=>[o.createVNode(b,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1})]),o.createVNode(C,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Pe,{route:"confirmResetPassword"})]),_:1}),o.createVNode(k,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var U,O;return[(O=(U=o.unref(u))==null?void 0:U.context)!=null&&O.remoteError?(o.openBlock(),o.createBlock(A,{key:0},{default:o.withCtx(()=>{var H,J;return[o.createTextVNode(o.toDisplayString(o.unref(x)((J=(H=o.unref(u))==null?void 0:H.context)==null?void 0:J.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(N,{class:"amplify-field-group__control amplify-authenticator__font",variation:"primary",fullwidth:!1,type:"submit",disabled:o.unref(u).matches("confirmResetPassword.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["disabled"]),o.createVNode(N,{class:"amplify-field-group__control amplify-authenticator__font",variation:"link",fullwidth:!1,size:"small",type:"button",onClick:o.withModifiers(w,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1},8,["onClick"]),o.renderSlot(h.$slots,"footer",{onConfirmResetPasswordSubmit:v,onLostYourCodeClicked:w})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),to=o.defineComponent({__name:"verify-user",emits:["verifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=he(le)(),i=o.useAttrs(),{state:a,send:s}=ge(),u=o.computed(()=>ue(a.value)),{unverifiedContactMethods:c}=u.value.context,{getAccountRecoveryInfoText:l,getSkipText:d,getVerifyText:p,getVerifyContactText:f}=me,m=o.computed(()=>l()),v=o.computed(()=>d()),y=o.computed(()=>p()),w=o.computed(()=>f()),S=b=>{const{name:C,value:A}=b.target;s({type:"CHANGE",data:{name:C,value:A}})},g=b=>{i!=null&&i.onVerifyUserSubmit?t("verifyUserSubmit",b):h(b)},h=b=>{r.submitForm(Ae(b))},_=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s("SKIP")};return(b,C)=>{const A=Be,N=yn,k=wn,T=Ea,$=oe,U=Te,O=ce,H=Ee,J=_e,Z=Ie;return o.renderSlot(b.$slots,"verifyUserSlotI",{},()=>[o.createVNode($,null,{default:o.withCtx(()=>[o.createVNode(Z,{onInput:S,onSubmit:o.withModifiers(g,["prevent"])},{default:o.withCtx(()=>[o.createVNode(J,{disabled:o.unref(u).matches("verifyUser.pending"),class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.renderSlot(b.$slots,"header",{},()=>[o.createVNode(A,{class:"amplify-heading",level:3},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1})]),o.createVNode($,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(N,{class:"amplify-visually-hidden amplify-label",id:"amplify-field-493c"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(w)),1)]),_:1}),o.createVNode($,{class:"amplify-flex amplify-field amplify-radiogroupfield amplify-authenticator__column","aria-labelledby":"amplify-field-493c"},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(c),(ae,se)=>(o.openBlock(),o.createBlock(N,{class:"amplify-flex amplify-radio","data-amplify-verify-label":"",id:"verify",key:ae},{default:o.withCtx(()=>[o.createVNode(k,{class:"amplify-input amplify-field-group__control amplify-visually-hidden amplify-radio__input","aria-invalid":"false","data-amplify-verify-input":"",id:"verify",name:"unverifiedAttr",type:"radio",value:se},null,8,["value"]),o.createVNode(T,{class:"amplify-flex amplify-radio__button","aria-hidden":"true"}),o.createVNode(T,{class:"amplify-text amplify-radio__label"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(mn)[se].label),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),o.createVNode(H,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var ae,se;return[(se=(ae=o.unref(u))==null?void 0:ae.context)!=null&&se.remoteError?(o.openBlock(),o.createBlock(U,{key:0},{default:o.withCtx(()=>{var ee;return[o.createTextVNode(o.toDisplayString(o.unref(x)((ee=o.unref(u))==null?void 0:ee.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(O,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u).matches("verifyUser.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(y)),1)]),_:1},8,["disabled"]),o.createVNode(O,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(_,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(v)),1)]),_:1},8,["onClick"]),o.renderSlot(b.$slots,"footer",{onSkipClicked:_,onVerifyUserSubmit:g})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3})])}}}),no=o.defineComponent({__name:"confirm-verify-user",emits:["confirmVerifyUserSubmit","skipClicked"],setup(e,{emit:t}){const r=he(le)(),i=o.useAttrs(),{state:a,send:s}=ge(),u=o.computed(()=>ue(a.value)),{getAccountRecoveryInfoText:c,getSkipText:l,getSubmitText:d}=me,p=o.computed(()=>c()),f=o.computed(()=>l()),m=o.computed(()=>d()),v=g=>{const{name:h,value:_}=g.target;s({type:"CHANGE",data:{name:h,value:_}})},y=g=>{i!=null&&i.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",g):w(g)},w=g=>{r.submitForm(Ae(g))},S=()=>{i!=null&&i.onSkipClicked?t("skipClicked"):s({type:"SKIP"})};return(g,h)=>{const _=Be,b=oe,C=Te,A=ce,N=Ee,k=_e,T=Ie;return o.renderSlot(g.$slots,"confirmVerifyUserSlotI",o.normalizeProps(o.guardReactiveProps(g.$attrs)),()=>[o.createVNode(b,o.normalizeProps(o.guardReactiveProps(g.$attrs)),{default:o.withCtx(()=>[o.createVNode(T,{onInput:v,onSubmit:o.withModifiers(y,["prevent"])},{default:o.withCtx(()=>[o.createVNode(k,{class:"amplify-flex amplify-authenticator__column",disabled:o.unref(u).matches("confirmVerifyUser.pending")},{default:o.withCtx(()=>[o.renderSlot(g.$slots,"header",{},()=>[o.createVNode(_,{level:3,class:"amplify-heading"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(p)),1)]),_:1})]),o.createVNode(b,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>[o.createVNode(Pe,{route:"confirmVerifyUser"})]),_:1}),o.createVNode(N,{class:"amplify-flex amplify-authenticator__column"},{default:o.withCtx(()=>{var $,U;return[(U=($=o.unref(u))==null?void 0:$.context)!=null&&U.remoteError?(o.openBlock(),o.createBlock(C,{key:0},{default:o.withCtx(()=>{var O;return[o.createTextVNode(o.toDisplayString(o.unref(x)((O=o.unref(u))==null?void 0:O.context.remoteError)),1)]}),_:1})):o.createCommentVNode("",!0),o.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,variation:"primary",type:"submit",disabled:o.unref(u).matches("confirmVerifyUser.pending")},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(m)),1)]),_:1},8,["disabled"]),o.createVNode(A,{class:"amplify-field-group__control amplify-authenticator__font",fullwidth:!1,size:"small",variation:"link",style:{"font-weight":"normal"},type:"button",onClick:o.withModifiers(S,["prevent"])},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(f)),1)]),_:1},8,["onClick"]),o.renderSlot(g.$slots,"footer",{onSkipClicked:S,onConfirmVerifyUserSubmit:y})]}),_:3})]),_:3},8,["disabled"])]),_:3},8,["onSubmit"])]),_:3},16)])}}}),kb="3.1.7",xb=["data-variation"],$b={"data-amplify-container":""},Ob=["data-amplify-router-content"],Ub={key:1,"data-amplify-router-content":""},ja=o.defineComponent({__name:"authenticator",props:{hideSignUp:{type:Boolean},initialState:null,loginMechanisms:null,services:null,signUpAttributes:null,variation:{default:"default"},socialProviders:null,formFields:null},emits:["signInSubmit","confirmSignUpSubmit","resetPasswordSubmit","confirmResetPasswordSubmit","confirmSignInSubmit","mSetupTOTPSubmit","forceNewPasswordSubmit","signUpSubmit","verifyUserSubmit","confirmVerifyUserSubmit"],setup(e,{emit:t}){const n=e,r=o.useAttrs(),{initialState:i,loginMechanisms:a,variation:s,services:u,signUpAttributes:c,socialProviders:l,hideSignUp:d,formFields:p}=o.toRefs(n),f=GS(),m=e_(f);let v,y;const{state:w,send:S}=Aa(m);ge(m);const g=o.ref(!1);y=m.subscribe(P=>{P.matches("setup")&&!g.value&&(S({type:"INIT",data:{initialState:i==null?void 0:i.value,loginMechanisms:a==null?void 0:a.value,socialProviders:l==null?void 0:l.value,signUpAttributes:c==null?void 0:c.value,services:u==null?void 0:u.value,formFields:p==null?void 0:p.value}}),g.value=!0)}).unsubscribe,o.onMounted(()=>{v=lw(m),uw({packageName:"@aws-amplify/ui-vue",version:kb})}),o.onUnmounted(()=>{v&&v(),y&&y()});const h=o.computed(()=>ue(w.value)),_=o.ref(),b=o.ref(),C=o.ref(),A=o.ref(),N=o.ref(),k=o.ref(),T=o.ref(),$=o.ref(),U=o.ref(),O=o.ref(),{getSignInTabText:H,getSignUpTabText:J}=me,Z=o.computed(()=>H()),ae=o.computed(()=>J()),se=P=>{var fe;r!=null&&r.onSignInSubmit?t("signInSubmit",P):(fe=_.value)==null||fe.submit(P)},ee=P=>{r!=null&&r.onConfirmSignUpSubmit?t("confirmSignUpSubmit",P):C.value.submit(P)},ze=P=>{r!=null&&r.onResetPasswordSubmit?t("resetPasswordSubmit",P):T.value.submit(P)},ie=P=>{r!=null&&r.onConfirmResetPasswordSubmit?t("confirmResetPasswordSubmit",P):$.value.submit(P)},dt=P=>{r!=null&&r.onConfirmSignInSubmit?t("confirmSignInSubmit",P):A.value.submit(P)},ft=P=>{r!=null&&r.onForceNewPasswordSubmit?t("mSetupTOTPSubmit",P):N.value.submit(P)},X=P=>{r!=null&&r.onForceNewPasswordSubmit?t("forceNewPasswordSubmit",P):k.value.submit(P)},ve=P=>{r!=null&&r.onSignUpSubmit?t("signUpSubmit",P):b.value.submit()},Ka=P=>{r!=null&&r.onVerifyUserSubmit?t("verifyUserSubmit",P):U.value.submit(P)},qa=P=>{r!=null&&r.onConfirmVerifyUserSubmit?t("confirmVerifyUserSubmit",P):O.value.submit(P)},ro=o.ref(null),oo=o.ref();o.watch(()=>w.value.context,()=>{const{user:P,signOut:fe}=ea({send:S,state:w.value});ro.value=P,oo.value=fe});const An=o.computed(()=>{var P,fe;return((P=h.value)==null?void 0:P.matches("signIn"))||((fe=h.value)==null?void 0:fe.matches("signUp"))}),Ja=o.computed(()=>{var P;return!(w.value.matches("authenticated")||w.value.matches("idle")||w.value.matches("setup")||w.value.matches("signOut")||((P=h.value)==null?void 0:P.matches("autoSignIn")))});return(P,fe)=>{var ao,so,uo,co,lo,fo,po,mo,ho,go,vo,yo;const io=x_,Za=U_;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.unref(Ja)?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0},P.$attrs,{"data-amplify-authenticator":"","data-variation":o.unref(s)}),[o.createElementVNode("div",$b,[o.renderSlot(P.$slots,"header"),o.createElementVNode("div",{"data-amplify-router":"","data-amplify-router-content":o.unref(An)?void 0:""},[o.unref(An)&&!o.unref(d)?(o.openBlock(),o.createBlock(Za,{key:0},{default:o.withCtx(()=>{var q,Q;return[o.createVNode(io,{active:(q=o.unref(h))==null?void 0:q.matches("signIn"),id:44472,label:o.unref(Z),onClick:fe[0]||(fe[0]=Tn=>o.unref(S)("SIGN_IN"))},null,8,["active","label"]),o.createVNode(io,{active:(Q=o.unref(h))==null?void 0:Q.matches("signUp"),id:44471,label:o.unref(ae),onClick:fe[1]||(fe[1]=Tn=>o.unref(S)("SIGN_UP"))},null,8,["active","label"])]}),_:1})):o.createCommentVNode("",!0),o.unref(An)?(o.openBlock(),o.createElementBlock("div",Ub,[(ao=o.unref(h))!=null&&ao.matches("signIn")?(o.openBlock(),o.createBlock(Lr,{key:0,onSignInSubmit:se,ref_key:"signInComponent",ref:_},{signInSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-in")]),form:o.withCtx(({info:q,onSignInSubmit:Q,onForgotPasswordClicked:Tn,onInput:Qa})=>[o.renderSlot(P.$slots,"sign-in-form",{info:q,onInput:Qa,onSignInSubmit:Q,onForgotPasswordClicked:Tn})]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-in-header")]),footer:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-in-footer")]),_:3},512)):o.createCommentVNode("",!0),((so=o.unref(h))==null?void 0:so.matches("signUp"))&&!o.unref(d)?(o.openBlock(),o.createBlock(Gr,{key:1,onSignUpSubmit:ve,ref_key:"signUpComponent",ref:b},{signUpSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-up")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-up-header")]),"signup-fields":o.withCtx(({info:q})=>[o.renderSlot(P.$slots,"sign-up-fields",{info:q})]),footer:o.withCtx(()=>[o.renderSlot(P.$slots,"sign-up-footer")]),_:3},512)):o.createCommentVNode("",!0)])):o.createCommentVNode("",!0),(uo=o.unref(h))!=null&&uo.matches("confirmSignUp")?(o.openBlock(),o.createBlock(jr,{key:2,onConfirmSignUpSubmit:ee,ref_key:"confirmSignUpComponent",ref:C},{confirmSignUpSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-sign-up")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-sign-up-header")]),footer:o.withCtx(({onConfirmSignUpSubmit:q,onLostCodeClicked:Q})=>[o.renderSlot(P.$slots,"confirm-sign-up-footer",{onConfirmSignUpSubmit:q,onLostCodeClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(co=o.unref(h))!=null&&co.matches("resetPassword")?(o.openBlock(),o.createBlock(Xr,{key:3,onResetPasswordSubmit:ze,ref_key:"resetPasswordComponent",ref:T},{resetPasswordSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"reset-password")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"reset-password-header")]),footer:o.withCtx(({onResetPasswordSubmit:q,onBackToSignInClicked:Q})=>[o.renderSlot(P.$slots,"reset-password-footer",{onResetPasswordSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(lo=o.unref(h))!=null&&lo.matches("confirmResetPassword")?(o.openBlock(),o.createBlock(eo,{key:4,onConfirmResetPasswordSubmit:ie,ref_key:"confirmResetPasswordComponent",ref:$},{confirmResetPasswordSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-reset-password")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-reset-password-header")]),footer:o.withCtx(({onConfirmResetPasswordSubmit:q,onLostYourCodeClicked:Q})=>[o.renderSlot(P.$slots,"confirm-reset-password-footer",{onConfirmResetPasswordSubmit:q,onLostYourCodeClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(fo=o.unref(h))!=null&&fo.matches("confirmSignIn")?(o.openBlock(),o.createBlock(Hr,{key:5,onConfirmSignInSubmit:dt,ref_key:"confirmSignInComponent",ref:A},{confirmSignInSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-sign-in")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-sign-in-header")]),footer:o.withCtx(({onConfirmSignInSubmit:q,onBackToSignInClicked:Q})=>[o.renderSlot(P.$slots,"confirm-sign-in-footer",{onConfirmSignInSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),((po=o.unref(h))==null?void 0:po.matches("setupTOTP.edit"))||((mo=o.unref(h))==null?void 0:mo.matches("setupTOTP.submit"))?(o.openBlock(),o.createBlock(Nb,{key:6,onConfirmSetupTotpSubmit:ft,ref_key:"confirmSetupTOTPComponent",ref:N},{confirmSetupTOTPI:o.withCtx(()=>[o.renderSlot(P.$slots,"setup-totp")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"setup-totp-header")]),footer:o.withCtx(({onSetupTOTPSubmit:q,onBackToSignInClicked:Q})=>[o.renderSlot(P.$slots,"setup-totp-footer",{onSetupTOTPSubmit:q,onBackToSignInClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(ho=o.unref(h))!=null&&ho.matches("forceNewPassword")?(o.openBlock(),o.createBlock(Qr,{key:7,onForceNewPasswordSubmit:X,ref_key:"forceNewPasswordComponent",ref:k},{forceNewPasswordI:o.withCtx(()=>[o.renderSlot(P.$slots,"force-new-password")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"force-new-password-header")]),"force-new-password-form-fields":o.withCtx(()=>[o.renderSlot(P.$slots,"force-new-password-form-fields")]),footer:o.withCtx(({onHaveAccountClicked:q,onForceNewPasswordSubmit:Q})=>[o.renderSlot(P.$slots,"force-new-password-footer",{onForceNewPasswordSubmit:Q,onBackToSignInClicked:q})]),_:3},512)):o.createCommentVNode("",!0),(go=o.unref(h))!=null&&go.matches("verifyUser")?(o.openBlock(),o.createBlock(to,{key:8,onVerifyUserSubmit:Ka,ref_key:"verifyUserComponent",ref:U},{verifyUserSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"verify-user")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"verify-user-header")]),footer:o.withCtx(({onVerifyUserSubmit:q,onSkipClicked:Q})=>[o.renderSlot(P.$slots,"verify-user-footer",{onVerifyUserSubmit:q,onSkipClicked:Q})]),_:3},512)):o.createCommentVNode("",!0),(vo=o.unref(h))!=null&&vo.matches("confirmVerifyUser")?(o.openBlock(),o.createBlock(no,{key:9,onConfirmVerifyUserSubmit:qa,ref_key:"confirmVerifyUserComponent",ref:O},{confirmVerifyUserSlotI:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-verify-user")]),header:o.withCtx(()=>[o.renderSlot(P.$slots,"confirm-verify-user-header")]),footer:o.withCtx(({onConfirmVerifyUserSubmit:q,onSkipClicked:Q})=>[o.renderSlot(P.$slots,"confirm-verify-user-footer",{onConfirmVerifyUserSubmit:q,onSkipClicked:Q})]),_:3},512)):o.createCommentVNode("",!0)],8,Ob),o.renderSlot(P.$slots,"footer")])],16,xb)):o.createCommentVNode("",!0),(yo=o.unref(w))!=null&&yo.matches("authenticated")?o.renderSlot(P.$slots,"default",{key:1,user:ro.value,state:o.unref(w),signOut:oo.value,send:o.unref(S)}):o.createCommentVNode("",!0)],64)}}}),Ha=o.defineComponent({props:{info:{type:Object}},setup(e){return()=>e.info}}),Wa=o.defineComponent({__name:"amplify-text-field",props:{label:{default:""},id:{default:""},autocomplete:{default:""},placeholder:{default:""},required:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},name:{default:""},type:{default:"text"},hideLabel:{type:Boolean,default:!0}},setup(e){const t=e,{label:n,id:r,autocomplete:i,placeholder:a,required:s,name:u,type:c}=o.toRefs(t);return(l,d)=>{const p=yn,f=wn,m=oe;return o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(p,{class:o.normalizeClass(["amplify-label",{"amplify-visually-hidden":e.hideLabel}]),for:o.unref(r)},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(o.unref(n)),1)]),_:1},8,["class","for"]),o.createVNode(m,{class:"amplify-field-group__field-wrapper"},{default:o.withCtx(()=>[o.createVNode(f,{class:"amplify-input amplify-field-group__control",id:o.unref(r),"aria-invalid":"false",autocomplete:o.unref(i),placeholder:o.unref(a),required:o.unref(s),name:o.unref(u),disabled:e.disabled,type:o.unref(c)},null,8,["id","autocomplete","placeholder","required","name","disabled","type"])]),_:1})],64)}}}),Rb={class:"amplify-flex amplify-field amplify-checkboxfield"},Bb={class:"amplify-flex amplify-checkbox"},Vb={class:"amplify-visually-hidden"},Fb=["data-error","data-checked"],Mb=["data-checked"],Db=o.createElementVNode("path",{d:"M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"},null,-1),Lb=[Db],zb=o.createElementVNode("span",{class:"amplify-text amplify-checkbox__label"}," I agree with the Terms & Conditions",-1),Gb={key:0,class:"amplify-text amplify-field__error-message"},Ya=o.defineComponent({__name:"amplify-check-box",props:{errorMessage:{default:""}},setup(e){const t=e,n=o.ref(!1),{errorMessage:r}=o.toRefs(t);return(i,a)=>(o.openBlock(),o.createElementBlock("div",Rb,[o.createElementVNode("label",Bb,[o.createElementVNode("span",Vb,[o.createElementVNode("input",{onClick:a[0]||(a[0]=s=>n.value=!n.value),class:"amplify-input amplify-field-group__control amplify-checkbox__input","aria-invalid":"false",type:"checkbox",name:"acknowledgement",value:"yes"})]),o.createElementVNode("span",{class:o.normalizeClass(["amplify-flex amplify-checkbox__button",{"amplify-checkbox__button--error":!n.value}]),"aria-hidden":"true","data-focus":"false","data-error":!n.value,"data-checked":n.value},[(o.openBlock(),o.createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",class:o.normalizeClass(["amplify-icon amplify-checkbox__icon",{"amplify-checkbox__icon--checked":n.value}]),viewBox:"0 0 24 24",fill:"currentColor","data-checked":n.value},Lb,10,Mb))],10,Fb),zb]),n.value?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("p",Gb,o.toDisplayString(o.unref(r)),1))]))}});var jb={install:e=>{e.component("SignIn",Lr),e.component("SignUp",Gr),e.component("FederatedSignIn",vn),e.component("Authenticator",ja),e.component("RenderInfo",Ha),e.component("PasswordControl",Dr),e.component("ForceNewPassword",Qr),e.component("ResetPassword",Xr),e.component("ConfirmResetPassword",eo),e.component("ConfirmSignUp",jr),e.component("ConfirmSignIn",Hr),e.component("VerifyUser",to),e.component("ConfirmVerifyUser",no),e.component("AmplifyTextField",Wa),e.component("AmplifyCheckBox",Ya),e.component("AmplifyButton",ce),e.component("BaseFormField",Ia),e.component("BaseFormFields",Pe),e.component("AuthenticatorSignUpFormFields",zr),e.component("AuthenticatorForceNewPasswordFormFields",Zr)}};exports.AmplifyButton=ce;exports.AmplifyCheckBox=Ya;exports.AmplifyTextField=Wa;exports.Authenticator=ja;exports.AuthenticatorForceNewPasswordFormFields=Zr;exports.AuthenticatorSignUpFormFields=zr;exports.ConfirmResetPassword=eo;exports.ConfirmSignIn=Hr;exports.ConfirmSignUp=jr;exports.ConfirmVerifyUser=no;exports.FederatedSignIn=vn;exports.ForceNewPassword=Qr;exports.PasswordControl=Dr;exports.RenderInfo=Ha;exports.ResetPassword=Xr;exports.SignIn=Lr;exports.SignUp=Gr;exports.VerifyUser=to;exports.default=jb;exports.translations=nw;exports.useAuthenticator=le;