1"use strict";(self.uniqueWebpackInstance1790206371878=self.uniqueWebpackInstance1790206371878||[]).push([[8676],{96798:function(e,t,n){n.d(t,{A:function(){return o}}),n(69085);var i=n(96540);const r=["alignment","children","className","testId","variant"];function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a.apply(null,arguments)}let o=function(e){return e[e.Center=0]="Center",e[e.Left=1]="Left",e}({});t.h=e=>{let{alignment:t,children:n,className:u="",testId:s="page-header",variant:l="default"}=e,c=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,r);const d=t===o.Center?"hui-subheader-lg:scale hui-margin-top-40 hui-margin-bottom-32 hui-margin-top-64:md hui-margin-bottom-48:md hui-text-align-center":"hui-subheader-lg hui-margin-bottom-16 hui-margin-bottom-8:md",m=i.createElement("h1",a({className:`${d} hui-font-weight-semi-bold hui-text-action-primary ${u}`,"data-testid":s,id:"page-header"},c),n);return"top"===l?i.createElement("div",{className:"max-width-568 hui-border-radius-10 hui-margin-horizontal-auto"},i.createElement("div",a({"aria-live":"assertive",className:"hui-padding-24 hui-padding-horizontal-0:md hui-padding-vertical-40:md"},c),m)):m}},13369:function(e,t,n){n.d(t,{f:function(){return r}});var i=n(96540);let r=function(e){return e.Medium="medium",e.Narrow="narrow",e}({});t.A=({children:e,type:t=r.Narrow})=>i.createElement("div",{className:"max-width-568 hui-border-radius-10 hui-background-white hui-margin-horizontal-auto hui-margin-bottom-72 hui-margin-bottom-56:md"},i.createElement("div",{"aria-live":t===r.Narrow?"assertive":void 0,className:"hui-padding-24 hui-padding-vertical-40:md "+(t===r.Narrow?"hui-padding-horizontal-72:md":"hui-padding-horizontal-40:md")},e))},29060:function(e,t,n){n(62953);var i=n(96540),r=n(91398),a=n(88836);n.d(t,["J",0,()=>{const[{provider:e}]=(0,a.sq)(),t=`We need to connect your ${e?`${e} `:""}account with your Human Interest account. Please complete the step below to continue.`;return i.createElement(r.HuiInfoBox,{className:"hui-margin-bottom-24",message:t,testId:"sso-linking-info",type:"information"})}])},40175:function(e,t,n){var i=n(96540),r=n(13739),a=n(92237);n.d(t,["r",0,e=>{const{domain:t}=(0,r.usePartnerConfig)();(0,i.useEffect)((()=>{if(!(0,a.qV)(t))return document.title=`${e} | Human Interest`,()=>{document.title="Log in to your Human Interest account | Human Interest"}}),[t,e])}])},31408:function(e,t,n){n.d(t,{h:function(){return h}}),n(3362),n(62953);var i=n(96540),r=n(88836),a=n(13739),o=n(58884),u=n(95195),s=n(45145),l=n(80856),c=n(36095);const d=(0,a.buildLogger)("hi-login:sso-identity-linking"),m=new Set;function h(){const[{linkRequestId:e,provider:t}]=(0,r.sq)(),{status:n}=(0,o.useAuth)(),h=(0,c.F)(),[g]=(0,u.NJb)(),{showAppToast:f}=(0,a.useAppToast)(),p=(0,i.useRef)(!1),[b,v]=(0,i.useState)(!1),y=a.UUIDTypeFactory.parseIfValid(e),w=(0,i.useCallback)((async()=>{if(!y)return;if(m.has(y))return;if(m.add(y),p.current)return;p.current=!0,d.info("Starting SSO identity linking",{linkRequestId:y,subjectId:h});const e=t?`${t} `:"";try{v(!0),await g({context:{skipErrorHandling:!0,useFederatedGraph:!0},variables:{input:{oauthIdentityLinkRequestId:y}}}),d.info("SSO identity linking successful",{linkRequestId:y,subjectId:h}),f({message:`Success! Your ${e}account has been linked. You can now use it to log in.`}),await new Promise((e=>setTimeout(e,4e3)))}catch(t){d.error("Failed to fulfill SSO identity link request",{error:t,linkRequestId:y,subjectId:h}),f({level:"error",message:`Failed to link your ${e}account. You will be redirected shortly.`}),await new Promise((e=>setTimeout(e,4e3)))}finally{(0,s.gA)({url:l.HA.Accounts})}}),[y,h,t,g,f]);return(0,i.useEffect)((()=>{y&&n===o.SessionStatus.authenticated&&w()}),[y,n,w]),{hasLinkRequest:!!y,isLinking:b,triggerLinking:w}}},58676:function(e,t,n){n.r(t);var i=n(58884),r=n(96798),a=n(96540),o=n(13369),u=n(6163),s=n(40175),l=n(57986),c=n(31408),d=n(29060);t.default=(0,i.withAuth)((()=>{(0,s.r)("Choose Code Delivery Method");const{loading:e,options:t}=(0,u.A)(),{hasLinkRequest:n}=(0,c.h)();return a.createElement("div",{className:"hui-padding-top-72"},a.createElement(o.A,{className:"hui-margin-top-16"},a.createElement(r.h,{alignment:r.A.Left,testId:"page-header"},"Verify your account"),n&&a.createElement(d.J,null),a.createElement(l.Z,{loading:e,options:t})))}),{partiallyAuthenticated:!0,simpleLoginRedirect:!0})},92237:function(e,t,n){n(27495),n(25440);const i=null!=="app.humaninterest.com"?"app.humaninterest.com":"",r=e=>e.trim().toLowerCase().replace(/^https?:\/\//,"").replace(/\/+$/,""),a=r(i);n.d(t,["AT",0,r,"le",0,()=>window.location.hostname,"qV",0,e=>!(!e||!a)&&r(e)!==a,"zx",0,i])}}]);
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.