Advertisement
Guest User

Untitled

a guest
Nov 5th, 2018
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ! function (e) {
  2.     function t(t) {
  3.         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;
  4.         for (n in c) Object.prototype.hasOwnProperty.call(c, n) && (e[n] = c[n]);
  5.         for (M && M(t); g.length;) g.shift()();
  6.         return r.push.apply(r, l || []), a()
  7.     }
  8.  
  9.     function a() {
  10.         for (var e, t = 0; t < r.length; t++) {
  11.             for (var a = r[t], n = !0, s = 1; s < a.length; s++) {
  12.                 var c = a[s];
  13.                 0 !== i[c] && (n = !1)
  14.             }
  15.             n && (r.splice(t--, 1), e = o(o.s = a[0]))
  16.         }
  17.         return e
  18.     }
  19.     var n = {},
  20.         i = {
  21.             1: 0
  22.         },
  23.         r = [];
  24.  
  25.     function o(t) {
  26.         if (n[t]) return n[t].exports;
  27.         var a = n[t] = {
  28.             i: t,
  29.             l: !1,
  30.             exports: {}
  31.         };
  32.         return e[t].call(a.exports, a, a.exports, o), a.l = !0, a.exports
  33.     }
  34.     o.m = e, o.c = n, o.d = function (e, t, a) {
  35.         o.o(e, t) || Object.defineProperty(e, t, {
  36.             enumerable: !0,
  37.             get: a
  38.         })
  39.     }, o.r = function (e) {
  40.         "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
  41.             value: "Module"
  42.         }), Object.defineProperty(e, "__esModule", {
  43.             value: !0
  44.         })
  45.     }, o.t = function (e, t) {
  46.         if (1 & t && (e = o(e)), 8 & t) return e;
  47.         if (4 & t && "object" == typeof e && e && e.__esModule) return e;
  48.         var a = Object.create(null);
  49.         if (o.r(a), Object.defineProperty(a, "default", {
  50.                 enumerable: !0,
  51.                 value: e
  52.             }), 2 & t && "string" != typeof e)
  53.             for (var n in e) o.d(a, n, function (t) {
  54.                 return e[t]
  55.             }.bind(null, n));
  56.         return a
  57.     }, o.n = function (e) {
  58.         var t = e && e.__esModule ? function () {
  59.             return e.default
  60.         } : function () {
  61.             return e
  62.         };
  63.         return o.d(t, "a", t), t
  64.     }, o.o = function (e, t) {
  65.         return Object.prototype.hasOwnProperty.call(e, t)
  66.     }, o.p = "";
  67.     var s = window.webpackJsonp = window.webpackJsonp || [],
  68.         c = s.push.bind(s);
  69.     s.push = t, s = s.slice();
  70.     for (var l = 0; l < s.length; l++) t(s[l]);
  71.     var M = c;
  72.     r.push([635, 0]), a()
  73. }({
  74.     1: function (e, t, a) {
  75.         "use strict";
  76.         var n = a(48),
  77.             i = a(49),
  78.             r = a(53),
  79.             o = a(55),
  80.             s = a(187),
  81.             c = a(54),
  82.             l = {
  83.                 en: i,
  84.                 es: c,
  85.                 de: r,
  86.                 it: s,
  87.                 fr: o
  88.             },
  89.             M = new n.a(l);
  90.         t.a = M
  91.     },
  92.     10: function (e, t, a) {
  93.         "use strict";
  94.  
  95.         function n(e) {
  96.             var t = new RegExp("[?&#]" + e.replace(/[[\]]/g, "\\$&") + "(=([^&#]*)|&|#|$)"),
  97.                 a = window.location.href,
  98.                 n = t.exec(a);
  99.             return n ? n[2] ? decodeURIComponent(n[2].replace(/\+/g, " ")) : "" : null
  100.         }
  101.         a.d(t, "a", function () {
  102.             return n
  103.         })
  104.     },
  105.     12: function (e, t, a) {
  106.         "use strict";
  107.         var n = a(0),
  108.             i = a.n(n),
  109.             r = a(5),
  110.             o = a.n(r),
  111.             s = Object.assign || function (e) {
  112.                 for (var t = 1; t < arguments.length; t++) {
  113.                     var a = arguments[t];
  114.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  115.                 }
  116.                 return e
  117.             },
  118.             c = function () {
  119.                 function e(e, t) {
  120.                     for (var a = 0; a < t.length; a++) {
  121.                         var n = t[a];
  122.                         n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  123.                     }
  124.                 }
  125.                 return function (t, a, n) {
  126.                     return a && e(t.prototype, a), n && e(t, n), t
  127.                 }
  128.             }();
  129.         var l = function (e) {
  130.             function t() {
  131.                 return function (e, t) {
  132.                         if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  133.                     }(this, t),
  134.                     function (e, t) {
  135.                         if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  136.                         return !t || "object" != typeof t && "function" != typeof t ? e : t
  137.                     }(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments))
  138.             }
  139.             return function (e, t) {
  140.                 if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
  141.                 e.prototype = Object.create(t && t.prototype, {
  142.                     constructor: {
  143.                         value: e,
  144.                         enumerable: !1,
  145.                         writable: !0,
  146.                         configurable: !0
  147.                     }
  148.                 }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
  149.             }(t, i.a.PureComponent), c(t, [{
  150.                 key: "render",
  151.                 value: function () {
  152.                     var e = this.props,
  153.                         t = e.className,
  154.                         a = e.glyph,
  155.                         n = e.viewBox,
  156.                         r = function (e, t) {
  157.                             var a = {};
  158.                             for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
  159.                             return a
  160.                         }(e, ["className", "glyph", "viewBox"]);
  161.                     return i.a.createElement("svg", s({
  162.                         className: t,
  163.                         viewBox: n
  164.                     }, r), i.a.createElement("use", {
  165.                         xlinkHref: "#" + a
  166.                     }))
  167.                 }
  168.             }]), t
  169.         }();
  170.         l.propTypes = {
  171.             className: o.a.string,
  172.             glyph: o.a.string,
  173.             viewBox: o.a.string
  174.         }, l.defaultProps = {
  175.             className: "icon",
  176.             glyph: "",
  177.             viewBox: ""
  178.         }, t.a = l
  179.     },
  180.     13: function (e, t, a) {
  181.         "use strict";
  182.         a.d(t, "b", function () {
  183.             return o
  184.         }), a.d(t, "a", function () {
  185.             return s
  186.         }), a.d(t, "c", function () {
  187.             return c
  188.         }), a.d(t, "d", function () {
  189.             return l
  190.         });
  191.         var n = a(30),
  192.             i = a(10),
  193.             r = a(2);
  194.  
  195.         function o() {
  196.             Object(n.b)();
  197.             return Object(r.h)()
  198.         }
  199.  
  200.         function s(e) {
  201.             var t = Object(i.a)(e);
  202.             return "string" == typeof t && t.length > 0
  203.         }
  204.  
  205.         function c() {
  206.             return Object(i.a)("error")
  207.         }
  208.  
  209.         function l(e) {
  210.             var t = decodeURIComponent(e);
  211.             ! function (e) {
  212.                 var t = decodeURIComponent(e);
  213.                 if (t.startsWith("/")) return !0;
  214.                 var a = document.createElement("a");
  215.                 return a.href = t, /(www\.)?((lodgify(develop|qa|staging|integration|feature)?\.com)|localhost(:\d{1,6})?)$/i.test(a.hostname)
  216.             }(e) ? window.location.href = r.g.marketingLogin + "?error=Generic": window.location.href = t
  217.         }
  218.     },
  219.     130: function (e) {
  220.         e.exports = {
  221.             Authorization: "AutorizaciĂłn",
  222.             Payment: "Pago",
  223.             Refund: "Reembolso",
  224.             Show: "Viewed card number",
  225.             Verification: "VerificaciĂłn"
  226.         }
  227.     },
  228.     14: function (e, t, a) {
  229.         "use strict";
  230.         a.d(t, "a", function () {
  231.             return n
  232.         }), a.d(t, "b", function () {
  233.             return i
  234.         });
  235.         a(40), a(61);
  236.         var n = function () {
  237.                 try {
  238.                     return !!window.cordova
  239.                 } catch (e) {
  240.                     return !1
  241.                 }
  242.             },
  243.             i = !!window.cordovaPreview
  244.     },
  245.     192: function (e, t, a) {
  246.         "use strict";
  247.         a.d(t, "a", function () {
  248.             return l
  249.         });
  250.         var n = a(345),
  251.             i = a.n(n),
  252.             r = a(37),
  253.             o = a(344),
  254.             s = a(9),
  255.             c = Object(r.combineReducers)({
  256.                 form: i.a,
  257.                 account: Object(r.combineReducers)({
  258.                     auth: s.b
  259.                 })
  260.             });
  261.         var l = function () {
  262.             var e = Object(r.applyMiddleware)(o.a);
  263.             return Object(r.createStore)(c, Object(r.compose)(e))
  264.         }()
  265.     },
  266.     2: function (e, t, a) {
  267.         "use strict";
  268.         a.d(t, "h", function () {
  269.             return o
  270.         }), a.d(t, "c", function () {
  271.             return l
  272.         }), a.d(t, "d", function () {
  273.             return M
  274.         }), a.d(t, "g", function () {
  275.             return u
  276.         }), a.d(t, "e", function () {
  277.             return g
  278.         }), a.d(t, "a", function () {
  279.             return N
  280.         }), a.d(t, "f", function () {
  281.             return d
  282.         }), a.d(t, "b", function () {
  283.             return p
  284.         });
  285.         var n = a(14),
  286.             i = a(1),
  287.             r = Object.assign || function (e) {
  288.                 for (var t = 1; t < arguments.length; t++) {
  289.                     var a = arguments[t];
  290.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  291.                 }
  292.                 return e
  293.             },
  294.             o = function () {
  295.                 var e = i.a.getCurrentLanguage();
  296.                 return Object(n.a)() ? "https://www.lodgify.com" + ("en" === e ? "" : "/" + e) : window.location.protocol + "//" + window.location.host + ("en" === e ? "" : "/" + e)
  297.             },
  298.             s = o(),
  299.             c = {
  300.                 client_id: "js.external",
  301.                 response_type: "token id_token",
  302.                 scope: "openid profile email lodgify.api"
  303.             },
  304.             l = r({}, c, {
  305.                 acr_values: "idp:Facebook"
  306.             }),
  307.             M = r({}, c, {
  308.                 acr_values: "idp:Google"
  309.             }),
  310.             u = {
  311.                 marketingHome: "" + s,
  312.                 marketingLogin: s + "/login",
  313.                 marketingLogout: s + "/logout",
  314.                 marketingLogged: s + "/oh/PropertyOwner/App",
  315.                 designPage: function (e) {
  316.                     return s + "/oh/PropertyOwner/Design?oid=" + e
  317.                 },
  318.                 marketingSignUp: s + "/signup",
  319.                 marketingSignUpSuccess: s + "/signup-success",
  320.                 marketingSignUpConfirm: s + "/signup-confirm"
  321.             },
  322.             g = {
  323.                 authLogin: "/auth/login",
  324.                 authRegister: "/auth/signup",
  325.                 authRegisterSuccess: "/auth/signup-success",
  326.                 authRegisterConfirm: "/auth/signup-confirm"
  327.             },
  328.             N = {
  329.                 Locked: i.a.get("auth-errors-locked"),
  330.                 InvalidCredentials: i.a.get("auth-errors-invalid-credentials"),
  331.                 TrialExpired: i.a.get("auth-errors-trial-expired"),
  332.                 NotConfirmed: i.a.get("auth-errors-email-not-confirmed"),
  333.                 Generic: i.a.get("auth-errors-server"),
  334.                 NotFound: i.a.get("auth-errors-email-not-found"),
  335.                 EmailExists: i.a.get("auth-register-error-email-exists")
  336.             },
  337.             d = {
  338.                 SentSuccessfully: i.a.get("auth-message-email-sent")
  339.             },
  340.             p = {
  341.                 login: "login",
  342.                 signup: "signup"
  343.             }
  344.     },
  345.     20: function (e, t, a) {
  346.         "use strict";
  347.         var n = a(178),
  348.             i = a.n(n),
  349.             r = a(179),
  350.             o = a.n(r),
  351.             s = a(180),
  352.             c = a.n(s),
  353.             l = a(65),
  354.             M = a.n(l),
  355.             u = a(181),
  356.             g = a.n(u),
  357.             N = a(182),
  358.             d = a.n(N),
  359.             p = a(183),
  360.             D = a.n(p),
  361.             y = a(184),
  362.             m = a.n(y),
  363.             T = a(185),
  364.             z = a.n(T),
  365.             j = a(186),
  366.             w = a.n(j);
  367.         a.d(t, "a", function () {
  368.             return O
  369.         }), a.d(t, "c", function () {
  370.             return I
  371.         }), a.d(t, "d", function () {
  372.             return L
  373.         }), a.d(t, "b", function () {
  374.             return A
  375.         }), a.d(t, !1, function () {}), a.d(t, !1, function () {});
  376.         var O = {
  377.                 ARS: {
  378.                     symbol: "$",
  379.                     isLeft: !1
  380.                 },
  381.                 AUD: {
  382.                     symbol: "$",
  383.                     isLeft: !0
  384.                 },
  385.                 BRL: {
  386.                     symbol: "R$",
  387.                     isLeft: !1
  388.                 },
  389.                 BGN: {
  390.                     symbol: "Нв",
  391.                     isLeft: !1
  392.                 },
  393.                 CAD: {
  394.                     symbol: "$",
  395.                     isLeft: !0
  396.                 },
  397.                 CLP: {
  398.                     symbol: "$",
  399.                     isLeft: !1
  400.                 },
  401.                 CNY: {
  402.                     symbol: "ÂĽ",
  403.                     isLeft: !1
  404.                 },
  405.                 COP: {
  406.                     symbol: "$",
  407.                     isLeft: !1
  408.                 },
  409.                 HRK: {
  410.                     symbol: "kn",
  411.                     isLeft: !1
  412.                 },
  413.                 CZK: {
  414.                     symbol: "Kč",
  415.                     isLeft: !1
  416.                 },
  417.                 DKK: {
  418.                     symbol: "kr",
  419.                     isLeft: !1
  420.                 },
  421.                 AED: {
  422.                     symbol: "ŘŻ.ŘĽ",
  423.                     isLeft: !1
  424.                 },
  425.                 EEK: {
  426.                     symbol: "KR",
  427.                     isLeft: !1
  428.                 },
  429.                 EUR: {
  430.                     symbol: "€",
  431.                     isLeft: !1
  432.                 },
  433.                 HKD: {
  434.                     symbol: "$",
  435.                     isLeft: !1
  436.                 },
  437.                 HUF: {
  438.                     symbol: "Ft",
  439.                     isLeft: !1
  440.                 },
  441.                 INR: {
  442.                     symbol: "₨",
  443.                     isLeft: !1
  444.                 },
  445.                 IDR: {
  446.                     symbol: "Rp",
  447.                     isLeft: !1
  448.                 },
  449.                 JPY: {
  450.                     symbol: "ÂĽ",
  451.                     isLeft: !1
  452.                 },
  453.                 LVL: {
  454.                     symbol: "Ls",
  455.                     isLeft: !1
  456.                 },
  457.                 LTL: {
  458.                     symbol: "Lt",
  459.                     isLeft: !1
  460.                 },
  461.                 MYR: {
  462.                     symbol: "RM",
  463.                     isLeft: !1
  464.                 },
  465.                 MXN: {
  466.                     symbol: "$",
  467.                     isLeft: !1
  468.                 },
  469.                 RON: {
  470.                     symbol: "L",
  471.                     isLeft: !1
  472.                 },
  473.                 TRY: {
  474.                     symbol: "₺",
  475.                     isLeft: !1
  476.                 },
  477.                 NZD: {
  478.                     symbol: "$",
  479.                     isLeft: !0
  480.                 },
  481.                 NOK: {
  482.                     symbol: "kr",
  483.                     isLeft: !1
  484.                 },
  485.                 PHP: {
  486.                     symbol: "P",
  487.                     isLeft: !1
  488.                 },
  489.                 PLN: {
  490.                     symbol: "zł",
  491.                     isLeft: !1
  492.                 },
  493.                 GBP: {
  494.                     symbol: "ÂŁ",
  495.                     isLeft: !0
  496.                 },
  497.                 RUB: {
  498.                     symbol: "р.",
  499.                     isLeft: !1
  500.                 },
  501.                 SGD: {
  502.                     symbol: "$",
  503.                     isLeft: !1
  504.                 },
  505.                 ZAR: {
  506.                     symbol: "R",
  507.                     isLeft: !1
  508.                 },
  509.                 KRW: {
  510.                     symbol: "₩",
  511.                     isLeft: !1
  512.                 },
  513.                 SEK: {
  514.                     symbol: "kr",
  515.                     isLeft: !1
  516.                 },
  517.                 CHF: {
  518.                     symbol: "Fr",
  519.                     isLeft: !1
  520.                 },
  521.                 THB: {
  522.                     symbol: "฿",
  523.                     isLeft: !1
  524.                 },
  525.                 USD: {
  526.                     symbol: "$",
  527.                     isLeft: !0
  528.                 },
  529.                 CVE: {
  530.                     symbol: "$",
  531.                     isLeft: !0
  532.                 }
  533.             },
  534.             I = {
  535.                 NineFlats: c.a,
  536.                 Airbnb: M.a,
  537.                 AirbnbIntegration: M.a,
  538.                 Roomorama: g.a,
  539.                 HomeAway: d.a,
  540.                 BookingCom: D.a,
  541.                 MyBookingPal: m.a,
  542.                 Domegos: z.a,
  543.                 ICal: w.a
  544.             },
  545.             L = {
  546.                 ChannelManagerLodgifyCMDescription: i.a,
  547.                 ChannelManagerMyBookingPalCMDescription: o.a
  548.             },
  549.             A = {
  550.                 DOMAIN_EXCEPTION: "domain_exception",
  551.                 NOT_FOUND: "not_found",
  552.                 INVALID_FIELDS: "input_invalid",
  553.                 SERVER_UNEXPECTED: "server_unexpected",
  554.                 UNAUTHORIZED: "unauthorized"
  555.             }
  556.     },
  557.     23: function (e, t, a) {
  558.         e.exports = {
  559.             step: "_27O1QfKRJlSOqECwigp9-L",
  560.             animationWrapper: "_3eSpteLbmjkUtJ9gsZ4DzK",
  561.             wrapper: "_1OtZF6wN2O8dc8iTP3HO81",
  562.             animationStepWrapper: "_3tE5rs5GSvIfWVbzugeEA6",
  563.             navigation: "_2_Dzua8xy8jnvt0-VdZ049",
  564.             current: "_3mSG3ZAhtwtFcDm-x4jHhq",
  565.             back: "HGSeMnRy8DYmkbada8fBj",
  566.             bar: "_2RGChf-pNFq4tHElxzymI3",
  567.             fillBar: "_3JtnuSZB4vyNnGP9ts1Y5q",
  568.             point: "_1dgUDCZMvgF8w6_xkbe3cc",
  569.             active: "_2PS0OyIN74eFpo2P_wzMQh"
  570.         }
  571.     },
  572.     27: function (e, t, a) {
  573.         "use strict";
  574.         a.d(t, "g", function () {
  575.             return s
  576.         }), a.d(t, "f", function () {
  577.             return c
  578.         }), a.d(t, "h", function () {
  579.             return l
  580.         }), a.d(t, "d", function () {
  581.             return g
  582.         }), a.d(t, "c", function () {
  583.             return N
  584.         }), a.d(t, "b", function () {
  585.             return d
  586.         }), a.d(t, "a", function () {
  587.             return p
  588.         }), a.d(t, "e", function () {
  589.             return D
  590.         });
  591.         var n = a(346),
  592.             i = a(1),
  593.             r = function (e) {
  594.                 return e ? void 0 : i.a.get("auth-email-isrequired")
  595.             },
  596.             o = function (e) {
  597.                 return e ? void 0 : i.a.get("auth-password-isrequired")
  598.             },
  599.             s = function (e) {
  600.                 return e ? void 0 : i.a.get("auth-name-isrequired")
  601.             },
  602.             c = function (e) {
  603.                 return e ? void 0 : i.a.get("auth-lastname-isrequired")
  604.             },
  605.             l = function (e) {
  606.                 return e ? void 0 : i.a.get("auth-agree-terms-isrequired")
  607.             },
  608.             M = function (e) {
  609.                 return function (t) {
  610.                     return t && t.length > e ? i.a.get("auth-max-length").replace("MAX", e) : void 0
  611.                 }
  612.             },
  613.             u = function (e) {
  614.                 return function (t) {
  615.                     return t && t.length < e ? i.a.get("auth-min-length").replace("MIN", e) : void 0
  616.                 }
  617.             },
  618.             g = function (e) {
  619.                 return Object(n.a)(e) ? void 0 : i.a.get("auth-phone-invalid")
  620.             },
  621.             N = [o, u(6), M(30)],
  622.             d = [o, u(8), M(30)],
  623.             p = [r],
  624.             D = [r, function (e) {
  625.                 return e && !/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(e) ? i.a.get("auth-email-invalid") : void 0
  626.             }]
  627.     },
  628.     28: function (e, t, a) {
  629.         "use strict";
  630.  
  631.         function n(e) {
  632.             var t = location.host.match(/[^.]+\.com$/);
  633.             return e ? "//api." + t : "//app." + t
  634.         }
  635.  
  636.         function i() {
  637.             return "//identityserver." + location.host.match(/[^.]+\.com$/)
  638.         }
  639.         a.d(t, "a", function () {
  640.             return n
  641.         }), a.d(t, "b", function () {
  642.             return i
  643.         })
  644.     },
  645.     30: function (e, t, a) {
  646.         "use strict";
  647.         (function (e) {
  648.             a.d(t, "c", function () {
  649.                 return o
  650.             }), a.d(t, "b", function () {
  651.                 return s
  652.             }), a.d(t, "a", function () {
  653.                 return c
  654.             });
  655.             a(86), a(87), a(25), a(40), a(336), a(47);
  656.             var n = a(337),
  657.                 i = a.n(n),
  658.                 r = (a(3), a(338), a(58), a(20));
  659.             a(51), a(50), a(52), a(95);
  660.             var o = function (e, t, a) {
  661.                     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) : ""]
  662.                 },
  663.                 s = function () {
  664.                     return function (e) {
  665.                         var t = function (e) {
  666.                             var t = e.match(/:\/\/(www[0-9]?\.)?(.[^/:]+)/i);
  667.                             return t && t.length > 2 && t[2] || ""
  668.                         }(e);
  669.                         if (!t) return "";
  670.                         var a = t.split(".").reverse();
  671.                         return a && a.length > 1 ? a[1] + "." + a[0] : t
  672.                     }(document.URL)
  673.                 };
  674.  
  675.             function c(e) {
  676.                 return {
  677.                     401: r.b.UNAUTHORIZED,
  678.                     404: r.b.NOT_FOUND,
  679.                     500: r.b.SERVER_UNEXPECTED
  680.                 } [e]
  681.             }
  682.         }).call(this, a(63))
  683.     },
  684.     332: function (e, t, a) {
  685.         "use strict";
  686.         var n = a(74),
  687.             i = a.n(n),
  688.             r = a(11),
  689.             o = a(64),
  690.             s = a(0),
  691.             c = a(6),
  692.             l = a.n(c),
  693.             M = a(1),
  694.             u = a(39),
  695.             g = a(13),
  696.             N = a(8),
  697.             d = a(7),
  698.             p = a.n(d),
  699.             D = a(34),
  700.             y = a.n(D),
  701.             m = a(333),
  702.             T = a(389),
  703.             z = a.n(T)()(function (e, t) {
  704.                 var a = e.isForgotPasswordVisible,
  705.                     n = e.signIn,
  706.                     i = e.forgotPass;
  707.                 a ? i({
  708.                     email: t.login
  709.                 }) : n(t)
  710.             }),
  711.             j = Object(r.c)({
  712.                 handleSubmitButton: z
  713.             }),
  714.             w = Object(r.c)({
  715.                 handleBackLink: function (e) {
  716.                     return function () {
  717.                         var t = e.isForgotPasswordVisible,
  718.                             a = e.hideForgotPassword,
  719.                             n = e.clearNotifications;
  720.                         if (t) return a(), void n();
  721.                         n()
  722.                     }
  723.                 }
  724.             }),
  725.             O = Object(r.a)(j, w)(m.a);
  726.         a(71);
  727.         var I = function (e) {
  728.             var t = e.storeErrorMessage,
  729.                 a = e.storeSuccessMessage,
  730.                 n = e.isForgotPasswordVisible,
  731.                 i = e.redirectToRegister;
  732.             return s.createElement("div", {
  733.                 className: l()(p.a.wrapper, p.a.loginView)
  734.             }, s.createElement(N.a, {
  735.                 form: "login",
  736.                 storeErrorMessage: t,
  737.                 storeSuccessMessage: a
  738.             }), s.createElement("header", null, s.createElement(u.a, {
  739.                 className: p.a.logo
  740.             })), s.createElement("div", {
  741.                 className: p.a.main
  742.             }, s.createElement("div", {
  743.                 className: p.a.formWrapper
  744.             }, s.createElement("div", {
  745.                 className: p.a.form
  746.             }, s.createElement("h2", {
  747.                 className: p.a.formTitle
  748.             }, " ", M.a.get("auth-login")), !n && s.createElement("div", {
  749.                 className: y.a.socialButtons
  750.             }, s.createElement(N.f, {
  751.                 text: M.a.get("auth-login"),
  752.                 redirect_uri: Object(g.b)()
  753.             }), s.createElement(N.g, {
  754.                 text: M.a.get("auth-login"),
  755.                 redirect_uri: Object(g.b)()
  756.             })), s.createElement(O, e)), s.createElement("footer", null, s.createElement("span", null, M.a.get("auth-no-account-question")), s.createElement("div", {
  757.                 role: "link",
  758.                 tabIndex: 0,
  759.                 className: p.a.footerLink,
  760.                 onClick: i
  761.             }, M.a.get("auth-create-account"))))))
  762.         };
  763.         I.defaultProps = {
  764.             storeErrorMessage: null,
  765.             storeSuccessMessage: null
  766.         };
  767.         var L = I,
  768.             A = a(72),
  769.             h = a.n(A),
  770.             x = a(73),
  771.             k = a.n(x),
  772.             f = a(390),
  773.             E = a.n(f),
  774.             b = a(21),
  775.             v = a(9),
  776.             U = {
  777.                 switchView: v.a.switchView,
  778.                 signIn: v.a.signIn,
  779.                 setErrorMessage: v.a.setAuthErrorMessage,
  780.                 signInWithExistingToken: v.a.signInWithExistingToken,
  781.                 forgotPass: v.a.forgotPass,
  782.                 clearNotifications: v.a.clearNotifications,
  783.                 displayErrorNotification: v.a.displayErrorNotification
  784.             },
  785.             Q = Object(b.connect)(function (e) {
  786.                 return {
  787.                     storeSuccessMessage: Object(v.e)(e),
  788.                     storeErrorMessage: Object(v.d)(e),
  789.                     formValues: E()("login")(e),
  790.                     formMeta: h()("login")(e),
  791.                     formSyncErrors: k()("login")(e)
  792.                 }
  793.             }, U),
  794.             S = a(33),
  795.             C = a.n(S),
  796.             Y = a(2),
  797.             B = Object(r.c)({
  798.                 loginFromEvent: function (e) {
  799.                     return function (t, a) {
  800.                         a && a.token && e.signInWithExistingToken(a.token), a && a.error && e.displayErrorNotification(Y.a[a.error] || Y.a.Generic)
  801.                     }
  802.                 },
  803.                 registerFromEvent: function (e) {
  804.                     return function (t, a) {
  805.                         e.switchView(Y.e.authRegister + "?access_token=" + a.token)
  806.                     }
  807.                 }
  808.             }),
  809.             P = Object(r.b)({
  810.                 componentDidMount: function () {
  811.                     C.a.subscribe(Y.b.login, this.props.loginFromEvent), C.a.subscribe(Y.b.signup, this.props.registerFromEvent)
  812.                 },
  813.                 componentWillUnmount: function () {
  814.                     C.a.unsubscribe(Y.b.login), C.a.unsubscribe(Y.b.signup)
  815.                 }
  816.             }),
  817.             R = Object(r.a)(B, P),
  818.             q = a(10),
  819.             G = a(19),
  820.             F = {
  821.                 app: function () {
  822.                     return "/oh/PropertyOwner/App"
  823.                 }
  824.             },
  825.             V = {
  826.                 reservationInboxAgreement: function () {
  827.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/agreement/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
  828.                 },
  829.                 reservationSettingsEmails: function () {
  830.                     return "reservation/settings/emails"
  831.                 },
  832.                 reservationSettingsExport: function () {
  833.                     return "reservation/settings/export-import"
  834.                 },
  835.                 reservationSettingsMailbox: function () {
  836.                     return "reservation/settings/mailbox"
  837.                 },
  838.                 reservationSettingsPolicies: function () {
  839.                     return "reservation/settings/policies"
  840.                 },
  841.                 reservationSettingsPayments: function () {
  842.                     return "reservation/settings/payments"
  843.                 },
  844.                 reservationSettingsAddPolicy: function () {
  845.                     return "reservation/settings/policies/create"
  846.                 },
  847.                 reservationSettingsAddPolicyRule: function () {
  848.                     return "reservation/settings/policies/create/new-cancellation"
  849.                 },
  850.                 reservationSettingsUpdatePolicy: function (e) {
  851.                     return "reservation/settings/policies/update/" + e
  852.                 },
  853.                 settingsPublicApiToken: function () {
  854.                     return "reservation/settings/publicApiToken"
  855.                 },
  856.                 reservationInbox: function () {
  857.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "")
  858.                 },
  859.                 reservationArchiveOrder: function () {
  860.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/archive-order/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
  861.                 },
  862.                 reservationChangeRequest: function () {
  863.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/change-request/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
  864.                 },
  865.                 reservationGuestEdit: function () {
  866.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/guest-edit"
  867.                 },
  868.                 reservationMessages: function () {
  869.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/messages"
  870.                 },
  871.                 reservationExternalQuotes: function () {
  872.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/external-quotes"
  873.                 },
  874.                 reservationAddPayment: function () {
  875.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/add-payment"
  876.                 },
  877.                 reservationRequestPayment: function () {
  878.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/request-payment"
  879.                 },
  880.                 reservationChargeCard: function () {
  881.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/charge-card"
  882.                 },
  883.                 reservationTransactionAddManualRefund: function () {
  884.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/add-manual-refund/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
  885.                 },
  886.                 reservationTransactionIssueRefund: function () {
  887.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/issue-refund/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
  888.                 },
  889.                 reservationTransactionReceipt: function () {
  890.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/transaction-receipt/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
  891.                 },
  892.                 bookingEdit: function () {
  893.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit"
  894.                 },
  895.                 bookingEditSimple: function () {
  896.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit-simple"
  897.                 },
  898.                 bookingEditDetails: function () {
  899.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/booking"
  900.                 },
  901.                 bookingEditQuote: function () {
  902.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/quote"
  903.                 },
  904.                 bookingEditPolicy: function () {
  905.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/policy"
  906.                 },
  907.                 bookingEditCreateQuote: function () {
  908.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/bookingc/create"
  909.                 },
  910.                 bookingEditAgreement: function () {
  911.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/edit/agreement/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
  912.                 },
  913.                 bookingChange: function () {
  914.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create-change-request"
  915.                 },
  916.                 bookingChangeDetails: function () {
  917.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create-change-request/booking"
  918.                 },
  919.                 bookingChangeQuote: function () {
  920.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create-change-request/quote"
  921.                 },
  922.                 bookingChangePolicy: function () {
  923.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create-change-request/policy"
  924.                 },
  925.                 bookingChangeAgreement: function () {
  926.                     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] : "")
  927.                 },
  928.                 bookingCreateSimple: function () {
  929.                     var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
  930.                     return "/reservation/inbox/" + (e ? e + "/" : "") + "create-simple"
  931.                 },
  932.                 bookingCreate: function () {
  933.                     var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
  934.                     return "/reservation/inbox/" + (e ? e + "/" : "") + "create"
  935.                 },
  936.                 bookingCreateDetails: function () {
  937.                     var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
  938.                     return "/reservation/inbox/" + (e ? e + "/" : "") + "create/booking"
  939.                 },
  940.                 bookingCreateQuote: function () {
  941.                     var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
  942.                     return "/reservation/inbox/" + (e ? e + "/" : "") + "create/quote"
  943.                 },
  944.                 bookingCreatePolicy: function () {
  945.                     var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
  946.                     return "/reservation/inbox/" + (e ? e + "/" : "") + "create/policy"
  947.                 },
  948.                 bookingCreateAgreement: function () {
  949.                     return "/reservation/inbox/" + (arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "") + "/create/agreement/" + (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "")
  950.                 }
  951.             },
  952.             K = a.n(G)()({}, {
  953.                 accountProfile: "/account/profile"
  954.             }, F, {
  955.                 channelManager: "/channelmanager/",
  956.                 channelManagerConfigurator: "/channelmanager/configure",
  957.                 channelManagerChannel: function (e) {
  958.                     return "/channelmanager/channels/" + e
  959.                 },
  960.                 channelManagerChannelAddMapping: function (e) {
  961.                     return "/channelmanager/channels/" + e + "/addMapping"
  962.                 },
  963.                 channelManagerChannels: "/channelmanager/channels",
  964.                 channelManagerDisplayChannels: "/channelmanager/displayChannels",
  965.                 channelManagerDisplayChannel: function (e) {
  966.                     return "/channelmanager/displayChannels/" + e
  967.                 },
  968.                 channelManagerDisplayChannelChannelManagers: function (e) {
  969.                     return "/channelmanager/displayChannels/" + e + "/channelManagers"
  970.                 },
  971.                 channelManagerConnectionMethodWarning: function (e, t) {
  972.                     return "/channelmanager/displayChannels/" + e + "/channelManagers/" + t
  973.                 },
  974.                 channelManagerAirbnbPro: "/manage/channels/airbnbApi",
  975.                 channelManagerBooking: "/manage/channels/bookingcom"
  976.             }, V);
  977.         var Z = Object(r.b)({
  978.                 componentDidMount: function () {
  979.                     var e = Object(q.a)("access_token"),
  980.                         t = Object(q.a)("ReturnUrl"),
  981.                         a = Object(q.a)("redirect_url"),
  982.                         n = Object(q.a)("force_desktop"),
  983.                         i = this.props,
  984.                         r = i.switchView,
  985.                         o = i.signInWithExistingToken;
  986.                     if (e) {
  987.                         if (Object(q.a)("signup")) return void r(Y.e.authRegister + "?access_token=" + e);
  988.                         var s = Object(q.a)("user_id"),
  989.                             c = Object(q.a)("provider");
  990.                         setTimeout(function () {
  991.                             o(e, a, {
  992.                                 user_id: s,
  993.                                 social_provider: c
  994.                             })
  995.                         }, 500)
  996.                     }
  997.                     if (n && function () {
  998.                             var e = K.app() + "#" + K.reservationInbox();
  999.                             window.sessionStorage.setItem("ldgfy-avoidRedirectToMobileVersion", !0), window.location = e
  1000.                         }(), t) {
  1001.                         var l = window.location.hash,
  1002.                             M = window.location.href.replace(l, "");
  1003.                         window.history.replaceState({}, "", "" + M + encodeURIComponent(l))
  1004.                     }
  1005.                 }
  1006.             }),
  1007.             W = Object(r.a)(Object(r.d)("isForgotPasswordVisible", "toggleDisplayPassword", !1), Object(r.c)({
  1008.                 showForgotPassword: function (e) {
  1009.                     var t = e.toggleDisplayPassword;
  1010.                     return function () {
  1011.                         return t(!0)
  1012.                     }
  1013.                 },
  1014.                 hideForgotPassword: function (e) {
  1015.                     var t = e.toggleDisplayPassword;
  1016.                     return function () {
  1017.                         return t(!1)
  1018.                     }
  1019.                 }
  1020.             })),
  1021.             H = Object(r.c)({
  1022.                 redirectToRegister: function (e) {
  1023.                     return function (t) {
  1024.                         var a = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "";
  1025.                         (0, e.switchView)(Y.e.authRegister + a)
  1026.                     }
  1027.                 }
  1028.             }),
  1029.             J = Object(r.a)(i()({
  1030.                 form: "login",
  1031.                 initialValues: {
  1032.                     rememberLogin: !1
  1033.                 }
  1034.             }), Q, Z, o.a, R, W, H)(L);
  1035.         a.d(t, "a", function () {
  1036.             return J
  1037.         })
  1038.     },
  1039.     333: function (e, t, a) {
  1040.         "use strict";
  1041.         (function (e) {
  1042.             a.d(t, "a", function () {
  1043.                 return u
  1044.             });
  1045.             var n = a(0),
  1046.                 i = a(22),
  1047.                 r = a.n(i),
  1048.                 o = a(1),
  1049.                 s = a(27),
  1050.                 c = a(8),
  1051.                 l = a(34),
  1052.                 M = a.n(l);
  1053.  
  1054.             function u(t) {
  1055.                 var a = t.isForgotPasswordVisible,
  1056.                     i = t.handleBackLink,
  1057.                     l = t.showForgotPassword,
  1058.                     u = t.handleSubmitButton,
  1059.                     g = t.handleSubmit;
  1060.                 return n.createElement("form", {
  1061.                     noValidate: !0,
  1062.                     onSubmit: g(u),
  1063.                     method: "post"
  1064.                 }, a && n.createElement(c.c, {
  1065.                     onClick: i,
  1066.                     text: o.a.get("auth-go-back")
  1067.                 }), a && n.createElement("div", {
  1068.                     className: M.a.forgotPassword
  1069.                 }, n.createElement("h2", {
  1070.                     className: M.a.title
  1071.                 }, o.a.get("auth-forgot-password-title")), n.createElement("span", {
  1072.                     className: M.a.text
  1073.                 }, o.a.get("auth-forgot-password-message"))), n.createElement(r.a, {
  1074.                     name: "login",
  1075.                     component: c.i,
  1076.                     type: "email",
  1077.                     validate: s.a,
  1078.                     label: o.a.get("auth-email"),
  1079.                     testId: "login-user-email"
  1080.                 }), !a && n.createElement(r.a, {
  1081.                     name: "password",
  1082.                     component: c.i,
  1083.                     type: "password",
  1084.                     validate: s.c,
  1085.                     label: o.a.get("auth-password"),
  1086.                     testId: "login-password"
  1087.                 }), !a && n.createElement(r.a, {
  1088.                     id: "auth-remember-me",
  1089.                     name: "rememberLogin",
  1090.                     className: M.a.rememberMe,
  1091.                     component: c.e,
  1092.                     label: o.a.get("auth-remember-me")
  1093.                 }), n.createElement(c.b, {
  1094.                     type: e.env.STATIC ? "button" : "submit",
  1095.                     testId: "login-submit",
  1096.                     buttonType: "primary"
  1097.                 }, o.a.get(a ? "auth-continue" : "auth-login")), !a && n.createElement("div", {
  1098.                     className: M.a.linkWrapper
  1099.                 }, n.createElement("a", {
  1100.                     key: "link",
  1101.                     role: "link",
  1102.                     tabIndex: 0,
  1103.                     onClick: l,
  1104.                     className: M.a.link
  1105.                 }, o.a.get("auth-forgot-password"))))
  1106.             }
  1107.         }).call(this, a(63))
  1108.     },
  1109.     34: function (e, t, a) {
  1110.         e.exports = {
  1111.             forgotPassword: "_1nhF8ZYCZ0tC6FT7WVXc_V",
  1112.             title: "cTH4mICt219wZddFotp0Z",
  1113.             text: "_1v6e36mSaja87IHQCM1MLl",
  1114.             hiddenForm: "_38HVG4lZ6pZhbiILR836ni",
  1115.             link: "_2ry6ongr5UxdjZMuNTzyL2",
  1116.             linkWrapper: "_1p306-yni1PjspZwl1IdkB",
  1117.             socialButtons: "_2ApJjSiADHGWFQO80HZBFI",
  1118.             rememberMe: "_2es6sqcWOymPu0H2KWp8Wn"
  1119.         }
  1120.     },
  1121.     39: function (e, t, a) {
  1122.         "use strict";
  1123.         var n = a(0),
  1124.             i = a.n(n),
  1125.             r = a(15),
  1126.             o = a.n(r),
  1127.             s = a(16),
  1128.             c = a.n(s),
  1129.             l = a(12),
  1130.             M = Object.assign || function (e) {
  1131.                 for (var t = 1; t < arguments.length; t++) {
  1132.                     var a = arguments[t];
  1133.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  1134.                 }
  1135.                 return e
  1136.             },
  1137.             u = function () {
  1138.                 function e(e, t) {
  1139.                     for (var a = 0; a < t.length; a++) {
  1140.                         var n = t[a];
  1141.                         n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  1142.                     }
  1143.                 }
  1144.                 return function (t, a, n) {
  1145.                     return a && e(t.prototype, a), n && e(t, n), t
  1146.                 }
  1147.             }();
  1148.         var g = new o.a({
  1149.             id: "lodgify-logo-color",
  1150.             use: "lodgify-logo-color-usage",
  1151.             viewBox: "0 0 121 25",
  1152.             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>'
  1153.         });
  1154.         c.a.add(g);
  1155.         var N = function (e) {
  1156.             function t() {
  1157.                 return function (e, t) {
  1158.                         if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  1159.                     }(this, t),
  1160.                     function (e, t) {
  1161.                         if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  1162.                         return !t || "object" != typeof t && "function" != typeof t ? e : t
  1163.                     }(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments))
  1164.             }
  1165.             return function (e, t) {
  1166.                 if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
  1167.                 e.prototype = Object.create(t && t.prototype, {
  1168.                     constructor: {
  1169.                         value: e,
  1170.                         enumerable: !1,
  1171.                         writable: !0,
  1172.                         configurable: !0
  1173.                     }
  1174.                 }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
  1175.             }(t, i.a.Component), u(t, [{
  1176.                 key: "render",
  1177.                 value: function () {
  1178.                     return i.a.createElement(l.a, M({
  1179.                         glyph: "lodgify-logo-color",
  1180.                         viewBox: "0 0 121 25"
  1181.                     }, this.props))
  1182.                 }
  1183.             }]), t
  1184.         }();
  1185.         t.a = N
  1186.     },
  1187.     48: function (e, t, a) {
  1188.         "use strict";
  1189.         var n = a(43),
  1190.             i = a.n(n),
  1191.             r = a(41),
  1192.             o = a.n(r),
  1193.             s = a(339),
  1194.             c = a.n(s),
  1195.             l = a(3),
  1196.             M = a.n(l),
  1197.             u = function () {
  1198.                 function e(e, t) {
  1199.                     for (var a = 0; a < t.length; a++) {
  1200.                         var n = t[a];
  1201.                         n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  1202.                     }
  1203.                 }
  1204.                 return function (t, a, n) {
  1205.                     return a && e(t.prototype, a), n && e(t, n), t
  1206.                 }
  1207.             }();
  1208.         var g = Symbol("translations"),
  1209.             N = Symbol("defaultLanguage"),
  1210.             d = Symbol("activeLanguage"),
  1211.             p = function () {
  1212.                 function e(t) {
  1213.                     ! function (e, t) {
  1214.                         if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  1215.                     }(this, e), this[g] = t, this[N] = t.en, this[d] = t.en, i()(this)
  1216.                 }
  1217.                 return u(e, [{
  1218.                     key: "setCulture",
  1219.                     value: function (e) {
  1220.                         var t = e.toLowerCase();
  1221.                         if (!c()(this[g], t)) throw new Error("Culture with code [" + e + "] cannot be found.");
  1222.                         this[d] = this[g][t], void 0 !== M.a && M.a.locale(e), document.cookie = "ldgfy-culture=;path=/;expires=Wed 01 Jan 1970"
  1223.                     }
  1224.                 }, {
  1225.                     key: "get",
  1226.                     value: function (e) {
  1227.                         if ("string" != typeof e) throw new Error("Key should be a string");
  1228.                         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 + "]"
  1229.                     }
  1230.                 }, {
  1231.                     key: "getByNamespace",
  1232.                     value: function (e, t) {
  1233.                         if (null === e) return "[" + e + "]";
  1234.                         if ("string" != typeof e) throw new Error("Key should be a string");
  1235.                         return o()(this[d][t][e]) ? o()(this[N][t][e]) ? "[" + e + "]" : this[N][t][e] : this[d][t][e]
  1236.                     }
  1237.                 }, {
  1238.                     key: "getCountry",
  1239.                     value: function () {
  1240.                         var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
  1241.                         return this.getByNamespace(e, "internal-file-countries")
  1242.                     }
  1243.                 }, {
  1244.                     key: "getLanguage",
  1245.                     value: function () {
  1246.                         var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "";
  1247.                         return this.getByNamespace(e, "internal-file-spokenCultures")
  1248.                     }
  1249.                 }, {
  1250.                     key: "getCurrentLanguage",
  1251.                     value: function () {
  1252.                         return window._CURRENT_LANGUAGE || "en"
  1253.                     }
  1254.                 }]), e
  1255.             }();
  1256.         t.a = p
  1257.     },
  1258.     56: function (e, t, a) {
  1259.         e.exports = {
  1260.             wrapper: "_2ozBEH9hxGigi4Elvl1yu6",
  1261.             input: "_1sPlyizgCf35bqc9k-gsRD",
  1262.             label: "_2ZJzBG7bGvZBF7hllA77kn"
  1263.         }
  1264.     },
  1265.     57: function (e, t, a) {
  1266.         e.exports = {
  1267.             wrapper: "_2GLYDQJ8gZZkgRU3-9X1Ol",
  1268.             line: "_1agRNt5dkv4vCKNnc_l-A4"
  1269.         }
  1270.     },
  1271.     58: function (e, t, a) {
  1272.         "use strict";
  1273.         var n = a(48),
  1274.             i = a(19),
  1275.             r = a.n(i),
  1276.             o = a(96),
  1277.             s = a(49),
  1278.             c = a(50),
  1279.             l = a(97),
  1280.             M = a(98),
  1281.             u = a(99),
  1282.             g = a(100),
  1283.             N = a(101),
  1284.             d = a(51),
  1285.             p = a(102),
  1286.             D = a(52),
  1287.             y = a(103),
  1288.             m = a(104),
  1289.             T = a(105),
  1290.             z = a(106),
  1291.             j = a(107),
  1292.             w = a(108),
  1293.             O = a(109),
  1294.             I = {
  1295.                 "internal-file-spokenCultures": c
  1296.             },
  1297.             L = {
  1298.                 "internal-file-countries": d
  1299.             },
  1300.             A = r()(o, s, I, L, l, M, u, g, N, p, D, y, m, T, z, j, w, O),
  1301.             h = a(110),
  1302.             x = a(53),
  1303.             k = a(111),
  1304.             f = a(112),
  1305.             E = a(113),
  1306.             b = a(114),
  1307.             v = a(115),
  1308.             U = a(116),
  1309.             Q = a(117),
  1310.             S = a(118),
  1311.             C = a(119),
  1312.             Y = a(120),
  1313.             B = a(121),
  1314.             P = a(122),
  1315.             R = a(123),
  1316.             q = a(124),
  1317.             G = a(125),
  1318.             F = a(126),
  1319.             V = {
  1320.                 "internal-file-spokenCultures": k
  1321.             },
  1322.             K = {
  1323.                 "internal-file-countries": Q
  1324.             },
  1325.             Z = r()(h, x, V, K, f, E, b, v, U, S, C, Y, B, P, R, q, G, F),
  1326.             W = a(127),
  1327.             H = a(54),
  1328.             J = a(128),
  1329.             X = a(129),
  1330.             _ = a(130),
  1331.             $ = a(131),
  1332.             ee = a(132),
  1333.             te = a(133),
  1334.             ae = a(134),
  1335.             ne = a(135),
  1336.             ie = a(136),
  1337.             re = a(137),
  1338.             oe = a(138),
  1339.             se = a(139),
  1340.             ce = a(140),
  1341.             le = a(141),
  1342.             Me = a(142),
  1343.             ue = a(143),
  1344.             ge = {
  1345.                 "internal-file-spokenCultures": J
  1346.             },
  1347.             Ne = {
  1348.                 "internal-file-countries": ae
  1349.             },
  1350.             de = r()(W, H, ge, Ne, X, _, $, ee, te, ne, ie, re, oe, se, ce, le, Me, ue),
  1351.             pe = a(144),
  1352.             De = a(55),
  1353.             ye = a(145),
  1354.             me = a(146),
  1355.             Te = a(147),
  1356.             ze = a(148),
  1357.             je = a(149),
  1358.             we = a(150),
  1359.             Oe = a(151),
  1360.             Ie = a(152),
  1361.             Le = a(153),
  1362.             Ae = a(154),
  1363.             he = a(155),
  1364.             xe = a(156),
  1365.             ke = a(157),
  1366.             fe = a(158),
  1367.             Ee = a(159),
  1368.             be = a(160),
  1369.             ve = {
  1370.                 "internal-file-spokenCultures": ye
  1371.             },
  1372.             Ue = {
  1373.                 "internal-file-countries": Oe
  1374.             },
  1375.             Qe = r()(pe, De, ve, Ue, me, Te, ze, je, we, Ie, Le, Ae, he, xe, ke, fe, Ee, be),
  1376.             Se = a(161),
  1377.             Ce = a(162),
  1378.             Ye = a(163),
  1379.             Be = a(164),
  1380.             Pe = a(165),
  1381.             Re = a(166),
  1382.             qe = a(167),
  1383.             Ge = a(168),
  1384.             Fe = a(169),
  1385.             Ve = a(170),
  1386.             Ke = a(171),
  1387.             Ze = a(172),
  1388.             We = a(173),
  1389.             He = a(174),
  1390.             Je = a(175),
  1391.             Xe = a(176),
  1392.             _e = a(177),
  1393.             $e = {
  1394.                 "internal-file-spokenCultures": Ce
  1395.             },
  1396.             et = {
  1397.                 "internal-file-countries": Ge
  1398.             },
  1399.             tt = r()(Se, $e, et, Ye, Ve, Be, Pe, Re, qe, Fe, Ke, Ze, We, He, Je, Xe, _e),
  1400.             at = {
  1401.                 en: A,
  1402.                 es: de,
  1403.                 de: Z,
  1404.                 it: tt,
  1405.                 fr: Qe,
  1406.                 getDefault: function () {
  1407.                     return A
  1408.                 }
  1409.             },
  1410.             nt = at,
  1411.             it = new n.a(nt);
  1412.         t.a = it
  1413.     },
  1414.     60: function (e, t, a) {
  1415.         "use strict";
  1416.         a.d(t, "a", function () {
  1417.             return r
  1418.         }), a.d(t, "b", function () {
  1419.             return o
  1420.         });
  1421.         var n = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
  1422.             return typeof e
  1423.         } : function (e) {
  1424.             return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
  1425.         };
  1426.  
  1427.         function i() {
  1428.             return "object" === ("undefined" == typeof sessionStorage ? "undefined" : n(sessionStorage)) && null !== sessionStorage
  1429.         }
  1430.  
  1431.         function r(e) {
  1432.             if (i()) {
  1433.                 var t = sessionStorage.getItem(e);
  1434.                 return t ? JSON.parse(t) : null
  1435.             }
  1436.             return null
  1437.         }
  1438.  
  1439.         function o(e, t) {
  1440.             i() && sessionStorage.setItem(e, JSON.stringify(t))
  1441.         }
  1442.     },
  1443.     635: function (e, t, a) {
  1444.         a(416), e.exports = a(837)
  1445.     },
  1446.     64: function (e, t, a) {
  1447.         "use strict";
  1448.         var n = a(11),
  1449.             i = a(13),
  1450.             r = a(10),
  1451.             o = Object(n.b)({
  1452.                 componentDidMount: function () {
  1453.                     var e = Object(r.a)("redirect_url"),
  1454.                         t = this.props.setErrorMessage;
  1455.                     Object(i.a)("error") && t(Object(i.c)()), e && Object(i.d)(e)
  1456.                 }
  1457.             });
  1458.         t.a = Object(n.a)(o)
  1459.     },
  1460.     66: function (e, t, a) {
  1461.         e.exports = {
  1462.             wrapper: "KDHTMvMS1h3Nv7VOiZ5Ms",
  1463.             hide: "_3ySFR1SDz9bwBVe3DfoTKY"
  1464.         }
  1465.     },
  1466.     67: function (e, t, a) {
  1467.         e.exports = {
  1468.             notification: "_1bpLd_yZDnJnPX7l-SJoc7",
  1469.             error: "_3A2CIqvp7e6UGHpj8RKo7b",
  1470.             warn: "EqbffxQN-oplFnARm680l",
  1471.             success: "bsWFvxHxWO6cdTM7-UUE0"
  1472.         }
  1473.     },
  1474.     68: function (e, t, a) {
  1475.         e.exports = {
  1476.             transitionlength: "150ms",
  1477.             enter: "_2VFl1VI8PKK_ESdDrIa8su",
  1478.             appear: "_1M7AuayuSe02L01VP4CTlU",
  1479.             enterActive: "_3cDLdCli0d7bzKULsOA7MW",
  1480.             appearActive: "eNqRFCzSafdxJTeGzPUf2",
  1481.             leave: "_1IpExklNq42qStq8_9MzJ2",
  1482.             leaveActive: "_2byDuq1OX-VxJ8LtaXDI2S"
  1483.         }
  1484.     },
  1485.     69: function (e, t, a) {
  1486.         e.exports = {
  1487.             wrapper: "xp_bzpJ-JtS1Rl3dGucA2",
  1488.             hide: "_3WkC80al7CLSL4sBYAbxv7"
  1489.         }
  1490.     },
  1491.     7: function (e, t, a) {
  1492.         e.exports = {
  1493.             wrapper: "_3oY86DM3DL3Yp4GKMkCpIO",
  1494.             logo: "_2tL6cnRGQvhomYawM7xei_",
  1495.             main: "_2e6tOkOS_6YCLOzA7mot5s",
  1496.             formWrapper: "_1ix29kLrCGCbzAlbMoxV1I",
  1497.             form: "NGKAhpTfVe7vrGhtbrNew",
  1498.             footerLink: "_2ikee4MPKAcd8FWg6dFyzx",
  1499.             errorMessage: "_3ZKUgg7F1jyS2NIRdYCKil",
  1500.             formTitle: "_2itCpwZRwxgNj7bOW3sDl7"
  1501.         }
  1502.     },
  1503.     71: function (e, t, a) {},
  1504.     8: function (e, t, a) {
  1505.         "use strict";
  1506.         var n = a(0),
  1507.             i = a.n(n),
  1508.             r = a(6),
  1509.             o = a.n(r),
  1510.             s = a(17),
  1511.             c = a.n(s);
  1512.  
  1513.         function l(e, t, a) {
  1514.             return t in e ? Object.defineProperty(e, t, {
  1515.                 value: a,
  1516.                 enumerable: !0,
  1517.                 configurable: !0,
  1518.                 writable: !0
  1519.             }) : e[t] = a, e
  1520.         }
  1521.         var M = function (e) {
  1522.             var t, a = e.type,
  1523.                 i = e.buttonType,
  1524.                 r = e.children,
  1525.                 s = e.disabled,
  1526.                 M = e.isLoading,
  1527.                 u = e.testId,
  1528.                 g = e.onClick;
  1529.             return n.createElement("button", {
  1530.                 "data-testid": u,
  1531.                 type: a,
  1532.                 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)),
  1533.                 onClick: g
  1534.             }, r)
  1535.         };
  1536.         M.defaultProps = {
  1537.             onClick: function () {},
  1538.             type: "button",
  1539.             disabled: !1,
  1540.             isLoading: !1,
  1541.             testId: ""
  1542.         };
  1543.         var u = a(43),
  1544.             g = a.n(u),
  1545.             N = a(88),
  1546.             d = a(28),
  1547.             p = a(14),
  1548.             D = function () {
  1549.                 function e(e, t) {
  1550.                     for (var a = 0; a < t.length; a++) {
  1551.                         var n = t[a];
  1552.                         n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  1553.                     }
  1554.                 }
  1555.                 return function (t, a, n) {
  1556.                     return a && e(t.prototype, a), n && e(t, n), t
  1557.                 }
  1558.             }();
  1559.         var y = function (e) {
  1560.             function t(e) {
  1561.                 ! function (e, t) {
  1562.                     if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  1563.                 }(this, t);
  1564.                 var a = function (e, t) {
  1565.                     if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  1566.                     return !t || "object" != typeof t && "function" != typeof t ? e : t
  1567.                 }(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this, e));
  1568.                 a.state = {
  1569.                     isLoading: !1
  1570.                 }, a.handleClick = function () {
  1571.                     a.setState({
  1572.                         isLoading: !0
  1573.                     }), a.timeout = setTimeout(a.resetLoadingButton, 15e3), Object(p.a)() && !p.b ? a.oidcManager.signinPopup().then(a.clearTimeout).catch(a.clearTimeout) : a.oidcManager.signinRedirect()
  1574.                 }, g()(a);
  1575.                 var n = {
  1576.                     authority: e.authority || Object(d.b)(),
  1577.                     client_id: e.client_id,
  1578.                     redirect_uri: e.redirect_uri,
  1579.                     response_type: e.response_type,
  1580.                     scope: e.scope,
  1581.                     acr_values: e.acr_values || void 0,
  1582.                     extraQueryParams: e.extraQueryParams || {}
  1583.                 };
  1584.                 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
  1585.             }
  1586.             return function (e, t) {
  1587.                 if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
  1588.                 e.prototype = Object.create(t && t.prototype, {
  1589.                     constructor: {
  1590.                         value: e,
  1591.                         enumerable: !1,
  1592.                         writable: !0,
  1593.                         configurable: !0
  1594.                     }
  1595.                 }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
  1596.             }(t, n["Component"]), D(t, [{
  1597.                 key: "resetLoadingButton",
  1598.                 value: function () {
  1599.                     this.setState({
  1600.                         isLoading: !1
  1601.                     })
  1602.                 }
  1603.             }, {
  1604.                 key: "clearTimeout",
  1605.                 value: function (e) {
  1606.                     function t() {
  1607.                         return e.apply(this, arguments)
  1608.                     }
  1609.                     return t.toString = function () {
  1610.                         return e.toString()
  1611.                     }, t
  1612.                 }(function () {
  1613.                     this.resetLoadingButton(), this.timeout && (clearTimeout(this.timeout), this.timeout = null)
  1614.                 })
  1615.             }, {
  1616.                 key: "render",
  1617.                 value: function () {
  1618.                     var e = this.state.isLoading,
  1619.                         t = this.props,
  1620.                         a = t.children,
  1621.                         i = t.className,
  1622.                         r = t.testId;
  1623.                     return n.createElement("button", {
  1624.                         type: "button",
  1625.                         "data-testid": r,
  1626.                         disabled: e,
  1627.                         className: o()(i, function (e, t, a) {
  1628.                             return t in e ? Object.defineProperty(e, t, {
  1629.                                 value: a,
  1630.                                 enumerable: !0,
  1631.                                 configurable: !0,
  1632.                                 writable: !0
  1633.                             }) : e[t] = a, e
  1634.                         }({}, c.a.isLoading, e)),
  1635.                         onClick: this.handleClick
  1636.                     }, a)
  1637.                 }
  1638.             }]), t
  1639.         }();
  1640.         y.defaultProps = {
  1641.             acrValues: null,
  1642.             className: "",
  1643.             children: null,
  1644.             testId: ""
  1645.         };
  1646.         var m = a(15),
  1647.             T = a.n(m),
  1648.             z = a(16),
  1649.             j = a.n(z),
  1650.             w = a(12),
  1651.             O = Object.assign || function (e) {
  1652.                 for (var t = 1; t < arguments.length; t++) {
  1653.                     var a = arguments[t];
  1654.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  1655.                 }
  1656.                 return e
  1657.             },
  1658.             I = function () {
  1659.                 function e(e, t) {
  1660.                     for (var a = 0; a < t.length; a++) {
  1661.                         var n = t[a];
  1662.                         n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  1663.                     }
  1664.                 }
  1665.                 return function (t, a, n) {
  1666.                     return a && e(t.prototype, a), n && e(t, n), t
  1667.                 }
  1668.             }();
  1669.         var L = new T.a({
  1670.             id: "facebook",
  1671.             use: "facebook-usage",
  1672.             viewBox: "0 0 96.124 96.123",
  1673.             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>'
  1674.         });
  1675.         j.a.add(L);
  1676.         var A = function (e) {
  1677.                 function t() {
  1678.                     return function (e, t) {
  1679.                             if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  1680.                         }(this, t),
  1681.                         function (e, t) {
  1682.                             if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  1683.                             return !t || "object" != typeof t && "function" != typeof t ? e : t
  1684.                         }(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments))
  1685.                 }
  1686.                 return function (e, t) {
  1687.                     if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
  1688.                     e.prototype = Object.create(t && t.prototype, {
  1689.                         constructor: {
  1690.                             value: e,
  1691.                             enumerable: !1,
  1692.                             writable: !0,
  1693.                             configurable: !0
  1694.                         }
  1695.                     }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
  1696.                 }(t, i.a.Component), I(t, [{
  1697.                     key: "render",
  1698.                     value: function () {
  1699.                         return i.a.createElement(w.a, O({
  1700.                             glyph: "facebook",
  1701.                             viewBox: "0 0 96.124 96.123"
  1702.                         }, this.props))
  1703.                     }
  1704.                 }]), t
  1705.             }(),
  1706.             h = a(2),
  1707.             x = Object.assign || function (e) {
  1708.                 for (var t = 1; t < arguments.length; t++) {
  1709.                     var a = arguments[t];
  1710.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  1711.                 }
  1712.                 return e
  1713.             };
  1714.         var k = function (e) {
  1715.             var t = e.text,
  1716.                 a = e.disabled,
  1717.                 i = e.onClick,
  1718.                 r = function (e, t) {
  1719.                     var a = {};
  1720.                     for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
  1721.                     return a
  1722.                 }(e, ["text", "disabled", "onClick"]);
  1723.             return n.createElement(y, x({
  1724.                 className: o()(c.a.facebook, function (e, t, a) {
  1725.                     return t in e ? Object.defineProperty(e, t, {
  1726.                         value: a,
  1727.                         enumerable: !0,
  1728.                         configurable: !0,
  1729.                         writable: !0
  1730.                     }) : e[t] = a, e
  1731.                 }({}, c.a.disabled, a)),
  1732.                 onClick: i
  1733.             }, h.c, r), n.createElement(A, null), t)
  1734.         };
  1735.         k.defaultProps = {
  1736.             onClick: function () {},
  1737.             disabled: !1
  1738.         };
  1739.         var f = Object.assign || function (e) {
  1740.                 for (var t = 1; t < arguments.length; t++) {
  1741.                     var a = arguments[t];
  1742.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  1743.                 }
  1744.                 return e
  1745.             },
  1746.             E = function () {
  1747.                 function e(e, t) {
  1748.                     for (var a = 0; a < t.length; a++) {
  1749.                         var n = t[a];
  1750.                         n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  1751.                     }
  1752.                 }
  1753.                 return function (t, a, n) {
  1754.                     return a && e(t.prototype, a), n && e(t, n), t
  1755.                 }
  1756.             }();
  1757.         var b = new T.a({
  1758.             id: "google",
  1759.             use: "google-usage",
  1760.             viewBox: "0 0 400 400",
  1761.             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>'
  1762.         });
  1763.         j.a.add(b);
  1764.         var v = function (e) {
  1765.                 function t() {
  1766.                     return function (e, t) {
  1767.                             if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  1768.                         }(this, t),
  1769.                         function (e, t) {
  1770.                             if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  1771.                             return !t || "object" != typeof t && "function" != typeof t ? e : t
  1772.                         }(this, (t.__proto__ || Object.getPrototypeOf(t)).apply(this, arguments))
  1773.                 }
  1774.                 return function (e, t) {
  1775.                     if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
  1776.                     e.prototype = Object.create(t && t.prototype, {
  1777.                         constructor: {
  1778.                             value: e,
  1779.                             enumerable: !1,
  1780.                             writable: !0,
  1781.                             configurable: !0
  1782.                         }
  1783.                     }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
  1784.                 }(t, i.a.Component), E(t, [{
  1785.                     key: "render",
  1786.                     value: function () {
  1787.                         return i.a.createElement(w.a, f({
  1788.                             glyph: "google",
  1789.                             viewBox: "0 0 400 400"
  1790.                         }, this.props))
  1791.                     }
  1792.                 }]), t
  1793.             }(),
  1794.             U = Object.assign || function (e) {
  1795.                 for (var t = 1; t < arguments.length; t++) {
  1796.                     var a = arguments[t];
  1797.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  1798.                 }
  1799.                 return e
  1800.             };
  1801.         var Q = function (e) {
  1802.             var t = e.text,
  1803.                 a = e.disabled,
  1804.                 i = e.onClick,
  1805.                 r = function (e, t) {
  1806.                     var a = {};
  1807.                     for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
  1808.                     return a
  1809.                 }(e, ["text", "disabled", "onClick"]);
  1810.             return n.createElement(y, U({
  1811.                 className: o()(c.a.google, function (e, t, a) {
  1812.                     return t in e ? Object.defineProperty(e, t, {
  1813.                         value: a,
  1814.                         enumerable: !0,
  1815.                         configurable: !0,
  1816.                         writable: !0
  1817.                     }) : e[t] = a, e
  1818.                 }({}, c.a.disabled, a)),
  1819.                 onClick: i
  1820.             }, h.d, r), n.createElement(v, null), t)
  1821.         };
  1822.         Q.defaultProps = {
  1823.             onClick: function () {},
  1824.             disabled: !1
  1825.         };
  1826.         var S = a(66),
  1827.             C = a.n(S);
  1828.         var Y = function (e) {
  1829.             var t = e.text,
  1830.                 a = e.show,
  1831.                 i = e.className,
  1832.                 r = e.onClick;
  1833.             return n.createElement("div", {
  1834.                 className: o()(C.a.wrapper, i, function (e, t, a) {
  1835.                     return t in e ? Object.defineProperty(e, t, {
  1836.                         value: a,
  1837.                         enumerable: !0,
  1838.                         configurable: !0,
  1839.                         writable: !0
  1840.                     }) : e[t] = a, e
  1841.                 }({}, C.a.hide, !a))
  1842.             }, n.createElement("a", {
  1843.                 role: "link",
  1844.                 tabIndex: 0,
  1845.                 onClick: r
  1846.             }, t))
  1847.         };
  1848.         Y.defaultProps = {
  1849.             className: null,
  1850.             text: "",
  1851.             show: !0
  1852.         };
  1853.         var B = a(21),
  1854.             P = function (e) {
  1855.                 var t = e.authLoading,
  1856.                     a = e.onClick,
  1857.                     i = e.children,
  1858.                     r = e.type,
  1859.                     o = e.testId,
  1860.                     s = e.disabled;
  1861.                 return n.createElement(M, {
  1862.                     type: r,
  1863.                     onClick: a,
  1864.                     isLoading: t,
  1865.                     disabled: s || t,
  1866.                     buttonType: "primary",
  1867.                     testId: o
  1868.                 }, i)
  1869.             };
  1870.         P.defaultProps = {
  1871.             onClick: function () {},
  1872.             type: "button",
  1873.             disabled: !1,
  1874.             testId: ""
  1875.         };
  1876.         var R = Object(B.connect)(function (e) {
  1877.                 return {
  1878.                     authLoading: e.account.auth.isLoading
  1879.                 }
  1880.             })(P),
  1881.             q = a(18),
  1882.             G = a.n(q),
  1883.             F = Object.assign || function (e) {
  1884.                 for (var t = 1; t < arguments.length; t++) {
  1885.                     var a = arguments[t];
  1886.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  1887.                 }
  1888.                 return e
  1889.             };
  1890.  
  1891.         function V(e, t, a) {
  1892.             return t in e ? Object.defineProperty(e, t, {
  1893.                 value: a,
  1894.                 enumerable: !0,
  1895.                 configurable: !0,
  1896.                 writable: !0
  1897.             }) : e[t] = a, e
  1898.         }
  1899.         var K = function (e) {
  1900.             var t, a = e.input,
  1901.                 i = e.label,
  1902.                 r = e.type,
  1903.                 s = e.testId,
  1904.                 c = e.displayErrorMessages,
  1905.                 l = e.meta,
  1906.                 M = l.touched,
  1907.                 u = l.error,
  1908.                 g = l.warning;
  1909.             return n.createElement("div", {
  1910.                 className: G.a.input
  1911.             }, n.createElement("input", F({
  1912.                 "data-testid": s,
  1913.                 placeholder: i,
  1914.                 type: r,
  1915.                 className: o()((t = {}, V(t, G.a.error, M && u), V(t, G.a.warning, M && g), t))
  1916.             }, a)), M && c && (u && n.createElement("span", {
  1917.                 className: G.a.error
  1918.             }, u) || g && n.createElement("span", {
  1919.                 className: G.a.warning
  1920.             }, g)))
  1921.         };
  1922.         K.defaultProps = {
  1923.             testId: null,
  1924.             label: "",
  1925.             type: "text",
  1926.             displayErrorMessages: !1
  1927.         };
  1928.         var Z = a(340),
  1929.             W = a.n(Z),
  1930.             H = a(188),
  1931.             J = a.n(H),
  1932.             X = a(189),
  1933.             _ = a.n(X),
  1934.             $ = Object.assign || function (e) {
  1935.                 for (var t = 1; t < arguments.length; t++) {
  1936.                     var a = arguments[t];
  1937.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  1938.                 }
  1939.                 return e
  1940.             },
  1941.             ee = function () {
  1942.                 function e(e, t) {
  1943.                     for (var a = 0; a < t.length; a++) {
  1944.                         var n = t[a];
  1945.                         n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  1946.                     }
  1947.                 }
  1948.                 return function (t, a, n) {
  1949.                     return a && e(t.prototype, a), n && e(t, n), t
  1950.                 }
  1951.             }();
  1952.  
  1953.         function te(e, t, a) {
  1954.             return t in e ? Object.defineProperty(e, t, {
  1955.                 value: a,
  1956.                 enumerable: !0,
  1957.                 configurable: !0,
  1958.                 writable: !0
  1959.             }) : e[t] = a, e
  1960.         }
  1961.  
  1962.         function ae(e, t) {
  1963.             if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  1964.             return !t || "object" != typeof t && "function" != typeof t ? e : t
  1965.         }
  1966.         var ne = function (e) {
  1967.             function t() {
  1968.                 var e, a, n;
  1969.                 ! function (e, t) {
  1970.                     if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  1971.                 }(this, t);
  1972.                 for (var i = arguments.length, r = Array(i), o = 0; o < i; o++) r[o] = arguments[o];
  1973.                 return a = n = ae(this, (e = t.__proto__ || Object.getPrototypeOf(t)).call.apply(e, [this].concat(r))), n._handleChange = function (e, t) {
  1974.                     n.props.input.onChange({
  1975.                         phoneNumber: e,
  1976.                         dialCode: t.dialCode
  1977.                     })
  1978.                 }, n._handleBlur = function (e, t) {
  1979.                     n.props.input.onBlur({
  1980.                         phoneNumber: e,
  1981.                         dialCode: t.dialCode
  1982.                     })
  1983.                 }, ae(n, a)
  1984.             }
  1985.             return function (e, t) {
  1986.                 if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
  1987.                 e.prototype = Object.create(t && t.prototype, {
  1988.                     constructor: {
  1989.                         value: e,
  1990.                         enumerable: !1,
  1991.                         writable: !0,
  1992.                         configurable: !0
  1993.                     }
  1994.                 }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
  1995.             }(t, n["Component"]), ee(t, [{
  1996.                 key: "render",
  1997.                 value: function () {
  1998.                     var e, t = this.props,
  1999.                         a = t.input,
  2000.                         i = t.testId,
  2001.                         r = t.meta,
  2002.                         s = t.defaultCountry,
  2003.                         c = function (e, t) {
  2004.                             var a = {};
  2005.                             for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
  2006.                             return a
  2007.                         }(t, ["input", "testId", "meta", "defaultCountry"]);
  2008.                     return n.createElement("div", {
  2009.                         className: G.a.input
  2010.                     }, n.createElement(W.a, $({
  2011.                         classNames: o()(_.a.input, (e = {}, te(e, G.a.error, r.touched && r.error), te(e, G.a.warning, r.touched && r.warning), e)),
  2012.                         inputProps: {
  2013.                             name: a.name,
  2014.                             "data-testid": i
  2015.                         },
  2016.                         defaultCountry: "en" === s ? "us" : s,
  2017.                         value: a.value,
  2018.                         flagsImagePath: J.a,
  2019.                         onBlur: this._handleBlur,
  2020.                         onChange: this._handleChange
  2021.                     }, c)))
  2022.                 }
  2023.             }]), t
  2024.         }();
  2025.         ne.defaultProps = {
  2026.             testId: "",
  2027.             defaultCountry: "us"
  2028.         };
  2029.         var ie = a(56),
  2030.             re = a.n(ie),
  2031.             oe = Object.assign || function (e) {
  2032.                 for (var t = 1; t < arguments.length; t++) {
  2033.                     var a = arguments[t];
  2034.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  2035.                 }
  2036.                 return e
  2037.             },
  2038.             se = function (e) {
  2039.                 var t = e.input,
  2040.                     a = e.label,
  2041.                     i = e.id,
  2042.                     r = e.className,
  2043.                     s = e.displayErrorMessages,
  2044.                     c = e.meta,
  2045.                     l = c.touched,
  2046.                     M = c.error,
  2047.                     u = c.warning,
  2048.                     g = e.testId;
  2049.                 return n.createElement("div", {
  2050.                     className: o()(re.a.wrapper, r)
  2051.                 }, n.createElement("input", oe({
  2052.                     className: re.a.input,
  2053.                     id: i,
  2054.                     type: "checkbox"
  2055.                 }, t, {
  2056.                     defaultChecked: t.value,
  2057.                     "data-testid": g
  2058.                 })), n.createElement("label", {
  2059.                     className: re.a.label,
  2060.                     htmlFor: i
  2061.                 }, a), l && s && (M && n.createElement("span", {
  2062.                     className: G.a.error
  2063.                 }, M) || u && n.createElement("span", {
  2064.                     className: G.a.warning
  2065.                 }, u)))
  2066.             };
  2067.         se.defaultProps = {
  2068.             label: "",
  2069.             info: "",
  2070.             className: "",
  2071.             displayErrorMessages: !1,
  2072.             testId: ""
  2073.         };
  2074.         a(57);
  2075.         var ce = a(72),
  2076.             le = a.n(ce),
  2077.             Me = a(73),
  2078.             ue = a.n(Me),
  2079.             ge = a(342),
  2080.             Ne = a.n(ge),
  2081.             de = a(341),
  2082.             pe = a(67),
  2083.             De = a.n(pe),
  2084.             ye = a(68),
  2085.             me = a.n(ye);
  2086.  
  2087.         function Te(e, t, a) {
  2088.             return t in e ? Object.defineProperty(e, t, {
  2089.                 value: a,
  2090.                 enumerable: !0,
  2091.                 configurable: !0,
  2092.                 writable: !0
  2093.             }) : e[t] = a, e
  2094.         }
  2095.         var ze = parseInt(me.a.transitionlength, 10),
  2096.             je = function (e) {
  2097.                 var t = e.formMeta,
  2098.                     a = e.formSyncErrors,
  2099.                     i = e.formSyncWarnings,
  2100.                     r = e.storeErrorMessage,
  2101.                     s = e.storeSuccessMessage,
  2102.                     c = e.className,
  2103.                     l = [];
  2104.                 return r && l.push({
  2105.                     storeErrorMessage: r,
  2106.                     type: "error"
  2107.                 }), s && l.push({
  2108.                     storeSuccessMessage: s,
  2109.                     type: "success"
  2110.                 }), Object.keys(a).forEach(function (e) {
  2111.                     var n;
  2112.                     t[e] && t[e].touched && l.push((Te(n = {}, e, a[e]), Te(n, "type", "error"), n))
  2113.                 }), Object.keys(i).forEach(function (e) {
  2114.                     var a;
  2115.                     t[e] && t[e].touched && l.push((Te(a = {}, e, i[e]), Te(a, "type", "warn"), a))
  2116.                 }), n.createElement(de.CSSTransitionGroup, {
  2117.                     className: o()(De.a.notification, c),
  2118.                     component: "div",
  2119.                     transitionName: me.a,
  2120.                     transitionEnterTimeout: ze,
  2121.                     transitionLeaveTimeout: ze
  2122.                 }, l.map(function (e) {
  2123.                     return n.createElement("div", {
  2124.                         className: De.a[e.type],
  2125.                         key: Object.keys(e)[0]
  2126.                     }, n.createElement("span", null, e[Object.keys(e)[0]]))
  2127.                 }))
  2128.             };
  2129.         je.defaultProps = {
  2130.             storeErrorMessage: "",
  2131.             storeSuccessMessage: "",
  2132.             className: ""
  2133.         };
  2134.         var we = Object(B.connect)(function (e, t) {
  2135.                 var a = t.form;
  2136.                 return {
  2137.                     formMeta: le()(a)(e) || {},
  2138.                     formSyncErrors: ue()(a)(e) || {},
  2139.                     formSyncWarnings: Ne()(a)(e) || {}
  2140.                 }
  2141.             })(je),
  2142.             Oe = a(5),
  2143.             Ie = a.n(Oe),
  2144.             Le = a(74),
  2145.             Ae = a.n(Le),
  2146.             he = a(202),
  2147.             xe = a.n(he),
  2148.             ke = a(69),
  2149.             fe = a.n(ke);
  2150.         var Ee = function (e) {
  2151.             var t = e.text,
  2152.                 a = e.show,
  2153.                 i = e.className,
  2154.                 r = e.onClick;
  2155.             return n.createElement("div", {
  2156.                 className: o()(fe.a.wrapper, i, function (e, t, a) {
  2157.                     return t in e ? Object.defineProperty(e, t, {
  2158.                         value: a,
  2159.                         enumerable: !0,
  2160.                         configurable: !0,
  2161.                         writable: !0
  2162.                     }) : e[t] = a, e
  2163.                 }({}, fe.a.hide, !a))
  2164.             }, n.createElement("a", {
  2165.                 role: "link",
  2166.                 tabIndex: 0,
  2167.                 onClick: r
  2168.             }, t))
  2169.         };
  2170.         Ee.defaultProps = {
  2171.             className: null,
  2172.             text: "",
  2173.             show: !0
  2174.         };
  2175.         var be = a(23),
  2176.             ve = a.n(be),
  2177.             Ue = function (e) {
  2178.                 var t = e.currentStep,
  2179.                     a = e.totalSteps,
  2180.                     i = e.showBack,
  2181.                     r = e.showIndicator,
  2182.                     o = e.onBackClick,
  2183.                     s = e.backButtonText;
  2184.                 return n.createElement("div", {
  2185.                     className: ve.a.navigation
  2186.                 }, n.createElement(Ee, {
  2187.                     className: ve.a.back,
  2188.                     show: i,
  2189.                     text: s,
  2190.                     onClick: o
  2191.                 }), r ? n.createElement("div", null, n.createElement("span", {
  2192.                     className: ve.a.current
  2193.                 }, " ", t, " "), " /", n.createElement("span", null, " ", a, " "), n.createElement("div", {
  2194.                     className: ve.a.bar
  2195.                 }, n.createElement("div", {
  2196.                     className: ve.a.fillBar,
  2197.                     style: {
  2198.                         width: t / a * 100 + "%"
  2199.                     }
  2200.                 }))) : null)
  2201.             };
  2202.         Ue.defaultProps = {
  2203.             showBack: !0,
  2204.             showIndicator: !0
  2205.         };
  2206.         var Qe = a(190),
  2207.             Se = a.n(Qe),
  2208.             Ce = a(191),
  2209.             Ye = a.n(Ce),
  2210.             Be = a(1);
  2211.         var Pe = function (e) {
  2212.             var t = e.InnerComponent,
  2213.                 a = e.handleSubmit,
  2214.                 i = function (e, t) {
  2215.                     var a = {};
  2216.                     for (var n in e) t.indexOf(n) >= 0 || Object.prototype.hasOwnProperty.call(e, n) && (a[n] = e[n]);
  2217.                     return a
  2218.                 }(e, ["InnerComponent", "handleSubmit"]);
  2219.             return n.createElement("form", {
  2220.                 className: ve.a.step,
  2221.                 onSubmit: a,
  2222.                 method: "post"
  2223.             }, n.createElement(t, i))
  2224.         };
  2225.         Pe.propTypes = {
  2226.             InnerComponent: Ie.a.func.isRequired,
  2227.             handleSubmit: Ie.a.func.isRequired
  2228.         };
  2229.         var Re = function () {
  2230.                 function e(e, t) {
  2231.                     for (var a = 0; a < t.length; a++) {
  2232.                         var n = t[a];
  2233.                         n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n)
  2234.                     }
  2235.                 }
  2236.                 return function (t, a, n) {
  2237.                     return a && e(t.prototype, a), n && e(t, n), t
  2238.                 }
  2239.             }(),
  2240.             qe = Object.assign || function (e) {
  2241.                 for (var t = 1; t < arguments.length; t++) {
  2242.                     var a = arguments[t];
  2243.                     for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  2244.                 }
  2245.                 return e
  2246.             };
  2247.  
  2248.         function Ge(e, t) {
  2249.             if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
  2250.             return !t || "object" != typeof t && "function" != typeof t ? e : t
  2251.         }
  2252.         var Fe = {
  2253.                 left: Se.a,
  2254.                 right: Ye.a
  2255.             },
  2256.             Ve = function (e) {
  2257.                 return function (t) {
  2258.                     var a = Ae()(qe({}, e, {
  2259.                             destroyOnUnmount: !1,
  2260.                             forceUnregisterOnUnmount: !0
  2261.                         }))(Pe),
  2262.                         i = function (e) {
  2263.                             function i() {
  2264.                                 var e, a, n;
  2265.                                 ! function (e, t) {
  2266.                                     if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
  2267.                                 }(this, i);
  2268.                                 for (var r = arguments.length, o = Array(r), s = 0; s < r; s++) o[s] = arguments[s];
  2269.                                 return a = n = Ge(this, (e = i.__proto__ || Object.getPrototypeOf(i)).call.apply(e, [this].concat(o))), n.state = {
  2270.                                     currentStep: 0,
  2271.                                     animationDirection: "left"
  2272.                                 }, n.onNextStep = function () {
  2273.                                     var e = n.state.currentStep + 1;
  2274.                                     n.isValidStep(e) && n.setState({
  2275.                                         currentStep: e,
  2276.                                         animationDirection: "left"
  2277.                                     })
  2278.                                 }, n.onPreviousStep = function () {
  2279.                                     var e = n.state.currentStep - 1;
  2280.                                     n.isValidStep(e) && n.setState({
  2281.                                         currentStep: e,
  2282.                                         animationDirection: "right"
  2283.                                     })
  2284.                                 }, n.onGoToStep = function (e) {
  2285.                                     n.isValidStep(e) && n.setState({
  2286.                                         currentStep: e,
  2287.                                         animationDirection: e > n.state.currentStep ? "left" : "right"
  2288.                                     })
  2289.                                 }, n.onSubmit = function (e) {
  2290.                                     return n.state.currentStep === n.stepSize - 1 ? n.props.onWizardComplete(e) : n.onNextStep()
  2291.                                 }, n.onBack = function () {
  2292.                                     var e = n.props.onWizardBack;
  2293.                                     return "function" == typeof e ? e(n.state.currentStep, n.onPreviousStep, n.onGoToStep) : n.onPreviousStep()
  2294.                                 }, n.stepSize = t.length, Ge(n, a)
  2295.                             }
  2296.                             return function (e, t) {
  2297.                                 if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + typeof t);
  2298.                                 e.prototype = Object.create(t && t.prototype, {
  2299.                                     constructor: {
  2300.                                         value: e,
  2301.                                         enumerable: !1,
  2302.                                         writable: !0,
  2303.                                         configurable: !0
  2304.                                     }
  2305.                                 }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
  2306.                             }(i, n["Component"]), Re(i, [{
  2307.                                 key: "shouldComponentUpdate",
  2308.                                 value: function (e, t) {
  2309.                                     var a = this.state,
  2310.                                         n = a.currentStep,
  2311.                                         i = a.animationDirection;
  2312.                                     return t.currentStep !== n || t.animationDirection !== i
  2313.                                 }
  2314.                             }, {
  2315.                                 key: "isValidStep",
  2316.                                 value: function (e) {
  2317.                                     return e >= 0 && e < this.stepSize
  2318.                                 }
  2319.                             }, {
  2320.                                 key: "renderStep",
  2321.                                 value: function (e) {
  2322.                                     var a = this.state,
  2323.                                         i = a.currentStep,
  2324.                                         r = a.animationDirection,
  2325.                                         o = t[i];
  2326.                                     return n.createElement(xe.a, {
  2327.                                         component: "div",
  2328.                                         className: ve.a.animationWrapper,
  2329.                                         transitionName: Fe[r],
  2330.                                         transitionAppear: 0 !== i,
  2331.                                         transitionAppearTimeout: 700,
  2332.                                         transitionEnterTimeout: 700,
  2333.                                         transitionLeaveTimeout: 700
  2334.                                     }, n.createElement(o, qe({}, this.props, e)))
  2335.                                 }
  2336.                             }, {
  2337.                                 key: "render",
  2338.                                 value: function () {
  2339.                                     var e = this,
  2340.                                         t = this.props.className,
  2341.                                         i = this.state.currentStep;
  2342.                                     return n.createElement("div", {
  2343.                                         className: t || ve.a.wrapper
  2344.                                     }, n.createElement(a, qe({}, this.props, {
  2345.                                         InnerComponent: function (t) {
  2346.                                             return e.renderStep(t)
  2347.                                         },
  2348.                                         onNextStep: this.onNextStep,
  2349.                                         onPreviousStep: this.onPreviousStep,
  2350.                                         onGoToStep: this.onGoToStep,
  2351.                                         onSubmit: this.onSubmit
  2352.                                     })), n.createElement(Ue, {
  2353.                                         showBack: 0 !== i,
  2354.                                         showIndicator: 0 !== i,
  2355.                                         currentStep: i + 1,
  2356.                                         totalSteps: this.stepSize,
  2357.                                         onBackClick: this.onBack,
  2358.                                         backButtonText: Be.a.get("auth-go-back")
  2359.                                     }))
  2360.                                 }
  2361.                             }]), i
  2362.                         }();
  2363.                     return i.propTypes = {
  2364.                         className: Ie.a.string,
  2365.                         onWizardBack: Ie.a.func,
  2366.                         onWizardComplete: Ie.a.func.isRequired
  2367.                     }, i.defaultProps = {
  2368.                         className: "",
  2369.                         onWizardBack: function () {}
  2370.                     }, i
  2371.                 }
  2372.             };
  2373.         a.d(t, "d", function () {
  2374.             return M
  2375.         }), a.d(t, !1, function () {
  2376.             return y
  2377.         }), a.d(t, "f", function () {
  2378.             return k
  2379.         }), a.d(t, "g", function () {
  2380.             return Q
  2381.         }), a.d(t, "c", function () {
  2382.             return Y
  2383.         }), a.d(t, "b", function () {
  2384.             return R
  2385.         }), a.d(t, "i", function () {
  2386.             return K
  2387.         }), a.d(t, "h", function () {
  2388.             return ne
  2389.         }), a.d(t, "e", function () {
  2390.             return se
  2391.         }), a.d(t, !1, function () {}), a.d(t, "a", function () {
  2392.             return we
  2393.         }), a.d(t, "j", function () {
  2394.             return Ve
  2395.         })
  2396.     },
  2397.     837: function (e, t, a) {
  2398.         "use strict";
  2399.         a.r(t),
  2400.             function (e) {
  2401.                 var n = a(0),
  2402.                     i = a.n(n),
  2403.                     r = a(199),
  2404.                     o = a.n(r),
  2405.                     s = a(21),
  2406.                     c = a(332),
  2407.                     l = a(192),
  2408.                     M = function () {
  2409.                         return i.a.createElement(s.Provider, {
  2410.                             store: l.a
  2411.                         }, i.a.createElement(c.a, null))
  2412.                     };
  2413.                 e.env.STATIC || o.a.render(i.a.createElement(M, null), document.getElementById("app")), t.default = M
  2414.             }.call(this, a(63))
  2415.     },
  2416.     9: function (e, t, a) {
  2417.         "use strict";
  2418.         var n = a(60),
  2419.             i = a(343),
  2420.             r = function (e) {
  2421.                 return function (t) {
  2422.                     return t(Object(i.push)(e))
  2423.                 }
  2424.             },
  2425.             o = a(14),
  2426.             s = a(24),
  2427.             c = a.n(s),
  2428.             l = a(30),
  2429.             M = a(28),
  2430.             u = c.a.create({
  2431.                 baseURL: Object(M.b)(),
  2432.                 withCredentials: !0
  2433.             });
  2434.  
  2435.         function g(e) {
  2436.             return {
  2437.                 code: e.data.status || e.status || "",
  2438.                 type: Object(l.a)(e.status),
  2439.                 message: e.data.message || null,
  2440.                 redirectUrl: e.data.redirect_url || null
  2441.             }
  2442.         }
  2443.         u.interceptors.response.use(function (e) {
  2444.             return e.data.success ? Promise.resolve(e) : Promise.reject(g(e))
  2445.         }, function (e) {
  2446.             return Promise.reject(g(e.response))
  2447.         });
  2448.         var N = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (e) {
  2449.                 return typeof e
  2450.             } : function (e) {
  2451.                 return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
  2452.             },
  2453.             d = c.a.create({
  2454.                 baseURL: Object(M.a)(!0),
  2455.                 headers: {
  2456.                     "X-ApiInternalKey": "2181f8c1-bde4-4493-aecf-407fbd2354ab"
  2457.                 }
  2458.             });
  2459.  
  2460.         function p(e) {
  2461.             var t = e.data,
  2462.                 a = void 0 === t ? {} : t;
  2463.             return {
  2464.                 code: a.Message || a.status || "",
  2465.                 message: a.message || null
  2466.             }
  2467.         }
  2468.         d.interceptors.response.use(function (e) {
  2469.             return "object" !== N(e.data) || e.data.succeeded || e.data.success ? Promise.resolve(e) : Promise.reject(p(e))
  2470.         }, function (e) {
  2471.             return Promise.reject(p(e.response))
  2472.         });
  2473.         var D = a(20);
  2474.  
  2475.         function y() {
  2476.             var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {},
  2477.                 t = e.data && e.data.error && e.data.error.message,
  2478.                 a = e.data && e.data.error && e.data.error.type;
  2479.             return {
  2480.                 type: 200 !== e.status ? Object(l.a)(e.status) : a,
  2481.                 message: t || e.statusText || D.b.SERVER_UNEXPECTED
  2482.             }
  2483.         }
  2484.         c.a.create({
  2485.             withCredentials: !0
  2486.         }).interceptors.response.use(function (e) {
  2487.             return e.data.success ? Promise.resolve(e) : Promise.reject(y(e))
  2488.         }, function (e) {
  2489.             return Promise.reject(y(e.response))
  2490.         });
  2491.         c.a.create({
  2492.             headers: {
  2493.                 Authorization: "Bearer mock_token"
  2494.             }
  2495.         });
  2496.         var m = c.a.create({
  2497.                 baseURL: Object(M.a)(!0)
  2498.             }),
  2499.             T = function (e) {
  2500.                 var t = window.cordova ? {
  2501.                     headers: {
  2502.                         NoSameSite: "True"
  2503.                     }
  2504.                 } : {};
  2505.                 return u.post("/account/login", e, t)
  2506.             },
  2507.             z = function (e) {
  2508.                 return u.post("/account/confirm", {
  2509.                     password: e
  2510.                 })
  2511.             },
  2512.             j = function (e) {
  2513.                 return d.post("/v1/accounts/reset-password", e)
  2514.             },
  2515.             w = function (e) {
  2516.                 return d.post("/v1/accounts", e, {
  2517.                     withCredentials: !0
  2518.                 })
  2519.             },
  2520.             O = function (e) {
  2521.                 return d.post("/v1/accounts/token-external-signup", e, {
  2522.                     headers: {
  2523.                         Authorization: "Bearer " + e.token
  2524.                     },
  2525.                     withCredentials: !0
  2526.                 })
  2527.             },
  2528.             I = function (e) {
  2529.                 return d.post("/v1/accounts/" + e + "/confirm", null, {
  2530.                     withCredentials: !0
  2531.                 })
  2532.             },
  2533.             L = function (e) {
  2534.                 return m.get("/v1/bookingsuite/info?connection_id=" + e, {
  2535.                     withCredentials: !1,
  2536.                     headers: {
  2537.                         "X-ApiInternalKey": null
  2538.                     }
  2539.                 }).then(function (e) {
  2540.                     return e.data
  2541.                 })
  2542.             },
  2543.             A = a(2),
  2544.             h = a(13);
  2545.         var x = Object.assign || function (e) {
  2546.             for (var t = 1; t < arguments.length; t++) {
  2547.                 var a = arguments[t];
  2548.                 for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  2549.             }
  2550.             return e
  2551.         };
  2552.  
  2553.         function k(e, t, a) {
  2554.             var n = window.dataLayer;
  2555.             if (void 0 !== window.google_tag_manager && void 0 !== n) {
  2556.                 var i = {
  2557.                         event: "s_track",
  2558.                         s_event: e,
  2559.                         s_properties: t
  2560.                     },
  2561.                     r = {};
  2562.                 null != a && (r = {
  2563.                     eventCallback: a,
  2564.                     eventTimeout: 2e3
  2565.                 }), n.push(x({}, i, r))
  2566.             } else null != a && a()
  2567.         }
  2568.         var f = "logged in",
  2569.             E = "signup completed",
  2570.             b = "signup confirmed";
  2571.         a.d(t, "a", function () {
  2572.             return X
  2573.         }), a.d(t, "d", function () {
  2574.             return _
  2575.         }), a.d(t, "e", function () {
  2576.             return $
  2577.         }), a.d(t, "c", function () {
  2578.             return ee
  2579.         }), a.d(t, "f", function () {
  2580.             return te
  2581.         });
  2582.         var v = Object.assign || function (e) {
  2583.             for (var t = 1; t < arguments.length; t++) {
  2584.                 var a = arguments[t];
  2585.                 for (var n in a) Object.prototype.hasOwnProperty.call(a, n) && (e[n] = a[n])
  2586.             }
  2587.             return e
  2588.         };
  2589.  
  2590.         function U(e) {
  2591.             return function () {
  2592.                 var t = e.apply(this, arguments);
  2593.                 return new Promise(function (e, a) {
  2594.                     return function n(i, r) {
  2595.                         try {
  2596.                             var o = t[i](r),
  2597.                                 s = o.value
  2598.                         } catch (e) {
  2599.                             return void a(e)
  2600.                         }
  2601.                         if (!o.done) return Promise.resolve(s).then(function (e) {
  2602.                             n("next", e)
  2603.                         }, function (e) {
  2604.                             n("throw", e)
  2605.                         });
  2606.                         e(s)
  2607.                     }("next")
  2608.                 })
  2609.             }
  2610.         }
  2611.         var Q = {
  2612.                 authenticated: !!localStorage.getItem("token"),
  2613.                 error: !1,
  2614.                 message: "",
  2615.                 isLoading: !1,
  2616.                 isIdentityRequestSuccess: !1,
  2617.                 isIdentityRequestFail: !1
  2618.             },
  2619.             S = "AUTH_REQUEST",
  2620.             C = "AUTH_SUCCESS",
  2621.             Y = "AUTH_FAIL",
  2622.             B = "AUTH_IDENTITY_CONFIRMATION_REQUEST",
  2623.             P = "AUTH_IDENTITY_CONFIRMATION_SUCCESS",
  2624.             R = "AUTH_IDENTITY_CONFIRMATION_FAIL",
  2625.             q = "AUTH_SIGNUP_REQUEST",
  2626.             G = "AUTH_SIGNUP_SUCCESS",
  2627.             F = "AUTH_SIGNUP_FAIL",
  2628.             V = "UNAUTH_USER",
  2629.             K = "AUTH_FORGOT_REQUEST",
  2630.             Z = "AUTH_FORGOT_PASS_SUCCESS",
  2631.             W = "AUTH_FORGOT_PASS_FAIL",
  2632.             H = "AUTH_CLEAR_NOTIFICATIONS",
  2633.             J = "AUTH_SWITCH_VIEW",
  2634.             X = (t.b = function () {
  2635.                 var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : Q,
  2636.                     t = arguments[1];
  2637.                 switch (t.type) {
  2638.                     case S:
  2639.                         return v({}, e, {
  2640.                             isLoading: !0,
  2641.                             error: !1,
  2642.                             message: ""
  2643.                         });
  2644.                     case C:
  2645.                         return v({}, e, {
  2646.                             error: !1,
  2647.                             message: "",
  2648.                             authenticated: !0
  2649.                         });
  2650.                     case Y:
  2651.                         return v({}, e, {
  2652.                             error: !0,
  2653.                             message: t.message,
  2654.                             isLoading: !1
  2655.                         });
  2656.                     case B:
  2657.                         return v({}, e, {
  2658.                             isLoading: !0,
  2659.                             error: !1,
  2660.                             message: ""
  2661.                         });
  2662.                     case P:
  2663.                         return v({}, e, {
  2664.                             error: !1,
  2665.                             message: "",
  2666.                             isLoading: !1,
  2667.                             isIdentityRequestSuccess: !0,
  2668.                             isIdentityRequestFail: !1
  2669.                         });
  2670.                     case R:
  2671.                         return v({}, e, {
  2672.                             error: !0,
  2673.                             message: t.message,
  2674.                             isLoading: !1,
  2675.                             isIdentityRequestSuccess: !1,
  2676.                             isIdentityRequestFail: !0
  2677.                         });
  2678.                     case q:
  2679.                         return v({}, e, {
  2680.                             isLoading: !0
  2681.                         });
  2682.                     case G:
  2683.                         return v({}, e, {
  2684.                             error: !1,
  2685.                             message: "",
  2686.                             isLoading: !1
  2687.                         });
  2688.                     case F:
  2689.                         return v({}, e, {
  2690.                             error: !0,
  2691.                             message: t.message,
  2692.                             isLoading: !1
  2693.                         });
  2694.                     case V:
  2695.                         return v({}, e, {
  2696.                             error: !1,
  2697.                             message: "",
  2698.                             authenticated: !1,
  2699.                             isLoading: !1
  2700.                         });
  2701.                     case K:
  2702.                         return v({}, e, {
  2703.                             isLoading: !0
  2704.                         });
  2705.                     case Z:
  2706.                         return v({}, e, {
  2707.                             error: !1,
  2708.                             message: t.message,
  2709.                             isLoading: !1
  2710.                         });
  2711.                     case W:
  2712.                         return v({}, e, {
  2713.                             error: !0,
  2714.                             message: t.message,
  2715.                             isLoading: !1
  2716.                         });
  2717.                     case H:
  2718.                         return v({}, e, {
  2719.                             error: !1,
  2720.                             message: "",
  2721.                             isLoading: !1
  2722.                         });
  2723.                     default:
  2724.                         return e
  2725.                 }
  2726.             }, {
  2727.                 displayErrorNotification: function (e) {
  2728.                     return {
  2729.                         type: F,
  2730.                         message: e
  2731.                     }
  2732.                 },
  2733.                 signoutUser: function () {
  2734.                     return function (e) {
  2735.                         localStorage.removeItem("token"), document.dispatchEvent(new CustomEvent("disablePushNotifications")), e({
  2736.                             type: V
  2737.                         }), Object(o.a)() ? e(r(A.e.authLogin)) : Object(h.d)(A.g.marketingLogout)
  2738.                     }
  2739.                 },
  2740.                 signIn: function (e) {
  2741.                     return function () {
  2742.                         var t = U(regeneratorRuntime.mark(function t(a) {
  2743.                             var n, i, s, c;
  2744.                             return regeneratorRuntime.wrap(function (t) {
  2745.                                 for (;;) switch (t.prev = t.next) {
  2746.                                     case 0:
  2747.                                         return t.prev = 0, a({
  2748.                                             type: S
  2749.                                         }), t.next = 4, T(e);
  2750.                                     case 4:
  2751.                                         n = t.sent, i = n.data.token, s = n.data.redirect_url, localStorage.setItem("token", i), c = function () {
  2752.                                             Object(o.a)() ? (document.dispatchEvent(new CustomEvent("enablePushNotifications")), a(r("/"))) : Object(h.d)(s)
  2753.                                         }, a({
  2754.                                             type: C
  2755.                                         }), k(f, {
  2756.                                             user_id: n.data.user_id,
  2757.                                             email: n.data.email,
  2758.                                             login_method: "email",
  2759.                                             login_date: (new Date).toISOString(),
  2760.                                             timestamp: (new Date).toISOString()
  2761.                                         }, c), t.next = 17;
  2762.                                         break;
  2763.                                     case 13:
  2764.                                         t.prev = 13, t.t0 = t.catch(0), t.t0.redirectUrl && Object(h.d)(t.t0.redirectUrl), a({
  2765.                                             type: Y,
  2766.                                             message: A.a[t.t0.code] || A.a.Generic
  2767.                                         });
  2768.                                     case 17:
  2769.                                     case "end":
  2770.                                         return t.stop()
  2771.                                 }
  2772.                             }, t, void 0, [
  2773.                                 [0, 13]
  2774.                             ])
  2775.                         }));
  2776.                         return function (e) {
  2777.                             return t.apply(this, arguments)
  2778.                         }
  2779.                     }()
  2780.                 },
  2781.                 signInWithExistingToken: function (e, t, a) {
  2782.                     return function (n) {
  2783.                         localStorage.setItem("token", e), document.dispatchEvent(new CustomEvent("enablePushNotifications"));
  2784.                         var i = function () {
  2785.                             Object(o.a)() ? n(r("/")) : t && Object(h.d)(t)
  2786.                         };
  2787.                         n({
  2788.                             type: C
  2789.                         }), a ? k(f, {
  2790.                             user_id: a.user_id,
  2791.                             login_method: a.social_provider,
  2792.                             login_date: (new Date).toISOString(),
  2793.                             timestamp: (new Date).toISOString()
  2794.                         }, i) : i()
  2795.                     }
  2796.                 },
  2797.                 signUp: function (e) {
  2798.                     return function () {
  2799.                         var t = U(regeneratorRuntime.mark(function t(a) {
  2800.                             var i, s, c;
  2801.                             return regeneratorRuntime.wrap(function (t) {
  2802.                                 for (;;) switch (t.prev = t.next) {
  2803.                                     case 0:
  2804.                                         return t.prev = 0, a({
  2805.                                             type: q
  2806.                                         }), t.next = 4, w(v({}, e, {
  2807.                                             phone: e.phone.replace("+" + e.phone_country_code, "").replace(/[^\w]|[\s]/gi, "")
  2808.                                         }));
  2809.                                     case 4:
  2810.                                         i = t.sent, s = i.data, Object(n.b)("signupEmail", e.email), c = function () {
  2811.                                             Object(o.a)() ? a(r(A.e.authRegisterSuccess)) : Object(h.d)(A.g.marketingSignUpSuccess + "/?userId=" + s)
  2812.                                         }, a({
  2813.                                             type: G
  2814.                                         }), k(E, {
  2815.                                             signup_method: "email",
  2816.                                             email: e.email,
  2817.                                             first_name: e.first_name,
  2818.                                             last_name: e.last_name,
  2819.                                             user_status: "Trial Active",
  2820.                                             signup_complete_date: (new Date).toISOString(),
  2821.                                             plan_type: e.selected_plan,
  2822.                                             user_id: s,
  2823.                                             timestamp: (new Date).toISOString()
  2824.                                         }, c), t.next = 15;
  2825.                                         break;
  2826.                                     case 12:
  2827.                                         t.prev = 12, t.t0 = t.catch(0), a({
  2828.                                             type: F,
  2829.                                             message: A.a[t.t0.code] || A.a.Generic
  2830.                                         });
  2831.                                     case 15:
  2832.                                     case "end":
  2833.                                         return t.stop()
  2834.                                 }
  2835.                             }, t, void 0, [
  2836.                                 [0, 12]
  2837.                             ])
  2838.                         }));
  2839.                         return function (e) {
  2840.                             return t.apply(this, arguments)
  2841.                         }
  2842.                     }()
  2843.                 },
  2844.                 signUpSocial: function (e) {
  2845.                     return function () {
  2846.                         var t = U(regeneratorRuntime.mark(function t(a) {
  2847.                             var n, i, s, c;
  2848.                             return regeneratorRuntime.wrap(function (t) {
  2849.                                 for (;;) switch (t.prev = t.next) {
  2850.                                     case 0:
  2851.                                         return t.prev = 0, a({
  2852.                                             type: q
  2853.                                         }), t.next = 4, O(v({}, e, {
  2854.                                             phone: e.phone.replace("+" + e.phone_country_code, "").replace(/[^\w]|[\s]/gi, "")
  2855.                                         }));
  2856.                                     case 4:
  2857.                                         n = t.sent, i = n.data.token, s = n.data.redirect_url, a({
  2858.                                             type: G
  2859.                                         }), localStorage.setItem("token", i), c = function () {
  2860.                                             Object(o.a)() ? (document.dispatchEvent(new CustomEvent("enablePushNotifications")), a(r("/"))) : ("function" == typeof window.confirmSuccess && window.confirmSuccess(n.data), setTimeout(function () {
  2861.                                                 Object(h.d)(s)
  2862.                                             }, 500))
  2863.                                         }, a({
  2864.                                             type: C
  2865.                                         }), k(E, {
  2866.                                             signup_method: n.social_provider,
  2867.                                             email: n.data.email,
  2868.                                             user_status: "Trial Active",
  2869.                                             signup_complete_date: (new Date).toISOString(),
  2870.                                             plan_type: e.selected_plan,
  2871.                                             user_id: n.id,
  2872.                                             timestamp: (new Date).toISOString()
  2873.                                         }, k(b, {
  2874.                                             email: n.data.email,
  2875.                                             signup_confirmation_date: (new Date).toISOString(),
  2876.                                             timestamp: (new Date).toISOString()
  2877.                                         }, c)), t.next = 17;
  2878.                                         break;
  2879.                                     case 14:
  2880.                                         t.prev = 14, t.t0 = t.catch(0), a({
  2881.                                             type: F,
  2882.                                             message: A.a[t.t0.code] || A.a.Generic
  2883.                                         });
  2884.                                     case 17:
  2885.                                     case "end":
  2886.                                         return t.stop()
  2887.                                 }
  2888.                             }, t, void 0, [
  2889.                                 [0, 14]
  2890.                             ])
  2891.                         }));
  2892.                         return function (e) {
  2893.                             return t.apply(this, arguments)
  2894.                         }
  2895.                     }()
  2896.                 },
  2897.                 signUpConfirm: function (e) {
  2898.                     return function () {
  2899.                         var t = U(regeneratorRuntime.mark(function t(a) {
  2900.                             var n, i, s;
  2901.                             return regeneratorRuntime.wrap(function (t) {
  2902.                                 for (;;) switch (t.prev = t.next) {
  2903.                                     case 0:
  2904.                                         return t.prev = 0, a({
  2905.                                             type: q
  2906.                                         }), t.next = 4, I(e);
  2907.                                     case 4:
  2908.                                         n = t.sent, i = n.data, a({
  2909.                                             type: G
  2910.                                         }), localStorage.setItem("token", i.token), a({
  2911.                                             type: C
  2912.                                         }), s = function () {
  2913.                                             Object(o.a)() ? (document.dispatchEvent(new CustomEvent("enablePushNotifications")), a(r("/"))) : ("function" == typeof window.confirmSuccess && window.confirmSuccess(i), setTimeout(function () {
  2914.                                                 Object(h.d)(i.continue_url)
  2915.                                             }, 500))
  2916.                                         }, k(b, {
  2917.                                             email: n.data.email,
  2918.                                             signup_confirmation_date: (new Date).toISOString(),
  2919.                                             timestamp: (new Date).toISOString()
  2920.                                         }, s), t.next = 16;
  2921.                                         break;
  2922.                                     case 13:
  2923.                                         t.prev = 13, t.t0 = t.catch(0), a({
  2924.                                             type: F,
  2925.                                             message: A.a[t.t0.code] || A.a.Generic
  2926.                                         });
  2927.                                     case 16:
  2928.                                     case "end":
  2929.                                         return t.stop()
  2930.                                 }
  2931.                             }, t, void 0, [
  2932.                                 [0, 13]
  2933.                             ])
  2934.                         }));
  2935.                         return function (e) {
  2936.                             return t.apply(this, arguments)
  2937.                         }
  2938.                     }()
  2939.                 },
  2940.                 forgotPass: function (e) {
  2941.                     return function () {
  2942.                         var t = U(regeneratorRuntime.mark(function t(a) {
  2943.                             var n, i, r, o;
  2944.                             return regeneratorRuntime.wrap(function (t) {
  2945.                                 for (;;) switch (t.prev = t.next) {
  2946.                                     case 0:
  2947.                                         return t.prev = 0, a({
  2948.                                             type: K
  2949.                                         }), t.next = 4, j(e);
  2950.                                     case 4:
  2951.                                         n = t.sent, i = n.data, r = i.status, o = i.message, a({
  2952.                                             type: Z,
  2953.                                             message: A.f[r] || o
  2954.                                         }), t.next = 12;
  2955.                                         break;
  2956.                                     case 9:
  2957.                                         t.prev = 9, t.t0 = t.catch(0), a({
  2958.                                             type: W,
  2959.                                             message: A.a[t.t0.code] || A.a.Generic
  2960.                                         });
  2961.                                     case 12:
  2962.                                     case "end":
  2963.                                         return t.stop()
  2964.                                 }
  2965.                             }, t, void 0, [
  2966.                                 [0, 9]
  2967.                             ])
  2968.                         }));
  2969.                         return function (e) {
  2970.                             return t.apply(this, arguments)
  2971.                         }
  2972.                     }()
  2973.                 },
  2974.                 identityConfirm: function (e) {
  2975.                     return function () {
  2976.                         var t = U(regeneratorRuntime.mark(function t(a) {
  2977.                             return regeneratorRuntime.wrap(function (t) {
  2978.                                 for (;;) switch (t.prev = t.next) {
  2979.                                     case 0:
  2980.                                         return t.prev = 0, a({
  2981.                                             type: B
  2982.                                         }), t.next = 4, z(e);
  2983.                                     case 4:
  2984.                                         a({
  2985.                                             type: P
  2986.                                         }), t.next = 10;
  2987.                                         break;
  2988.                                     case 7:
  2989.                                         t.prev = 7, t.t0 = t.catch(0), a({
  2990.                                             type: Y,
  2991.                                             message: A.a[t.t0.code] || A.a.Generic
  2992.                                         });
  2993.                                     case 10:
  2994.                                     case "end":
  2995.                                         return t.stop()
  2996.                                 }
  2997.                             }, t, void 0, [
  2998.                                 [0, 7]
  2999.                             ])
  3000.                         }));
  3001.                         return function (e) {
  3002.                             return t.apply(this, arguments)
  3003.                         }
  3004.                     }()
  3005.                 },
  3006.                 clearNotifications: function () {
  3007.                     return {
  3008.                         type: H
  3009.                     }
  3010.                 },
  3011.                 switchView: function (e) {
  3012.                     return function (t) {
  3013.                         if (Object(o.a)()) return t(X.clearNotifications()), void t(r(e));
  3014.                         e === A.e.authLogin ? window.location.href = A.g.marketingLogin : window.location.href = A.g.marketingSignUp, t({
  3015.                             type: J
  3016.                         })
  3017.                     }
  3018.                 },
  3019.                 switchSocialConfirmView: function () {
  3020.                     return function (e) {
  3021.                         Object(o.a)() && e(r(A.e.authRegisterConfirm))
  3022.                     }
  3023.                 },
  3024.                 setAuthErrorMessage: function (e) {
  3025.                     return {
  3026.                         type: Y,
  3027.                         message: A.a[e] || A.a.Generic
  3028.                     }
  3029.                 },
  3030.                 getUserInfoFromConnectionId: function (e) {
  3031.                     return U(regeneratorRuntime.mark(function t() {
  3032.                         var a;
  3033.                         return regeneratorRuntime.wrap(function (t) {
  3034.                             for (;;) switch (t.prev = t.next) {
  3035.                                 case 0:
  3036.                                     return t.next = 2, L(e);
  3037.                                 case 2:
  3038.                                     return a = t.sent, t.abrupt("return", a);
  3039.                                 case 4:
  3040.                                 case "end":
  3041.                                     return t.stop()
  3042.                             }
  3043.                         }, t, void 0)
  3044.                     }))
  3045.                 }
  3046.             });
  3047.  
  3048.         function _(e) {
  3049.             var t = e.account.auth,
  3050.                 a = t.error,
  3051.                 n = t.message;
  3052.             return a ? n : null
  3053.         }
  3054.  
  3055.         function $(e) {
  3056.             var t = e.account.auth,
  3057.                 a = t.error,
  3058.                 n = t.message;
  3059.             return !a && n ? n : null
  3060.         }
  3061.  
  3062.         function ee(e) {
  3063.             return e.account.auth.error
  3064.         }
  3065.  
  3066.         function te(e) {
  3067.             return e.account.auth.isLoading
  3068.         }
  3069.     },
  3070.     95: function (e, t, a) {
  3071.         "use strict";
  3072.         a(25), a(40), a(19);
  3073.         a.d(t, !1, function () {})
  3074.     },
  3075. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement