import { a as o, L as r } from "./index-162fd1aa.mjs";
import t from "react";
import { s as a } from "./URLGenerator.module-fa874451.mjs";
import "./dateFns-2367ee5b.mjs";
import "./validator-61879ab7.mjs";
import "./reactPlayer-2f69f369.mjs";
import "react-router-dom";
import "./reactSlick-cb4a2d39.mjs";
class f extends t.Component {
  constructor(e) {
    super(e), this.tryInvite = () => {
      const { invitationId: i } = this.props, n = o.getAppState().getSdk().IAM.UserAuthorization().createLoginURL(null, `invitation/${i}`);
      window.location.replace(n);
    };
  }
  componentDidMount() {
    this.tryInvite();
  }
  render() {
    return /* @__PURE__ */ t.createElement("div", { className: a.invitationURLGenerator }, /* @__PURE__ */ t.createElement("div", { className: "loadingContainer" }, /* @__PURE__ */ t.createElement(r, null)));
  }
}
export {
  f as default
};
