(this["webpackJsonp@factor/webapp"]=this["webpackJsonp@factor/webapp"]||[]).push([[35],{1036:function(n,t,e){"use strict";e.d(t,"a",(function(){return S})),e.d(t,"b",(function(){return s})),e.d(t,"c",(function(){return o})),e.d(t,"d",(function(){return g})),e.d(t,"e",(function(){return c})),e.d(t,"f",(function(){return w})),e.d(t,"g",(function(){return b})),e.d(t,"h",(function(){return O})),e.d(t,"i",(function(){return u})),e.d(t,"j",(function(){return m})),e.d(t,"k",(function(){return p})),e.d(t,"l",(function(){return h})),e.d(t,"m",(function(){return l})),e.d(t,"n",(function(){return d})),e.d(t,"o",(function(){return f})),e.d(t,"p",(function(){return r})),e.d(t,"q",(function(){return a})),e.d(t,"r",(function(){return i}));var i="username",o="email",r="code",u="phone",a="password",s="country-dial-code-select",d="+1",f="amplify-auth-source",c="Phone number can not be empty",g="No Auth module found, please ensure @aws-amplify/auth is imported",p="No Storage module found, please ensure @aws-amplify/storage is imported",m="No Interactions module found, please ensure @aws-amplify/interactions is imported",h="User has not set up software token mfa",l="User has not verified software token mfa",S="auth",b="UI Auth",w="ToastAuthError",O="AuthStateChange"},1040:function(n,t,e){"use strict";var i,o,r,u,a;e.d(t,"a",(function(){return i})),e.d(t,"b",(function(){return r})),e.d(t,"c",(function(){return o})),e.d(t,"d",(function(){return a})),e.d(t,"e",(function(){return u})),function(n){n.SignUp="signup",n.SignOut="signout",n.SignIn="signin",n.Loading="loading",n.SignedOut="signedout",n.SignedIn="signedin",n.SigningUp="signingup",n.ConfirmSignUp="confirmSignUp",n.confirmingSignUpCustomFlow="confirmsignupcustomflow",n.ConfirmSignIn="confirmSignIn",n.confirmingSignInCustomFlow="confirmingsignincustomflow",n.VerifyingAttributes="verifyingattributes",n.ForgotPassword="forgotpassword",n.ResetPassword="resettingpassword",n.SettingMFA="settingMFA",n.TOTPSetup="TOTPSetup",n.CustomConfirmSignIn="customConfirmSignIn",n.VerifyContact="verifyContact"}(i||(i={})),function(n){n.TOTP="TOTP",n.SMS="SMS",n.NOMFA="NOMFA"}(o||(o={})),function(n){n.SoftwareTokenMFA="SOFTWARE_TOKEN_MFA",n.SMSMFA="SMS_MFA",n.NewPasswordRequired="NEW_PASSWORD_REQUIRED",n.MFASetup="MFA_SETUP",n.CustomChallenge="CUSTOM_CHALLENGE"}(r||(r={})),function(n){n.Password="password"}(u||(u={})),function(n){n.username="username",n.email="email",n.phone_number="phone_number"}(a||(a={}))},942:function(n,t,e){"use strict";e.r(t),e.d(t,"amplify_federated_sign_in",(function(){return d}));var i=e(27),o=e(54),r=e(1040),u=e(74),a=e(1036),s=new o.a("amplify-federated-sign-in"),d=function(){function n(n){Object(i.k)(this,n),this.authState=r.a.SignIn,this.federated={}}return n.prototype.componentWillLoad=function(){if(!u.a||"function"!==typeof u.a.configure)throw new Error(a.d);var n=u.a.configure().oauth,t=void 0===n?{}:n;t.domain?this.federated.oauth_config=Object.assign(Object.assign({},this.federated.oauth_config),t):t.awsCognito&&(this.federated.oauth_config=Object.assign(Object.assign({},this.federated.oauth_config),t.awsCognito)),t.auth0&&(this.federated.auth0=Object.assign(Object.assign({},this.federated.auth0),t.auth0))},n.prototype.render=function(){return this.federated?Object.values(r.a).includes(this.authState)?(s.debug("federated Config is",this.federated),Object(i.i)("amplify-form-section",{"data-test":"federated-sign-in-section"},Object(i.i)("amplify-section",{"data-test":"federated-sign-in-body-section"},Object(i.i)("amplify-federated-buttons",{authState:this.authState,"data-test":"federated-sign-in-buttons",federated:this.federated})))):null:(s.debug("federated prop is empty. show nothing"),s.debug("federated={google_client_id: , facebook_app_id: , amazon_client_id}"),null)},n}()}}]);