1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7279],{23106:function(e,t,a){a.r(t),a.d(t,{Activation:function(){return S},mapStateToProps:function(){return k}});var i=a(15215),n=a(2424),o=a(96540),r=a(6442),c=a(63457),l=a(10230),s=a(1302),u=a(80582),d=a(84545),m=a(97651),v=a(15904),p=a(49688),f=a(61551),A=a(20124),y=a(76584),g=a(22917),h=a(69854),w=a(24342),C=a(51361),S=function(e){var t=e.location,a=e.activationCodeFromURL,c=e.autoActivate,f=e.dispatch,C=e.isMobile,S=e.isSignedIn,k=e.referer,b=(0,r.A)().formatMessage,E=t,M="".concat(E.pathname).concat(E.search),R="magic_link"===k,T=(0,o.useCallback)(function(e){var a=c?m.ae:0;setTimeout(function(){f((0,d.ef)((0,n.addQueryStringToUrl)(u.yi.activate,(0,i.__assign)((0,i.__assign)({},t.query),{code:e})))),v.A.push({pathname:u.yi.activate,query:{code:e}})},a)},[c,t]);return(0,o.useEffect)(function(){C&&a&&!c&&"undefined"!=typeof window&&window.scrollTo(0,0)},[a,C,c]),o.createElement("div",{className:y.A.content},o.createElement(l.A,{metadata:{title:b(w.A.metaTitle),link:[(0,A.Cd)("activate")],meta:[{name:"keywords",content:b(w.A.metaKeywords)},{name:"description",content:b(w.A.metaDesc)},{name:"apple-itunes-app",content:""},{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"}]}}),o.createElement(s.A,{logo:!0,invert:!0,login:!S,redirect:M}),o.createElement("div",{className:y.A.activationWrapper},S?o.createElement(g.Ay,{dispatch:f,prePopulatedActivationCode:a,autoActivate:c,showSuccessDirectly:R}):a&&!c?o.createElement(h.A,null):o.createElement(g.Ay,{dispatch:f,prePopulatedActivationCode:a,autoActivate:c,onSubmit:T,showSuccessDirectly:R})),C&&o.createElement(p.A,{cls:y.A.footer,useRefreshStyle:!0}))},k=function(e,t){var a,i,o,r=e.auth,c=r.user,l=r.loginRedirect,s=e.ui.isMobile,u=!!c,d=null===(a=null==t?void 0:t.location)||void 0===a?void 0:a.query,v={isSignedIn:u,isMobile:s,autoActivate:(0,f.Y)(e,d)};if((null===(i=null==t?void 0:t.location)||void 0===i?void 0:i.query)||l){var p=function(e,t){void 0===e&&(e={});var a=e,i=a[m.uJ],o=a[m.BN],r={};t&&(r=(0,n.parseQueryString)((0,n.getQueryStringFromUrl)(t)));var c=r,l=c[m.uJ],s=c[m.BN];return{activationCodeFromURL:i||l,referer:o||s}}(null===(o=null==t?void 0:t.location)||void 0===o?void 0:o.query,l),A=p.activationCodeFromURL,y=p.referer;A&&(v.activationCodeFromURL=(0,C.P_)(A.toString())),y&&(v.referer=y)}return v},b=(0,c.Ng)(k)(S);b.reserveContainerContext=!0,b.getMetadata=function(e){var t=e.intl;return{title:t.formatMessage(w.A.metaTitle),link:[(0,A.Cd)("activate")],meta:[{name:"keywords",content:t.formatMessage(w.A.metaKeywords)},{name:"description",content:t.formatMessage(w.A.metaDesc)},{name:"apple-itunes-app",content:""},{name:"viewport",content:"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"}]}},t.default=b}}]);
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.