1(window.webpackJsonp=window.webpackJsonp||[]).push([[61],{2079:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"unescapeAmpersand",(function(){return k}));var a=n(31),r=n.n(a),i=n(14),o=n.n(i),c=n(0),u=n.n(c),l=n(32),s=n(92),d=n(35),p=n(80),m=n(205),f=n(777),h=n(105),b=n(82),g=n(98),v=n(18),w=n(283),C=n(15),O=n(3058),x=n(3471),k=Object(p.t)(/(&)(amp)?;?/g,"$1");t.default=function(){var t=Object(b.d)(),n=t.signOut,a=t.validateLogin,i=t.originLocation,p=t.setOriginLocation,y=Object(g.a)(),E=Object(l.a)(),j=Object(s.a)().formatMessage,T=Object(d.m)(),A=Object(d.p)(),I=Object(c.useState)(!0),_=I[0],L=I[1],P=Object(c.useState)(!1),H=P[0],S=P[1],N=function(e){return new URLSearchParams(k(e.search))}(T),W=N.get("token")||"",z=N.get("user")||"",M=Object(w.a)({value:z})||"",q=Object(c.useCallback)(function(){var e=r()(o.a.mark((function e(t){var n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return L(!0),e.prev=1,e.next=4,a({username:t,jwt:W});case 4:n=i||C.k.base,p(null),E.reFetchObservableQueries(),A(n,{replace:!0}),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(1),L(!1),A(C.k.base,{replace:!0});case 14:case"end":return e.stop()}}),e,null,[[1,10]])})));return function(t){return e.apply(this,arguments)}}(),[a,W,i,p,E,A]);if(Object(h.a)((function(){if(!W)return n(),void L(!1);var e=W.split(".")[1],t=Object(v.F)(),a=Object(w.c)({value:Object(w.a)({value:e})||"",defaultValue:{},onError:function(e){return y.warn({error:e,message:"Could not parse platform from auth jwt"})}}).platform;if(t!==v.e.APP&&a===v.e.APP)return L(!1),void S(!0);q(M)})),_)return u.a.createElement(f.a,null,u.a.createElement(m.a,{fillColor:e.color.primary}));if(H){return u.a.createElement(O.a,{continueInWebText:j({id:"authContinueWeb"}),onContinueOnWebClick:function(){L(!0),S(!1),q(M)},subHeaderText:j({id:"authContinueSubHeader"})})}return u.a.createElement(x.a,{username:M})}}.call(this,n(37).default)},2687:function(e,t,n){"use strict";(function(e){var a,r=n(5),i=n.n(r),o=n(2),c=n(3059),u=n(3060),l=Object(o.c)(["border-radius:",";background-color:",";box-shadow:",";"],e.borderRadius,e.color.white,e.boxShadow),s=Object(o.d)(c.a).withConfig({displayName:"auth-container__AuthContainer",componentId:"sc-195hb0x-0"})(["display:flex;flex-direction:column;justify-content:center;position:relative;"," h1,h2{text-transform:",";}hr{border-color:",";}"],e.desktop(a||(a=i()(["\n ","\n "])),u.a.isCardDesktop&&l),e.textTransform.headlines,e.color.black);t.a=s}).call(this,n(37).default)},3058:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return y}));var a,r=n(5),i=n.n(r),o=n(0),c=n.n(o),u=n(169),l=n(92),s=n(2),d=n(41),p=n(205),m=n(2687),f=n(65),h=n(18),b=n(45),g=n(3061),v=n(3062),w=n(3063),C=s.d.h2.withConfig({displayName:"open-in-app__Heading",componentId:"sc-4rowni-0"})(["color:",";text-transform:",";"],w.a.headingColor,e.textTransform.headlines),O=s.d.div.withConfig({displayName:"open-in-app__CenteredText",componentId:"sc-4rowni-1"})(["text-align:center;font-size:0.9375rem;color:",";outline:none;"],w.a.centeredTextColor),x=s.d.div.withConfig({displayName:"open-in-app__ContinueOnWebsiteLinkContainer",componentId:"sc-4rowni-2"})(["margin:",";"],(function(e){return e.extraPadding?"1.5rem auto 0":"auto"})),k=s.d.div.withConfig({displayName:"open-in-app__LoadingContainer",componentId:"sc-4rowni-3"})(["margin:2rem 0;background-color:",";",""],e.color.background,e.desktop(a||(a=i()(["\n background-color: ",";\n "])),e.color.white)),y=function(t){var n=t.onContinueOnWebClick,a=t.loading,r=t.subHeaderText,i=void 0===r?null:r,o=t.continueInWebText,s=Object(f.d)().location,w=Object(l.a)().formatMessage,y=new URLSearchParams(s.search),E=""+Object(h.f)()+s.pathname.substring(1);return c.a.createElement(m.a,null,c.a.createElement(C,null,w(g.a.authContinueHeader)),c.a.createElement(O,{"aria-label":w(g.a.visuallyHiddenOpenInAppOrBrowser),tabIndex:0},i,c.a.createElement(v.a,{appUri:E,urlSearchParams:y},c.a.createElement(u.a,{width:"100%",center:!0,margin:"15px 0"},c.a.createElement(d.d,{"data-testid":"continue-in-app-auth",onClick:b.a},w(g.a.authContinueApp)))),a?c.a.createElement(k,null,c.a.createElement(p.a,{fillColor:e.color.primary})):c.a.createElement(x,{extraPadding:!i},c.a.createElement(u.a,{width:"100%",center:!0},c.a.createElement(d.d,{variant:d.b.TEXT_ONLY,"data-testid":"continue-in-web-auth",onClick:n},o)))))}}).call(this,n(37).default)},3059:function(e,t,n){"use strict";(function(e){var a,r=n(5),i=n.n(r),o=n(2).d.div.withConfig({displayName:"base__AuthContainer",componentId:"sc-5y6v82-0"})(["border-radius:0;margin:0 auto;min-height:100%;padding:1rem 2.5rem;"," h1,h2{color:",";font-family:",";line-height:1;margin:0 0 2rem 0;text-align:center;}hr{margin-bottom:2rem;border-style:solid;border-width:0.5px;}"],e.desktop(a||(a=i()(["\n margin: 11rem auto 2rem;\n max-width: 40rem;\n padding: 3rem 2.5rem 3rem 2.5rem;\n "]))),e.color.black,e.fontFamily.base);t.a=o}).call(this,n(37).default)},3060:function(e,t,n){"use strict";t.a={isCardDesktop:!1}},3061:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a={authContinueHeader:{id:"authContinueHeader",defaultMessage:"Welcome Back!",fr:"Bon retour!",description:"Continue in App Header"},authContinueApp:{id:"authContinueApp",defaultMessage:"Open the App",fr:"Ouvrir l'appli",description:"Open the App button text"},visuallyHiddenOpenInAppOrBrowser:{id:"visuallyHiddenOpenInAppOrBrowser",defaultMessage:"Please click the Open The App button to proceed to the mobile app. If you want to continue to the website, click the Continue on the Website button. This will trigger another login code for you to log in to the website with.",fr:"Veuillez cliquer sur le bouton Ouvrir l\u2019appli pour acc\xe9der \xe0 l\u2019application mobile. Si vous voulez acc\xe9der au site Web, cliquez sur le bouton Continuer sur le site Web. Cela enverra un autre code d\u2019ouverture de session que vous pourrez utiliser pour acc\xe9der au site Web.",description:"Hidden text asking the user to continue in app or web"}}},3062:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(0),r=n.n(a),i=function(e){var t=e.appUri,n=e.children,a=e.urlSearchParams;return r.a.createElement("form",{"data-testid":"continue-in-app-form",onSubmit:function(e){e.preventDefault();var n=t+"?"+a;window.location.replace(n)}},n)}},3063:function(e,t,n){"use strict";(function(e){t.a={headingColor:e.color.grey.one,centeredTextColor:e.color.grey.one}}
1).call(this,n(37).default)},3471:function(e,t,n){"use strict";var a=n(31),r=n.n(a),i=n(14),o=n.n(i),c=n(0),u=n.n(c),l=n(92),s=n(35),d=n(80),p=n(41),m=n(418),f=n(330),h=n(2687),b=n(3472);t.a=function(e){var t=e.username,n=Object(m.a)().signIn,a=Object(l.a)().formatMessage,i=Object(c.useState)(!1),g=i[0],v=i[1],w=Object(s.p)(),C=Object(f.a)({onConfirm:function(){return w("/signin")},modalAppearanceEventMessage:"Error: Invalid Password Reset Email Provided"}),O=C[0],x=C[1],k=a({id:"authNewLink"}),y=a({id:"authExpiredLink"},{sendNewLinkText:k}),E=function(){var e=r()(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v(!0),t&&Object(d.m)(t)){e.next=6;break}v(!1),x({message:a({id:"invalidEmailProvided"})}),e.next=15;break;case 6:return e.prev=6,e.next=9,n({email:t,navigateState:{state:{email:t}}});case 9:e.next=15;break;case 11:e.prev=11,e.t0=e.catch(6),v(!1),x({message:a({id:"authError"})});case 15:case"end":return e.stop()}}),e,null,[[6,11]])})));return function(){return e.apply(this,arguments)}}();return u.a.createElement(u.a.Fragment,null,u.a.createElement(h.a,null,u.a.createElement(b.b,null,a({id:"authMissingLink"})),u.a.createElement(b.a,null,y),u.a.createElement(p.d,{"data-testid":"missing-link-button",isLoading:g,onClick:E},k)),u.a.createElement(O,{buttonLabel:a({id:"tryAgain"})}))}},3472:function(e,t,n){"use strict";(function(e){n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return o}));var a=n(2),r=n(3473),i=a.d.h2.withConfig({displayName:"styled__Heading",componentId:"sc-1ql9zf4-0"})(["color:",";text-transform:",";"],r.a.headingColor,e.textTransform.headlines),o=a.d.p.withConfig({displayName:"styled__CenteredText",componentId:"sc-1ql9zf4-1"})(["text-align:center;font-size:0.9375rem;color:",";"],r.a.centeredTextColor)}).call(this,n(37).default)},3473:function(e,t,n){"use strict";(function(e){t.a={headingColor:e.color.grey.one,centeredTextColor:e.color.grey.one}}).call(this,n(37).default)}}]); 2//# sourceMappingURL=61.0abcc26d.chunk.js.map
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.