Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ! function (e) {
- function t(t) {
- for (var n, o, s = t[0], c = t[1], l = t[2], u = 0, g = []; u < s.length; u++) o = s[u], i[o] && g.push(i[o][0]), i[o] = 0;
- for (n in c) Object.prototype.hasOwnProperty.call(c, n) && (e[n] = c[n]);
- for (M && M(t); g.length;) g.shift()();
- return r.push.apply(r, l || []), a()
- }
- function a() {
- for (var e, t = 0; t < r.length; t++) {
- for (var a = r[t], n = !0, s = 1; s < a.length; s++) {
- var c = a[s];
- 0 !== i[c] && (n = !1)
- }
- n && (r.splice(t--, 1), e = o(o.s = a[0]))
- }
- return e
- }
- var n = {},
- i = {
- 1: 0
- },
- r = [];
- function o(t) {
- if (n[t]) return n[t].exports;
- var a = n[t] = {
- i: t,
- l: !1,
- exports: {}
- };
- return e[t].call(a.exports, a, a.exports, o), a.l = !0, a.exports
- }
- o.m = e, o.c = n, o.d = function (e, t, a) {
- o.o(e, t) || Object.defineProperty(e, t, {
- enumerable: !0,
- get: a
- })
- }, o.r = function (e) {
- "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
- value: "Module"
- }), Object.defineProperty(e, "__esModule", {
- value: !0
- })
- }, o.t = function (e, t) {
- if (1 & t && (e = o(e)), 8 & t) return e;
- if (4 & t && "object" == typeof e && e && e.__esModule) return e;
- var a = Object.create(null);
- if (o.r(a), Object.defineProperty(a, "default", {
- enumerable: !0,
- value: e
- }), 2 & t && "string" != typeof e)
- for (var n in e) o.d(a, n, function (t) {
- return e[t]
- }.bind(null, n));
- return a
- }, o.n = function (e) {
- var t = e && e.__esModule ? function () {
- return e.default
- } : function () {
- return e
- };
- return o.d(t, "a", t), t
- }, o.o = function (e, t) {
- return Object.prototype.hasOwnProperty.call(e, t)
- }, o.p = "";
- var s = window.webpackJsonp = window.webpackJsonp || [],
- c = s.push.bind(s);
- s.push = t, s = s.slice();
- for (var l = 0; l < s.length; l++) t(s[l]);
- var M = c;
- r.push([635, 0]), a()
- }({
- 1: function (e, t, a) {
- "use strict";
- var n = a(48),
- i = a(49),
- r = a(53),
- o = a(55),
- s = a(187),
- c = a(54),
- l = {
- en: i,
- es: c,
- de: r,
- it: s,
- fr: o
- },
- M = new n.a(l);
- t.a = M
- },
- 10: function (e, t, a) {
- "use strict";
- function n(e) {
- var t = new RegExp("[?&#]" + e.replace(/[[\]]/g, "\\$&") + "(=([^&#]*)|&|#|$)"),
- a = window.location.href,
- n = t.exec(a);
- return n ? n[2] ? decodeURIComponent(n[2].replace(/\+/g, " ")) : "" : null
- }
- a.d(t, "a", function () {
- return n
- })
- },
- 12: function (e, t, a) {
- "use strict";
- var n = a(0),
- i = a.n(n),
- r = a(5),
- o = a.n(r),
- s = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- },
- c = function () {
- function e(e, t) {
- for (var a = 0; a < t.length; a++) {
- var n = t[a];
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- return function (t, a, n) {
- return a && e(t.prototype, a), n && e(t, n), t
- }
- }();
- var l = function (e) {
- function t() {
- return function (e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }(this, t),
- function (e, t) {
- if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return !t || "object" != typeof t && "function" != typeof t ? e : t
- }(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments))
- }
- return function (e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
- }(t, i.a.PureComponent), c(t, [{
- key: "render",
- value: function () {
- var e = this.props,
- t = e.className,
- a = e.glyph,
- n = e.viewBox,
- r = function (e, t) {
- var a = {};
- for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
- return a
- }(e, ["className", "glyph", "viewBox"]);
- return i.a.createElement("svg", s({
- className: t,
- viewBox: n
- }, r), i.a.createElement("use", {
- xlinkHref: "#" + a
- }))
- }
- }]), t
- }();
- l.propTypes = {
- className: o.a.string,
- glyph: o.a.string,
- viewBox: o.a.string
- }, l.defaultProps = {
- className: "icon",
- glyph: "",
- viewBox: ""
- }, t.a = l
- },
- 13: function (e, t, a) {
- "use strict";
- a.d(t, "b", function () {
- return o
- }), a.d(t, "a", function () {
- return s
- }), a.d(t, "c", function () {
- return c
- }), a.d(t, "d", function () {
- return l
- });
- var n = a(30),
- i = a(10),
- r = a(2);
- function o() {
- Object(n.b)();
- return Object(r.h)()
- }
- function s(e) {
- var t = Object(i.a)(e);
- return "string" == typeof t && t.length > 0
- }
- function c() {
- return Object(i.a)("error")
- }
- function l(e) {
- var t = decodeURIComponent(e);
- ! function (e) {
- var t = decodeURIComponent(e);
- if (t.startsWith("/")) return !0;
- var a = document.createElement("a");
- return a.href = t, /(www\.)?((lodgify(develop|qa|staging|integration|feature)?\.com)|localhost(:\d{1,6})?)$/i.test(a.hostname)
- }(e) ? window.location.href = r.g.marketingLogin + "?error=Generic": window.location.href = t
- }
- },
- 130: function (e) {
- e.exports = {
- Authorization: "AutorizaciĂłn",
- Payment: "Pago",
- Refund: "Reembolso",
- Show: "Viewed card number",
- Verification: "VerificaciĂłn"
- }
- },
- 14: function (e, t, a) {
- "use strict";
- a.d(t, "a", function () {
- return n
- }), a.d(t, "b", function () {
- return i
- });
- a(40), a(61);
- var n = function () {
- try {
- return !!window.cordova
- } catch (e) {
- return !1
- }
- },
- i = !!window.cordovaPreview
- },
- 192: function (e, t, a) {
- "use strict";
- a.d(t, "a", function () {
- return l
- });
- var n = a(345),
- i = a.n(n),
- r = a(37),
- o = a(344),
- s = a(9),
- c = Object(r.combineReducers)({
- form: i.a,
- account: Object(r.combineReducers)({
- auth: s.b
- })
- });
- var l = function () {
- var e = Object(r.applyMiddleware)(o.a);
- return Object(r.createStore)(c, Object(r.compose)(e))
- }()
- },
- 2: function (e, t, a) {
- "use strict";
- a.d(t, "h", function () {
- return o
- }), a.d(t, "c", function () {
- return l
- }), a.d(t, "d", function () {
- return M
- }), a.d(t, "g", function () {
- return u
- }), a.d(t, "e", function () {
- return g
- }), a.d(t, "a", function () {
- return N
- }), a.d(t, "f", function () {
- return d
- }), a.d(t, "b", function () {
- return p
- });
- var n = a(14),
- i = a(1),
- r = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- },
- o = function () {
- var e = i.a.getCurrentLanguage();
- return Object(n.a)() ? "https://www.lodgify.com" + ("en" === e ? "" : "/" + e) : window.location.protocol + "//" + window.location.host + ("en" === e ? "" : "/" + e)
- },
- s = o(),
- c = {
- client_id: "js.external",
- response_type: "token id_token",
- scope: "openid profile email lodgify.api"
- },
- l = r({}, c, {
- acr_values: "idp:Facebook"
- }),
- M = r({}, c, {
- acr_values: "idp:Google"
- }),
- u = {
- marketingHome: "" + s,
- marketingLogin: s + "/login",
- marketingLogout: s + "/logout",
- marketingLogged: s + "/oh/PropertyOwner/App",
- designPage: function (e) {
- return s + "/oh/PropertyOwner/Design?oid=" + e
- },
- marketingSignUp: s + "/signup",
- marketingSignUpSuccess: s + "/signup-success",
- marketingSignUpConfirm: s + "/signup-confirm"
- },
- g = {
- authLogin: "/auth/login",
- authRegister: "/auth/signup",
- authRegisterSuccess: "/auth/signup-success",
- authRegisterConfirm: "/auth/signup-confirm"
- },
- N = {
- Locked: i.a.get("auth-errors-locked"),
- InvalidCredentials: i.a.get("auth-errors-invalid-credentials"),
- TrialExpired: i.a.get("auth-errors-trial-expired"),
- NotConfirmed: i.a.get("auth-errors-email-not-confirmed"),
- Generic: i.a.get("auth-errors-server"),
- NotFound: i.a.get("auth-errors-email-not-found"),
- EmailExists: i.a.get("auth-register-error-email-exists")
- },
- d = {
- SentSuccessfully: i.a.get("auth-message-email-sent")
- },
- p = {
- login: "login",
- signup: "signup"
- }
- },
- 20: function (e, t, a) {
- "use strict";
- var n = a(178),
- i = a.n(n),
- r = a(179),
- o = a.n(r),
- s = a(180),
- c = a.n(s),
- l = a(65),
- M = a.n(l),
- u = a(181),
- g = a.n(u),
- N = a(182),
- d = a.n(N),
- p = a(183),
- D = a.n(p),
- y = a(184),
- m = a.n(y),
- T = a(185),
- z = a.n(T),
- j = a(186),
- w = a.n(j);
- a.d(t, "a", function () {
- return O
- }), a.d(t, "c", function () {
- return I
- }), a.d(t, "d", function () {
- return L
- }), a.d(t, "b", function () {
- return A
- }), a.d(t, !1, function () {}), a.d(t, !1, function () {});
- var O = {
- ARS: {
- symbol: "$",
- isLeft: !1
- },
- AUD: {
- symbol: "$",
- isLeft: !0
- },
- BRL: {
- symbol: "R$",
- isLeft: !1
- },
- BGN: {
- symbol: "Нв",
- isLeft: !1
- },
- CAD: {
- symbol: "$",
- isLeft: !0
- },
- CLP: {
- symbol: "$",
- isLeft: !1
- },
- CNY: {
- symbol: "ÂĽ",
- isLeft: !1
- },
- COP: {
- symbol: "$",
- isLeft: !1
- },
- HRK: {
- symbol: "kn",
- isLeft: !1
- },
- CZK: {
- symbol: "KÄ",
- isLeft: !1
- },
- DKK: {
- symbol: "kr",
- isLeft: !1
- },
- AED: {
- symbol: "ŘŻ.ŘĽ",
- isLeft: !1
- },
- EEK: {
- symbol: "KR",
- isLeft: !1
- },
- EUR: {
- symbol: "âŹ",
- isLeft: !1
- },
- HKD: {
- symbol: "$",
- isLeft: !1
- },
- HUF: {
- symbol: "Ft",
- isLeft: !1
- },
- INR: {
- symbol: "â¨",
- isLeft: !1
- },
- IDR: {
- symbol: "Rp",
- isLeft: !1
- },
- JPY: {
- symbol: "ÂĽ",
- isLeft: !1
- },
- LVL: {
- symbol: "Ls",
- isLeft: !1
- },
- LTL: {
- symbol: "Lt",
- isLeft: !1
- },
- MYR: {
- symbol: "RM",
- isLeft: !1
- },
- MXN: {
- symbol: "$",
- isLeft: !1
- },
- RON: {
- symbol: "L",
- isLeft: !1
- },
- TRY: {
- symbol: "âş",
- isLeft: !1
- },
- NZD: {
- symbol: "$",
- isLeft: !0
- },
- NOK: {
- symbol: "kr",
- isLeft: !1
- },
- PHP: {
- symbol: "P",
- isLeft: !1
- },
- PLN: {
- symbol: "zĹ",
- isLeft: !1
- },
- GBP: {
- symbol: "ÂŁ",
- isLeft: !0
- },
- RUB: {
- symbol: "Ń.",
- isLeft: !1
- },
- SGD: {
- symbol: "$",
- isLeft: !1
- },
- ZAR: {
- symbol: "R",
- isLeft: !1
- },
- KRW: {
- symbol: "âŠ",
- isLeft: !1
- },
- SEK: {
- symbol: "kr",
- isLeft: !1
- },
- CHF: {
- symbol: "Fr",
- isLeft: !1
- },
- THB: {
- symbol: "฿",
- isLeft: !1
- },
- USD: {
- symbol: "$",
- isLeft: !0
- },
- CVE: {
- symbol: "$",
- isLeft: !0
- }
- },
- I = {
- NineFlats: c.a,
- Airbnb: M.a,
- AirbnbIntegration: M.a,
- Roomorama: g.a,
- HomeAway: d.a,
- BookingCom: D.a,
- MyBookingPal: m.a,
- Domegos: z.a,
- ICal: w.a
- },
- L = {
- ChannelManagerLodgifyCMDescription: i.a,
- ChannelManagerMyBookingPalCMDescription: o.a
- },
- A = {
- DOMAIN_EXCEPTION: "domain_exception",
- NOT_FOUND: "not_found",
- INVALID_FIELDS: "input_invalid",
- SERVER_UNEXPECTED: "server_unexpected",
- UNAUTHORIZED: "unauthorized"
- }
- },
- 23: function (e, t, a) {
- e.exports = {
- step: "_27O1QfKRJlSOqECwigp9-L",
- animationWrapper: "_3eSpteLbmjkUtJ9gsZ4DzK",
- wrapper: "_1OtZF6wN2O8dc8iTP3HO81",
- animationStepWrapper: "_3tE5rs5GSvIfWVbzugeEA6",
- navigation: "_2_Dzua8xy8jnvt0-VdZ049",
- current: "_3mSG3ZAhtwtFcDm-x4jHhq",
- back: "HGSeMnRy8DYmkbada8fBj",
- bar: "_2RGChf-pNFq4tHElxzymI3",
- fillBar: "_3JtnuSZB4vyNnGP9ts1Y5q",
- point: "_1dgUDCZMvgF8w6_xkbe3cc",
- active: "_2PS0OyIN74eFpo2P_wzMQh"
- }
- },
- 27: function (e, t, a) {
- "use strict";
- a.d(t, "g", function () {
- return s
- }), a.d(t, "f", function () {
- return c
- }), a.d(t, "h", function () {
- return l
- }), a.d(t, "d", function () {
- return g
- }), a.d(t, "c", function () {
- return N
- }), a.d(t, "b", function () {
- return d
- }), a.d(t, "a", function () {
- return p
- }), a.d(t, "e", function () {
- return D
- });
- var n = a(346),
- i = a(1),
- r = function (e) {
- return e ? void 0 : i.a.get("auth-email-isrequired")
- },
- o = function (e) {
- return e ? void 0 : i.a.get("auth-password-isrequired")
- },
- s = function (e) {
- return e ? void 0 : i.a.get("auth-name-isrequired")
- },
- c = function (e) {
- return e ? void 0 : i.a.get("auth-lastname-isrequired")
- },
- l = function (e) {
- return e ? void 0 : i.a.get("auth-agree-terms-isrequired")
- },
- M = function (e) {
- return function (t) {
- return t && t.length > e ? i.a.get("auth-max-length").replace("MAX", e) : void 0
- }
- },
- u = function (e) {
- return function (t) {
- return t && t.length < e ? i.a.get("auth-min-length").replace("MIN", e) : void 0
- }
- },
- g = function (e) {
- return Object(n.a)(e) ? void 0 : i.a.get("auth-phone-invalid")
- },
- N = [o, u(6), M(30)],
- d = [o, u(8), M(30)],
- p = [r],
- D = [r, function (e) {
- return e && !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(e) ? i.a.get("auth-email-invalid") : void 0
- }]
- },
- 28: function (e, t, a) {
- "use strict";
- function n(e) {
- var t = location.host.match(/[^.]+\.com$/);
- return e ? "//api." + t : "//app." + t
- }
- function i() {
- return "//identityserver." + location.host.match(/[^.]+\.com$/)
- }
- a.d(t, "a", function () {
- return n
- }), a.d(t, "b", function () {
- return i
- })
- },
- 30: function (e, t, a) {
- "use strict";
- (function (e) {
- a.d(t, "c", function () {
- return o
- }), a.d(t, "b", function () {
- return s
- }), a.d(t, "a", function () {
- return c
- });
- a(86), a(87), a(25), a(40), a(336), a(47);
- var n = a(337),
- i = a.n(n),
- r = (a(3), a(338), a(58), a(20));
- a(51), a(50), a(52), a(95);
- var o = function (e, t, a) {
- return [e.match(t) ? e.slice(0, e.match(t).index) : e, i()(e.match(new RegExp(t + "(.*)" + a)), 1), e.match(a) ? e.slice(e.match(a).index + a.length) : ""]
- },
- s = function () {
- return function (e) {
- var t = function (e) {
- var t = e.match(/:\/\/(www[0-9]?\.)?(.[^/:]+)/i);
- return t && t.length > 2 && t[2] || ""
- }(e);
- if (!t) return "";
- var a = t.split(".").reverse();
- return a && a.length > 1 ? a[1] + "." + a[0] : t
- }(document.URL)
- };
- function c(e) {
- return {
- 401: r.b.UNAUTHORIZED,
- 404: r.b.NOT_FOUND,
- 500: r.b.SERVER_UNEXPECTED
- } [e]
- }
- }).call(this, a(63))
- },
- 332: function (e, t, a) {
- "use strict";
- var n = a(74),
- i = a.n(n),
- r = a(11),
- o = a(64),
- s = a(0),
- c = a(6),
- l = a.n(c),
- M = a(1),
- u = a(39),
- g = a(13),
- N = a(8),
- d = a(7),
- p = a.n(d),
- D = a(34),
- y = a.n(D),
- m = a(333),
- T = a(389),
- z = a.n(T)()(function (e, t) {
- var a = e.isForgotPasswordVisible,
- n = e.signIn,
- i = e.forgotPass;
- a ? i({
- email: t.login
- }) : n(t)
- }),
- j = Object(r.c)({
- handleSubmitButton: z
- }),
- w = Object(r.c)({
- handleBackLink: function (e) {
- return function () {
- var t = e.isForgotPasswordVisible,
- a = e.hideForgotPassword,
- n = e.clearNotifications;
- if (t) return a(), void n();
- n()
- }
- }
- }),
- O = Object(r.a)(j, w)(m.a);
- a(71);
- var I = function (e) {
- var t = e.storeErrorMessage,
- a = e.storeSuccessMessage,
- n = e.isForgotPasswordVisible,
- i = e.redirectToRegister;
- return s.createElement("div", {
- className: l()(p.a.wrapper, p.a.loginView)
- }, s.createElement(N.a, {
- form: "login",
- storeErrorMessage: t,
- storeSuccessMessage: a
- }), s.createElement("header", null, s.createElement(u.a, {
- className: p.a.logo
- })), s.createElement("div", {
- className: p.a.main
- }, s.createElement("div", {
- className: p.a.formWrapper
- }, s.createElement("div", {
- className: p.a.form
- }, s.createElement("h2", {
- className: p.a.formTitle
- }, " ", M.a.get("auth-login")), !n && s.createElement("div", {
- className: y.a.socialButtons
- }, s.createElement(N.f, {
- text: M.a.get("auth-login"),
- redirect_uri: Object(g.b)()
- }), s.createElement(N.g, {
- text: M.a.get("auth-login"),
- redirect_uri: Object(g.b)()
- })), s.createElement(O, e)), s.createElement("footer", null, s.createElement("span", null, M.a.get("auth-no-account-question")), s.createElement("div", {
- role: "link",
- tabIndex: 0,
- className: p.a.footerLink,
- onClick: i
- }, M.a.get("auth-create-account"))))))
- };
- I.defaultProps = {
- storeErrorMessage: null,
- storeSuccessMessage: null
- };
- var L = I,
- A = a(72),
- h = a.n(A),
- x = a(73),
- k = a.n(x),
- f = a(390),
- E = a.n(f),
- b = a(21),
- v = a(9),
- U = {
- switchView: v.a.switchView,
- signIn: v.a.signIn,
- setErrorMessage: v.a.setAuthErrorMessage,
- signInWithExistingToken: v.a.signInWithExistingToken,
- forgotPass: v.a.forgotPass,
- clearNotifications: v.a.clearNotifications,
- displayErrorNotification: v.a.displayErrorNotification
- },
- Q = Object(b.connect)(function (e) {
- return {
- storeSuccessMessage: Object(v.e)(e),
- storeErrorMessage: Object(v.d)(e),
- formValues: E()("login")(e),
- formMeta: h()("login")(e),
- formSyncErrors: k()("login")(e)
- }
- }, U),
- S = a(33),
- C = a.n(S),
- Y = a(2),
- B = Object(r.c)({
- loginFromEvent: function (e) {
- return function (t, a) {
- a && a.token && e.signInWithExistingToken(a.token), a && a.error && e.displayErrorNotification(Y.a[a.error] || Y.a.Generic)
- }
- },
- registerFromEvent: function (e) {
- return function (t, a) {
- e.switchView(Y.e.authRegister + "?access_token=" + a.token)
- }
- }
- }),
- P = Object(r.b)({
- componentDidMount: function () {
- C.a.subscribe(Y.b.login, this.props.loginFromEvent), C.a.subscribe(Y.b.signup, this.props.registerFromEvent)
- },
- componentWillUnmount: function () {
- C.a.unsubscribe(Y.b.login), C.a.unsubscribe(Y.b.signup)
- }
- }),
- R = Object(r.a)(B, P),
- q = a(10),
- G = a(19),
- F = {
- app: function () {
- return "/oh/PropertyOwner/App"
- }
- },
- V = {
- reservationInboxAgreement: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/agreement/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
- },
- reservationSettingsEmails: function () {
- return "reservation/settings/emails"
- },
- reservationSettingsExport: function () {
- return "reservation/settings/export-import"
- },
- reservationSettingsMailbox: function () {
- return "reservation/settings/mailbox"
- },
- reservationSettingsPolicies: function () {
- return "reservation/settings/policies"
- },
- reservationSettingsPayments: function () {
- return "reservation/settings/payments"
- },
- reservationSettingsAddPolicy: function () {
- return "reservation/settings/policies/create"
- },
- reservationSettingsAddPolicyRule: function () {
- return "reservation/settings/policies/create/new-cancellation"
- },
- reservationSettingsUpdatePolicy: function (e) {
- return "reservation/settings/policies/update/" + e
- },
- settingsPublicApiToken: function () {
- return "reservation/settings/publicApiToken"
- },
- reservationInbox: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "")
- },
- reservationArchiveOrder: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/archive-order/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
- },
- reservationChangeRequest: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/change-request/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
- },
- reservationGuestEdit: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/guest-edit"
- },
- reservationMessages: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/messages"
- },
- reservationExternalQuotes: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/external-quotes"
- },
- reservationAddPayment: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/add-payment"
- },
- reservationRequestPayment: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/request-payment"
- },
- reservationChargeCard: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/charge-card"
- },
- reservationTransactionAddManualRefund: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/add-manual-refund/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
- },
- reservationTransactionIssueRefund: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/issue-refund/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
- },
- reservationTransactionReceipt: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/transaction-receipt/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
- },
- bookingEdit: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit"
- },
- bookingEditSimple: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit-simple"
- },
- bookingEditDetails: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/booking"
- },
- bookingEditQuote: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/quote"
- },
- bookingEditPolicy: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/policy"
- },
- bookingEditCreateQuote: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/bookingc/create"
- },
- bookingEditAgreement: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/agreement/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
- },
- bookingChange: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create-change-request"
- },
- bookingChangeDetails: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create-change-request/booking"
- },
- bookingChangeQuote: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create-change-request/quote"
- },
- bookingChangePolicy: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create-change-request/policy"
- },
- bookingChangeAgreement: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create-change-request/agreement/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
- },
- bookingCreateSimple: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
- return "/reservation/inbox/" + (e ? e + "/" : "") + "create-simple"
- },
- bookingCreate: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
- return "/reservation/inbox/" + (e ? e + "/" : "") + "create"
- },
- bookingCreateDetails: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
- return "/reservation/inbox/" + (e ? e + "/" : "") + "create/booking"
- },
- bookingCreateQuote: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
- return "/reservation/inbox/" + (e ? e + "/" : "") + "create/quote"
- },
- bookingCreatePolicy: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
- return "/reservation/inbox/" + (e ? e + "/" : "") + "create/policy"
- },
- bookingCreateAgreement: function () {
- return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create/agreement/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
- }
- },
- K = a.n(G)()({}, {
- accountProfile: "/account/profile"
- }, F, {
- channelManager: "/channelmanager/",
- channelManagerConfigurator: "/channelmanager/configure",
- channelManagerChannel: function (e) {
- return "/channelmanager/channels/" + e
- },
- channelManagerChannelAddMapping: function (e) {
- return "/channelmanager/channels/" + e + "/addMapping"
- },
- channelManagerChannels: "/channelmanager/channels",
- channelManagerDisplayChannels: "/channelmanager/displayChannels",
- channelManagerDisplayChannel: function (e) {
- return "/channelmanager/displayChannels/" + e
- },
- channelManagerDisplayChannelChannelManagers: function (e) {
- return "/channelmanager/displayChannels/" + e + "/channelManagers"
- },
- channelManagerConnectionMethodWarning: function (e, t) {
- return "/channelmanager/displayChannels/" + e + "/channelManagers/" + t
- },
- channelManagerAirbnbPro: "/manage/channels/airbnbApi",
- channelManagerBooking: "/manage/channels/bookingcom"
- }, V);
- var Z = Object(r.b)({
- componentDidMount: function () {
- var e = Object(q.a)("access_token"),
- t = Object(q.a)("ReturnUrl"),
- a = Object(q.a)("redirect_url"),
- n = Object(q.a)("force_desktop"),
- i = this.props,
- r = i.switchView,
- o = i.signInWithExistingToken;
- if (e) {
- if (Object(q.a)("signup")) return void r(Y.e.authRegister + "?access_token=" + e);
- var s = Object(q.a)("user_id"),
- c = Object(q.a)("provider");
- setTimeout(function () {
- o(e, a, {
- user_id: s,
- social_provider: c
- })
- }, 500)
- }
- if (n && function () {
- var e = K.app() + "#" + K.reservationInbox();
- window.sessionStorage.setItem("ldgfy-avoidRedirectToMobileVersion", !0), window.location = e
- }(), t) {
- var l = window.location.hash,
- M = window.location.href.replace(l, "");
- window.history.replaceState({}, "", "" + M + encodeURIComponent(l))
- }
- }
- }),
- W = Object(r.a)(Object(r.d)("isForgotPasswordVisible", "toggleDisplayPassword", !1), Object(r.c)({
- showForgotPassword: function (e) {
- var t = e.toggleDisplayPassword;
- return function () {
- return t(!0)
- }
- },
- hideForgotPassword: function (e) {
- var t = e.toggleDisplayPassword;
- return function () {
- return t(!1)
- }
- }
- })),
- H = Object(r.c)({
- redirectToRegister: function (e) {
- return function (t) {
- var a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "";
- (0, e.switchView)(Y.e.authRegister + a)
- }
- }
- }),
- J = Object(r.a)(i()({
- form: "login",
- initialValues: {
- rememberLogin: !1
- }
- }), Q, Z, o.a, R, W, H)(L);
- a.d(t, "a", function () {
- return J
- })
- },
- 333: function (e, t, a) {
- "use strict";
- (function (e) {
- a.d(t, "a", function () {
- return u
- });
- var n = a(0),
- i = a(22),
- r = a.n(i),
- o = a(1),
- s = a(27),
- c = a(8),
- l = a(34),
- M = a.n(l);
- function u(t) {
- var a = t.isForgotPasswordVisible,
- i = t.handleBackLink,
- l = t.showForgotPassword,
- u = t.handleSubmitButton,
- g = t.handleSubmit;
- return n.createElement("form", {
- noValidate: !0,
- onSubmit: g(u),
- method: "post"
- }, a && n.createElement(c.c, {
- onClick: i,
- text: o.a.get("auth-go-back")
- }), a && n.createElement("div", {
- className: M.a.forgotPassword
- }, n.createElement("h2", {
- className: M.a.title
- }, o.a.get("auth-forgot-password-title")), n.createElement("span", {
- className: M.a.text
- }, o.a.get("auth-forgot-password-message"))), n.createElement(r.a, {
- name: "login",
- component: c.i,
- type: "email",
- validate: s.a,
- label: o.a.get("auth-email"),
- testId: "login-user-email"
- }), !a && n.createElement(r.a, {
- name: "password",
- component: c.i,
- type: "password",
- validate: s.c,
- label: o.a.get("auth-password"),
- testId: "login-password"
- }), !a && n.createElement(r.a, {
- id: "auth-remember-me",
- name: "rememberLogin",
- className: M.a.rememberMe,
- component: c.e,
- label: o.a.get("auth-remember-me")
- }), n.createElement(c.b, {
- type: e.env.STATIC ? "button" : "submit",
- testId: "login-submit",
- buttonType: "primary"
- }, o.a.get(a ? "auth-continue" : "auth-login")), !a && n.createElement("div", {
- className: M.a.linkWrapper
- }, n.createElement("a", {
- key: "link",
- role: "link",
- tabIndex: 0,
- onClick: l,
- className: M.a.link
- }, o.a.get("auth-forgot-password"))))
- }
- }).call(this, a(63))
- },
- 34: function (e, t, a) {
- e.exports = {
- forgotPassword: "_1nhF8ZYCZ0tC6FT7WVXc_V",
- title: "cTH4mICt219wZddFotp0Z",
- text: "_1v6e36mSaja87IHQCM1MLl",
- hiddenForm: "_38HVG4lZ6pZhbiILR836ni",
- link: "_2ry6ongr5UxdjZMuNTzyL2",
- linkWrapper: "_1p306-yni1PjspZwl1IdkB",
- socialButtons: "_2ApJjSiADHGWFQO80HZBFI",
- rememberMe: "_2es6sqcWOymPu0H2KWp8Wn"
- }
- },
- 39: function (e, t, a) {
- "use strict";
- var n = a(0),
- i = a.n(n),
- r = a(15),
- o = a.n(r),
- s = a(16),
- c = a.n(s),
- l = a(12),
- M = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- },
- u = function () {
- function e(e, t) {
- for (var a = 0; a < t.length; a++) {
- var n = t[a];
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- return function (t, a, n) {
- return a && e(t.prototype, a), n && e(t, n), t
- }
- }();
- var g = new o.a({
- id: "lodgify-logo-color",
- use: "lodgify-logo-color-usage",
- viewBox: "0 0 121 25",
- content: '<symbol viewBox="0 0 121 25" id="lodgify-logo-color"><g fill="none" fill-rule="evenodd"><path fill="#FF585D" d="M0 0v25h24.948V12.5H12.474V0z" /><path fill="#2CD5C4" d="M16.216 8.75h8.732V0h-8.732z" /><path fill="#F0F0EC" d="M85.504 15.84c-.39.1-.892.161-1.332.161-2.062 0-3.501-1.44-3.501-3.501 0-2.052 1.486-3.486 3.614-3.486 1.533 0 2.669.444 3.389.779l.361.167V7.127l-.147-.068a8.948 8.948 0 0 0-3.764-.809c-3.689 0-6.47 2.687-6.47 6.25 0 3.621 2.741 6.25 6.518 6.25 1.42 0 2.983-.349 4.082-.91l.137-.07v-5.886h-2.887v3.955zm14.247 2.685h3v-4.683h3.884v-2.54h-3.884V9.046h4.613V6.474H99.75v12.051zm17.838-12.05l-2.522 4.467-2.522-4.468h-3.394l4.416 7.394v4.657h3v-4.657L121 6.474h-3.41zm-25.138 12.05h3V6.475h-3v12.05zm-37.484-2.54c-1.904 0-3.34-1.498-3.34-3.485 0-1.988 1.436-3.486 3.34-3.486s3.34 1.498 3.34 3.486c0 1.987-1.436 3.485-3.34 3.485zm0-9.735c-3.564 0-6.356 2.745-6.356 6.25 0 3.563 2.733 6.25 6.356 6.25 3.623 0 6.356-2.687 6.356-6.25 0-3.505-2.792-6.25-6.356-6.25zM68.1 15.953h-.976V9.046h.944c2.24 0 3.745 1.388 3.745 3.454 0 2.066-1.492 3.453-3.713 3.453zm0-9.479h-3.976v12.051h4.009c4.005 0 6.696-2.421 6.696-6.025 0-3.604-2.704-6.026-6.729-6.026zm-27.676 0h-3v12.051h9.124v-2.572h-6.124V6.474z" /></g></symbol>'
- });
- c.a.add(g);
- var N = function (e) {
- function t() {
- return function (e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }(this, t),
- function (e, t) {
- if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return !t || "object" != typeof t && "function" != typeof t ? e : t
- }(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments))
- }
- return function (e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
- }(t, i.a.Component), u(t, [{
- key: "render",
- value: function () {
- return i.a.createElement(l.a, M({
- glyph: "lodgify-logo-color",
- viewBox: "0 0 121 25"
- }, this.props))
- }
- }]), t
- }();
- t.a = N
- },
- 48: function (e, t, a) {
- "use strict";
- var n = a(43),
- i = a.n(n),
- r = a(41),
- o = a.n(r),
- s = a(339),
- c = a.n(s),
- l = a(3),
- M = a.n(l),
- u = function () {
- function e(e, t) {
- for (var a = 0; a < t.length; a++) {
- var n = t[a];
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- return function (t, a, n) {
- return a && e(t.prototype, a), n && e(t, n), t
- }
- }();
- var g = Symbol("translations"),
- N = Symbol("defaultLanguage"),
- d = Symbol("activeLanguage"),
- p = function () {
- function e(t) {
- ! function (e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }(this, e), this[g] = t, this[N] = t.en, this[d] = t.en, i()(this)
- }
- return u(e, [{
- key: "setCulture",
- value: function (e) {
- var t = e.toLowerCase();
- if (!c()(this[g], t)) throw new Error("Culture with code [" + e + "] cannot be found.");
- this[d] = this[g][t], void 0 !== M.a && M.a.locale(e), document.cookie = "ldgfy-culture=;path=/;expires=Wed 01 Jan 1970"
- }
- }, {
- key: "get",
- value: function (e) {
- if ("string" != typeof e) throw new Error("Key should be a string");
- return o()(this[g][window._CURRENT_LANGUAGE]) ? o()(this[d][e]) ? o()(this[N][e]) ? "[" + e + "]" : this[N][e] : this[d][e] : this[g][window._CURRENT_LANGUAGE][e] || "[" + e + "]"
- }
- }, {
- key: "getByNamespace",
- value: function (e, t) {
- if (null === e) return "[" + e + "]";
- if ("string" != typeof e) throw new Error("Key should be a string");
- return o()(this[d][t][e]) ? o()(this[N][t][e]) ? "[" + e + "]" : this[N][t][e] : this[d][t][e]
- }
- }, {
- key: "getCountry",
- value: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
- return this.getByNamespace(e, "internal-file-countries")
- }
- }, {
- key: "getLanguage",
- value: function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
- return this.getByNamespace(e, "internal-file-spokenCultures")
- }
- }, {
- key: "getCurrentLanguage",
- value: function () {
- return window._CURRENT_LANGUAGE || "en"
- }
- }]), e
- }();
- t.a = p
- },
- 56: function (e, t, a) {
- e.exports = {
- wrapper: "_2ozBEH9hxGigi4Elvl1yu6",
- input: "_1sPlyizgCf35bqc9k-gsRD",
- label: "_2ZJzBG7bGvZBF7hllA77kn"
- }
- },
- 57: function (e, t, a) {
- e.exports = {
- wrapper: "_2GLYDQJ8gZZkgRU3-9X1Ol",
- line: "_1agRNt5dkv4vCKNnc_l-A4"
- }
- },
- 58: function (e, t, a) {
- "use strict";
- var n = a(48),
- i = a(19),
- r = a.n(i),
- o = a(96),
- s = a(49),
- c = a(50),
- l = a(97),
- M = a(98),
- u = a(99),
- g = a(100),
- N = a(101),
- d = a(51),
- p = a(102),
- D = a(52),
- y = a(103),
- m = a(104),
- T = a(105),
- z = a(106),
- j = a(107),
- w = a(108),
- O = a(109),
- I = {
- "internal-file-spokenCultures": c
- },
- L = {
- "internal-file-countries": d
- },
- A = r()(o, s, I, L, l, M, u, g, N, p, D, y, m, T, z, j, w, O),
- h = a(110),
- x = a(53),
- k = a(111),
- f = a(112),
- E = a(113),
- b = a(114),
- v = a(115),
- U = a(116),
- Q = a(117),
- S = a(118),
- C = a(119),
- Y = a(120),
- B = a(121),
- P = a(122),
- R = a(123),
- q = a(124),
- G = a(125),
- F = a(126),
- V = {
- "internal-file-spokenCultures": k
- },
- K = {
- "internal-file-countries": Q
- },
- Z = r()(h, x, V, K, f, E, b, v, U, S, C, Y, B, P, R, q, G, F),
- W = a(127),
- H = a(54),
- J = a(128),
- X = a(129),
- _ = a(130),
- $ = a(131),
- ee = a(132),
- te = a(133),
- ae = a(134),
- ne = a(135),
- ie = a(136),
- re = a(137),
- oe = a(138),
- se = a(139),
- ce = a(140),
- le = a(141),
- Me = a(142),
- ue = a(143),
- ge = {
- "internal-file-spokenCultures": J
- },
- Ne = {
- "internal-file-countries": ae
- },
- de = r()(W, H, ge, Ne, X, _, $, ee, te, ne, ie, re, oe, se, ce, le, Me, ue),
- pe = a(144),
- De = a(55),
- ye = a(145),
- me = a(146),
- Te = a(147),
- ze = a(148),
- je = a(149),
- we = a(150),
- Oe = a(151),
- Ie = a(152),
- Le = a(153),
- Ae = a(154),
- he = a(155),
- xe = a(156),
- ke = a(157),
- fe = a(158),
- Ee = a(159),
- be = a(160),
- ve = {
- "internal-file-spokenCultures": ye
- },
- Ue = {
- "internal-file-countries": Oe
- },
- Qe = r()(pe, De, ve, Ue, me, Te, ze, je, we, Ie, Le, Ae, he, xe, ke, fe, Ee, be),
- Se = a(161),
- Ce = a(162),
- Ye = a(163),
- Be = a(164),
- Pe = a(165),
- Re = a(166),
- qe = a(167),
- Ge = a(168),
- Fe = a(169),
- Ve = a(170),
- Ke = a(171),
- Ze = a(172),
- We = a(173),
- He = a(174),
- Je = a(175),
- Xe = a(176),
- _e = a(177),
- $e = {
- "internal-file-spokenCultures": Ce
- },
- et = {
- "internal-file-countries": Ge
- },
- tt = r()(Se, $e, et, Ye, Ve, Be, Pe, Re, qe, Fe, Ke, Ze, We, He, Je, Xe, _e),
- at = {
- en: A,
- es: de,
- de: Z,
- it: tt,
- fr: Qe,
- getDefault: function () {
- return A
- }
- },
- nt = at,
- it = new n.a(nt);
- t.a = it
- },
- 60: function (e, t, a) {
- "use strict";
- a.d(t, "a", function () {
- return r
- }), a.d(t, "b", function () {
- return o
- });
- var n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
- return typeof e
- } : function (e) {
- return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
- };
- function i() {
- return "object" === ("undefined" == typeof sessionStorage ? "undefined" : n(sessionStorage)) && null !== sessionStorage
- }
- function r(e) {
- if (i()) {
- var t = sessionStorage.getItem(e);
- return t ? JSON.parse(t) : null
- }
- return null
- }
- function o(e, t) {
- i() && sessionStorage.setItem(e, JSON.stringify(t))
- }
- },
- 635: function (e, t, a) {
- a(416), e.exports = a(837)
- },
- 64: function (e, t, a) {
- "use strict";
- var n = a(11),
- i = a(13),
- r = a(10),
- o = Object(n.b)({
- componentDidMount: function () {
- var e = Object(r.a)("redirect_url"),
- t = this.props.setErrorMessage;
- Object(i.a)("error") && t(Object(i.c)()), e && Object(i.d)(e)
- }
- });
- t.a = Object(n.a)(o)
- },
- 66: function (e, t, a) {
- e.exports = {
- wrapper: "KDHTMvMS1h3Nv7VOiZ5Ms",
- hide: "_3ySFR1SDz9bwBVe3DfoTKY"
- }
- },
- 67: function (e, t, a) {
- e.exports = {
- notification: "_1bpLd_yZDnJnPX7l-SJoc7",
- error: "_3A2CIqvp7e6UGHpj8RKo7b",
- warn: "EqbffxQN-oplFnARm680l",
- success: "bsWFvxHxWO6cdTM7-UUE0"
- }
- },
- 68: function (e, t, a) {
- e.exports = {
- transitionlength: "150ms",
- enter: "_2VFl1VI8PKK_ESdDrIa8su",
- appear: "_1M7AuayuSe02L01VP4CTlU",
- enterActive: "_3cDLdCli0d7bzKULsOA7MW",
- appearActive: "eNqRFCzSafdxJTeGzPUf2",
- leave: "_1IpExklNq42qStq8_9MzJ2",
- leaveActive: "_2byDuq1OX-VxJ8LtaXDI2S"
- }
- },
- 69: function (e, t, a) {
- e.exports = {
- wrapper: "xp_bzpJ-JtS1Rl3dGucA2",
- hide: "_3WkC80al7CLSL4sBYAbxv7"
- }
- },
- 7: function (e, t, a) {
- e.exports = {
- wrapper: "_3oY86DM3DL3Yp4GKMkCpIO",
- logo: "_2tL6cnRGQvhomYawM7xei_",
- main: "_2e6tOkOS_6YCLOzA7mot5s",
- formWrapper: "_1ix29kLrCGCbzAlbMoxV1I",
- form: "NGKAhpTfVe7vrGhtbrNew",
- footerLink: "_2ikee4MPKAcd8FWg6dFyzx",
- errorMessage: "_3ZKUgg7F1jyS2NIRdYCKil",
- formTitle: "_2itCpwZRwxgNj7bOW3sDl7"
- }
- },
- 71: function (e, t, a) {},
- 8: function (e, t, a) {
- "use strict";
- var n = a(0),
- i = a.n(n),
- r = a(6),
- o = a.n(r),
- s = a(17),
- c = a.n(s);
- function l(e, t, a) {
- return t in e ? Object.defineProperty(e, t, {
- value: a,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = a, e
- }
- var M = function (e) {
- var t, a = e.type,
- i = e.buttonType,
- r = e.children,
- s = e.disabled,
- M = e.isLoading,
- u = e.testId,
- g = e.onClick;
- return n.createElement("button", {
- "data-testid": u,
- type: a,
- className: o()(c.a.wrapper, (t = {}, l(t, c.a[i], !0), l(t, c.a.disabled, s), l(t, c.a.isLoading, M), t)),
- onClick: g
- }, r)
- };
- M.defaultProps = {
- onClick: function () {},
- type: "button",
- disabled: !1,
- isLoading: !1,
- testId: ""
- };
- var u = a(43),
- g = a.n(u),
- N = a(88),
- d = a(28),
- p = a(14),
- D = function () {
- function e(e, t) {
- for (var a = 0; a < t.length; a++) {
- var n = t[a];
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- return function (t, a, n) {
- return a && e(t.prototype, a), n && e(t, n), t
- }
- }();
- var y = function (e) {
- function t(e) {
- ! function (e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }(this, t);
- var a = function (e, t) {
- if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return !t || "object" != typeof t && "function" != typeof t ? e : t
- }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));
- a.state = {
- isLoading: !1
- }, a.handleClick = function () {
- a.setState({
- isLoading: !0
- }), a.timeout = setTimeout(a.resetLoadingButton, 15e3), Object(p.a)() && !p.b ? a.oidcManager.signinPopup().then(a.clearTimeout).catch(a.clearTimeout) : a.oidcManager.signinRedirect()
- }, g()(a);
- var n = {
- authority: e.authority || Object(d.b)(),
- client_id: e.client_id,
- redirect_uri: e.redirect_uri,
- response_type: e.response_type,
- scope: e.scope,
- acr_values: e.acr_values || void 0,
- extraQueryParams: e.extraQueryParams || {}
- };
- return Object(p.a)() && !p.b && (n.popupNavigator = new N.CordovaPopupNavigator, n.popup_redirect_uri = e.redirect_uri, n.popupWindowTarget = "_system"), a.oidcManager = new N.UserManager(n), a
- }
- return function (e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
- }(t, n["Component"]), D(t, [{
- key: "resetLoadingButton",
- value: function () {
- this.setState({
- isLoading: !1
- })
- }
- }, {
- key: "clearTimeout",
- value: function (e) {
- function t() {
- return e.apply(this, arguments)
- }
- return t.toString = function () {
- return e.toString()
- }, t
- }(function () {
- this.resetLoadingButton(), this.timeout && (clearTimeout(this.timeout), this.timeout = null)
- })
- }, {
- key: "render",
- value: function () {
- var e = this.state.isLoading,
- t = this.props,
- a = t.children,
- i = t.className,
- r = t.testId;
- return n.createElement("button", {
- type: "button",
- "data-testid": r,
- disabled: e,
- className: o()(i, function (e, t, a) {
- return t in e ? Object.defineProperty(e, t, {
- value: a,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = a, e
- }({}, c.a.isLoading, e)),
- onClick: this.handleClick
- }, a)
- }
- }]), t
- }();
- y.defaultProps = {
- acrValues: null,
- className: "",
- children: null,
- testId: ""
- };
- var m = a(15),
- T = a.n(m),
- z = a(16),
- j = a.n(z),
- w = a(12),
- O = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- },
- I = function () {
- function e(e, t) {
- for (var a = 0; a < t.length; a++) {
- var n = t[a];
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- return function (t, a, n) {
- return a && e(t.prototype, a), n && e(t, n), t
- }
- }();
- var L = new T.a({
- id: "facebook",
- use: "facebook-usage",
- viewBox: "0 0 96.124 96.123",
- content: '<symbol viewBox="0 0 96.124 96.123" id="facebook"><path d="M72.089,0.02L59.624,0C45.62,0,36.57,9.285,36.57,23.656v10.907H24.037c-1.083,0-1.96,0.878-1.96,1.961v15.803 c0,1.083,0.878,1.96,1.96,1.96h12.533v39.876c0,1.083,0.877,1.96,1.96,1.96h16.352c1.083,0,1.96-0.878,1.96-1.96V54.287h14.654 c1.083,0,1.96-0.877,1.96-1.96l0.006-15.803c0-0.52-0.207-1.018-0.574-1.386c-0.367-0.368-0.867-0.575-1.387-0.575H56.842v-9.246 c0-4.444,1.059-6.7,6.848-6.7l8.397-0.003c1.082,0,1.959-0.878,1.959-1.96V1.98C74.046,0.899,73.17,0.022,72.089,0.02z" /></symbol>'
- });
- j.a.add(L);
- var A = function (e) {
- function t() {
- return function (e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }(this, t),
- function (e, t) {
- if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return !t || "object" != typeof t && "function" != typeof t ? e : t
- }(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments))
- }
- return function (e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
- }(t, i.a.Component), I(t, [{
- key: "render",
- value: function () {
- return i.a.createElement(w.a, O({
- glyph: "facebook",
- viewBox: "0 0 96.124 96.123"
- }, this.props))
- }
- }]), t
- }(),
- h = a(2),
- x = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- };
- var k = function (e) {
- var t = e.text,
- a = e.disabled,
- i = e.onClick,
- r = function (e, t) {
- var a = {};
- for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
- return a
- }(e, ["text", "disabled", "onClick"]);
- return n.createElement(y, x({
- className: o()(c.a.facebook, function (e, t, a) {
- return t in e ? Object.defineProperty(e, t, {
- value: a,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = a, e
- }({}, c.a.disabled, a)),
- onClick: i
- }, h.c, r), n.createElement(A, null), t)
- };
- k.defaultProps = {
- onClick: function () {},
- disabled: !1
- };
- var f = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- },
- E = function () {
- function e(e, t) {
- for (var a = 0; a < t.length; a++) {
- var n = t[a];
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- return function (t, a, n) {
- return a && e(t.prototype, a), n && e(t, n), t
- }
- }();
- var b = new T.a({
- id: "google",
- use: "google-usage",
- viewBox: "0 0 400 400",
- content: '<symbol viewBox="0 0 400 400" id="google"><path d="M142.9,24.2C97.6,39.7,59,73.6,37.5,116.5c-7.5,14.8-12.9,30.5-16.2,46.8c-8.2,40.4-2.5,83.5,16.1,120.3 c12.1,24,29.5,45.4,50.5,62.1c19.9,15.8,43,27.6,67.6,34.1c31,8.3,64,8.1,95.2,1c28.2-6.5,54.9-20,76.2-39.6 c22.5-20.7,38.6-47.9,47.1-77.2c9.3-31.9,10.5-66,4.7-98.8c-58.3,0-116.7,0-175,0c0,24.2,0,48.4,0,72.6c33.8,0,67.6,0,101.4,0 c-3.9,23.2-17.7,44.4-37.2,57.5c-12.3,8.3-26.4,13.6-41,16.2c-14.6,2.5-29.8,2.8-44.4-0.1c-14.9-3-29-9.2-41.4-17.9 c-19.8-13.9-34.9-34.2-42.6-57.1c-7.9-23.3-8-49.2,0-72.4c5.6-16.4,14.8-31.5,27-43.9c15-15.4,34.5-26.4,55.6-30.9 c18-3.8,37-3.1,54.6,2.2c15,4.5,28.8,12.8,40.1,23.6c11.4-11.4,22.8-22.8,34.2-34.2c6-6.1,12.3-12,18.1-18.3 c-17.3-16-37.7-28.9-59.9-37.1C228.2,10.6,183.2,10.3,142.9,24.2z" fill="#FFFFFF" /><path d="M142.9,24.2c40.2-13.9,85.3-13.6,125.3,1.1c22.2,8.2,42.5,21,59.9,37.1c-5.8,6.3-12.1,12.2-18.1,18.3 c-11.4,11.4-22.8,22.8-34.2,34.2c-11.3-10.8-25.1-19-40.1-23.6c-17.6-5.3-36.6-6.1-54.6-2.2c-21,4.5-40.5,15.5-55.6,30.9 c-12.2,12.3-21.4,27.5-27,43.9c-20.3-15.8-40.6-31.5-61-47.3C59,73.6,97.6,39.7,142.9,24.2z" fill="#EA4335" /><path d="M21.4,163.2c3.3-16.2,8.7-32,16.2-46.8c20.3,15.8,40.6,31.5,61,47.3c-8,23.3-8,49.2,0,72.4 c-20.3,15.8-40.6,31.6-60.9,47.3C18.9,246.7,13.2,203.6,21.4,163.2z" fill="#FBBC05" /><path d="M203.7,165.1c58.3,0,116.7,0,175,0c5.8,32.7,4.5,66.8-4.7,98.8c-8.5,29.3-24.6,56.5-47.1,77.2 c-19.7-15.3-39.4-30.6-59.1-45.9c19.5-13.1,33.3-34.3,37.2-57.5c-33.8,0-67.6,0-101.4,0C203.7,213.5,203.7,189.3,203.7,165.1z" fill="#4285F4" /><path d="M37.5,283.5c20.3-15.7,40.6-31.5,60.9-47.3c7.8,22.9,22.8,43.2,42.6,57.1c12.4,8.7,26.6,14.9,41.4,17.9 c14.6,3,29.7,2.6,44.4,0.1c14.6-2.6,28.7-7.9,41-16.2c19.7,15.3,39.4,30.6,59.1,45.9c-21.3,19.7-48,33.1-76.2,39.6 c-31.2,7.1-64.2,7.3-95.2-1c-24.6-6.5-47.7-18.2-67.6-34.1C67,328.9,49.6,307.5,37.5,283.5z" fill="#34A853" /></symbol>'
- });
- j.a.add(b);
- var v = function (e) {
- function t() {
- return function (e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }(this, t),
- function (e, t) {
- if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return !t || "object" != typeof t && "function" != typeof t ? e : t
- }(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments))
- }
- return function (e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
- }(t, i.a.Component), E(t, [{
- key: "render",
- value: function () {
- return i.a.createElement(w.a, f({
- glyph: "google",
- viewBox: "0 0 400 400"
- }, this.props))
- }
- }]), t
- }(),
- U = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- };
- var Q = function (e) {
- var t = e.text,
- a = e.disabled,
- i = e.onClick,
- r = function (e, t) {
- var a = {};
- for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
- return a
- }(e, ["text", "disabled", "onClick"]);
- return n.createElement(y, U({
- className: o()(c.a.google, function (e, t, a) {
- return t in e ? Object.defineProperty(e, t, {
- value: a,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = a, e
- }({}, c.a.disabled, a)),
- onClick: i
- }, h.d, r), n.createElement(v, null), t)
- };
- Q.defaultProps = {
- onClick: function () {},
- disabled: !1
- };
- var S = a(66),
- C = a.n(S);
- var Y = function (e) {
- var t = e.text,
- a = e.show,
- i = e.className,
- r = e.onClick;
- return n.createElement("div", {
- className: o()(C.a.wrapper, i, function (e, t, a) {
- return t in e ? Object.defineProperty(e, t, {
- value: a,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = a, e
- }({}, C.a.hide, !a))
- }, n.createElement("a", {
- role: "link",
- tabIndex: 0,
- onClick: r
- }, t))
- };
- Y.defaultProps = {
- className: null,
- text: "",
- show: !0
- };
- var B = a(21),
- P = function (e) {
- var t = e.authLoading,
- a = e.onClick,
- i = e.children,
- r = e.type,
- o = e.testId,
- s = e.disabled;
- return n.createElement(M, {
- type: r,
- onClick: a,
- isLoading: t,
- disabled: s || t,
- buttonType: "primary",
- testId: o
- }, i)
- };
- P.defaultProps = {
- onClick: function () {},
- type: "button",
- disabled: !1,
- testId: ""
- };
- var R = Object(B.connect)(function (e) {
- return {
- authLoading: e.account.auth.isLoading
- }
- })(P),
- q = a(18),
- G = a.n(q),
- F = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- };
- function V(e, t, a) {
- return t in e ? Object.defineProperty(e, t, {
- value: a,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = a, e
- }
- var K = function (e) {
- var t, a = e.input,
- i = e.label,
- r = e.type,
- s = e.testId,
- c = e.displayErrorMessages,
- l = e.meta,
- M = l.touched,
- u = l.error,
- g = l.warning;
- return n.createElement("div", {
- className: G.a.input
- }, n.createElement("input", F({
- "data-testid": s,
- placeholder: i,
- type: r,
- className: o()((t = {}, V(t, G.a.error, M && u), V(t, G.a.warning, M && g), t))
- }, a)), M && c && (u && n.createElement("span", {
- className: G.a.error
- }, u) || g && n.createElement("span", {
- className: G.a.warning
- }, g)))
- };
- K.defaultProps = {
- testId: null,
- label: "",
- type: "text",
- displayErrorMessages: !1
- };
- var Z = a(340),
- W = a.n(Z),
- H = a(188),
- J = a.n(H),
- X = a(189),
- _ = a.n(X),
- $ = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- },
- ee = function () {
- function e(e, t) {
- for (var a = 0; a < t.length; a++) {
- var n = t[a];
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- return function (t, a, n) {
- return a && e(t.prototype, a), n && e(t, n), t
- }
- }();
- function te(e, t, a) {
- return t in e ? Object.defineProperty(e, t, {
- value: a,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = a, e
- }
- function ae(e, t) {
- if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return !t || "object" != typeof t && "function" != typeof t ? e : t
- }
- var ne = function (e) {
- function t() {
- var e, a, n;
- ! function (e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }(this, t);
- for (var i = arguments.length, r = Array(i), o = 0; o < i; o++) r[o] = arguments[o];
- return a = n = ae(this, (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(e, [this].concat(r))), n._handleChange = function (e, t) {
- n.props.input.onChange({
- phoneNumber: e,
- dialCode: t.dialCode
- })
- }, n._handleBlur = function (e, t) {
- n.props.input.onBlur({
- phoneNumber: e,
- dialCode: t.dialCode
- })
- }, ae(n, a)
- }
- return function (e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
- }(t, n["Component"]), ee(t, [{
- key: "render",
- value: function () {
- var e, t = this.props,
- a = t.input,
- i = t.testId,
- r = t.meta,
- s = t.defaultCountry,
- c = function (e, t) {
- var a = {};
- for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
- return a
- }(t, ["input", "testId", "meta", "defaultCountry"]);
- return n.createElement("div", {
- className: G.a.input
- }, n.createElement(W.a, $({
- classNames: o()(_.a.input, (e = {}, te(e, G.a.error, r.touched && r.error), te(e, G.a.warning, r.touched && r.warning), e)),
- inputProps: {
- name: a.name,
- "data-testid": i
- },
- defaultCountry: "en" === s ? "us" : s,
- value: a.value,
- flagsImagePath: J.a,
- onBlur: this._handleBlur,
- onChange: this._handleChange
- }, c)))
- }
- }]), t
- }();
- ne.defaultProps = {
- testId: "",
- defaultCountry: "us"
- };
- var ie = a(56),
- re = a.n(ie),
- oe = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- },
- se = function (e) {
- var t = e.input,
- a = e.label,
- i = e.id,
- r = e.className,
- s = e.displayErrorMessages,
- c = e.meta,
- l = c.touched,
- M = c.error,
- u = c.warning,
- g = e.testId;
- return n.createElement("div", {
- className: o()(re.a.wrapper, r)
- }, n.createElement("input", oe({
- className: re.a.input,
- id: i,
- type: "checkbox"
- }, t, {
- defaultChecked: t.value,
- "data-testid": g
- })), n.createElement("label", {
- className: re.a.label,
- htmlFor: i
- }, a), l && s && (M && n.createElement("span", {
- className: G.a.error
- }, M) || u && n.createElement("span", {
- className: G.a.warning
- }, u)))
- };
- se.defaultProps = {
- label: "",
- info: "",
- className: "",
- displayErrorMessages: !1,
- testId: ""
- };
- a(57);
- var ce = a(72),
- le = a.n(ce),
- Me = a(73),
- ue = a.n(Me),
- ge = a(342),
- Ne = a.n(ge),
- de = a(341),
- pe = a(67),
- De = a.n(pe),
- ye = a(68),
- me = a.n(ye);
- function Te(e, t, a) {
- return t in e ? Object.defineProperty(e, t, {
- value: a,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = a, e
- }
- var ze = parseInt(me.a.transitionlength, 10),
- je = function (e) {
- var t = e.formMeta,
- a = e.formSyncErrors,
- i = e.formSyncWarnings,
- r = e.storeErrorMessage,
- s = e.storeSuccessMessage,
- c = e.className,
- l = [];
- return r && l.push({
- storeErrorMessage: r,
- type: "error"
- }), s && l.push({
- storeSuccessMessage: s,
- type: "success"
- }), Object.keys(a).forEach(function (e) {
- var n;
- t[e] && t[e].touched && l.push((Te(n = {}, e, a[e]), Te(n, "type", "error"), n))
- }), Object.keys(i).forEach(function (e) {
- var a;
- t[e] && t[e].touched && l.push((Te(a = {}, e, i[e]), Te(a, "type", "warn"), a))
- }), n.createElement(de.CSSTransitionGroup, {
- className: o()(De.a.notification, c),
- component: "div",
- transitionName: me.a,
- transitionEnterTimeout: ze,
- transitionLeaveTimeout: ze
- }, l.map(function (e) {
- return n.createElement("div", {
- className: De.a[e.type],
- key: Object.keys(e)[0]
- }, n.createElement("span", null, e[Object.keys(e)[0]]))
- }))
- };
- je.defaultProps = {
- storeErrorMessage: "",
- storeSuccessMessage: "",
- className: ""
- };
- var we = Object(B.connect)(function (e, t) {
- var a = t.form;
- return {
- formMeta: le()(a)(e) || {},
- formSyncErrors: ue()(a)(e) || {},
- formSyncWarnings: Ne()(a)(e) || {}
- }
- })(je),
- Oe = a(5),
- Ie = a.n(Oe),
- Le = a(74),
- Ae = a.n(Le),
- he = a(202),
- xe = a.n(he),
- ke = a(69),
- fe = a.n(ke);
- var Ee = function (e) {
- var t = e.text,
- a = e.show,
- i = e.className,
- r = e.onClick;
- return n.createElement("div", {
- className: o()(fe.a.wrapper, i, function (e, t, a) {
- return t in e ? Object.defineProperty(e, t, {
- value: a,
- enumerable: !0,
- configurable: !0,
- writable: !0
- }) : e[t] = a, e
- }({}, fe.a.hide, !a))
- }, n.createElement("a", {
- role: "link",
- tabIndex: 0,
- onClick: r
- }, t))
- };
- Ee.defaultProps = {
- className: null,
- text: "",
- show: !0
- };
- var be = a(23),
- ve = a.n(be),
- Ue = function (e) {
- var t = e.currentStep,
- a = e.totalSteps,
- i = e.showBack,
- r = e.showIndicator,
- o = e.onBackClick,
- s = e.backButtonText;
- return n.createElement("div", {
- className: ve.a.navigation
- }, n.createElement(Ee, {
- className: ve.a.back,
- show: i,
- text: s,
- onClick: o
- }), r ? n.createElement("div", null, n.createElement("span", {
- className: ve.a.current
- }, " ", t, " "), " /", n.createElement("span", null, " ", a, " "), n.createElement("div", {
- className: ve.a.bar
- }, n.createElement("div", {
- className: ve.a.fillBar,
- style: {
- width: t / a * 100 + "%"
- }
- }))) : null)
- };
- Ue.defaultProps = {
- showBack: !0,
- showIndicator: !0
- };
- var Qe = a(190),
- Se = a.n(Qe),
- Ce = a(191),
- Ye = a.n(Ce),
- Be = a(1);
- var Pe = function (e) {
- var t = e.InnerComponent,
- a = e.handleSubmit,
- i = function (e, t) {
- var a = {};
- for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
- return a
- }(e, ["InnerComponent", "handleSubmit"]);
- return n.createElement("form", {
- className: ve.a.step,
- onSubmit: a,
- method: "post"
- }, n.createElement(t, i))
- };
- Pe.propTypes = {
- InnerComponent: Ie.a.func.isRequired,
- handleSubmit: Ie.a.func.isRequired
- };
- var Re = function () {
- function e(e, t) {
- for (var a = 0; a < t.length; a++) {
- var n = t[a];
- n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
- }
- }
- return function (t, a, n) {
- return a && e(t.prototype, a), n && e(t, n), t
- }
- }(),
- qe = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- };
- function Ge(e, t) {
- if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
- return !t || "object" != typeof t && "function" != typeof t ? e : t
- }
- var Fe = {
- left: Se.a,
- right: Ye.a
- },
- Ve = function (e) {
- return function (t) {
- var a = Ae()(qe({}, e, {
- destroyOnUnmount: !1,
- forceUnregisterOnUnmount: !0
- }))(Pe),
- i = function (e) {
- function i() {
- var e, a, n;
- ! function (e, t) {
- if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
- }(this, i);
- for (var r = arguments.length, o = Array(r), s = 0; s < r; s++) o[s] = arguments[s];
- return a = n = Ge(this, (e = i.__proto__ || Object.getPrototypeOf(i)).call.apply(e, [this].concat(o))), n.state = {
- currentStep: 0,
- animationDirection: "left"
- }, n.onNextStep = function () {
- var e = n.state.currentStep + 1;
- n.isValidStep(e) && n.setState({
- currentStep: e,
- animationDirection: "left"
- })
- }, n.onPreviousStep = function () {
- var e = n.state.currentStep - 1;
- n.isValidStep(e) && n.setState({
- currentStep: e,
- animationDirection: "right"
- })
- }, n.onGoToStep = function (e) {
- n.isValidStep(e) && n.setState({
- currentStep: e,
- animationDirection: e > n.state.currentStep ? "left" : "right"
- })
- }, n.onSubmit = function (e) {
- return n.state.currentStep === n.stepSize - 1 ? n.props.onWizardComplete(e) : n.onNextStep()
- }, n.onBack = function () {
- var e = n.props.onWizardBack;
- return "function" == typeof e ? e(n.state.currentStep, n.onPreviousStep, n.onGoToStep) : n.onPreviousStep()
- }, n.stepSize = t.length, Ge(n, a)
- }
- return function (e, t) {
- if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
- e.prototype = Object.create(t && t.prototype, {
- constructor: {
- value: e,
- enumerable: !1,
- writable: !0,
- configurable: !0
- }
- }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
- }(i, n["Component"]), Re(i, [{
- key: "shouldComponentUpdate",
- value: function (e, t) {
- var a = this.state,
- n = a.currentStep,
- i = a.animationDirection;
- return t.currentStep !== n || t.animationDirection !== i
- }
- }, {
- key: "isValidStep",
- value: function (e) {
- return e >= 0 && e < this.stepSize
- }
- }, {
- key: "renderStep",
- value: function (e) {
- var a = this.state,
- i = a.currentStep,
- r = a.animationDirection,
- o = t[i];
- return n.createElement(xe.a, {
- component: "div",
- className: ve.a.animationWrapper,
- transitionName: Fe[r],
- transitionAppear: 0 !== i,
- transitionAppearTimeout: 700,
- transitionEnterTimeout: 700,
- transitionLeaveTimeout: 700
- }, n.createElement(o, qe({}, this.props, e)))
- }
- }, {
- key: "render",
- value: function () {
- var e = this,
- t = this.props.className,
- i = this.state.currentStep;
- return n.createElement("div", {
- className: t || ve.a.wrapper
- }, n.createElement(a, qe({}, this.props, {
- InnerComponent: function (t) {
- return e.renderStep(t)
- },
- onNextStep: this.onNextStep,
- onPreviousStep: this.onPreviousStep,
- onGoToStep: this.onGoToStep,
- onSubmit: this.onSubmit
- })), n.createElement(Ue, {
- showBack: 0 !== i,
- showIndicator: 0 !== i,
- currentStep: i + 1,
- totalSteps: this.stepSize,
- onBackClick: this.onBack,
- backButtonText: Be.a.get("auth-go-back")
- }))
- }
- }]), i
- }();
- return i.propTypes = {
- className: Ie.a.string,
- onWizardBack: Ie.a.func,
- onWizardComplete: Ie.a.func.isRequired
- }, i.defaultProps = {
- className: "",
- onWizardBack: function () {}
- }, i
- }
- };
- a.d(t, "d", function () {
- return M
- }), a.d(t, !1, function () {
- return y
- }), a.d(t, "f", function () {
- return k
- }), a.d(t, "g", function () {
- return Q
- }), a.d(t, "c", function () {
- return Y
- }), a.d(t, "b", function () {
- return R
- }), a.d(t, "i", function () {
- return K
- }), a.d(t, "h", function () {
- return ne
- }), a.d(t, "e", function () {
- return se
- }), a.d(t, !1, function () {}), a.d(t, "a", function () {
- return we
- }), a.d(t, "j", function () {
- return Ve
- })
- },
- 837: function (e, t, a) {
- "use strict";
- a.r(t),
- function (e) {
- var n = a(0),
- i = a.n(n),
- r = a(199),
- o = a.n(r),
- s = a(21),
- c = a(332),
- l = a(192),
- M = function () {
- return i.a.createElement(s.Provider, {
- store: l.a
- }, i.a.createElement(c.a, null))
- };
- e.env.STATIC || o.a.render(i.a.createElement(M, null), document.getElementById("app")), t.default = M
- }.call(this, a(63))
- },
- 9: function (e, t, a) {
- "use strict";
- var n = a(60),
- i = a(343),
- r = function (e) {
- return function (t) {
- return t(Object(i.push)(e))
- }
- },
- o = a(14),
- s = a(24),
- c = a.n(s),
- l = a(30),
- M = a(28),
- u = c.a.create({
- baseURL: Object(M.b)(),
- withCredentials: !0
- });
- function g(e) {
- return {
- code: e.data.status || e.status || "",
- type: Object(l.a)(e.status),
- message: e.data.message || null,
- redirectUrl: e.data.redirect_url || null
- }
- }
- u.interceptors.response.use(function (e) {
- return e.data.success ? Promise.resolve(e) : Promise.reject(g(e))
- }, function (e) {
- return Promise.reject(g(e.response))
- });
- var N = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
- return typeof e
- } : function (e) {
- return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
- },
- d = c.a.create({
- baseURL: Object(M.a)(!0),
- headers: {
- "X-ApiInternalKey": "2181f8c1-bde4-4493-aecf-407fbd2354ab"
- }
- });
- function p(e) {
- var t = e.data,
- a = void 0 === t ? {} : t;
- return {
- code: a.Message || a.status || "",
- message: a.message || null
- }
- }
- d.interceptors.response.use(function (e) {
- return "object" !== N(e.data) || e.data.succeeded || e.data.success ? Promise.resolve(e) : Promise.reject(p(e))
- }, function (e) {
- return Promise.reject(p(e.response))
- });
- var D = a(20);
- function y() {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
- t = e.data && e.data.error && e.data.error.message,
- a = e.data && e.data.error && e.data.error.type;
- return {
- type: 200 !== e.status ? Object(l.a)(e.status) : a,
- message: t || e.statusText || D.b.SERVER_UNEXPECTED
- }
- }
- c.a.create({
- withCredentials: !0
- }).interceptors.response.use(function (e) {
- return e.data.success ? Promise.resolve(e) : Promise.reject(y(e))
- }, function (e) {
- return Promise.reject(y(e.response))
- });
- c.a.create({
- headers: {
- Authorization: "Bearer mock_token"
- }
- });
- var m = c.a.create({
- baseURL: Object(M.a)(!0)
- }),
- T = function (e) {
- var t = window.cordova ? {
- headers: {
- NoSameSite: "True"
- }
- } : {};
- return u.post("/account/login", e, t)
- },
- z = function (e) {
- return u.post("/account/confirm", {
- password: e
- })
- },
- j = function (e) {
- return d.post("/v1/accounts/reset-password", e)
- },
- w = function (e) {
- return d.post("/v1/accounts", e, {
- withCredentials: !0
- })
- },
- O = function (e) {
- return d.post("/v1/accounts/token-external-signup", e, {
- headers: {
- Authorization: "Bearer " + e.token
- },
- withCredentials: !0
- })
- },
- I = function (e) {
- return d.post("/v1/accounts/" + e + "/confirm", null, {
- withCredentials: !0
- })
- },
- L = function (e) {
- return m.get("/v1/bookingsuite/info?connection_id=" + e, {
- withCredentials: !1,
- headers: {
- "X-ApiInternalKey": null
- }
- }).then(function (e) {
- return e.data
- })
- },
- A = a(2),
- h = a(13);
- var x = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- };
- function k(e, t, a) {
- var n = window.dataLayer;
- if (void 0 !== window.google_tag_manager && void 0 !== n) {
- var i = {
- event: "s_track",
- s_event: e,
- s_properties: t
- },
- r = {};
- null != a && (r = {
- eventCallback: a,
- eventTimeout: 2e3
- }), n.push(x({}, i, r))
- } else null != a && a()
- }
- var f = "logged in",
- E = "signup completed",
- b = "signup confirmed";
- a.d(t, "a", function () {
- return X
- }), a.d(t, "d", function () {
- return _
- }), a.d(t, "e", function () {
- return $
- }), a.d(t, "c", function () {
- return ee
- }), a.d(t, "f", function () {
- return te
- });
- var v = Object.assign || function (e) {
- for (var t = 1; t < arguments.length; t++) {
- var a = arguments[t];
- for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
- }
- return e
- };
- function U(e) {
- return function () {
- var t = e.apply(this, arguments);
- return new Promise(function (e, a) {
- return function n(i, r) {
- try {
- var o = t[i](r),
- s = o.value
- } catch (e) {
- return void a(e)
- }
- if (!o.done) return Promise.resolve(s).then(function (e) {
- n("next", e)
- }, function (e) {
- n("throw", e)
- });
- e(s)
- }("next")
- })
- }
- }
- var Q = {
- authenticated: !!localStorage.getItem("token"),
- error: !1,
- message: "",
- isLoading: !1,
- isIdentityRequestSuccess: !1,
- isIdentityRequestFail: !1
- },
- S = "AUTH_REQUEST",
- C = "AUTH_SUCCESS",
- Y = "AUTH_FAIL",
- B = "AUTH_IDENTITY_CONFIRMATION_REQUEST",
- P = "AUTH_IDENTITY_CONFIRMATION_SUCCESS",
- R = "AUTH_IDENTITY_CONFIRMATION_FAIL",
- q = "AUTH_SIGNUP_REQUEST",
- G = "AUTH_SIGNUP_SUCCESS",
- F = "AUTH_SIGNUP_FAIL",
- V = "UNAUTH_USER",
- K = "AUTH_FORGOT_REQUEST",
- Z = "AUTH_FORGOT_PASS_SUCCESS",
- W = "AUTH_FORGOT_PASS_FAIL",
- H = "AUTH_CLEAR_NOTIFICATIONS",
- J = "AUTH_SWITCH_VIEW",
- X = (t.b = function () {
- var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Q,
- t = arguments[1];
- switch (t.type) {
- case S:
- return v({}, e, {
- isLoading: !0,
- error: !1,
- message: ""
- });
- case C:
- return v({}, e, {
- error: !1,
- message: "",
- authenticated: !0
- });
- case Y:
- return v({}, e, {
- error: !0,
- message: t.message,
- isLoading: !1
- });
- case B:
- return v({}, e, {
- isLoading: !0,
- error: !1,
- message: ""
- });
- case P:
- return v({}, e, {
- error: !1,
- message: "",
- isLoading: !1,
- isIdentityRequestSuccess: !0,
- isIdentityRequestFail: !1
- });
- case R:
- return v({}, e, {
- error: !0,
- message: t.message,
- isLoading: !1,
- isIdentityRequestSuccess: !1,
- isIdentityRequestFail: !0
- });
- case q:
- return v({}, e, {
- isLoading: !0
- });
- case G:
- return v({}, e, {
- error: !1,
- message: "",
- isLoading: !1
- });
- case F:
- return v({}, e, {
- error: !0,
- message: t.message,
- isLoading: !1
- });
- case V:
- return v({}, e, {
- error: !1,
- message: "",
- authenticated: !1,
- isLoading: !1
- });
- case K:
- return v({}, e, {
- isLoading: !0
- });
- case Z:
- return v({}, e, {
- error: !1,
- message: t.message,
- isLoading: !1
- });
- case W:
- return v({}, e, {
- error: !0,
- message: t.message,
- isLoading: !1
- });
- case H:
- return v({}, e, {
- error: !1,
- message: "",
- isLoading: !1
- });
- default:
- return e
- }
- }, {
- displayErrorNotification: function (e) {
- return {
- type: F,
- message: e
- }
- },
- signoutUser: function () {
- return function (e) {
- localStorage.removeItem("token"), document.dispatchEvent(new CustomEvent("disablePushNotifications")), e({
- type: V
- }), Object(o.a)() ? e(r(A.e.authLogin)) : Object(h.d)(A.g.marketingLogout)
- }
- },
- signIn: function (e) {
- return function () {
- var t = U(regeneratorRuntime.mark(function t(a) {
- var n, i, s, c;
- return regeneratorRuntime.wrap(function (t) {
- for (;;) switch (t.prev = t.next) {
- case 0:
- return t.prev = 0, a({
- type: S
- }), t.next = 4, T(e);
- case 4:
- n = t.sent, i = n.data.token, s = n.data.redirect_url, localStorage.setItem("token", i), c = function () {
- Object(o.a)() ? (document.dispatchEvent(new CustomEvent("enablePushNotifications")), a(r("/"))) : Object(h.d)(s)
- }, a({
- type: C
- }), k(f, {
- user_id: n.data.user_id,
- email: n.data.email,
- login_method: "email",
- login_date: (new Date).toISOString(),
- timestamp: (new Date).toISOString()
- }, c), t.next = 17;
- break;
- case 13:
- t.prev = 13, t.t0 = t.catch(0), t.t0.redirectUrl && Object(h.d)(t.t0.redirectUrl), a({
- type: Y,
- message: A.a[t.t0.code] || A.a.Generic
- });
- case 17:
- case "end":
- return t.stop()
- }
- }, t, void 0, [
- [0, 13]
- ])
- }));
- return function (e) {
- return t.apply(this, arguments)
- }
- }()
- },
- signInWithExistingToken: function (e, t, a) {
- return function (n) {
- localStorage.setItem("token", e), document.dispatchEvent(new CustomEvent("enablePushNotifications"));
- var i = function () {
- Object(o.a)() ? n(r("/")) : t && Object(h.d)(t)
- };
- n({
- type: C
- }), a ? k(f, {
- user_id: a.user_id,
- login_method: a.social_provider,
- login_date: (new Date).toISOString(),
- timestamp: (new Date).toISOString()
- }, i) : i()
- }
- },
- signUp: function (e) {
- return function () {
- var t = U(regeneratorRuntime.mark(function t(a) {
- var i, s, c;
- return regeneratorRuntime.wrap(function (t) {
- for (;;) switch (t.prev = t.next) {
- case 0:
- return t.prev = 0, a({
- type: q
- }), t.next = 4, w(v({}, e, {
- phone: e.phone.replace("+" + e.phone_country_code, "").replace(/[^\w]|[\s]/gi, "")
- }));
- case 4:
- i = t.sent, s = i.data, Object(n.b)("signupEmail", e.email), c = function () {
- Object(o.a)() ? a(r(A.e.authRegisterSuccess)) : Object(h.d)(A.g.marketingSignUpSuccess + "/?userId=" + s)
- }, a({
- type: G
- }), k(E, {
- signup_method: "email",
- email: e.email,
- first_name: e.first_name,
- last_name: e.last_name,
- user_status: "Trial Active",
- signup_complete_date: (new Date).toISOString(),
- plan_type: e.selected_plan,
- user_id: s,
- timestamp: (new Date).toISOString()
- }, c), t.next = 15;
- break;
- case 12:
- t.prev = 12, t.t0 = t.catch(0), a({
- type: F,
- message: A.a[t.t0.code] || A.a.Generic
- });
- case 15:
- case "end":
- return t.stop()
- }
- }, t, void 0, [
- [0, 12]
- ])
- }));
- return function (e) {
- return t.apply(this, arguments)
- }
- }()
- },
- signUpSocial: function (e) {
- return function () {
- var t = U(regeneratorRuntime.mark(function t(a) {
- var n, i, s, c;
- return regeneratorRuntime.wrap(function (t) {
- for (;;) switch (t.prev = t.next) {
- case 0:
- return t.prev = 0, a({
- type: q
- }), t.next = 4, O(v({}, e, {
- phone: e.phone.replace("+" + e.phone_country_code, "").replace(/[^\w]|[\s]/gi, "")
- }));
- case 4:
- n = t.sent, i = n.data.token, s = n.data.redirect_url, a({
- type: G
- }), localStorage.setItem("token", i), c = function () {
- Object(o.a)() ? (document.dispatchEvent(new CustomEvent("enablePushNotifications")), a(r("/"))) : ("function" == typeof window.confirmSuccess && window.confirmSuccess(n.data), setTimeout(function () {
- Object(h.d)(s)
- }, 500))
- }, a({
- type: C
- }), k(E, {
- signup_method: n.social_provider,
- email: n.data.email,
- user_status: "Trial Active",
- signup_complete_date: (new Date).toISOString(),
- plan_type: e.selected_plan,
- user_id: n.id,
- timestamp: (new Date).toISOString()
- }, k(b, {
- email: n.data.email,
- signup_confirmation_date: (new Date).toISOString(),
- timestamp: (new Date).toISOString()
- }, c)), t.next = 17;
- break;
- case 14:
- t.prev = 14, t.t0 = t.catch(0), a({
- type: F,
- message: A.a[t.t0.code] || A.a.Generic
- });
- case 17:
- case "end":
- return t.stop()
- }
- }, t, void 0, [
- [0, 14]
- ])
- }));
- return function (e) {
- return t.apply(this, arguments)
- }
- }()
- },
- signUpConfirm: function (e) {
- return function () {
- var t = U(regeneratorRuntime.mark(function t(a) {
- var n, i, s;
- return regeneratorRuntime.wrap(function (t) {
- for (;;) switch (t.prev = t.next) {
- case 0:
- return t.prev = 0, a({
- type: q
- }), t.next = 4, I(e);
- case 4:
- n = t.sent, i = n.data, a({
- type: G
- }), localStorage.setItem("token", i.token), a({
- type: C
- }), s = function () {
- Object(o.a)() ? (document.dispatchEvent(new CustomEvent("enablePushNotifications")), a(r("/"))) : ("function" == typeof window.confirmSuccess && window.confirmSuccess(i), setTimeout(function () {
- Object(h.d)(i.continue_url)
- }, 500))
- }, k(b, {
- email: n.data.email,
- signup_confirmation_date: (new Date).toISOString(),
- timestamp: (new Date).toISOString()
- }, s), t.next = 16;
- break;
- case 13:
- t.prev = 13, t.t0 = t.catch(0), a({
- type: F,
- message: A.a[t.t0.code] || A.a.Generic
- });
- case 16:
- case "end":
- return t.stop()
- }
- }, t, void 0, [
- [0, 13]
- ])
- }));
- return function (e) {
- return t.apply(this, arguments)
- }
- }()
- },
- forgotPass: function (e) {
- return function () {
- var t = U(regeneratorRuntime.mark(function t(a) {
- var n, i, r, o;
- return regeneratorRuntime.wrap(function (t) {
- for (;;) switch (t.prev = t.next) {
- case 0:
- return t.prev = 0, a({
- type: K
- }), t.next = 4, j(e);
- case 4:
- n = t.sent, i = n.data, r = i.status, o = i.message, a({
- type: Z,
- message: A.f[r] || o
- }), t.next = 12;
- break;
- case 9:
- t.prev = 9, t.t0 = t.catch(0), a({
- type: W,
- message: A.a[t.t0.code] || A.a.Generic
- });
- case 12:
- case "end":
- return t.stop()
- }
- }, t, void 0, [
- [0, 9]
- ])
- }));
- return function (e) {
- return t.apply(this, arguments)
- }
- }()
- },
- identityConfirm: function (e) {
- return function () {
- var t = U(regeneratorRuntime.mark(function t(a) {
- return regeneratorRuntime.wrap(function (t) {
- for (;;) switch (t.prev = t.next) {
- case 0:
- return t.prev = 0, a({
- type: B
- }), t.next = 4, z(e);
- case 4:
- a({
- type: P
- }), t.next = 10;
- break;
- case 7:
- t.prev = 7, t.t0 = t.catch(0), a({
- type: Y,
- message: A.a[t.t0.code] || A.a.Generic
- });
- case 10:
- case "end":
- return t.stop()
- }
- }, t, void 0, [
- [0, 7]
- ])
- }));
- return function (e) {
- return t.apply(this, arguments)
- }
- }()
- },
- clearNotifications: function () {
- return {
- type: H
- }
- },
- switchView: function (e) {
- return function (t) {
- if (Object(o.a)()) return t(X.clearNotifications()), void t(r(e));
- e === A.e.authLogin ? window.location.href = A.g.marketingLogin : window.location.href = A.g.marketingSignUp, t({
- type: J
- })
- }
- },
- switchSocialConfirmView: function () {
- return function (e) {
- Object(o.a)() && e(r(A.e.authRegisterConfirm))
- }
- },
- setAuthErrorMessage: function (e) {
- return {
- type: Y,
- message: A.a[e] || A.a.Generic
- }
- },
- getUserInfoFromConnectionId: function (e) {
- return U(regeneratorRuntime.mark(function t() {
- var a;
- return regeneratorRuntime.wrap(function (t) {
- for (;;) switch (t.prev = t.next) {
- case 0:
- return t.next = 2, L(e);
- case 2:
- return a = t.sent, t.abrupt("return", a);
- case 4:
- case "end":
- return t.stop()
- }
- }, t, void 0)
- }))
- }
- });
- function _(e) {
- var t = e.account.auth,
- a = t.error,
- n = t.message;
- return a ? n : null
- }
- function $(e) {
- var t = e.account.auth,
- a = t.error,
- n = t.message;
- return !a && n ? n : null
- }
- function ee(e) {
- return e.account.auth.error
- }
- function te(e) {
- return e.account.auth.isLoading
- }
- },
- 95: function (e, t, a) {
- "use strict";
- a(25), a(40), a(19);
- a.d(t, !1, function () {})
- },
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement