1(()=>{(function(){try{var a=typeof window!="undefined"?window:typeof global!="undefined"?global:typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:{},o=new a.Error().stack;o&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[o]="8206a4ac-7122-482e-b402-824d5b720414",a._sentryDebugIdIdentifier="sentry-dbid-8206a4ac-7122-482e-b402-824d5b720414")}catch(r){}})();(self.webpackChunkdice_web=self.webpackChunkdice_web||[]).push([[52038],{16074:((a,o,r)=>{r.r(o),r.d(o,{default:()=>b});var t=r(96540),c=r(71468),d=r(58357),m=r(755);class p extends t.Component{constructor(){super(...arguments),this.getHomeLink=()=>t.createElement("a",{href:"/home",className:"resident-primary-color-fg resident-primary-color-fill active"},t.createElement("span",null,"HOME")),this.getSuccessMessage=()=>t.createElement("div",null,this.props.username&&t.createElement("h3",{className:"resident-secondary-color-fg"},"Logged in as ",this.props.username," "),t.createElement("div",null,this.getHomeLink())),this.getFailMessage=()=>t.createElement("div",null,t.createElement("h3",{className:"resident-secondary-color-fg"},"Failed to impersonate user"),t.createElement("div",null,this.getHomeLink()))}componentDidMount(){this.props.startImpersonationSession(this.props.token)}render(){return t.createElement("div",{className:"view ready"},t.createElement("div",{className:"content-wrapper"},t.createElement("div",{className:"impersonate"},t.createElement("div",{className:"form__dark"},!this.props.loading&&this.props.success&&this.getSuccessMessage(),!this.props.loading&&!this.props.success&&this.getFailMessage()))))}}var u=Object.defineProperty,i=Object.getOwnPropertySymbols,g=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,l=(s,e,n)=>e in s?u(s,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):s[e]=n,h=(s,e)=>{for(var n in e||(e={}))g.call(e,n)&&l(s,n,e[n]);if(i)for(var n of i(e))f.call(e,n)&&l(s,n,e[n]);return s};const v=s=>t.createElement(p,h({token:s.match.params.token},s)),y=(s={services:{session:{impersonationState:null}},views:{account:{details:{id:null}}}})=>{const{services:{session:{impersonationState:e}},views:{account:{details:{id:n}}}}=s;return{loading:e==="loading",success:e==="loaded",username:n}},E=s=>({startImpersonationSession:e=>s(d.A.startImpersonationSession(e))}),b=(0,m.y)((0,c.Ng)(y,E)(v))})}]);})(); 2 3//# sourceMappingURL=impersonate.cec8a56de087c903b99e.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.