1"use strict";(globalThis.webpackChunkreact_amplify=globalThis.webpackChunkreact_amplify||[]).push([[554],{37554(e,t,a){a.r(t),a.d(t,{amplify_federated_sign_in:()=>r});var i=a(95033),n=a(13461),d=a(68411),s=a(84734),o=a(1260),f=new n.C("amplify-federated-sign-in"),r=function(){function e(e){(0,i.r)(this,e),this.authState=d.A.SignIn,this.federated={}}return e.prototype.componentWillLoad=function(){if(!s.N||"function"!==typeof s.N.configure)throw new Error(o.N);var e=s.N.configure().oauth,t=void 0===e?{}:e;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))},e.prototype.render=function(){return this.federated?Object.values(d.A).includes(this.authState)?(f.debug("federated Config is",this.federated),(0,i.h)("amplify-form-section",{"data-test":"federated-sign-in-section"},(0,i.h)("amplify-section",{"data-test":"federated-sign-in-body-section"},(0,i.h)("amplify-federated-buttons",{authState:this.authState,"data-test":"federated-sign-in-buttons",federated:this.federated})))):null:(f.debug("federated prop is empty. show nothing"),f.debug("federated={google_client_id: , facebook_app_id: , amazon_client_id}"),null)},e}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.