/*! For license information please see main.js.LICENSE.txt */
!(function (e, t) {
    if ("object" == typeof exports && "object" == typeof module) module.exports = t();
    else if ("function" == typeof define && define.amd) define([], t);
    else {
        var r = t();
        for (var n in r) ("object" == typeof exports ? exports : e)[n] = r[n];
    }
})(self, function () {
    return (function () {
        var e = {
                "../../node_modules/css-loader/dist/runtime/api.js": function (e) {
                    "use strict";
                    e.exports = function (e) {
                        var t = [];
                        return (
                            (t.toString = function () {
                                return this.map(function (t) {
                                    var r = "",
                                        n = void 0 !== t[5];
                                    return (
                                        t[4] && (r += "@supports (".concat(t[4], ") {")),
                                        t[2] && (r += "@media ".concat(t[2], " {")),
                                        n && (r += "@layer".concat(t[5].length > 0 ? " ".concat(t[5]) : "", " {")),
                                        (r += e(t)),
                                        n && (r += "}"),
                                        t[2] && (r += "}"),
                                        t[4] && (r += "}"),
                                        r
                                    );
                                }).join("");
                            }),
                            (t.i = function (e, r, n, i, a) {
                                "string" == typeof e && (e = [[null, e, void 0]]);
                                var o = {};
                                if (n)
                                    for (var l = 0; l < this.length; l++) {
                                        var s = this[l][0];
                                        null != s && (o[s] = !0);
                                    }
                                for (var u = 0; u < e.length; u++) {
                                    var c = [].concat(e[u]);
                                    (n && o[c[0]]) ||
                                        (void 0 !== a && (void 0 === c[5] || (c[1] = "@layer".concat(c[5].length > 0 ? " ".concat(c[5]) : "", " {").concat(c[1], "}")), (c[5] = a)),
                                        r && (c[2] ? ((c[1] = "@media ".concat(c[2], " {").concat(c[1], "}")), (c[2] = r)) : (c[2] = r)),
                                        i && (c[4] ? ((c[1] = "@supports (".concat(c[4], ") {").concat(c[1], "}")), (c[4] = i)) : (c[4] = "".concat(i))),
                                        t.push(c));
                                }
                            }),
                            t
                        );
                    };
                },
                "../../node_modules/css-loader/dist/runtime/noSourceMaps.js": function (e) {
                    "use strict";
                    e.exports = function (e) {
                        return e[1];
                    };
                },
                "../../node_modules/localize-react/dist/localize-react.js": function (e, t, r) {
                    !(function (e, t) {
                        "use strict";
                        var r = "default" in t ? t.default : t;
                        function n(e) {
                            return (n =
                                "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                                    ? function (e) {
                                          return typeof e;
                                      }
                                    : function (e) {
                                          return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
                                      })(e);
                        }
                        var i = {},
                            a = "[LOCALIZE-REACT]: There are no translations for specified locale",
                            o = "[LOCALIZE-REACT] Looks like template is being used, but no value passed for ",
                            l = /{{([^{]+[^}])}}/g;
                        function s(e, t) {
                            if (!t) return e;
                            if (0 === Object.keys(t).length) return e;
                            var r,
                                n,
                                i,
                                a = e.match(l);
                            return a && 0 !== a.length
                                ? ((r = a),
                                  (n = t),
                                  (i = Object.keys(n)),
                                  r.map(function (e) {
                                      var t = Array.prototype.slice.call(e, 2, -2).join(""),
                                          r = i.find(function (e) {
                                              return e === t;
                                          });
                                      return r ? [e, n[r]] : (console.warn(o, e), [e, e]);
                                  })).reduce(function (e, t) {
                                      var r = new RegExp(t[0], "gi");
                                      return e.replace(r, t[1]);
                                  }, e)
                                : e;
                        }
                        var u = r.createContext(),
                            c = u.Consumer;
                        function h() {
                            return t.useContext(u);
                        }
                        (e.LocalizationConsumer = c),
                            (e.LocalizationContext = u),
                            (e.LocalizationProvider = function (e) {
                                var o = e.children,
                                    l = e.disableCache,
                                    c = e.locale,
                                    h = e.translations,
                                    f = void 0 === h ? {} : h,
                                    d = (function (e, t) {
                                        if (!e) return null;
                                        if ("object" === n(t[e])) return e;
                                        var r = e.toLowerCase().replace(/-/g, "_");
                                        if ("object" === n(t[r])) return r;
                                        var i = r.split("_")[0];
                                        return "object" === n(t[i]) ? i : (console.warn(a, e), e);
                                    })(c, f),
                                    g = d ? f[d] : f;
                                function C(e, t, r) {
                                    if (!g || !e) return r || e;
                                    var n = "string" == typeof r ? r : e,
                                        i = g[e];
                                    if ("string" == typeof i) return t ? s(i, t) : i;
                                    var a = e.split(".");
                                    if (1 === a.length) return s(n, t);
                                    for (var o = g[a[0]], l = 1; l < a.length; l++) o = o && o[a[l]];
                                    return s("string" == typeof o ? o : n, t);
                                }
                                t.useEffect(
                                    function () {
                                        i = {};
                                    },
                                    [c, f]
                                );
                                var p,
                                    I = l
                                        ? C
                                        : ((p = C),
                                          function (e, t, r) {
                                              var n = 2 < arguments.length && void 0 !== r ? r : "",
                                                  a = t ? JSON.stringify(t, null, "") + e + n : e + n;
                                              if (i[a]) return i[a];
                                              var o = p(e, t, n);
                                              return (i[a] = o);
                                          });
                                return r.createElement(u.Provider, { value: { locale: c, translate: I, translations: f } }, o);
                            }),
                            (e.Message = function (e) {
                                var t = e.defaultMessage,
                                    r = e.descriptor,
                                    n = e.values;
                                return (0, h().translate)(r, n, t);
                            }),
                            (e.useLocalize = h),
                            Object.defineProperty(e, "__esModule", { value: !0 });
                    })(t, r("../../node_modules/react/index.js"));
                },
                "../../node_modules/react-device-detect/dist/lib.js": function (e, t, r) {
                    "use strict";
                    var n,
                        i = r("../../node_modules/react/index.js"),
                        a = (n = i) && "object" == typeof n && "default" in n ? n.default : n,
                        o = r("../../node_modules/ua-parser-js/dist/ua-parser.min.js"),
                        l = new o(),
                        s = l.getBrowser(),
                        u = l.getCPU(),
                        c = l.getDevice(),
                        h = l.getEngine(),
                        f = l.getOS(),
                        d = l.getUA(),
                        g = function (e) {
                            return l.setUA(e);
                        },
                        C = function (e) {
                            if (e) {
                                var t = new o(e);
                                return {
                                    UA: t,
                                    browser: t.getBrowser(),
                                    cpu: t.getCPU(),
                                    device: t.getDevice(),
                                    engine: t.getEngine(),
                                    os: t.getOS(),
                                    ua: t.getUA(),
                                    setUserAgent: function (e) {
                                        return t.setUA(e);
                                    },
                                };
                            }
                            console.error("No userAgent string was provided");
                        },
                        p = Object.freeze({ ClientUAInstance: l, browser: s, cpu: u, device: c, engine: h, os: f, ua: d, setUa: g, parseUserAgent: C });
                    function I(e, t) {
                        var r = Object.keys(e);
                        if (Object.getOwnPropertySymbols) {
                            var n = Object.getOwnPropertySymbols(e);
                            t &&
                                (n = n.filter(function (t) {
                                    return Object.getOwnPropertyDescriptor(e, t).enumerable;
                                })),
                                r.push.apply(r, n);
                        }
                        return r;
                    }
                    function m(e) {
                        return (
                            "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                                ? function (e) {
                                      return typeof e;
                                  }
                                : function (e) {
                                      return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
                                  },
                            m(e)
                        );
                    }
                    function v(e, t) {
                        for (var r = 0; r < t.length; r++) {
                            var n = t[r];
                            (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);
                        }
                    }
                    function E(e, t, r) {
                        return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e;
                    }
                    function y() {
                        return (
                            Object.assign ||
                                function (e) {
                                    for (var t = 1; t < arguments.length; t++) {
                                        var r = arguments[t];
                                        for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
                                    }
                                    return e;
                                },
                            y.apply(this, arguments)
                        );
                    }
                    function w(e) {
                        return (
                            Object.setPrototypeOf
                                ? Object.getPrototypeOf
                                : function (e) {
                                      return e.__proto__ || Object.getPrototypeOf(e);
                                  },
                            w(e)
                        );
                    }
                    function A(e, t) {
                        return (
                            Object.setPrototypeOf ||
                                function (e, t) {
                                    return (e.__proto__ = t), e;
                                },
                            A(e, t)
                        );
                    }
                    function S(e, t) {
                        if (null == e) return {};
                        var r,
                            n,
                            i = (function (e, t) {
                                if (null == e) return {};
                                var r,
                                    n,
                                    i = {},
                                    a = Object.keys(e);
                                for (0; n < a.length; n++) a[n], t.indexOf(r) >= 0 || (i[r] = e[r]);
                                return i;
                            })(e, t);
                        if (Object.getOwnPropertySymbols) {
                            var a = Object.getOwnPropertySymbols(e);
                            for (0; n < a.length; n++) a[n], t.indexOf(r) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]));
                        }
                        return i;
                    }
                    function b(e) {
                        if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                        return e;
                    }
                    function Q(e, t) {
                        return (
                            (function (e) {
                                if (Array.isArray(e)) return e;
                            })(e) ||
                            (function (e, t) {
                                var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                                if (null == r) return;
                                var n,
                                    i,
                                    a = [],
                                    o = !0,
                                    l = !1;
                                try {
                                    for (r.call(e); !r.next().done && (a.push(n.value), !t || a.length !== t); !0);
                                } catch (s) {
                                    !0, s;
                                } finally {
                                    try {
                                        o || null == r.return || r.return();
                                    } finally {
                                        if (l) throw i;
                                    }
                                }
                                return a;
                            })(e, t) ||
                            (function (e, t) {
                                if (!e) return;
                                if ("string" == typeof e) return k(e, t);
                                var r = Object.prototype.toString.call(e).slice(8, -1);
                                "Object" === r && e.constructor && e.constructor.name;
                                if ("Map" === r || "Set" === r) return Array.from(e);
                                if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return k(e, t);
                            })(e, t) ||
                            (function () {
                                throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                            })()
                        );
                    }
                    function k(e, t) {
                        (null == t || t > e.length) && e.length;
                        for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                        return n;
                    }
                    var x = "mobile",
                        O = "tablet",
                        B = "smarttv",
                        F = "console",
                        L = "wearable",
                        j = "embedded",
                        W = void 0,
                        R = {
                            Chrome: "Chrome",
                            Firefox: "Firefox",
                            Opera: "Opera",
                            Yandex: "Yandex",
                            Safari: "Safari",
                            InternetExplorer: "Internet Explorer",
                            Edge: "Edge",
                            Chromium: "Chromium",
                            Ie: "IE",
                            MobileSafari: "Mobile Safari",
                            EdgeChromium: "Edge Chromium",
                            MIUI: "MIUI Browser",
                            SamsungBrowser: "Samsung Browser",
                        },
                        Y = { IOS: "iOS", Android: "Android", WindowsPhone: "Windows Phone", Windows: "Windows", MAC_OS: "Mac OS" },
                        D = { isMobile: !1, isTablet: !1, isBrowser: !1, isSmartTV: !1, isConsole: !1, isWearable: !1 },
                        K = function (e) {
                            return e || (arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "none");
                        },
                        P = function () {
                            return !("undefined" == typeof window || (!window.navigator && !navigator)) && (window.navigator || navigator);
                        },
                        G = function (e) {
                            var t = P();
                            return t && t.platform && (-1 !== t.platform.indexOf(e) || ("MacIntel" === t.platform && t.maxTouchPoints > 1 && !window.MSStream));
                        },
                        M = function (e, t, r, n) {
                            return (function (e) {
                                for (var t = 1; t < arguments.length; t++) {
                                    var r = null != arguments[t] ? arguments[t] : {};
                                    t % 2
                                        ? I(Object(r), !0).forEach(function (t) {
                                              E(e, t, r[t]);
                                          })
                                        : Object.getOwnPropertyDescriptors
                                        ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                                        : I(Object(r)).forEach(function (t) {
                                              Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                                          });
                                }
                                return e;
                            })({}, e, { vendor: K(t.vendor), model: K(t.model), os: K(r.name), osVersion: K(r.version), ua: K(n) });
                        };
                    var U = function (e) {
                            return e.type === x;
                        },
                        N = function (e) {
                            return e.type === O;
                        },
                        V = function (e) {
                            var t = e.type;
                            return t === x || t === O;
                        },
                        T = function (e) {
                            return e.type === B;
                        },
                        H = function (e) {
                            return e.type === W;
                        },
                        z = function (e) {
                            return e.type === L;
                        },
                        J = function (e) {
                            return e.type === F;
                        },
                        Z = function (e) {
                            return e.type === j;
                        },
                        q = function (e) {
                            var t = e.vendor;
                            return K(t);
                        },
                        X = function (e) {
                            var t = e.model;
                            return K(t);
                        },
                        _ = function (e) {
                            var t = e.type;
                            return K(t, "browser");
                        },
                        $ = function (e) {
                            return e.name === Y.Android;
                        },
                        ee = function (e) {
                            return e.name === Y.Windows;
                        },
                        te = function (e) {
                            return e.name === Y.MAC_OS;
                        },
                        re = function (e) {
                            return e.name === Y.WindowsPhone;
                        },
                        ne = function (e) {
                            return e.name === Y.IOS;
                        },
                        ie = function (e) {
                            var t = e.version;
                            return K(t);
                        },
                        ae = function (e) {
                            var t = e.name;
                            return K(t);
                        },
                        oe = function (e) {
                            return e.name === R.Chrome;
                        },
                        le = function (e) {
                            return e.name === R.Firefox;
                        },
                        se = function (e) {
                            return e.name === R.Chromium;
                        },
                        ue = function (e) {
                            return e.name === R.Edge;
                        },
                        ce = function (e) {
                            return e.name === R.Yandex;
                        },
                        he = function (e) {
                            var t = e.name;
                            return t === R.Safari || t === R.MobileSafari;
                        },
                        fe = function (e) {
                            return e.name === R.MobileSafari;
                        },
                        de = function (e) {
                            return e.name === R.Opera;
                        },
                        ge = function (e) {
                            var t = e.name;
                            return t === R.InternetExplorer || t === R.Ie;
                        },
                        Ce = function (e) {
                            return e.name === R.MIUI;
                        },
                        pe = function (e) {
                            return e.name === R.SamsungBrowser;
                        },
                        Ie = function (e) {
                            var t = e.version;
                            return K(t);
                        },
                        me = function (e) {
                            var t = e.major;
                            return K(t);
                        },
                        ve = function (e) {
                            var t = e.name;
                            return K(t);
                        },
                        Ee = function (e) {
                            var t = e.name;
                            return K(t);
                        },
                        ye = function (e) {
                            var t = e.version;
                            return K(t);
                        },
                        we = function () {
                            var e = P(),
                                t = e && e.userAgent && e.userAgent.toLowerCase();
                            return "string" == typeof t && /electron/.test(t);
                        },
                        Ae = function (e) {
                            return "string" == typeof e && -1 !== e.indexOf("Edg/");
                        },
                        Se = function () {
                            var e = P();
                            return e && (/iPad|iPhone|iPod/.test(e.platform) || ("MacIntel" === e.platform && e.maxTouchPoints > 1)) && !window.MSStream;
                        },
                        be = function () {
                            return G("iPad");
                        },
                        Qe = function () {
                            return G("iPhone");
                        },
                        ke = function () {
                            return G("iPod");
                        },
                        xe = function (e) {
                            return K(e);
                        };
                    function Oe(e) {
                        var t = e || p,
                            r = t.device,
                            n = t.browser,
                            i = t.os,
                            a = t.engine,
                            o = t.ua;
                        return {
                            isSmartTV: T(r),
                            isConsole: J(r),
                            isWearable: z(r),
                            isEmbedded: Z(r),
                            isMobileSafari: fe(n) || be(),
                            isChromium: se(n),
                            isMobile: V(r) || be(),
                            isMobileOnly: U(r),
                            isTablet: N(r) || be(),
                            isBrowser: H(r),
                            isDesktop: H(r),
                            isAndroid: $(i),
                            isWinPhone: re(i),
                            isIOS: ne(i) || be(),
                            isChrome: oe(n),
                            isFirefox: le(n),
                            isSafari: he(n),
                            isOpera: de(n),
                            isIE: ge(n),
                            osVersion: ie(i),
                            osName: ae(i),
                            fullBrowserVersion: Ie(n),
                            browserVersion: me(n),
                            browserName: ve(n),
                            mobileVendor: q(r),
                            mobileModel: X(r),
                            engineName: Ee(a),
                            engineVersion: ye(a),
                            getUA: xe(o),
                            isEdge: ue(n) || Ae(o),
                            isYandex: ce(n),
                            deviceType: _(r),
                            isIOS13: Se(),
                            isIPad13: be(),
                            isIPhone13: Qe(),
                            isIPod13: ke(),
                            isElectron: we(),
                            isEdgeChromium: Ae(o),
                            isLegacyEdge: ue(n) && !Ae(o),
                            isWindows: ee(i),
                            isMacOs: te(i),
                            isMIUI: Ce(n),
                            isSamsungBrowser: pe(n),
                        };
                    }
                    var Be = T(c),
                        Fe = J(c),
                        Le = z(c),
                        je = Z(c),
                        We = fe(s) || be(),
                        Re = se(s),
                        Ye = V(c) || be(),
                        De = U(c),
                        Ke = N(c) || be(),
                        Pe = H(c),
                        Ge = H(c),
                        Me = $(f),
                        Ue = re(f),
                        Ne = ne(f) || be(),
                        Ve = oe(s),
                        Te = le(s),
                        He = he(s),
                        ze = de(s),
                        Je = ge(s),
                        Ze = ie(f),
                        qe = ae(f),
                        Xe = Ie(s),
                        _e = me(s),
                        $e = ve(s),
                        et = q(c),
                        tt = X(c),
                        rt = Ee(h),
                        nt = ye(h),
                        it = xe(d),
                        at = ue(s) || Ae(d),
                        ot = ce(s),
                        lt = _(c),
                        st = Se(),
                        ut = be(),
                        ct = Qe(),
                        ht = ke(),
                        ft = we(),
                        dt = Ae(d),
                        gt = ue(s) && !Ae(d),
                        Ct = ee(f),
                        pt = te(f),
                        It = Ce(s),
                        mt = pe(s);
                    function vt(e) {
                        var t = e || window.navigator.userAgent;
                        return C(t);
                    }
                    (t.KC = $e), (t.x_ = _e), (t.o3 = Xe), (t.nI = Ge), (t.vU = Te), (t.gn = Ne), (t.tq = Ye), (t.UA = De), (t.G6 = He), (t.Em = Ke), (t.BF = qe), (t.MM = Ze);
                },
                "../../node_modules/react-dom/cjs/react-dom.production.min.js": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/react/index.js"),
                        i = r("../../node_modules/scheduler/index.js");
                    function a(e) {
                        for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, r = 1; r < arguments.length; r++) t += "&args[]=" + encodeURIComponent(arguments[r]);
                        return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
                    }
                    var o = new Set(),
                        l = {};
                    function s(e, t) {
                        u(e, t), u(e + "Capture", t);
                    }
                    function u(e, t) {
                        for (l[e] = t, e = 0; e < t.length; e++) o.add(t[e]);
                    }
                    var c = !("undefined" == typeof window || void 0 === window.document || void 0 === window.document.createElement),
                        h = Object.prototype.hasOwnProperty,
                        f = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,
                        d = {},
                        g = {};
                    function C(e, t, r, n, i, a, o) {
                        (this.acceptsBooleans = 2 === t || 3 === t || 4 === t),
                            (this.attributeName = n),
                            (this.attributeNamespace = i),
                            (this.mustUseProperty = r),
                            (this.propertyName = e),
                            (this.type = t),
                            (this.sanitizeURL = a),
                            (this.removeEmptyString = o);
                    }
                    var p = {};
                    "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function (e) {
                        p[e] = new C(e, 0, !1, e, null, !1, !1);
                    }),
                        [
                            ["acceptCharset", "accept-charset"],
                            ["className", "class"],
                            ["htmlFor", "for"],
                            ["httpEquiv", "http-equiv"],
                        ].forEach(function (e) {
                            var t = e[0];
                            p[t] = new C(t, 1, !1, e[1], null, !1, !1);
                        }),
                        ["contentEditable", "draggable", "spellCheck", "value"].forEach(function (e) {
                            p[e] = new C(e, 2, !1, e.toLowerCase(), null, !1, !1);
                        }),
                        ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function (e) {
                            p[e] = new C(e, 2, !1, e, null, !1, !1);
                        }),
                        "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope"
                            .split(" ")
                            .forEach(function (e) {
                                p[e] = new C(e, 3, !1, e.toLowerCase(), null, !1, !1);
                            }),
                        ["checked", "multiple", "muted", "selected"].forEach(function (e) {
                            p[e] = new C(e, 3, !0, e, null, !1, !1);
                        }),
                        ["capture", "download"].forEach(function (e) {
                            p[e] = new C(e, 4, !1, e, null, !1, !1);
                        }),
                        ["cols", "rows", "size", "span"].forEach(function (e) {
                            p[e] = new C(e, 6, !1, e, null, !1, !1);
                        }),
                        ["rowSpan", "start"].forEach(function (e) {
                            p[e] = new C(e, 5, !1, e.toLowerCase(), null, !1, !1);
                        });
                    var I = /[\-:]([a-z])/g;
                    function m(e) {
                        return e[1].toUpperCase();
                    }
                    function v(e, t, r, n) {
                        var i = p.hasOwnProperty(t) ? p[t] : null;
                        (null !== i ? 0 !== i.type : n || !(2 < t.length) || ("o" !== t[0] && "O" !== t[0]) || ("n" !== t[1] && "N" !== t[1])) &&
                            ((function (e, t, r, n) {
                                if (
                                    null == t ||
                                    (function (e, t, r, n) {
                                        if (null !== r && 0 === r.type) return !1;
                                        switch (typeof t) {
                                            case "function":
                                            case "symbol":
                                                return !0;
                                            case "boolean":
                                                return !n && (null !== r ? !r.acceptsBooleans : "data-" !== (e = e.toLowerCase().slice(0, 5)) && "aria-" !== e);
                                            default:
                                                return !1;
                                        }
                                    })(e, t, r, n)
                                )
                                    return !0;
                                if (n) return !1;
                                if (null !== r)
                                    switch (r.type) {
                                        case 3:
                                            return !t;
                                        case 4:
                                            return !1 === t;
                                        case 5:
                                            return isNaN(t);
                                        case 6:
                                            return isNaN(t) || 1 > t;
                                    }
                                return !1;
                            })(t, r, i, n) && (r = null),
                            n || null === i
                                ? (function (e) {
                                      return !!h.call(g, e) || (!h.call(d, e) && (f.test(e) ? (g[e] = !0) : ((d[e] = !0), !1)));
                                  })(t) && (null === r ? e.removeAttribute(t) : e.setAttribute(t, "" + r))
                                : i.mustUseProperty
                                ? (e[i.propertyName] = null === r ? 3 !== i.type && "" : r)
                                : ((t = i.attributeName),
                                  (n = i.attributeNamespace),
                                  null === r ? e.removeAttribute(t) : ((r = 3 === (i = i.type) || (4 === i && !0 === r) ? "" : "" + r), n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r))));
                    }
                    "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height"
                        .split(" ")
                        .forEach(function (e) {
                            var t = e.replace(I, m);
                            p[t] = new C(t, 1, !1, e, null, !1, !1);
                        }),
                        "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function (e) {
                            var t = e.replace(I, m);
                            p[t] = new C(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1);
                        }),
                        ["xml:base", "xml:lang", "xml:space"].forEach(function (e) {
                            var t = e.replace(I, m);
                            p[t] = new C(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1);
                        }),
                        ["tabIndex", "crossOrigin"].forEach(function (e) {
                            p[e] = new C(e, 1, !1, e.toLowerCase(), null, !1, !1);
                        }),
                        (p.xlinkHref = new C("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1)),
                        ["src", "href", "action", "formAction"].forEach(function (e) {
                            p[e] = new C(e, 1, !1, e.toLowerCase(), null, !0, !0);
                        });
                    var E = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
                        y = Symbol.for("react.element"),
                        w = Symbol.for("react.portal"),
                        A = Symbol.for("react.fragment"),
                        S = Symbol.for("react.strict_mode"),
                        b = Symbol.for("react.profiler"),
                        Q = Symbol.for("react.provider"),
                        k = Symbol.for("react.context"),
                        x = Symbol.for("react.forward_ref"),
                        O = Symbol.for("react.suspense"),
                        B = Symbol.for("react.suspense_list"),
                        F = Symbol.for("react.memo"),
                        L = Symbol.for("react.lazy");
                    Symbol.for("react.scope"), Symbol.for("react.debug_trace_mode");
                    var j = Symbol.for("react.offscreen");
                    Symbol.for("react.legacy_hidden"), Symbol.for("react.cache"), Symbol.for("react.tracing_marker");
                    var W = Symbol.iterator;
                    function R(e) {
                        return null === e || "object" != typeof e ? null : "function" == typeof (e = (W && e[W]) || e["@@iterator"]) ? e : null;
                    }
                    var Y,
                        D = Object.assign;
                    function K(e) {
                        if (void 0 === Y)
                            try {
                                throw Error();
                            } catch (r) {
                                var t = r.stack.trim().match(/\n( *(at )?)/);
                                Y = (t && t[1]) || "";
                            }
                        return "\n" + Y + e;
                    }
                    var P = !1;
                    function G(e, t) {
                        if (!e || P) return "";
                        P = !0;
                        var r = Error.prepareStackTrace;
                        Error.prepareStackTrace = void 0;
                        try {
                            if (t)
                                if (
                                    ((t = function () {
                                        throw Error();
                                    }),
                                    Object.defineProperty(t.prototype, "props", {
                                        set: function () {
                                            throw Error();
                                        },
                                    }),
                                    "object" == typeof Reflect && Reflect.construct)
                                ) {
                                    try {
                                        Reflect.construct(t, []);
                                    } catch (u) {
                                        var n = u;
                                    }
                                    Reflect.construct(e, [], t);
                                } else {
                                    try {
                                        t.call();
                                    } catch (u) {
                                        n = u;
                                    }
                                    e.call(t.prototype);
                                }
                            else {
                                try {
                                    throw Error();
                                } catch (u) {
                                    n = u;
                                }
                                e();
                            }
                        } catch (u) {
                            if (u && n && "string" == typeof u.stack) {
                                for (var i = u.stack.split("\n"), a = n.stack.split("\n"), o = i.length - 1, l = a.length - 1; 1 <= o && 0 <= l && i[o] !== a[l]; ) l--;
                                for (; 1 <= o && 0 <= l; o--, l--)
                                    if (i[o] !== a[l]) {
                                        if (1 !== o || 1 !== l)
                                            do {
                                                if ((o--, 0 > --l || i[o] !== a[l])) {
                                                    var s = "\n" + i[o].replace(" at new ", " at ");
                                                    return e.displayName && s.includes("<anonymous>") && (s = s.replace("<anonymous>", e.displayName)), s;
                                                }
                                            } while (1 <= o && 0 <= l);
                                        break;
                                    }
                            }
                        } finally {
                            (P = !1), (Error.prepareStackTrace = r);
                        }
                        return (e = e ? e.displayName || e.name : "") ? K(e) : "";
                    }
                    function M(e) {
                        switch (e.tag) {
                            case 5:
                                return K(e.type);
                            case 16:
                                return K("Lazy");
                            case 13:
                                return K("Suspense");
                            case 19:
                                return K("SuspenseList");
                            case 0:
                            case 2:
                            case 15:
                                return (e = G(e.type, !1));
                            case 11:
                                return (e = G(e.type.render, !1));
                            case 1:
                                return (e = G(e.type, !0));
                            default:
                                return "";
                        }
                    }
                    function U(e) {
                        if (null == e) return null;
                        if ("function" == typeof e) return e.displayName || e.name || null;
                        if ("string" == typeof e) return e;
                        switch (e) {
                            case A:
                                return "Fragment";
                            case w:
                                return "Portal";
                            case b:
                                return "Profiler";
                            case S:
                                return "StrictMode";
                            case O:
                                return "Suspense";
                            case B:
                                return "SuspenseList";
                        }
                        if ("object" == typeof e)
                            switch (e.$$typeof) {
                                case k:
                                    return (e.displayName || "Context") + ".Consumer";
                                case Q:
                                    return (e._context.displayName || "Context") + ".Provider";
                                case x:
                                    var t = e.render;
                                    return (e = e.displayName) || (e = "" !== (e = t.displayName || t.name || "") ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
                                case F:
                                    return null !== (t = e.displayName || null) ? t : U(e.type) || "Memo";
                                case L:
                                    (t = e._payload), (e = e._init);
                                    try {
                                        return U(e(t));
                                    } catch (r) {}
                            }
                        return null;
                    }
                    function N(e) {
                        var t = e.type;
                        switch (e.tag) {
                            case 24:
                                return "Cache";
                            case 9:
                                return (t.displayName || "Context") + ".Consumer";
                            case 10:
                                return (t._context.displayName || "Context") + ".Provider";
                            case 18:
                                return "DehydratedFragment";
                            case 11:
                                return (e = (e = t.render).displayName || e.name || ""), t.displayName || ("" !== e ? "ForwardRef(" + e + ")" : "ForwardRef");
                            case 7:
                                return "Fragment";
                            case 5:
                                return t;
                            case 4:
                                return "Portal";
                            case 3:
                                return "Root";
                            case 6:
                                return "Text";
                            case 16:
                                return U(t);
                            case 8:
                                return t === S ? "StrictMode" : "Mode";
                            case 22:
                                return "Offscreen";
                            case 12:
                                return "Profiler";
                            case 21:
                                return "Scope";
                            case 13:
                                return "Suspense";
                            case 19:
                                return "SuspenseList";
                            case 25:
                                return "TracingMarker";
                            case 1:
                            case 0:
                            case 17:
                            case 2:
                            case 14:
                            case 15:
                                if ("function" == typeof t) return t.displayName || t.name || null;
                                if ("string" == typeof t) return t;
                        }
                        return null;
                    }
                    function V(e) {
                        switch (typeof e) {
                            case "boolean":
                            case "number":
                            case "string":
                            case "undefined":
                            case "object":
                                return e;
                            default:
                                return "";
                        }
                    }
                    function T(e) {
                        var t = e.type;
                        return (e = e.nodeName) && "input" === e.toLowerCase() && ("checkbox" === t || "radio" === t);
                    }
                    function H(e) {
                        e._valueTracker ||
                            (e._valueTracker = (function (e) {
                                var t = T(e) ? "checked" : "value",
                                    r = Object.getOwnPropertyDescriptor(e.constructor.prototype, t),
                                    n = "" + e[t];
                                if (!e.hasOwnProperty(t) && void 0 !== r && "function" == typeof r.get && "function" == typeof r.set) {
                                    var i = r.get,
                                        a = r.set;
                                    return (
                                        Object.defineProperty(e, t, {
                                            configurable: !0,
                                            get: function () {
                                                return i.call(this);
                                            },
                                            set: function (e) {
                                                (n = "" + e), a.call(this, e);
                                            },
                                        }),
                                        Object.defineProperty(e, t, { enumerable: r.enumerable }),
                                        {
                                            getValue: function () {
                                                return n;
                                            },
                                            setValue: function (e) {
                                                n = "" + e;
                                            },
                                            stopTracking: function () {
                                                (e._valueTracker = null), delete e[t];
                                            },
                                        }
                                    );
                                }
                            })(e));
                    }
                    function z(e) {
                        if (!e) return !1;
                        var t = e._valueTracker;
                        if (!t) return !0;
                        var r = t.getValue(),
                            n = "";
                        return e && (n = T(e) ? (e.checked ? "true" : "false") : e.value), (e = n) !== r && (t.setValue(e), !0);
                    }
                    function J(e) {
                        if (void 0 === (e = e || ("undefined" != typeof document ? document : void 0))) return null;
                        try {
                            return e.activeElement || e.body;
                        } catch (t) {
                            return e.body;
                        }
                    }
                    function Z(e, t) {
                        var r = t.checked;
                        return D({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: null != r ? r : e._wrapperState.initialChecked });
                    }
                    function q(e, t) {
                        var r = null == t.defaultValue ? "" : t.defaultValue,
                            n = null != t.checked ? t.checked : t.defaultChecked;
                        (r = V(null != t.value ? t.value : r)), (e._wrapperState = { initialChecked: n, initialValue: r, controlled: "checkbox" === t.type || "radio" === t.type ? null != t.checked : null != t.value });
                    }
                    function X(e, t) {
                        null != (t = t.checked) && v(e, "checked", t, !1);
                    }
                    function _(e, t) {
                        X(e, t);
                        var r = V(t.value),
                            n = t.type;
                        if (null != r) "number" === n ? ((0 === r && "" === e.value) || e.value != r) && (e.value = "" + r) : e.value !== "" + r && (e.value = "" + r);
                        else if ("submit" === n || "reset" === n) return void e.removeAttribute("value");
                        t.hasOwnProperty("value") ? ee(e, t.type, r) : t.hasOwnProperty("defaultValue") && ee(e, t.type, V(t.defaultValue)), null == t.checked && null != t.defaultChecked && (e.defaultChecked = !!t.defaultChecked);
                    }
                    function $(e, t, r) {
                        if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
                            var n = t.type;
                            if (!(("submit" !== n && "reset" !== n) || (void 0 !== t.value && null !== t.value))) return;
                            (t = "" + e._wrapperState.initialValue), r || t === e.value || (e.value = t), (e.defaultValue = t);
                        }
                        "" !== (r = e.name) && (e.name = ""), (e.defaultChecked = !!e._wrapperState.initialChecked), "" !== r && (e.name = r);
                    }
                    function ee(e, t, r) {
                        ("number" === t && J(e.ownerDocument) === e) || (null == r ? (e.defaultValue = "" + e._wrapperState.initialValue) : e.defaultValue !== "" + r && (e.defaultValue = "" + r));
                    }
                    var te = Array.isArray;
                    function re(e, t, r, n) {
                        if (((e = e.options), t)) {
                            t = {};
                            for (var i = 0; i < r.length; i++) t["$" + r[i]] = !0;
                            for (r = 0; r < e.length; r++) (i = t.hasOwnProperty("$" + e[r].value)), e[r].selected !== i && (e[r].selected = i), i && n && (e[r].defaultSelected = !0);
                        } else {
                            for (r = "" + V(r), t = null, i = 0; i < e.length; i++) {
                                if (e[i].value === r) return (e[i].selected = !0), void (n && (e[i].defaultSelected = !0));
                                null !== t || e[i].disabled || (t = e[i]);
                            }
                            null !== t && (t.selected = !0);
                        }
                    }
                    function ne(e, t) {
                        if (null != t.dangerouslySetInnerHTML) throw Error(a(91));
                        return D({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue });
                    }
                    function ie(e, t) {
                        var r = t.value;
                        if (null == r) {
                            if (((r = t.children), (t = t.defaultValue), null != r)) {
                                if (null != t) throw Error(a(92));
                                if (te(r)) {
                                    if (1 < r.length) throw Error(a(93));
                                    r = r[0];
                                }
                                t = r;
                            }
                            null == t && (t = ""), (r = t);
                        }
                        e._wrapperState = { initialValue: V(r) };
                    }
                    function ae(e, t) {
                        var r = V(t.value),
                            n = V(t.defaultValue);
                        null != r && ((r = "" + r) !== e.value && (e.value = r), null == t.defaultValue && e.defaultValue !== r && (e.defaultValue = r)), null != n && (e.defaultValue = "" + n);
                    }
                    function oe(e) {
                        var t = e.textContent;
                        t === e._wrapperState.initialValue && "" !== t && null !== t && (e.value = t);
                    }
                    function le(e) {
                        switch (e) {
                            case "svg":
                                return "http://www.w3.org/2000/svg";
                            case "math":
                                return "http://www.w3.org/1998/Math/MathML";
                            default:
                                return "http://www.w3.org/1999/xhtml";
                        }
                    }
                    function se(e, t) {
                        return null == e || "http://www.w3.org/1999/xhtml" === e ? le(t) : "http://www.w3.org/2000/svg" === e && "foreignObject" === t ? "http://www.w3.org/1999/xhtml" : e;
                    }
                    var ue,
                        ce,
                        he =
                            ((ce = function (e, t) {
                                if ("http://www.w3.org/2000/svg" !== e.namespaceURI || "innerHTML" in e) e.innerHTML = t;
                                else {
                                    for ((ue = ue || document.createElement("div")).innerHTML = "<svg>" + t.valueOf().toString() + "</svg>", t = ue.firstChild; e.firstChild; ) e.removeChild(e.firstChild);
                                    for (; t.firstChild; ) e.appendChild(t.firstChild);
                                }
                            }),
                            "undefined" != typeof MSApp && MSApp.execUnsafeLocalFunction
                                ? function (e, t, r, n) {
                                      MSApp.execUnsafeLocalFunction(function () {
                                          return ce(e, t);
                                      });
                                  }
                                : ce);
                    function fe(e, t) {
                        if (t) {
                            var r = e.firstChild;
                            if (r && r === e.lastChild && 3 === r.nodeType) return void (r.nodeValue = t);
                        }
                        e.textContent = t;
                    }
                    var de = {
                            animationIterationCount: !0,
                            aspectRatio: !0,
                            borderImageOutset: !0,
                            borderImageSlice: !0,
                            borderImageWidth: !0,
                            boxFlex: !0,
                            boxFlexGroup: !0,
                            boxOrdinalGroup: !0,
                            columnCount: !0,
                            columns: !0,
                            flex: !0,
                            flexGrow: !0,
                            flexPositive: !0,
                            flexShrink: !0,
                            flexNegative: !0,
                            flexOrder: !0,
                            gridArea: !0,
                            gridRow: !0,
                            gridRowEnd: !0,
                            gridRowSpan: !0,
                            gridRowStart: !0,
                            gridColumn: !0,
                            gridColumnEnd: !0,
                            gridColumnSpan: !0,
                            gridColumnStart: !0,
                            fontWeight: !0,
                            lineClamp: !0,
                            lineHeight: !0,
                            opacity: !0,
                            order: !0,
                            orphans: !0,
                            tabSize: !0,
                            widows: !0,
                            zIndex: !0,
                            zoom: !0,
                            fillOpacity: !0,
                            floodOpacity: !0,
                            stopOpacity: !0,
                            strokeDasharray: !0,
                            strokeDashoffset: !0,
                            strokeMiterlimit: !0,
                            strokeOpacity: !0,
                            strokeWidth: !0,
                        },
                        ge = ["Webkit", "ms", "Moz", "O"];
                    function Ce(e, t, r) {
                        return null == t || "boolean" == typeof t || "" === t ? "" : r || "number" != typeof t || 0 === t || (de.hasOwnProperty(e) && de[e]) ? ("" + t).trim() : t + "px";
                    }
                    function pe(e, t) {
                        for (var r in ((e = e.style), t))
                            if (t.hasOwnProperty(r)) {
                                var n = 0 === r.indexOf("--"),
                                    i = Ce(r, t[r], n);
                                "float" === r && (r = "cssFloat"), n ? e.setProperty(r, i) : (e[r] = i);
                            }
                    }
                    Object.keys(de).forEach(function (e) {
                        ge.forEach(function (t) {
                            (t = t + e.charAt(0).toUpperCase() + e.substring(1)), (de[t] = de[e]);
                        });
                    });
                    var Ie = D({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 });
                    function me(e, t) {
                        if (t) {
                            if (Ie[e] && (null != t.children || null != t.dangerouslySetInnerHTML)) throw Error(a(137, e));
                            if (null != t.dangerouslySetInnerHTML) {
                                if (null != t.children) throw Error(a(60));
                                if ("object" != typeof t.dangerouslySetInnerHTML || !("__html" in t.dangerouslySetInnerHTML)) throw Error(a(61));
                            }
                            if (null != t.style && "object" != typeof t.style) throw Error(a(62));
                        }
                    }
                    function ve(e, t) {
                        if (-1 === e.indexOf("-")) return "string" == typeof t.is;
                        switch (e) {
                            case "annotation-xml":
                            case "color-profile":
                            case "font-face":
                            case "font-face-src":
                            case "font-face-uri":
                            case "font-face-format":
                            case "font-face-name":
                            case "missing-glyph":
                                return !1;
                            default:
                                return !0;
                        }
                    }
                    var Ee = null;
                    function ye(e) {
                        return (e = e.target || e.srcElement || window).correspondingUseElement && (e = e.correspondingUseElement), 3 === e.nodeType ? e.parentNode : e;
                    }
                    var we = null,
                        Ae = null,
                        Se = null;
                    function be(e) {
                        if ((e = vi(e))) {
                            if ("function" != typeof we) throw Error(a(280));
                            var t = e.stateNode;
                            t && ((t = yi(t)), we(e.stateNode, e.type, t));
                        }
                    }
                    function Qe(e) {
                        Ae ? (Se ? Se.push(e) : (Se = [e])) : (Ae = e);
                    }
                    function ke() {
                        if (Ae) {
                            var e = Ae,
                                t = Se;
                            if (((Se = Ae = null), be(e), t)) for (e = 0; e < t.length; e++) be(t[e]);
                        }
                    }
                    function xe(e, t) {
                        return e(t);
                    }
                    function Oe() {}
                    var Be = !1;
                    function Fe(e, t, r) {
                        if (Be) return e(t, r);
                        Be = !0;
                        try {
                            return xe(e, t, r);
                        } finally {
                            (Be = !1), (null !== Ae || null !== Se) && (Oe(), ke());
                        }
                    }
                    function Le(e, t) {
                        var r = e.stateNode;
                        if (null === r) return null;
                        var n = yi(r);
                        if (null === n) return null;
                        r = n[t];
                        e: switch (t) {
                            case "onClick":
                            case "onClickCapture":
                            case "onDoubleClick":
                            case "onDoubleClickCapture":
                            case "onMouseDown":
                            case "onMouseDownCapture":
                            case "onMouseMove":
                            case "onMouseMoveCapture":
                            case "onMouseUp":
                            case "onMouseUpCapture":
                            case "onMouseEnter":
                                (n = !n.disabled) || (n = !("button" === (e = e.type) || "input" === e || "select" === e || "textarea" === e)), (e = !n);
                                break e;
                            default:
                                e = !1;
                        }
                        if (e) return null;
                        if (r && "function" != typeof r) throw Error(a(231, t, typeof r));
                        return r;
                    }
                    var je = !1;
                    if (c)
                        try {
                            var We = {};
                            Object.defineProperty(We, "passive", {
                                get: function () {
                                    je = !0;
                                },
                            }),
                                window.addEventListener("test", We, We),
                                window.removeEventListener("test", We, We);
                        } catch (ce) {
                            je = !1;
                        }
                    function Re(e, t, r, n, i, a, o, l, s) {
                        var u = Array.prototype.slice.call(arguments, 3);
                        try {
                            t.apply(r, u);
                        } catch (c) {
                            this.onError(c);
                        }
                    }
                    var Ye = !1,
                        De = null,
                        Ke = !1,
                        Pe = null,
                        Ge = {
                            onError: function (e) {
                                (Ye = !0), (De = e);
                            },
                        };
                    function Me(e, t, r, n, i, a, o, l, s) {
                        (Ye = !1), (De = null), Re.apply(Ge, arguments);
                    }
                    function Ue(e) {
                        var t = e,
                            r = e;
                        if (e.alternate) for (; t.return; ) t = t.return;
                        else {
                            e = t;
                            do {
                                0 != (4098 & (t = e).flags) && (r = t.return), (e = t.return);
                            } while (e);
                        }
                        return 3 === t.tag ? r : null;
                    }
                    function Ne(e) {
                        if (13 === e.tag) {
                            var t = e.memoizedState;
                            if ((null === t && null !== (e = e.alternate) && (t = e.memoizedState), null !== t)) return t.dehydrated;
                        }
                        return null;
                    }
                    function Ve(e) {
                        if (Ue(e) !== e) throw Error(a(188));
                    }
                    function Te(e) {
                        return null !==
                            (e = (function (e) {
                                var t = e.alternate;
                                if (!t) {
                                    if (null === (t = Ue(e))) throw Error(a(188));
                                    return t !== e ? null : e;
                                }
                                for (var r = e, n = t; ; ) {
                                    var i = r.return;
                                    if (null === i) break;
                                    var o = i.alternate;
                                    if (null === o) {
                                        if (null !== (n = i.return)) {
                                            r = n;
                                            continue;
                                        }
                                        break;
                                    }
                                    if (i.child === o.child) {
                                        for (o = i.child; o; ) {
                                            if (o === r) return Ve(i), e;
                                            if (o === n) return Ve(i), t;
                                            o = o.sibling;
                                        }
                                        throw Error(a(188));
                                    }
                                    if (r.return !== n.return) (r = i), (n = o);
                                    else {
                                        for (var l = !1, s = i.child; s; ) {
                                            if (s === r) {
                                                (l = !0), (r = i), (n = o);
                                                break;
                                            }
                                            if (s === n) {
                                                (l = !0), (n = i), (r = o);
                                                break;
                                            }
                                            s = s.sibling;
                                        }
                                        if (!l) {
                                            for (s = o.child; s; ) {
                                                if (s === r) {
                                                    (l = !0), (r = o), (n = i);
                                                    break;
                                                }
                                                if (s === n) {
                                                    (l = !0), (n = o), (r = i);
                                                    break;
                                                }
                                                s = s.sibling;
                                            }
                                            if (!l) throw Error(a(189));
                                        }
                                    }
                                    if (r.alternate !== n) throw Error(a(190));
                                }
                                if (3 !== r.tag) throw Error(a(188));
                                return r.stateNode.current === r ? e : t;
                            })(e))
                            ? He(e)
                            : null;
                    }
                    function He(e) {
                        if (5 === e.tag || 6 === e.tag) return e;
                        for (e = e.child; null !== e; ) {
                            var t = He(e);
                            if (null !== t) return t;
                            e = e.sibling;
                        }
                        return null;
                    }
                    var ze = i.unstable_scheduleCallback,
                        Je = i.unstable_cancelCallback,
                        Ze = i.unstable_shouldYield,
                        qe = i.unstable_requestPaint,
                        Xe = i.unstable_now,
                        _e = i.unstable_getCurrentPriorityLevel,
                        $e = i.unstable_ImmediatePriority,
                        et = i.unstable_UserBlockingPriority,
                        tt = i.unstable_NormalPriority,
                        rt = i.unstable_LowPriority,
                        nt = i.unstable_IdlePriority,
                        it = null,
                        at = null;
                    var ot = Math.clz32
                            ? Math.clz32
                            : function (e) {
                                  return (e >>>= 0), 0 === e ? 32 : (31 - ((lt(e) / st) | 0)) | 0;
                              },
                        lt = Math.log,
                        st = Math.LN2;
                    var ut = 64,
                        ct = 4194304;
                    function ht(e) {
                        switch (e & -e) {
                            case 1:
                                return 1;
                            case 2:
                                return 2;
                            case 4:
                                return 4;
                            case 8:
                                return 8;
                            case 16:
                                return 16;
                            case 32:
                                return 32;
                            case 64:
                            case 128:
                            case 256:
                            case 512:
                            case 1024:
                            case 2048:
                            case 4096:
                            case 8192:
                            case 16384:
                            case 32768:
                            case 65536:
                            case 131072:
                            case 262144:
                            case 524288:
                            case 1048576:
                            case 2097152:
                                return 4194240 & e;
                            case 4194304:
                            case 8388608:
                            case 16777216:
                            case 33554432:
                            case 67108864:
                                return 130023424 & e;
                            case 134217728:
                                return 134217728;
                            case 268435456:
                                return 268435456;
                            case 536870912:
                                return 536870912;
                            case 1073741824:
                                return 1073741824;
                            default:
                                return e;
                        }
                    }
                    function ft(e, t) {
                        var r = e.pendingLanes;
                        if (0 === r) return 0;
                        var n = 0,
                            i = e.suspendedLanes,
                            a = e.pingedLanes,
                            o = 268435455 & r;
                        if (0 !== o) {
                            var l = o & ~i;
                            0 !== l ? (n = ht(l)) : 0 !== (a &= o) && (n = ht(a));
                        } else 0 !== (o = r & ~i) ? (n = ht(o)) : 0 !== a && (n = ht(a));
                        if (0 === n) return 0;
                        if (0 !== t && t !== n && 0 == (t & i) && ((i = n & -n) >= (a = t & -t) || (16 === i && 0 != (4194240 & a)))) return t;
                        if ((0 != (4 & n) && (n |= 16 & r), 0 !== (t = e.entangledLanes))) for (e = e.entanglements, t &= n; 0 < t; ) (i = 1 << (r = 31 - ot(t))), (n |= e[r]), (t &= ~i);
                        return n;
                    }
                    function dt(e, t) {
                        switch (e) {
                            case 1:
                            case 2:
                            case 4:
                                return t + 250;
                            case 8:
                            case 16:
                            case 32:
                            case 64:
                            case 128:
                            case 256:
                            case 512:
                            case 1024:
                            case 2048:
                            case 4096:
                            case 8192:
                            case 16384:
                            case 32768:
                            case 65536:
                            case 131072:
                            case 262144:
                            case 524288:
                            case 1048576:
                            case 2097152:
                                return t + 5e3;
                            default:
                                return -1;
                        }
                    }
                    function gt(e) {
                        return 0 !== (e = -1073741825 & e.pendingLanes) ? e : 1073741824 & e ? 1073741824 : 0;
                    }
                    function Ct() {
                        var e = ut;
                        return 0 == (4194240 & (ut <<= 1)) && (ut = 64), e;
                    }
                    function pt(e) {
                        for (var t = [], r = 0; 31 > r; r++) t.push(e);
                        return t;
                    }
                    function It(e, t, r) {
                        (e.pendingLanes |= t), 536870912 !== t && ((e.suspendedLanes = 0), (e.pingedLanes = 0)), ((e = e.eventTimes)[(t = 31 - ot(t))] = r);
                    }
                    function mt(e, t) {
                        var r = (e.entangledLanes |= t);
                        for (e = e.entanglements; r; ) {
                            var n = 31 - ot(r),
                                i = 1 << n;
                            (i & t) | (e[n] & t) && (e[n] |= t), (r &= ~i);
                        }
                    }
                    var vt = 0;
                    function Et(e) {
                        return 1 < (e &= -e) ? (4 < e ? (0 != (268435455 & e) ? 16 : 536870912) : 4) : 1;
                    }
                    var yt,
                        wt,
                        At,
                        St,
                        bt,
                        Qt = !1,
                        kt = [],
                        xt = null,
                        Ot = null,
                        Bt = null,
                        Ft = new Map(),
                        Lt = new Map(),
                        jt = [],
                        Wt = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(
                            " "
                        );
                    function Rt(e, t) {
                        switch (e) {
                            case "focusin":
                            case "focusout":
                                xt = null;
                                break;
                            case "dragenter":
                            case "dragleave":
                                Ot = null;
                                break;
                            case "mouseover":
                            case "mouseout":
                                Bt = null;
                                break;
                            case "pointerover":
                            case "pointerout":
                                Ft.delete(t.pointerId);
                                break;
                            case "gotpointercapture":
                            case "lostpointercapture":
                                Lt.delete(t.pointerId);
                        }
                    }
                    function Yt(e, t, r, n, i, a) {
                        return null === e || e.nativeEvent !== a
                            ? ((e = { blockedOn: t, domEventName: r, eventSystemFlags: n, nativeEvent: a, targetContainers: [i] }), null !== t && null !== (t = vi(t)) && wt(t), e)
                            : ((e.eventSystemFlags |= n), (t = e.targetContainers), null !== i && -1 === t.indexOf(i) && t.push(i), e);
                    }
                    function Dt(e) {
                        var t = mi(e.target);
                        if (null !== t) {
                            var r = Ue(t);
                            if (null !== r)
                                if (13 === (t = r.tag)) {
                                    if (null !== (t = Ne(r)))
                                        return (
                                            (e.blockedOn = t),
                                            void bt(e.priority, function () {
                                                At(r);
                                            })
                                        );
                                } else if (3 === t && r.stateNode.current.memoizedState.isDehydrated) return void (e.blockedOn = 3 === r.tag ? r.stateNode.containerInfo : null);
                        }
                        e.blockedOn = null;
                    }
                    function Kt(e) {
                        if (null !== e.blockedOn) return !1;
                        for (var t = e.targetContainers; 0 < t.length; ) {
                            var r = Zt(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
                            if (null !== r) return null !== (t = vi(r)) && wt(t), (e.blockedOn = r), !1;
                            var n = new (r = e.nativeEvent).constructor(r.type, r);
                            (Ee = n), r.target.dispatchEvent(n), (Ee = null), t.shift();
                        }
                        return !0;
                    }
                    function Pt(e, t, r) {
                        Kt(e) && r.delete(t);
                    }
                    function Gt() {
                        (Qt = !1), null !== xt && Kt(xt) && (xt = null), null !== Ot && Kt(Ot) && (Ot = null), null !== Bt && Kt(Bt) && (Bt = null), Ft.forEach(Pt), Lt.forEach(Pt);
                    }
                    function Mt(e, t) {
                        e.blockedOn === t && ((e.blockedOn = null), Qt || ((Qt = !0), i.unstable_scheduleCallback(i.unstable_NormalPriority, Gt)));
                    }
                    function Ut(e) {
                        function t(t) {
                            return Mt(t, e);
                        }
                        if (0 < kt.length) {
                            Mt(kt[0], e);
                            for (var r = 1; r < kt.length; r++) {
                                var n = kt[r];
                                n.blockedOn === e && (n.blockedOn = null);
                            }
                        }
                        for (null !== xt && Mt(xt, e), null !== Ot && Mt(Ot, e), null !== Bt && Mt(Bt, e), Ft.forEach(t), Lt.forEach(t), r = 0; r < jt.length; r++) (n = jt[r]).blockedOn === e && (n.blockedOn = null);
                        for (; 0 < jt.length && null === (r = jt[0]).blockedOn; ) Dt(r), null === r.blockedOn && jt.shift();
                    }
                    var Nt = E.ReactCurrentBatchConfig,
                        Vt = !0;
                    function Tt(e, t, r, n) {
                        var i = vt,
                            a = Nt.transition;
                        Nt.transition = null;
                        try {
                            (vt = 1), zt(e, t, r, n);
                        } finally {
                            (vt = i), (Nt.transition = a);
                        }
                    }
                    function Ht(e, t, r, n) {
                        var i = vt,
                            a = Nt.transition;
                        Nt.transition = null;
                        try {
                            (vt = 4), zt(e, t, r, n);
                        } finally {
                            (vt = i), (Nt.transition = a);
                        }
                    }
                    function zt(e, t, r, n) {
                        if (Vt) {
                            var i = Zt(e, t, r, n);
                            if (null === i) Vn(e, t, n, Jt, r), Rt(e, n);
                            else if (
                                (function (e, t, r, n, i) {
                                    switch (t) {
                                        case "focusin":
                                            return (xt = Yt(xt, e, t, r, n, i)), !0;
                                        case "dragenter":
                                            return (Ot = Yt(Ot, e, t, r, n, i)), !0;
                                        case "mouseover":
                                            return (Bt = Yt(Bt, e, t, r, n, i)), !0;
                                        case "pointerover":
                                            var a = i.pointerId;
                                            return Ft.set(a, Yt(Ft.get(a) || null, e, t, r, n, i)), !0;
                                        case "gotpointercapture":
                                            return (a = i.pointerId), Lt.set(a, Yt(Lt.get(a) || null, e, t, r, n, i)), !0;
                                    }
                                    return !1;
                                })(i, e, t, r, n)
                            )
                                n.stopPropagation();
                            else if ((Rt(e, n), 4 & t && -1 < Wt.indexOf(e))) {
                                for (; null !== i; ) {
                                    var a = vi(i);
                                    if ((null !== a && yt(a), null === (a = Zt(e, t, r, n)) && Vn(e, t, n, Jt, r), a === i)) break;
                                    i = a;
                                }
                                null !== i && n.stopPropagation();
                            } else Vn(e, t, n, null, r);
                        }
                    }
                    var Jt = null;
                    function Zt(e, t, r, n) {
                        if (((Jt = null), null !== (e = mi((e = ye(n))))))
                            if (null === (t = Ue(e))) e = null;
                            else if (13 === (r = t.tag)) {
                                if (null !== (e = Ne(t))) return e;
                                e = null;
                            } else if (3 === r) {
                                if (t.stateNode.current.memoizedState.isDehydrated) return 3 === t.tag ? t.stateNode.containerInfo : null;
                                e = null;
                            } else t !== e && (e = null);
                        return (Jt = e), null;
                    }
                    function qt(e) {
                        switch (e) {
                            case "cancel":
                            case "click":
                            case "close":
                            case "contextmenu":
                            case "copy":
                            case "cut":
                            case "auxclick":
                            case "dblclick":
                            case "dragend":
                            case "dragstart":
                            case "drop":
                            case "focusin":
                            case "focusout":
                            case "input":
                            case "invalid":
                            case "keydown":
                            case "keypress":
                            case "keyup":
                            case "mousedown":
                            case "mouseup":
                            case "paste":
                            case "pause":
                            case "play":
                            case "pointercancel":
                            case "pointerdown":
                            case "pointerup":
                            case "ratechange":
                            case "reset":
                            case "resize":
                            case "seeked":
                            case "submit":
                            case "touchcancel":
                            case "touchend":
                            case "touchstart":
                            case "volumechange":
                            case "change":
                            case "selectionchange":
                            case "textInput":
                            case "compositionstart":
                            case "compositionend":
                            case "compositionupdate":
                            case "beforeblur":
                            case "afterblur":
                            case "beforeinput":
                            case "blur":
                            case "fullscreenchange":
                            case "focus":
                            case "hashchange":
                            case "popstate":
                            case "select":
                            case "selectstart":
                                return 1;
                            case "drag":
                            case "dragenter":
                            case "dragexit":
                            case "dragleave":
                            case "dragover":
                            case "mousemove":
                            case "mouseout":
                            case "mouseover":
                            case "pointermove":
                            case "pointerout":
                            case "pointerover":
                            case "scroll":
                            case "toggle":
                            case "touchmove":
                            case "wheel":
                            case "mouseenter":
                            case "mouseleave":
                            case "pointerenter":
                            case "pointerleave":
                                return 4;
                            case "message":
                                switch (_e()) {
                                    case $e:
                                        return 1;
                                    case et:
                                        return 4;
                                    case tt:
                                    case rt:
                                        return 16;
                                    case nt:
                                        return 536870912;
                                    default:
                                        return 16;
                                }
                            default:
                                return 16;
                        }
                    }
                    var Xt = null,
                        _t = null,
                        $t = null;
                    function er() {
                        if ($t) return $t;
                        var e,
                            t,
                            r = _t,
                            n = r.length,
                            i = "value" in Xt ? Xt.value : Xt.textContent,
                            a = i.length;
                        for (e = 0; e < n && r[e] === i[e]; e++);
                        var o = n - e;
                        for (t = 1; t <= o && r[n - t] === i[a - t]; t++);
                        return ($t = i.slice(e, 1 < t ? 1 - t : void 0));
                    }
                    function tr(e) {
                        var t = e.keyCode;
                        return "charCode" in e ? 0 === (e = e.charCode) && 13 === t && (e = 13) : (e = t), 10 === e && (e = 13), 32 <= e || 13 === e ? e : 0;
                    }
                    function rr() {
                        return !0;
                    }
                    function nr() {
                        return !1;
                    }
                    function ir(e) {
                        function t(t, r, n, i, a) {
                            for (var o in ((this._reactName = t), (this._targetInst = n), (this.type = r), (this.nativeEvent = i), (this.target = a), (this.currentTarget = null), e))
                                e.hasOwnProperty(o) && ((t = e[o]), (this[o] = t ? t(i) : i[o]));
                            return (this.isDefaultPrevented = (null != i.defaultPrevented ? i.defaultPrevented : !1 === i.returnValue) ? rr : nr), (this.isPropagationStopped = nr), this;
                        }
                        return (
                            D(t.prototype, {
                                preventDefault: function () {
                                    this.defaultPrevented = !0;
                                    var e = this.nativeEvent;
                                    e && (e.preventDefault ? e.preventDefault() : "unknown" != typeof e.returnValue && (e.returnValue = !1), (this.isDefaultPrevented = rr));
                                },
                                stopPropagation: function () {
                                    var e = this.nativeEvent;
                                    e && (e.stopPropagation ? e.stopPropagation() : "unknown" != typeof e.cancelBubble && (e.cancelBubble = !0), (this.isPropagationStopped = rr));
                                },
                                persist: function () {},
                                isPersistent: rr,
                            }),
                            t
                        );
                    }
                    var ar,
                        or,
                        lr,
                        sr = {
                            eventPhase: 0,
                            bubbles: 0,
                            cancelable: 0,
                            timeStamp: function (e) {
                                return e.timeStamp || Date.now();
                            },
                            defaultPrevented: 0,
                            isTrusted: 0,
                        },
                        ur = ir(sr),
                        cr = D({}, sr, { view: 0, detail: 0 }),
                        hr = ir(cr),
                        fr = D({}, cr, {
                            screenX: 0,
                            screenY: 0,
                            clientX: 0,
                            clientY: 0,
                            pageX: 0,
                            pageY: 0,
                            ctrlKey: 0,
                            shiftKey: 0,
                            altKey: 0,
                            metaKey: 0,
                            getModifierState: Sr,
                            button: 0,
                            buttons: 0,
                            relatedTarget: function (e) {
                                return void 0 === e.relatedTarget ? (e.fromElement === e.srcElement ? e.toElement : e.fromElement) : e.relatedTarget;
                            },
                            movementX: function (e) {
                                return "movementX" in e ? e.movementX : (e !== lr && (lr && "mousemove" === e.type ? ((ar = e.screenX - lr.screenX), (or = e.screenY - lr.screenY)) : (or = ar = 0), (lr = e)), ar);
                            },
                            movementY: function (e) {
                                return "movementY" in e ? e.movementY : or;
                            },
                        }),
                        dr = ir(fr),
                        gr = ir(D({}, fr, { dataTransfer: 0 })),
                        Cr = ir(D({}, cr, { relatedTarget: 0 })),
                        pr = ir(D({}, sr, { animationName: 0, elapsedTime: 0, pseudoElement: 0 })),
                        Ir = D({}, sr, {
                            clipboardData: function (e) {
                                return "clipboardData" in e ? e.clipboardData : window.clipboardData;
                            },
                        }),
                        mr = ir(Ir),
                        vr = ir(D({}, sr, { data: 0 })),
                        Er = {
                            Esc: "Escape",
                            Spacebar: " ",
                            Left: "ArrowLeft",
                            Up: "ArrowUp",
                            Right: "ArrowRight",
                            Down: "ArrowDown",
                            Del: "Delete",
                            Win: "OS",
                            Menu: "ContextMenu",
                            Apps: "ContextMenu",
                            Scroll: "ScrollLock",
                            MozPrintableKey: "Unidentified",
                        },
                        yr = {
                            8: "Backspace",
                            9: "Tab",
                            12: "Clear",
                            13: "Enter",
                            16: "Shift",
                            17: "Control",
                            18: "Alt",
                            19: "Pause",
                            20: "CapsLock",
                            27: "Escape",
                            32: " ",
                            33: "PageUp",
                            34: "PageDown",
                            35: "End",
                            36: "Home",
                            37: "ArrowLeft",
                            38: "ArrowUp",
                            39: "ArrowRight",
                            40: "ArrowDown",
                            45: "Insert",
                            46: "Delete",
                            112: "F1",
                            113: "F2",
                            114: "F3",
                            115: "F4",
                            116: "F5",
                            117: "F6",
                            118: "F7",
                            119: "F8",
                            120: "F9",
                            121: "F10",
                            122: "F11",
                            123: "F12",
                            144: "NumLock",
                            145: "ScrollLock",
                            224: "Meta",
                        },
                        wr = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
                    function Ar(e) {
                        var t = this.nativeEvent;
                        return t.getModifierState ? t.getModifierState(e) : !!(e = wr[e]) && !!t[e];
                    }
                    function Sr() {
                        return Ar;
                    }
                    var br = D({}, cr, {
                            key: function (e) {
                                if (e.key) {
                                    var t = Er[e.key] || e.key;
                                    if ("Unidentified" !== t) return t;
                                }
                                return "keypress" === e.type ? (13 === (e = tr(e)) ? "Enter" : String.fromCharCode(e)) : "keydown" === e.type || "keyup" === e.type ? yr[e.keyCode] || "Unidentified" : "";
                            },
                            code: 0,
                            location: 0,
                            ctrlKey: 0,
                            shiftKey: 0,
                            altKey: 0,
                            metaKey: 0,
                            repeat: 0,
                            locale: 0,
                            getModifierState: Sr,
                            charCode: function (e) {
                                return "keypress" === e.type ? tr(e) : 0;
                            },
                            keyCode: function (e) {
                                return "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0;
                            },
                            which: function (e) {
                                return "keypress" === e.type ? tr(e) : "keydown" === e.type || "keyup" === e.type ? e.keyCode : 0;
                            },
                        }),
                        Qr = ir(br),
                        kr = ir(D({}, fr, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 })),
                        xr = ir(D({}, cr, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: Sr })),
                        Or = ir(D({}, sr, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 })),
                        Br = D({}, fr, {
                            deltaX: function (e) {
                                return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
                            },
                            deltaY: function (e) {
                                return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;
                            },
                            deltaZ: 0,
                            deltaMode: 0,
                        }),
                        Fr = ir(Br),
                        Lr = [9, 13, 27, 32],
                        jr = c && "CompositionEvent" in window,
                        Wr = null;
                    c && "documentMode" in document && (Wr = document.documentMode);
                    var Rr = c && "TextEvent" in window && !Wr,
                        Yr = c && (!jr || (Wr && 8 < Wr && 11 >= Wr)),
                        Dr = String.fromCharCode(32),
                        Kr = !1;
                    function Pr(e, t) {
                        switch (e) {
                            case "keyup":
                                return -1 !== Lr.indexOf(t.keyCode);
                            case "keydown":
                                return 229 !== t.keyCode;
                            case "keypress":
                            case "mousedown":
                            case "focusout":
                                return !0;
                            default:
                                return !1;
                        }
                    }
                    function Gr(e) {
                        return "object" == typeof (e = e.detail) && "data" in e ? e.data : null;
                    }
                    var Mr = !1;
                    var Ur = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 };
                    function Nr(e) {
                        var t = e && e.nodeName && e.nodeName.toLowerCase();
                        return "input" === t ? !!Ur[e.type] : "textarea" === t;
                    }
                    function Vr(e, t, r, n) {
                        Qe(n), 0 < (t = Hn(t, "onChange")).length && ((r = new ur("onChange", "change", null, r, n)), e.push({ event: r, listeners: t }));
                    }
                    var Tr = null,
                        Hr = null;
                    function zr(e) {
                        Kn(e, 0);
                    }
                    function Jr(e) {
                        if (z(Ei(e))) return e;
                    }
                    function Zr(e, t) {
                        if ("change" === e) return t;
                    }
                    var qr = !1;
                    if (c) {
                        var Xr;
                        if (c) {
                            var _r = "oninput" in document;
                            if (!_r) {
                                var $r = document.createElement("div");
                                $r.setAttribute("oninput", "return;"), (_r = "function" == typeof $r.oninput);
                            }
                            Xr = _r;
                        } else Xr = !1;
                        qr = Xr && (!document.documentMode || 9 < document.documentMode);
                    }
                    function en() {
                        Tr && (Tr.detachEvent("onpropertychange", tn), (Hr = Tr = null));
                    }
                    function tn(e) {
                        if ("value" === e.propertyName && Jr(Hr)) {
                            var t = [];
                            Vr(t, Hr, e, ye(e)), Fe(zr, t);
                        }
                    }
                    function rn(e, t, r) {
                        "focusin" === e ? (en(), (Hr = r), (Tr = t).attachEvent("onpropertychange", tn)) : "focusout" === e && en();
                    }
                    function nn(e) {
                        if ("selectionchange" === e || "keyup" === e || "keydown" === e) return Jr(Hr);
                    }
                    function an(e, t) {
                        if ("click" === e) return Jr(t);
                    }
                    function on(e, t) {
                        if ("input" === e || "change" === e) return Jr(t);
                    }
                    var ln =
                        "function" == typeof Object.is
                            ? Object.is
                            : function (e, t) {
                                  return (e === t && (0 !== e || 1 / e == 1 / t)) || (e != e && t != t);
                              };
                    function sn(e, t) {
                        if (ln(e, t)) return !0;
                        if ("object" != typeof e || null === e || "object" != typeof t || null === t) return !1;
                        var r = Object.keys(e),
                            n = Object.keys(t);
                        if (r.length !== n.length) return !1;
                        for (n = 0; n < r.length; n++) {
                            var i = r[n];
                            if (!h.call(t, i) || !ln(e[i], t[i])) return !1;
                        }
                        return !0;
                    }
                    function un(e) {
                        for (; e && e.firstChild; ) e = e.firstChild;
                        return e;
                    }
                    function cn(e, t) {
                        var r,
                            n = un(e);
                        for (e = 0; n; ) {
                            if (3 === n.nodeType) {
                                if (((r = e + n.textContent.length), e <= t && r >= t)) return { node: n, offset: t - e };
                                e = r;
                            }
                            e: {
                                for (; n; ) {
                                    if (n.nextSibling) {
                                        n = n.nextSibling;
                                        break e;
                                    }
                                    n = n.parentNode;
                                }
                                n = void 0;
                            }
                            n = un(n);
                        }
                    }
                    function hn(e, t) {
                        return !(!e || !t) && (e === t || ((!e || 3 !== e.nodeType) && (t && 3 === t.nodeType ? hn(e, t.parentNode) : "contains" in e ? e.contains(t) : !!e.compareDocumentPosition && !!(16 & e.compareDocumentPosition(t)))));
                    }
                    function fn() {
                        for (var e = window, t = J(); t instanceof e.HTMLIFrameElement; ) {
                            try {
                                var r = "string" == typeof t.contentWindow.location.href;
                            } catch (n) {
                                r = !1;
                            }
                            if (!r) break;
                            t = J((e = t.contentWindow).document);
                        }
                        return t;
                    }
                    function dn(e) {
                        var t = e && e.nodeName && e.nodeName.toLowerCase();
                        return t && (("input" === t && ("text" === e.type || "search" === e.type || "tel" === e.type || "url" === e.type || "password" === e.type)) || "textarea" === t || "true" === e.contentEditable);
                    }
                    function gn(e) {
                        var t = fn(),
                            r = e.focusedElem,
                            n = e.selectionRange;
                        if (t !== r && r && r.ownerDocument && hn(r.ownerDocument.documentElement, r)) {
                            if (null !== n && dn(r))
                                if (((t = n.start), void 0 === (e = n.end) && (e = t), "selectionStart" in r)) (r.selectionStart = t), (r.selectionEnd = Math.min(e, r.value.length));
                                else if ((e = ((t = r.ownerDocument || document) && t.defaultView) || window).getSelection) {
                                    e = e.getSelection();
                                    var i = r.textContent.length,
                                        a = Math.min(n.start, i);
                                    (n = void 0 === n.end ? a : Math.min(n.end, i)), !e.extend && a > n && ((i = n), (n = a), (a = i)), (i = cn(r, a));
                                    var o = cn(r, n);
                                    i &&
                                        o &&
                                        (1 !== e.rangeCount || e.anchorNode !== i.node || e.anchorOffset !== i.offset || e.focusNode !== o.node || e.focusOffset !== o.offset) &&
                                        ((t = t.createRange()).setStart(i.node, i.offset), e.removeAllRanges(), a > n ? (e.addRange(t), e.extend(o.node, o.offset)) : (t.setEnd(o.node, o.offset), e.addRange(t)));
                                }
                            for (t = [], e = r; (e = e.parentNode); ) 1 === e.nodeType && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop });
                            for ("function" == typeof r.focus && r.focus(), r = 0; r < t.length; r++) ((e = t[r]).element.scrollLeft = e.left), (e.element.scrollTop = e.top);
                        }
                    }
                    var Cn = c && "documentMode" in document && 11 >= document.documentMode,
                        pn = null,
                        In = null,
                        mn = null,
                        vn = !1;
                    function En(e, t, r) {
                        var n = r.window === r ? r.document : 9 === r.nodeType ? r : r.ownerDocument;
                        vn ||
                            null == pn ||
                            pn !== J(n) ||
                            ("selectionStart" in (n = pn) && dn(n)
                                ? (n = { start: n.selectionStart, end: n.selectionEnd })
                                : (n = { anchorNode: (n = ((n.ownerDocument && n.ownerDocument.defaultView) || window).getSelection()).anchorNode, anchorOffset: n.anchorOffset, focusNode: n.focusNode, focusOffset: n.focusOffset }),
                            (mn && sn(mn, n)) || ((mn = n), 0 < (n = Hn(In, "onSelect")).length && ((t = new ur("onSelect", "select", null, t, r)), e.push({ event: t, listeners: n }), (t.target = pn))));
                    }
                    function yn(e, t) {
                        var r = {};
                        return (r[e.toLowerCase()] = t.toLowerCase()), (r["Webkit" + e] = "webkit" + t), (r["Moz" + e] = "moz" + t), r;
                    }
                    var wn = { animationend: yn("Animation", "AnimationEnd"), animationiteration: yn("Animation", "AnimationIteration"), animationstart: yn("Animation", "AnimationStart"), transitionend: yn("Transition", "TransitionEnd") },
                        An = {},
                        Sn = {};
                    function bn(e) {
                        if (An[e]) return An[e];
                        if (!wn[e]) return e;
                        var t,
                            r = wn[e];
                        for (t in r) if (r.hasOwnProperty(t) && t in Sn) return (An[e] = r[t]);
                        return e;
                    }
                    c &&
                        ((Sn = document.createElement("div").style),
                        "AnimationEvent" in window || (delete wn.animationend.animation, delete wn.animationiteration.animation, delete wn.animationstart.animation),
                        "TransitionEvent" in window || delete wn.transitionend.transition);
                    var Qn = bn("animationend"),
                        kn = bn("animationiteration"),
                        xn = bn("animationstart"),
                        On = bn("transitionend"),
                        Bn = new Map(),
                        Fn = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
                            " "
                        );
                    function Ln(e, t) {
                        Bn.set(e, t), s(t, [e]);
                    }
                    for (var jn = 0; jn < Fn.length; jn++) {
                        var Wn = Fn[jn];
                        Ln(Wn.toLowerCase(), "on" + (Wn[0].toUpperCase() + Wn.slice(1)));
                    }
                    Ln(Qn, "onAnimationEnd"),
                        Ln(kn, "onAnimationIteration"),
                        Ln(xn, "onAnimationStart"),
                        Ln("dblclick", "onDoubleClick"),
                        Ln("focusin", "onFocus"),
                        Ln("focusout", "onBlur"),
                        Ln(On, "onTransitionEnd"),
                        u("onMouseEnter", ["mouseout", "mouseover"]),
                        u("onMouseLeave", ["mouseout", "mouseover"]),
                        u("onPointerEnter", ["pointerout", "pointerover"]),
                        u("onPointerLeave", ["pointerout", "pointerover"]),
                        s("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")),
                        s("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),
                        s("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]),
                        s("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")),
                        s("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")),
                        s("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
                    var Rn = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(
                            " "
                        ),
                        Yn = new Set("cancel close invalid load scroll toggle".split(" ").concat(Rn));
                    function Dn(e, t, r) {
                        var n = e.type || "unknown-event";
                        (e.currentTarget = r),
                            (function (e, t, r, n, i, o, l, s, u) {
                                if ((Me.apply(this, arguments), Ye)) {
                                    if (!Ye) throw Error(a(198));
                                    var c = De;
                                    (Ye = !1), (De = null), Ke || ((Ke = !0), (Pe = c));
                                }
                            })(n, t, void 0, e),
                            (e.currentTarget = null);
                    }
                    function Kn(e, t) {
                        t = 0 != (4 & t);
                        for (var r = 0; r < e.length; r++) {
                            var n = e[r],
                                i = n.event;
                            n = n.listeners;
                            e: {
                                var a = void 0;
                                if (t)
                                    for (var o = n.length - 1; 0 <= o; o--) {
                                        var l = n[o],
                                            s = l.instance,
                                            u = l.currentTarget;
                                        if (((l = l.listener), s !== a && i.isPropagationStopped())) break e;
                                        Dn(i, l, u), (a = s);
                                    }
                                else
                                    for (o = 0; o < n.length; o++) {
                                        if (((s = (l = n[o]).instance), (u = l.currentTarget), (l = l.listener), s !== a && i.isPropagationStopped())) break e;
                                        Dn(i, l, u), (a = s);
                                    }
                            }
                        }
                        if (Ke) throw ((e = Pe), (Ke = !1), (Pe = null), e);
                    }
                    function Pn(e, t) {
                        var r = t[Ci];
                        void 0 === r && (r = t[Ci] = new Set());
                        var n = e + "__bubble";
                        r.has(n) || (Nn(t, e, 2, !1), r.add(n));
                    }
                    function Gn(e, t, r) {
                        var n = 0;
                        t && (n |= 4), Nn(r, e, n, t);
                    }
                    var Mn = "_reactListening" + Math.random().toString(36).slice(2);
                    function Un(e) {
                        if (!e[Mn]) {
                            (e[Mn] = !0),
                                o.forEach(function (t) {
                                    "selectionchange" !== t && (Yn.has(t) || Gn(t, !1, e), Gn(t, !0, e));
                                });
                            var t = 9 === e.nodeType ? e : e.ownerDocument;
                            null === t || t[Mn] || ((t[Mn] = !0), Gn("selectionchange", !1, t));
                        }
                    }
                    function Nn(e, t, r, n) {
                        switch (qt(t)) {
                            case 1:
                                var i = Tt;
                                break;
                            case 4:
                                i = Ht;
                                break;
                            default:
                                i = zt;
                        }
                        (r = i.bind(null, t, r, e)),
                            (i = void 0),
                            !je || ("touchstart" !== t && "touchmove" !== t && "wheel" !== t) || (i = !0),
                            n ? (void 0 !== i ? e.addEventListener(t, r, { capture: !0, passive: i }) : e.addEventListener(t, r, !0)) : void 0 !== i ? e.addEventListener(t, r, { passive: i }) : e.addEventListener(t, r, !1);
                    }
                    function Vn(e, t, r, n, i) {
                        var a = n;
                        if (0 == (1 & t) && 0 == (2 & t) && null !== n)
                            e: for (;;) {
                                if (null === n) return;
                                var o = n.tag;
                                if (3 === o || 4 === o) {
                                    var l = n.stateNode.containerInfo;
                                    if (l === i || (8 === l.nodeType && l.parentNode === i)) break;
                                    if (4 === o)
                                        for (o = n.return; null !== o; ) {
                                            var s = o.tag;
                                            if ((3 === s || 4 === s) && ((s = o.stateNode.containerInfo) === i || (8 === s.nodeType && s.parentNode === i))) return;
                                            o = o.return;
                                        }
                                    for (; null !== l; ) {
                                        if (null === (o = mi(l))) return;
                                        if (5 === (s = o.tag) || 6 === s) {
                                            n = a = o;
                                            continue e;
                                        }
                                        l = l.parentNode;
                                    }
                                }
                                n = n.return;
                            }
                        Fe(function () {
                            var n = a,
                                i = ye(r),
                                o = [];
                            e: {
                                var l = Bn.get(e);
                                if (void 0 !== l) {
                                    var s = ur,
                                        u = e;
                                    switch (e) {
                                        case "keypress":
                                            if (0 === tr(r)) break e;
                                        case "keydown":
                                        case "keyup":
                                            s = Qr;
                                            break;
                                        case "focusin":
                                            (u = "focus"), (s = Cr);
                                            break;
                                        case "focusout":
                                            (u = "blur"), (s = Cr);
                                            break;
                                        case "beforeblur":
                                        case "afterblur":
                                            s = Cr;
                                            break;
                                        case "click":
                                            if (2 === r.button) break e;
                                        case "auxclick":
                                        case "dblclick":
                                        case "mousedown":
                                        case "mousemove":
                                        case "mouseup":
                                        case "mouseout":
                                        case "mouseover":
                                        case "contextmenu":
                                            s = dr;
                                            break;
                                        case "drag":
                                        case "dragend":
                                        case "dragenter":
                                        case "dragexit":
                                        case "dragleave":
                                        case "dragover":
                                        case "dragstart":
                                        case "drop":
                                            s = gr;
                                            break;
                                        case "touchcancel":
                                        case "touchend":
                                        case "touchmove":
                                        case "touchstart":
                                            s = xr;
                                            break;
                                        case Qn:
                                        case kn:
                                        case xn:
                                            s = pr;
                                            break;
                                        case On:
                                            s = Or;
                                            break;
                                        case "scroll":
                                            s = hr;
                                            break;
                                        case "wheel":
                                            s = Fr;
                                            break;
                                        case "copy":
                                        case "cut":
                                        case "paste":
                                            s = mr;
                                            break;
                                        case "gotpointercapture":
                                        case "lostpointercapture":
                                        case "pointercancel":
                                        case "pointerdown":
                                        case "pointermove":
                                        case "pointerout":
                                        case "pointerover":
                                        case "pointerup":
                                            s = kr;
                                    }
                                    var c = 0 != (4 & t),
                                        h = !c && "scroll" === e,
                                        f = c ? (null !== l ? l + "Capture" : null) : l;
                                    c = [];
                                    for (var d, g = n; null !== g; ) {
                                        var C = (d = g).stateNode;
                                        if ((5 === d.tag && null !== C && ((d = C), null !== f && null != (C = Le(g, f)) && c.push(Tn(g, C, d))), h)) break;
                                        g = g.return;
                                    }
                                    0 < c.length && ((l = new s(l, u, null, r, i)), o.push({ event: l, listeners: c }));
                                }
                            }
                            if (0 == (7 & t)) {
                                if (
                                    ((s = "mouseout" === e || "pointerout" === e),
                                    (!(l = "mouseover" === e || "pointerover" === e) || r === Ee || !(u = r.relatedTarget || r.fromElement) || (!mi(u) && !u[gi])) &&
                                        (s || l) &&
                                        ((l = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window),
                                        s ? ((s = n), null !== (u = (u = r.relatedTarget || r.toElement) ? mi(u) : null) && (u !== (h = Ue(u)) || (5 !== u.tag && 6 !== u.tag)) && (u = null)) : ((s = null), (u = n)),
                                        s !== u))
                                ) {
                                    if (
                                        ((c = dr),
                                        (C = "onMouseLeave"),
                                        (f = "onMouseEnter"),
                                        (g = "mouse"),
                                        ("pointerout" !== e && "pointerover" !== e) || ((c = kr), (C = "onPointerLeave"), (f = "onPointerEnter"), (g = "pointer")),
                                        (h = null == s ? l : Ei(s)),
                                        (d = null == u ? l : Ei(u)),
                                        ((l = new c(C, g + "leave", s, r, i)).target = h),
                                        (l.relatedTarget = d),
                                        (C = null),
                                        mi(i) === n && (((c = new c(f, g + "enter", u, r, i)).target = d), (c.relatedTarget = h), (C = c)),
                                        (h = C),
                                        s && u)
                                    )
                                        e: {
                                            for (f = u, g = 0, d = c = s; d; d = zn(d)) g++;
                                            for (d = 0, C = f; C; C = zn(C)) d++;
                                            for (; 0 < g - d; ) (c = zn(c)), g--;
                                            for (; 0 < d - g; ) (f = zn(f)), d--;
                                            for (; g--; ) {
                                                if (c === f || (null !== f && c === f.alternate)) break e;
                                                (c = zn(c)), (f = zn(f));
                                            }
                                            c = null;
                                        }
                                    else c = null;
                                    null !== s && Jn(o, l, s, c, !1), null !== u && null !== h && Jn(o, h, u, c, !0);
                                }
                                if ("select" === (s = (l = n ? Ei(n) : window).nodeName && l.nodeName.toLowerCase()) || ("input" === s && "file" === l.type)) var p = Zr;
                                else if (Nr(l))
                                    if (qr) p = on;
                                    else {
                                        p = nn;
                                        var I = rn;
                                    }
                                else (s = l.nodeName) && "input" === s.toLowerCase() && ("checkbox" === l.type || "radio" === l.type) && (p = an);
                                switch ((p && (p = p(e, n)) ? Vr(o, p, r, i) : (I && I(e, l, n), "focusout" === e && (I = l._wrapperState) && I.controlled && "number" === l.type && ee(l, "number", l.value)), (I = n ? Ei(n) : window), e)) {
                                    case "focusin":
                                        (Nr(I) || "true" === I.contentEditable) && ((pn = I), (In = n), (mn = null));
                                        break;
                                    case "focusout":
                                        mn = In = pn = null;
                                        break;
                                    case "mousedown":
                                        vn = !0;
                                        break;
                                    case "contextmenu":
                                    case "mouseup":
                                    case "dragend":
                                        (vn = !1), En(o, r, i);
                                        break;
                                    case "selectionchange":
                                        if (Cn) break;
                                    case "keydown":
                                    case "keyup":
                                        En(o, r, i);
                                }
                                var m;
                                if (jr)
                                    e: {
                                        switch (e) {
                                            case "compositionstart":
                                                var v = "onCompositionStart";
                                                break e;
                                            case "compositionend":
                                                v = "onCompositionEnd";
                                                break e;
                                            case "compositionupdate":
                                                v = "onCompositionUpdate";
                                                break e;
                                        }
                                        v = void 0;
                                    }
                                else Mr ? Pr(e, r) && (v = "onCompositionEnd") : "keydown" === e && 229 === r.keyCode && (v = "onCompositionStart");
                                v &&
                                    (Yr && "ko" !== r.locale && (Mr || "onCompositionStart" !== v ? "onCompositionEnd" === v && Mr && (m = er()) : ((_t = "value" in (Xt = i) ? Xt.value : Xt.textContent), (Mr = !0))),
                                    0 < (I = Hn(n, v)).length && ((v = new vr(v, e, null, r, i)), o.push({ event: v, listeners: I }), m ? (v.data = m) : null !== (m = Gr(r)) && (v.data = m))),
                                    (m = Rr
                                        ? (function (e, t) {
                                              switch (e) {
                                                  case "compositionend":
                                                      return Gr(t);
                                                  case "keypress":
                                                      return 32 !== t.which ? null : ((Kr = !0), Dr);
                                                  case "textInput":
                                                      return (e = t.data) === Dr && Kr ? null : e;
                                                  default:
                                                      return null;
                                              }
                                          })(e, r)
                                        : (function (e, t) {
                                              if (Mr) return "compositionend" === e || (!jr && Pr(e, t)) ? ((e = er()), ($t = _t = Xt = null), (Mr = !1), e) : null;
                                              switch (e) {
                                                  case "paste":
                                                  default:
                                                      return null;
                                                  case "keypress":
                                                      if (!(t.ctrlKey || t.altKey || t.metaKey) || (t.ctrlKey && t.altKey)) {
                                                          if (t.char && 1 < t.char.length) return t.char;
                                                          if (t.which) return String.fromCharCode(t.which);
                                                      }
                                                      return null;
                                                  case "compositionend":
                                                      return Yr && "ko" !== t.locale ? null : t.data;
                                              }
                                          })(e, r)) &&
                                        0 < (n = Hn(n, "onBeforeInput")).length &&
                                        ((i = new vr("onBeforeInput", "beforeinput", null, r, i)), o.push({ event: i, listeners: n }), (i.data = m));
                            }
                            Kn(o, t);
                        });
                    }
                    function Tn(e, t, r) {
                        return { instance: e, listener: t, currentTarget: r };
                    }
                    function Hn(e, t) {
                        for (var r = t + "Capture", n = []; null !== e; ) {
                            var i = e,
                                a = i.stateNode;
                            5 === i.tag && null !== a && ((i = a), null != (a = Le(e, r)) && n.unshift(Tn(e, a, i)), null != (a = Le(e, t)) && n.push(Tn(e, a, i))), (e = e.return);
                        }
                        return n;
                    }
                    function zn(e) {
                        if (null === e) return null;
                        do {
                            e = e.return;
                        } while (e && 5 !== e.tag);
                        return e || null;
                    }
                    function Jn(e, t, r, n, i) {
                        for (var a = t._reactName, o = []; null !== r && r !== n; ) {
                            var l = r,
                                s = l.alternate,
                                u = l.stateNode;
                            if (null !== s && s === n) break;
                            5 === l.tag && null !== u && ((l = u), i ? null != (s = Le(r, a)) && o.unshift(Tn(r, s, l)) : i || (null != (s = Le(r, a)) && o.push(Tn(r, s, l)))), (r = r.return);
                        }
                        0 !== o.length && e.push({ event: t, listeners: o });
                    }
                    var Zn = /\r\n?/g,
                        qn = /\u0000|\uFFFD/g;
                    function Xn(e) {
                        return ("string" == typeof e ? e : "" + e).replace(Zn, "\n").replace(qn, "");
                    }
                    function _n(e, t, r) {
                        if (((t = Xn(t)), Xn(e) !== t && r)) throw Error(a(425));
                    }
                    function $n() {}
                    var ei = null,
                        ti = null;
                    function ri(e, t) {
                        return (
                            "textarea" === e ||
                            "noscript" === e ||
                            "string" == typeof t.children ||
                            "number" == typeof t.children ||
                            ("object" == typeof t.dangerouslySetInnerHTML && null !== t.dangerouslySetInnerHTML && null != t.dangerouslySetInnerHTML.__html)
                        );
                    }
                    var ni = "function" == typeof setTimeout ? setTimeout : void 0,
                        ii = "function" == typeof clearTimeout ? clearTimeout : void 0,
                        ai = "function" == typeof Promise ? Promise : void 0,
                        oi =
                            "function" == typeof queueMicrotask
                                ? queueMicrotask
                                : void 0 !== ai
                                ? function (e) {
                                      return ai.resolve(null).then(e).catch(li);
                                  }
                                : ni;
                    function li(e) {
                        setTimeout(function () {
                            throw e;
                        });
                    }
                    function si(e, t) {
                        var r = t,
                            n = 0;
                        do {
                            var i = r.nextSibling;
                            if ((e.removeChild(r), i && 8 === i.nodeType))
                                if ("/$" === (r = i.data)) {
                                    if (0 === n) return e.removeChild(i), void Ut(t);
                                    n--;
                                } else ("$" !== r && "$?" !== r && "$!" !== r) || n++;
                            r = i;
                        } while (r);
                        Ut(t);
                    }
                    function ui(e) {
                        for (; null != e; e = e.nextSibling) {
                            var t = e.nodeType;
                            if (1 === t || 3 === t) break;
                            if (8 === t) {
                                if ("$" === (t = e.data) || "$!" === t || "$?" === t) break;
                                if ("/$" === t) return null;
                            }
                        }
                        return e;
                    }
                    function ci(e) {
                        e = e.previousSibling;
                        for (var t = 0; e; ) {
                            if (8 === e.nodeType) {
                                var r = e.data;
                                if ("$" === r || "$!" === r || "$?" === r) {
                                    if (0 === t) return e;
                                    t--;
                                } else "/$" === r && t++;
                            }
                            e = e.previousSibling;
                        }
                        return null;
                    }
                    var hi = Math.random().toString(36).slice(2),
                        fi = "__reactFiber$" + hi,
                        di = "__reactProps$" + hi,
                        gi = "__reactContainer$" + hi,
                        Ci = "__reactEvents$" + hi,
                        pi = "__reactListeners$" + hi,
                        Ii = "__reactHandles$" + hi;
                    function mi(e) {
                        var t = e[fi];
                        if (t) return t;
                        for (var r = e.parentNode; r; ) {
                            if ((t = r[gi] || r[fi])) {
                                if (((r = t.alternate), null !== t.child || (null !== r && null !== r.child)))
                                    for (e = ci(e); null !== e; ) {
                                        if ((r = e[fi])) return r;
                                        e = ci(e);
                                    }
                                return t;
                            }
                            r = (e = r).parentNode;
                        }
                        return null;
                    }
                    function vi(e) {
                        return !(e = e[fi] || e[gi]) || (5 !== e.tag && 6 !== e.tag && 13 !== e.tag && 3 !== e.tag) ? null : e;
                    }
                    function Ei(e) {
                        if (5 === e.tag || 6 === e.tag) return e.stateNode;
                        throw Error(a(33));
                    }
                    function yi(e) {
                        return e[di] || null;
                    }
                    var wi = [],
                        Ai = -1;
                    function Si(e) {
                        return { current: e };
                    }
                    function bi(e) {
                        0 > Ai || ((e.current = wi[Ai]), (wi[Ai] = null), Ai--);
                    }
                    function Qi(e, t) {
                        Ai++, (wi[Ai] = e.current), (e.current = t);
                    }
                    var ki = {},
                        xi = Si(ki),
                        Oi = Si(!1),
                        Bi = ki;
                    function Fi(e, t) {
                        var r = e.type.contextTypes;
                        if (!r) return ki;
                        var n = e.stateNode;
                        if (n && n.__reactInternalMemoizedUnmaskedChildContext === t) return n.__reactInternalMemoizedMaskedChildContext;
                        var i,
                            a = {};
                        for (i in r) a[i] = t[i];
                        return n && (((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = t), (e.__reactInternalMemoizedMaskedChildContext = a)), a;
                    }
                    function Li(e) {
                        return null != (e = e.childContextTypes);
                    }
                    function ji() {
                        bi(Oi), bi(xi);
                    }
                    function Wi(e, t, r) {
                        if (xi.current !== ki) throw Error(a(168));
                        Qi(xi, t), Qi(Oi, r);
                    }
                    function Ri(e, t, r) {
                        var n = e.stateNode;
                        if (((t = t.childContextTypes), "function" != typeof n.getChildContext)) return r;
                        for (var i in (n = n.getChildContext())) if (!(i in t)) throw Error(a(108, N(e) || "Unknown", i));
                        return D({}, r, n);
                    }
                    function Yi(e) {
                        return (e = ((e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext) || ki), (Bi = xi.current), Qi(xi, e), Qi(Oi, Oi.current), !0;
                    }
                    function Di(e, t, r) {
                        var n = e.stateNode;
                        if (!n) throw Error(a(169));
                        r ? ((e = Ri(e, t, Bi)), (n.__reactInternalMemoizedMergedChildContext = e), bi(Oi), bi(xi), Qi(xi, e)) : bi(Oi), Qi(Oi, r);
                    }
                    var Ki = null,
                        Pi = !1,
                        Gi = !1;
                    function Mi(e) {
                        null === Ki ? (Ki = [e]) : Ki.push(e);
                    }
                    function Ui() {
                        if (!Gi && null !== Ki) {
                            Gi = !0;
                            var e = 0,
                                t = vt;
                            try {
                                var r = Ki;
                                for (vt = 1; e < r.length; e++) {
                                    var n = r[e];
                                    do {
                                        n = n(!0);
                                    } while (null !== n);
                                }
                                (Ki = null), (Pi = !1);
                            } catch (i) {
                                throw (null !== Ki && (Ki = Ki.slice(e + 1)), ze($e, Ui), i);
                            } finally {
                                (vt = t), (Gi = !1);
                            }
                        }
                        return null;
                    }
                    var Ni = [],
                        Vi = 0,
                        Ti = null,
                        Hi = 0,
                        zi = [],
                        Ji = 0,
                        Zi = null,
                        qi = 1,
                        Xi = "";
                    function _i(e, t) {
                        (Ni[Vi++] = Hi), (Ni[Vi++] = Ti), (Ti = e), (Hi = t);
                    }
                    function $i(e, t, r) {
                        (zi[Ji++] = qi), (zi[Ji++] = Xi), (zi[Ji++] = Zi), (Zi = e);
                        var n = qi;
                        e = Xi;
                        var i = 32 - ot(n) - 1;
                        (n &= ~(1 << i)), (r += 1);
                        var a = 32 - ot(t) + i;
                        if (30 < a) {
                            var o = i - (i % 5);
                            (a = (n & ((1 << o) - 1)).toString(32)), (n >>= o), (i -= o), (qi = (1 << (32 - ot(t) + i)) | (r << i) | n), (Xi = a + e);
                        } else (qi = (1 << a) | (r << i) | n), (Xi = e);
                    }
                    function ea(e) {
                        null !== e.return && (_i(e, 1), $i(e, 1, 0));
                    }
                    function ta(e) {
                        for (; e === Ti; ) (Ti = Ni[--Vi]), (Ni[Vi] = null), (Hi = Ni[--Vi]), (Ni[Vi] = null);
                        for (; e === Zi; ) (Zi = zi[--Ji]), (zi[Ji] = null), (Xi = zi[--Ji]), (zi[Ji] = null), (qi = zi[--Ji]), (zi[Ji] = null);
                    }
                    var ra = null,
                        na = null,
                        ia = !1,
                        aa = null;
                    function oa(e, t) {
                        var r = Lu(5, null, null, 0);
                        (r.elementType = "DELETED"), (r.stateNode = t), (r.return = e), null === (t = e.deletions) ? ((e.deletions = [r]), (e.flags |= 16)) : t.push(r);
                    }
                    function la(e, t) {
                        switch (e.tag) {
                            case 5:
                                var r = e.type;
                                return null !== (t = 1 !== t.nodeType || r.toLowerCase() !== t.nodeName.toLowerCase() ? null : t) && ((e.stateNode = t), (ra = e), (na = ui(t.firstChild)), !0);
                            case 6:
                                return null !== (t = "" === e.pendingProps || 3 !== t.nodeType ? null : t) && ((e.stateNode = t), (ra = e), (na = null), !0);
                            case 13:
                                return (
                                    null !== (t = 8 !== t.nodeType ? null : t) &&
                                    ((r = null !== Zi ? { id: qi, overflow: Xi } : null),
                                    (e.memoizedState = { dehydrated: t, treeContext: r, retryLane: 1073741824 }),
                                    ((r = Lu(18, null, null, 0)).stateNode = t),
                                    (r.return = e),
                                    (e.child = r),
                                    (ra = e),
                                    (na = null),
                                    !0)
                                );
                            default:
                                return !1;
                        }
                    }
                    function sa(e) {
                        return 0 != (1 & e.mode) && 0 == (128 & e.flags);
                    }
                    function ua(e) {
                        if (ia) {
                            var t = na;
                            if (t) {
                                var r = t;
                                if (!la(e, t)) {
                                    if (sa(e)) throw Error(a(418));
                                    t = ui(r.nextSibling);
                                    var n = ra;
                                    t && la(e, t) ? oa(n, r) : ((e.flags = (-4097 & e.flags) | 2), (ia = !1), (ra = e));
                                }
                            } else {
                                if (sa(e)) throw Error(a(418));
                                (e.flags = (-4097 & e.flags) | 2), (ia = !1), (ra = e);
                            }
                        }
                    }
                    function ca(e) {
                        for (e = e.return; null !== e && 5 !== e.tag && 3 !== e.tag && 13 !== e.tag; ) e = e.return;
                        ra = e;
                    }
                    function ha(e) {
                        if (e !== ra) return !1;
                        if (!ia) return ca(e), (ia = !0), !1;
                        var t;
                        if (((t = 3 !== e.tag) && !(t = 5 !== e.tag) && (t = "head" !== (t = e.type) && "body" !== t && !ri(e.type, e.memoizedProps)), t && (t = na))) {
                            if (sa(e)) throw (fa(), Error(a(418)));
                            for (; t; ) oa(e, t), (t = ui(t.nextSibling));
                        }
                        if ((ca(e), 13 === e.tag)) {
                            if (!(e = null !== (e = e.memoizedState) ? e.dehydrated : null)) throw Error(a(317));
                            e: {
                                for (e = e.nextSibling, t = 0; e; ) {
                                    if (8 === e.nodeType) {
                                        var r = e.data;
                                        if ("/$" === r) {
                                            if (0 === t) {
                                                na = ui(e.nextSibling);
                                                break e;
                                            }
                                            t--;
                                        } else ("$" !== r && "$!" !== r && "$?" !== r) || t++;
                                    }
                                    e = e.nextSibling;
                                }
                                na = null;
                            }
                        } else na = ra ? ui(e.stateNode.nextSibling) : null;
                        return !0;
                    }
                    function fa() {
                        for (var e = na; e; ) e = ui(e.nextSibling);
                    }
                    function da() {
                        (na = ra = null), (ia = !1);
                    }
                    function ga(e) {
                        null === aa ? (aa = [e]) : aa.push(e);
                    }
                    var Ca = E.ReactCurrentBatchConfig;
                    function pa(e, t) {
                        if (e && e.defaultProps) {
                            for (var r in ((t = D({}, t)), (e = e.defaultProps))) void 0 === t[r] && (t[r] = e[r]);
                            return t;
                        }
                        return t;
                    }
                    var Ia = Si(null),
                        ma = null,
                        va = null,
                        Ea = null;
                    function ya() {
                        Ea = va = ma = null;
                    }
                    function wa(e) {
                        var t = Ia.current;
                        bi(Ia), (e._currentValue = t);
                    }
                    function Aa(e, t, r) {
                        for (; null !== e; ) {
                            var n = e.alternate;
                            if (((e.childLanes & t) !== t ? ((e.childLanes |= t), null !== n && (n.childLanes |= t)) : null !== n && (n.childLanes & t) !== t && (n.childLanes |= t), e === r)) break;
                            e = e.return;
                        }
                    }
                    function Sa(e, t) {
                        (ma = e), (Ea = va = null), null !== (e = e.dependencies) && null !== e.firstContext && (0 != (e.lanes & t) && (El = !0), (e.firstContext = null));
                    }
                    function ba(e) {
                        var t = e._currentValue;
                        if (Ea !== e)
                            if (((e = { context: e, memoizedValue: t, next: null }), null === va)) {
                                if (null === ma) throw Error(a(308));
                                (va = e), (ma.dependencies = { lanes: 0, firstContext: e });
                            } else va = va.next = e;
                        return t;
                    }
                    var Qa = null;
                    function ka(e) {
                        null === Qa ? (Qa = [e]) : Qa.push(e);
                    }
                    function xa(e, t, r, n) {
                        var i = t.interleaved;
                        return null === i ? ((r.next = r), ka(t)) : ((r.next = i.next), (i.next = r)), (t.interleaved = r), Oa(e, n);
                    }
                    function Oa(e, t) {
                        e.lanes |= t;
                        var r = e.alternate;
                        for (null !== r && (r.lanes |= t), r = e, e = e.return; null !== e; ) (e.childLanes |= t), null !== (r = e.alternate) && (r.childLanes |= t), (r = e), (e = e.return);
                        return 3 === r.tag ? r.stateNode : null;
                    }
                    var Ba = !1;
                    function Fa(e) {
                        e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null };
                    }
                    function La(e, t) {
                        (e = e.updateQueue), t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.lastBaseUpdate, shared: e.shared, effects: e.effects });
                    }
                    function ja(e, t) {
                        return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null };
                    }
                    function Wa(e, t, r) {
                        var n = e.updateQueue;
                        if (null === n) return null;
                        if (((n = n.shared), 0 != (2 & Os))) {
                            var i = n.pending;
                            return null === i ? (t.next = t) : ((t.next = i.next), (i.next = t)), (n.pending = t), Oa(e, r);
                        }
                        return null === (i = n.interleaved) ? ((t.next = t), ka(n)) : ((t.next = i.next), (i.next = t)), (n.interleaved = t), Oa(e, r);
                    }
                    function Ra(e, t, r) {
                        if (null !== (t = t.updateQueue) && ((t = t.shared), 0 != (4194240 & r))) {
                            var n = t.lanes;
                            (r |= n &= e.pendingLanes), (t.lanes = r), mt(e, r);
                        }
                    }
                    function Ya(e, t) {
                        var r = e.updateQueue,
                            n = e.alternate;
                        if (null !== n && r === (n = n.updateQueue)) {
                            var i = null,
                                a = null;
                            if (null !== (r = r.firstBaseUpdate)) {
                                do {
                                    var o = { eventTime: r.eventTime, lane: r.lane, tag: r.tag, payload: r.payload, callback: r.callback, next: null };
                                    null === a ? (i = a = o) : (a = a.next = o), (r = r.next);
                                } while (null !== r);
                                null === a ? (i = a = t) : (a = a.next = t);
                            } else i = a = t;
                            return (r = { baseState: n.baseState, firstBaseUpdate: i, lastBaseUpdate: a, shared: n.shared, effects: n.effects }), void (e.updateQueue = r);
                        }
                        null === (e = r.lastBaseUpdate) ? (r.firstBaseUpdate = t) : (e.next = t), (r.lastBaseUpdate = t);
                    }
                    function Da(e, t, r, n) {
                        var i = e.updateQueue;
                        Ba = !1;
                        var a = i.firstBaseUpdate,
                            o = i.lastBaseUpdate,
                            l = i.shared.pending;
                        if (null !== l) {
                            i.shared.pending = null;
                            var s = l,
                                u = s.next;
                            (s.next = null), null === o ? (a = u) : (o.next = u), (o = s);
                            var c = e.alternate;
                            null !== c && (l = (c = c.updateQueue).lastBaseUpdate) !== o && (null === l ? (c.firstBaseUpdate = u) : (l.next = u), (c.lastBaseUpdate = s));
                        }
                        if (null !== a) {
                            var h = i.baseState;
                            for (o = 0, c = u = s = null, l = a; ; ) {
                                var f = l.lane,
                                    d = l.eventTime;
                                if ((n & f) === f) {
                                    null !== c && (c = c.next = { eventTime: d, lane: 0, tag: l.tag, payload: l.payload, callback: l.callback, next: null });
                                    e: {
                                        var g = e,
                                            C = l;
                                        switch (((f = t), (d = r), C.tag)) {
                                            case 1:
                                                if ("function" == typeof (g = C.payload)) {
                                                    h = g.call(d, h, f);
                                                    break e;
                                                }
                                                h = g;
                                                break e;
                                            case 3:
                                                g.flags = (-65537 & g.flags) | 128;
                                            case 0:
                                                if (null == (f = "function" == typeof (g = C.payload) ? g.call(d, h, f) : g)) break e;
                                                h = D({}, h, f);
                                                break e;
                                            case 2:
                                                Ba = !0;
                                        }
                                    }
                                    null !== l.callback && 0 !== l.lane && ((e.flags |= 64), null === (f = i.effects) ? (i.effects = [l]) : f.push(l));
                                } else (d = { eventTime: d, lane: f, tag: l.tag, payload: l.payload, callback: l.callback, next: null }), null === c ? ((u = c = d), (s = h)) : (c = c.next = d), (o |= f);
                                if (null === (l = l.next)) {
                                    if (null === (l = i.shared.pending)) break;
                                    (l = (f = l).next), (f.next = null), (i.lastBaseUpdate = f), (i.shared.pending = null);
                                }
                            }
                            if ((null === c && (s = h), (i.baseState = s), (i.firstBaseUpdate = u), (i.lastBaseUpdate = c), null !== (t = i.shared.interleaved))) {
                                i = t;
                                do {
                                    (o |= i.lane), (i = i.next);
                                } while (i !== t);
                            } else null === a && (i.shared.lanes = 0);
                            (Ds |= o), (e.lanes = o), (e.memoizedState = h);
                        }
                    }
                    function Ka(e, t, r) {
                        if (((e = t.effects), (t.effects = null), null !== e))
                            for (t = 0; t < e.length; t++) {
                                var n = e[t],
                                    i = n.callback;
                                if (null !== i) {
                                    if (((n.callback = null), (n = r), "function" != typeof i)) throw Error(a(191, i));
                                    i.call(n);
                                }
                            }
                    }
                    var Pa = new n.Component().refs;
                    function Ga(e, t, r, n) {
                        (r = null == (r = r(n, (t = e.memoizedState))) ? t : D({}, t, r)), (e.memoizedState = r), 0 === e.lanes && (e.updateQueue.baseState = r);
                    }
                    var Ma = {
                        isMounted: function (e) {
                            return !!(e = e._reactInternals) && Ue(e) === e;
                        },
                        enqueueSetState: function (e, t, r) {
                            e = e._reactInternals;
                            var n = tu(),
                                i = ru(e),
                                a = ja(n, i);
                            (a.payload = t), null != r && (a.callback = r), null !== (t = Wa(e, a, i)) && (nu(t, e, i, n), Ra(t, e, i));
                        },
                        enqueueReplaceState: function (e, t, r) {
                            e = e._reactInternals;
                            var n = tu(),
                                i = ru(e),
                                a = ja(n, i);
                            (a.tag = 1), (a.payload = t), null != r && (a.callback = r), null !== (t = Wa(e, a, i)) && (nu(t, e, i, n), Ra(t, e, i));
                        },
                        enqueueForceUpdate: function (e, t) {
                            e = e._reactInternals;
                            var r = tu(),
                                n = ru(e),
                                i = ja(r, n);
                            (i.tag = 2), null != t && (i.callback = t), null !== (t = Wa(e, i, n)) && (nu(t, e, n, r), Ra(t, e, n));
                        },
                    };
                    function Ua(e, t, r, n, i, a, o) {
                        return "function" == typeof (e = e.stateNode).shouldComponentUpdate ? e.shouldComponentUpdate(n, a, o) : !t.prototype || !t.prototype.isPureReactComponent || !sn(r, n) || !sn(i, a);
                    }
                    function Na(e, t, r) {
                        var n = !1,
                            i = ki,
                            a = t.contextType;
                        return (
                            "object" == typeof a && null !== a ? (a = ba(a)) : ((i = Li(t) ? Bi : xi.current), (a = (n = null != (n = t.contextTypes)) ? Fi(e, i) : ki)),
                            (t = new t(r, a)),
                            (e.memoizedState = null !== t.state && void 0 !== t.state ? t.state : null),
                            (t.updater = Ma),
                            (e.stateNode = t),
                            (t._reactInternals = e),
                            n && (((e = e.stateNode).__reactInternalMemoizedUnmaskedChildContext = i), (e.__reactInternalMemoizedMaskedChildContext = a)),
                            t
                        );
                    }
                    function Va(e, t, r, n) {
                        (e = t.state),
                            "function" == typeof t.componentWillReceiveProps && t.componentWillReceiveProps(r, n),
                            "function" == typeof t.UNSAFE_componentWillReceiveProps && t.UNSAFE_componentWillReceiveProps(r, n),
                            t.state !== e && Ma.enqueueReplaceState(t, t.state, null);
                    }
                    function Ta(e, t, r, n) {
                        var i = e.stateNode;
                        (i.props = r), (i.state = e.memoizedState), (i.refs = Pa), Fa(e);
                        var a = t.contextType;
                        "object" == typeof a && null !== a ? (i.context = ba(a)) : ((a = Li(t) ? Bi : xi.current), (i.context = Fi(e, a))),
                            (i.state = e.memoizedState),
                            "function" == typeof (a = t.getDerivedStateFromProps) && (Ga(e, t, a, r), (i.state = e.memoizedState)),
                            "function" == typeof t.getDerivedStateFromProps ||
                                "function" == typeof i.getSnapshotBeforeUpdate ||
                                ("function" != typeof i.UNSAFE_componentWillMount && "function" != typeof i.componentWillMount) ||
                                ((t = i.state),
                                "function" == typeof i.componentWillMount && i.componentWillMount(),
                                "function" == typeof i.UNSAFE_componentWillMount && i.UNSAFE_componentWillMount(),
                                t !== i.state && Ma.enqueueReplaceState(i, i.state, null),
                                Da(e, r, i, n),
                                (i.state = e.memoizedState)),
                            "function" == typeof i.componentDidMount && (e.flags |= 4194308);
                    }
                    function Ha(e, t, r) {
                        if (null !== (e = r.ref) && "function" != typeof e && "object" != typeof e) {
                            if (r._owner) {
                                if ((r = r._owner)) {
                                    if (1 !== r.tag) throw Error(a(309));
                                    var n = r.stateNode;
                                }
                                if (!n) throw Error(a(147, e));
                                var i = n,
                                    o = "" + e;
                                return null !== t && null !== t.ref && "function" == typeof t.ref && t.ref._stringRef === o
                                    ? t.ref
                                    : ((t = function (e) {
                                          var t = i.refs;
                                          t === Pa && (t = i.refs = {}), null === e ? delete t[o] : (t[o] = e);
                                      }),
                                      (t._stringRef = o),
                                      t);
                            }
                            if ("string" != typeof e) throw Error(a(284));
                            if (!r._owner) throw Error(a(290, e));
                        }
                        return e;
                    }
                    function za(e, t) {
                        throw ((e = Object.prototype.toString.call(t)), Error(a(31, "[object Object]" === e ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)));
                    }
                    function Ja(e) {
                        return (0, e._init)(e._payload);
                    }
                    function Za(e) {
                        function t(t, r) {
                            if (e) {
                                var n = t.deletions;
                                null === n ? ((t.deletions = [r]), (t.flags |= 16)) : n.push(r);
                            }
                        }
                        function r(r, n) {
                            if (!e) return null;
                            for (; null !== n; ) t(r, n), (n = n.sibling);
                            return null;
                        }
                        function n(e, t) {
                            for (e = new Map(); null !== t; ) null !== t.key ? e.set(t.key, t) : e.set(t.index, t), (t = t.sibling);
                            return e;
                        }
                        function i(e, t) {
                            return ((e = Wu(e, t)).index = 0), (e.sibling = null), e;
                        }
                        function o(t, r, n) {
                            return (t.index = n), e ? (null !== (n = t.alternate) ? ((n = n.index) < r ? ((t.flags |= 2), r) : n) : ((t.flags |= 2), r)) : ((t.flags |= 1048576), r);
                        }
                        function l(t) {
                            return e && null === t.alternate && (t.flags |= 2), t;
                        }
                        function s(e, t, r, n) {
                            return null === t || 6 !== t.tag ? (((t = Ku(r, e.mode, n)).return = e), t) : (((t = i(t, r)).return = e), t);
                        }
                        function u(e, t, r, n) {
                            var a = r.type;
                            return a === A
                                ? h(e, t, r.props.children, n, r.key)
                                : null !== t && (t.elementType === a || ("object" == typeof a && null !== a && a.$$typeof === L && Ja(a) === t.type))
                                ? (((n = i(t, r.props)).ref = Ha(e, t, r)), (n.return = e), n)
                                : (((n = Ru(r.type, r.key, r.props, null, e.mode, n)).ref = Ha(e, t, r)), (n.return = e), n);
                        }
                        function c(e, t, r, n) {
                            return null === t || 4 !== t.tag || t.stateNode.containerInfo !== r.containerInfo || t.stateNode.implementation !== r.implementation
                                ? (((t = Pu(r, e.mode, n)).return = e), t)
                                : (((t = i(t, r.children || [])).return = e), t);
                        }
                        function h(e, t, r, n, a) {
                            return null === t || 7 !== t.tag ? (((t = Yu(r, e.mode, n, a)).return = e), t) : (((t = i(t, r)).return = e), t);
                        }
                        function f(e, t, r) {
                            if (("string" == typeof t && "" !== t) || "number" == typeof t) return ((t = Ku("" + t, e.mode, r)).return = e), t;
                            if ("object" == typeof t && null !== t) {
                                switch (t.$$typeof) {
                                    case y:
                                        return ((r = Ru(t.type, t.key, t.props, null, e.mode, r)).ref = Ha(e, null, t)), (r.return = e), r;
                                    case w:
                                        return ((t = Pu(t, e.mode, r)).return = e), t;
                                    case L:
                                        return f(e, (0, t._init)(t._payload), r);
                                }
                                if (te(t) || R(t)) return ((t = Yu(t, e.mode, r, null)).return = e), t;
                                za(e, t);
                            }
                            return null;
                        }
                        function d(e, t, r, n) {
                            var i = null !== t ? t.key : null;
                            if (("string" == typeof r && "" !== r) || "number" == typeof r) return null !== i ? null : s(e, t, "" + r, n);
                            if ("object" == typeof r && null !== r) {
                                switch (r.$$typeof) {
                                    case y:
                                        return r.key === i ? u(e, t, r, n) : null;
                                    case w:
                                        return r.key === i ? c(e, t, r, n) : null;
                                    case L:
                                        return d(e, t, (i = r._init)(r._payload), n);
                                }
                                if (te(r) || R(r)) return null !== i ? null : h(e, t, r, n, null);
                                za(e, r);
                            }
                            return null;
                        }
                        function g(e, t, r, n, i) {
                            if (("string" == typeof n && "" !== n) || "number" == typeof n) return s(t, (e = e.get(r) || null), "" + n, i);
                            if ("object" == typeof n && null !== n) {
                                switch (n.$$typeof) {
                                    case y:
                                        return u(t, (e = e.get(null === n.key ? r : n.key) || null), n, i);
                                    case w:
                                        return c(t, (e = e.get(null === n.key ? r : n.key) || null), n, i);
                                    case L:
                                        return g(e, t, r, (0, n._init)(n._payload), i);
                                }
                                if (te(n) || R(n)) return h(t, (e = e.get(r) || null), n, i, null);
                                za(t, n);
                            }
                            return null;
                        }
                        function C(i, a, l, s) {
                            for (var u = null, c = null, h = a, C = (a = 0), p = null; null !== h && C < l.length; C++) {
                                h.index > C ? ((p = h), (h = null)) : (p = h.sibling);
                                var I = d(i, h, l[C], s);
                                if (null === I) {
                                    null === h && (h = p);
                                    break;
                                }
                                e && h && null === I.alternate && t(i, h), (a = o(I, a, C)), null === c ? (u = I) : (c.sibling = I), (c = I), (h = p);
                            }
                            if (C === l.length) return r(i, h), ia && _i(i, C), u;
                            if (null === h) {
                                for (; C < l.length; C++) null !== (h = f(i, l[C], s)) && ((a = o(h, a, C)), null === c ? (u = h) : (c.sibling = h), (c = h));
                                return ia && _i(i, C), u;
                            }
                            for (h = n(i, h); C < l.length; C++) null !== (p = g(h, i, C, l[C], s)) && (e && null !== p.alternate && h.delete(null === p.key ? C : p.key), (a = o(p, a, C)), null === c ? (u = p) : (c.sibling = p), (c = p));
                            return (
                                e &&
                                    h.forEach(function (e) {
                                        return t(i, e);
                                    }),
                                ia && _i(i, C),
                                u
                            );
                        }
                        function p(i, l, s, u) {
                            var c = R(s);
                            if ("function" != typeof c) throw Error(a(150));
                            if (null == (s = c.call(s))) throw Error(a(151));
                            for (var h = (c = null), C = l, p = (l = 0), I = null, m = s.next(); null !== C && !m.done; p++, m = s.next()) {
                                C.index > p ? ((I = C), (C = null)) : (I = C.sibling);
                                var v = d(i, C, m.value, u);
                                if (null === v) {
                                    null === C && (C = I);
                                    break;
                                }
                                e && C && null === v.alternate && t(i, C), (l = o(v, l, p)), null === h ? (c = v) : (h.sibling = v), (h = v), (C = I);
                            }
                            if (m.done) return r(i, C), ia && _i(i, p), c;
                            if (null === C) {
                                for (; !m.done; p++, m = s.next()) null !== (m = f(i, m.value, u)) && ((l = o(m, l, p)), null === h ? (c = m) : (h.sibling = m), (h = m));
                                return ia && _i(i, p), c;
                            }
                            for (C = n(i, C); !m.done; p++, m = s.next())
                                null !== (m = g(C, i, p, m.value, u)) && (e && null !== m.alternate && C.delete(null === m.key ? p : m.key), (l = o(m, l, p)), null === h ? (c = m) : (h.sibling = m), (h = m));
                            return (
                                e &&
                                    C.forEach(function (e) {
                                        return t(i, e);
                                    }),
                                ia && _i(i, p),
                                c
                            );
                        }
                        return function e(n, a, o, s) {
                            if (("object" == typeof o && null !== o && o.type === A && null === o.key && (o = o.props.children), "object" == typeof o && null !== o)) {
                                switch (o.$$typeof) {
                                    case y:
                                        e: {
                                            for (var u = o.key, c = a; null !== c; ) {
                                                if (c.key === u) {
                                                    if ((u = o.type) === A) {
                                                        if (7 === c.tag) {
                                                            r(n, c.sibling), ((a = i(c, o.props.children)).return = n), (n = a);
                                                            break e;
                                                        }
                                                    } else if (c.elementType === u || ("object" == typeof u && null !== u && u.$$typeof === L && Ja(u) === c.type)) {
                                                        r(n, c.sibling), ((a = i(c, o.props)).ref = Ha(n, c, o)), (a.return = n), (n = a);
                                                        break e;
                                                    }
                                                    r(n, c);
                                                    break;
                                                }
                                                t(n, c), (c = c.sibling);
                                            }
                                            o.type === A ? (((a = Yu(o.props.children, n.mode, s, o.key)).return = n), (n = a)) : (((s = Ru(o.type, o.key, o.props, null, n.mode, s)).ref = Ha(n, a, o)), (s.return = n), (n = s));
                                        }
                                        return l(n);
                                    case w:
                                        e: {
                                            for (c = o.key; null !== a; ) {
                                                if (a.key === c) {
                                                    if (4 === a.tag && a.stateNode.containerInfo === o.containerInfo && a.stateNode.implementation === o.implementation) {
                                                        r(n, a.sibling), ((a = i(a, o.children || [])).return = n), (n = a);
                                                        break e;
                                                    }
                                                    r(n, a);
                                                    break;
                                                }
                                                t(n, a), (a = a.sibling);
                                            }
                                            ((a = Pu(o, n.mode, s)).return = n), (n = a);
                                        }
                                        return l(n);
                                    case L:
                                        return e(n, a, (c = o._init)(o._payload), s);
                                }
                                if (te(o)) return C(n, a, o, s);
                                if (R(o)) return p(n, a, o, s);
                                za(n, o);
                            }
                            return ("string" == typeof o && "" !== o) || "number" == typeof o
                                ? ((o = "" + o), null !== a && 6 === a.tag ? (r(n, a.sibling), ((a = i(a, o)).return = n), (n = a)) : (r(n, a), ((a = Ku(o, n.mode, s)).return = n), (n = a)), l(n))
                                : r(n, a);
                        };
                    }
                    var qa = Za(!0),
                        Xa = Za(!1),
                        _a = {},
                        $a = Si(_a),
                        eo = Si(_a),
                        to = Si(_a);
                    function ro(e) {
                        if (e === _a) throw Error(a(174));
                        return e;
                    }
                    function no(e, t) {
                        switch ((Qi(to, t), Qi(eo, e), Qi($a, _a), (e = t.nodeType))) {
                            case 9:
                            case 11:
                                t = (t = t.documentElement) ? t.namespaceURI : se(null, "");
                                break;
                            default:
                                t = se((t = (e = 8 === e ? t.parentNode : t).namespaceURI || null), (e = e.tagName));
                        }
                        bi($a), Qi($a, t);
                    }
                    function io() {
                        bi($a), bi(eo), bi(to);
                    }
                    function ao(e) {
                        ro(to.current);
                        var t = ro($a.current),
                            r = se(t, e.type);
                        t !== r && (Qi(eo, e), Qi($a, r));
                    }
                    function oo(e) {
                        eo.current === e && (bi($a), bi(eo));
                    }
                    var lo = Si(0);
                    function so(e) {
                        for (var t = e; null !== t; ) {
                            if (13 === t.tag) {
                                var r = t.memoizedState;
                                if (null !== r && (null === (r = r.dehydrated) || "$?" === r.data || "$!" === r.data)) return t;
                            } else if (19 === t.tag && void 0 !== t.memoizedProps.revealOrder) {
                                if (0 != (128 & t.flags)) return t;
                            } else if (null !== t.child) {
                                (t.child.return = t), (t = t.child);
                                continue;
                            }
                            if (t === e) break;
                            for (; null === t.sibling; ) {
                                if (null === t.return || t.return === e) return null;
                                t = t.return;
                            }
                            (t.sibling.return = t.return), (t = t.sibling);
                        }
                        return null;
                    }
                    var uo = [];
                    function co() {
                        for (var e = 0; e < uo.length; e++) uo[e]._workInProgressVersionPrimary = null;
                        uo.length = 0;
                    }
                    var ho = E.ReactCurrentDispatcher,
                        fo = E.ReactCurrentBatchConfig,
                        go = 0,
                        Co = null,
                        po = null,
                        Io = null,
                        mo = !1,
                        vo = !1,
                        Eo = 0,
                        yo = 0;
                    function wo() {
                        throw Error(a(321));
                    }
                    function Ao(e, t) {
                        if (null === t) return !1;
                        for (var r = 0; r < t.length && r < e.length; r++) if (!ln(e[r], t[r])) return !1;
                        return !0;
                    }
                    function So(e, t, r, n, i, o) {
                        if (((go = o), (Co = t), (t.memoizedState = null), (t.updateQueue = null), (t.lanes = 0), (ho.current = null === e || null === e.memoizedState ? ll : sl), (e = r(n, i)), vo)) {
                            o = 0;
                            do {
                                if (((vo = !1), (Eo = 0), 25 <= o)) throw Error(a(301));
                                (o += 1), (Io = po = null), (t.updateQueue = null), (ho.current = ul), (e = r(n, i));
                            } while (vo);
                        }
                        if (((ho.current = ol), (t = null !== po && null !== po.next), (go = 0), (Io = po = Co = null), (mo = !1), t)) throw Error(a(300));
                        return e;
                    }
                    function bo() {
                        var e = 0 !== Eo;
                        return (Eo = 0), e;
                    }
                    function Qo() {
                        var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null };
                        return null === Io ? (Co.memoizedState = Io = e) : (Io = Io.next = e), Io;
                    }
                    function ko() {
                        if (null === po) {
                            var e = Co.alternate;
                            e = null !== e ? e.memoizedState : null;
                        } else e = po.next;
                        var t = null === Io ? Co.memoizedState : Io.next;
                        if (null !== t) (Io = t), (po = e);
                        else {
                            if (null === e) throw Error(a(310));
                            (e = { memoizedState: (po = e).memoizedState, baseState: po.baseState, baseQueue: po.baseQueue, queue: po.queue, next: null }), null === Io ? (Co.memoizedState = Io = e) : (Io = Io.next = e);
                        }
                        return Io;
                    }
                    function xo(e, t) {
                        return "function" == typeof t ? t(e) : t;
                    }
                    function Oo(e) {
                        var t = ko(),
                            r = t.queue;
                        if (null === r) throw Error(a(311));
                        r.lastRenderedReducer = e;
                        var n = po,
                            i = n.baseQueue,
                            o = r.pending;
                        if (null !== o) {
                            if (null !== i) {
                                var l = i.next;
                                (i.next = o.next), (o.next = l);
                            }
                            (n.baseQueue = i = o), (r.pending = null);
                        }
                        if (null !== i) {
                            (o = i.next), (n = n.baseState);
                            var s = (l = null),
                                u = null,
                                c = o;
                            do {
                                var h = c.lane;
                                if ((go & h) === h) null !== u && (u = u.next = { lane: 0, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState, next: null }), (n = c.hasEagerState ? c.eagerState : e(n, c.action));
                                else {
                                    var f = { lane: h, action: c.action, hasEagerState: c.hasEagerState, eagerState: c.eagerState, next: null };
                                    null === u ? ((s = u = f), (l = n)) : (u = u.next = f), (Co.lanes |= h), (Ds |= h);
                                }
                                c = c.next;
                            } while (null !== c && c !== o);
                            null === u ? (l = n) : (u.next = s), ln(n, t.memoizedState) || (El = !0), (t.memoizedState = n), (t.baseState = l), (t.baseQueue = u), (r.lastRenderedState = n);
                        }
                        if (null !== (e = r.interleaved)) {
                            i = e;
                            do {
                                (o = i.lane), (Co.lanes |= o), (Ds |= o), (i = i.next);
                            } while (i !== e);
                        } else null === i && (r.lanes = 0);
                        return [t.memoizedState, r.dispatch];
                    }
                    function Bo(e) {
                        var t = ko(),
                            r = t.queue;
                        if (null === r) throw Error(a(311));
                        r.lastRenderedReducer = e;
                        var n = r.dispatch,
                            i = r.pending,
                            o = t.memoizedState;
                        if (null !== i) {
                            r.pending = null;
                            var l = (i = i.next);
                            do {
                                (o = e(o, l.action)), (l = l.next);
                            } while (l !== i);
                            ln(o, t.memoizedState) || (El = !0), (t.memoizedState = o), null === t.baseQueue && (t.baseState = o), (r.lastRenderedState = o);
                        }
                        return [o, n];
                    }
                    function Fo() {}
                    function Lo(e, t) {
                        var r = Co,
                            n = ko(),
                            i = t(),
                            o = !ln(n.memoizedState, i);
                        if ((o && ((n.memoizedState = i), (El = !0)), (n = n.queue), Vo(Ro.bind(null, r, n, e), [e]), n.getSnapshot !== t || o || (null !== Io && 1 & Io.memoizedState.tag))) {
                            if (((r.flags |= 2048), Po(9, Wo.bind(null, r, n, i, t), void 0, null), null === Bs)) throw Error(a(349));
                            0 != (30 & go) || jo(r, t, i);
                        }
                        return i;
                    }
                    function jo(e, t, r) {
                        (e.flags |= 16384),
                            (e = { getSnapshot: t, value: r }),
                            null === (t = Co.updateQueue) ? ((t = { lastEffect: null, stores: null }), (Co.updateQueue = t), (t.stores = [e])) : null === (r = t.stores) ? (t.stores = [e]) : r.push(e);
                    }
                    function Wo(e, t, r, n) {
                        (t.value = r), (t.getSnapshot = n), Yo(t) && Do(e);
                    }
                    function Ro(e, t, r) {
                        return r(function () {
                            Yo(t) && Do(e);
                        });
                    }
                    function Yo(e) {
                        var t = e.getSnapshot;
                        e = e.value;
                        try {
                            var r = t();
                            return !ln(e, r);
                        } catch (n) {
                            return !0;
                        }
                    }
                    function Do(e) {
                        var t = Oa(e, 1);
                        null !== t && nu(t, e, 1, -1);
                    }
                    function Ko(e) {
                        var t = Qo();
                        return (
                            "function" == typeof e && (e = e()),
                            (t.memoizedState = t.baseState = e),
                            (e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: xo, lastRenderedState: e }),
                            (t.queue = e),
                            (e = e.dispatch = rl.bind(null, Co, e)),
                            [t.memoizedState, e]
                        );
                    }
                    function Po(e, t, r, n) {
                        return (
                            (e = { tag: e, create: t, destroy: r, deps: n, next: null }),
                            null === (t = Co.updateQueue)
                                ? ((t = { lastEffect: null, stores: null }), (Co.updateQueue = t), (t.lastEffect = e.next = e))
                                : null === (r = t.lastEffect)
                                ? (t.lastEffect = e.next = e)
                                : ((n = r.next), (r.next = e), (e.next = n), (t.lastEffect = e)),
                            e
                        );
                    }
                    function Go() {
                        return ko().memoizedState;
                    }
                    function Mo(e, t, r, n) {
                        var i = Qo();
                        (Co.flags |= e), (i.memoizedState = Po(1 | t, r, void 0, void 0 === n ? null : n));
                    }
                    function Uo(e, t, r, n) {
                        var i = ko();
                        n = void 0 === n ? null : n;
                        var a = void 0;
                        if (null !== po) {
                            var o = po.memoizedState;
                            if (((a = o.destroy), null !== n && Ao(n, o.deps))) return void (i.memoizedState = Po(t, r, a, n));
                        }
                        (Co.flags |= e), (i.memoizedState = Po(1 | t, r, a, n));
                    }
                    function No(e, t) {
                        return Mo(8390656, 8, e, t);
                    }
                    function Vo(e, t) {
                        return Uo(2048, 8, e, t);
                    }
                    function To(e, t) {
                        return Uo(4, 2, e, t);
                    }
                    function Ho(e, t) {
                        return Uo(4, 4, e, t);
                    }
                    function zo(e, t) {
                        return "function" == typeof t
                            ? ((e = e()),
                              t(e),
                              function () {
                                  t(null);
                              })
                            : null != t
                            ? ((e = e()),
                              (t.current = e),
                              function () {
                                  t.current = null;
                              })
                            : void 0;
                    }
                    function Jo(e, t, r) {
                        return (r = null != r ? r.concat([e]) : null), Uo(4, 4, zo.bind(null, t, e), r);
                    }
                    function Zo() {}
                    function qo(e, t) {
                        var r = ko();
                        t = void 0 === t ? null : t;
                        var n = r.memoizedState;
                        return null !== n && null !== t && Ao(t, n[1]) ? n[0] : ((r.memoizedState = [e, t]), e);
                    }
                    function Xo(e, t) {
                        var r = ko();
                        t = void 0 === t ? null : t;
                        var n = r.memoizedState;
                        return null !== n && null !== t && Ao(t, n[1]) ? n[0] : ((e = e()), (r.memoizedState = [e, t]), e);
                    }
                    function _o(e, t, r) {
                        return 0 == (21 & go) ? (e.baseState && ((e.baseState = !1), (El = !0)), (e.memoizedState = r)) : (ln(r, t) || ((r = Ct()), (Co.lanes |= r), (Ds |= r), (e.baseState = !0)), t);
                    }
                    function $o(e, t) {
                        var r = vt;
                        (vt = 0 !== r && 4 > r ? r : 4), e(!0);
                        var n = fo.transition;
                        fo.transition = {};
                        try {
                            e(!1), t();
                        } finally {
                            (vt = r), (fo.transition = n);
                        }
                    }
                    function el() {
                        return ko().memoizedState;
                    }
                    function tl(e, t, r) {
                        var n = ru(e);
                        if (((r = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null }), nl(e))) il(t, r);
                        else if (null !== (r = xa(e, t, r, n))) {
                            nu(r, e, n, tu()), al(r, t, n);
                        }
                    }
                    function rl(e, t, r) {
                        var n = ru(e),
                            i = { lane: n, action: r, hasEagerState: !1, eagerState: null, next: null };
                        if (nl(e)) il(t, i);
                        else {
                            var a = e.alternate;
                            if (0 === e.lanes && (null === a || 0 === a.lanes) && null !== (a = t.lastRenderedReducer))
                                try {
                                    var o = t.lastRenderedState,
                                        l = a(o, r);
                                    if (((i.hasEagerState = !0), (i.eagerState = l), ln(l, o))) {
                                        var s = t.interleaved;
                                        return null === s ? ((i.next = i), ka(t)) : ((i.next = s.next), (s.next = i)), void (t.interleaved = i);
                                    }
                                } catch (u) {}
                            null !== (r = xa(e, t, i, n)) && (nu(r, e, n, (i = tu())), al(r, t, n));
                        }
                    }
                    function nl(e) {
                        var t = e.alternate;
                        return e === Co || (null !== t && t === Co);
                    }
                    function il(e, t) {
                        vo = mo = !0;
                        var r = e.pending;
                        null === r ? (t.next = t) : ((t.next = r.next), (r.next = t)), (e.pending = t);
                    }
                    function al(e, t, r) {
                        if (0 != (4194240 & r)) {
                            var n = t.lanes;
                            (r |= n &= e.pendingLanes), (t.lanes = r), mt(e, r);
                        }
                    }
                    var ol = {
                            readContext: ba,
                            useCallback: wo,
                            useContext: wo,
                            useEffect: wo,
                            useImperativeHandle: wo,
                            useInsertionEffect: wo,
                            useLayoutEffect: wo,
                            useMemo: wo,
                            useReducer: wo,
                            useRef: wo,
                            useState: wo,
                            useDebugValue: wo,
                            useDeferredValue: wo,
                            useTransition: wo,
                            useMutableSource: wo,
                            useSyncExternalStore: wo,
                            useId: wo,
                            unstable_isNewReconciler: !1,
                        },
                        ll = {
                            readContext: ba,
                            useCallback: function (e, t) {
                                return (Qo().memoizedState = [e, void 0 === t ? null : t]), e;
                            },
                            useContext: ba,
                            useEffect: No,
                            useImperativeHandle: function (e, t, r) {
                                return (r = null != r ? r.concat([e]) : null), Mo(4194308, 4, zo.bind(null, t, e), r);
                            },
                            useLayoutEffect: function (e, t) {
                                return Mo(4194308, 4, e, t);
                            },
                            useInsertionEffect: function (e, t) {
                                return Mo(4, 2, e, t);
                            },
                            useMemo: function (e, t) {
                                var r = Qo();
                                return (t = void 0 === t ? null : t), (e = e()), (r.memoizedState = [e, t]), e;
                            },
                            useReducer: function (e, t, r) {
                                var n = Qo();
                                return (
                                    (t = void 0 !== r ? r(t) : t),
                                    (n.memoizedState = n.baseState = t),
                                    (e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: e, lastRenderedState: t }),
                                    (n.queue = e),
                                    (e = e.dispatch = tl.bind(null, Co, e)),
                                    [n.memoizedState, e]
                                );
                            },
                            useRef: function (e) {
                                return (e = { current: e }), (Qo().memoizedState = e);
                            },
                            useState: Ko,
                            useDebugValue: Zo,
                            useDeferredValue: function (e) {
                                return (Qo().memoizedState = e);
                            },
                            useTransition: function () {
                                var e = Ko(!1),
                                    t = e[0];
                                return (e = $o.bind(null, e[1])), (Qo().memoizedState = e), [t, e];
                            },
                            useMutableSource: function () {},
                            useSyncExternalStore: function (e, t, r) {
                                var n = Co,
                                    i = Qo();
                                if (ia) {
                                    if (void 0 === r) throw Error(a(407));
                                    r = r();
                                } else {
                                    if (((r = t()), null === Bs)) throw Error(a(349));
                                    0 != (30 & go) || jo(n, t, r);
                                }
                                i.memoizedState = r;
                                var o = { value: r, getSnapshot: t };
                                return (i.queue = o), No(Ro.bind(null, n, o, e), [e]), (n.flags |= 2048), Po(9, Wo.bind(null, n, o, r, t), void 0, null), r;
                            },
                            useId: function () {
                                var e = Qo(),
                                    t = Bs.identifierPrefix;
                                if (ia) {
                                    var r = Xi;
                                    (t = ":" + t + "R" + (r = (qi & ~(1 << (32 - ot(qi) - 1))).toString(32) + r)), 0 < (r = Eo++) && (t += "H" + r.toString(32)), (t += ":");
                                } else t = ":" + t + "r" + (r = yo++).toString(32) + ":";
                                return (e.memoizedState = t);
                            },
                            unstable_isNewReconciler: !1,
                        },
                        sl = {
                            readContext: ba,
                            useCallback: qo,
                            useContext: ba,
                            useEffect: Vo,
                            useImperativeHandle: Jo,
                            useInsertionEffect: To,
                            useLayoutEffect: Ho,
                            useMemo: Xo,
                            useReducer: Oo,
                            useRef: Go,
                            useState: function () {
                                return Oo(xo);
                            },
                            useDebugValue: Zo,
                            useDeferredValue: function (e) {
                                return _o(ko(), po.memoizedState, e);
                            },
                            useTransition: function () {
                                return [Oo(xo)[0], ko().memoizedState];
                            },
                            useMutableSource: Fo,
                            useSyncExternalStore: Lo,
                            useId: el,
                            unstable_isNewReconciler: !1,
                        },
                        ul = {
                            readContext: ba,
                            useCallback: qo,
                            useContext: ba,
                            useEffect: Vo,
                            useImperativeHandle: Jo,
                            useInsertionEffect: To,
                            useLayoutEffect: Ho,
                            useMemo: Xo,
                            useReducer: Bo,
                            useRef: Go,
                            useState: function () {
                                return Bo(xo);
                            },
                            useDebugValue: Zo,
                            useDeferredValue: function (e) {
                                var t = ko();
                                return null === po ? (t.memoizedState = e) : _o(t, po.memoizedState, e);
                            },
                            useTransition: function () {
                                return [Bo(xo)[0], ko().memoizedState];
                            },
                            useMutableSource: Fo,
                            useSyncExternalStore: Lo,
                            useId: el,
                            unstable_isNewReconciler: !1,
                        };
                    function cl(e, t) {
                        try {
                            var r = "",
                                n = t;
                            do {
                                (r += M(n)), (n = n.return);
                            } while (n);
                            var i = r;
                        } catch (a) {
                            i = "\nError generating stack: " + a.message + "\n" + a.stack;
                        }
                        return { value: e, source: t, stack: i, digest: null };
                    }
                    function hl(e, t, r) {
                        return { value: e, source: null, stack: null != r ? r : null, digest: null != t ? t : null };
                    }
                    function fl(e, t) {
                        try {
                            console.error(t.value);
                        } catch (r) {
                            setTimeout(function () {
                                throw r;
                            });
                        }
                    }
                    var dl = "function" == typeof WeakMap ? WeakMap : Map;
                    function gl(e, t, r) {
                        ((r = ja(-1, r)).tag = 3), (r.payload = { element: null });
                        var n = t.value;
                        return (
                            (r.callback = function () {
                                Ts || ((Ts = !0), (Hs = n)), fl(0, t);
                            }),
                            r
                        );
                    }
                    function Cl(e, t, r) {
                        (r = ja(-1, r)).tag = 3;
                        var n = e.type.getDerivedStateFromError;
                        if ("function" == typeof n) {
                            var i = t.value;
                            (r.payload = function () {
                                return n(i);
                            }),
                                (r.callback = function () {
                                    fl(0, t);
                                });
                        }
                        var a = e.stateNode;
                        return (
                            null !== a &&
                                "function" == typeof a.componentDidCatch &&
                                (r.callback = function () {
                                    fl(0, t), "function" != typeof n && (null === zs ? (zs = new Set([this])) : zs.add(this));
                                    var e = t.stack;
                                    this.componentDidCatch(t.value, { componentStack: null !== e ? e : "" });
                                }),
                            r
                        );
                    }
                    function pl(e, t, r) {
                        var n = e.pingCache;
                        if (null === n) {
                            n = e.pingCache = new dl();
                            var i = new Set();
                            n.set(t, i);
                        } else void 0 === (i = n.get(t)) && ((i = new Set()), n.set(t, i));
                        i.has(r) || (i.add(r), (e = Qu.bind(null, e, t, r)), t.then(e, e));
                    }
                    function Il(e) {
                        do {
                            var t;
                            if (((t = 13 === e.tag) && (t = null === (t = e.memoizedState) || null !== t.dehydrated), t)) return e;
                            e = e.return;
                        } while (null !== e);
                        return null;
                    }
                    function ml(e, t, r, n, i) {
                        return 0 == (1 & e.mode)
                            ? (e === t ? (e.flags |= 65536) : ((e.flags |= 128), (r.flags |= 131072), (r.flags &= -52805), 1 === r.tag && (null === r.alternate ? (r.tag = 17) : (((t = ja(-1, 1)).tag = 2), Wa(r, t, 1))), (r.lanes |= 1)), e)
                            : ((e.flags |= 65536), (e.lanes = i), e);
                    }
                    var vl = E.ReactCurrentOwner,
                        El = !1;
                    function yl(e, t, r, n) {
                        t.child = null === e ? Xa(t, null, r, n) : qa(t, e.child, r, n);
                    }
                    function wl(e, t, r, n, i) {
                        r = r.render;
                        var a = t.ref;
                        return (
                            Sa(t, i),
                            (n = So(e, t, r, n, a, i)),
                            (r = bo()),
                            null === e || El ? (ia && r && ea(t), (t.flags |= 1), yl(e, t, n, i), t.child) : ((t.updateQueue = e.updateQueue), (t.flags &= -2053), (e.lanes &= ~i), Tl(e, t, i))
                        );
                    }
                    function Al(e, t, r, n, i) {
                        if (null === e) {
                            var a = r.type;
                            return "function" != typeof a || ju(a) || void 0 !== a.defaultProps || null !== r.compare || void 0 !== r.defaultProps
                                ? (((e = Ru(r.type, null, n, t, t.mode, i)).ref = t.ref), (e.return = t), (t.child = e))
                                : ((t.tag = 15), (t.type = a), Sl(e, t, a, n, i));
                        }
                        if (((a = e.child), 0 == (e.lanes & i))) {
                            var o = a.memoizedProps;
                            if ((r = null !== (r = r.compare) ? r : sn)(o, n) && e.ref === t.ref) return Tl(e, t, i);
                        }
                        return (t.flags |= 1), ((e = Wu(a, n)).ref = t.ref), (e.return = t), (t.child = e);
                    }
                    function Sl(e, t, r, n, i) {
                        if (null !== e) {
                            var a = e.memoizedProps;
                            if (sn(a, n) && e.ref === t.ref) {
                                if (((El = !1), (t.pendingProps = n = a), 0 == (e.lanes & i))) return (t.lanes = e.lanes), Tl(e, t, i);
                                0 != (131072 & e.flags) && (El = !0);
                            }
                        }
                        return kl(e, t, r, n, i);
                    }
                    function bl(e, t, r) {
                        var n = t.pendingProps,
                            i = n.children,
                            a = null !== e ? e.memoizedState : null;
                        if ("hidden" === n.mode)
                            if (0 == (1 & t.mode)) (t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), Qi(Ws, js), (js |= r);
                            else {
                                if (0 == (1073741824 & r))
                                    return (
                                        (e = null !== a ? a.baseLanes | r : r),
                                        (t.lanes = t.childLanes = 1073741824),
                                        (t.memoizedState = { baseLanes: e, cachePool: null, transitions: null }),
                                        (t.updateQueue = null),
                                        Qi(Ws, js),
                                        (js |= e),
                                        null
                                    );
                                (t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }), (n = null !== a ? a.baseLanes : r), Qi(Ws, js), (js |= n);
                            }
                        else null !== a ? ((n = a.baseLanes | r), (t.memoizedState = null)) : (n = r), Qi(Ws, js), (js |= n);
                        return yl(e, t, i, r), t.child;
                    }
                    function Ql(e, t) {
                        var r = t.ref;
                        ((null === e && null !== r) || (null !== e && e.ref !== r)) && ((t.flags |= 512), (t.flags |= 2097152));
                    }
                    function kl(e, t, r, n, i) {
                        var a = Li(r) ? Bi : xi.current;
                        return (
                            (a = Fi(t, a)),
                            Sa(t, i),
                            (r = So(e, t, r, n, a, i)),
                            (n = bo()),
                            null === e || El ? (ia && n && ea(t), (t.flags |= 1), yl(e, t, r, i), t.child) : ((t.updateQueue = e.updateQueue), (t.flags &= -2053), (e.lanes &= ~i), Tl(e, t, i))
                        );
                    }
                    function xl(e, t, r, n, i) {
                        if (Li(r)) {
                            var a = !0;
                            Yi(t);
                        } else a = !1;
                        if ((Sa(t, i), null === t.stateNode)) Vl(e, t), Na(t, r, n), Ta(t, r, n, i), (n = !0);
                        else if (null === e) {
                            var o = t.stateNode,
                                l = t.memoizedProps;
                            o.props = l;
                            var s = o.context,
                                u = r.contextType;
                            "object" == typeof u && null !== u ? (u = ba(u)) : (u = Fi(t, (u = Li(r) ? Bi : xi.current)));
                            var c = r.getDerivedStateFromProps,
                                h = "function" == typeof c || "function" == typeof o.getSnapshotBeforeUpdate;
                            h || ("function" != typeof o.UNSAFE_componentWillReceiveProps && "function" != typeof o.componentWillReceiveProps) || ((l !== n || s !== u) && Va(t, o, n, u)), (Ba = !1);
                            var f = t.memoizedState;
                            (o.state = f),
                                Da(t, n, o, i),
                                (s = t.memoizedState),
                                l !== n || f !== s || Oi.current || Ba
                                    ? ("function" == typeof c && (Ga(t, r, c, n), (s = t.memoizedState)),
                                      (l = Ba || Ua(t, r, l, n, f, s, u))
                                          ? (h ||
                                                ("function" != typeof o.UNSAFE_componentWillMount && "function" != typeof o.componentWillMount) ||
                                                ("function" == typeof o.componentWillMount && o.componentWillMount(), "function" == typeof o.UNSAFE_componentWillMount && o.UNSAFE_componentWillMount()),
                                            "function" == typeof o.componentDidMount && (t.flags |= 4194308))
                                          : ("function" == typeof o.componentDidMount && (t.flags |= 4194308), (t.memoizedProps = n), (t.memoizedState = s)),
                                      (o.props = n),
                                      (o.state = s),
                                      (o.context = u),
                                      (n = l))
                                    : ("function" == typeof o.componentDidMount && (t.flags |= 4194308), (n = !1));
                        } else {
                            (o = t.stateNode),
                                La(e, t),
                                (l = t.memoizedProps),
                                (u = t.type === t.elementType ? l : pa(t.type, l)),
                                (o.props = u),
                                (h = t.pendingProps),
                                (f = o.context),
                                "object" == typeof (s = r.contextType) && null !== s ? (s = ba(s)) : (s = Fi(t, (s = Li(r) ? Bi : xi.current)));
                            var d = r.getDerivedStateFromProps;
                            (c = "function" == typeof d || "function" == typeof o.getSnapshotBeforeUpdate) ||
                                ("function" != typeof o.UNSAFE_componentWillReceiveProps && "function" != typeof o.componentWillReceiveProps) ||
                                ((l !== h || f !== s) && Va(t, o, n, s)),
                                (Ba = !1),
                                (f = t.memoizedState),
                                (o.state = f),
                                Da(t, n, o, i);
                            var g = t.memoizedState;
                            l !== h || f !== g || Oi.current || Ba
                                ? ("function" == typeof d && (Ga(t, r, d, n), (g = t.memoizedState)),
                                  (u = Ba || Ua(t, r, u, n, f, g, s) || !1)
                                      ? (c ||
                                            ("function" != typeof o.UNSAFE_componentWillUpdate && "function" != typeof o.componentWillUpdate) ||
                                            ("function" == typeof o.componentWillUpdate && o.componentWillUpdate(n, g, s), "function" == typeof o.UNSAFE_componentWillUpdate && o.UNSAFE_componentWillUpdate(n, g, s)),
                                        "function" == typeof o.componentDidUpdate && (t.flags |= 4),
                                        "function" == typeof o.getSnapshotBeforeUpdate && (t.flags |= 1024))
                                      : ("function" != typeof o.componentDidUpdate || (l === e.memoizedProps && f === e.memoizedState) || (t.flags |= 4),
                                        "function" != typeof o.getSnapshotBeforeUpdate || (l === e.memoizedProps && f === e.memoizedState) || (t.flags |= 1024),
                                        (t.memoizedProps = n),
                                        (t.memoizedState = g)),
                                  (o.props = n),
                                  (o.state = g),
                                  (o.context = s),
                                  (n = u))
                                : ("function" != typeof o.componentDidUpdate || (l === e.memoizedProps && f === e.memoizedState) || (t.flags |= 4),
                                  "function" != typeof o.getSnapshotBeforeUpdate || (l === e.memoizedProps && f === e.memoizedState) || (t.flags |= 1024),
                                  (n = !1));
                        }
                        return Ol(e, t, r, n, a, i);
                    }
                    function Ol(e, t, r, n, i, a) {
                        Ql(e, t);
                        var o = 0 != (128 & t.flags);
                        if (!n && !o) return i && Di(t, r, !1), Tl(e, t, a);
                        (n = t.stateNode), (vl.current = t);
                        var l = o && "function" != typeof r.getDerivedStateFromError ? null : n.render();
                        return (t.flags |= 1), null !== e && o ? ((t.child = qa(t, e.child, null, a)), (t.child = qa(t, null, l, a))) : yl(e, t, l, a), (t.memoizedState = n.state), i && Di(t, r, !0), t.child;
                    }
                    function Bl(e) {
                        var t = e.stateNode;
                        t.pendingContext ? Wi(0, t.pendingContext, t.pendingContext !== t.context) : t.context && Wi(0, t.context, !1), no(e, t.containerInfo);
                    }
                    function Fl(e, t, r, n, i) {
                        return da(), ga(i), (t.flags |= 256), yl(e, t, r, n), t.child;
                    }
                    var Ll,
                        jl,
                        Wl,
                        Rl,
                        Yl = { dehydrated: null, treeContext: null, retryLane: 0 };
                    function Dl(e) {
                        return { baseLanes: e, cachePool: null, transitions: null };
                    }
                    function Kl(e, t, r) {
                        var n,
                            i = t.pendingProps,
                            o = lo.current,
                            l = !1,
                            s = 0 != (128 & t.flags);
                        if (((n = s) || (n = (null === e || null !== e.memoizedState) && 0 != (2 & o)), n ? ((l = !0), (t.flags &= -129)) : (null !== e && null === e.memoizedState) || (o |= 1), Qi(lo, 1 & o), null === e))
                            return (
                                ua(t),
                                null !== (e = t.memoizedState) && null !== (e = e.dehydrated)
                                    ? (0 == (1 & t.mode) ? (t.lanes = 1) : "$!" === e.data ? (t.lanes = 8) : (t.lanes = 1073741824), null)
                                    : ((s = i.children),
                                      (e = i.fallback),
                                      l
                                          ? ((i = t.mode),
                                            (l = t.child),
                                            (s = { mode: "hidden", children: s }),
                                            0 == (1 & i) && null !== l ? ((l.childLanes = 0), (l.pendingProps = s)) : (l = Du(s, i, 0, null)),
                                            (e = Yu(e, i, r, null)),
                                            (l.return = t),
                                            (e.return = t),
                                            (l.sibling = e),
                                            (t.child = l),
                                            (t.child.memoizedState = Dl(r)),
                                            (t.memoizedState = Yl),
                                            e)
                                          : Pl(t, s))
                            );
                        if (null !== (o = e.memoizedState) && null !== (n = o.dehydrated))
                            return (function (e, t, r, n, i, o, l) {
                                if (r)
                                    return 256 & t.flags
                                        ? ((t.flags &= -257), Gl(e, t, l, (n = hl(Error(a(422))))))
                                        : null !== t.memoizedState
                                        ? ((t.child = e.child), (t.flags |= 128), null)
                                        : ((o = n.fallback),
                                          (i = t.mode),
                                          (n = Du({ mode: "visible", children: n.children }, i, 0, null)),
                                          ((o = Yu(o, i, l, null)).flags |= 2),
                                          (n.return = t),
                                          (o.return = t),
                                          (n.sibling = o),
                                          (t.child = n),
                                          0 != (1 & t.mode) && qa(t, e.child, null, l),
                                          (t.child.memoizedState = Dl(l)),
                                          (t.memoizedState = Yl),
                                          o);
                                if (0 == (1 & t.mode)) return Gl(e, t, l, null);
                                if ("$!" === i.data) {
                                    if ((n = i.nextSibling && i.nextSibling.dataset)) var s = n.dgst;
                                    return (n = s), Gl(e, t, l, (n = hl((o = Error(a(419))), n, void 0)));
                                }
                                if (((s = 0 != (l & e.childLanes)), El || s)) {
                                    if (null !== (n = Bs)) {
                                        switch (l & -l) {
                                            case 4:
                                                i = 2;
                                                break;
                                            case 16:
                                                i = 8;
                                                break;
                                            case 64:
                                            case 128:
                                            case 256:
                                            case 512:
                                            case 1024:
                                            case 2048:
                                            case 4096:
                                            case 8192:
                                            case 16384:
                                            case 32768:
                                            case 65536:
                                            case 131072:
                                            case 262144:
                                            case 524288:
                                            case 1048576:
                                            case 2097152:
                                            case 4194304:
                                            case 8388608:
                                            case 16777216:
                                            case 33554432:
                                            case 67108864:
                                                i = 32;
                                                break;
                                            case 536870912:
                                                i = 268435456;
                                                break;
                                            default:
                                                i = 0;
                                        }
                                        0 !== (i = 0 != (i & (n.suspendedLanes | l)) ? 0 : i) && i !== o.retryLane && ((o.retryLane = i), Oa(e, i), nu(n, e, i, -1));
                                    }
                                    return pu(), Gl(e, t, l, (n = hl(Error(a(421)))));
                                }
                                return "$?" === i.data
                                    ? ((t.flags |= 128), (t.child = e.child), (t = xu.bind(null, e)), (i._reactRetry = t), null)
                                    : ((e = o.treeContext),
                                      (na = ui(i.nextSibling)),
                                      (ra = t),
                                      (ia = !0),
                                      (aa = null),
                                      null !== e && ((zi[Ji++] = qi), (zi[Ji++] = Xi), (zi[Ji++] = Zi), (qi = e.id), (Xi = e.overflow), (Zi = t)),
                                      (t = Pl(t, n.children)),
                                      (t.flags |= 4096),
                                      t);
                            })(e, t, s, i, n, o, r);
                        if (l) {
                            (l = i.fallback), (s = t.mode), (n = (o = e.child).sibling);
                            var u = { mode: "hidden", children: i.children };
                            return (
                                0 == (1 & s) && t.child !== o ? (((i = t.child).childLanes = 0), (i.pendingProps = u), (t.deletions = null)) : ((i = Wu(o, u)).subtreeFlags = 14680064 & o.subtreeFlags),
                                null !== n ? (l = Wu(n, l)) : ((l = Yu(l, s, r, null)).flags |= 2),
                                (l.return = t),
                                (i.return = t),
                                (i.sibling = l),
                                (t.child = i),
                                (i = l),
                                (l = t.child),
                                (s = null === (s = e.child.memoizedState) ? Dl(r) : { baseLanes: s.baseLanes | r, cachePool: null, transitions: s.transitions }),
                                (l.memoizedState = s),
                                (l.childLanes = e.childLanes & ~r),
                                (t.memoizedState = Yl),
                                i
                            );
                        }
                        return (
                            (e = (l = e.child).sibling),
                            (i = Wu(l, { mode: "visible", children: i.children })),
                            0 == (1 & t.mode) && (i.lanes = r),
                            (i.return = t),
                            (i.sibling = null),
                            null !== e && (null === (r = t.deletions) ? ((t.deletions = [e]), (t.flags |= 16)) : r.push(e)),
                            (t.child = i),
                            (t.memoizedState = null),
                            i
                        );
                    }
                    function Pl(e, t) {
                        return ((t = Du({ mode: "visible", children: t }, e.mode, 0, null)).return = e), (e.child = t);
                    }
                    function Gl(e, t, r, n) {
                        return null !== n && ga(n), qa(t, e.child, null, r), ((e = Pl(t, t.pendingProps.children)).flags |= 2), (t.memoizedState = null), e;
                    }
                    function Ml(e, t, r) {
                        e.lanes |= t;
                        var n = e.alternate;
                        null !== n && (n.lanes |= t), Aa(e.return, t, r);
                    }
                    function Ul(e, t, r, n, i) {
                        var a = e.memoizedState;
                        null === a
                            ? (e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: n, tail: r, tailMode: i })
                            : ((a.isBackwards = t), (a.rendering = null), (a.renderingStartTime = 0), (a.last = n), (a.tail = r), (a.tailMode = i));
                    }
                    function Nl(e, t, r) {
                        var n = t.pendingProps,
                            i = n.revealOrder,
                            a = n.tail;
                        if ((yl(e, t, n.children, r), 0 != (2 & (n = lo.current)))) (n = (1 & n) | 2), (t.flags |= 128);
                        else {
                            if (null !== e && 0 != (128 & e.flags))
                                e: for (e = t.child; null !== e; ) {
                                    if (13 === e.tag) null !== e.memoizedState && Ml(e, r, t);
                                    else if (19 === e.tag) Ml(e, r, t);
                                    else if (null !== e.child) {
                                        (e.child.return = e), (e = e.child);
                                        continue;
                                    }
                                    if (e === t) break e;
                                    for (; null === e.sibling; ) {
                                        if (null === e.return || e.return === t) break e;
                                        e = e.return;
                                    }
                                    (e.sibling.return = e.return), (e = e.sibling);
                                }
                            n &= 1;
                        }
                        if ((Qi(lo, n), 0 == (1 & t.mode))) t.memoizedState = null;
                        else
                            switch (i) {
                                case "forwards":
                                    for (r = t.child, i = null; null !== r; ) null !== (e = r.alternate) && null === so(e) && (i = r), (r = r.sibling);
                                    null === (r = i) ? ((i = t.child), (t.child = null)) : ((i = r.sibling), (r.sibling = null)), Ul(t, !1, i, r, a);
                                    break;
                                case "backwards":
                                    for (r = null, i = t.child, t.child = null; null !== i; ) {
                                        if (null !== (e = i.alternate) && null === so(e)) {
                                            t.child = i;
                                            break;
                                        }
                                        (e = i.sibling), (i.sibling = r), (r = i), (i = e);
                                    }
                                    Ul(t, !0, r, null, a);
                                    break;
                                case "together":
                                    Ul(t, !1, null, null, void 0);
                                    break;
                                default:
                                    t.memoizedState = null;
                            }
                        return t.child;
                    }
                    function Vl(e, t) {
                        0 == (1 & t.mode) && null !== e && ((e.alternate = null), (t.alternate = null), (t.flags |= 2));
                    }
                    function Tl(e, t, r) {
                        if ((null !== e && (t.dependencies = e.dependencies), (Ds |= t.lanes), 0 == (r & t.childLanes))) return null;
                        if (null !== e && t.child !== e.child) throw Error(a(153));
                        if (null !== t.child) {
                            for (r = Wu((e = t.child), e.pendingProps), t.child = r, r.return = t; null !== e.sibling; ) (e = e.sibling), ((r = r.sibling = Wu(e, e.pendingProps)).return = t);
                            r.sibling = null;
                        }
                        return t.child;
                    }
                    function Hl(e, t) {
                        if (!ia)
                            switch (e.tailMode) {
                                case "hidden":
                                    t = e.tail;
                                    for (var r = null; null !== t; ) null !== t.alternate && (r = t), (t = t.sibling);
                                    null === r ? (e.tail = null) : (r.sibling = null);
                                    break;
                                case "collapsed":
                                    r = e.tail;
                                    for (var n = null; null !== r; ) null !== r.alternate && (n = r), (r = r.sibling);
                                    null === n ? (t || null === e.tail ? (e.tail = null) : (e.tail.sibling = null)) : (n.sibling = null);
                            }
                    }
                    function zl(e) {
                        var t = null !== e.alternate && e.alternate.child === e.child,
                            r = 0,
                            n = 0;
                        if (t) for (var i = e.child; null !== i; ) (r |= i.lanes | i.childLanes), (n |= 14680064 & i.subtreeFlags), (n |= 14680064 & i.flags), (i.return = e), (i = i.sibling);
                        else for (i = e.child; null !== i; ) (r |= i.lanes | i.childLanes), (n |= i.subtreeFlags), (n |= i.flags), (i.return = e), (i = i.sibling);
                        return (e.subtreeFlags |= n), (e.childLanes = r), t;
                    }
                    function Jl(e, t, r) {
                        var n = t.pendingProps;
                        switch ((ta(t), t.tag)) {
                            case 2:
                            case 16:
                            case 15:
                            case 0:
                            case 11:
                            case 7:
                            case 8:
                            case 12:
                            case 9:
                            case 14:
                                return zl(t), null;
                            case 1:
                            case 17:
                                return Li(t.type) && ji(), zl(t), null;
                            case 3:
                                return (
                                    (n = t.stateNode),
                                    io(),
                                    bi(Oi),
                                    bi(xi),
                                    co(),
                                    n.pendingContext && ((n.context = n.pendingContext), (n.pendingContext = null)),
                                    (null !== e && null !== e.child) || (ha(t) ? (t.flags |= 4) : null === e || (e.memoizedState.isDehydrated && 0 == (256 & t.flags)) || ((t.flags |= 1024), null !== aa && (lu(aa), (aa = null)))),
                                    jl(e, t),
                                    zl(t),
                                    null
                                );
                            case 5:
                                oo(t);
                                var i = ro(to.current);
                                if (((r = t.type), null !== e && null != t.stateNode)) Wl(e, t, r, n, i), e.ref !== t.ref && ((t.flags |= 512), (t.flags |= 2097152));
                                else {
                                    if (!n) {
                                        if (null === t.stateNode) throw Error(a(166));
                                        return zl(t), null;
                                    }
                                    if (((e = ro($a.current)), ha(t))) {
                                        (n = t.stateNode), (r = t.type);
                                        var o = t.memoizedProps;
                                        switch (((n[fi] = t), (n[di] = o), (e = 0 != (1 & t.mode)), r)) {
                                            case "dialog":
                                                Pn("cancel", n), Pn("close", n);
                                                break;
                                            case "iframe":
                                            case "object":
                                            case "embed":
                                                Pn("load", n);
                                                break;
                                            case "video":
                                            case "audio":
                                                for (i = 0; i < Rn.length; i++) Pn(Rn[i], n);
                                                break;
                                            case "source":
                                                Pn("error", n);
                                                break;
                                            case "img":
                                            case "image":
                                            case "link":
                                                Pn("error", n), Pn("load", n);
                                                break;
                                            case "details":
                                                Pn("toggle", n);
                                                break;
                                            case "input":
                                                q(n, o), Pn("invalid", n);
                                                break;
                                            case "select":
                                                (n._wrapperState = { wasMultiple: !!o.multiple }), Pn("invalid", n);
                                                break;
                                            case "textarea":
                                                ie(n, o), Pn("invalid", n);
                                        }
                                        for (var s in (me(r, o), (i = null), o))
                                            if (o.hasOwnProperty(s)) {
                                                var u = o[s];
                                                "children" === s
                                                    ? "string" == typeof u
                                                        ? n.textContent !== u && (!0 !== o.suppressHydrationWarning && _n(n.textContent, u, e), (i = ["children", u]))
                                                        : "number" == typeof u && n.textContent !== "" + u && (!0 !== o.suppressHydrationWarning && _n(n.textContent, u, e), (i = ["children", "" + u]))
                                                    : l.hasOwnProperty(s) && null != u && "onScroll" === s && Pn("scroll", n);
                                            }
                                        switch (r) {
                                            case "input":
                                                H(n), $(n, o, !0);
                                                break;
                                            case "textarea":
                                                H(n), oe(n);
                                                break;
                                            case "select":
                                            case "option":
                                                break;
                                            default:
                                                "function" == typeof o.onClick && (n.onclick = $n);
                                        }
                                        (n = i), (t.updateQueue = n), null !== n && (t.flags |= 4);
                                    } else {
                                        (s = 9 === i.nodeType ? i : i.ownerDocument),
                                            "http://www.w3.org/1999/xhtml" === e && (e = le(r)),
                                            "http://www.w3.org/1999/xhtml" === e
                                                ? "script" === r
                                                    ? (((e = s.createElement("div")).innerHTML = "<script></script>"), (e = e.removeChild(e.firstChild)))
                                                    : "string" == typeof n.is
                                                    ? (e = s.createElement(r, { is: n.is }))
                                                    : ((e = s.createElement(r)), "select" === r && ((s = e), n.multiple ? (s.multiple = !0) : n.size && (s.size = n.size)))
                                                : (e = s.createElementNS(e, r)),
                                            (e[fi] = t),
                                            (e[di] = n),
                                            Ll(e, t, !1, !1),
                                            (t.stateNode = e);
                                        e: {
                                            switch (((s = ve(r, n)), r)) {
                                                case "dialog":
                                                    Pn("cancel", e), Pn("close", e), (i = n);
                                                    break;
                                                case "iframe":
                                                case "object":
                                                case "embed":
                                                    Pn("load", e), (i = n);
                                                    break;
                                                case "video":
                                                case "audio":
                                                    for (i = 0; i < Rn.length; i++) Pn(Rn[i], e);
                                                    i = n;
                                                    break;
                                                case "source":
                                                    Pn("error", e), (i = n);
                                                    break;
                                                case "img":
                                                case "image":
                                                case "link":
                                                    Pn("error", e), Pn("load", e), (i = n);
                                                    break;
                                                case "details":
                                                    Pn("toggle", e), (i = n);
                                                    break;
                                                case "input":
                                                    q(e, n), (i = Z(e, n)), Pn("invalid", e);
                                                    break;
                                                case "option":
                                                default:
                                                    i = n;
                                                    break;
                                                case "select":
                                                    (e._wrapperState = { wasMultiple: !!n.multiple }), (i = D({}, n, { value: void 0 })), Pn("invalid", e);
                                                    break;
                                                case "textarea":
                                                    ie(e, n), (i = ne(e, n)), Pn("invalid", e);
                                            }
                                            for (o in (me(r, i), (u = i)))
                                                if (u.hasOwnProperty(o)) {
                                                    var c = u[o];
                                                    "style" === o
                                                        ? pe(e, c)
                                                        : "dangerouslySetInnerHTML" === o
                                                        ? null != (c = c ? c.__html : void 0) && he(e, c)
                                                        : "children" === o
                                                        ? "string" == typeof c
                                                            ? ("textarea" !== r || "" !== c) && fe(e, c)
                                                            : "number" == typeof c && fe(e, "" + c)
                                                        : "suppressContentEditableWarning" !== o &&
                                                          "suppressHydrationWarning" !== o &&
                                                          "autoFocus" !== o &&
                                                          (l.hasOwnProperty(o) ? null != c && "onScroll" === o && Pn("scroll", e) : null != c && v(e, o, c, s));
                                                }
                                            switch (r) {
                                                case "input":
                                                    H(e), $(e, n, !1);
                                                    break;
                                                case "textarea":
                                                    H(e), oe(e);
                                                    break;
                                                case "option":
                                                    null != n.value && e.setAttribute("value", "" + V(n.value));
                                                    break;
                                                case "select":
                                                    (e.multiple = !!n.multiple), null != (o = n.value) ? re(e, !!n.multiple, o, !1) : null != n.defaultValue && re(e, !!n.multiple, n.defaultValue, !0);
                                                    break;
                                                default:
                                                    "function" == typeof i.onClick && (e.onclick = $n);
                                            }
                                            switch (r) {
                                                case "button":
                                                case "input":
                                                case "select":
                                                case "textarea":
                                                    n = !!n.autoFocus;
                                                    break e;
                                                case "img":
                                                    n = !0;
                                                    break e;
                                                default:
                                                    n = !1;
                                            }
                                        }
                                        n && (t.flags |= 4);
                                    }
                                    null !== t.ref && ((t.flags |= 512), (t.flags |= 2097152));
                                }
                                return zl(t), null;
                            case 6:
                                if (e && null != t.stateNode) Rl(e, t, e.memoizedProps, n);
                                else {
                                    if ("string" != typeof n && null === t.stateNode) throw Error(a(166));
                                    if (((r = ro(to.current)), ro($a.current), ha(t))) {
                                        if (((n = t.stateNode), (r = t.memoizedProps), (n[fi] = t), (o = n.nodeValue !== r) && null !== (e = ra)))
                                            switch (e.tag) {
                                                case 3:
                                                    _n(n.nodeValue, r, 0 != (1 & e.mode));
                                                    break;
                                                case 5:
                                                    !0 !== e.memoizedProps.suppressHydrationWarning && _n(n.nodeValue, r, 0 != (1 & e.mode));
                                            }
                                        o && (t.flags |= 4);
                                    } else ((n = (9 === r.nodeType ? r : r.ownerDocument).createTextNode(n))[fi] = t), (t.stateNode = n);
                                }
                                return zl(t), null;
                            case 13:
                                if ((bi(lo), (n = t.memoizedState), null === e || (null !== e.memoizedState && null !== e.memoizedState.dehydrated))) {
                                    if (ia && null !== na && 0 != (1 & t.mode) && 0 == (128 & t.flags)) fa(), da(), (t.flags |= 98560), (o = !1);
                                    else if (((o = ha(t)), null !== n && null !== n.dehydrated)) {
                                        if (null === e) {
                                            if (!o) throw Error(a(318));
                                            if (!(o = null !== (o = t.memoizedState) ? o.dehydrated : null)) throw Error(a(317));
                                            o[fi] = t;
                                        } else da(), 0 == (128 & t.flags) && (t.memoizedState = null), (t.flags |= 4);
                                        zl(t), (o = !1);
                                    } else null !== aa && (lu(aa), (aa = null)), (o = !0);
                                    if (!o) return 65536 & t.flags ? t : null;
                                }
                                return 0 != (128 & t.flags)
                                    ? ((t.lanes = r), t)
                                    : ((n = null !== n) !== (null !== e && null !== e.memoizedState) && n && ((t.child.flags |= 8192), 0 != (1 & t.mode) && (null === e || 0 != (1 & lo.current) ? 0 === Rs && (Rs = 3) : pu())),
                                      null !== t.updateQueue && (t.flags |= 4),
                                      zl(t),
                                      null);
                            case 4:
                                return io(), jl(e, t), null === e && Un(t.stateNode.containerInfo), zl(t), null;
                            case 10:
                                return wa(t.type._context), zl(t), null;
                            case 19:
                                if ((bi(lo), null === (o = t.memoizedState))) return zl(t), null;
                                if (((n = 0 != (128 & t.flags)), null === (s = o.rendering)))
                                    if (n) Hl(o, !1);
                                    else {
                                        if (0 !== Rs || (null !== e && 0 != (128 & e.flags)))
                                            for (e = t.child; null !== e; ) {
                                                if (null !== (s = so(e))) {
                                                    for (t.flags |= 128, Hl(o, !1), null !== (n = s.updateQueue) && ((t.updateQueue = n), (t.flags |= 4)), t.subtreeFlags = 0, n = r, r = t.child; null !== r; )
                                                        (e = n),
                                                            ((o = r).flags &= 14680066),
                                                            null === (s = o.alternate)
                                                                ? ((o.childLanes = 0),
                                                                  (o.lanes = e),
                                                                  (o.child = null),
                                                                  (o.subtreeFlags = 0),
                                                                  (o.memoizedProps = null),
                                                                  (o.memoizedState = null),
                                                                  (o.updateQueue = null),
                                                                  (o.dependencies = null),
                                                                  (o.stateNode = null))
                                                                : ((o.childLanes = s.childLanes),
                                                                  (o.lanes = s.lanes),
                                                                  (o.child = s.child),
                                                                  (o.subtreeFlags = 0),
                                                                  (o.deletions = null),
                                                                  (o.memoizedProps = s.memoizedProps),
                                                                  (o.memoizedState = s.memoizedState),
                                                                  (o.updateQueue = s.updateQueue),
                                                                  (o.type = s.type),
                                                                  (e = s.dependencies),
                                                                  (o.dependencies = null === e ? null : { lanes: e.lanes, firstContext: e.firstContext })),
                                                            (r = r.sibling);
                                                    return Qi(lo, (1 & lo.current) | 2), t.child;
                                                }
                                                e = e.sibling;
                                            }
                                        null !== o.tail && Xe() > Ns && ((t.flags |= 128), (n = !0), Hl(o, !1), (t.lanes = 4194304));
                                    }
                                else {
                                    if (!n)
                                        if (null !== (e = so(s))) {
                                            if (((t.flags |= 128), (n = !0), null !== (r = e.updateQueue) && ((t.updateQueue = r), (t.flags |= 4)), Hl(o, !0), null === o.tail && "hidden" === o.tailMode && !s.alternate && !ia))
                                                return zl(t), null;
                                        } else 2 * Xe() - o.renderingStartTime > Ns && 1073741824 !== r && ((t.flags |= 128), (n = !0), Hl(o, !1), (t.lanes = 4194304));
                                    o.isBackwards ? ((s.sibling = t.child), (t.child = s)) : (null !== (r = o.last) ? (r.sibling = s) : (t.child = s), (o.last = s));
                                }
                                return null !== o.tail ? ((t = o.tail), (o.rendering = t), (o.tail = t.sibling), (o.renderingStartTime = Xe()), (t.sibling = null), (r = lo.current), Qi(lo, n ? (1 & r) | 2 : 1 & r), t) : (zl(t), null);
                            case 22:
                            case 23:
                                return (
                                    fu(),
                                    (n = null !== t.memoizedState),
                                    null !== e && (null !== e.memoizedState) !== n && (t.flags |= 8192),
                                    n && 0 != (1 & t.mode) ? 0 != (1073741824 & js) && (zl(t), 6 & t.subtreeFlags && (t.flags |= 8192)) : zl(t),
                                    null
                                );
                            case 24:
                            case 25:
                                return null;
                        }
                        throw Error(a(156, t.tag));
                    }
                    function Zl(e, t) {
                        switch ((ta(t), t.tag)) {
                            case 1:
                                return Li(t.type) && ji(), 65536 & (e = t.flags) ? ((t.flags = (-65537 & e) | 128), t) : null;
                            case 3:
                                return io(), bi(Oi), bi(xi), co(), 0 != (65536 & (e = t.flags)) && 0 == (128 & e) ? ((t.flags = (-65537 & e) | 128), t) : null;
                            case 5:
                                return oo(t), null;
                            case 13:
                                if ((bi(lo), null !== (e = t.memoizedState) && null !== e.dehydrated)) {
                                    if (null === t.alternate) throw Error(a(340));
                                    da();
                                }
                                return 65536 & (e = t.flags) ? ((t.flags = (-65537 & e) | 128), t) : null;
                            case 19:
                                return bi(lo), null;
                            case 4:
                                return io(), null;
                            case 10:
                                return wa(t.type._context), null;
                            case 22:
                            case 23:
                                return fu(), null;
                            default:
                                return null;
                        }
                    }
                    (Ll = function (e, t) {
                        for (var r = t.child; null !== r; ) {
                            if (5 === r.tag || 6 === r.tag) e.appendChild(r.stateNode);
                            else if (4 !== r.tag && null !== r.child) {
                                (r.child.return = r), (r = r.child);
                                continue;
                            }
                            if (r === t) break;
                            for (; null === r.sibling; ) {
                                if (null === r.return || r.return === t) return;
                                r = r.return;
                            }
                            (r.sibling.return = r.return), (r = r.sibling);
                        }
                    }),
                        (jl = function () {}),
                        (Wl = function (e, t, r, n) {
                            var i = e.memoizedProps;
                            if (i !== n) {
                                (e = t.stateNode), ro($a.current);
                                var a,
                                    o = null;
                                switch (r) {
                                    case "input":
                                        (i = Z(e, i)), (n = Z(e, n)), (o = []);
                                        break;
                                    case "select":
                                        (i = D({}, i, { value: void 0 })), (n = D({}, n, { value: void 0 })), (o = []);
                                        break;
                                    case "textarea":
                                        (i = ne(e, i)), (n = ne(e, n)), (o = []);
                                        break;
                                    default:
                                        "function" != typeof i.onClick && "function" == typeof n.onClick && (e.onclick = $n);
                                }
                                for (c in (me(r, n), (r = null), i))
                                    if (!n.hasOwnProperty(c) && i.hasOwnProperty(c) && null != i[c])
                                        if ("style" === c) {
                                            var s = i[c];
                                            for (a in s) s.hasOwnProperty(a) && (r || (r = {}), (r[a] = ""));
                                        } else
                                            "dangerouslySetInnerHTML" !== c &&
                                                "children" !== c &&
                                                "suppressContentEditableWarning" !== c &&
                                                "suppressHydrationWarning" !== c &&
                                                "autoFocus" !== c &&
                                                (l.hasOwnProperty(c) ? o || (o = []) : (o = o || []).push(c, null));
                                for (c in n) {
                                    var u = n[c];
                                    if (((s = null != i ? i[c] : void 0), n.hasOwnProperty(c) && u !== s && (null != u || null != s)))
                                        if ("style" === c)
                                            if (s) {
                                                for (a in s) !s.hasOwnProperty(a) || (u && u.hasOwnProperty(a)) || (r || (r = {}), (r[a] = ""));
                                                for (a in u) u.hasOwnProperty(a) && s[a] !== u[a] && (r || (r = {}), (r[a] = u[a]));
                                            } else r || (o || (o = []), o.push(c, r)), (r = u);
                                        else
                                            "dangerouslySetInnerHTML" === c
                                                ? ((u = u ? u.__html : void 0), (s = s ? s.__html : void 0), null != u && s !== u && (o = o || []).push(c, u))
                                                : "children" === c
                                                ? ("string" != typeof u && "number" != typeof u) || (o = o || []).push(c, "" + u)
                                                : "suppressContentEditableWarning" !== c &&
                                                  "suppressHydrationWarning" !== c &&
                                                  (l.hasOwnProperty(c) ? (null != u && "onScroll" === c && Pn("scroll", e), o || s === u || (o = [])) : (o = o || []).push(c, u));
                                }
                                r && (o = o || []).push("style", r);
                                var c = o;
                                (t.updateQueue = c) && (t.flags |= 4);
                            }
                        }),
                        (Rl = function (e, t, r, n) {
                            r !== n && (t.flags |= 4);
                        });
                    var ql = !1,
                        Xl = !1,
                        _l = "function" == typeof WeakSet ? WeakSet : Set,
                        $l = null;
                    function es(e, t) {
                        var r = e.ref;
                        if (null !== r)
                            if ("function" == typeof r)
                                try {
                                    r(null);
                                } catch (n) {
                                    bu(e, t, n);
                                }
                            else r.current = null;
                    }
                    function ts(e, t, r) {
                        try {
                            r();
                        } catch (n) {
                            bu(e, t, n);
                        }
                    }
                    var rs = !1;
                    function ns(e, t, r) {
                        var n = t.updateQueue;
                        if (null !== (n = null !== n ? n.lastEffect : null)) {
                            var i = (n = n.next);
                            do {
                                if ((i.tag & e) === e) {
                                    var a = i.destroy;
                                    (i.destroy = void 0), void 0 !== a && ts(t, r, a);
                                }
                                i = i.next;
                            } while (i !== n);
                        }
                    }
                    function is(e, t) {
                        if (null !== (t = null !== (t = t.updateQueue) ? t.lastEffect : null)) {
                            var r = (t = t.next);
                            do {
                                if ((r.tag & e) === e) {
                                    var n = r.create;
                                    r.destroy = n();
                                }
                                r = r.next;
                            } while (r !== t);
                        }
                    }
                    function as(e) {
                        var t = e.ref;
                        if (null !== t) {
                            var r = e.stateNode;
                            e.tag, (e = r), "function" == typeof t ? t(e) : (t.current = e);
                        }
                    }
                    function os(e) {
                        var t = e.alternate;
                        null !== t && ((e.alternate = null), os(t)),
                            (e.child = null),
                            (e.deletions = null),
                            (e.sibling = null),
                            5 === e.tag && null !== (t = e.stateNode) && (delete t[fi], delete t[di], delete t[Ci], delete t[pi], delete t[Ii]),
                            (e.stateNode = null),
                            (e.return = null),
                            (e.dependencies = null),
                            (e.memoizedProps = null),
                            (e.memoizedState = null),
                            (e.pendingProps = null),
                            (e.stateNode = null),
                            (e.updateQueue = null);
                    }
                    function ls(e) {
                        return 5 === e.tag || 3 === e.tag || 4 === e.tag;
                    }
                    function ss(e) {
                        e: for (;;) {
                            for (; null === e.sibling; ) {
                                if (null === e.return || ls(e.return)) return null;
                                e = e.return;
                            }
                            for (e.sibling.return = e.return, e = e.sibling; 5 !== e.tag && 6 !== e.tag && 18 !== e.tag; ) {
                                if (2 & e.flags) continue e;
                                if (null === e.child || 4 === e.tag) continue e;
                                (e.child.return = e), (e = e.child);
                            }
                            if (!(2 & e.flags)) return e.stateNode;
                        }
                    }
                    function us(e, t, r) {
                        var n = e.tag;
                        if (5 === n || 6 === n)
                            (e = e.stateNode),
                                t
                                    ? 8 === r.nodeType
                                        ? r.parentNode.insertBefore(e, t)
                                        : r.insertBefore(e, t)
                                    : (8 === r.nodeType ? (t = r.parentNode).insertBefore(e, r) : (t = r).appendChild(e), null != (r = r._reactRootContainer) || null !== t.onclick || (t.onclick = $n));
                        else if (4 !== n && null !== (e = e.child)) for (us(e, t, r), e = e.sibling; null !== e; ) us(e, t, r), (e = e.sibling);
                    }
                    function cs(e, t, r) {
                        var n = e.tag;
                        if (5 === n || 6 === n) (e = e.stateNode), t ? r.insertBefore(e, t) : r.appendChild(e);
                        else if (4 !== n && null !== (e = e.child)) for (cs(e, t, r), e = e.sibling; null !== e; ) cs(e, t, r), (e = e.sibling);
                    }
                    var hs = null,
                        fs = !1;
                    function ds(e, t, r) {
                        for (r = r.child; null !== r; ) gs(e, t, r), (r = r.sibling);
                    }
                    function gs(e, t, r) {
                        if (at && "function" == typeof at.onCommitFiberUnmount)
                            try {
                                at.onCommitFiberUnmount(it, r);
                            } catch (l) {}
                        switch (r.tag) {
                            case 5:
                                Xl || es(r, t);
                            case 6:
                                var n = hs,
                                    i = fs;
                                (hs = null), ds(e, t, r), (fs = i), null !== (hs = n) && (fs ? ((e = hs), (r = r.stateNode), 8 === e.nodeType ? e.parentNode.removeChild(r) : e.removeChild(r)) : hs.removeChild(r.stateNode));
                                break;
                            case 18:
                                null !== hs && (fs ? ((e = hs), (r = r.stateNode), 8 === e.nodeType ? si(e.parentNode, r) : 1 === e.nodeType && si(e, r), Ut(e)) : si(hs, r.stateNode));
                                break;
                            case 4:
                                (n = hs), (i = fs), (hs = r.stateNode.containerInfo), (fs = !0), ds(e, t, r), (hs = n), (fs = i);
                                break;
                            case 0:
                            case 11:
                            case 14:
                            case 15:
                                if (!Xl && null !== (n = r.updateQueue) && null !== (n = n.lastEffect)) {
                                    i = n = n.next;
                                    do {
                                        var a = i,
                                            o = a.destroy;
                                        (a = a.tag), void 0 !== o && (0 != (2 & a) || 0 != (4 & a)) && ts(r, t, o), (i = i.next);
                                    } while (i !== n);
                                }
                                ds(e, t, r);
                                break;
                            case 1:
                                if (!Xl && (es(r, t), "function" == typeof (n = r.stateNode).componentWillUnmount))
                                    try {
                                        (n.props = r.memoizedProps), (n.state = r.memoizedState), n.componentWillUnmount();
                                    } catch (l) {
                                        bu(r, t, l);
                                    }
                                ds(e, t, r);
                                break;
                            case 21:
                                ds(e, t, r);
                                break;
                            case 22:
                                1 & r.mode ? ((Xl = (n = Xl) || null !== r.memoizedState), ds(e, t, r), (Xl = n)) : ds(e, t, r);
                                break;
                            default:
                                ds(e, t, r);
                        }
                    }
                    function Cs(e) {
                        var t = e.updateQueue;
                        if (null !== t) {
                            e.updateQueue = null;
                            var r = e.stateNode;
                            null === r && (r = e.stateNode = new _l()),
                                t.forEach(function (t) {
                                    var n = Ou.bind(null, e, t);
                                    r.has(t) || (r.add(t), t.then(n, n));
                                });
                        }
                    }
                    function ps(e, t) {
                        var r = t.deletions;
                        if (null !== r)
                            for (var n = 0; n < r.length; n++) {
                                var i = r[n];
                                try {
                                    var o = e,
                                        l = t,
                                        s = l;
                                    e: for (; null !== s; ) {
                                        switch (s.tag) {
                                            case 5:
                                                (hs = s.stateNode), (fs = !1);
                                                break e;
                                            case 3:
                                            case 4:
                                                (hs = s.stateNode.containerInfo), (fs = !0);
                                                break e;
                                        }
                                        s = s.return;
                                    }
                                    if (null === hs) throw Error(a(160));
                                    gs(o, l, i), (hs = null), (fs = !1);
                                    var u = i.alternate;
                                    null !== u && (u.return = null), (i.return = null);
                                } catch (c) {
                                    bu(i, t, c);
                                }
                            }
                        if (12854 & t.subtreeFlags) for (t = t.child; null !== t; ) Is(t, e), (t = t.sibling);
                    }
                    function Is(e, t) {
                        var r = e.alternate,
                            n = e.flags;
                        switch (e.tag) {
                            case 0:
                            case 11:
                            case 14:
                            case 15:
                                if ((ps(t, e), ms(e), 4 & n)) {
                                    try {
                                        ns(3, e, e.return), is(3, e);
                                    } catch (p) {
                                        bu(e, e.return, p);
                                    }
                                    try {
                                        ns(5, e, e.return);
                                    } catch (p) {
                                        bu(e, e.return, p);
                                    }
                                }
                                break;
                            case 1:
                                ps(t, e), ms(e), 512 & n && null !== r && es(r, r.return);
                                break;
                            case 5:
                                if ((ps(t, e), ms(e), 512 & n && null !== r && es(r, r.return), 32 & e.flags)) {
                                    var i = e.stateNode;
                                    try {
                                        fe(i, "");
                                    } catch (p) {
                                        bu(e, e.return, p);
                                    }
                                }
                                if (4 & n && null != (i = e.stateNode)) {
                                    var o = e.memoizedProps,
                                        l = null !== r ? r.memoizedProps : o,
                                        s = e.type,
                                        u = e.updateQueue;
                                    if (((e.updateQueue = null), null !== u))
                                        try {
                                            "input" === s && "radio" === o.type && null != o.name && X(i, o), ve(s, l);
                                            var c = ve(s, o);
                                            for (l = 0; l < u.length; l += 2) {
                                                var h = u[l],
                                                    f = u[l + 1];
                                                "style" === h ? pe(i, f) : "dangerouslySetInnerHTML" === h ? he(i, f) : "children" === h ? fe(i, f) : v(i, h, f, c);
                                            }
                                            switch (s) {
                                                case "input":
                                                    _(i, o);
                                                    break;
                                                case "textarea":
                                                    ae(i, o);
                                                    break;
                                                case "select":
                                                    var d = i._wrapperState.wasMultiple;
                                                    i._wrapperState.wasMultiple = !!o.multiple;
                                                    var g = o.value;
                                                    null != g ? re(i, !!o.multiple, g, !1) : d !== !!o.multiple && (null != o.defaultValue ? re(i, !!o.multiple, o.defaultValue, !0) : re(i, !!o.multiple, o.multiple ? [] : "", !1));
                                            }
                                            i[di] = o;
                                        } catch (p) {
                                            bu(e, e.return, p);
                                        }
                                }
                                break;
                            case 6:
                                if ((ps(t, e), ms(e), 4 & n)) {
                                    if (null === e.stateNode) throw Error(a(162));
                                    (i = e.stateNode), (o = e.memoizedProps);
                                    try {
                                        i.nodeValue = o;
                                    } catch (p) {
                                        bu(e, e.return, p);
                                    }
                                }
                                break;
                            case 3:
                                if ((ps(t, e), ms(e), 4 & n && null !== r && r.memoizedState.isDehydrated))
                                    try {
                                        Ut(t.containerInfo);
                                    } catch (p) {
                                        bu(e, e.return, p);
                                    }
                                break;
                            case 4:
                            default:
                                ps(t, e), ms(e);
                                break;
                            case 13:
                                ps(t, e), ms(e), 8192 & (i = e.child).flags && ((o = null !== i.memoizedState), (i.stateNode.isHidden = o), !o || (null !== i.alternate && null !== i.alternate.memoizedState) || (Us = Xe())), 4 & n && Cs(e);
                                break;
                            case 22:
                                if (((h = null !== r && null !== r.memoizedState), 1 & e.mode ? ((Xl = (c = Xl) || h), ps(t, e), (Xl = c)) : ps(t, e), ms(e), 8192 & n)) {
                                    if (((c = null !== e.memoizedState), (e.stateNode.isHidden = c) && !h && 0 != (1 & e.mode)))
                                        for ($l = e, h = e.child; null !== h; ) {
                                            for (f = $l = h; null !== $l; ) {
                                                switch (((g = (d = $l).child), d.tag)) {
                                                    case 0:
                                                    case 11:
                                                    case 14:
                                                    case 15:
                                                        ns(4, d, d.return);
                                                        break;
                                                    case 1:
                                                        es(d, d.return);
                                                        var C = d.stateNode;
                                                        if ("function" == typeof C.componentWillUnmount) {
                                                            (n = d), (r = d.return);
                                                            try {
                                                                (t = n), (C.props = t.memoizedProps), (C.state = t.memoizedState), C.componentWillUnmount();
                                                            } catch (p) {
                                                                bu(n, r, p);
                                                            }
                                                        }
                                                        break;
                                                    case 5:
                                                        es(d, d.return);
                                                        break;
                                                    case 22:
                                                        if (null !== d.memoizedState) {
                                                            ws(f);
                                                            continue;
                                                        }
                                                }
                                                null !== g ? ((g.return = d), ($l = g)) : ws(f);
                                            }
                                            h = h.sibling;
                                        }
                                    e: for (h = null, f = e; ; ) {
                                        if (5 === f.tag) {
                                            if (null === h) {
                                                h = f;
                                                try {
                                                    (i = f.stateNode),
                                                        c
                                                            ? "function" == typeof (o = i.style).setProperty
                                                                ? o.setProperty("display", "none", "important")
                                                                : (o.display = "none")
                                                            : ((s = f.stateNode), (l = null != (u = f.memoizedProps.style) && u.hasOwnProperty("display") ? u.display : null), (s.style.display = Ce("display", l)));
                                                } catch (p) {
                                                    bu(e, e.return, p);
                                                }
                                            }
                                        } else if (6 === f.tag) {
                                            if (null === h)
                                                try {
                                                    f.stateNode.nodeValue = c ? "" : f.memoizedProps;
                                                } catch (p) {
                                                    bu(e, e.return, p);
                                                }
                                        } else if (((22 !== f.tag && 23 !== f.tag) || null === f.memoizedState || f === e) && null !== f.child) {
                                            (f.child.return = f), (f = f.child);
                                            continue;
                                        }
                                        if (f === e) break e;
                                        for (; null === f.sibling; ) {
                                            if (null === f.return || f.return === e) break e;
                                            h === f && (h = null), (f = f.return);
                                        }
                                        h === f && (h = null), (f.sibling.return = f.return), (f = f.sibling);
                                    }
                                }
                                break;
                            case 19:
                                ps(t, e), ms(e), 4 & n && Cs(e);
                            case 21:
                        }
                    }
                    function ms(e) {
                        var t = e.flags;
                        if (2 & t) {
                            try {
                                e: {
                                    for (var r = e.return; null !== r; ) {
                                        if (ls(r)) {
                                            var n = r;
                                            break e;
                                        }
                                        r = r.return;
                                    }
                                    throw Error(a(160));
                                }
                                switch (n.tag) {
                                    case 5:
                                        var i = n.stateNode;
                                        32 & n.flags && (fe(i, ""), (n.flags &= -33)), cs(e, ss(e), i);
                                        break;
                                    case 3:
                                    case 4:
                                        var o = n.stateNode.containerInfo;
                                        us(e, ss(e), o);
                                        break;
                                    default:
                                        throw Error(a(161));
                                }
                            } catch (l) {
                                bu(e, e.return, l);
                            }
                            e.flags &= -3;
                        }
                        4096 & t && (e.flags &= -4097);
                    }
                    function vs(e, t, r) {
                        ($l = e), Es(e, t, r);
                    }
                    function Es(e, t, r) {
                        for (var n = 0 != (1 & e.mode); null !== $l; ) {
                            var i = $l,
                                a = i.child;
                            if (22 === i.tag && n) {
                                var o = null !== i.memoizedState || ql;
                                if (!o) {
                                    var l = i.alternate,
                                        s = (null !== l && null !== l.memoizedState) || Xl;
                                    l = ql;
                                    var u = Xl;
                                    if (((ql = o), (Xl = s) && !u)) for ($l = i; null !== $l; ) (s = (o = $l).child), 22 === o.tag && null !== o.memoizedState ? As(i) : null !== s ? ((s.return = o), ($l = s)) : As(i);
                                    for (; null !== a; ) ($l = a), Es(a, t, r), (a = a.sibling);
                                    ($l = i), (ql = l), (Xl = u);
                                }
                                ys(e);
                            } else 0 != (8772 & i.subtreeFlags) && null !== a ? ((a.return = i), ($l = a)) : ys(e);
                        }
                    }
                    function ys(e) {
                        for (; null !== $l; ) {
                            var t = $l;
                            if (0 != (8772 & t.flags)) {
                                var r = t.alternate;
                                try {
                                    if (0 != (8772 & t.flags))
                                        switch (t.tag) {
                                            case 0:
                                            case 11:
                                            case 15:
                                                Xl || is(5, t);
                                                break;
                                            case 1:
                                                var n = t.stateNode;
                                                if (4 & t.flags && !Xl)
                                                    if (null === r) n.componentDidMount();
                                                    else {
                                                        var i = t.elementType === t.type ? r.memoizedProps : pa(t.type, r.memoizedProps);
                                                        n.componentDidUpdate(i, r.memoizedState, n.__reactInternalSnapshotBeforeUpdate);
                                                    }
                                                var o = t.updateQueue;
                                                null !== o && Ka(t, o, n);
                                                break;
                                            case 3:
                                                var l = t.updateQueue;
                                                if (null !== l) {
                                                    if (((r = null), null !== t.child))
                                                        switch (t.child.tag) {
                                                            case 5:
                                                            case 1:
                                                                r = t.child.stateNode;
                                                        }
                                                    Ka(t, l, r);
                                                }
                                                break;
                                            case 5:
                                                var s = t.stateNode;
                                                if (null === r && 4 & t.flags) {
                                                    r = s;
                                                    var u = t.memoizedProps;
                                                    switch (t.type) {
                                                        case "button":
                                                        case "input":
                                                        case "select":
                                                        case "textarea":
                                                            u.autoFocus && r.focus();
                                                            break;
                                                        case "img":
                                                            u.src && (r.src = u.src);
                                                    }
                                                }
                                                break;
                                            case 6:
                                            case 4:
                                            case 12:
                                            case 19:
                                            case 17:
                                            case 21:
                                            case 22:
                                            case 23:
                                            case 25:
                                                break;
                                            case 13:
                                                if (null === t.memoizedState) {
                                                    var c = t.alternate;
                                                    if (null !== c) {
                                                        var h = c.memoizedState;
                                                        if (null !== h) {
                                                            var f = h.dehydrated;
                                                            null !== f && Ut(f);
                                                        }
                                                    }
                                                }
                                                break;
                                            default:
                                                throw Error(a(163));
                                        }
                                    Xl || (512 & t.flags && as(t));
                                } catch (d) {
                                    bu(t, t.return, d);
                                }
                            }
                            if (t === e) {
                                $l = null;
                                break;
                            }
                            if (null !== (r = t.sibling)) {
                                (r.return = t.return), ($l = r);
                                break;
                            }
                            $l = t.return;
                        }
                    }
                    function ws(e) {
                        for (; null !== $l; ) {
                            var t = $l;
                            if (t === e) {
                                $l = null;
                                break;
                            }
                            var r = t.sibling;
                            if (null !== r) {
                                (r.return = t.return), ($l = r);
                                break;
                            }
                            $l = t.return;
                        }
                    }
                    function As(e) {
                        for (; null !== $l; ) {
                            var t = $l;
                            try {
                                switch (t.tag) {
                                    case 0:
                                    case 11:
                                    case 15:
                                        var r = t.return;
                                        try {
                                            is(4, t);
                                        } catch (s) {
                                            bu(t, r, s);
                                        }
                                        break;
                                    case 1:
                                        var n = t.stateNode;
                                        if ("function" == typeof n.componentDidMount) {
                                            var i = t.return;
                                            try {
                                                n.componentDidMount();
                                            } catch (s) {
                                                bu(t, i, s);
                                            }
                                        }
                                        var a = t.return;
                                        try {
                                            as(t);
                                        } catch (s) {
                                            bu(t, a, s);
                                        }
                                        break;
                                    case 5:
                                        var o = t.return;
                                        try {
                                            as(t);
                                        } catch (s) {
                                            bu(t, o, s);
                                        }
                                }
                            } catch (s) {
                                bu(t, t.return, s);
                            }
                            if (t === e) {
                                $l = null;
                                break;
                            }
                            var l = t.sibling;
                            if (null !== l) {
                                (l.return = t.return), ($l = l);
                                break;
                            }
                            $l = t.return;
                        }
                    }
                    var Ss,
                        bs = Math.ceil,
                        Qs = E.ReactCurrentDispatcher,
                        ks = E.ReactCurrentOwner,
                        xs = E.ReactCurrentBatchConfig,
                        Os = 0,
                        Bs = null,
                        Fs = null,
                        Ls = 0,
                        js = 0,
                        Ws = Si(0),
                        Rs = 0,
                        Ys = null,
                        Ds = 0,
                        Ks = 0,
                        Ps = 0,
                        Gs = null,
                        Ms = null,
                        Us = 0,
                        Ns = 1 / 0,
                        Vs = null,
                        Ts = !1,
                        Hs = null,
                        zs = null,
                        Js = !1,
                        Zs = null,
                        qs = 0,
                        Xs = 0,
                        _s = null,
                        $s = -1,
                        eu = 0;
                    function tu() {
                        return 0 != (6 & Os) ? Xe() : -1 !== $s ? $s : ($s = Xe());
                    }
                    function ru(e) {
                        return 0 == (1 & e.mode) ? 1 : 0 != (2 & Os) && 0 !== Ls ? Ls & -Ls : null !== Ca.transition ? (0 === eu && (eu = Ct()), eu) : 0 !== (e = vt) ? e : (e = void 0 === (e = window.event) ? 16 : qt(e.type));
                    }
                    function nu(e, t, r, n) {
                        if (50 < Xs) throw ((Xs = 0), (_s = null), Error(a(185)));
                        It(e, r, n), (0 != (2 & Os) && e === Bs) || (e === Bs && (0 == (2 & Os) && (Ks |= r), 4 === Rs && su(e, Ls)), iu(e, n), 1 === r && 0 === Os && 0 == (1 & t.mode) && ((Ns = Xe() + 500), Pi && Ui()));
                    }
                    function iu(e, t) {
                        var r = e.callbackNode;
                        !(function (e, t) {
                            for (var r = e.suspendedLanes, n = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes; 0 < a; ) {
                                var o = 31 - ot(a),
                                    l = 1 << o,
                                    s = i[o];
                                -1 === s ? (0 != (l & r) && 0 == (l & n)) || (i[o] = dt(l, t)) : s <= t && (e.expiredLanes |= l), (a &= ~l);
                            }
                        })(e, t);
                        var n = ft(e, e === Bs ? Ls : 0);
                        if (0 === n) null !== r && Je(r), (e.callbackNode = null), (e.callbackPriority = 0);
                        else if (((t = n & -n), e.callbackPriority !== t)) {
                            if ((null != r && Je(r), 1 === t))
                                0 === e.tag
                                    ? (function (e) {
                                          (Pi = !0), Mi(e);
                                      })(uu.bind(null, e))
                                    : Mi(uu.bind(null, e)),
                                    oi(function () {
                                        0 == (6 & Os) && Ui();
                                    }),
                                    (r = null);
                            else {
                                switch (Et(n)) {
                                    case 1:
                                        r = $e;
                                        break;
                                    case 4:
                                        r = et;
                                        break;
                                    case 16:
                                    default:
                                        r = tt;
                                        break;
                                    case 536870912:
                                        r = nt;
                                }
                                r = Bu(r, au.bind(null, e));
                            }
                            (e.callbackPriority = t), (e.callbackNode = r);
                        }
                    }
                    function au(e, t) {
                        if ((($s = -1), (eu = 0), 0 != (6 & Os))) throw Error(a(327));
                        var r = e.callbackNode;
                        if (Au() && e.callbackNode !== r) return null;
                        var n = ft(e, e === Bs ? Ls : 0);
                        if (0 === n) return null;
                        if (0 != (30 & n) || 0 != (n & e.expiredLanes) || t) t = Iu(e, n);
                        else {
                            t = n;
                            var i = Os;
                            Os |= 2;
                            var o = Cu();
                            for ((Bs === e && Ls === t) || ((Vs = null), (Ns = Xe() + 500), du(e, t)); ; )
                                try {
                                    vu();
                                    break;
                                } catch (s) {
                                    gu(e, s);
                                }
                            ya(), (Qs.current = o), (Os = i), null !== Fs ? (t = 0) : ((Bs = null), (Ls = 0), (t = Rs));
                        }
                        if (0 !== t) {
                            if ((2 === t && 0 !== (i = gt(e)) && ((n = i), (t = ou(e, i))), 1 === t)) throw ((r = Ys), du(e, 0), su(e, n), iu(e, Xe()), r);
                            if (6 === t) su(e, n);
                            else {
                                if (
                                    ((i = e.current.alternate),
                                    0 == (30 & n) &&
                                        !(function (e) {
                                            for (var t = e; ; ) {
                                                if (16384 & t.flags) {
                                                    var r = t.updateQueue;
                                                    if (null !== r && null !== (r = r.stores))
                                                        for (var n = 0; n < r.length; n++) {
                                                            var i = r[n],
                                                                a = i.getSnapshot;
                                                            i = i.value;
                                                            try {
                                                                if (!ln(a(), i)) return !1;
                                                            } catch (l) {
                                                                return !1;
                                                            }
                                                        }
                                                }
                                                if (((r = t.child), 16384 & t.subtreeFlags && null !== r)) (r.return = t), (t = r);
                                                else {
                                                    if (t === e) break;
                                                    for (; null === t.sibling; ) {
                                                        if (null === t.return || t.return === e) return !0;
                                                        t = t.return;
                                                    }
                                                    (t.sibling.return = t.return), (t = t.sibling);
                                                }
                                            }
                                            return !0;
                                        })(i) &&
                                        (2 === (t = Iu(e, n)) && 0 !== (o = gt(e)) && ((n = o), (t = ou(e, o))), 1 === t))
                                )
                                    throw ((r = Ys), du(e, 0), su(e, n), iu(e, Xe()), r);
                                switch (((e.finishedWork = i), (e.finishedLanes = n), t)) {
                                    case 0:
                                    case 1:
                                        throw Error(a(345));
                                    case 2:
                                    case 5:
                                        wu(e, Ms, Vs);
                                        break;
                                    case 3:
                                        if ((su(e, n), (130023424 & n) === n && 10 < (t = Us + 500 - Xe()))) {
                                            if (0 !== ft(e, 0)) break;
                                            if (((i = e.suspendedLanes) & n) !== n) {
                                                tu(), (e.pingedLanes |= e.suspendedLanes & i);
                                                break;
                                            }
                                            e.timeoutHandle = ni(wu.bind(null, e, Ms, Vs), t);
                                            break;
                                        }
                                        wu(e, Ms, Vs);
                                        break;
                                    case 4:
                                        if ((su(e, n), (4194240 & n) === n)) break;
                                        for (t = e.eventTimes, i = -1; 0 < n; ) {
                                            var l = 31 - ot(n);
                                            (o = 1 << l), (l = t[l]) > i && (i = l), (n &= ~o);
                                        }
                                        if (((n = i), 10 < (n = (120 > (n = Xe() - n) ? 120 : 480 > n ? 480 : 1080 > n ? 1080 : 1920 > n ? 1920 : 3e3 > n ? 3e3 : 4320 > n ? 4320 : 1960 * bs(n / 1960)) - n))) {
                                            e.timeoutHandle = ni(wu.bind(null, e, Ms, Vs), n);
                                            break;
                                        }
                                        wu(e, Ms, Vs);
                                        break;
                                    default:
                                        throw Error(a(329));
                                }
                            }
                        }
                        return iu(e, Xe()), e.callbackNode === r ? au.bind(null, e) : null;
                    }
                    function ou(e, t) {
                        var r = Gs;
                        return e.current.memoizedState.isDehydrated && (du(e, t).flags |= 256), 2 !== (e = Iu(e, t)) && ((t = Ms), (Ms = r), null !== t && lu(t)), e;
                    }
                    function lu(e) {
                        null === Ms ? (Ms = e) : Ms.push.apply(Ms, e);
                    }
                    function su(e, t) {
                        for (t &= ~Ps, t &= ~Ks, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t; ) {
                            var r = 31 - ot(t),
                                n = 1 << r;
                            (e[r] = -1), (t &= ~n);
                        }
                    }
                    function uu(e) {
                        if (0 != (6 & Os)) throw Error(a(327));
                        Au();
                        var t = ft(e, 0);
                        if (0 == (1 & t)) return iu(e, Xe()), null;
                        var r = Iu(e, t);
                        if (0 !== e.tag && 2 === r) {
                            var n = gt(e);
                            0 !== n && ((t = n), (r = ou(e, n)));
                        }
                        if (1 === r) throw ((r = Ys), du(e, 0), su(e, t), iu(e, Xe()), r);
                        if (6 === r) throw Error(a(345));
                        return (e.finishedWork = e.current.alternate), (e.finishedLanes = t), wu(e, Ms, Vs), iu(e, Xe()), null;
                    }
                    function cu(e, t) {
                        var r = Os;
                        Os |= 1;
                        try {
                            return e(t);
                        } finally {
                            0 === (Os = r) && ((Ns = Xe() + 500), Pi && Ui());
                        }
                    }
                    function hu(e) {
                        null !== Zs && 0 === Zs.tag && 0 == (6 & Os) && Au();
                        var t = Os;
                        Os |= 1;
                        var r = xs.transition,
                            n = vt;
                        try {
                            if (((xs.transition = null), (vt = 1), e)) return e();
                        } finally {
                            (vt = n), (xs.transition = r), 0 == (6 & (Os = t)) && Ui();
                        }
                    }
                    function fu() {
                        (js = Ws.current), bi(Ws);
                    }
                    function du(e, t) {
                        (e.finishedWork = null), (e.finishedLanes = 0);
                        var r = e.timeoutHandle;
                        if ((-1 !== r && ((e.timeoutHandle = -1), ii(r)), null !== Fs))
                            for (r = Fs.return; null !== r; ) {
                                var n = r;
                                switch ((ta(n), n.tag)) {
                                    case 1:
                                        null != (n = n.type.childContextTypes) && ji();
                                        break;
                                    case 3:
                                        io(), bi(Oi), bi(xi), co();
                                        break;
                                    case 5:
                                        oo(n);
                                        break;
                                    case 4:
                                        io();
                                        break;
                                    case 13:
                                    case 19:
                                        bi(lo);
                                        break;
                                    case 10:
                                        wa(n.type._context);
                                        break;
                                    case 22:
                                    case 23:
                                        fu();
                                }
                                r = r.return;
                            }
                        if (((Bs = e), (Fs = e = Wu(e.current, null)), (Ls = js = t), (Rs = 0), (Ys = null), (Ps = Ks = Ds = 0), (Ms = Gs = null), null !== Qa)) {
                            for (t = 0; t < Qa.length; t++)
                                if (null !== (n = (r = Qa[t]).interleaved)) {
                                    r.interleaved = null;
                                    var i = n.next,
                                        a = r.pending;
                                    if (null !== a) {
                                        var o = a.next;
                                        (a.next = i), (n.next = o);
                                    }
                                    r.pending = n;
                                }
                            Qa = null;
                        }
                        return e;
                    }
                    function gu(e, t) {
                        for (;;) {
                            var r = Fs;
                            try {
                                if ((ya(), (ho.current = ol), mo)) {
                                    for (var n = Co.memoizedState; null !== n; ) {
                                        var i = n.queue;
                                        null !== i && (i.pending = null), (n = n.next);
                                    }
                                    mo = !1;
                                }
                                if (((go = 0), (Io = po = Co = null), (vo = !1), (Eo = 0), (ks.current = null), null === r || null === r.return)) {
                                    (Rs = 1), (Ys = t), (Fs = null);
                                    break;
                                }
                                e: {
                                    var o = e,
                                        l = r.return,
                                        s = r,
                                        u = t;
                                    if (((t = Ls), (s.flags |= 32768), null !== u && "object" == typeof u && "function" == typeof u.then)) {
                                        var c = u,
                                            h = s,
                                            f = h.tag;
                                        if (0 == (1 & h.mode) && (0 === f || 11 === f || 15 === f)) {
                                            var d = h.alternate;
                                            d ? ((h.updateQueue = d.updateQueue), (h.memoizedState = d.memoizedState), (h.lanes = d.lanes)) : ((h.updateQueue = null), (h.memoizedState = null));
                                        }
                                        var g = Il(l);
                                        if (null !== g) {
                                            (g.flags &= -257), ml(g, l, s, 0, t), 1 & g.mode && pl(o, c, t), (u = c);
                                            var C = (t = g).updateQueue;
                                            if (null === C) {
                                                var p = new Set();
                                                p.add(u), (t.updateQueue = p);
                                            } else C.add(u);
                                            break e;
                                        }
                                        if (0 == (1 & t)) {
                                            pl(o, c, t), pu();
                                            break e;
                                        }
                                        u = Error(a(426));
                                    } else if (ia && 1 & s.mode) {
                                        var I = Il(l);
                                        if (null !== I) {
                                            0 == (65536 & I.flags) && (I.flags |= 256), ml(I, l, s, 0, t), ga(cl(u, s));
                                            break e;
                                        }
                                    }
                                    (o = u = cl(u, s)), 4 !== Rs && (Rs = 2), null === Gs ? (Gs = [o]) : Gs.push(o), (o = l);
                                    do {
                                        switch (o.tag) {
                                            case 3:
                                                (o.flags |= 65536), (t &= -t), (o.lanes |= t), Ya(o, gl(0, u, t));
                                                break e;
                                            case 1:
                                                s = u;
                                                var m = o.type,
                                                    v = o.stateNode;
                                                if (0 == (128 & o.flags) && ("function" == typeof m.getDerivedStateFromError || (null !== v && "function" == typeof v.componentDidCatch && (null === zs || !zs.has(v))))) {
                                                    (o.flags |= 65536), (t &= -t), (o.lanes |= t), Ya(o, Cl(o, s, t));
                                                    break e;
                                                }
                                        }
                                        o = o.return;
                                    } while (null !== o);
                                }
                                yu(r);
                            } catch (E) {
                                (t = E), Fs === r && null !== r && (Fs = r = r.return);
                                continue;
                            }
                            break;
                        }
                    }
                    function Cu() {
                        var e = Qs.current;
                        return (Qs.current = ol), null === e ? ol : e;
                    }
                    function pu() {
                        (0 !== Rs && 3 !== Rs && 2 !== Rs) || (Rs = 4), null === Bs || (0 == (268435455 & Ds) && 0 == (268435455 & Ks)) || su(Bs, Ls);
                    }
                    function Iu(e, t) {
                        var r = Os;
                        Os |= 2;
                        var n = Cu();
                        for ((Bs === e && Ls === t) || ((Vs = null), du(e, t)); ; )
                            try {
                                mu();
                                break;
                            } catch (i) {
                                gu(e, i);
                            }
                        if ((ya(), (Os = r), (Qs.current = n), null !== Fs)) throw Error(a(261));
                        return (Bs = null), (Ls = 0), Rs;
                    }
                    function mu() {
                        for (; null !== Fs; ) Eu(Fs);
                    }
                    function vu() {
                        for (; null !== Fs && !Ze(); ) Eu(Fs);
                    }
                    function Eu(e) {
                        var t = Ss(e.alternate, e, js);
                        (e.memoizedProps = e.pendingProps), null === t ? yu(e) : (Fs = t), (ks.current = null);
                    }
                    function yu(e) {
                        var t = e;
                        do {
                            var r = t.alternate;
                            if (((e = t.return), 0 == (32768 & t.flags))) {
                                if (null !== (r = Jl(r, t, js))) return void (Fs = r);
                            } else {
                                if (null !== (r = Zl(r, t))) return (r.flags &= 32767), void (Fs = r);
                                if (null === e) return (Rs = 6), void (Fs = null);
                                (e.flags |= 32768), (e.subtreeFlags = 0), (e.deletions = null);
                            }
                            if (null !== (t = t.sibling)) return void (Fs = t);
                            Fs = t = e;
                        } while (null !== t);
                        0 === Rs && (Rs = 5);
                    }
                    function wu(e, t, r) {
                        var n = vt,
                            i = xs.transition;
                        try {
                            (xs.transition = null),
                                (vt = 1),
                                (function (e, t, r, n) {
                                    do {
                                        Au();
                                    } while (null !== Zs);
                                    if (0 != (6 & Os)) throw Error(a(327));
                                    r = e.finishedWork;
                                    var i = e.finishedLanes;
                                    if (null === r) return null;
                                    if (((e.finishedWork = null), (e.finishedLanes = 0), r === e.current)) throw Error(a(177));
                                    (e.callbackNode = null), (e.callbackPriority = 0);
                                    var o = r.lanes | r.childLanes;
                                    if (
                                        ((function (e, t) {
                                            var r = e.pendingLanes & ~t;
                                            (e.pendingLanes = t), (e.suspendedLanes = 0), (e.pingedLanes = 0), (e.expiredLanes &= t), (e.mutableReadLanes &= t), (e.entangledLanes &= t), (t = e.entanglements);
                                            var n = e.eventTimes;
                                            for (e = e.expirationTimes; 0 < r; ) {
                                                var i = 31 - ot(r),
                                                    a = 1 << i;
                                                (t[i] = 0), (n[i] = -1), (e[i] = -1), (r &= ~a);
                                            }
                                        })(e, o),
                                        e === Bs && ((Fs = Bs = null), (Ls = 0)),
                                        (0 == (2064 & r.subtreeFlags) && 0 == (2064 & r.flags)) ||
                                            Js ||
                                            ((Js = !0),
                                            Bu(tt, function () {
                                                return Au(), null;
                                            })),
                                        (o = 0 != (15990 & r.flags)),
                                        0 != (15990 & r.subtreeFlags) || o)
                                    ) {
                                        (o = xs.transition), (xs.transition = null);
                                        var l = vt;
                                        vt = 1;
                                        var s = Os;
                                        (Os |= 4),
                                            (ks.current = null),
                                            (function (e, t) {
                                                if (((ei = Vt), dn((e = fn())))) {
                                                    if ("selectionStart" in e) var r = { start: e.selectionStart, end: e.selectionEnd };
                                                    else
                                                        e: {
                                                            var n = (r = ((r = e.ownerDocument) && r.defaultView) || window).getSelection && r.getSelection();
                                                            if (n && 0 !== n.rangeCount) {
                                                                r = n.anchorNode;
                                                                var i = n.anchorOffset,
                                                                    o = n.focusNode;
                                                                n = n.focusOffset;
                                                                try {
                                                                    r.nodeType, o.nodeType;
                                                                } catch (y) {
                                                                    r = null;
                                                                    break e;
                                                                }
                                                                var l = 0,
                                                                    s = -1,
                                                                    u = -1,
                                                                    c = 0,
                                                                    h = 0,
                                                                    f = e,
                                                                    d = null;
                                                                t: for (;;) {
                                                                    for (
                                                                        var g;
                                                                        f !== r || (0 !== i && 3 !== f.nodeType) || (s = l + i),
                                                                            f !== o || (0 !== n && 3 !== f.nodeType) || (u = l + n),
                                                                            3 === f.nodeType && (l += f.nodeValue.length),
                                                                            null !== (g = f.firstChild);

                                                                    )
                                                                        (d = f), (f = g);
                                                                    for (;;) {
                                                                        if (f === e) break t;
                                                                        if ((d === r && ++c === i && (s = l), d === o && ++h === n && (u = l), null !== (g = f.nextSibling))) break;
                                                                        d = (f = d).parentNode;
                                                                    }
                                                                    f = g;
                                                                }
                                                                r = -1 === s || -1 === u ? null : { start: s, end: u };
                                                            } else r = null;
                                                        }
                                                    r = r || { start: 0, end: 0 };
                                                } else r = null;
                                                for (ti = { focusedElem: e, selectionRange: r }, Vt = !1, $l = t; null !== $l; )
                                                    if (((e = (t = $l).child), 0 != (1028 & t.subtreeFlags) && null !== e)) (e.return = t), ($l = e);
                                                    else
                                                        for (; null !== $l; ) {
                                                            t = $l;
                                                            try {
                                                                var C = t.alternate;
                                                                if (0 != (1024 & t.flags))
                                                                    switch (t.tag) {
                                                                        case 0:
                                                                        case 11:
                                                                        case 15:
                                                                        case 5:
                                                                        case 6:
                                                                        case 4:
                                                                        case 17:
                                                                            break;
                                                                        case 1:
                                                                            if (null !== C) {
                                                                                var p = C.memoizedProps,
                                                                                    I = C.memoizedState,
                                                                                    m = t.stateNode,
                                                                                    v = m.getSnapshotBeforeUpdate(t.elementType === t.type ? p : pa(t.type, p), I);
                                                                                m.__reactInternalSnapshotBeforeUpdate = v;
                                                                            }
                                                                            break;
                                                                        case 3:
                                                                            var E = t.stateNode.containerInfo;
                                                                            1 === E.nodeType ? (E.textContent = "") : 9 === E.nodeType && E.documentElement && E.removeChild(E.documentElement);
                                                                            break;
                                                                        default:
                                                                            throw Error(a(163));
                                                                    }
                                                            } catch (y) {
                                                                bu(t, t.return, y);
                                                            }
                                                            if (null !== (e = t.sibling)) {
                                                                (e.return = t.return), ($l = e);
                                                                break;
                                                            }
                                                            $l = t.return;
                                                        }
                                                (C = rs), (rs = !1);
                                            })(e, r),
                                            Is(r, e),
                                            gn(ti),
                                            (Vt = !!ei),
                                            (ti = ei = null),
                                            (e.current = r),
                                            vs(r, e, i),
                                            qe(),
                                            (Os = s),
                                            (vt = l),
                                            (xs.transition = o);
                                    } else e.current = r;
                                    if (
                                        (Js && ((Js = !1), (Zs = e), (qs = i)),
                                        (o = e.pendingLanes),
                                        0 === o && (zs = null),
                                        (function (e) {
                                            if (at && "function" == typeof at.onCommitFiberRoot)
                                                try {
                                                    at.onCommitFiberRoot(it, e, void 0, 128 == (128 & e.current.flags));
                                                } catch (t) {}
                                        })(r.stateNode),
                                        iu(e, Xe()),
                                        null !== t)
                                    )
                                        for (n = e.onRecoverableError, r = 0; r < t.length; r++) (i = t[r]), n(i.value, { componentStack: i.stack, digest: i.digest });
                                    if (Ts) throw ((Ts = !1), (e = Hs), (Hs = null), e);
                                    0 != (1 & qs) && 0 !== e.tag && Au(), (o = e.pendingLanes), 0 != (1 & o) ? (e === _s ? Xs++ : ((Xs = 0), (_s = e))) : (Xs = 0), Ui();
                                })(e, t, r, n);
                        } finally {
                            (xs.transition = i), (vt = n);
                        }
                        return null;
                    }
                    function Au() {
                        if (null !== Zs) {
                            var e = Et(qs),
                                t = xs.transition,
                                r = vt;
                            try {
                                if (((xs.transition = null), (vt = 16 > e ? 16 : e), null === Zs)) var n = !1;
                                else {
                                    if (((e = Zs), (Zs = null), (qs = 0), 0 != (6 & Os))) throw Error(a(331));
                                    var i = Os;
                                    for (Os |= 4, $l = e.current; null !== $l; ) {
                                        var o = $l,
                                            l = o.child;
                                        if (0 != (16 & $l.flags)) {
                                            var s = o.deletions;
                                            if (null !== s) {
                                                for (var u = 0; u < s.length; u++) {
                                                    var c = s[u];
                                                    for ($l = c; null !== $l; ) {
                                                        var h = $l;
                                                        switch (h.tag) {
                                                            case 0:
                                                            case 11:
                                                            case 15:
                                                                ns(8, h, o);
                                                        }
                                                        var f = h.child;
                                                        if (null !== f) (f.return = h), ($l = f);
                                                        else
                                                            for (; null !== $l; ) {
                                                                var d = (h = $l).sibling,
                                                                    g = h.return;
                                                                if ((os(h), h === c)) {
                                                                    $l = null;
                                                                    break;
                                                                }
                                                                if (null !== d) {
                                                                    (d.return = g), ($l = d);
                                                                    break;
                                                                }
                                                                $l = g;
                                                            }
                                                    }
                                                }
                                                var C = o.alternate;
                                                if (null !== C) {
                                                    var p = C.child;
                                                    if (null !== p) {
                                                        C.child = null;
                                                        do {
                                                            var I = p.sibling;
                                                            (p.sibling = null), (p = I);
                                                        } while (null !== p);
                                                    }
                                                }
                                                $l = o;
                                            }
                                        }
                                        if (0 != (2064 & o.subtreeFlags) && null !== l) (l.return = o), ($l = l);
                                        else
                                            e: for (; null !== $l; ) {
                                                if (0 != (2048 & (o = $l).flags))
                                                    switch (o.tag) {
                                                        case 0:
                                                        case 11:
                                                        case 15:
                                                            ns(9, o, o.return);
                                                    }
                                                var m = o.sibling;
                                                if (null !== m) {
                                                    (m.return = o.return), ($l = m);
                                                    break e;
                                                }
                                                $l = o.return;
                                            }
                                    }
                                    var v = e.current;
                                    for ($l = v; null !== $l; ) {
                                        var E = (l = $l).child;
                                        if (0 != (2064 & l.subtreeFlags) && null !== E) (E.return = l), ($l = E);
                                        else
                                            e: for (l = v; null !== $l; ) {
                                                if (0 != (2048 & (s = $l).flags))
                                                    try {
                                                        switch (s.tag) {
                                                            case 0:
                                                            case 11:
                                                            case 15:
                                                                is(9, s);
                                                        }
                                                    } catch (w) {
                                                        bu(s, s.return, w);
                                                    }
                                                if (s === l) {
                                                    $l = null;
                                                    break e;
                                                }
                                                var y = s.sibling;
                                                if (null !== y) {
                                                    (y.return = s.return), ($l = y);
                                                    break e;
                                                }
                                                $l = s.return;
                                            }
                                    }
                                    if (((Os = i), Ui(), at && "function" == typeof at.onPostCommitFiberRoot))
                                        try {
                                            at.onPostCommitFiberRoot(it, e);
                                        } catch (w) {}
                                    n = !0;
                                }
                                return n;
                            } finally {
                                (vt = r), (xs.transition = t);
                            }
                        }
                        return !1;
                    }
                    function Su(e, t, r) {
                        (e = Wa(e, (t = gl(0, (t = cl(r, t)), 1)), 1)), (t = tu()), null !== e && (It(e, 1, t), iu(e, t));
                    }
                    function bu(e, t, r) {
                        if (3 === e.tag) Su(e, e, r);
                        else
                            for (; null !== t; ) {
                                if (3 === t.tag) {
                                    Su(t, e, r);
                                    break;
                                }
                                if (1 === t.tag) {
                                    var n = t.stateNode;
                                    if ("function" == typeof t.type.getDerivedStateFromError || ("function" == typeof n.componentDidCatch && (null === zs || !zs.has(n)))) {
                                        (t = Wa(t, (e = Cl(t, (e = cl(r, e)), 1)), 1)), (e = tu()), null !== t && (It(t, 1, e), iu(t, e));
                                        break;
                                    }
                                }
                                t = t.return;
                            }
                    }
                    function Qu(e, t, r) {
                        var n = e.pingCache;
                        null !== n && n.delete(t), (t = tu()), (e.pingedLanes |= e.suspendedLanes & r), Bs === e && (Ls & r) === r && (4 === Rs || (3 === Rs && (130023424 & Ls) === Ls && 500 > Xe() - Us) ? du(e, 0) : (Ps |= r)), iu(e, t);
                    }
                    function ku(e, t) {
                        0 === t && (0 == (1 & e.mode) ? (t = 1) : ((t = ct), 0 == (130023424 & (ct <<= 1)) && (ct = 4194304)));
                        var r = tu();
                        null !== (e = Oa(e, t)) && (It(e, t, r), iu(e, r));
                    }
                    function xu(e) {
                        var t = e.memoizedState,
                            r = 0;
                        null !== t && (r = t.retryLane), ku(e, r);
                    }
                    function Ou(e, t) {
                        var r = 0;
                        switch (e.tag) {
                            case 13:
                                var n = e.stateNode,
                                    i = e.memoizedState;
                                null !== i && (r = i.retryLane);
                                break;
                            case 19:
                                n = e.stateNode;
                                break;
                            default:
                                throw Error(a(314));
                        }
                        null !== n && n.delete(t), ku(e, r);
                    }
                    function Bu(e, t) {
                        return ze(e, t);
                    }
                    function Fu(e, t, r, n) {
                        (this.tag = e),
                            (this.key = r),
                            (this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null),
                            (this.index = 0),
                            (this.ref = null),
                            (this.pendingProps = t),
                            (this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null),
                            (this.mode = n),
                            (this.subtreeFlags = this.flags = 0),
                            (this.deletions = null),
                            (this.childLanes = this.lanes = 0),
                            (this.alternate = null);
                    }
                    function Lu(e, t, r, n) {
                        return new Fu(e, t, r, n);
                    }
                    function ju(e) {
                        return !(!(e = e.prototype) || !e.isReactComponent);
                    }
                    function Wu(e, t) {
                        var r = e.alternate;
                        return (
                            null === r
                                ? (((r = Lu(e.tag, t, e.key, e.mode)).elementType = e.elementType), (r.type = e.type), (r.stateNode = e.stateNode), (r.alternate = e), (e.alternate = r))
                                : ((r.pendingProps = t), (r.type = e.type), (r.flags = 0), (r.subtreeFlags = 0), (r.deletions = null)),
                            (r.flags = 14680064 & e.flags),
                            (r.childLanes = e.childLanes),
                            (r.lanes = e.lanes),
                            (r.child = e.child),
                            (r.memoizedProps = e.memoizedProps),
                            (r.memoizedState = e.memoizedState),
                            (r.updateQueue = e.updateQueue),
                            (t = e.dependencies),
                            (r.dependencies = null === t ? null : { lanes: t.lanes, firstContext: t.firstContext }),
                            (r.sibling = e.sibling),
                            (r.index = e.index),
                            (r.ref = e.ref),
                            r
                        );
                    }
                    function Ru(e, t, r, n, i, o) {
                        var l = 2;
                        if (((n = e), "function" == typeof e)) ju(e) && (l = 1);
                        else if ("string" == typeof e) l = 5;
                        else
                            e: switch (e) {
                                case A:
                                    return Yu(r.children, i, o, t);
                                case S:
                                    (l = 8), (i |= 8);
                                    break;
                                case b:
                                    return ((e = Lu(12, r, t, 2 | i)).elementType = b), (e.lanes = o), e;
                                case O:
                                    return ((e = Lu(13, r, t, i)).elementType = O), (e.lanes = o), e;
                                case B:
                                    return ((e = Lu(19, r, t, i)).elementType = B), (e.lanes = o), e;
                                case j:
                                    return Du(r, i, o, t);
                                default:
                                    if ("object" == typeof e && null !== e)
                                        switch (e.$$typeof) {
                                            case Q:
                                                l = 10;
                                                break e;
                                            case k:
                                                l = 9;
                                                break e;
                                            case x:
                                                l = 11;
                                                break e;
                                            case F:
                                                l = 14;
                                                break e;
                                            case L:
                                                (l = 16), (n = null);
                                                break e;
                                        }
                                    throw Error(a(130, null == e ? e : typeof e, ""));
                            }
                        return ((t = Lu(l, r, t, i)).elementType = e), (t.type = n), (t.lanes = o), t;
                    }
                    function Yu(e, t, r, n) {
                        return ((e = Lu(7, e, n, t)).lanes = r), e;
                    }
                    function Du(e, t, r, n) {
                        return ((e = Lu(22, e, n, t)).elementType = j), (e.lanes = r), (e.stateNode = { isHidden: !1 }), e;
                    }
                    function Ku(e, t, r) {
                        return ((e = Lu(6, e, null, t)).lanes = r), e;
                    }
                    function Pu(e, t, r) {
                        return ((t = Lu(4, null !== e.children ? e.children : [], e.key, t)).lanes = r), (t.stateNode = { containerInfo: e.containerInfo, pendingChildren: null, implementation: e.implementation }), t;
                    }
                    function Gu(e, t, r, n, i) {
                        (this.tag = t),
                            (this.containerInfo = e),
                            (this.finishedWork = this.pingCache = this.current = this.pendingChildren = null),
                            (this.timeoutHandle = -1),
                            (this.callbackNode = this.pendingContext = this.context = null),
                            (this.callbackPriority = 0),
                            (this.eventTimes = pt(0)),
                            (this.expirationTimes = pt(-1)),
                            (this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0),
                            (this.entanglements = pt(0)),
                            (this.identifierPrefix = n),
                            (this.onRecoverableError = i),
                            (this.mutableSourceEagerHydrationData = null);
                    }
                    function Mu(e, t, r, n, i, a, o, l, s) {
                        return (
                            (e = new Gu(e, t, r, l, s)),
                            1 === t ? ((t = 1), !0 === a && (t |= 8)) : (t = 0),
                            (a = Lu(3, null, null, t)),
                            (e.current = a),
                            (a.stateNode = e),
                            (a.memoizedState = { element: n, isDehydrated: r, cache: null, transitions: null, pendingSuspenseBoundaries: null }),
                            Fa(a),
                            e
                        );
                    }
                    function Uu(e) {
                        if (!e) return ki;
                        e: {
                            if (Ue((e = e._reactInternals)) !== e || 1 !== e.tag) throw Error(a(170));
                            var t = e;
                            do {
                                switch (t.tag) {
                                    case 3:
                                        t = t.stateNode.context;
                                        break e;
                                    case 1:
                                        if (Li(t.type)) {
                                            t = t.stateNode.__reactInternalMemoizedMergedChildContext;
                                            break e;
                                        }
                                }
                                t = t.return;
                            } while (null !== t);
                            throw Error(a(171));
                        }
                        if (1 === e.tag) {
                            var r = e.type;
                            if (Li(r)) return Ri(e, r, t);
                        }
                        return t;
                    }
                    function Nu(e, t, r, n, i, a, o, l, s) {
                        return ((e = Mu(r, n, !0, e, 0, a, 0, l, s)).context = Uu(null)), (r = e.current), ((a = ja((n = tu()), (i = ru(r)))).callback = null != t ? t : null), Wa(r, a, i), (e.current.lanes = i), It(e, i, n), iu(e, n), e;
                    }
                    function Vu(e, t, r, n) {
                        var i = t.current,
                            a = tu(),
                            o = ru(i);
                        return (
                            (r = Uu(r)),
                            null === t.context ? (t.context = r) : (t.pendingContext = r),
                            ((t = ja(a, o)).payload = { element: e }),
                            null !== (n = void 0 === n ? null : n) && (t.callback = n),
                            null !== (e = Wa(i, t, o)) && (nu(e, i, o, a), Ra(e, i, o)),
                            o
                        );
                    }
                    function Tu(e) {
                        return (e = e.current).child ? (e.child.tag, e.child.stateNode) : null;
                    }
                    function Hu(e, t) {
                        if (null !== (e = e.memoizedState) && null !== e.dehydrated) {
                            var r = e.retryLane;
                            e.retryLane = 0 !== r && r < t ? r : t;
                        }
                    }
                    function zu(e, t) {
                        Hu(e, t), (e = e.alternate) && Hu(e, t);
                    }
                    Ss = function (e, t, r) {
                        if (null !== e)
                            if (e.memoizedProps !== t.pendingProps || Oi.current) El = !0;
                            else {
                                if (0 == (e.lanes & r) && 0 == (128 & t.flags))
                                    return (
                                        (El = !1),
                                        (function (e, t, r) {
                                            switch (t.tag) {
                                                case 3:
                                                    Bl(t), da();
                                                    break;
                                                case 5:
                                                    ao(t);
                                                    break;
                                                case 1:
                                                    Li(t.type) && Yi(t);
                                                    break;
                                                case 4:
                                                    no(t, t.stateNode.containerInfo);
                                                    break;
                                                case 10:
                                                    var n = t.type._context,
                                                        i = t.memoizedProps.value;
                                                    Qi(Ia, n._currentValue), (n._currentValue = i);
                                                    break;
                                                case 13:
                                                    if (null !== (n = t.memoizedState))
                                                        return null !== n.dehydrated
                                                            ? (Qi(lo, 1 & lo.current), (t.flags |= 128), null)
                                                            : 0 != (r & t.child.childLanes)
                                                            ? Kl(e, t, r)
                                                            : (Qi(lo, 1 & lo.current), null !== (e = Tl(e, t, r)) ? e.sibling : null);
                                                    Qi(lo, 1 & lo.current);
                                                    break;
                                                case 19:
                                                    if (((n = 0 != (r & t.childLanes)), 0 != (128 & e.flags))) {
                                                        if (n) return Nl(e, t, r);
                                                        t.flags |= 128;
                                                    }
                                                    if ((null !== (i = t.memoizedState) && ((i.rendering = null), (i.tail = null), (i.lastEffect = null)), Qi(lo, lo.current), n)) break;
                                                    return null;
                                                case 22:
                                                case 23:
                                                    return (t.lanes = 0), bl(e, t, r);
                                            }
                                            return Tl(e, t, r);
                                        })(e, t, r)
                                    );
                                El = 0 != (131072 & e.flags);
                            }
                        else (El = !1), ia && 0 != (1048576 & t.flags) && $i(t, Hi, t.index);
                        switch (((t.lanes = 0), t.tag)) {
                            case 2:
                                var n = t.type;
                                Vl(e, t), (e = t.pendingProps);
                                var i = Fi(t, xi.current);
                                Sa(t, r), (i = So(null, t, n, e, i, r));
                                var o = bo();
                                return (
                                    (t.flags |= 1),
                                    "object" == typeof i && null !== i && "function" == typeof i.render && void 0 === i.$$typeof
                                        ? ((t.tag = 1),
                                          (t.memoizedState = null),
                                          (t.updateQueue = null),
                                          Li(n) ? ((o = !0), Yi(t)) : (o = !1),
                                          (t.memoizedState = null !== i.state && void 0 !== i.state ? i.state : null),
                                          Fa(t),
                                          (i.updater = Ma),
                                          (t.stateNode = i),
                                          (i._reactInternals = t),
                                          Ta(t, n, e, r),
                                          (t = Ol(null, t, n, !0, o, r)))
                                        : ((t.tag = 0), ia && o && ea(t), yl(null, t, i, r), (t = t.child)),
                                    t
                                );
                            case 16:
                                n = t.elementType;
                                e: {
                                    switch (
                                        (Vl(e, t),
                                        (e = t.pendingProps),
                                        (n = (i = n._init)(n._payload)),
                                        (t.type = n),
                                        (i = t.tag = (function (e) {
                                            if ("function" == typeof e) return ju(e) ? 1 : 0;
                                            if (null != e) {
                                                if ((e = e.$$typeof) === x) return 11;
                                                if (e === F) return 14;
                                            }
                                            return 2;
                                        })(n)),
                                        (e = pa(n, e)),
                                        i)
                                    ) {
                                        case 0:
                                            t = kl(null, t, n, e, r);
                                            break e;
                                        case 1:
                                            t = xl(null, t, n, e, r);
                                            break e;
                                        case 11:
                                            t = wl(null, t, n, e, r);
                                            break e;
                                        case 14:
                                            t = Al(null, t, n, pa(n.type, e), r);
                                            break e;
                                    }
                                    throw Error(a(306, n, ""));
                                }
                                return t;
                            case 0:
                                return (n = t.type), (i = t.pendingProps), kl(e, t, n, (i = t.elementType === n ? i : pa(n, i)), r);
                            case 1:
                                return (n = t.type), (i = t.pendingProps), xl(e, t, n, (i = t.elementType === n ? i : pa(n, i)), r);
                            case 3:
                                e: {
                                    if ((Bl(t), null === e)) throw Error(a(387));
                                    (n = t.pendingProps), (i = (o = t.memoizedState).element), La(e, t), Da(t, n, null, r);
                                    var l = t.memoizedState;
                                    if (((n = l.element), o.isDehydrated)) {
                                        if (
                                            ((o = { element: n, isDehydrated: !1, cache: l.cache, pendingSuspenseBoundaries: l.pendingSuspenseBoundaries, transitions: l.transitions }),
                                            (t.updateQueue.baseState = o),
                                            (t.memoizedState = o),
                                            256 & t.flags)
                                        ) {
                                            t = Fl(e, t, n, r, (i = cl(Error(a(423)), t)));
                                            break e;
                                        }
                                        if (n !== i) {
                                            t = Fl(e, t, n, r, (i = cl(Error(a(424)), t)));
                                            break e;
                                        }
                                        for (na = ui(t.stateNode.containerInfo.firstChild), ra = t, ia = !0, aa = null, r = Xa(t, null, n, r), t.child = r; r; ) (r.flags = (-3 & r.flags) | 4096), (r = r.sibling);
                                    } else {
                                        if ((da(), n === i)) {
                                            t = Tl(e, t, r);
                                            break e;
                                        }
                                        yl(e, t, n, r);
                                    }
                                    t = t.child;
                                }
                                return t;
                            case 5:
                                return (
                                    ao(t),
                                    null === e && ua(t),
                                    (n = t.type),
                                    (i = t.pendingProps),
                                    (o = null !== e ? e.memoizedProps : null),
                                    (l = i.children),
                                    ri(n, i) ? (l = null) : null !== o && ri(n, o) && (t.flags |= 32),
                                    Ql(e, t),
                                    yl(e, t, l, r),
                                    t.child
                                );
                            case 6:
                                return null === e && ua(t), null;
                            case 13:
                                return Kl(e, t, r);
                            case 4:
                                return no(t, t.stateNode.containerInfo), (n = t.pendingProps), null === e ? (t.child = qa(t, null, n, r)) : yl(e, t, n, r), t.child;
                            case 11:
                                return (n = t.type), (i = t.pendingProps), wl(e, t, n, (i = t.elementType === n ? i : pa(n, i)), r);
                            case 7:
                                return yl(e, t, t.pendingProps, r), t.child;
                            case 8:
                            case 12:
                                return yl(e, t, t.pendingProps.children, r), t.child;
                            case 10:
                                e: {
                                    if (((n = t.type._context), (i = t.pendingProps), (o = t.memoizedProps), (l = i.value), Qi(Ia, n._currentValue), (n._currentValue = l), null !== o))
                                        if (ln(o.value, l)) {
                                            if (o.children === i.children && !Oi.current) {
                                                t = Tl(e, t, r);
                                                break e;
                                            }
                                        } else
                                            for (null !== (o = t.child) && (o.return = t); null !== o; ) {
                                                var s = o.dependencies;
                                                if (null !== s) {
                                                    l = o.child;
                                                    for (var u = s.firstContext; null !== u; ) {
                                                        if (u.context === n) {
                                                            if (1 === o.tag) {
                                                                (u = ja(-1, r & -r)).tag = 2;
                                                                var c = o.updateQueue;
                                                                if (null !== c) {
                                                                    var h = (c = c.shared).pending;
                                                                    null === h ? (u.next = u) : ((u.next = h.next), (h.next = u)), (c.pending = u);
                                                                }
                                                            }
                                                            (o.lanes |= r), null !== (u = o.alternate) && (u.lanes |= r), Aa(o.return, r, t), (s.lanes |= r);
                                                            break;
                                                        }
                                                        u = u.next;
                                                    }
                                                } else if (10 === o.tag) l = o.type === t.type ? null : o.child;
                                                else if (18 === o.tag) {
                                                    if (null === (l = o.return)) throw Error(a(341));
                                                    (l.lanes |= r), null !== (s = l.alternate) && (s.lanes |= r), Aa(l, r, t), (l = o.sibling);
                                                } else l = o.child;
                                                if (null !== l) l.return = o;
                                                else
                                                    for (l = o; null !== l; ) {
                                                        if (l === t) {
                                                            l = null;
                                                            break;
                                                        }
                                                        if (null !== (o = l.sibling)) {
                                                            (o.return = l.return), (l = o);
                                                            break;
                                                        }
                                                        l = l.return;
                                                    }
                                                o = l;
                                            }
                                    yl(e, t, i.children, r), (t = t.child);
                                }
                                return t;
                            case 9:
                                return (i = t.type), (n = t.pendingProps.children), Sa(t, r), (n = n((i = ba(i)))), (t.flags |= 1), yl(e, t, n, r), t.child;
                            case 14:
                                return (i = pa((n = t.type), t.pendingProps)), Al(e, t, n, (i = pa(n.type, i)), r);
                            case 15:
                                return Sl(e, t, t.type, t.pendingProps, r);
                            case 17:
                                return (
                                    (n = t.type), (i = t.pendingProps), (i = t.elementType === n ? i : pa(n, i)), Vl(e, t), (t.tag = 1), Li(n) ? ((e = !0), Yi(t)) : (e = !1), Sa(t, r), Na(t, n, i), Ta(t, n, i, r), Ol(null, t, n, !0, e, r)
                                );
                            case 19:
                                return Nl(e, t, r);
                            case 22:
                                return bl(e, t, r);
                        }
                        throw Error(a(156, t.tag));
                    };
                    var Ju =
                        "function" == typeof reportError
                            ? reportError
                            : function (e) {
                                  console.error(e);
                              };
                    function Zu(e) {
                        this._internalRoot = e;
                    }
                    function qu(e) {
                        this._internalRoot = e;
                    }
                    function Xu(e) {
                        return !(!e || (1 !== e.nodeType && 9 !== e.nodeType && 11 !== e.nodeType));
                    }
                    function _u(e) {
                        return !(!e || (1 !== e.nodeType && 9 !== e.nodeType && 11 !== e.nodeType && (8 !== e.nodeType || " react-mount-point-unstable " !== e.nodeValue)));
                    }
                    function $u() {}
                    function ec(e, t, r, n, i) {
                        var a = r._reactRootContainer;
                        if (a) {
                            var o = a;
                            if ("function" == typeof i) {
                                var l = i;
                                i = function () {
                                    var e = Tu(o);
                                    l.call(e);
                                };
                            }
                            Vu(t, o, e, i);
                        } else
                            o = (function (e, t, r, n, i) {
                                if (i) {
                                    if ("function" == typeof n) {
                                        var a = n;
                                        n = function () {
                                            var e = Tu(o);
                                            a.call(e);
                                        };
                                    }
                                    var o = Nu(t, n, e, 0, null, !1, 0, "", $u);
                                    return (e._reactRootContainer = o), (e[gi] = o.current), Un(8 === e.nodeType ? e.parentNode : e), hu(), o;
                                }
                                for (; (i = e.lastChild); ) e.removeChild(i);
                                if ("function" == typeof n) {
                                    var l = n;
                                    n = function () {
                                        var e = Tu(s);
                                        l.call(e);
                                    };
                                }
                                var s = Mu(e, 0, !1, null, 0, !1, 0, "", $u);
                                return (
                                    (e._reactRootContainer = s),
                                    (e[gi] = s.current),
                                    Un(8 === e.nodeType ? e.parentNode : e),
                                    hu(function () {
                                        Vu(t, s, r, n);
                                    }),
                                    s
                                );
                            })(r, t, e, i, n);
                        return Tu(o);
                    }
                    (qu.prototype.render = Zu.prototype.render = function (e) {
                        var t = this._internalRoot;
                        if (null === t) throw Error(a(409));
                        Vu(e, t, null, null);
                    }),
                        (qu.prototype.unmount = Zu.prototype.unmount = function () {
                            var e = this._internalRoot;
                            if (null !== e) {
                                this._internalRoot = null;
                                var t = e.containerInfo;
                                hu(function () {
                                    Vu(null, e, null, null);
                                }),
                                    (t[gi] = null);
                            }
                        }),
                        (qu.prototype.unstable_scheduleHydration = function (e) {
                            if (e) {
                                var t = St();
                                e = { blockedOn: null, target: e, priority: t };
                                for (var r = 0; r < jt.length && 0 !== t && t < jt[r].priority; r++);
                                jt.splice(r, 0, e), 0 === r && Dt(e);
                            }
                        }),
                        (yt = function (e) {
                            switch (e.tag) {
                                case 3:
                                    var t = e.stateNode;
                                    if (t.current.memoizedState.isDehydrated) {
                                        var r = ht(t.pendingLanes);
                                        0 !== r && (mt(t, 1 | r), iu(t, Xe()), 0 == (6 & Os) && ((Ns = Xe() + 500), Ui()));
                                    }
                                    break;
                                case 13:
                                    hu(function () {
                                        var t = Oa(e, 1);
                                        if (null !== t) {
                                            var r = tu();
                                            nu(t, e, 1, r);
                                        }
                                    }),
                                        zu(e, 1);
                            }
                        }),
                        (wt = function (e) {
                            if (13 === e.tag) {
                                var t = Oa(e, 134217728);
                                if (null !== t) nu(t, e, 134217728, tu());
                                zu(e, 134217728);
                            }
                        }),
                        (At = function (e) {
                            if (13 === e.tag) {
                                var t = ru(e),
                                    r = Oa(e, t);
                                if (null !== r) nu(r, e, t, tu());
                                zu(e, t);
                            }
                        }),
                        (St = function () {
                            return vt;
                        }),
                        (bt = function (e, t) {
                            var r = vt;
                            try {
                                return (vt = e), t();
                            } finally {
                                vt = r;
                            }
                        }),
                        (we = function (e, t, r) {
                            switch (t) {
                                case "input":
                                    if ((_(e, r), (t = r.name), "radio" === r.type && null != t)) {
                                        for (r = e; r.parentNode; ) r = r.parentNode;
                                        for (r = r.querySelectorAll("input[name=" + JSON.stringify("" + t) + '][type="radio"]'), t = 0; t < r.length; t++) {
                                            var n = r[t];
                                            if (n !== e && n.form === e.form) {
                                                var i = yi(n);
                                                if (!i) throw Error(a(90));
                                                z(n), _(n, i);
                                            }
                                        }
                                    }
                                    break;
                                case "textarea":
                                    ae(e, r);
                                    break;
                                case "select":
                                    null != (t = r.value) && re(e, !!r.multiple, t, !1);
                            }
                        }),
                        (xe = cu),
                        (Oe = hu);
                    var tc = { usingClientEntryPoint: !1, Events: [vi, Ei, yi, Qe, ke, cu] },
                        rc = { findFiberByHostInstance: mi, bundleType: 0, version: "18.2.0", rendererPackageName: "react-dom" },
                        nc = {
                            bundleType: rc.bundleType,
                            version: rc.version,
                            rendererPackageName: rc.rendererPackageName,
                            rendererConfig: rc.rendererConfig,
                            overrideHookState: null,
                            overrideHookStateDeletePath: null,
                            overrideHookStateRenamePath: null,
                            overrideProps: null,
                            overridePropsDeletePath: null,
                            overridePropsRenamePath: null,
                            setErrorHandler: null,
                            setSuspenseHandler: null,
                            scheduleUpdate: null,
                            currentDispatcherRef: E.ReactCurrentDispatcher,
                            findHostInstanceByFiber: function (e) {
                                return null === (e = Te(e)) ? null : e.stateNode;
                            },
                            findFiberByHostInstance:
                                rc.findFiberByHostInstance ||
                                function () {
                                    return null;
                                },
                            findHostInstancesForRefresh: null,
                            scheduleRefresh: null,
                            scheduleRoot: null,
                            setRefreshHandler: null,
                            getCurrentFiber: null,
                            reconcilerVersion: "18.2.0-next-9e3b772b8-20220608",
                        };
                    if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
                        var ic = __REACT_DEVTOOLS_GLOBAL_HOOK__;
                        if (!ic.isDisabled && ic.supportsFiber)
                            try {
                                (it = ic.inject(nc)), (at = ic);
                            } catch (ce) {}
                    }
                    (t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = tc),
                        (t.createPortal = function (e, t) {
                            var r = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;
                            if (!Xu(t)) throw Error(a(200));
                            return (function (e, t, r) {
                                var n = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;
                                return { $$typeof: w, key: null == n ? null : "" + n, children: e, containerInfo: t, implementation: r };
                            })(e, t, null, r);
                        }),
                        (t.createRoot = function (e, t) {
                            if (!Xu(e)) throw Error(a(299));
                            var r = !1,
                                n = "",
                                i = Ju;
                            return (
                                null != t && (!0 === t.unstable_strictMode && (r = !0), void 0 !== t.identifierPrefix && (n = t.identifierPrefix), void 0 !== t.onRecoverableError && (i = t.onRecoverableError)),
                                (t = Mu(e, 1, !1, null, 0, r, 0, n, i)),
                                (e[gi] = t.current),
                                Un(8 === e.nodeType ? e.parentNode : e),
                                new Zu(t)
                            );
                        }),
                        (t.findDOMNode = function (e) {
                            if (null == e) return null;
                            if (1 === e.nodeType) return e;
                            var t = e._reactInternals;
                            if (void 0 === t) {
                                if ("function" == typeof e.render) throw Error(a(188));
                                throw ((e = Object.keys(e).join(",")), Error(a(268, e)));
                            }
                            return (e = null === (e = Te(t)) ? null : e.stateNode);
                        }),
                        (t.flushSync = function (e) {
                            return hu(e);
                        }),
                        (t.hydrate = function (e, t, r) {
                            if (!_u(t)) throw Error(a(200));
                            return ec(null, e, t, !0, r);
                        }),
                        (t.hydrateRoot = function (e, t, r) {
                            if (!Xu(e)) throw Error(a(405));
                            var n = (null != r && r.hydratedSources) || null,
                                i = !1,
                                o = "",
                                l = Ju;
                            if (
                                (null != r && (!0 === r.unstable_strictMode && (i = !0), void 0 !== r.identifierPrefix && (o = r.identifierPrefix), void 0 !== r.onRecoverableError && (l = r.onRecoverableError)),
                                (t = Nu(t, null, e, 1, null != r ? r : null, i, 0, o, l)),
                                (e[gi] = t.current),
                                Un(e),
                                n)
                            )
                                for (e = 0; e < n.length; e++)
                                    (i = (i = (r = n[e])._getVersion)(r._source)), null == t.mutableSourceEagerHydrationData ? (t.mutableSourceEagerHydrationData = [r, i]) : t.mutableSourceEagerHydrationData.push(r, i);
                            return new qu(t);
                        }),
                        (t.render = function (e, t, r) {
                            if (!_u(t)) throw Error(a(200));
                            return ec(null, e, t, !1, r);
                        }),
                        (t.unmountComponentAtNode = function (e) {
                            if (!_u(e)) throw Error(a(40));
                            return (
                                !!e._reactRootContainer &&
                                (hu(function () {
                                    ec(null, null, e, !1, function () {
                                        (e._reactRootContainer = null), (e[gi] = null);
                                    });
                                }),
                                !0)
                            );
                        }),
                        (t.unstable_batchedUpdates = cu),
                        (t.unstable_renderSubtreeIntoContainer = function (e, t, r, n) {
                            if (!_u(r)) throw Error(a(200));
                            if (null == e || void 0 === e._reactInternals) throw Error(a(38));
                            return ec(e, t, r, !1, n);
                        }),
                        (t.version = "18.2.0-next-9e3b772b8-20220608");
                },
                "../../node_modules/react-dom/client.js": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/react-dom/index.js");
                    (t.s = n.createRoot), n.hydrateRoot;
                },
                "../../node_modules/react-dom/index.js": function (e, t, r) {
                    "use strict";
                    !(function e() {
                        if ("undefined" != typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" == typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)
                            try {
                                __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
                            } catch (t) {
                                console.error(t);
                            }
                    })(),
                        (e.exports = r("../../node_modules/react-dom/cjs/react-dom.production.min.js"));
                },
                "../../node_modules/react/cjs/react-jsx-runtime.production.min.js": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/react/index.js"),
                        i = Symbol.for("react.element"),
                        a = Symbol.for("react.fragment"),
                        o = Object.prototype.hasOwnProperty,
                        l = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
                        s = { key: !0, ref: !0, __self: !0, __source: !0 };
                    function u(e, t, r) {
                        var n,
                            a = {},
                            u = null,
                            c = null;
                        for (n in (void 0 !== r && (u = "" + r), void 0 !== t.key && (u = "" + t.key), void 0 !== t.ref && (c = t.ref), t)) o.call(t, n) && !s.hasOwnProperty(n) && (a[n] = t[n]);
                        if (e && e.defaultProps) for (n in (t = e.defaultProps)) void 0 === a[n] && (a[n] = t[n]);
                        return { $$typeof: i, type: e, key: u, ref: c, props: a, _owner: l.current };
                    }
                    (t.Fragment = a), (t.jsx = u), (t.jsxs = u);
                },
                "../../node_modules/react/cjs/react.production.min.js": function (e, t) {
                    "use strict";
                    var r = Symbol.for("react.element"),
                        n = Symbol.for("react.portal"),
                        i = Symbol.for("react.fragment"),
                        a = Symbol.for("react.strict_mode"),
                        o = Symbol.for("react.profiler"),
                        l = Symbol.for("react.provider"),
                        s = Symbol.for("react.context"),
                        u = Symbol.for("react.forward_ref"),
                        c = Symbol.for("react.suspense"),
                        h = Symbol.for("react.memo"),
                        f = Symbol.for("react.lazy"),
                        d = Symbol.iterator;
                    var g = {
                            isMounted: function () {
                                return !1;
                            },
                            enqueueForceUpdate: function () {},
                            enqueueReplaceState: function () {},
                            enqueueSetState: function () {},
                        },
                        C = Object.assign,
                        p = {};
                    function I(e, t, r) {
                        (this.props = e), (this.context = t), (this.refs = p), (this.updater = r || g);
                    }
                    function m() {}
                    function v(e, t, r) {
                        (this.props = e), (this.context = t), (this.refs = p), (this.updater = r || g);
                    }
                    (I.prototype.isReactComponent = {}),
                        (I.prototype.setState = function (e, t) {
                            if ("object" != typeof e && "function" != typeof e && null != e) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
                            this.updater.enqueueSetState(this, e, t, "setState");
                        }),
                        (I.prototype.forceUpdate = function (e) {
                            this.updater.enqueueForceUpdate(this, e, "forceUpdate");
                        }),
                        (m.prototype = I.prototype);
                    var E = (v.prototype = new m());
                    (E.constructor = v), C(E, I.prototype), (E.isPureReactComponent = !0);
                    var y = Array.isArray,
                        w = Object.prototype.hasOwnProperty,
                        A = { current: null },
                        S = { key: !0, ref: !0, __self: !0, __source: !0 };
                    function b(e, t, n) {
                        var i,
                            a = {},
                            o = null,
                            l = null;
                        if (null != t) for (i in (void 0 !== t.ref && (l = t.ref), void 0 !== t.key && (o = "" + t.key), t)) w.call(t, i) && !S.hasOwnProperty(i) && (a[i] = t[i]);
                        var s = arguments.length - 2;
                        if (1 === s) a.children = n;
                        else if (1 < s) {
                            for (var u = Array(s), c = 0; c < s; c++) u[c] = arguments[c + 2];
                            a.children = u;
                        }
                        if (e && e.defaultProps) for (i in (s = e.defaultProps)) void 0 === a[i] && (a[i] = s[i]);
                        return { $$typeof: r, type: e, key: o, ref: l, props: a, _owner: A.current };
                    }
                    function Q(e) {
                        return "object" == typeof e && null !== e && e.$$typeof === r;
                    }
                    var k = /\/+/g;
                    function x(e, t) {
                        return "object" == typeof e && null !== e && null != e.key
                            ? (function (e) {
                                  var t = { "=": "=0", ":": "=2" };
                                  return (
                                      "$" +
                                      e.replace(/[=:]/g, function (e) {
                                          return t[e];
                                      })
                                  );
                              })("" + e.key)
                            : t.toString(36);
                    }
                    function O(e, t, i, a, o) {
                        var l = typeof e;
                        ("undefined" !== l && "boolean" !== l) || (e = null);
                        var s = !1;
                        if (null === e) s = !0;
                        else
                            switch (l) {
                                case "string":
                                case "number":
                                    s = !0;
                                    break;
                                case "object":
                                    switch (e.$$typeof) {
                                        case r:
                                        case n:
                                            s = !0;
                                    }
                            }
                        if (s)
                            return (
                                (o = o((s = e))),
                                (e = "" === a ? "." + x(s, 0) : a),
                                y(o)
                                    ? ((i = ""),
                                      null != e && (i = e.replace(k, "$&/") + "/"),
                                      O(o, t, i, "", function (e) {
                                          return e;
                                      }))
                                    : null != o &&
                                      (Q(o) &&
                                          (o = (function (e, t) {
                                              return { $$typeof: r, type: e.type, key: t, ref: e.ref, props: e.props, _owner: e._owner };
                                          })(o, i + (!o.key || (s && s.key === o.key) ? "" : ("" + o.key).replace(k, "$&/") + "/") + e)),
                                      t.push(o)),
                                1
                            );
                        if (((s = 0), (a = "" === a ? "." : a + ":"), y(e)))
                            for (var u = 0; u < e.length; u++) {
                                var c = a + x((l = e[u]), u);
                                s += O(l, t, i, c, o);
                            }
                        else if (
                            ((c = (function (e) {
                                return null === e || "object" != typeof e ? null : "function" == typeof (e = (d && e[d]) || e["@@iterator"]) ? e : null;
                            })(e)),
                            "function" == typeof c)
                        )
                            for (e = c.call(e), u = 0; !(l = e.next()).done; ) s += O((l = l.value), t, i, (c = a + x(l, u++)), o);
                        else if ("object" === l)
                            throw (
                                ((t = String(e)),
                                Error(
                                    "Objects are not valid as a React child (found: " +
                                        ("[object Object]" === t ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) +
                                        "). If you meant to render a collection of children, use an array instead."
                                ))
                            );
                        return s;
                    }
                    function B(e, t, r) {
                        if (null == e) return e;
                        var n = [],
                            i = 0;
                        return (
                            O(e, n, "", "", function (e) {
                                return t.call(r, e, i++);
                            }),
                            n
                        );
                    }
                    function F(e) {
                        if (-1 === e._status) {
                            var t = e._result;
                            (t = t()).then(
                                function (t) {
                                    (0 !== e._status && -1 !== e._status) || ((e._status = 1), (e._result = t));
                                },
                                function (t) {
                                    (0 !== e._status && -1 !== e._status) || ((e._status = 2), (e._result = t));
                                }
                            ),
                                -1 === e._status && ((e._status = 0), (e._result = t));
                        }
                        if (1 === e._status) return e._result.default;
                        throw e._result;
                    }
                    var L = { current: null },
                        j = { transition: null },
                        W = { ReactCurrentDispatcher: L, ReactCurrentBatchConfig: j, ReactCurrentOwner: A };
                    (t.Children = {
                        map: B,
                        forEach: function (e, t, r) {
                            B(
                                e,
                                function () {
                                    t.apply(this, arguments);
                                },
                                r
                            );
                        },
                        count: function (e) {
                            var t = 0;
                            return (
                                B(e, function () {
                                    t++;
                                }),
                                t
                            );
                        },
                        toArray: function (e) {
                            return (
                                B(e, function (e) {
                                    return e;
                                }) || []
                            );
                        },
                        only: function (e) {
                            if (!Q(e)) throw Error("React.Children.only expected to receive a single React element child.");
                            return e;
                        },
                    }),
                        (t.Component = I),
                        (t.Fragment = i),
                        (t.Profiler = o),
                        (t.PureComponent = v),
                        (t.StrictMode = a),
                        (t.Suspense = c),
                        (t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W),
                        (t.cloneElement = function (e, t, n) {
                            if (null == e) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
                            var i = C({}, e.props),
                                a = e.key,
                                o = e.ref,
                                l = e._owner;
                            if (null != t) {
                                if ((void 0 !== t.ref && ((o = t.ref), (l = A.current)), void 0 !== t.key && (a = "" + t.key), e.type && e.type.defaultProps)) var s = e.type.defaultProps;
                                for (u in t) w.call(t, u) && !S.hasOwnProperty(u) && (i[u] = void 0 === t[u] && void 0 !== s ? s[u] : t[u]);
                            }
                            var u = arguments.length - 2;
                            if (1 === u) i.children = n;
                            else if (1 < u) {
                                s = Array(u);
                                for (var c = 0; c < u; c++) s[c] = arguments[c + 2];
                                i.children = s;
                            }
                            return { $$typeof: r, type: e.type, key: a, ref: o, props: i, _owner: l };
                        }),
                        (t.createContext = function (e) {
                            return (
                                ((e = { $$typeof: s, _currentValue: e, _currentValue2: e, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }).Provider = { $$typeof: l, _context: e }), (e.Consumer = e)
                            );
                        }),
                        (t.createElement = b),
                        (t.createFactory = function (e) {
                            var t = b.bind(null, e);
                            return (t.type = e), t;
                        }),
                        (t.createRef = function () {
                            return { current: null };
                        }),
                        (t.forwardRef = function (e) {
                            return { $$typeof: u, render: e };
                        }),
                        (t.isValidElement = Q),
                        (t.lazy = function (e) {
                            return { $$typeof: f, _payload: { _status: -1, _result: e }, _init: F };
                        }),
                        (t.memo = function (e, t) {
                            return { $$typeof: h, type: e, compare: void 0 === t ? null : t };
                        }),
                        (t.startTransition = function (e) {
                            var t = j.transition;
                            j.transition = {};
                            try {
                                e();
                            } finally {
                                j.transition = t;
                            }
                        }),
                        (t.unstable_act = function () {
                            throw Error("act(...) is not supported in production builds of React.");
                        }),
                        (t.useCallback = function (e, t) {
                            return L.current.useCallback(e, t);
                        }),
                        (t.useContext = function (e) {
                            return L.current.useContext(e);
                        }),
                        (t.useDebugValue = function () {}),
                        (t.useDeferredValue = function (e) {
                            return L.current.useDeferredValue(e);
                        }),
                        (t.useEffect = function (e, t) {
                            return L.current.useEffect(e, t);
                        }),
                        (t.useId = function () {
                            return L.current.useId();
                        }),
                        (t.useImperativeHandle = function (e, t, r) {
                            return L.current.useImperativeHandle(e, t, r);
                        }),
                        (t.useInsertionEffect = function (e, t) {
                            return L.current.useInsertionEffect(e, t);
                        }),
                        (t.useLayoutEffect = function (e, t) {
                            return L.current.useLayoutEffect(e, t);
                        }),
                        (t.useMemo = function (e, t) {
                            return L.current.useMemo(e, t);
                        }),
                        (t.useReducer = function (e, t, r) {
                            return L.current.useReducer(e, t, r);
                        }),
                        (t.useRef = function (e) {
                            return L.current.useRef(e);
                        }),
                        (t.useState = function (e) {
                            return L.current.useState(e);
                        }),
                        (t.useSyncExternalStore = function (e, t, r) {
                            return L.current.useSyncExternalStore(e, t, r);
                        }),
                        (t.useTransition = function () {
                            return L.current.useTransition();
                        }),
                        (t.version = "18.2.0");
                },
                "../../node_modules/react/index.js": function (e, t, r) {
                    "use strict";
                    e.exports = r("../../node_modules/react/cjs/react.production.min.js");
                },
                "../../node_modules/react/jsx-runtime.js": function (e, t, r) {
                    "use strict";
                    e.exports = r("../../node_modules/react/cjs/react-jsx-runtime.production.min.js");
                },
                "../../node_modules/scheduler/cjs/scheduler.production.min.js": function (e, t) {
                    "use strict";
                    function r(e, t) {
                        var r = e.length;
                        e.push(t);
                        e: for (; 0 < r; ) {
                            var n = (r - 1) >>> 1,
                                i = e[n];
                            if (!(0 < a(i, t))) break e;
                            (e[n] = t), (e[r] = i), (r = n);
                        }
                    }
                    function n(e) {
                        return 0 === e.length ? null : e[0];
                    }
                    function i(e) {
                        if (0 === e.length) return null;
                        var t = e[0],
                            r = e.pop();
                        if (r !== t) {
                            e[0] = r;
                            e: for (var n = 0, i = e.length, o = i >>> 1; n < o; ) {
                                var l = 2 * (n + 1) - 1,
                                    s = e[l],
                                    u = l + 1,
                                    c = e[u];
                                if (0 > a(s, r)) u < i && 0 > a(c, s) ? ((e[n] = c), (e[u] = r), (n = u)) : ((e[n] = s), (e[l] = r), (n = l));
                                else {
                                    if (!(u < i && 0 > a(c, r))) break e;
                                    (e[n] = c), (e[u] = r), (n = u);
                                }
                            }
                        }
                        return t;
                    }
                    function a(e, t) {
                        var r = e.sortIndex - t.sortIndex;
                        return 0 !== r ? r : e.id - t.id;
                    }
                    if ("object" == typeof performance && "function" == typeof performance.now) {
                        var o = performance;
                        t.unstable_now = function () {
                            return o.now();
                        };
                    } else {
                        var l = Date,
                            s = l.now();
                        t.unstable_now = function () {
                            return l.now() - s;
                        };
                    }
                    var u = [],
                        c = [],
                        h = 1,
                        f = null,
                        d = 3,
                        g = !1,
                        C = !1,
                        p = !1,
                        I = "function" == typeof setTimeout ? setTimeout : null,
                        m = "function" == typeof clearTimeout ? clearTimeout : null,
                        v = "undefined" != typeof setImmediate ? setImmediate : null;
                    function E(e) {
                        for (var t = n(c); null !== t; ) {
                            if (null === t.callback) i(c);
                            else {
                                if (!(t.startTime <= e)) break;
                                i(c), (t.sortIndex = t.expirationTime), r(u, t);
                            }
                            t = n(c);
                        }
                    }
                    function y(e) {
                        if (((p = !1), E(e), !C))
                            if (null !== n(u)) (C = !0), j(w);
                            else {
                                var t = n(c);
                                null !== t && W(y, t.startTime - e);
                            }
                    }
                    function w(e, r) {
                        (C = !1), p && ((p = !1), m(Q), (Q = -1)), (g = !0);
                        var a = d;
                        try {
                            for (E(r), f = n(u); null !== f && (!(f.expirationTime > r) || (e && !O())); ) {
                                var o = f.callback;
                                if ("function" == typeof o) {
                                    (f.callback = null), (d = f.priorityLevel);
                                    var l = o(f.expirationTime <= r);
                                    (r = t.unstable_now()), "function" == typeof l ? (f.callback = l) : f === n(u) && i(u), E(r);
                                } else i(u);
                                f = n(u);
                            }
                            if (null !== f) var s = !0;
                            else {
                                var h = n(c);
                                null !== h && W(y, h.startTime - r), (s = !1);
                            }
                            return s;
                        } finally {
                            (f = null), (d = a), (g = !1);
                        }
                    }
                    "undefined" != typeof navigator && void 0 !== navigator.scheduling && void 0 !== navigator.scheduling.isInputPending && navigator.scheduling.isInputPending.bind(navigator.scheduling);
                    var A,
                        S = !1,
                        b = null,
                        Q = -1,
                        k = 5,
                        x = -1;
                    function O() {
                        return !(t.unstable_now() - x < k);
                    }
                    function B() {
                        if (null !== b) {
                            var e = t.unstable_now();
                            x = e;
                            var r = !0;
                            try {
                                r = b(!0, e);
                            } finally {
                                r ? A() : ((S = !1), (b = null));
                            }
                        } else S = !1;
                    }
                    if ("function" == typeof v)
                        A = function () {
                            v(B);
                        };
                    else if ("undefined" != typeof MessageChannel) {
                        var F = new MessageChannel(),
                            L = F.port2;
                        (F.port1.onmessage = B),
                            (A = function () {
                                L.postMessage(null);
                            });
                    } else
                        A = function () {
                            I(B, 0);
                        };
                    function j(e) {
                        (b = e), S || ((S = !0), A());
                    }
                    function W(e, r) {
                        Q = I(function () {
                            e(t.unstable_now());
                        }, r);
                    }
                    (t.unstable_IdlePriority = 5),
                        (t.unstable_ImmediatePriority = 1),
                        (t.unstable_LowPriority = 4),
                        (t.unstable_NormalPriority = 3),
                        (t.unstable_Profiling = null),
                        (t.unstable_UserBlockingPriority = 2),
                        (t.unstable_cancelCallback = function (e) {
                            e.callback = null;
                        }),
                        (t.unstable_continueExecution = function () {
                            C || g || ((C = !0), j(w));
                        }),
                        (t.unstable_forceFrameRate = function (e) {
                            0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : (k = 0 < e ? Math.floor(1e3 / e) : 5);
                        }),
                        (t.unstable_getCurrentPriorityLevel = function () {
                            return d;
                        }),
                        (t.unstable_getFirstCallbackNode = function () {
                            return n(u);
                        }),
                        (t.unstable_next = function (e) {
                            switch (d) {
                                case 1:
                                case 2:
                                case 3:
                                    var t = 3;
                                    break;
                                default:
                                    t = d;
                            }
                            var r = d;
                            d = t;
                            try {
                                return e();
                            } finally {
                                d = r;
                            }
                        }),
                        (t.unstable_pauseExecution = function () {}),
                        (t.unstable_requestPaint = function () {}),
                        (t.unstable_runWithPriority = function (e, t) {
                            switch (e) {
                                case 1:
                                case 2:
                                case 3:
                                case 4:
                                case 5:
                                    break;
                                default:
                                    e = 3;
                            }
                            var r = d;
                            d = e;
                            try {
                                return t();
                            } finally {
                                d = r;
                            }
                        }),
                        (t.unstable_scheduleCallback = function (e, i, a) {
                            var o = t.unstable_now();
                            switch (("object" == typeof a && null !== a ? (a = "number" == typeof (a = a.delay) && 0 < a ? o + a : o) : (a = o), e)) {
                                case 1:
                                    var l = -1;
                                    break;
                                case 2:
                                    l = 250;
                                    break;
                                case 5:
                                    l = 1073741823;
                                    break;
                                case 4:
                                    l = 1e4;
                                    break;
                                default:
                                    l = 5e3;
                            }
                            return (
                                (e = { id: h++, callback: i, priorityLevel: e, startTime: a, expirationTime: (l = a + l), sortIndex: -1 }),
                                a > o ? ((e.sortIndex = a), r(c, e), null === n(u) && e === n(c) && (p ? (m(Q), (Q = -1)) : (p = !0), W(y, a - o))) : ((e.sortIndex = l), r(u, e), C || g || ((C = !0), j(w))),
                                e
                            );
                        }),
                        (t.unstable_shouldYield = O),
                        (t.unstable_wrapCallback = function (e) {
                            var t = d;
                            return function () {
                                var r = d;
                                d = t;
                                try {
                                    return e.apply(this, arguments);
                                } finally {
                                    d = r;
                                }
                            };
                        });
                },
                "../../node_modules/scheduler/index.js": function (e, t, r) {
                    "use strict";
                    e.exports = r("../../node_modules/scheduler/cjs/scheduler.production.min.js");
                },
                "../../node_modules/ua-parser-js/dist/ua-parser.min.js": function (e, t, r) {
                    var n;
                    !(function (i, a) {
                        "use strict";
                        var o = "function",
                            l = "undefined",
                            s = "object",
                            u = "string",
                            c = "major",
                            h = "model",
                            f = "name",
                            d = "type",
                            g = "vendor",
                            C = "version",
                            p = "architecture",
                            I = "console",
                            m = "mobile",
                            v = "tablet",
                            E = "smarttv",
                            y = "wearable",
                            w = "embedded",
                            A = "Amazon",
                            S = "Apple",
                            b = "ASUS",
                            Q = "BlackBerry",
                            k = "Browser",
                            x = "Chrome",
                            O = "Firefox",
                            B = "Google",
                            F = "Huawei",
                            L = "LG",
                            j = "Microsoft",
                            W = "Motorola",
                            R = "Opera",
                            Y = "Samsung",
                            D = "Sharp",
                            K = "Sony",
                            P = "Xiaomi",
                            G = "Zebra",
                            M = "Facebook",
                            U = "Chromium OS",
                            N = "Mac OS",
                            V = function (e) {
                                for (var t = {}, r = 0; r < e.length; r++) t[e[r].toUpperCase()] = e[r];
                                return t;
                            },
                            T = function (e, t) {
                                return typeof e === u && -1 !== H(t).indexOf(H(e));
                            },
                            H = function (e) {
                                return e.toLowerCase();
                            },
                            z = function (e, t) {
                                if (typeof e === u) return (e = e.replace(/^\s\s*/, "")), typeof t === l ? e : e.substring(0, 350);
                            },
                            J = function (e, t) {
                                for (var r, n, i, l, u, c, h = 0; h < t.length && !u; ) {
                                    var f = t[h],
                                        d = t[h + 1];
                                    for (r = n = 0; r < f.length && !u && f[r]; )
                                        if ((u = f[r++].exec(e)))
                                            for (i = 0; i < d.length; i++)
                                                (c = u[++n]),
                                                    typeof (l = d[i]) === s && l.length > 0
                                                        ? 2 === l.length
                                                            ? typeof l[1] == o
                                                                ? (this[l[0]] = l[1].call(this, c))
                                                                : (this[l[0]] = l[1])
                                                            : 3 === l.length
                                                            ? typeof l[1] !== o || (l[1].exec && l[1].test)
                                                                ? (this[l[0]] = c ? c.replace(l[1], l[2]) : a)
                                                                : (this[l[0]] = c ? l[1].call(this, c, l[2]) : a)
                                                            : 4 === l.length && (this[l[0]] = c ? l[3].call(this, c.replace(l[1], l[2])) : a)
                                                        : (this[l] = c || a);
                                    h += 2;
                                }
                            },
                            Z = function (e, t) {
                                for (var r in t)
                                    if (typeof t[r] === s && t[r].length > 0) {
                                        for (var n = 0; n < t[r].length; n++) if (T(t[r][n], e)) return "?" === r ? a : r;
                                    } else if (T(t[r], e)) return "?" === r ? a : r;
                                return e;
                            },
                            q = { ME: "4.90", "NT 3.11": "NT3.51", "NT 4.0": "NT4.0", 2e3: "NT 5.0", XP: ["NT 5.1", "NT 5.2"], Vista: "NT 6.0", 7: "NT 6.1", 8: "NT 6.2", 8.1: "NT 6.3", 10: ["NT 6.4", "NT 10.0"], RT: "ARM" },
                            X = {
                                browser: [
                                    [/\b(?:crmo|crios)\/([\w\.]+)/i],
                                    [C, [f, "Chrome"]],
                                    [/edg(?:e|ios|a)?\/([\w\.]+)/i],
                                    [C, [f, "Edge"]],
                                    [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],
                                    [f, C],
                                    [/opios[\/ ]+([\w\.]+)/i],
                                    [C, [f, R + " Mini"]],
                                    [/\bopr\/([\w\.]+)/i],
                                    [C, [f, R]],
                                    [
                                        /(kindle)\/([\w\.]+)/i,
                                        /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,
                                        /(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,
                                        /(ba?idubrowser)[\/ ]?([\w\.]+)/i,
                                        /(?:ms|\()(ie) ([\w\.]+)/i,
                                        /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,
                                        /(heytap|ovi)browser\/([\d\.]+)/i,
                                        /(weibo)__([\d\.]+)/i,
                                    ],
                                    [f, C],
                                    [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],
                                    [C, [f, "UC" + k]],
                                    [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i],
                                    [C, [f, "WeChat(Win) Desktop"]],
                                    [/micromessenger\/([\w\.]+)/i],
                                    [C, [f, "WeChat"]],
                                    [/konqueror\/([\w\.]+)/i],
                                    [C, [f, "Konqueror"]],
                                    [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],
                                    [C, [f, "IE"]],
                                    [/ya(?:search)?browser\/([\w\.]+)/i],
                                    [C, [f, "Yandex"]],
                                    [/(avast|avg)\/([\w\.]+)/i],
                                    [[f, /(.+)/, "$1 Secure " + k], C],
                                    [/\bfocus\/([\w\.]+)/i],
                                    [C, [f, O + " Focus"]],
                                    [/\bopt\/([\w\.]+)/i],
                                    [C, [f, R + " Touch"]],
                                    [/coc_coc\w+\/([\w\.]+)/i],
                                    [C, [f, "Coc Coc"]],
                                    [/dolfin\/([\w\.]+)/i],
                                    [C, [f, "Dolphin"]],
                                    [/coast\/([\w\.]+)/i],
                                    [C, [f, R + " Coast"]],
                                    [/miuibrowser\/([\w\.]+)/i],
                                    [C, [f, "MIUI " + k]],
                                    [/fxios\/([-\w\.]+)/i],
                                    [C, [f, O]],
                                    [/\bqihu|(qi?ho?o?|360)browser/i],
                                    [[f, "360 " + k]],
                                    [/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],
                                    [[f, /(.+)/, "$1 " + k], C],
                                    [/(comodo_dragon)\/([\w\.]+)/i],
                                    [[f, /_/g, " "], C],
                                    [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],
                                    [f, C],
                                    [/(metasr)[\/ ]?([\w\.]+)/i, /(lbbrowser)/i, /\[(linkedin)app\]/i],
                                    [f],
                                    [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],
                                    [[f, M], C],
                                    [/(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],
                                    [f, C],
                                    [/\bgsa\/([\w\.]+) .*safari\//i],
                                    [C, [f, "GSA"]],
                                    [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],
                                    [C, [f, "TikTok"]],
                                    [/headlesschrome(?:\/([\w\.]+)| )/i],
                                    [C, [f, x + " Headless"]],
                                    [/ wv\).+(chrome)\/([\w\.]+)/i],
                                    [[f, x + " WebView"], C],
                                    [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],
                                    [C, [f, "Android " + k]],
                                    [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],
                                    [f, C],
                                    [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],
                                    [C, [f, "Mobile Safari"]],
                                    [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],
                                    [C, f],
                                    [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],
                                    [f, [C, Z, { "1.0": "/8", 1.2: "/1", 1.3: "/3", "2.0": "/412", "2.0.2": "/416", "2.0.3": "/417", "2.0.4": "/419", "?": "/" }]],
                                    [/(webkit|khtml)\/([\w\.]+)/i],
                                    [f, C],
                                    [/(navigator|netscape\d?)\/([-\w\.]+)/i],
                                    [[f, "Netscape"], C],
                                    [/mobile vr; rv:([\w\.]+)\).+firefox/i],
                                    [C, [f, O + " Reality"]],
                                    [
                                        /ekiohf.+(flow)\/([\w\.]+)/i,
                                        /(swiftfox)/i,
                                        /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,
                                        /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,
                                        /(firefox)\/([\w\.]+)/i,
                                        /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,
                                        /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,
                                        /(links) \(([\w\.]+)/i,
                                        /panasonic;(viera)/i,
                                    ],
                                    [f, C],
                                    [/(cobalt)\/([\w\.]+)/i],
                                    [f, [C, /master.|lts./, ""]],
                                ],
                                cpu: [
                                    [/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],
                                    [[p, "amd64"]],
                                    [/(ia32(?=;))/i],
                                    [[p, H]],
                                    [/((?:i[346]|x)86)[;\)]/i],
                                    [[p, "ia32"]],
                                    [/\b(aarch64|arm(v?8e?l?|_?64))\b/i],
                                    [[p, "arm64"]],
                                    [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],
                                    [[p, "armhf"]],
                                    [/windows (ce|mobile); ppc;/i],
                                    [[p, "arm"]],
                                    [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],
                                    [[p, /ower/, "", H]],
                                    [/(sun4\w)[;\)]/i],
                                    [[p, "sparc"]],
                                    [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],
                                    [[p, H]],
                                ],
                                device: [
                                    [/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],
                                    [h, [g, Y], [d, v]],
                                    [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i],
                                    [h, [g, Y], [d, m]],
                                    [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],
                                    [h, [g, S], [d, m]],
                                    [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i],
                                    [h, [g, S], [d, v]],
                                    [/(macintosh);/i],
                                    [h, [g, S]],
                                    [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],
                                    [h, [g, D], [d, m]],
                                    [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],
                                    [h, [g, F], [d, v]],
                                    [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],
                                    [h, [g, F], [d, m]],
                                    [
                                        /\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,
                                        /\b; (\w+) build\/hm\1/i,
                                        /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,
                                        /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,
                                        /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i,
                                    ],
                                    [
                                        [h, /_/g, " "],
                                        [g, P],
                                        [d, m],
                                    ],
                                    [/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],
                                    [
                                        [h, /_/g, " "],
                                        [g, P],
                                        [d, v],
                                    ],
                                    [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],
                                    [h, [g, "OPPO"], [d, m]],
                                    [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i],
                                    [h, [g, "Vivo"], [d, m]],
                                    [/\b(rmx[12]\d{3})(?: bui|;|\))/i],
                                    [h, [g, "Realme"], [d, m]],
                                    [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],
                                    [h, [g, W], [d, m]],
                                    [/\b(mz60\d|xoom[2 ]{0,2}) build\//i],
                                    [h, [g, W], [d, v]],
                                    [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],
                                    [h, [g, L], [d, v]],
                                    [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i],
                                    [h, [g, L], [d, m]],
                                    [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],
                                    [h, [g, "Lenovo"], [d, v]],
                                    [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i],
                                    [
                                        [h, /_/g, " "],
                                        [g, "Nokia"],
                                        [d, m],
                                    ],
                                    [/(pixel c)\b/i],
                                    [h, [g, B], [d, v]],
                                    [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],
                                    [h, [g, B], [d, m]],
                                    [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],
                                    [h, [g, K], [d, m]],
                                    [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i],
                                    [
                                        [h, "Xperia Tablet"],
                                        [g, K],
                                        [d, v],
                                    ],
                                    [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],
                                    [h, [g, "OnePlus"], [d, m]],
                                    [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i],
                                    [h, [g, A], [d, v]],
                                    [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],
                                    [
                                        [h, /(.+)/g, "Fire Phone $1"],
                                        [g, A],
                                        [d, m],
                                    ],
                                    [/(playbook);[-\w\),; ]+(rim)/i],
                                    [h, g, [d, v]],
                                    [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i],
                                    [h, [g, Q], [d, m]],
                                    [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],
                                    [h, [g, b], [d, v]],
                                    [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],
                                    [h, [g, b], [d, m]],
                                    [/(nexus 9)/i],
                                    [h, [g, "HTC"], [d, v]],
                                    [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],
                                    [g, [h, /_/g, " "], [d, m]],
                                    [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],
                                    [h, [g, "Acer"], [d, v]],
                                    [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i],
                                    [h, [g, "Meizu"], [d, m]],
                                    [
                                        /(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,
                                        /(hp) ([\w ]+\w)/i,
                                        /(asus)-?(\w+)/i,
                                        /(microsoft); (lumia[\w ]+)/i,
                                        /(lenovo)[-_ ]?([-\w]+)/i,
                                        /(jolla)/i,
                                        /(oppo) ?([\w ]+) bui/i,
                                    ],
                                    [g, h, [d, m]],
                                    [
                                        /(kobo)\s(ereader|touch)/i,
                                        /(archos) (gamepad2?)/i,
                                        /(hp).+(touchpad(?!.+tablet)|tablet)/i,
                                        /(kindle)\/([\w\.]+)/i,
                                        /(nook)[\w ]+build\/(\w+)/i,
                                        /(dell) (strea[kpr\d ]*[\dko])/i,
                                        /(le[- ]+pan)[- ]+(\w{1,9}) bui/i,
                                        /(trinity)[- ]*(t\d{3}) bui/i,
                                        /(gigaset)[- ]+(q\w{1,9}) bui/i,
                                        /(vodafone) ([\w ]+)(?:\)| bui)/i,
                                    ],
                                    [g, h, [d, v]],
                                    [/(surface duo)/i],
                                    [h, [g, j], [d, v]],
                                    [/droid [\d\.]+; (fp\du?)(?: b|\))/i],
                                    [h, [g, "Fairphone"], [d, m]],
                                    [/(u304aa)/i],
                                    [h, [g, "AT&T"], [d, m]],
                                    [/\bsie-(\w*)/i],
                                    [h, [g, "Siemens"], [d, m]],
                                    [/\b(rct\w+) b/i],
                                    [h, [g, "RCA"], [d, v]],
                                    [/\b(venue[\d ]{2,7}) b/i],
                                    [h, [g, "Dell"], [d, v]],
                                    [/\b(q(?:mv|ta)\w+) b/i],
                                    [h, [g, "Verizon"], [d, v]],
                                    [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],
                                    [h, [g, "Barnes & Noble"], [d, v]],
                                    [/\b(tm\d{3}\w+) b/i],
                                    [h, [g, "NuVision"], [d, v]],
                                    [/\b(k88) b/i],
                                    [h, [g, "ZTE"], [d, v]],
                                    [/\b(nx\d{3}j) b/i],
                                    [h, [g, "ZTE"], [d, m]],
                                    [/\b(gen\d{3}) b.+49h/i],
                                    [h, [g, "Swiss"], [d, m]],
                                    [/\b(zur\d{3}) b/i],
                                    [h, [g, "Swiss"], [d, v]],
                                    [/\b((zeki)?tb.*\b) b/i],
                                    [h, [g, "Zeki"], [d, v]],
                                    [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i],
                                    [[g, "Dragon Touch"], h, [d, v]],
                                    [/\b(ns-?\w{0,9}) b/i],
                                    [h, [g, "Insignia"], [d, v]],
                                    [/\b((nxa|next)-?\w{0,9}) b/i],
                                    [h, [g, "NextBook"], [d, v]],
                                    [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],
                                    [[g, "Voice"], h, [d, m]],
                                    [/\b(lvtel\-)?(v1[12]) b/i],
                                    [[g, "LvTel"], h, [d, m]],
                                    [/\b(ph-1) /i],
                                    [h, [g, "Essential"], [d, m]],
                                    [/\b(v(100md|700na|7011|917g).*\b) b/i],
                                    [h, [g, "Envizen"], [d, v]],
                                    [/\b(trio[-\w\. ]+) b/i],
                                    [h, [g, "MachSpeed"], [d, v]],
                                    [/\btu_(1491) b/i],
                                    [h, [g, "Rotor"], [d, v]],
                                    [/(shield[\w ]+) b/i],
                                    [h, [g, "Nvidia"], [d, v]],
                                    [/(sprint) (\w+)/i],
                                    [g, h, [d, m]],
                                    [/(kin\.[onetw]{3})/i],
                                    [
                                        [h, /\./g, " "],
                                        [g, j],
                                        [d, m],
                                    ],
                                    [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],
                                    [h, [g, G], [d, v]],
                                    [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],
                                    [h, [g, G], [d, m]],
                                    [/smart-tv.+(samsung)/i],
                                    [g, [d, E]],
                                    [/hbbtv.+maple;(\d+)/i],
                                    [
                                        [h, /^/, "SmartTV"],
                                        [g, Y],
                                        [d, E],
                                    ],
                                    [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],
                                    [
                                        [g, L],
                                        [d, E],
                                    ],
                                    [/(apple) ?tv/i],
                                    [g, [h, S + " TV"], [d, E]],
                                    [/crkey/i],
                                    [
                                        [h, x + "cast"],
                                        [g, B],
                                        [d, E],
                                    ],
                                    [/droid.+aft(\w+)( bui|\))/i],
                                    [h, [g, A], [d, E]],
                                    [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i],
                                    [h, [g, D], [d, E]],
                                    [/(bravia[\w ]+)( bui|\))/i],
                                    [h, [g, K], [d, E]],
                                    [/(mitv-\w{5}) bui/i],
                                    [h, [g, P], [d, E]],
                                    [/Hbbtv.*(technisat) (.*);/i],
                                    [g, h, [d, E]],
                                    [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],
                                    [
                                        [g, z],
                                        [h, z],
                                        [d, E],
                                    ],
                                    [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],
                                    [[d, E]],
                                    [/(ouya)/i, /(nintendo) ([wids3utch]+)/i],
                                    [g, h, [d, I]],
                                    [/droid.+; (shield) bui/i],
                                    [h, [g, "Nvidia"], [d, I]],
                                    [/(playstation [345portablevi]+)/i],
                                    [h, [g, K], [d, I]],
                                    [/\b(xbox(?: one)?(?!; xbox))[\); ]/i],
                                    [h, [g, j], [d, I]],
                                    [/((pebble))app/i],
                                    [g, h, [d, y]],
                                    [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],
                                    [h, [g, S], [d, y]],
                                    [/droid.+; (glass) \d/i],
                                    [h, [g, B], [d, y]],
                                    [/droid.+; (wt63?0{2,3})\)/i],
                                    [h, [g, G], [d, y]],
                                    [/(quest( 2| pro)?)/i],
                                    [h, [g, M], [d, y]],
                                    [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],
                                    [g, [d, w]],
                                    [/(aeobc)\b/i],
                                    [h, [g, A], [d, w]],
                                    [/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],
                                    [h, [d, m]],
                                    [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],
                                    [h, [d, v]],
                                    [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],
                                    [[d, v]],
                                    [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],
                                    [[d, m]],
                                    [/(android[-\w\. ]{0,9});.+buil/i],
                                    [h, [g, "Generic"]],
                                ],
                                engine: [
                                    [/windows.+ edge\/([\w\.]+)/i],
                                    [C, [f, "EdgeHTML"]],
                                    [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],
                                    [C, [f, "Blink"]],
                                    [
                                        /(presto)\/([\w\.]+)/i,
                                        /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,
                                        /ekioh(flow)\/([\w\.]+)/i,
                                        /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,
                                        /(icab)[\/ ]([23]\.[\d\.]+)/i,
                                        /\b(libweb)/i,
                                    ],
                                    [f, C],
                                    [/rv\:([\w\.]{1,9})\b.+(gecko)/i],
                                    [C, f],
                                ],
                                os: [
                                    [/microsoft (windows) (vista|xp)/i],
                                    [f, C],
                                    [/(windows) nt 6\.2; (arm)/i, /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i, /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],
                                    [f, [C, Z, q]],
                                    [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],
                                    [
                                        [f, "Windows"],
                                        [C, Z, q],
                                    ],
                                    [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i],
                                    [
                                        [C, /_/g, "."],
                                        [f, "iOS"],
                                    ],
                                    [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i],
                                    [
                                        [f, N],
                                        [C, /_/g, "."],
                                    ],
                                    [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],
                                    [C, f],
                                    [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i],
                                    [f, C],
                                    [/\(bb(10);/i],
                                    [C, [f, Q]],
                                    [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],
                                    [C, [f, "Symbian"]],
                                    [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],
                                    [C, [f, O + " OS"]],
                                    [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],
                                    [C, [f, "webOS"]],
                                    [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],
                                    [C, [f, "watchOS"]],
                                    [/crkey\/([\d\.]+)/i],
                                    [C, [f, x + "cast"]],
                                    [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],
                                    [[f, U], C],
                                    [
                                        /panasonic;(viera)/i,
                                        /(netrange)mmh/i,
                                        /(nettv)\/(\d+\.[\w\.]+)/i,
                                        /(nintendo|playstation) ([wids345portablevuch]+)/i,
                                        /(xbox); +xbox ([^\);]+)/i,
                                        /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,
                                        /(mint)[\/\(\) ]?(\w*)/i,
                                        /(mageia|vectorlinux)[; ]/i,
                                        /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,
                                        /(hurd|linux) ?([\w\.]*)/i,
                                        /(gnu) ?([\w\.]*)/i,
                                        /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,
                                        /(haiku) (\w+)/i,
                                    ],
                                    [f, C],
                                    [/(sunos) ?([\w\.\d]*)/i],
                                    [[f, "Solaris"], C],
                                    [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i],
                                    [f, C],
                                ],
                            },
                            _ = function e(t, r) {
                                if ((typeof t === s && ((r = t), (t = a)), !(this instanceof e))) return new e(t, r).getResult();
                                var n = typeof i !== l && i.navigator ? i.navigator : a,
                                    I = t || (n && n.userAgent ? n.userAgent : ""),
                                    E = n && n.userAgentData ? n.userAgentData : a,
                                    y = r
                                        ? (function (e, t) {
                                              var r = {};
                                              for (var n in e) t[n] && t[n].length % 2 == 0 ? (r[n] = t[n].concat(e[n])) : (r[n] = e[n]);
                                              return r;
                                          })(X, r)
                                        : X,
                                    w = n && n.userAgent == I;
                                return (
                                    (this.getBrowser = function () {
                                        var e,
                                            t = {};
                                        return (
                                            (t[f] = a),
                                            (t[C] = a),
                                            J.call(t, I, y.browser),
                                            (t[c] = typeof (e = t[C]) === u ? e.replace(/[^\d\.]/g, "").split(".")[0] : a),
                                            w && n && n.brave && typeof n.brave.isBrave == o && (t[f] = "Brave"),
                                            t
                                        );
                                    }),
                                    (this.getCPU = function () {
                                        var e = {};
                                        return (e[p] = a), J.call(e, I, y.cpu), e;
                                    }),
                                    (this.getDevice = function () {
                                        var e = {};
                                        return (
                                            (e[g] = a),
                                            (e[h] = a),
                                            (e[d] = a),
                                            J.call(e, I, y.device),
                                            w && !e[d] && E && E.mobile && (e[d] = m),
                                            w && "Macintosh" == e[h] && n && typeof n.standalone !== l && n.maxTouchPoints && n.maxTouchPoints > 2 && ((e[h] = "iPad"), (e[d] = v)),
                                            e
                                        );
                                    }),
                                    (this.getEngine = function () {
                                        var e = {};
                                        return (e[f] = a), (e[C] = a), J.call(e, I, y.engine), e;
                                    }),
                                    (this.getOS = function () {
                                        var e = {};
                                        return (e[f] = a), (e[C] = a), J.call(e, I, y.os), w && !e[f] && E && "Unknown" != E.platform && (e[f] = E.platform.replace(/chrome os/i, U).replace(/macos/i, N)), e;
                                    }),
                                    (this.getResult = function () {
                                        return { ua: this.getUA(), browser: this.getBrowser(), engine: this.getEngine(), os: this.getOS(), device: this.getDevice(), cpu: this.getCPU() };
                                    }),
                                    (this.getUA = function () {
                                        return I;
                                    }),
                                    (this.setUA = function (e) {
                                        return (I = typeof e === u && e.length > 350 ? z(e, 350) : e), this;
                                    }),
                                    this.setUA(I),
                                    this
                                );
                            };
                        (_.VERSION = "1.0.36"),
                            (_.BROWSER = V([f, C, c])),
                            (_.CPU = V([p])),
                            (_.DEVICE = V([h, g, d, I, m, E, v, y, w])),
                            (_.ENGINE = _.OS = V([f, C])),
                            typeof t !== l
                                ? (e.exports && (t = e.exports = _), (t.UAParser = _))
                                : r.amdO
                                ? (n = function () {
                                      return _;
                                  }.call(t, r, t, e)) === a || (e.exports = n)
                                : typeof i !== l && (i.UAParser = _);
                        var $ = typeof i !== l && (i.jQuery || i.Zepto);
                        if ($ && !$.ua) {
                            var ee = new _();
                            ($.ua = ee.getResult()),
                                ($.ua.get = function () {
                                    return ee.getUA();
                                }),
                                ($.ua.set = function (e) {
                                    ee.setUA(e);
                                    var t = ee.getResult();
                                    for (var r in t) $.ua[r] = t[r];
                                });
                        }
                    })("object" == typeof window ? window : this);
                },
                "../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/react/index.js");
                    var i =
                            "function" == typeof Object.is
                                ? Object.is
                                : function (e, t) {
                                      return (e === t && (0 !== e || 1 / e == 1 / t)) || (e != e && t != t);
                                  },
                        a = n.useState,
                        o = n.useEffect,
                        l = n.useLayoutEffect,
                        s = n.useDebugValue;
                    function u(e) {
                        var t = e.getSnapshot;
                        e = e.value;
                        try {
                            var r = t();
                            return !i(e, r);
                        } catch (n) {
                            return !0;
                        }
                    }
                    var c =
                        "undefined" == typeof window || void 0 === window.document || void 0 === window.document.createElement
                            ? function (e, t) {
                                  return t();
                              }
                            : function (e, t) {
                                  var r = t(),
                                      n = a({ inst: { value: r, getSnapshot: t } }),
                                      i = n[0].inst,
                                      c = n[1];
                                  return (
                                      l(
                                          function () {
                                              (i.value = r), (i.getSnapshot = t), u(i) && c({ inst: i });
                                          },
                                          [e, r, t]
                                      ),
                                      o(
                                          function () {
                                              return (
                                                  u(i) && c({ inst: i }),
                                                  e(function () {
                                                      u(i) && c({ inst: i });
                                                  })
                                              );
                                          },
                                          [e]
                                      ),
                                      s(r),
                                      r
                                  );
                              };
                    t.useSyncExternalStore = void 0 !== n.useSyncExternalStore ? n.useSyncExternalStore : c;
                },
                "../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/react/index.js"),
                        i = r("../../node_modules/use-sync-external-store/shim/index.js");
                    var a =
                            "function" == typeof Object.is
                                ? Object.is
                                : function (e, t) {
                                      return (e === t && (0 !== e || 1 / e == 1 / t)) || (e != e && t != t);
                                  },
                        o = i.useSyncExternalStore,
                        l = n.useRef,
                        s = n.useEffect,
                        u = n.useMemo,
                        c = n.useDebugValue;
                    t.useSyncExternalStoreWithSelector = function (e, t, r, n, i) {
                        var h = l(null);
                        if (null === h.current) {
                            var f = { hasValue: !1, value: null };
                            h.current = f;
                        } else f = h.current;
                        h = u(
                            function () {
                                function e(e) {
                                    if (!s) {
                                        if (((s = !0), (o = e), (e = n(e)), void 0 !== i && f.hasValue)) {
                                            var t = f.value;
                                            if (i(t, e)) return (l = t);
                                        }
                                        return (l = e);
                                    }
                                    if (((t = l), a(o, e))) return t;
                                    var r = n(e);
                                    return void 0 !== i && i(t, r) ? t : ((o = e), (l = r));
                                }
                                var o,
                                    l,
                                    s = !1,
                                    u = void 0 === r ? null : r;
                                return [
                                    function () {
                                        return e(t());
                                    },
                                    null === u
                                        ? void 0
                                        : function () {
                                              return e(u());
                                          },
                                ];
                            },
                            [t, r, n, i]
                        );
                        var d = o(e, h[0], h[1]);
                        return (
                            s(
                                function () {
                                    (f.hasValue = !0), (f.value = d);
                                },
                                [d]
                            ),
                            c(d),
                            d
                        );
                    };
                },
                "../../node_modules/use-sync-external-store/shim/index.js": function (e, t, r) {
                    "use strict";
                    e.exports = r("../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js");
                },
                "../../node_modules/use-sync-external-store/shim/with-selector.js": function (e, t, r) {
                    "use strict";
                    e.exports = r("../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js");
                },
                "../../common/components/webcamera/style.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        ".xl44rW4kuSyU533NCnrj {\n    flex: 1;\n}\n\nvideo {\n    background-color: white;\n    width: 100%;\n    height: 100%;\n    object-fit: contain;\n    transform: scaleX(-1);\n}\n\n.NRBs5Nn9pHvgApyzPFB3 {\n    transform: scaleX(1);\n}\n",
                        "",
                    ]),
                        (o.locals = { container: "xl44rW4kuSyU533NCnrj", mirroring: "NRBs5Nn9pHvgApyzPFB3" }),
                        (t.Z = o);
                },
                "./src/components/button/style.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        ".dHptwDDouGzZNOwkN7ic {\n    display: inline-flex;\n    align-items: center;\n    justify-content: center;\n    border: none;\n    margin: 0;\n    padding: 0;\n    background: var(--onboarding-screen-start-button-background);\n    cursor: pointer;\n    text-align: center;\n    text-decoration: none;\n    font-family: var(--font-family);\n    font-size: 1em;\n    font-weight: normal;\n    color: var(--onboarding-screen-start-button-title);\n    appearance: none;\n    height: 42px;\n    flex-shrink: 0;\n    width: 180px;\n    border-radius: 20px;\n    transition: background 250ms ease-in-out, transform 150ms ease;\n}\n\n.dHptwDDouGzZNOwkN7ic:hover {\n    background: var(--onboarding-screen-start-button-background-hover);\n    color: var(--onboarding-screen-start-button-title-hover);\n}\n\n.dHptwDDouGzZNOwkN7ic:active {\n    background: var(--onboarding-screen-start-button-background);\n}\n",
                        "",
                    ]),
                        (o.locals = { button: "dHptwDDouGzZNOwkN7ic" }),
                        (t.Z = o);
                },
                "./src/components/camera-capture/style.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        ".Exy9LZ4IfsBkfmWNRx4P {\n    display: flex;\n    width: 100%;\n    height: 100%;\n    position: relative;\n    color: white;\n}\n\nbutton:focus {\n    outline: none;\n}\n\n\n.j32N4aUHVIPozuL8KaJR {\n    position: absolute;\n    top: 0;\n    left: 0;\n}\n\n.JIZfxdF5hIjsNb_acRzZ {\n    transform: scaleX(-1);\n}\n",
                        "",
                    ]),
                        (o.locals = { container: "Exy9LZ4IfsBkfmWNRx4P", "debug-canvas": "j32N4aUHVIPozuL8KaJR", "mirror-x": "JIZfxdF5hIjsNb_acRzZ" }),
                        (t.Z = o);
                },
                "./src/components/container/style.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        "*,\n*::before,\n*::after {\n    box-sizing: border-box;\n}\n\n.Id5wCbNRwOQKecr226wA {\n    width: 100%;\n    height: 360px;\n    position: relative;\n    background: transparent;\n    overflow: hidden;\n    box-shadow: ;\n    color: white;\n    -webkit-backface-visibility: hidden;\n    -moz-backface-visibility: hidden;\n    -webkit-transform: translate3d(0, 0, 0);\n    -moz-transform: translate3d(0, 0, 0);\n    font-family: var(--font-family);\n    font-size: var(--font-size);\n    margin: 0 auto;\n    border-radius: 16px;\n}\n\n/** if desktop camera angle 90 deg */\n.QwloF93CX8rEuwEXMP3S {\n    width: 360px !important;\n    height: 640px !important;\n}\n\n.Id5wCbNRwOQKecr226wA[data-direction='rtl'] {\n    direction: rtl;\n}\n\n.Id5wCbNRwOQKecr226wA[data-direction='ltr'] {\n    direction: ltr;\n}\n\n.Id5wCbNRwOQKecr226wA[data-device='mobile'] {\n    width: 100%;\n   min-height: 360px;\n}\n\n.ddOP01Ag5Ei5sMnIPsPw {\n    position: absolute;\n    top: 0;\n    right: 0;\n    display: flex;\n    justify-content: flex-end;\n    padding: 16px;\n display:none !important;}\n\ndiv[data-direction='rtl'] .ddOP01Ag5Ei5sMnIPsPw {\n    left: 0;\n}\n\ndiv[data-direction='ltr'] .ddOP01Ag5Ei5sMnIPsPw {\n    right: 0;\n}\n\n.ddOP01Ag5Ei5sMnIPsPw button, .jLC5XiJgjYEyi_zPJWyA button {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    border: none;\n    padding: 0;\n    margin: 0;\n    text-decoration: none;\n    background: none;\n    cursor: pointer;\n    text-align: center;\n    transition: background 250ms ease-in-out, transform 150ms ease;\n    appearance: none;\n}\n\n.jLC5XiJgjYEyi_zPJWyA {\n    position: absolute;\n    bottom: 0;\n    padding: 0 16px 13px;\n    display: flex;\n    align-items: center;\n}\n\ndiv[data-device='mobile'] .jLC5XiJgjYEyi_zPJWyA {\n    left: 50%;\n    transform: translate(-50%, 0);\n}\n\ndiv[data-direction='rtl']:not([data-device='mobile']) .jLC5XiJgjYEyi_zPJWyA {\n    right: 0;\n}\n\ndiv[data-direction='ltr']:not([data-device='mobile']) .jLC5XiJgjYEyi_zPJWyA {\n    left: 0;\n}\n\n.NdiYGZWxA0wWOe0DzfPD {\n    display: flex;\n    align-items: center;\n}\n\n.NdiYGZWxA0wWOe0DzfPD span {\n    font-size: 10px;\n    line-height: 24px;\n    color: #8c8c8c;\n}\n\n.NdiYGZWxA0wWOe0DzfPD .WNwdRWoMESCAg7DGVscm {\n    margin: 0 6px;\n    opacity: 0.3;\n    height: 18px;\n    width: 1px;\n    background-color: #8c8c8c;\n}\n\n@media (max-width: 360px) {\n    .Id5wCbNRwOQKecr226wA[data-device='mobile'] {\n        width: 100%;\n    }\n}\n\n@media (max-height: 640px) {\n    .Id5wCbNRwOQKecr226wA[data-device='mobile'] {\n        height: 100%;\n    }\n}\n\n@media (max-width: 360px) and (max-height: 640px) {\n    .Id5wCbNRwOQKecr226wA[data-device='mobile'] {\n        border-radius: 0;\n    }\n}\n\n@media (max-width: 640px) {\n    .Id5wCbNRwOQKecr226wA[data-device='desktop'] {\n        width: 100%;\n        height: 100%;\n        border-radius: 0;\n    }\n}\n",
                        "",
                    ]),
                        (o.locals = { window: "Id5wCbNRwOQKecr226wA", windowRotate: "QwloF93CX8rEuwEXMP3S", header: "ddOP01Ag5Ei5sMnIPsPw", footer: "jLC5XiJgjYEyi_zPJWyA", ads: "NdiYGZWxA0wWOe0DzfPD", pipe: "WNwdRWoMESCAg7DGVscm" }),
                        (t.Z = o);
                },
                "./src/components/info-screen/style.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        ".JMdoQA9ULWKM2VihXM0K {\n    display: flex;\n    height: 100%;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n}\n\n.JMdoQA9ULWKM2VihXM0K .xtPFaUUDJQn27oKyWdk_ {\n    display: block;\n    padding-top: 0.875em;\n    font-size: 0.875em;\n    font-weight: normal;\n    line-height: 1.43em;\n    color: #444444;\n}\n\n.cfLyzmVLR0omr_N7Wgsn {\n    display: flex;\n    height: 100%;\n    flex-direction: column;\n    align-items: center;\n    justify-content: center;\n    padding: 0 1.5em;\n}\n\n.rIV0RuQs4THTh3iKcCMy {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    max-width: 350px;\n    word-break: break-word;\n}\n\n.rIV0RuQs4THTh3iKcCMy > svg {\n    margin-bottom: 1.12em;\n}\n\n.cfLyzmVLR0omr_N7Wgsn .esPd7UI8Kn7VZgTJnONk {\n    margin: 0 0 0.3em;\n    font-size: 1.25em;\n    font-weight: bold;\n    line-height: 1.4em;\n    color: #262626;\n    text-align: center;\n}\n\n.cfLyzmVLR0omr_N7Wgsn .LFOirrN3wPKBINkOxfSf {\n    margin: 0 0 0.2em;\n    font-style: normal;\n    font-size: 1em;\n    font-weight: normal;\n    line-height: 1.375em;\n    color: #262626;\n    text-align: center;\n}\n\n.cfLyzmVLR0omr_N7Wgsn .z3kmb87zrN37gYTabE0Y {\n    margin: 0 0 1.15em;\n    font-style: normal;\n    font-size: 0.9em;\n    font-weight: normal;\n    line-height: 1.375em;\n    color: #262626;\n    text-align: center;\n    opacity: 0.7;\n}\n\n.R3PP6dmxqakIWNEq5AuE {\n    width: 86px;\n    height: 86px;\n    background-image: var(--success-screen-image);\n    background-repeat: no-repeat;\n    background-size: contain;\n    background-position: center center;\n}\n",
                        "",
                    ]),
                        (o.locals = {
                            "process-message": "JMdoQA9ULWKM2VihXM0K",
                            message: "xtPFaUUDJQn27oKyWdk_",
                            "info-message": "cfLyzmVLR0omr_N7Wgsn",
                            "text-container": "rIV0RuQs4THTh3iKcCMy",
                            title: "esPd7UI8Kn7VZgTJnONk",
                            subtitle: "LFOirrN3wPKBINkOxfSf",
                            errorCode: "z3kmb87zrN37gYTabE0Y",
                            done: "R3PP6dmxqakIWNEq5AuE",
                        }),
                        (t.Z = o);
                },
                "./src/components/inscruction-screen/style.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        ".kc6Th9V4IWsJhWyus_bf {\n    display: flex;\n    height: 100%;\n    align-items: center;\n    justify-content: center;\n    flex-direction: column;\n    padding: 24px 16px 24px;\n}\n\ndiv[data-device='mobile'] .kc6Th9V4IWsJhWyus_bf {\n    justify-content: center;\n    padding: 20px;\n}\n\n.mkDLLiLtUdTRIsx_6mbY {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n    text-align: center;\n    color: black;\n    margin-bottom: 4px;\n}\n\ndiv[data-device='mobile'] .mkDLLiLtUdTRIsx_6mbY {\n    margin-bottom: 0;\n}\n\n.Ht2Jy7ePhlCAvY41RjEz {\n    margin-top: 0px;\n    margin-bottom: 34px;\n    font-size: 25px;\n    font-weight: 600;\n    color: black;\n    line-height: 1;\n}\n\ndiv[data-device='mobile'] .Ht2Jy7ePhlCAvY41RjEz {\n    margin-top: 0;\n    font-size: 24px;\n    margin-bottom: 25px;\n}\n\n.jNJCAhDcGs5XFeMmb15C {\n    font-size: 17px;\n    font-weight: 600;\n    text-align: center;\n    color: #262626;\n    line-height: 1.1;\n}\n\ndiv[data-device='mobile'] .jNJCAhDcGs5XFeMmb15C {\n    font-size: 22px;\n}\n\n.nSnjw_alZ2MY6x_aAQdc {\n    display: flex;\n    flex-direction: column;\n    width: 280px;\n    height: 100%;\n    align-items: center;\n}\n\ndiv[data-locale='en'] .nSnjw_alZ2MY6x_aAQdc {\n    width: 214px;\n}\n\ndiv[data-locale='es'] .nSnjw_alZ2MY6x_aAQdc {\n    width: 310px;\n}\n\ndiv[data-locale='de'] .nSnjw_alZ2MY6x_aAQdc {\n    width: 223px;\n}\n\ndiv[data-locale='fr'] .nSnjw_alZ2MY6x_aAQdc {\n    width: 285px;\n}\n\ndiv[data-device='mobile'] .nSnjw_alZ2MY6x_aAQdc {\n    justify-content: center;\n    width: 280px;\n}\n\n.MwKcN3iWS_15cKFrJdEJ {\n    display: flex;\n    align-items: center;\n    color: black;\n    font-size: 14px;\n    margin-bottom: 1px;\n    letter-spacing: 0.4px;\n}\n\ndiv[data-direction='ltr'] .MwKcN3iWS_15cKFrJdEJ {\n    text-align: left;\n}\n\ndiv[data-device='mobile'] .MwKcN3iWS_15cKFrJdEJ {\n    font-size: 18px;\n    letter-spacing: 0;\n    margin-bottom: 5px;\n}\n\ndiv[data-device='mobile'][data-locale='en'] .MwKcN3iWS_15cKFrJdEJ {\n    padding-right: 10px;\n}\n\n.Ah_qBB1jVLKIIWTPBBGr {\n    display: flex;\n    flex-direction: column;\n    margin-bottom: 25px;\n}\n\ndiv[data-device='mobile'] .Ah_qBB1jVLKIIWTPBBGr {\n    margin-bottom: 45px;\n    margin-top: 8px;\n    padding-left: 12px;\n}\n\n.O9EzubqNDShR5P5tjS5q {\n    margin-right: 9px;\n    flex: 0 0 43px;\n    height: 43px;\n    background-repeat: no-repeat;\n    background-position: center center;\n    background-size: contain;\n}\n\n.rRxO8cx3Xc2OxEtg3T6J {\n    background-image: var(--onboarding-screen-illumination);\n}\n\n.jnsqlKo7Ay08cdrm1s7p {\n    background-image: var(--onboarding-screen-accessories);\n}\n\n._29ndbYlsKQBp0VVLfNTK {\n    background-image: var(--onboarding-screen-camera-level);\n}\n\ndiv[data-device='mobile'] .O9EzubqNDShR5P5tjS5q {\n    margin-right: 8px;\n    flex: 0 0 50px;\n    height: 50px;\n}\n\n.kc6Th9V4IWsJhWyus_bf button {\n    position: relative;\n    width: 100%;\n    height: 50px;\n    overflow: hidden;\n    font-size: 1.375em;\n    font-weight: 700;\n    background: var(--onboarding-screen-start-button-background);\n    color: var(--onboarding-screen-start-button-title);\n}\n\n.kc6Th9V4IWsJhWyus_bf button:hover {\n    background: var(--onboarding-screen-start-button-background-hover);\n    color: var(--onboarding-screen-start-button-title-hover);\n}\n\n.kc6Th9V4IWsJhWyus_bf button:after {\n    transform: translateX(-120%);\n    content: '';\n    position: absolute;\n    width: 120%;\n    height: 100%;\n    left: 0;\n    top: 0;\n    z-index: 1;\n    background: linear-gradient(269.72deg, rgba(255, 255, 255, 0) -4.26%, rgba(255, 255, 255, 0.22) 47.3%, rgba(255, 255, 255, 0) 105.48%);\n    animation: ObIRWkkQXGUZfAYB35tM 5.5s forwards;\n}\n\n@keyframes ObIRWkkQXGUZfAYB35tM {\n    0% {transform: translateX(-120%);}\n    25% {transform: translateX(120%);}\n    26% {transform: translateX(120%); opacity: 0;}\n    27% {transform: translateX(-120%); opacity: 0;}\n    28% {transform: translateX(-120%); opacity: 1;}\n    40% {transform: translateX(-120%); opacity: 1;}\n    65% {transform: translateX(120%); opacity: 1;}\n    66% {transform: translateX(120%); opacity: 0;}\n    67% {transform: translateX(-120%); opacity: 0}\n    68% {transform: translateX(-120%); opacity: 1;}\n    75% {transform: translateX(-120%); opacity: 1;}\n    100% {transform: translateX(120%); opacity: 1;}\n}\n",
                        "",
                    ]),
                        (o.locals = {
                            "instruction-window": "kc6Th9V4IWsJhWyus_bf app_wrapper",
                            text: "mkDLLiLtUdTRIsx_6mbY app_title",
                            title: "Ht2Jy7ePhlCAvY41RjEz",
                            subtitle: "jNJCAhDcGs5XFeMmb15C",
                            container: "nSnjw_alZ2MY6x_aAQdc",
                            "icon-block": "MwKcN3iWS_15cKFrJdEJ",
                            "icon-container": "Ah_qBB1jVLKIIWTPBBGr",
                            icon: "O9EzubqNDShR5P5tjS5q",
                            illumination: "rRxO8cx3Xc2OxEtg3T6J",
                            "no-accessories": "jnsqlKo7Ay08cdrm1s7p",
                            "camera-on-eye": "_29ndbYlsKQBp0VVLfNTK",
                            buttonAnimation: "ObIRWkkQXGUZfAYB35tM",
                        }),
                        (t.Z = o);
                },
                "./src/components/layout/style.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        ".pPENnQwkQ3hnNDe95CXQ {\n    position: relative;\n    height: 100%;\n    width: 100%;\n}\n\n.pPENnQwkQ3hnNDe95CXQ:after {\n    /** Chrome filter: blur artefact fix  */\n    content: '';\n    position: absolute;\n    bottom: -5px;\n    left: 0;\n    width: 100%;\n    height: 10px;\n    background: transparent;\n}\n\n.caaZAPBpw4YRUJGyGGMa {\n    transform: translateY(-30px);\n}\n\ndiv[data-device='mobile'] .caaZAPBpw4YRUJGyGGMa {\n    transform: translateY(-25%);\n}\n\n.FXnrLlhcdZSnx6MmL33A {\n    width: 100%;\n    height: 100%;\n    overflow: hidden;\n}\n.Qi0b9gBkYqK5wxq0Yu8D {\n    --rotatedWidth: 640px;\n    --rotatedHeight: 360px;\n    width: var(--rotatedWidth);\n    height: var(--rotatedHeight);\n    transform-origin: 50% 50%;\n}\n\n.y26b9X3ahzzhXZXrr1l1 {\n    transform: rotate(90deg) translateY(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2))\n    translateX(calc(var(--rotatedWidth) / 2 - var(--rotatedHeight) / 2));\n}\n.GcvWg8Ciyff5Kl4aK2KR {\n    transform: rotate(-90deg) translateY(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2))\n    translateX(calc(var(--rotatedHeight) / 2 - var(--rotatedWidth) / 2));\n}\n.KDALG4fw1Y6ovBVaFb4Y {\n    transform: rotate(-180deg);\n}\n\n.OEuteA96rvrp7pekGVJu {\n    display: flex;\n    flex: 1;\n    width: 100%;\n    height: 100%;\n    transition: filter 0.3s linear;\n}\n\n.mTdhPVU1dHO2f7ueJSjj {\n    position: absolute;\n    top: 0;\n    left: 0;\n    height: 100%;\n    width: 100%;\n}\n\n.lDRSIFCWKrxuroOCLQ8B {\n    opacity: 0;\n}\n\n.M7yctpYaB9DyFWDM8TgV {\n    stroke-dasharray: 100;\n    animation: yc_5dpVB7QbCC4KqVJko 10s linear infinite;\n    animation-direction: reverse;\n}\n\n.bml1JXCirmhI0uTYry1n {\n    animation: B7ALnKxqBCiE7KjsfPD1 1s infinite ease-in-out;\n}\n\n@keyframes B7ALnKxqBCiE7KjsfPD1 {\n    0% {\n        opacity: 0.3;\n    }\n    50% {\n        opacity: 1;\n    }\n    100% {\n        opacity: 0.3;\n    }\n}\n\n.OnSjirWUDYRXWTrMQxyU {\n    animation: mYq6jvTuKwr1dDOWWetl 1s infinite ease-in-out;\n}\n\n@keyframes mYq6jvTuKwr1dDOWWetl {\n    0% {\n        opacity: 0.3;\n        transform: translateX(20px);\n    }\n    50% {\n        opacity: 1;\n        transform: translateX(25px);\n    }\n    100% {\n        opacity: 0.3;\n        transform: translateX(20px);\n    }\n}\n\n.zkge_vdeebbSdZxTjAzA {\n    position: absolute;\n    bottom: 8%;\n    width: 100%;\n    text-align: center;\n    font-size: 1.125em;\n    z-index: 1;\n}\n\n.yQb4eZDuvdToxK4LFMPP {\n    position: absolute;\n    bottom: -7px;\n    padding: 0.2em;\n    width: 100%;\n    text-align: center;\n    font-size: 1em;\n    transition: 0.5s ease;\n    transform: translateZ(0);\n    z-index: 1;\n}\n\n.wxFd4S50djT0f0vxTZN1 {\n    bottom: 50%;\n    transform: translateY(50%);\n}\n\ndiv[data-device='mobile'] .yQb4eZDuvdToxK4LFMPP {\n    transition-delay: .1s;\n    transform: translateZ(0) translateY(0);\n    padding: 3em 1em; \n    font-size: 1.25em;\n}\n\ndiv[data-device='mobile'] .wxFd4S50djT0f0vxTZN1 {\n    bottom: -7px;\n    transform: translateY(-150px);\n}\n\n.wf4GGRKXILhTszbSin6A {\n    position: absolute;\n    bottom: 0;\n    padding: 20px;\n    display: flex;\n    align-items: flex-end;\n    justify-content: flex-end;\n    transform: translateY(30px);\n    z-index: 1;\n}\n\ndiv[data-device='mobile'] .wf4GGRKXILhTszbSin6A {\n    transform: translateY(120px);\n}\n\ndiv[data-direction='rtl'] .wf4GGRKXILhTszbSin6A {\n    left: 0;\n}\n\ndiv[data-direction='ltr'] .wf4GGRKXILhTszbSin6A {\n    right: 0;\n}\n\n.wf4GGRKXILhTszbSin6A button:not(:disabled):hover {\n    transform: scale(1.1);\n}\n\n.wf4GGRKXILhTszbSin6A button {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    border: none;\n    padding: 0;\n    margin: 0;\n    text-decoration: none;\n    background: none;\n    cursor: pointer;\n    text-align: center;\n    transition: transform 150ms ease;\n}\n\n.wf4GGRKXILhTszbSin6A button:disabled {\n    opacity: 0.5;\n}\n\n.mTdhPVU1dHO2f7ueJSjj ellipse {\n    transition: rx 0.5s, ry 0.5s;\n}\n\n.cUc8jRo6SCEGzY1rBvHN {\n    --sector-rotate: rotate(0deg);\n    transform: var(--sector-rotate);\n}\n\n.a7KoWDpCblrFM3nfJO5p {\n    opacity: 0.8;\n    transition: opacity 0.5s;\n}\n\n.mTdhPVU1dHO2f7ueJSjj.DrOD5JQnYmnfoZlAngMA .cUc8jRo6SCEGzY1rBvHN {\n    animation: YUzQufzEHAFvp7TWPbgJ 400ms forwards;\n}\n\n.mTdhPVU1dHO2f7ueJSjj.DrOD5JQnYmnfoZlAngMA .a7KoWDpCblrFM3nfJO5p {\n    animation: DxMdxNq_uRxrA7RtRtN6 400ms forwards;\n}\n\n.mTdhPVU1dHO2f7ueJSjj.DrOD5JQnYmnfoZlAngMA ellipse {\n    transform-origin: 50% 50%;\n    animation: BIvcv60ld_YSEL63LfIm 200ms forwards;\n}\n\n@keyframes BIvcv60ld_YSEL63LfIm {\n    0% {\n        transform: scale(1);\n    }\n    50% {\n        transform: scale(0.8);\n    }\n    100% {\n        transform: scale(1);\n    }\n}\n\n.nuD_A2eQeEOBieiQrXWp {\n    --from-left: 0;\n    --from-top: 0;\n}\n\n._65FQ8t1yz2VLutgs1BS {\n    background-repeat: no-repeat;\n    background-position: 0 0;\n    background-size: 100%;\n    animation: AySnSq6fih7TOhJrIIHo 400ms steps(7) forwards;\n}\n\n.rXIkvqEKbhWwoCOllCkW {\n    /** Look straight */\n    animation: AySnSq6fih7TOhJrIIHo 400ms steps(7) forwards reverse;\n}\n\n.D9mSlSVrarjcPaqqYQoS {\n    /** Move closer */\n    animation: ma8Ak8vAbGaerJQ4e0pr 1s forwards;\n}\n\n.O9dfTxhKU4Poj6IruHEd {\n    /** Move away */\n    animation: P7u7szyckR02Mmftwkja 1s forwards;\n}\n\n.DIk0e7KduiEnNhEOEnmQ {\n    /** Fit your face to oval */\n    animation: rhMKDJy_XgER5BEX1LnZ 1s forwards;\n}\n\n@keyframes rhMKDJy_XgER5BEX1LnZ {\n    0% {\n        top: var(--from-top);\n        left: var(--from-left);\n    }\n    30% {\n        top: var(--from-top);\n        left: var(--from-left);\n    }\n    100% {\n        top: 0;\n        left: 0;\n    }\n}\n\n@keyframes ma8Ak8vAbGaerJQ4e0pr {\n    0% {\n        transform: scale(0.5);\n    }\n    100% {\n        transform: scale(1);\n    }\n}\n\n@keyframes P7u7szyckR02Mmftwkja {\n    0% {\n        transform: scale(1.4);\n    }\n    100% {\n        transform: scale(1);\n    }\n}\n\n@keyframes YUzQufzEHAFvp7TWPbgJ {\n    0% {\n        opacity: 0;\n    }\n    80% {\n        opacity: 0;\n    }\n    100% {\n        opacity: 1;\n    }\n}\n\n@keyframes DxMdxNq_uRxrA7RtRtN6 {\n    0% {\n        visibility: hidden;\n    }\n    80% {\n        visibility: hidden;\n    }\n    100% {\n        visibility: visible;\n    }\n}\n\n@keyframes AySnSq6fih7TOhJrIIHo {\n    0% {\n        background-position: 0 0;\n    }\n    100% {\n        background-position: 0 100%;\n    }\n}\n",
                        "",
                    ]),
                        (o.locals = {
                            container: "pPENnQwkQ3hnNDe95CXQ",
                            translateY: "caaZAPBpw4YRUJGyGGMa",
                            videoContainer: "FXnrLlhcdZSnx6MmL33A",
                            videoContainerRotation: "Qi0b9gBkYqK5wxq0Yu8D",
                            "videoContainerRotation-90-rev": "y26b9X3ahzzhXZXrr1l1",
                            "videoContainerRotation-90": "GcvWg8Ciyff5Kl4aK2KR",
                            "videoContainerRotation-180": "KDALG4fw1Y6ovBVaFb4Y",
                            videoContainerBlur: "OEuteA96rvrp7pekGVJu",
                            backgroundSvg: "mTdhPVU1dHO2f7ueJSjj",
                            hide: "lDRSIFCWKrxuroOCLQ8B",
                            frame: "M7yctpYaB9DyFWDM8TgV",
                            dash: "yc_5dpVB7QbCC4KqVJko",
                            done: "bml1JXCirmhI0uTYry1n",
                            pulse: "B7ALnKxqBCiE7KjsfPD1",
                            hintArrowAnimation: "OnSjirWUDYRXWTrMQxyU",
                            pulseHintArrow: "mYq6jvTuKwr1dDOWWetl",
                            primaryMessage: "zkge_vdeebbSdZxTjAzA",
                            secondaryMessage: "yQb4eZDuvdToxK4LFMPP",
                            centreMessage: "wxFd4S50djT0f0vxTZN1",
                            functionalButtons: "wf4GGRKXILhTszbSin6A",
                            targetSector: "cUc8jRo6SCEGzY1rBvHN",
                            currentSector: "a7KoWDpCblrFM3nfJO5p",
                            firstStepAnimation: "DrOD5JQnYmnfoZlAngMA",
                            targetSectorFirstStepAnimation: "YUzQufzEHAFvp7TWPbgJ",
                            currentSectorFirstStepAnimation: "DxMdxNq_uRxrA7RtRtN6",
                            ellipseFirstStepAnimation: "BIvcv60ld_YSEL63LfIm",
                            "face-hint": "nuD_A2eQeEOBieiQrXWp",
                            "face-hint-target": "_65FQ8t1yz2VLutgs1BS",
                            spriteAnimation: "AySnSq6fih7TOhJrIIHo",
                            "face-hint-animation-2": "rXIkvqEKbhWwoCOllCkW",
                            "face-hint-animation-3": "D9mSlSVrarjcPaqqYQoS",
                            moveCloser: "ma8Ak8vAbGaerJQ4e0pr",
                            "face-hint-animation-4": "O9dfTxhKU4Poj6IruHEd",
                            moveAway: "P7u7szyckR02Mmftwkja",
                            "face-hint-animation-1": "DIk0e7KduiEnNhEOEnmQ",
                            fitYourFace: "rhMKDJy_XgER5BEX1LnZ",
                        }),
                        (t.Z = o);
                },
                "./src/components/message/style.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        ".i6hhG0TRRjJVfQeFE9V4 {\n    display: inline-block;\n    padding: 0.595em 0.87em;\n    font-style: normal;\n    font-weight: normal;\n    color: var(--camera-screen-front-hint-label-text);\n    background: var(--camera-screen-front-hint-label-background);\n    line-height: 1em;\n    border-radius: 16px;\n}\n",
                        "",
                    ]),
                        (o.locals = { container: "i6hhG0TRRjJVfQeFE9V4" }),
                        (t.Z = o);
                },
                "./src/components/retry-screen/style.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        ".NHVZo6yLPPWSLCAvix74 {\n    display: flex;\n    height: 100%;\n    flex-direction: column;\n    align-items: center;\n    justify-content: space-between;\n    padding: 1em;\n}\n\ndiv[data-device='mobile'] .NHVZo6yLPPWSLCAvix74 {\n    justify-content: center;\n    padding: 4em 1em 6em;\n}\n\n.stkNZMo9URB2rPAo2sAf {\n    text-align: center;\n}\n\n.stkNZMo9URB2rPAo2sAf .JmLBiy3j3xVvCfRI4BkX {\n    margin: 0 0 0.4em;\n    font-size: 1.25em;\n    font-weight: bold;\n    line-height: 1.4em;\n    color: #262626;\n}\n\ndiv[data-device='mobile'] .stkNZMo9URB2rPAo2sAf .JmLBiy3j3xVvCfRI4BkX {\n    line-height: 1.25em;\n}\n\n.stkNZMo9URB2rPAo2sAf .tSBbcyR3kgaSmvDN5H9w {\n    margin: 0 0 16px;\n    font-style: normal;\n    font-size: 0.875em;\n    font-weight: 400;\n    line-height: 1.25em;\n    color: #262626;\n    opacity: 0.7;\n}\n\n.NHVZo6yLPPWSLCAvix74 .rP1fsFD1e2xIR70eWVvx {\n    display: flex;\n}\n\ndiv[data-device='mobile'] .rP1fsFD1e2xIR70eWVvx {\n    flex-direction: column;\n}\n\n.rP1fsFD1e2xIR70eWVvx .Ltg0npG0wGuxikMU7ngu {\n    display: flex;\n    flex-direction: column;\n    align-items: center;\n}\n\n.rP1fsFD1e2xIR70eWVvx .Ltg0npG0wGuxikMU7ngu + .Ltg0npG0wGuxikMU7ngu {\n    margin-left: 2em;\n    margin-right: 0;\n}\n\ndiv[data-direction='rtl'] .rP1fsFD1e2xIR70eWVvx .Ltg0npG0wGuxikMU7ngu + .Ltg0npG0wGuxikMU7ngu {\n    margin-left: 0;\n    margin-right: 2em;\n}\n\ndiv[data-device='mobile'] .rP1fsFD1e2xIR70eWVvx .Ltg0npG0wGuxikMU7ngu + .Ltg0npG0wGuxikMU7ngu {\n    margin-left: 0;\n    margin-right: 0;\n}\n\n.Ltg0npG0wGuxikMU7ngu > svg {\n    margin-bottom: 0.7em;\n}\n\n.RIuce3foP5TrLtUlmxJ7 {\n    font-size: 0.8em;\n    line-height: 1.43em;\n    color: #262626;\n    margin: 0 0 1.15em;\n    font-style: normal;\n    font-weight: normal;\n    text-align: center;\n}\n\n.Ltg0npG0wGuxikMU7ngu > p {\n    word-break: break-word;\n    text-align: center;\n    max-width: 280px;\n}\n\ndiv[data-device='mobile'] .Ltg0npG0wGuxikMU7ngu > p {\n    max-width: 300px;\n}\n\ndiv[data-device='mobile'] .RIuce3foP5TrLtUlmxJ7 {\n    font-size: 0.8125em;\n}\n\n\n.NHVZo6yLPPWSLCAvix74 button {\n    color: var(--retry-screen-retry-button-title);\n    background: var(--retry-screen-retry-button-background);\n}\n\n.NHVZo6yLPPWSLCAvix74 button:hover {\n    color: var(--retry-screen-retry-button-title-hover);\n    background: var(--retry-screen-retry-button-background-hover);\n}\n\ndiv[data-device='mobile'] .NHVZo6yLPPWSLCAvix74 button {\n    position: absolute;\n    width: calc(100% - 32px);\n    bottom: 55px;\n    left: 16px;\n}\n\n.nMeY_n2vgpEs_FLtJjkQ {\n    width: 140px;\n    height: 100px;\n    background-repeat: no-repeat;\n    background-position: center center;\n    background-size: contain;\n    margin-bottom: 5px;\n}\n\n.ZRQkNIXjGfFkaL8MPZXw {\n    background-image: var(--retry-screen-person-image);\n}\n.mlaXglJKD3tnnhNLTAYK {\n    background-image: var(--retry-screen-environment-image);\n}\n\n@media (max-width: 400px) {\n    div[data-device='mobile'] .NHVZo6yLPPWSLCAvix74 {\n        padding: 3em 1em 5.5em;\n    }\n\n    div[data-device='mobile'] .NHVZo6yLPPWSLCAvix74 button {\n        bottom: 45px;\n    }\n\n}\n\n@media (max-width: 360px) {\n    div[data-device='mobile'] .NHVZo6yLPPWSLCAvix74 .rP1fsFD1e2xIR70eWVvx svg {\n        width: 100%;\n    }\n}\n\n",
                        "",
                    ]),
                        (o.locals = {
                            "retry-screen": "NHVZo6yLPPWSLCAvix74",
                            text: "stkNZMo9URB2rPAo2sAf",
                            title: "JmLBiy3j3xVvCfRI4BkX",
                            subtitle: "tSBbcyR3kgaSmvDN5H9w",
                            icons: "rP1fsFD1e2xIR70eWVvx",
                            "icon-item": "Ltg0npG0wGuxikMU7ngu",
                            "icon-subtitle": "RIuce3foP5TrLtUlmxJ7",
                            "icon-bg": "nMeY_n2vgpEs_FLtJjkQ",
                            "no-smile": "ZRQkNIXjGfFkaL8MPZXw",
                            "no-glare": "mlaXglJKD3tnnhNLTAYK",
                        }),
                        (t.Z = o);
                },
                "./src/icons/Spinner.css": function (e, t, r) {
                    "use strict";
                    var n = r("../../node_modules/css-loader/dist/runtime/noSourceMaps.js"),
                        i = r.n(n),
                        a = r("../../node_modules/css-loader/dist/runtime/api.js"),
                        o = r.n(a)()(i());
                    o.push([
                        e.id,
                        '.Cj8XgbDk3gZpQxVh9qsb {\n    height: 50px;\n    width: 50px;\n}\n\n@keyframes C5oWu5t4jGkqFMMB2dpN {\n    0% {\n        transform: rotate(0deg);\n    }\n    100% {\n        transform: rotate(360deg);\n    }\n}\n\n.JEcoYhehrCPcBW5yxyrg {\n    position: relative;\n    width: 50px;\n    height: 50px;\n    clip: rect(22px, 44px, 44px, 0);\n    animation: C5oWu5t4jGkqFMMB2dpN 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;\n}\n\n.JEcoYhehrCPcBW5yxyrg::before, .JEcoYhehrCPcBW5yxyrg::after {\n    content: "";\n    display: block;\n    position: absolute;\n    top: 0;\n    left: 0;\n    bottom: 0;\n    right: 0;\n    margin: auto;\n    height: 44px;\n    width: 44px;\n    border-radius: 50%;\n}\n\n.JEcoYhehrCPcBW5yxyrg::before {\n    border: 3px solid transparent;\n    border-top: 3px solid var(--processing-screen-progress);\n    animation: C5oWu5t4jGkqFMMB2dpN 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;\n}\n\n.JEcoYhehrCPcBW5yxyrg::after {\n    border: 3px solid rgba(49, 49, 49, 0.1);\n}\n',
                        "",
                    ]),
                        (o.locals = { container: "Cj8XgbDk3gZpQxVh9qsb", spinner: "JEcoYhehrCPcBW5yxyrg", spin: "C5oWu5t4jGkqFMMB2dpN" }),
                        (t.Z = o);
                },
            },
            t = {};
        function r(n) {
            var i = t[n];
            if (void 0 !== i) return i.exports;
            var a = (t[n] = { id: n, exports: {} });
            return e[n].call(a.exports, a, a.exports, r), a.exports;
        }
        (r.amdO = {}),
            (r.n = function (e) {
                var t =
                    e && e.__esModule
                        ? function () {
                              return e.default;
                          }
                        : function () {
                              return e;
                          };
                return r.d(t, { a: t }), t;
            }),
            (r.d = function (e, t) {
                for (var n in t) r.o(t, n) && !r.o(e, n) && Object.defineProperty(e, n, { enumerable: !0, get: t[n] });
            }),
            (r.o = function (e, t) {
                return Object.prototype.hasOwnProperty.call(e, t);
            }),
            (r.r = function (e) {
                "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(e, "__esModule", { value: !0 });
            });
        var n = {};
        return (
            (function () {
                "use strict";
                r.r(n);
                var e = {};
                r.r(e),
                    r.d(e, {
                        ar: function () {
                            return Gn;
                        },
                        bn: function () {
                            return $n;
                        },
                        cs: function () {
                            return qn;
                        },
                        da: function () {
                            return ni;
                        },
                        de: function () {
                            return Bn;
                        },
                        el: function () {
                            return zn;
                        },
                        en: function () {
                            return On;
                        },
                        es: function () {
                            return Kn;
                        },
                        fi: function () {
                            return ti;
                        },
                        fr: function () {
                            return Dn;
                        },
                        he: function () {
                            return ei;
                        },
                        hi: function () {
                            return _n;
                        },
                        hr: function () {
                            return ii;
                        },
                        hu: function () {
                            return jn;
                        },
                        id: function () {
                            return Un;
                        },
                        it: function () {
                            return Ln;
                        },
                        ja: function () {
                            return Zn;
                        },
                        ko: function () {
                            return Vn;
                        },
                        ms: function () {
                            return Tn;
                        },
                        nl: function () {
                            return Mn;
                        },
                        no: function () {
                            return ai;
                        },
                        pl: function () {
                            return Fn;
                        },
                        pt: function () {
                            return Pn;
                        },
                        ro: function () {
                            return Hn;
                        },
                        ru: function () {
                            return xn;
                        },
                        sk: function () {
                            return Rn;
                        },
                        sv: function () {
                            return ri;
                        },
                        th: function () {
                            return Xn;
                        },
                        tr: function () {
                            return Jn;
                        },
                        uk: function () {
                            return Yn;
                        },
                        vi: function () {
                            return Nn;
                        },
                        zh: function () {
                            return Wn;
                        },
                    });
                var t = r("../../node_modules/react-dom/client.js"),
                    i = r("../../node_modules/react-device-detect/dist/lib.js"),
                    a = r("./src/components/info-screen/style.css"),
                    o = r("../../node_modules/react/jsx-runtime.js");
                var l = {
                    fullscreen: function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            xmlns: "http://www.w3.org/2000/svg",
                            width: t || 24,
                            height: t || 24,
                            viewBox: "0 0 24 24",
                            fill: r || "white",
                            children: (0, o.jsx)("path", { d: "M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z" }),
                        });
                    },
                    verified: function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 86 84",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("ellipse", { cx: "43", cy: "42", rx: "40", ry: "40", transform: "rotate(90 43 42)", stroke: r || "#5DA600", strokeWidth: "3" }),
                                (0, o.jsx)("path", { d: "M66 30L40.5069 54L28 42.2256", stroke: r || "#5DA600", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }),
                            ],
                        });
                    },
                    check: function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            width: t || 64,
                            height: t || 64,
                            viewBox: "0 0 64 64",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: (0, o.jsx)("path", {
                                fillRule: "evenodd",
                                clipRule: "evenodd",
                                d:
                                    "M0 32C-1.52588e-05 49.6731 14.3269 64 32 64C49.6731 64 64 49.6731 64 32C64 14.3269 49.6731 0 32 0C14.3269 0 0 14.3269 0 32ZM50.9142 22.5811C51.6953 21.7999 51.6953 20.5337 50.9142 19.7526C50.1331 18.9716 48.8668 18.9716 48.0858 19.7526L30.5002 37.3381L22.7477 29.5857C21.9666 28.8047 20.7003 28.8047 19.9193 29.5857C19.1382 30.3669 19.1382 31.6331 19.9193 32.4143L29.0859 41.5808C29.461 41.9561 29.9697 42.1667 30.5002 42.1667C31.0306 42.1667 31.5393 41.9561 31.9144 41.5808L50.9142 22.5811Z",
                                fill: r || "#7E53B9",
                            }),
                        });
                    },
                    error: function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 86 84",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("ellipse", { cx: "43", cy: "42", rx: "40", ry: "40", transform: "rotate(90 43 42)", stroke: r || "#FF0000", strokeWidth: "3" }),
                                (0, o.jsx)("path", { d: "M57 28L29 56M29 28L57 56", stroke: r || "#FF0000", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round" }),
                            ],
                        });
                    },
                    cross: function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            xmlns: "http://www.w3.org/2000/svg",
                            viewBox: "0 0 24 24",
                            width: t || 24,
                            height: t || 24,
                            fill: r || "rgba(0,0,0,0.6)",
                            children: (0, o.jsx)("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }),
                        });
                    },
                    snapshot: function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 60,
                            height: t || 60,
                            viewBox: "0 0 60 60",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [(0, o.jsx)("g", { opacity: "0.6", children: (0, o.jsx)("circle", { cx: "30", cy: "30", r: "29.5", stroke: r || "white" }) }), (0, o.jsx)("circle", { cx: "30", cy: "30", r: "21", fill: r || "white" })],
                        });
                    },
                    square: function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            width: t || 46,
                            height: t || 46,
                            viewBox: "0 0 46 46",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: (0, o.jsx)("path", {
                                d: "M45 34V41C45 43.2091 43.2091 45 41 45H34M45 12V5C45 2.79086 43.2091 1 41 1H34M12 1H5C2.79086 1 1 2.79086 1 5V12M1 34V41C1 43.2091 2.79086 45 5 45H12",
                                stroke: r || "white",
                                strokeWidth: "1.5",
                            }),
                        });
                    },
                    stop: function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            width: t || 48,
                            height: t || 48,
                            viewBox: "0 0 1024 1024",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: (0, o.jsxs)("g", {
                                opacity: "0.9",
                                children: [
                                    (0, o.jsx)("path", {
                                        d:
                                            "M556.1 909.5H192.2c-14.1 0-25.5-10.6-25.5-23.7V170.3c0-13.1 11.5-23.7 25.5-23.7H832c14.1 0 25.5 10.6 25.5 23.7v381.8c0 13.3 10.7 24 24 24s24-10.7 24-24V170.3c0-39.5-33-71.7-73.5-71.7H192.2c-40.5 0-73.5 32.2-73.5 71.7v715.5c0 39.5 33 71.7 73.5 71.7h363.9c13.3 0 24-10.7 24-24s-10.8-24-24-24z",
                                        fill: r || "white",
                                    }),
                                    (0, o.jsx)("path", {
                                        d:
                                            "M761.6 232.6H260.7c-13.3 0-24 10.7-24 24s10.7 24 24 24h500.9c13.3 0 24-10.7 24-24s-10.8-24-24-24zM785.6 426.6c0-13.3-10.7-24-24-24H260.7c-13.3 0-24 10.7-24 24s10.7 24 24 24h500.9c13.2 0 24-10.7 24-24zM680.1 596.6c0-13.3-10.7-24-24-24H260.7c-13.3 0-24 10.7-24 24s10.7 24 24 24h395.4c13.2 0 24-10.7 24-24zM260.7 744.3c-13.3 0-24 10.7-24 24s10.7 24 24 24h284.4c13.3 0 24-10.7 24-24s-10.7-24-24-24H260.7zM770.7 622.7zM939.1 786.2c-2.7-91.3-77.6-163.5-168.3-163.5v36c34.6 0 67.3 13.3 92.1 37.4 24.9 24.1 39.2 56.5 40.2 91.2 1.1 35.4-11.7 69.1-36 94.8-24.3 25.8-57.1 40.5-92.5 41.6-1.3 0-2.7 0.1-4 0.1-34.6 0-67.3-13.3-92.2-37.4-24.9-24.1-39.2-56.5-40.2-91.2-1.1-35.4 11.7-69.1 36-94.8 24.3-25.8 57.1-40.5 92.5-41.6 1.3 0 2.7-0.1 4-0.1v-36c-1.7 0-3.4 0-5.1 0.1-93 2.8-166.2 80.4-163.5 173.5 2.7 91.3 77.6 163.5 168.4 163.5 1.7 0 3.4 0 5.1-0.1 93.1-2.8 166.2-80.5 163.5-173.5z",
                                        fill: r || "white",
                                    }),
                                    (0, o.jsx)("path", {
                                        d:
                                            "M686.1 795.6c-7.2-6.8-18.6-6.6-25.4 0.6-6.8 7.2-6.6 18.6 0.6 25.4l54.3 51.6c6.3 5.9 14.4 9 22.7 9 6.4 0 12.9-1.9 18.5-5.7l1.1-0.8L883.6 759c7.3-6.8 7.7-18.2 0.9-25.4-6.8-7.3-18.2-7.7-25.4-0.9L738.2 845l-52.1-49.4z",
                                        fill: r || "white",
                                    }),
                                ],
                            }),
                        });
                    },
                    arrow: function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            width: t || 32,
                            height: t || 32,
                            viewBox: "0 0 32 32",
                            fill: r || "white",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: (0, o.jsx)("path", { d: "M22,9a1,1,0,0,0,0,1.42l4.6,4.6H3.06a1,1,0,1,0,0,2H26.58L22,21.59A1,1,0,0,0,22,23a1,1,0,0,0,1.41,0l6.36-6.36a.88.88,0,0,0,0-1.27L23.42,9A1,1,0,0,0,22,9Z" }),
                        });
                    },
                    "regula-logo": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            width: t || 24,
                            height: t || 26,
                            viewBox: "0 0 14 16",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: (0, o.jsx)("path", {
                                d:
                                    "M10.6389 10.8071C12.1153 9.90582 13.159 8.12119 13.159 6.15818C13.159 2.43323 10.2172 0 6.51964 0C2.82207 0 0 2.43401 0 6.63935V9.79394H2.70628V6.63857C2.70628 4.11536 4.41893 2.70315 6.52199 2.70315C8.62505 2.70315 10.1265 4.14509 10.1265 6.15818C10.1265 8.17127 8.50456 9.79316 6.4015 9.79316H2.70628V16.643H5.41022V12.1967H6.46175C9.10544 12.1967 10.8478 14.2395 10.9081 16.643H13.7317C13.6816 14.2645 12.5433 11.8641 10.6413 10.8071",
                                fill: r || "#663399",
                            }),
                        });
                    },
                    "regula-logo-liveness-detection": function (e) {
                        var t = e.color;
                        return (0, o.jsxs)("svg", {
                            width: "91",
                            height: "16",
                            viewBox: "0 0 91 16",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("path", {
                                    d:
                                        "M0.793307 12V4.72727H3.52058C4.07929 4.72727 4.54804 4.83144 4.92683 5.03977C5.30799 5.24811 5.59563 5.53456 5.78976 5.89915C5.98625 6.26136 6.0845 6.6733 6.0845 7.13494C6.0845 7.60133 5.98625 8.01562 5.78976 8.37784C5.59326 8.74006 5.30325 9.02533 4.91973 9.23366C4.5362 9.43963 4.0639 9.54261 3.50282 9.54261H1.6953V8.45952H3.32527C3.65197 8.45952 3.91949 8.4027 4.12782 8.28906C4.33616 8.17543 4.49004 8.01918 4.58947 7.82031C4.69127 7.62145 4.74217 7.39299 4.74217 7.13494C4.74217 6.87689 4.69127 6.64962 4.58947 6.45312C4.49004 6.25663 4.33497 6.10393 4.12427 5.99503C3.91594 5.88376 3.64724 5.82812 3.31816 5.82812H2.11078V12H0.793307ZM9.37317 12.1065C8.8405 12.1065 8.37885 11.9893 7.98823 11.755C7.5976 11.5206 7.29457 11.1927 7.07914 10.7713C6.86607 10.3499 6.75954 9.85748 6.75954 9.29403C6.75954 8.73059 6.86607 8.23698 7.07914 7.81321C7.29457 7.38944 7.5976 7.06037 7.98823 6.82599C8.37885 6.59162 8.8405 6.47443 9.37317 6.47443C9.90584 6.47443 10.3675 6.59162 10.7581 6.82599C11.1487 7.06037 11.4506 7.38944 11.6637 7.81321C11.8791 8.23698 11.9868 8.73059 11.9868 9.29403C11.9868 9.85748 11.8791 10.3499 11.6637 10.7713C11.4506 11.1927 11.1487 11.5206 10.7581 11.755C10.3675 11.9893 9.90584 12.1065 9.37317 12.1065ZM9.38027 11.0767C9.6691 11.0767 9.91058 10.9974 10.1047 10.8388C10.2988 10.6778 10.4432 10.4624 10.5379 10.1925C10.635 9.92259 10.6835 9.62192 10.6835 9.29048C10.6835 8.95668 10.635 8.65483 10.5379 8.38494C10.4432 8.11269 10.2988 7.89607 10.1047 7.73509C9.91058 7.5741 9.6691 7.49361 9.38027 7.49361C9.08435 7.49361 8.83813 7.5741 8.64164 7.73509C8.44751 7.89607 8.30191 8.11269 8.20485 8.38494C8.11015 8.65483 8.0628 8.95668 8.0628 9.29048C8.0628 9.62192 8.11015 9.92259 8.20485 10.1925C8.30191 10.4624 8.44751 10.6778 8.64164 10.8388C8.83813 10.9974 9.08435 11.0767 9.38027 11.0767ZM13.9474 12L12.4062 6.54545H13.7165L14.6753 10.3807H14.7251L15.7052 6.54545H17.0013L17.9814 10.3594H18.0347L18.9793 6.54545H20.2932L18.7485 12H17.4097L16.387 8.31392H16.3124L15.2897 12H13.9474ZM23.3493 12.1065C22.8024 12.1065 22.3301 11.9929 21.9324 11.7656C21.537 11.536 21.2328 11.2116 21.0198 10.7926C20.8067 10.3712 20.7002 9.87524 20.7002 9.30469C20.7002 8.74361 20.8067 8.25118 21.0198 7.82741C21.2352 7.40128 21.5359 7.06984 21.9218 6.8331C22.3076 6.59399 22.761 6.47443 23.2818 6.47443C23.618 6.47443 23.9352 6.52888 24.2335 6.63778C24.5342 6.74432 24.7994 6.91004 25.029 7.13494C25.261 7.35985 25.4433 7.64631 25.5759 7.99432C25.7084 8.33996 25.7747 8.75189 25.7747 9.23011V9.62429H21.3039V8.75781H24.5425C24.5401 8.5116 24.4869 8.29261 24.3827 8.10085C24.2785 7.90672 24.1329 7.75402 23.9459 7.64276C23.7612 7.53149 23.5458 7.47585 23.2996 7.47585C23.0368 7.47585 22.806 7.53977 22.6071 7.66761C22.4083 7.79309 22.2532 7.95881 22.1419 8.16477C22.033 8.36837 21.9774 8.59209 21.975 8.83594V9.59233C21.975 9.90956 22.033 10.1818 22.149 10.4091C22.265 10.634 22.4272 10.8068 22.6355 10.9276C22.8439 11.0459 23.0877 11.1051 23.3671 11.1051C23.5541 11.1051 23.7234 11.0791 23.8749 11.027C24.0264 10.9725 24.1578 10.8932 24.2691 10.7891C24.3803 10.6849 24.4644 10.5559 24.5212 10.402L25.7215 10.5369C25.6457 10.8542 25.5013 11.1312 25.2882 11.3679C25.0775 11.6023 24.8076 11.7846 24.4786 11.9148C24.1495 12.0426 23.7731 12.1065 23.3493 12.1065ZM26.7623 12V6.54545H28.0087V7.45455H28.0655C28.165 7.13968 28.3354 6.89702 28.5769 6.72656C28.8207 6.55374 29.0989 6.46733 29.4114 6.46733C29.4824 6.46733 29.5617 6.47088 29.6493 6.47798C29.7393 6.48272 29.8139 6.491 29.8731 6.50284V7.68537C29.8186 7.66643 29.7322 7.64986 29.6138 7.63565C29.4978 7.61908 29.3854 7.6108 29.2765 7.6108C29.0421 7.6108 28.8314 7.66169 28.6444 7.76349C28.4597 7.86293 28.3141 8.00142 28.2076 8.17898C28.101 8.35653 28.0478 8.56132 28.0478 8.79332V12H26.7623ZM32.8173 12.1065C32.2704 12.1065 31.7981 11.9929 31.4004 11.7656C31.005 11.536 30.7008 11.2116 30.4877 10.7926C30.2747 10.3712 30.1681 9.87524 30.1681 9.30469C30.1681 8.74361 30.2747 8.25118 30.4877 7.82741C30.7032 7.40128 31.0038 7.06984 31.3897 6.8331C31.7756 6.59399 32.229 6.47443 32.7498 6.47443C33.086 6.47443 33.4032 6.52888 33.7015 6.63778C34.0022 6.74432 34.2673 6.91004 34.497 7.13494C34.729 7.35985 34.9113 7.64631 35.0438 7.99432C35.1764 8.33996 35.2427 8.75189 35.2427 9.23011V9.62429H30.7718V8.75781H34.0105C34.0081 8.5116 33.9548 8.29261 33.8507 8.10085C33.7465 7.90672 33.6009 7.75402 33.4139 7.64276C33.2292 7.53149 33.0138 7.47585 32.7676 7.47585C32.5048 7.47585 32.274 7.53977 32.0751 7.66761C31.8762 7.79309 31.7212 7.95881 31.6099 8.16477C31.501 8.36837 31.4454 8.59209 31.443 8.83594V9.59233C31.443 9.90956 31.501 10.1818 31.617 10.4091C31.733 10.634 31.8952 10.8068 32.1035 10.9276C32.3118 11.0459 32.5557 11.1051 32.835 11.1051C33.0221 11.1051 33.1913 11.0791 33.3428 11.027C33.4944 10.9725 33.6258 10.8932 33.737 10.7891C33.8483 10.6849 33.9323 10.5559 33.9892 10.402L35.1894 10.5369C35.1137 10.8542 34.9693 11.1312 34.7562 11.3679C34.5455 11.6023 34.2756 11.7846 33.9465 11.9148C33.6175 12.0426 33.241 12.1065 32.8173 12.1065ZM38.2544 12.0959C37.8259 12.0959 37.4424 11.9858 37.1038 11.7656C36.7653 11.5455 36.4978 11.2259 36.3013 10.8068C36.1048 10.3878 36.0065 9.87879 36.0065 9.27983C36.0065 8.67377 36.106 8.16241 36.3048 7.74574C36.506 7.3267 36.7771 7.01065 37.118 6.79759C37.4589 6.58215 37.8389 6.47443 38.2579 6.47443C38.5775 6.47443 38.8403 6.52888 39.0463 6.63778C39.2523 6.74432 39.4156 6.87334 39.5363 7.02486C39.6571 7.17401 39.7506 7.31487 39.8169 7.44744H39.8702V4.72727H41.1592V12H39.895V11.1406H39.8169C39.7506 11.2732 39.6547 11.4141 39.5292 11.5632C39.4038 11.71 39.2381 11.8355 39.0321 11.9396C38.8261 12.0438 38.5669 12.0959 38.2544 12.0959ZM38.6131 11.0412C38.8853 11.0412 39.1173 10.9678 39.3091 10.821C39.5008 10.6719 39.6464 10.4647 39.7459 10.1996C39.8453 9.93442 39.895 9.62547 39.895 9.27273C39.895 8.91998 39.8453 8.6134 39.7459 8.35298C39.6488 8.09257 39.5044 7.89015 39.3126 7.74574C39.1232 7.60133 38.89 7.52912 38.6131 7.52912C38.3266 7.52912 38.0875 7.60369 37.8957 7.75284C37.704 7.90199 37.5595 8.10795 37.4625 8.37074C37.3654 8.63352 37.3169 8.93419 37.3169 9.27273C37.3169 9.61364 37.3654 9.91785 37.4625 10.1854C37.5619 10.4505 37.7075 10.66 37.8993 10.8139C38.0934 10.9654 38.3313 11.0412 38.6131 11.0412ZM44.8664 12V4.72727H46.1519V7.44744H46.2051C46.2714 7.31487 46.3649 7.17401 46.4857 7.02486C46.6064 6.87334 46.7698 6.74432 46.9757 6.63778C47.1817 6.52888 47.4445 6.47443 47.7641 6.47443C48.1855 6.47443 48.5655 6.58215 48.904 6.79759C49.2449 7.01065 49.5148 7.3267 49.7137 7.74574C49.9149 8.16241 50.0155 8.67377 50.0155 9.27983C50.0155 9.87879 49.9173 10.3878 49.7208 10.8068C49.5243 11.2259 49.2567 11.5455 48.9182 11.7656C48.5797 11.9858 48.1961 12.0959 47.7676 12.0959C47.4551 12.0959 47.1959 12.0438 46.9899 11.9396C46.784 11.8355 46.6182 11.71 46.4928 11.5632C46.3697 11.4141 46.2738 11.2732 46.2051 11.1406H46.1306V12H44.8664ZM46.127 9.27273C46.127 9.62547 46.1767 9.93442 46.2762 10.1996C46.378 10.4647 46.5236 10.6719 46.7129 10.821C46.9047 10.9678 47.1367 11.0412 47.409 11.0412C47.6931 11.0412 47.931 10.9654 48.1227 10.8139C48.3145 10.66 48.4589 10.4505 48.556 10.1854C48.6554 9.91785 48.7051 9.61364 48.7051 9.27273C48.7051 8.93419 48.6566 8.63352 48.5595 8.37074C48.4625 8.10795 48.3181 7.90199 48.1263 7.75284C47.9345 7.60369 47.6954 7.52912 47.409 7.52912C47.1343 7.52912 46.9012 7.60133 46.7094 7.74574C46.5176 7.89015 46.372 8.09257 46.2726 8.35298C46.1755 8.6134 46.127 8.91998 46.127 9.27273ZM51.6218 14.0455C51.4466 14.0455 51.2845 14.0313 51.1353 14.0028C50.9885 13.9768 50.8713 13.946 50.7838 13.9105L51.082 12.9091C51.2691 12.9635 51.436 12.9896 51.5828 12.9872C51.7295 12.9848 51.8586 12.9387 51.9698 12.8487C52.0835 12.7611 52.1793 12.6143 52.2575 12.4084L52.3676 12.1136L50.3896 6.54545H51.7532L53.0103 10.6648H53.0671L54.3278 6.54545H55.695L53.511 12.6605C53.4092 12.9493 53.2743 13.1967 53.1062 13.4027C52.9381 13.611 52.7321 13.7696 52.4883 13.8786C52.2468 13.9898 51.958 14.0455 51.6218 14.0455Z",
                                    fill: t,
                                }),
                                (0, o.jsx)("path", {
                                    d:
                                        "M62.9834 9.36204C63.675 8.93985 64.1639 8.1039 64.1639 7.18439C64.1639 5.43957 62.7859 4.2998 61.0539 4.2998C59.3219 4.2998 58 5.43993 58 7.40978V8.88744H59.2677V7.40942C59.2677 6.22751 60.0699 5.566 61.055 5.566C62.0401 5.566 62.7434 6.24143 62.7434 7.18439C62.7434 8.12736 61.9837 8.88708 60.9986 8.88708H59.2677V12.0956H60.5342V10.0129H61.0268C62.2651 10.0129 63.0813 10.9698 63.1095 12.0956H64.4321C64.4087 10.9815 63.8755 9.85716 62.9845 9.36204",
                                    fill: t,
                                }),
                                (0, o.jsx)("path", {
                                    d:
                                        "M89.8037 6.5231V7.32533C89.4658 6.81885 88.8747 6.48242 88.0307 6.48242C86.4827 6.48242 85.3286 7.72077 85.3286 9.31094C85.3286 10.8868 86.4827 12.1395 88.0307 12.1395C88.8326 12.1395 89.4098 11.8159 89.8037 11.3233V12.0973H90.9999V6.5231H89.8037ZM88.1714 10.9279C87.2706 10.9279 86.6234 10.2242 86.6234 9.30947C86.6234 8.39473 87.2706 7.69108 88.1714 7.69108C89.0722 7.69108 89.7334 8.39473 89.7334 9.30947C89.7334 10.2242 89.0737 10.9279 88.1714 10.9279Z",
                                    fill: t,
                                }),
                                (0, o.jsx)("path", {
                                    d:
                                        "M81.2758 9.40791C81.2758 10.5055 80.7129 10.9138 79.9953 10.9138C79.2777 10.9138 78.7148 10.5055 78.7148 9.40791V6.52295H77.4482V9.35147C77.4482 11.2092 78.4051 12.1367 79.9953 12.1367C81.5855 12.1367 82.5424 11.2081 82.5424 9.35147V6.52295H81.2758V9.40791Z",
                                    fill: t,
                                }),
                                (0, o.jsx)("path", {
                                    d:
                                        "M67.5552 6.48096C65.9928 6.48096 64.7827 7.76145 64.7827 9.32377C64.7827 10.8861 65.9921 12.138 67.5973 12.138C68.5681 12.138 69.2718 11.8005 69.849 11.1954L69.1593 10.3792C68.7792 10.7168 68.301 10.9561 67.6255 10.9561C66.9501 10.9561 66.3168 10.6182 66.1207 9.88632H70.2851C70.3355 9.66481 70.3591 9.43804 70.3555 9.21089C70.3555 7.63501 69.1171 6.48096 67.5552 6.48096ZM66.0493 8.88729C66.2182 8.15432 66.8372 7.66323 67.6252 7.66323C68.4131 7.66323 68.9478 8.14149 69.1028 8.88729H66.0493Z",
                                    fill: t,
                                }),
                                (0, o.jsx)("path", { d: "M84.6533 4.35596H83.3867V12.0957H84.6533V4.35596Z", fill: "#8C8C8C" }),
                                (0, o.jsx)("path", {
                                    d:
                                        "M75.4077 7.32533C75.1263 6.84671 74.4791 6.48242 73.6347 6.48242C72.157 6.48242 70.9326 7.72077 70.9326 9.31094C70.9326 10.8868 72.157 12.0962 73.6347 12.0962C74.4369 12.0962 74.9434 11.8569 75.3374 11.3632V11.8701C75.3374 12.9677 74.5634 13.3617 73.8176 13.3617C73.0718 13.3617 72.4806 12.9952 72.3681 12.1937H71.1298C71.1862 13.601 72.3117 14.5025 73.8176 14.5025C75.3235 14.5025 76.6028 13.6442 76.6028 11.7865V6.5231H75.4077V7.32533ZM73.7754 10.8857C72.8746 10.8857 72.2274 10.2242 72.2274 9.30984C72.2274 8.39547 72.8746 7.69145 73.7754 7.69145C74.6762 7.69145 75.3374 8.3951 75.3374 9.30984C75.3374 10.2246 74.6759 10.8857 73.7754 10.8857Z",
                                    fill: t,
                                }),
                            ],
                        });
                    },
                    "back-camera": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            width: t || 30,
                            height: t || 30,
                            viewBox: "0 0 30 30",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: (0, o.jsxs)("g", {
                                opacity: "0.9",
                                children: [
                                    (0, o.jsx)("rect", { x: "14", y: "4", width: "2", height: "22", rx: "1", fill: r || "white" }),
                                    (0, o.jsx)("path", { d: "M8.698 15 L1 5.762 1 24.238 Z", stroke: r || "white", strokeWidth: "2" }),
                                    (0, o.jsx)("path", { d: "M21.302 15 L29 5.762 29 24.238 Z", fill: r || "white", stroke: r || "white", strokeWidth: "2" }),
                                ],
                            }),
                        });
                    },
                    "front-camera": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            width: t || 30,
                            height: t || 30,
                            viewBox: "0 0 30 30",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: (0, o.jsxs)("g", {
                                opacity: "0.9",
                                children: [
                                    (0, o.jsx)("rect", { x: "14", y: "4", width: "2", height: "22", rx: "1", fill: r || "white" }),
                                    (0, o.jsx)("path", { d: "M21.302 15 L29 5.762 29 24.238 Z", stroke: r || "white", strokeWidth: "2" }),
                                    (0, o.jsx)("path", { d: "M8.698 15 L1 5.762 1 24.238 Z", fill: r || "white", stroke: r || "white", strokeWidth: "2" }),
                                ],
                            }),
                        });
                    },
                    "camera-logo": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 86 84",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("ellipse", { cx: "43", cy: "42", rx: "40", ry: "40", transform: "rotate(90 43 42)", stroke: r || "#E93C3C", strokeWidth: "3" }),
                                (0, o.jsx)("path", {
                                    d:
                                        "M41.213 32.6666H45.6663C46.3736 32.6666 47.0519 32.9476 47.552 33.4477C48.0521 33.9478 48.333 34.626 48.333 35.3333V39.7866L49.6663 41.12L57.6663 35.3333V48.6666M48.333 47.3333V48.6666C48.333 49.3739 48.0521 50.0521 47.552 50.5522C47.0519 51.0523 46.3736 51.3333 45.6663 51.3333H30.9997C30.2924 51.3333 29.6142 51.0523 29.1141 50.5522C28.614 50.0521 28.333 49.3739 28.333 48.6666V35.3333C28.333 34.626 28.614 33.9478 29.1141 33.4477C29.6142 32.9476 30.2924 32.6666 30.9997 32.6666H33.6663L48.333 47.3333Z",
                                    stroke: r || "#E93C3C",
                                    strokeWidth: "2",
                                    strokeLinecap: "round",
                                    strokeLinejoin: "round",
                                }),
                                (0, o.jsx)("path", { d: "M28.333 27.3334L57.6663 56.6667", stroke: r || "#E93C3C", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
                            ],
                        });
                    },
                    "fullscreen-exit": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            xmlns: "http://www.w3.org/2000/svg",
                            width: t || 24,
                            height: t || 24,
                            viewBox: "0 0 24 24",
                            fill: r || "white",
                            children: (0, o.jsx)("path", { d: "M5 16h3v3h2v-5H5v2zm3-8H5v2h5V5H8v3zm6 11h2v-3h3v-2h-5v5zm2-11V5h-2v5h5V8h-3z" }),
                        });
                    },
                    "from-camera": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 48,
                            height: t || 48,
                            viewBox: "0 0 48 48",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("path", {
                                    d:
                                        "M46 38C46 39.0609 45.5786 40.0783 44.8284 40.8284C44.0783 41.5786 43.0609 42 42 42H6C4.93913 42 3.92172 41.5786 3.17157 40.8284C2.42143 40.0783 2 39.0609 2 38V16C2 14.9391 2.42143 13.9217 3.17157 13.1716C3.92172 12.4214 4.93913 12 6 12H14L18 7.20001H30L34 12H42C43.0609 12 44.0783 12.4214 44.8284 13.1716C45.5786 13.9217 46 14.9391 46 16V38Z",
                                    stroke: r || "black",
                                    strokeWidth: "2",
                                    strokeLinecap: "round",
                                    strokeLinejoin: "round",
                                }),
                                (0, o.jsx)("path", {
                                    d: "M24.0001 34.8C28.6393 34.8 32.4001 31.0392 32.4001 26.4C32.4001 21.7608 28.6393 18 24.0001 18C19.3609 18 15.6001 21.7608 15.6001 26.4C15.6001 31.0392 19.3609 34.8 24.0001 34.8Z",
                                    stroke: r || "black",
                                    strokeWidth: "2",
                                    strokeLinecap: "round",
                                    strokeLinejoin: "round",
                                }),
                                (0, o.jsx)("rect", { x: "37", y: "17", width: "4", height: "4", rx: "1", fill: "var(--main-color)" }),
                            ],
                        });
                    },
                    "from-gallery": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 48,
                            height: t || 48,
                            viewBox: "0 0 48 48",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("defs", { children: (0, o.jsx)("clipPath", { id: "clip0", children: (0, o.jsx)("rect", { width: "48", height: "48", fill: "white" }) }) }),
                                (0, o.jsxs)("g", {
                                    clipPath: "url(#clip0)",
                                    children: [
                                        (0, o.jsx)("path", {
                                            d: "M43.875 34.125C45.6699 34.125 47.125 32.6699 47.125 30.875V8.125C47.125 6.33007 45.6699 4.875 43.875 4.875H21.125C19.3301 4.875 17.875 6.33007 17.875 8.125",
                                            stroke: r || "black",
                                            strokeWidth: "2",
                                            strokeLinecap: "round",
                                            strokeLinejoin: "round",
                                        }),
                                        (0, o.jsx)("path", {
                                            d:
                                                "M35.875 11.875H5.125C3.33007 11.875 1.875 13.3301 1.875 15.125V37.875C1.875 39.6699 3.33007 41.125 5.125 41.125H35.875C37.6699 41.125 39.125 39.6699 39.125 37.875V15.125C39.125 13.3301 37.6699 11.875 35.875 11.875Z",
                                            stroke: r || "black",
                                            strokeWidth: "2",
                                            strokeLinecap: "round",
                                            strokeLinejoin: "round",
                                        }),
                                        (0, o.jsx)("path", {
                                            d: "M10.8125 23.25C12.1587 23.25 13.25 22.1587 13.25 20.8125C13.25 19.4663 12.1587 18.375 10.8125 18.375C9.46631 18.375 8.375 19.4663 8.375 20.8125C8.375 22.1587 9.46631 23.25 10.8125 23.25Z",
                                            fill: "var(--main-color)",
                                        }),
                                        (0, o.jsx)("path", { d: "M31.125 31.375L23 23.25L5.125 41.125", stroke: r || "black", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
                                    ],
                                }),
                            ],
                        });
                    },
                    "docreader-search": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 80 80",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("g", { children: (0, o.jsx)("circle", { cx: "40", cy: "40", r: "40", fill: "#1B101F", fillOpacity: "0.5" }) }),
                                (0, o.jsxs)("g", { opacity: "0.8", children: [(0, o.jsx)("circle", { cx: "40", cy: "40", r: "23.5", stroke: r || "white" }), (0, o.jsx)("circle", { cx: "40", cy: "40", r: "1", fill: r || "white" })] }),
                            ],
                        });
                    },
                    "docreader-processing-finished": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 80 80",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: (0, o.jsx)("path", {
                                fillRule: "evenodd",
                                clipRule: "evenodd",
                                d:
                                    "M40 80C17.9086 80 0 62.0914 0 40C0 17.9086 17.9086 0 40 0C62.0914 0 80 17.9086 80 40C80 62.0914 62.0914 80 40 80ZM64.0282 29.0922C64.6314 28.5243 64.66 27.575 64.0922 26.9718C63.5243 26.3686 62.575 26.34 61.9718 26.9078L37.5069 49.9399L26.0282 39.1334C25.425 38.5656 24.4757 38.5942 23.9079 39.1974C23.34 39.8006 23.3686 40.7499 23.9718 41.3177L36.4787 53.0922C37.0563 53.6359 37.9575 53.6359 38.5351 53.0922L64.0282 29.0922Z",
                                fill: r || "white",
                            }),
                        });
                    },
                    "docreader-processing-error": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 80 80",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("g", { children: (0, o.jsx)("circle", { cx: "40", cy: "40", r: "40", fill: "#E95454", fillOpacity: "0.45" }) }),
                                (0, o.jsx)("g", {
                                    children: (0, o.jsx)("path", {
                                        fillRule: "evenodd",
                                        clipRule: "evenodd",
                                        d:
                                            "M40 67C54.9117 67 67 54.9117 67 40C67 25.0883 54.9117 13 40 13C25.0883 13 13 25.0883 13 40C13 54.9117 25.0883 67 40 67ZM40 64C53.2548 64 64 53.2548 64 40C64 26.7452 53.2548 16 40 16C26.7452 16 16 26.7452 16 40C16 53.2548 26.7452 64 40 64Z",
                                        fill: r || "white",
                                    }),
                                }),
                            ],
                        });
                    },
                    "docreader-processing": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 80 80",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("g", { children: (0, o.jsx)("circle", { cx: "40", cy: "40", r: "40", fill: "#1B101F", fillOpacity: "0.5" }) }),
                                (0, o.jsx)("g", {
                                    opacity: "0.8",
                                    children: (0, o.jsx)("path", {
                                        fillRule: "evenodd",
                                        clipRule: "evenodd",
                                        d:
                                            "M40 67C54.9117 67 67 54.9117 67 40C67 25.0883 54.9117 13 40 13C25.0883 13 13 25.0883 13 40C13 54.9117 25.0883 67 40 67ZM40 64C53.2548 64 64 53.2548 64 40C64 26.7452 53.2548 16 40 16C26.7452 16 16 26.7452 16 40C16 53.2548 26.7452 64 40 64Z",
                                        fill: r || "white",
                                    }),
                                }),
                            ],
                        });
                    },
                    "docreader-flip": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 80 80",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("g", { children: (0, o.jsx)("circle", { cx: "40", cy: "40", r: "40", fill: "#1B101F", fillOpacity: "0.5" }) }),
                                (0, o.jsx)("path", {
                                    fillRule: "evenodd",
                                    clipRule: "evenodd",
                                    d:
                                        "M16 25.2308C16 24.551 16.5373 24 17.2 24H62.8C63.4627 24 64 24.551 64 25.2308V54.7692C64 55.449 63.4627 56 62.8 56H17.2C16.5373 56 16 55.449 16 54.7692V25.2308ZM21.4 30.1538C21.4 29.814 21.6686 29.5385 22 29.5385H32.8C33.1314 29.5385 33.4 29.814 33.4 30.1538V43.6923C33.4 44.0322 33.1314 44.3077 32.8 44.3077H22C21.6686 44.3077 21.4 44.0322 21.4 43.6923V30.1538ZM39.4 29.5385C39.0686 29.5385 38.8 29.814 38.8 30.1538V30.7692C38.8 31.1091 39.0686 31.3846 39.4 31.3846H58C58.3314 31.3846 58.6 31.1091 58.6 30.7692V30.1538C58.6 29.814 58.3314 29.5385 58 29.5385H39.4ZM39.4 35.0769C39.0686 35.0769 38.8 35.3524 38.8 35.6923V36.3077C38.8 36.6476 39.0686 36.9231 39.4 36.9231H49.6C49.9314 36.9231 50.2 36.6476 50.2 36.3077V35.6923C50.2 35.3524 49.9314 35.0769 49.6 35.0769H39.4ZM38.8 41.2308C38.8 40.8909 39.0686 40.6154 39.4 40.6154H53.8C54.1314 40.6154 54.4 40.8909 54.4 41.2308V41.8462C54.4 42.186 54.1314 42.4615 53.8 42.4615H39.4C39.0686 42.4615 38.8 42.186 38.8 41.8462V41.2308ZM22 49.8462C21.6686 49.8462 21.4 50.1217 21.4 50.4615V51.0769C21.4 51.4168 21.6686 51.6923 22 51.6923H32.2C32.5314 51.6923 32.8 51.4168 32.8 51.0769V50.4615C32.8 50.1217 32.5314 49.8462 32.2 49.8462H22Z",
                                    fill: r || "white",
                                }),
                            ],
                        });
                    },
                    "docreader-camera-disabled": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 80 80",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("g", { children: (0, o.jsx)("circle", { cx: "40", cy: "40", r: "40", fill: "#1B101F", fillOpacity: "0.5" }) }),
                                (0, o.jsx)("path", {
                                    d:
                                        "M40.213 30.6667H44.6663C45.3736 30.6667 46.0519 30.9476 46.552 31.4477C47.0521 31.9478 47.333 32.6261 47.333 33.3334V37.7867L48.6663 38.12L56.6663 33.3334V46.6667M47.333 45.3334V46.6667C47.333 47.3739 47.0521 48.0522 46.552 48.5523C46.0519 49.0524 45.3736 49.3334 44.6663 49.3334H29.9997C29.2924 49.3334 28.6142 49.0524 28.1141 48.5523C27.614 48.0522 27.333 47.3739 27.333 46.6667V33.3334C27.333 32.6261 27.614 31.9478 28.1141 31.4477C28.6142 30.9476 29.2924 30.6667 29.9997 30.6667H32.6663L47.333 45.3334Z",
                                    stroke: r || "#FF5E5E",
                                    strokeWidth: "2",
                                    strokeLinecap: "round",
                                    strokeLinejoin: "round",
                                }),
                                (0, o.jsx)("path", { d: "M27.333 25.3333L56.6663 54.6666", stroke: r || "#FF5E5E", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
                            ],
                        });
                    },
                    "docreader-camera-preparing": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 80,
                            height: t || 80,
                            viewBox: "0 0 80 80",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("g", { children: (0, o.jsx)("circle", { cx: "40", cy: "40", r: "40", fill: "#1B101F", fillOpacity: "0.5" }) }),
                                (0, o.jsx)("path", { d: "M47.333 43L56.6663 46.6666V33.3333L47.333 37", stroke: r || "white", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }),
                                (0, o.jsx)("path", {
                                    d:
                                        "M47.333 43V46.6667C47.333 48.1394 46.1391 49.3334 44.6663 49.3334H29.9997C28.5269 49.3334 27.333 48.1394 27.333 46.6667V33.3334C27.333 31.8606 28.5269 30.6667 29.9997 30.6667H44.6663C46.1391 30.6667 47.333 31.8606 47.333 33.3334V43.5",
                                    stroke: r || "white",
                                    strokeWidth: "2",
                                    strokeLinecap: "round",
                                    strokeLinejoin: "round",
                                }),
                            ],
                        });
                    },
                    "camera-change": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsx)("svg", {
                            xmlns: "http://www.w3.org/2000/svg",
                            width: t || 24,
                            height: t || 24,
                            viewBox: "0 0 24 24",
                            fill: r || "rgba(0,0,0,0.6)",
                            children: (0, o.jsx)("path", {
                                d:
                                    "M12.29,5.21l1.5,1.5a1,1,0,0,0,1.42,0,1,1,0,0,0,.13-1.21H19a1,1,0,0,0,0-2H15.34a1,1,0,0,0-.13-1.21,1,1,0,0,0-1.42,0l-1.5,1.5a1,1,0,0,0-.21.33,1,1,0,0,0,0,.76A1,1,0,0,0,12.29,5.21ZM22.92,9.12a1,1,0,0,0-.21-.33l-1.5-1.5a1,1,0,0,0-1.42,0,1,1,0,0,0-.13,1.21H16a1,1,0,0,0,0,2h3.66a1,1,0,0,0,.13,1.21,1,1,0,0,0,1.42,0l1.5-1.5a1,1,0,0,0,.21-.33A1,1,0,0,0,22.92,9.12ZM11,10a4,4,0,1,0,4,4A4,4,0,0,0,11,10Zm0,6a2,2,0,1,1,2-2A2,2,0,0,1,11,16Zm9-3a1,1,0,0,0-1,1v5a1,1,0,0,1-1,1H4a1,1,0,0,1-1-1V11a1,1,0,0,1,1-1H6a1,1,0,0,0,1-.69l.54-1.62A1,1,0,0,1,8.44,7H10a1,1,0,0,0,0-2H8.44A3,3,0,0,0,5.59,7.06L5.28,8H4a3,3,0,0,0-3,3v8a3,3,0,0,0,3,3H18a3,3,0,0,0,3-3V14A1,1,0,0,0,20,13Z",
                            }),
                        });
                    },
                    "portrait-orientation-only": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t || 86,
                            height: t || 86,
                            viewBox: "0 0 86 86",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("path", {
                                    d:
                                        "M33.8254 7.18383L32.7648 6.12317C33.3506 5.53738 34.3003 5.53738 34.8861 6.12317L33.8254 7.18383ZM80.0417 51.9C80.0417 52.7285 79.3701 53.4 78.5417 53.4L65.0417 53.4C64.2132 53.4 63.5417 52.7285 63.5417 51.9C63.5417 51.0716 64.2132 50.4 65.0417 50.4L77.0417 50.4V38.4C77.0417 37.5716 77.7132 36.9 78.5417 36.9C79.3701 36.9 80.0417 37.5716 80.0417 38.4L80.0417 51.9ZM14.8058 28.3248C14.22 28.9106 13.2702 28.9106 12.6845 28.3248C12.0987 27.739 12.0987 26.7893 12.6845 26.2035L14.8058 28.3248ZM34.8861 6.12317L79.6023 50.8394L77.481 52.9607L32.7648 8.24449L34.8861 6.12317ZM34.8861 8.24449L14.8058 28.3248L12.6845 26.2035L32.7648 6.12317L34.8861 8.24449Z",
                                    fill: r || "#DC4343",
                                }),
                                (0, o.jsx)("path", {
                                    d:
                                        "M52.0974 78.344L53.1581 79.4047C52.5723 79.9904 51.6225 79.9904 51.0367 79.4047L52.0974 78.344ZM5.88119 33.6278C5.88119 32.7994 6.55276 32.1278 7.38119 32.1278L20.8812 32.1278C21.7096 32.1278 22.3812 32.7994 22.3812 33.6278C22.3812 34.4562 21.7096 35.1278 20.8812 35.1278L8.88119 35.1278V47.1278C8.88119 47.9562 8.20961 48.6278 7.38119 48.6278C6.55276 48.6278 5.88119 47.9562 5.88119 47.1278L5.88119 33.6278ZM71.1171 57.203C71.7029 56.6172 72.6526 56.6172 73.2384 57.203C73.8242 57.7888 73.8242 58.7385 73.2384 59.3243L71.1171 57.203ZM51.0367 79.4047L6.32053 34.6884L8.44185 32.5671L53.1581 77.2833L51.0367 79.4047ZM51.0367 77.2833L71.1171 57.203L73.2384 59.3243L53.1581 79.4047L51.0367 77.2833Z",
                                    fill: r || "#DC4343",
                                }),
                            ],
                        });
                    },
                    "document-front": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t ? 1.4 * t : 920,
                            height: t || 640,
                            viewBox: "0 0 920 640",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("path", { d: "M520 200H800V240H520V200Z", fill: r || "white" }),
                                (0, o.jsx)("path", { d: "M800 300H520V340H800V300Z", fill: r || "white" }),
                                (0, o.jsx)("path", { d: "M520 400H800V440H520V400Z", fill: r || "white" }),
                                (0, o.jsx)("path", {
                                    fillRule: "evenodd",
                                    clipRule: "evenodd",
                                    d:
                                        "M274.943 123.429L274.933 123.432C266.551 126.295 258.863 130.466 251.927 135.343C243.39 140.807 235.349 147.484 228.244 155.117C216.999 166.723 206.985 181.73 202.638 200.462C201.732 203.954 201.031 207.508 200.554 211.114C198.857 223.937 199.991 237.409 204.799 251.055C201.906 250.776 199.719 251.697 198.089 253.419C191.062 260.842 194.356 283.152 195.842 288.454C202.652 312.775 208.999 319.597 213.796 319.988C216.486 337.575 230.545 358.063 243.587 375.139C243.587 405.888 203.816 413.339 170.442 419.591C162.723 421.037 155.346 422.419 148.883 424.01C114.629 432.436 110.268 472.281 110.168 504.349C110.141 513.052 117.321 520 126.023 520H473.977C482.679 520 489.859 513.052 489.839 504.349C489.769 472.142 485.483 432.464 451.117 424.01C445.211 422.556 438.486 421.191 431.39 419.752L431.388 419.751C396.76 412.725 353.321 403.912 353.321 374.203C353.664 373.739 354.01 373.272 354.358 372.804C357.463 368.617 360.701 364.25 363.825 359.791C372.128 347.938 379.624 335.429 381.652 323.912C382.709 324.634 383.91 325.123 385.24 325.123C385.796 325.123 386.374 325.037 386.972 324.849C391.593 323.394 397.418 315.772 403.633 293.568C410.9 267.609 406.477 258.905 400.199 256.714C420.616 157.928 373.971 154.617 373.971 154.617C373.971 154.617 366.934 140.939 348.397 130.606C337.66 124.183 323.287 119 304.851 119C301.953 119 298.964 119.122 295.865 119.395C288.479 119.744 281.5 121.188 274.943 123.429ZM321.183 350.388C316.077 357.278 313.321 365.627 313.321 374.203C313.321 396.791 323.959 414.183 337.296 425.916C349.473 436.63 364.134 443.009 376.199 447.154C388.689 451.445 401.819 454.454 412.943 456.796C417.197 457.692 421.006 458.464 424.494 459.171L424.495 459.171C431.031 460.495 436.443 461.592 441.555 462.85L441.562 462.852C442.371 463.051 442.688 463.234 442.718 463.251L442.719 463.252L442.723 463.254C442.746 463.267 442.79 463.292 442.907 463.412C443.207 463.723 444.371 465.103 445.684 468.766C446.817 471.928 447.691 475.687 448.338 480H151.711C152.363 475.717 153.239 471.971 154.372 468.81C155.699 465.109 156.878 463.698 157.192 463.372L157.194 463.369C157.207 463.34 157.301 463.132 158.438 462.852L158.445 462.85C163.729 461.549 169.527 460.462 176.817 459.096L176.821 459.095C179.572 458.579 182.535 458.024 185.763 457.402C196.469 455.34 209.407 452.649 221.731 448.562C233.686 444.597 248.469 438.255 260.709 426.995C274.269 414.522 283.587 396.915 283.587 375.139C283.587 366.365 280.702 357.834 275.376 350.86C269.197 342.77 263.625 334.956 259.415 327.693C254.949 319.99 253.579 315.526 253.336 313.941C251.698 303.233 245.887 294.002 237.651 287.879C236.767 285.573 235.697 282.397 234.493 278.142C234.495 278.139 234.486 278.086 234.467 277.984L234.452 277.901C235.091 277.195 235.707 276.464 236.298 275.708C244.717 264.952 247.065 250.644 242.526 237.762C239.17 228.237 239.103 219.19 241.356 210.506C241.443 210.173 241.525 209.839 241.603 209.503C243.904 199.588 249.376 190.79 256.971 182.951C257.156 182.76 257.34 182.567 257.521 182.372C262.328 177.208 267.774 172.691 273.489 169.034C273.978 168.721 274.46 168.397 274.936 168.063C279.286 165.004 283.597 162.748 287.809 161.303L287.883 161.278C291.162 160.157 294.424 159.508 297.75 159.351C298.292 159.325 298.833 159.288 299.374 159.241C301.267 159.074 303.083 159 304.851 159C315.374 159 322.72 161.857 327.864 164.933C328.213 165.142 328.565 165.345 328.92 165.543C333.473 168.081 336.341 170.874 337.886 172.659C338.515 173.386 338.906 173.925 339.077 174.173C344.22 183.353 352.722 190.05 362.636 192.979C364.507 197.532 368.476 212.578 361.027 248.618C358.865 259.075 361.005 269.523 366.336 278.005C366.023 279.378 365.623 280.965 365.114 282.784L365.113 282.786C364.533 284.861 363.983 286.685 363.469 288.283C352.34 293.961 344.445 304.559 342.258 316.974C342.258 316.974 342.208 317.246 342.023 317.818C341.833 318.406 341.53 319.218 341.065 320.269C340.111 322.423 338.685 325.105 336.678 328.368C332.654 334.911 327.684 341.617 321.853 349.483L321.183 350.388Z",
                                    fill: r || "white",
                                }),
                                (0, o.jsx)("path", {
                                    fillRule: "evenodd",
                                    clipRule: "evenodd",
                                    d:
                                        "M80 0C35.8172 0 0 35.8172 0 80V560C0 604.183 35.8172 640 80 640H840C884.183 640 920 604.183 920 560V80C920 35.8172 884.183 0 840 0H80ZM840 40H80C57.9086 40 40 57.9086 40 80V560C40 582.091 57.9086 600 80 600H840C862.091 600 880 582.091 880 560V80C880 57.9086 862.091 40 840 40Z",
                                    fill: r || "white",
                                }),
                            ],
                        });
                    },
                    "document-back": function (e) {
                        var t = e.size,
                            r = e.color;
                        return (0, o.jsxs)("svg", {
                            width: t ? 1.4 * t : 920,
                            height: t || 640,
                            viewBox: "0 0 920 640",
                            fill: "none",
                            xmlns: "http://www.w3.org/2000/svg",
                            children: [
                                (0, o.jsx)("path", { d: "M460 300H140V340H460V300Z", fill: r || "white" }),
                                (0, o.jsx)("path", {
                                    fillRule: "evenodd",
                                    clipRule: "evenodd",
                                    d:
                                        "M100 0C44.7715 0 0 44.7715 0 100V540C0 595.228 44.7715 640 100 640H820C875.228 640 920 595.228 920 540V100C920 44.7715 875.229 0 820 0H100ZM820 40H100C66.8629 40 40 66.8629 40 100V140H880V100C880 66.8629 853.137 40 820 40ZM40 540V240H880V540C880 573.137 853.137 600 820 600H100C66.8629 600 40 573.137 40 540Z",
                                    fill: r || "white",
                                }),
                            ],
                        });
                    },
                };
                var s = function (e) {
                        var t = e.type,
                            r = e.size,
                            n = e.color,
                            i = l[t];
                        return (0, o.jsx)(i, { size: r, color: n });
                    },
                    u = r("../../node_modules/localize-react/dist/localize-react.js"),
                    c = r("./src/components/button/style.css"),
                    h = ["children", "onClick"];
                function f(e, t) {
                    if (null == e) return {};
                    var r,
                        n,
                        i = (function (e, t) {
                            if (null == e) return {};
                            var r,
                                n,
                                i = {},
                                a = Object.keys(e);
                            for (n = 0; n < a.length; n++) (r = a[n]), t.indexOf(r) >= 0 || (i[r] = e[r]);
                            return i;
                        })(e, t);
                    if (Object.getOwnPropertySymbols) {
                        var a = Object.getOwnPropertySymbols(e);
                        for (n = 0; n < a.length; n++) (r = a[n]), t.indexOf(r) >= 0 || (Object.prototype.propertyIsEnumerable.call(e, r) && (i[r] = e[r]));
                    }
                    return i;
                }
                var d = function (e) {
                    var t = e.children,
                        r = e.onClick,
                        n = f(e, h);
                    return (0, o.jsx)("button", { "data-e2e": n["data-e2e"], className: c.Z.locals.button, onClick: r, children: t });
                };
                var g = function (e) {
                        var t = e.title,
                            r = e.type,
                            n = e.subtitle,
                            i = e.onReset,
                            l = e.size,
                            c = e.iconColor,
                            h = e.errorCode,
                            f = (0, u.useLocalize)().translate;
                        return (0, o.jsx)("div", {
                            className: a.Z.locals["info-message"],
                            children: (0, o.jsxs)("div", {
                                className: a.Z.locals["text-container"],
                                children: [
                                    "verified" === r ? (0, o.jsx)("div", { className: a.Z.locals.done }) : (0, o.jsx)(s, { type: r, size: l, color: c }),
                                    (0, o.jsx)("p", { "data-e2e": "info-msg-title", className: a.Z.locals.title, children: t }),
                                    (0, o.jsx)("p", { className: a.Z.locals.subtitle, children: n }),
                                    h && (0, o.jsxs)("p", { className: a.Z.locals.errorCode, children: [f("errorCode"), " ", h] }),
                                    i && (0, o.jsx)(d, { onClick: i, children: f("tryAgain") }),
                                ],
                            }),
                        });
                    },
                    C = r("../../node_modules/react/index.js");
                function p(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return I(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return I(e, t);
                        })(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function I(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                var m = (function (e) {
                    return (e.portrait = "portrait"), (e.landscape = "landscape"), e;
                })(m || {});
                function v() {
                    var e = p(
                            (0, C.useState)(function () {
                                var e = window.matchMedia("(orientation: landscape)").matches ? m.landscape : m.portrait;
                                return { isPortrait: e === m.portrait, isLandscape: e === m.landscape, orientation: e };
                            }),
                            2
                        ),
                        t = e[0],
                        r = e[1],
                        n = (0, C.useCallback)(
                            function () {
                                var e = window.matchMedia("(orientation: landscape)").matches ? m.landscape : m.portrait,
                                    n = { isPortrait: e === m.portrait, isLandscape: e === m.landscape, orientation: e };
                                t.orientation !== n.orientation && r(n);
                            },
                            [t.orientation]
                        );
                    return (
                        (0, C.useEffect)(
                            function () {
                                return (
                                    void 0 !== typeof window && (n(), window.addEventListener("load", n, !1), window.addEventListener("resize", n, !1)),
                                    function () {
                                        window.removeEventListener("load", n, !1), window.removeEventListener("resize", n, !1);
                                    }
                                );
                            },
                            [n]
                        ),
                        t
                    );
                }
                var E = r("./src/components/container/style.css");
                const y = (e) => {
                        let t;
                        const r = new Set(),
                            n = (e, n) => {
                                const i = "function" == typeof e ? e(t) : e;
                                if (!Object.is(i, t)) {
                                    const e = t;
                                    (t = (null != n ? n : "object" != typeof i) ? i : Object.assign({}, t, i)), r.forEach((r) => r(t, e));
                                }
                            },
                            i = () => t,
                            a = {
                                setState: n,
                                getState: i,
                                subscribe: (e) => (r.add(e), () => r.delete(e)),
                                destroy: () => {
                                    console.warn(
                                        "[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."
                                    ),
                                        r.clear();
                                },
                            };
                        return (t = e(n, i, a)), a;
                    },
                    w = (e) => (e ? y(e) : y);
                var A = r("../../node_modules/use-sync-external-store/shim/with-selector.js");
                const { useSyncExternalStoreWithSelector: S } = A;
                let b = !1;
                const Q = (e) => {
                        "function" != typeof e && console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");
                        const t = "function" == typeof e ? w(e) : e,
                            r = (e, r) =>
                                (function (e, t = e.getState, r) {
                                    r &&
                                        !b &&
                                        (console.warn(
                                            "[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"
                                        ),
                                        (b = !0));
                                    const n = S(e.subscribe, e.getState, e.getServerState || e.getState, t, r);
                                    return (0, C.useDebugValue)(n), n;
                                })(t, e, r);
                        return Object.assign(r, t), r;
                    },
                    k = (e) => (e ? Q(e) : Q);
                function x(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return O(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return O(e, t);
                        })(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function O(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                function B(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, L(n.key), n);
                    }
                }
                function F(e, t, r) {
                    return (t = L(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e;
                }
                function L(e) {
                    var t = (function (e, t) {
                        if ("object" != typeof e || null === e) return e;
                        var r = e[Symbol.toPrimitive];
                        if (void 0 !== r) {
                            var n = r.call(e, t || "default");
                            if ("object" != typeof n) return n;
                            throw new TypeError("@@toPrimitive must return a primitive value.");
                        }
                        return ("string" === t ? String : Number)(e);
                    })(e, "string");
                    return "symbol" == typeof t ? t : String(t);
                }
                var j = (function () {
                        function e() {
                            !(function (e, t) {
                                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                            })(this, e),
                                F(this, "_levels", []),
                                F(this, "_transports", []),
                                F(this, "_logs", []),
                                F(this, "_prevTime", 0);
                            try {
                                if (!window.localStorage) return;
                                var t = window.localStorage.getItem("logger");
                                if (!t) return;
                                var r = x(t.split(">"), 2),
                                    n = r[0],
                                    i = r[1];
                                (this._levels = n.split(",")), i && (this._transports = i.split(","));
                            } catch (a) {
                                return;
                            }
                        }
                        var t, r, n;
                        return (
                            (t = e),
                            (r = [
                                {
                                    key: "create",
                                    value: function (e, t) {
                                        var r = this;
                                        return function (n) {
                                            if (r._levels.includes(e) || r._levels.includes("all")) {
                                                var i = Date.now(),
                                                    a = 0;
                                                if ((r._prevTime && (a = i - r._prevTime), (r._prevTime = i), r._transports.includes("console"))) {
                                                    var o = (null == t ? void 0 : t.color) || "blue";
                                                    console.log("%c".concat(e, ": %c").concat(n, " %c+").concat(a, "ms"), "color: ".concat(o, ";"), "", "color: ".concat(o, ";"));
                                                }
                                                r._transports.includes("file") && r._logs.push("".concat(e, ": ").concat(n, " +").concat(a, "ms"));
                                            }
                                        };
                                    },
                                },
                                {
                                    key: "saveLogs",
                                    value: function () {
                                        if (this._logs.length) {
                                            var e = this._logs.join("\n"),
                                                t = new Blob([e], { type: "text/plain" }),
                                                r = window.URL.createObjectURL(t),
                                                n = document.createElement("a");
                                            (n.download = "log.txt"), (n.href = r), n.click(), window.URL.revokeObjectURL(r), (this._logs = []);
                                        }
                                    },
                                },
                            ]),
                            r && B(t.prototype, r),
                            n && B(t, n),
                            Object.defineProperty(t, "prototype", { writable: !1 }),
                            e
                        );
                    })(),
                    W = new j(),
                    R = (function (e) {
                        return (
                            (e.WASM_ERROR = "WASM_ERROR"),
                            (e.UNKNOWN_ERROR = "UNKNOWN_ERROR"),
                            (e.NOT_SUPPORTED = "NOT_SUPPORTED"),
                            (e.CAMERA_UNKNOWN_ERROR = "CAMERA_UNKNOWN_ERROR"),
                            (e.CAMERA_PERMISSION_DENIED = "CAMERA_PERMISSION_DENIED"),
                            (e.NO_CAMERA = "NO_CAMERA"),
                            (e.INCORRECT_CAMERA_ID = "INCORRECT_CAMERA_ID"),
                            (e.CONNECTION_ERROR = "CONNECTION_ERROR"),
                            (e.LANDSCAPE_MODE_RESTRICTED = "LANDSCAPE_MODE_RESTRICTED"),
                            (e.TIMEOUT_ERROR = "TIMEOUT_ERROR"),
                            (e.CHANGE_CAMERA = "CHANGE_CAMERA"),
                            (e.DEVICE_ROTATE = "DEVICE_ROTATE"),
                            (e.APP_INACTIVE = "APP_INACTIVE"),
                            e
                        );
                    })({}),
                    Y = (function (e) {
                        return (
                            (e[(e.Empty = 0)] = "Empty"),
                            (e[(e.FitFaceIntoOval = 1)] = "FitFaceIntoOval"),
                            (e[(e.LookStraight = 2)] = "LookStraight"),
                            (e[(e.MoveCloser = 3)] = "MoveCloser"),
                            (e[(e.MoveAway = 4)] = "MoveAway"),
                            (e[(e.HoldStill = 5)] = "HoldStill"),
                            (e[(e.ShowOnlyOneFace = 6)] = "ShowOnlyOneFace"),
                            (e[(e.TurnHead = 7)] = "TurnHead"),
                            e
                        );
                    })({}),
                    D = (function (e) {
                        return (e[(e.Far = 0)] = "Far"), (e[(e.Near = 1)] = "Near"), e;
                    })({}),
                    K = (function (e) {
                        return (e[(e.Finished = 0)] = "Finished"), (e[(e.InProcess = 1)] = "InProcess"), (e[(e.Timeout = 2)] = "Timeout"), (e[(e.Failed = 3)] = "Failed"), (e[(e.Stop_Session = 4)] = "Stop_Session"), e;
                    })({}),
                    P = (function (e) {
                        return (e[(e.ASYNCHRONOUS_UPLOAD = 0)] = "ASYNCHRONOUS_UPLOAD"), (e[(e.SYNCHRONOUS_UPLOAD = 1)] = "SYNCHRONOUS_UPLOAD"), (e[(e.NOT_UPLOAD = 2)] = "NOT_UPLOAD"), e;
                    })({}),
                    G = (function (e) {
                        return (
                            (e.ELEMENT_VISIBLE = "ELEMENT_VISIBLE"),
                            (e.PRESS_START_BUTTON = "PRESS_START_BUTTON"),
                            (e.PRESS_RETRY_BUTTON = "PRESS_RETRY_BUTTON"),
                            (e.CLOSE = "CLOSE"),
                            (e.PROCESS_FINISHED = "PROCESS_FINISHED"),
                            (e.SERVICE_INITIALIZED = "SERVICE_INITIALIZED"),
                            (e.RETRY_COUNTER_EXCEEDED = "RETRY_COUNTER_EXCEEDED"),
                            e
                        );
                    })({}),
                    M = (function (e) {
                        return (
                            (e.CHANGE_CAMERA = "FaceAbortSessionStatus.CHANGE_CAMERA"),
                            (e.DEVICE_ROTATE = "FaceAbortSessionStatus.DEVICE_ROTATE"),
                            (e.SESSION_TIMEOUT = "FaceAbortSessionStatus.TIMEOUT"),
                            (e.CLOSE_BUTTON = "FaceAbortSessionStatus.CLOSE_BUTTON"),
                            (e.UNKNOWN = "FaceAbortSessionStatus.UNKNOWN"),
                            (e.APP_INACTIVE = "FaceAbortSessionStatus.APP_INACTIVE"),
                            e
                        );
                    })({}),
                    U = (function (e) {
                        return (
                            (e.RESTART = "FaceCompletionStatus.RESTART"),
                            (e.ABORT_PROCESSING = "FaceCompletionStatus.ABORT_PROCESSING"),
                            (e.INSTRUCTION = "FaceCompletionStatus.INSTRUCTION"),
                            (e.SUCCESS = "FaceCompletionStatus.SUCCESS"),
                            (e.FAILED = "FaceCompletionStatus.FAILED"),
                            (e.CAPTURING = "FaceCompletionStatus.CAPTURING"),
                            (e.PROCESSING_REQUEST = "FaceCompletionStatus.PROCESSING_REQUEST"),
                            (e.WASM_DEFAULT_ERROR = "FaceCompletionStatus.WASM_DEFAULT_ERROR"),
                            (e.NOT_SUPPORTED_ERROR = "FaceCompletionStatus.NOT_SUPPORTED_ERROR"),
                            (e.UNKNOWN_ERROR = "FaceCompletionStatus.UNKNOWN_ERROR"),
                            (e.NO_CAMERA_ERROR = "FaceCompletionStatus.NO_CAMERA_ERROR"),
                            (e.PERMISSION_DENIED_ERROR = "FaceCompletionStatus.PERMISSION_DENIED_ERROR"),
                            (e.INCORRECT_CAMERA_ID_ERROR = "FaceCompletionStatus.INCORRECT_CAMERA_ID_ERROR"),
                            e
                        );
                    })({}),
                    N = "https://faceapi.regulaforensics.com",
                    V = {
                        199: { name: "FACER_CONFIG_ERROR", type: -1 },
                        201: { name: "FACER_IS_NOT_INITIALIZED", type: -1 },
                        202: { name: "FACER_COMMAND_IS_NOT_SUPPORTED", type: -1 },
                        203: { name: "FACER_COMMAND_PARAMS_READ_ERROR", type: 1 },
                        224: { name: "FACER_LESS_THAN_TWO_IMAGES_IN_REQUEST", type: -1 },
                        227: { name: "FACER_VIDEO_DECODE_ERROR", type: -1 },
                        228: { name: "FACER_NOT_ENOUGH_FRAMES", type: -1 },
                        229: { name: "FACER_OUTPUT_IS_NOT_DEFINED", type: -1 },
                        230: { name: "FACER_CLOSED_EYES_DETECTED", type: 2 },
                        231: { name: "FACER_LOW_QUALITY", type: 1 },
                        232: { name: "FACER_HIGH_ASYMMETRY", type: 2 },
                        233: { name: "FACER_FACE_OVER_EMOTIONAL", type: 2 },
                        234: { name: "FACER_SUNGLASSES_DETECTED", type: 2 },
                        235: { name: "FACER_SMALL_AGE", type: 2 },
                        236: { name: "FACER_HEADDRESS_DETECTED", type: 2 },
                        237: { name: "FACER_FACES_NOT_MATCHED", type: -1 },
                        238: { name: "FACER_IMAGES_COUNT_LIMIT_EXCEEDED", type: -1 },
                        239: { name: "FACER_MEDICINE_MASK_DETECTED", type: 2 },
                        240: { name: "FACER_OCCLUSION_DETECTED", type: 2 },
                        242: { name: "FACER_FOREHEAD_GLASSES_DETECTED", type: 2 },
                        243: { name: "FACER_MOUTH_OPENED", type: 2 },
                        244: { name: "FACER_ART_MASK_DETECTED", type: 2 },
                        245: { name: "FACER_ELECTRONIC_DEVICE_DETECTED", type: -1 },
                        246: { name: "FACER_TRACK_BREAK", type: 1 },
                        247: { name: "FACER_WRONG_GEO", type: -1 },
                        248: { name: "FACER_WRONG_OF", type: -1 },
                        249: { name: "FACER_WRONG_VIEW", type: -1 },
                    },
                    T = { [R.WASM_ERROR]: U.WASM_DEFAULT_ERROR, [R.NOT_SUPPORTED]: U.NOT_SUPPORTED_ERROR },
                    H = {
                        iOS: { Chrome: 99, Firefox: 99, Opera: 44, Safari: 11, Edge: 16, Chromium: 57, IE: 16, "Internet Explorer": 16, "Mobile Safari": 11, "Samsung Browser": 7 },
                        Android: { Chrome: 69, Firefox: 63, Opera: 44, Safari: 11, Edge: 16, Chromium: 57, IE: 16, "Internet Explorer": 16, "Mobile Safari": 11, "Samsung Browser": 7 },
                        desktop: { Chrome: 66, Firefox: 69, Opera: 44, Safari: 11, Edge: 16, Chromium: 57, IE: 16, "Internet Explorer": 16, "Mobile Safari": 11, "Samsung Browser": 7 },
                    },
                    z = [3, 4, 5],
                    J = [Y.FitFaceIntoOval, Y.MoveAway, Y.MoveCloser, Y.TurnHead, Y.LookStraight],
                    Z = [Y.MoveAway, Y.MoveCloser, Y.FitFaceIntoOval],
                    q = (function (e) {
                        return (e.aborted = "liveness_aborted"), (e.timeout = "liveness_timeout"), (e.default = "liveness_default"), (e.inactive = "liveness_inactive"), e;
                    })({}),
                    X = (function (e) {
                        return (e[(e.ACTIVE = 0)] = "ACTIVE"), (e[(e.PASSIVE = 1)] = "PASSIVE"), e;
                    })({}),
                    _ = (function (e) {
                        return (e[(e.FACE_LIVENESS = 0)] = "FACE_LIVENESS"), (e[(e.FACE_CAPTURE = 1)] = "FACE_CAPTURE"), (e[(e.FACE_PASSIVE_LIVENESS = 2)] = "FACE_PASSIVE_LIVENESS"), e;
                    })({});
                function $(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function ee(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2
                            ? $(Object(r), !0).forEach(function (t) {
                                  te(e, t, r[t]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                            : $(Object(r)).forEach(function (t) {
                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                              });
                    }
                    return e;
                }
                function te(e, t, r) {
                    return (
                        (t = (function (e) {
                            var t = (function (e, t) {
                                if ("object" != typeof e || null === e) return e;
                                var r = e[Symbol.toPrimitive];
                                if (void 0 !== r) {
                                    var n = r.call(e, t || "default");
                                    if ("object" != typeof n) return n;
                                    throw new TypeError("@@toPrimitive must return a primitive value.");
                                }
                                return ("string" === t ? String : Number)(e);
                            })(e, "string");
                            return "symbol" == typeof t ? t : String(t);
                        })(t)) in e
                            ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 })
                            : (e[t] = r),
                        e
                    );
                }
                var re = W.create("main"),
                    ne = {
                        locale: void 0,
                        url: void 0,
                        debug: void 0,
                        headers: void 0,
                        tag: "",
                        copyright: void 0,
                        cameraId: void 0,
                        changeCamera: !0,
                        startScreen: void 0,
                        videoRecording: void 0,
                        deviceOrientation: void 0,
                        closeDisabled: void 0,
                        finishScreen: void 0,
                        retryCount: -1,
                        customization: {},
                        nonce: void 0,
                        rotationAngle: void 0,
                        recordingProcess: P.ASYNCHRONOUS_UPLOAD,
                        livenessType: X.ACTIVE,
                        holdStillDuration: void 0,
                        timeoutInterval: void 0,
                    },
                    ie = function (e, t) {
                        return ee(
                            ee({}, ne),
                            {},
                            {
                                onEvent: function () {
                                    return re('Function "onEvent" not defined.');
                                },
                                setTag: function (t) {
                                    return e(function () {
                                        return { tag: t };
                                    });
                                },
                                setUserCameraId: function (t) {
                                    return e(function () {
                                        return { cameraId: t };
                                    });
                                },
                                setRetryCount: function (t) {
                                    return e(function () {
                                        return { retryCount: t };
                                    });
                                },
                                decreaseRetryCount: function () {
                                    return e(function (e) {
                                        var t = e.retryCount;
                                        return { retryCount: t < 0 ? e.retryCount : t - 1 };
                                    });
                                },
                                resetAttributes: function () {
                                    return e(function () {
                                        return ee({}, ne);
                                    });
                                },
                            }
                        );
                    },
                    ae = (function (e) {
                        return (e.UINT = "UINT"), (e.BASE64 = "BASE64"), (e.UINT_AND_BASE64 = "UINT_AND_BASE64"), e;
                    })({}),
                    oe = (function (e) {
                        return (e.UINT = "UINT"), (e.BLOB = "BLOB"), e;
                    })({}),
                    le = (function (e) {
                        return (e[(e.EMPTY = -1)] = "EMPTY"), (e[(e.ERROR = 0)] = "ERROR"), (e[(e.OK = 1)] = "OK"), (e[(e.TIMEOUT = 2)] = "TIMEOUT"), e;
                    })({}),
                    se = (function (e) {
                        return (
                            (e.PREPARING = "StreamStatus.PREPARING"),
                            (e.REQUESTING = "StreamStatus.REQUESTING"),
                            (e.READY = "StreamStatus.READY"),
                            (e.PLAY = "StreamStatus.PLAY"),
                            (e.UNKNOWN_ERROR = "StreamStatus.UNKNOWN_ERROR"),
                            (e.NOT_SUPPORTED = "StreamStatus.NOT_SUPPORTED"),
                            (e.PERMISSION_DENIED = "StreamStatus.PERMISSION_DENIED"),
                            (e.NO_CAMERA = "StreamStatus.NO_CAMERA"),
                            (e.INCORRECT_CAMERA_ID = "StreamStatus.INCORRECT_CAMERA_ID"),
                            e
                        );
                    })({}),
                    ue = (function (e) {
                        return (e.user = "user"), (e.environment = "environment"), e;
                    })({}),
                    ce = (function (e) {
                        return (e.contain = "contain"), (e.cover = "cover"), e;
                    })({}),
                    he = (function (e) {
                        return (e.CAMERA_UNKNOWN_ERROR = "CAMERA_UNKNOWN_ERROR"), (e.CAMERA_PERMISSION_DENIED = "CAMERA_PERMISSION_DENIED"), (e.NO_CAMERA = "NO_CAMERA"), (e.INCORRECT_CAMERA_ID = "INCORRECT_CAMERA_ID"), e;
                    })({}),
                    fe = (function (e) {
                        return (
                            (e[(e.HAVE_NOTHING = 0)] = "HAVE_NOTHING"),
                            (e[(e.HAVE_METADATA = 1)] = "HAVE_METADATA"),
                            (e[(e.HAVE_CURRENT_DATA = 2)] = "HAVE_CURRENT_DATA"),
                            (e[(e.HAVE_FUTURE_DATA = 3)] = "HAVE_FUTURE_DATA"),
                            (e[(e.HAVE_ENOUGH_DATA = 4)] = "HAVE_ENOUGH_DATA"),
                            e
                        );
                    })({}),
                    de = (function (e) {
                        return (e.Rtl = "rtl"), (e.Ltr = "ltr"), e;
                    })({}),
                    ge = ["ar", "he"],
                    Ce = 1e4,
                    pe = { VGA: { width: 640, height: 480 }, HD: { width: 1280, height: 720 }, FULL_HD: { width: 1920, height: 1080 }, SQUARE: { width: 720, height: 720 } },
                    Ie = [
                        "rear",
                        "back",
                        "rück",
                        "arrière",
                        "trasera",
                        "trás",
                        "traseira",
                        "posteriore",
                        "posterior",
                        "后面",
                        "後面",
                        "背面",
                        "后置",
                        "後置",
                        "背置",
                        "задней",
                        "الخلفية",
                        "خلفية",
                        "후",
                        "arka",
                        "achterzijde",
                        "หลัง",
                        "baksidan",
                        "bagside",
                        "sau",
                        "bak",
                        "tylny",
                        "takakamera",
                        "belakang",
                        "אחורית",
                        "πίσω",
                        "spate",
                        "hátsó",
                        "zadní",
                        "darrere",
                        "zadná",
                        "задня",
                        "задна",
                        "birou",
                        "артқы",
                        "stražnja",
                        "belakang",
                        "बैक",
                        "desk",
                        "桌上视角相机",
                        "桌上視角相機",
                        "デスクビューカメラ",
                        "cenital",
                        "escritorio",
                        "bureau",
                        "secretária",
                        "scrivania",
                        "masa",
                        "bureauweergave",
                        "الرأسي",
                        "กล้องดูด้านหน้าโต๊ะ",
                        "skrivebord",
                        "bordvisning",
                        "blatu",
                        "työpöytänäkymän",
                        "meja",
                        "תצוגת שולחן",
                        "προβολής",
                        "íróasztal",
                        "stolní",
                        "l’escriptori",
                        "stolná",
                        "стіл",
                        "стола",
                        "डेस्क",
                        "үстел",
                        "настолна",
                        "데스크뷰",
                        "bordsvisningskamera",
                    ],
                    me = { [se.UNKNOWN_ERROR]: he.CAMERA_UNKNOWN_ERROR, [se.PERMISSION_DENIED]: he.CAMERA_PERMISSION_DENIED, [se.NO_CAMERA]: he.NO_CAMERA, [se.INCORRECT_CAMERA_ID]: he.INCORRECT_CAMERA_ID },
                    ve = (function (e) {
                        return (e.DOCUMENT = "DOCUMENT"), (e.FACE = "FACE"), e;
                    })({});
                function Ee() {
                    Ee = function () {
                        return t;
                    };
                    var e,
                        t = {},
                        r = Object.prototype,
                        n = r.hasOwnProperty,
                        i =
                            Object.defineProperty ||
                            function (e, t, r) {
                                e[t] = r.value;
                            },
                        a = "function" == typeof Symbol ? Symbol : {},
                        o = a.iterator || "@@iterator",
                        l = a.asyncIterator || "@@asyncIterator",
                        s = a.toStringTag || "@@toStringTag";
                    function u(e, t, r) {
                        return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t];
                    }
                    try {
                        u({}, "");
                    } catch (e) {
                        u = function (e, t, r) {
                            return (e[t] = r);
                        };
                    }
                    function c(e, t, r, n) {
                        var a = t && t.prototype instanceof I ? t : I,
                            o = Object.create(a.prototype),
                            l = new B(n || []);
                        return i(o, "_invoke", { value: Q(e, r, l) }), o;
                    }
                    function h(e, t, r) {
                        try {
                            return { type: "normal", arg: e.call(t, r) };
                        } catch (e) {
                            return { type: "throw", arg: e };
                        }
                    }
                    t.wrap = c;
                    var f = "suspendedStart",
                        d = "suspendedYield",
                        g = "executing",
                        C = "completed",
                        p = {};
                    function I() {}
                    function m() {}
                    function v() {}
                    var E = {};
                    u(E, o, function () {
                        return this;
                    });
                    var y = Object.getPrototypeOf,
                        w = y && y(y(F([])));
                    w && w !== r && n.call(w, o) && (E = w);
                    var A = (v.prototype = I.prototype = Object.create(E));
                    function S(e) {
                        ["next", "throw", "return"].forEach(function (t) {
                            u(e, t, function (e) {
                                return this._invoke(t, e);
                            });
                        });
                    }
                    function b(e, t) {
                        function r(i, a, o, l) {
                            var s = h(e[i], e, a);
                            if ("throw" !== s.type) {
                                var u = s.arg,
                                    c = u.value;
                                return c && "object" == typeof c && n.call(c, "__await")
                                    ? t.resolve(c.__await).then(
                                          function (e) {
                                              r("next", e, o, l);
                                          },
                                          function (e) {
                                              r("throw", e, o, l);
                                          }
                                      )
                                    : t.resolve(c).then(
                                          function (e) {
                                              (u.value = e), o(u);
                                          },
                                          function (e) {
                                              return r("throw", e, o, l);
                                          }
                                      );
                            }
                            l(s.arg);
                        }
                        var a;
                        i(this, "_invoke", {
                            value: function (e, n) {
                                function i() {
                                    return new t(function (t, i) {
                                        r(e, n, t, i);
                                    });
                                }
                                return (a = a ? a.then(i, i) : i());
                            },
                        });
                    }
                    function Q(t, r, n) {
                        var i = f;
                        return function (a, o) {
                            if (i === g) throw new Error("Generator is already running");
                            if (i === C) {
                                if ("throw" === a) throw o;
                                return { value: e, done: !0 };
                            }
                            for (n.method = a, n.arg = o; ; ) {
                                var l = n.delegate;
                                if (l) {
                                    var s = k(l, n);
                                    if (s) {
                                        if (s === p) continue;
                                        return s;
                                    }
                                }
                                if ("next" === n.method) n.sent = n._sent = n.arg;
                                else if ("throw" === n.method) {
                                    if (i === f) throw ((i = C), n.arg);
                                    n.dispatchException(n.arg);
                                } else "return" === n.method && n.abrupt("return", n.arg);
                                i = g;
                                var u = h(t, r, n);
                                if ("normal" === u.type) {
                                    if (((i = n.done ? C : d), u.arg === p)) continue;
                                    return { value: u.arg, done: n.done };
                                }
                                "throw" === u.type && ((i = C), (n.method = "throw"), (n.arg = u.arg));
                            }
                        };
                    }
                    function k(t, r) {
                        var n = r.method,
                            i = t.iterator[n];
                        if (i === e)
                            return (
                                (r.delegate = null),
                                ("throw" === n && t.iterator.return && ((r.method = "return"), (r.arg = e), k(t, r), "throw" === r.method)) ||
                                    ("return" !== n && ((r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a '" + n + "' method")))),
                                p
                            );
                        var a = h(i, t.iterator, r.arg);
                        if ("throw" === a.type) return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), p;
                        var o = a.arg;
                        return o
                            ? o.done
                                ? ((r[t.resultName] = o.value), (r.next = t.nextLoc), "return" !== r.method && ((r.method = "next"), (r.arg = e)), (r.delegate = null), p)
                                : o
                            : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), p);
                    }
                    function x(e) {
                        var t = { tryLoc: e[0] };
                        1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t);
                    }
                    function O(e) {
                        var t = e.completion || {};
                        (t.type = "normal"), delete t.arg, (e.completion = t);
                    }
                    function B(e) {
                        (this.tryEntries = [{ tryLoc: "root" }]), e.forEach(x, this), this.reset(!0);
                    }
                    function F(t) {
                        if (t || "" === t) {
                            var r = t[o];
                            if (r) return r.call(t);
                            if ("function" == typeof t.next) return t;
                            if (!isNaN(t.length)) {
                                var i = -1,
                                    a = function r() {
                                        for (; ++i < t.length; ) if (n.call(t, i)) return (r.value = t[i]), (r.done = !1), r;
                                        return (r.value = e), (r.done = !0), r;
                                    };
                                return (a.next = a);
                            }
                        }
                        throw new TypeError(typeof t + " is not iterable");
                    }
                    return (
                        (m.prototype = v),
                        i(A, "constructor", { value: v, configurable: !0 }),
                        i(v, "constructor", { value: m, configurable: !0 }),
                        (m.displayName = u(v, s, "GeneratorFunction")),
                        (t.isGeneratorFunction = function (e) {
                            var t = "function" == typeof e && e.constructor;
                            return !!t && (t === m || "GeneratorFunction" === (t.displayName || t.name));
                        }),
                        (t.mark = function (e) {
                            return Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), u(e, s, "GeneratorFunction")), (e.prototype = Object.create(A)), e;
                        }),
                        (t.awrap = function (e) {
                            return { __await: e };
                        }),
                        S(b.prototype),
                        u(b.prototype, l, function () {
                            return this;
                        }),
                        (t.AsyncIterator = b),
                        (t.async = function (e, r, n, i, a) {
                            void 0 === a && (a = Promise);
                            var o = new b(c(e, r, n, i), a);
                            return t.isGeneratorFunction(r)
                                ? o
                                : o.next().then(function (e) {
                                      return e.done ? e.value : o.next();
                                  });
                        }),
                        S(A),
                        u(A, s, "Generator"),
                        u(A, o, function () {
                            return this;
                        }),
                        u(A, "toString", function () {
                            return "[object Generator]";
                        }),
                        (t.keys = function (e) {
                            var t = Object(e),
                                r = [];
                            for (var n in t) r.push(n);
                            return (
                                r.reverse(),
                                function e() {
                                    for (; r.length; ) {
                                        var n = r.pop();
                                        if (n in t) return (e.value = n), (e.done = !1), e;
                                    }
                                    return (e.done = !0), e;
                                }
                            );
                        }),
                        (t.values = F),
                        (B.prototype = {
                            constructor: B,
                            reset: function (t) {
                                if (((this.prev = 0), (this.next = 0), (this.sent = this._sent = e), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = e), this.tryEntries.forEach(O), !t))
                                    for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
                            },
                            stop: function () {
                                this.done = !0;
                                var e = this.tryEntries[0].completion;
                                if ("throw" === e.type) throw e.arg;
                                return this.rval;
                            },
                            dispatchException: function (t) {
                                if (this.done) throw t;
                                var r = this;
                                function i(n, i) {
                                    return (l.type = "throw"), (l.arg = t), (r.next = n), i && ((r.method = "next"), (r.arg = e)), !!i;
                                }
                                for (var a = this.tryEntries.length - 1; a >= 0; --a) {
                                    var o = this.tryEntries[a],
                                        l = o.completion;
                                    if ("root" === o.tryLoc) return i("end");
                                    if (o.tryLoc <= this.prev) {
                                        var s = n.call(o, "catchLoc"),
                                            u = n.call(o, "finallyLoc");
                                        if (s && u) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        } else if (s) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                        } else {
                                            if (!u) throw new Error("try statement without catch or finally");
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        }
                                    }
                                }
                            },
                            abrupt: function (e, t) {
                                for (var r = this.tryEntries.length - 1; r >= 0; --r) {
                                    var i = this.tryEntries[r];
                                    if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
                                        var a = i;
                                        break;
                                    }
                                }
                                a && ("break" === e || "continue" === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null);
                                var o = a ? a.completion : {};
                                return (o.type = e), (o.arg = t), a ? ((this.method = "next"), (this.next = a.finallyLoc), p) : this.complete(o);
                            },
                            complete: function (e, t) {
                                if ("throw" === e.type) throw e.arg;
                                return (
                                    "break" === e.type || "continue" === e.type
                                        ? (this.next = e.arg)
                                        : "return" === e.type
                                        ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
                                        : "normal" === e.type && t && (this.next = t),
                                    p
                                );
                            },
                            finish: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), O(r), p;
                                }
                            },
                            catch: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.tryLoc === e) {
                                        var n = r.completion;
                                        if ("throw" === n.type) {
                                            var i = n.arg;
                                            O(r);
                                        }
                                        return i;
                                    }
                                }
                                throw new Error("illegal catch attempt");
                            },
                            delegateYield: function (t, r, n) {
                                return (this.delegate = { iterator: F(t), resultName: r, nextLoc: n }), "next" === this.method && (this.arg = e), p;
                            },
                        }),
                        t
                    );
                }
                function ye(e, t, r, n, i, a, o) {
                    try {
                        var l = e[a](o),
                            s = l.value;
                    } catch (u) {
                        return void r(u);
                    }
                    l.done ? t(s) : Promise.resolve(s).then(n, i);
                }
                function we(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function Ae(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2
                            ? we(Object(r), !0).forEach(function (t) {
                                  Se(e, t, r[t]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                            : we(Object(r)).forEach(function (t) {
                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                              });
                    }
                    return e;
                }
                function Se(e, t, r) {
                    return (
                        (t = (function (e) {
                            var t = (function (e, t) {
                                if ("object" != typeof e || null === e) return e;
                                var r = e[Symbol.toPrimitive];
                                if (void 0 !== r) {
                                    var n = r.call(e, t || "default");
                                    if ("object" != typeof n) return n;
                                    throw new TypeError("@@toPrimitive must return a primitive value.");
                                }
                                return ("string" === t ? String : Number)(e);
                            })(e, "string");
                            return "symbol" == typeof t ? t : String(t);
                        })(t)) in e
                            ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 })
                            : (e[t] = r),
                        e
                    );
                }
                var be = { publicKey: void 0, transactionId: "", images: [], abortProcess: !1, abortSessionStatus: null, faceSnapshot: !1, response: { code: le.EMPTY }, request: null, completionStatus: U.INSTRUCTION },
                    Qe = function (e, t) {
                        return Ae(
                            Ae({}, be),
                            {},
                            {
                                setRequest: function (t) {
                                    return e(function () {
                                        return { request: t };
                                    });
                                },
                                setResponse: function (t) {
                                    return e(function () {
                                        return { response: t };
                                    });
                                },
                                setAbortSessionStatus: function (t) {
                                    return e(function () {
                                        return { abortSessionStatus: t };
                                    });
                                },
                                setAbortProcess: function (t) {
                                    return e(function () {
                                        return { abortProcess: t };
                                    });
                                },
                                setImages: function (t) {
                                    return e(function () {
                                        return { images: t };
                                    });
                                },
                                setPublicKey: function (t) {
                                    return e(function () {
                                        return { publicKey: t };
                                    });
                                },
                                setTransactionId: function (t) {
                                    return e(function () {
                                        return { transactionId: t };
                                    });
                                },
                                setCompletionStatus: function (t) {
                                    return e(function () {
                                        return { completionStatus: t };
                                    });
                                },
                                onRestart:
                                    ((r = Ee().mark(function r(n) {
                                        var i, a, o, l;
                                        return Ee().wrap(function (r) {
                                            for (;;)
                                                switch ((r.prev = r.next)) {
                                                    case 0:
                                                        if (((i = t().abortSessionStatus), (a = i === M.CHANGE_CAMERA), (o = i === M.DEVICE_ROTATE), (l = i === M.SESSION_TIMEOUT || i === M.APP_INACTIVE), !n)) {
                                                            r.next = 7;
                                                            break;
                                                        }
                                                        return (
                                                            e(function () {
                                                                return { completionStatus: U.RESTART, request: null, response: { code: le.EMPTY }, images: [] };
                                                            }),
                                                            r.abrupt("return")
                                                        );
                                                    case 7:
                                                        if (!l) {
                                                            r.next = 11;
                                                            break;
                                                        }
                                                        e(function () {
                                                            return { completionStatus: U.FAILED, request: null, response: { code: le.EMPTY }, images: [] };
                                                        }),
                                                            (r.next = 14);
                                                        break;
                                                    case 11:
                                                        return (
                                                            (r.next = 13),
                                                            e(function () {
                                                                return { completionStatus: U.RESTART };
                                                            })
                                                        );
                                                    case 13:
                                                        e(function (e) {
                                                            return { completionStatus: !e.startScreen || a || o ? U.CAPTURING : U.INSTRUCTION, request: null, response: { code: le.EMPTY }, images: [] };
                                                        });
                                                    case 14:
                                                    case "end":
                                                        return r.stop();
                                                }
                                        }, r);
                                    })),
                                    (n = function () {
                                        var e = this,
                                            t = arguments;
                                        return new Promise(function (n, i) {
                                            var a = r.apply(e, t);
                                            function o(e) {
                                                ye(a, n, i, o, l, "next", e);
                                            }
                                            function l(e) {
                                                ye(a, n, i, o, l, "throw", e);
                                            }
                                            o(void 0);
                                        });
                                    }),
                                    function (e) {
                                        return n.apply(this, arguments);
                                    }),
                                onStart: function () {
                                    e(function (e) {
                                        return e.onEvent({ action: G.PRESS_START_BUTTON, data: null }), { completionStatus: U.CAPTURING };
                                    });
                                },
                                onRotateDevice: function (r, n) {
                                    var i = t().completionStatus;
                                    i === U.RESTART &&
                                        e(function (e) {
                                            return { completionStatus: e.startScreen ? U.INSTRUCTION : U.CAPTURING };
                                        }),
                                        i === U.CAPTURING &&
                                            (r || n) &&
                                            e(function (e) {
                                                return (
                                                    e.onEvent({ action: G.PROCESS_FINISHED, data: { status: le.ERROR, reason: r ? R.LANDSCAPE_MODE_RESTRICTED : R.DEVICE_ROTATE } }), { abortProcess: !0, abortSessionStatus: M.DEVICE_ROTATE }
                                                );
                                            });
                                },
                                onError: function (t) {
                                    var r = T[t.type] || U.UNKNOWN_ERROR;
                                    e(function (e) {
                                        return e.onEvent({ action: G.PROCESS_FINISHED, data: { status: le.ERROR, reason: t.type } }), { completionStatus: r };
                                    });
                                },
                                resetProps: function () {
                                    return e(function () {
                                        return Ae({}, be);
                                    });
                                },
                            }
                        );
                        var r, n;
                    };
                function ke(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function xe(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2
                            ? ke(Object(r), !0).forEach(function (t) {
                                  Oe(e, t, r[t]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                            : ke(Object(r)).forEach(function (t) {
                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                              });
                    }
                    return e;
                }
                function Oe(e, t, r) {
                    return (
                        (t = (function (e) {
                            var t = (function (e, t) {
                                if ("object" != typeof e || null === e) return e;
                                var r = e[Symbol.toPrimitive];
                                if (void 0 !== r) {
                                    var n = r.call(e, t || "default");
                                    if ("object" != typeof n) return n;
                                    throw new TypeError("@@toPrimitive must return a primitive value.");
                                }
                                return ("string" === t ? String : Number)(e);
                            })(e, "string");
                            return "symbol" == typeof t ? t : String(t);
                        })(t)) in e
                            ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 })
                            : (e[t] = r),
                        e
                    );
                }
                var Be = k(function () {
                    return xe(xe({}, ie.apply(void 0, arguments)), Qe.apply(void 0, arguments));
                });
                for (
                    var Fe = function (e) {
                            var t = e.onClose,
                                r = e.children,
                                n = e.direction,
                                a = v(),
                                l = a.isPortrait,
                                c = a.isLandscape,
                                h = (0, u.useLocalize)(),
                                f = h.translate,
                                d = h.locale,
                                p = Be(),
                                I = p.copyright,
                                m = p.closeDisabled,
                                y = p.rotationAngle;
                            (0, C.useEffect)(function () {
                                var e = document.getElementsByTagName("body")[0];
                                return (
                                    (e.style.overflow = "hidden"),
                                    function () {
                                        e.style.overflow = "";
                                    }
                                );
                            });
                            var w = (0, C.useMemo)(
                                function () {
                                    return i.nI && y && 0 !== y && 180 !== y;
                                },
                                [y]
                            );
                            return (0, o.jsxs)("div", {
                                className: "".concat(E.Z.locals.window, " ").concat(w ? E.Z.locals.windowRotate : ""),
                                "data-device": (i.tq && l) || w ? "mobile" : "desktop",
                                "data-direction": n,
                                "data-locale": d,
                                children: [
                                    i.UA && c && (0, o.jsx)(g, { type: "portrait-orientation-only", title: f("onlyPortraitOrientation"), subtitle: f("turnDeviceIntoPortrait"), iconColor: "#DC4343" }),
                                    r,
                                    (0, o.jsx)("header", { className: E.Z.locals.header, children: !m && (0, o.jsx)("button", { "data-e2e": "cross", onClick: t, children: (0, o.jsx)(s, { type: "cross", color: "rgba(0, 0, 0, 0.6)" }) }) }),
                                    !!I &&
                                        (0, o.jsx)("footer", {
                                            className: E.Z.locals.footer,
                                            children: (0, o.jsx)("div", { className: E.Z.locals.ads, children: (0, o.jsx)(s, { color: "#8C8C8C", type: "regula-logo-liveness-detection", size: 18 }) }),
                                        }),
                                ],
                            });
                        },
                        Le = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
                        je = "undefined" == typeof Uint8Array ? [] : new Uint8Array(256),
                        We = 0;
                    We < 64;
                    We++
                )
                    je[Le.charCodeAt(We)] = We;
                function Re(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1),
                            (n.configurable = !0),
                            "value" in n && (n.writable = !0),
                            Object.defineProperty(
                                e,
                                ((i = n.key),
                                (a = void 0),
                                "symbol" ==
                                typeof (a = (function (e, t) {
                                    if ("object" != typeof e || null === e) return e;
                                    var r = e[Symbol.toPrimitive];
                                    if (void 0 !== r) {
                                        var n = r.call(e, t || "default");
                                        if ("object" != typeof n) return n;
                                        throw new TypeError("@@toPrimitive must return a primitive value.");
                                    }
                                    return ("string" === t ? String : Number)(e);
                                })(i, "string"))
                                    ? a
                                    : String(a)),
                                n
                            );
                    }
                    var i, a;
                }
                function Ye(e, t, r) {
                    return t && Re(e.prototype, t), r && Re(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
                }
                var De,
                    Ke = Ye(function e(t, r) {
                        !(function (e, t) {
                            if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                        })(this, e),
                            (this.deviceId = t.deviceId),
                            (this.facing = r),
                            (this.groupId = t.groupId),
                            (this.label = t.label);
                    }),
                    Pe = { randomUUID: "undefined" != typeof crypto && crypto.randomUUID && crypto.randomUUID.bind(crypto) },
                    Ge = new Uint8Array(16);
                function Me() {
                    if (!De && !(De = "undefined" != typeof crypto && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)))
                        throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
                    return De(Ge);
                }
                for (var Ue = [], Ne = 0; Ne < 256; ++Ne) Ue.push((Ne + 256).toString(16).slice(1));
                function Ve(e) {
                    var t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0;
                    return (
                        Ue[e[t + 0]] +
                        Ue[e[t + 1]] +
                        Ue[e[t + 2]] +
                        Ue[e[t + 3]] +
                        "-" +
                        Ue[e[t + 4]] +
                        Ue[e[t + 5]] +
                        "-" +
                        Ue[e[t + 6]] +
                        Ue[e[t + 7]] +
                        "-" +
                        Ue[e[t + 8]] +
                        Ue[e[t + 9]] +
                        "-" +
                        Ue[e[t + 10]] +
                        Ue[e[t + 11]] +
                        Ue[e[t + 12]] +
                        Ue[e[t + 13]] +
                        Ue[e[t + 14]] +
                        Ue[e[t + 15]]
                    );
                }
                var Te = function (e, t, r) {
                    if (Pe.randomUUID && !t && !e) return Pe.randomUUID();
                    var n = (e = e || {}).random || (e.rng || Me)();
                    if (((n[6] = (15 & n[6]) | 64), (n[8] = (63 & n[8]) | 128), t)) {
                        r = r || 0;
                        for (var i = 0; i < 16; ++i) t[r + i] = n[i];
                        return t;
                    }
                    return Ve(n);
                };
                function He(e, t) {
                    var r = ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                    if (!r) {
                        if (Array.isArray(e) || (r = Ze(e)) || (t && e && "number" == typeof e.length)) {
                            r && (e = r);
                            var n = 0,
                                i = function () {};
                            return {
                                s: i,
                                n: function () {
                                    return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
                                },
                                e: function (e) {
                                    throw e;
                                },
                                f: i,
                            };
                        }
                        throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                    }
                    var a,
                        o = !0,
                        l = !1;
                    return {
                        s: function () {
                            r = r.call(e);
                        },
                        n: function () {
                            var e = r.next();
                            return (o = e.done), e;
                        },
                        e: function (e) {
                            (l = !0), (a = e);
                        },
                        f: function () {
                            try {
                                o || null == r.return || r.return();
                            } finally {
                                if (l) throw a;
                            }
                        },
                    };
                }
                function ze() {
                    ze = function () {
                        return t;
                    };
                    var e,
                        t = {},
                        r = Object.prototype,
                        n = r.hasOwnProperty,
                        i =
                            Object.defineProperty ||
                            function (e, t, r) {
                                e[t] = r.value;
                            },
                        a = "function" == typeof Symbol ? Symbol : {},
                        o = a.iterator || "@@iterator",
                        l = a.asyncIterator || "@@asyncIterator",
                        s = a.toStringTag || "@@toStringTag";
                    function u(e, t, r) {
                        return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t];
                    }
                    try {
                        u({}, "");
                    } catch (e) {
                        u = function (e, t, r) {
                            return (e[t] = r);
                        };
                    }
                    function c(e, t, r, n) {
                        var a = t && t.prototype instanceof I ? t : I,
                            o = Object.create(a.prototype),
                            l = new B(n || []);
                        return i(o, "_invoke", { value: Q(e, r, l) }), o;
                    }
                    function h(e, t, r) {
                        try {
                            return { type: "normal", arg: e.call(t, r) };
                        } catch (e) {
                            return { type: "throw", arg: e };
                        }
                    }
                    t.wrap = c;
                    var f = "suspendedStart",
                        d = "suspendedYield",
                        g = "executing",
                        C = "completed",
                        p = {};
                    function I() {}
                    function m() {}
                    function v() {}
                    var E = {};
                    u(E, o, function () {
                        return this;
                    });
                    var y = Object.getPrototypeOf,
                        w = y && y(y(F([])));
                    w && w !== r && n.call(w, o) && (E = w);
                    var A = (v.prototype = I.prototype = Object.create(E));
                    function S(e) {
                        ["next", "throw", "return"].forEach(function (t) {
                            u(e, t, function (e) {
                                return this._invoke(t, e);
                            });
                        });
                    }
                    function b(e, t) {
                        function r(i, a, o, l) {
                            var s = h(e[i], e, a);
                            if ("throw" !== s.type) {
                                var u = s.arg,
                                    c = u.value;
                                return c && "object" == typeof c && n.call(c, "__await")
                                    ? t.resolve(c.__await).then(
                                          function (e) {
                                              r("next", e, o, l);
                                          },
                                          function (e) {
                                              r("throw", e, o, l);
                                          }
                                      )
                                    : t.resolve(c).then(
                                          function (e) {
                                              (u.value = e), o(u);
                                          },
                                          function (e) {
                                              return r("throw", e, o, l);
                                          }
                                      );
                            }
                            l(s.arg);
                        }
                        var a;
                        i(this, "_invoke", {
                            value: function (e, n) {
                                function i() {
                                    return new t(function (t, i) {
                                        r(e, n, t, i);
                                    });
                                }
                                return (a = a ? a.then(i, i) : i());
                            },
                        });
                    }
                    function Q(t, r, n) {
                        var i = f;
                        return function (a, o) {
                            if (i === g) throw new Error("Generator is already running");
                            if (i === C) {
                                if ("throw" === a) throw o;
                                return { value: e, done: !0 };
                            }
                            for (n.method = a, n.arg = o; ; ) {
                                var l = n.delegate;
                                if (l) {
                                    var s = k(l, n);
                                    if (s) {
                                        if (s === p) continue;
                                        return s;
                                    }
                                }
                                if ("next" === n.method) n.sent = n._sent = n.arg;
                                else if ("throw" === n.method) {
                                    if (i === f) throw ((i = C), n.arg);
                                    n.dispatchException(n.arg);
                                } else "return" === n.method && n.abrupt("return", n.arg);
                                i = g;
                                var u = h(t, r, n);
                                if ("normal" === u.type) {
                                    if (((i = n.done ? C : d), u.arg === p)) continue;
                                    return { value: u.arg, done: n.done };
                                }
                                "throw" === u.type && ((i = C), (n.method = "throw"), (n.arg = u.arg));
                            }
                        };
                    }
                    function k(t, r) {
                        var n = r.method,
                            i = t.iterator[n];
                        if (i === e)
                            return (
                                (r.delegate = null),
                                ("throw" === n && t.iterator.return && ((r.method = "return"), (r.arg = e), k(t, r), "throw" === r.method)) ||
                                    ("return" !== n && ((r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a '" + n + "' method")))),
                                p
                            );
                        var a = h(i, t.iterator, r.arg);
                        if ("throw" === a.type) return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), p;
                        var o = a.arg;
                        return o
                            ? o.done
                                ? ((r[t.resultName] = o.value), (r.next = t.nextLoc), "return" !== r.method && ((r.method = "next"), (r.arg = e)), (r.delegate = null), p)
                                : o
                            : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), p);
                    }
                    function x(e) {
                        var t = { tryLoc: e[0] };
                        1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t);
                    }
                    function O(e) {
                        var t = e.completion || {};
                        (t.type = "normal"), delete t.arg, (e.completion = t);
                    }
                    function B(e) {
                        (this.tryEntries = [{ tryLoc: "root" }]), e.forEach(x, this), this.reset(!0);
                    }
                    function F(t) {
                        if (t || "" === t) {
                            var r = t[o];
                            if (r) return r.call(t);
                            if ("function" == typeof t.next) return t;
                            if (!isNaN(t.length)) {
                                var i = -1,
                                    a = function r() {
                                        for (; ++i < t.length; ) if (n.call(t, i)) return (r.value = t[i]), (r.done = !1), r;
                                        return (r.value = e), (r.done = !0), r;
                                    };
                                return (a.next = a);
                            }
                        }
                        throw new TypeError(typeof t + " is not iterable");
                    }
                    return (
                        (m.prototype = v),
                        i(A, "constructor", { value: v, configurable: !0 }),
                        i(v, "constructor", { value: m, configurable: !0 }),
                        (m.displayName = u(v, s, "GeneratorFunction")),
                        (t.isGeneratorFunction = function (e) {
                            var t = "function" == typeof e && e.constructor;
                            return !!t && (t === m || "GeneratorFunction" === (t.displayName || t.name));
                        }),
                        (t.mark = function (e) {
                            return Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), u(e, s, "GeneratorFunction")), (e.prototype = Object.create(A)), e;
                        }),
                        (t.awrap = function (e) {
                            return { __await: e };
                        }),
                        S(b.prototype),
                        u(b.prototype, l, function () {
                            return this;
                        }),
                        (t.AsyncIterator = b),
                        (t.async = function (e, r, n, i, a) {
                            void 0 === a && (a = Promise);
                            var o = new b(c(e, r, n, i), a);
                            return t.isGeneratorFunction(r)
                                ? o
                                : o.next().then(function (e) {
                                      return e.done ? e.value : o.next();
                                  });
                        }),
                        S(A),
                        u(A, s, "Generator"),
                        u(A, o, function () {
                            return this;
                        }),
                        u(A, "toString", function () {
                            return "[object Generator]";
                        }),
                        (t.keys = function (e) {
                            var t = Object(e),
                                r = [];
                            for (var n in t) r.push(n);
                            return (
                                r.reverse(),
                                function e() {
                                    for (; r.length; ) {
                                        var n = r.pop();
                                        if (n in t) return (e.value = n), (e.done = !1), e;
                                    }
                                    return (e.done = !0), e;
                                }
                            );
                        }),
                        (t.values = F),
                        (B.prototype = {
                            constructor: B,
                            reset: function (t) {
                                if (((this.prev = 0), (this.next = 0), (this.sent = this._sent = e), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = e), this.tryEntries.forEach(O), !t))
                                    for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
                            },
                            stop: function () {
                                this.done = !0;
                                var e = this.tryEntries[0].completion;
                                if ("throw" === e.type) throw e.arg;
                                return this.rval;
                            },
                            dispatchException: function (t) {
                                if (this.done) throw t;
                                var r = this;
                                function i(n, i) {
                                    return (l.type = "throw"), (l.arg = t), (r.next = n), i && ((r.method = "next"), (r.arg = e)), !!i;
                                }
                                for (var a = this.tryEntries.length - 1; a >= 0; --a) {
                                    var o = this.tryEntries[a],
                                        l = o.completion;
                                    if ("root" === o.tryLoc) return i("end");
                                    if (o.tryLoc <= this.prev) {
                                        var s = n.call(o, "catchLoc"),
                                            u = n.call(o, "finallyLoc");
                                        if (s && u) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        } else if (s) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                        } else {
                                            if (!u) throw new Error("try statement without catch or finally");
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        }
                                    }
                                }
                            },
                            abrupt: function (e, t) {
                                for (var r = this.tryEntries.length - 1; r >= 0; --r) {
                                    var i = this.tryEntries[r];
                                    if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
                                        var a = i;
                                        break;
                                    }
                                }
                                a && ("break" === e || "continue" === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null);
                                var o = a ? a.completion : {};
                                return (o.type = e), (o.arg = t), a ? ((this.method = "next"), (this.next = a.finallyLoc), p) : this.complete(o);
                            },
                            complete: function (e, t) {
                                if ("throw" === e.type) throw e.arg;
                                return (
                                    "break" === e.type || "continue" === e.type
                                        ? (this.next = e.arg)
                                        : "return" === e.type
                                        ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
                                        : "normal" === e.type && t && (this.next = t),
                                    p
                                );
                            },
                            finish: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), O(r), p;
                                }
                            },
                            catch: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.tryLoc === e) {
                                        var n = r.completion;
                                        if ("throw" === n.type) {
                                            var i = n.arg;
                                            O(r);
                                        }
                                        return i;
                                    }
                                }
                                throw new Error("illegal catch attempt");
                            },
                            delegateYield: function (t, r, n) {
                                return (this.delegate = { iterator: F(t), resultName: r, nextLoc: n }), "next" === this.method && (this.arg = e), p;
                            },
                        }),
                        t
                    );
                }
                function Je(e) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return qe(e);
                        })(e) ||
                        (function (e) {
                            if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e);
                        })(e) ||
                        Ze(e) ||
                        (function () {
                            throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function Ze(e, t) {
                    if (e) {
                        if ("string" == typeof e) return qe(e, t);
                        var r = Object.prototype.toString.call(e).slice(8, -1);
                        return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? qe(e, t) : void 0;
                    }
                }
                function qe(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                function Xe(e, t, r, n, i, a, o) {
                    try {
                        var l = e[a](o),
                            s = l.value;
                    } catch (u) {
                        return void r(u);
                    }
                    l.done ? t(s) : Promise.resolve(s).then(n, i);
                }
                function _e(e) {
                    return function () {
                        var t = this,
                            r = arguments;
                        return new Promise(function (n, i) {
                            var a = e.apply(t, r);
                            function o(e) {
                                Xe(a, n, i, o, l, "next", e);
                            }
                            function l(e) {
                                Xe(a, n, i, o, l, "throw", e);
                            }
                            o(void 0);
                        });
                    };
                }
                var $e = function (e) {
                    switch (e) {
                        case "":
                        case "true":
                            return !0;
                        case "false":
                            return !1;
                        default:
                            return;
                    }
                };
                function et() {
                    for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++) t[r] = arguments[r];
                    var n = [].concat(t);
                    return 0 === n.length
                        ? function (e) {
                              return e;
                          }
                        : 1 === n.length
                        ? n[0]
                        : n.reduce(function (e, t) {
                              return function () {
                                  return e(t.apply(void 0, arguments));
                              };
                          });
                }
                function tt(e, t, r, n, i, a, o, l, s) {
                    var u = e / t,
                        c = r / n,
                        h = (s === ce.contain ? c < u : c > u) ? e / r : t / n;
                    return { width: i / h, height: a / h, left: o / h - (e / h - r) / 2, top: l / h - (t / h - n) / 2 };
                }
                function rt(e, t) {
                    return new CustomEvent(e, { bubbles: !0, composed: !0, detail: t });
                }
                function nt() {
                    return (nt = _e(
                        ze().mark(function e() {
                            var t, r, n;
                            return ze().wrap(function (e) {
                                for (;;)
                                    switch ((e.prev = e.next)) {
                                        case 0:
                                            return (e.next = 2), navigator.mediaDevices.enumerateDevices();
                                        case 2:
                                            return (
                                                (t = e.sent),
                                                (r = t.filter(function (e) {
                                                    return "videoinput" === e.kind;
                                                })),
                                                (n = r.every(function (e) {
                                                    return "" !== e.label;
                                                })),
                                                e.abrupt("return", { videoDevices: r, isCameraAllowed: n })
                                            );
                                        case 6:
                                        case "end":
                                            return e.stop();
                                    }
                            }, e);
                        })
                    )).apply(this, arguments);
                }
                function it(e, t) {
                    var r = e.toLowerCase();
                    return t.some(function (e) {
                        return r.includes(e);
                    });
                }
                function at() {
                    return (at = _e(
                        ze().mark(function e(t) {
                            var r, n, i, a, o, l, s;
                            return ze().wrap(function (e) {
                                for (;;)
                                    switch ((e.prev = e.next)) {
                                        case 0:
                                            if (((r = { frontCameras: [], backCameras: [] }), (n = t.videoDevices), t.isCameraAllowed)) {
                                                e.next = 11;
                                                break;
                                            }
                                            return (e.next = 5), navigator.mediaDevices.getUserMedia({ video: !0, audio: !1 });
                                        case 5:
                                            return (i = e.sent), (e.next = 8), navigator.mediaDevices.enumerateDevices();
                                        case 8:
                                            (a = e.sent),
                                                (n = a.filter(function (e) {
                                                    return "videoinput" === e.kind;
                                                })),
                                                i.getTracks().forEach(function (e) {
                                                    return e.stop();
                                                });
                                        case 11:
                                            o = He(n);
                                            try {
                                                for (o.s(); !(l = o.n()).done; ) it((s = l.value).label, Ie) ? r.backCameras.push(new Ke(s, ue.environment)) : r.frontCameras.push(new Ke(s, ue.user));
                                            } catch (u) {
                                                o.e(u);
                                            } finally {
                                                o.f();
                                            }
                                            return e.abrupt("return", r);
                                        case 14:
                                        case "end":
                                            return e.stop();
                                    }
                            }, e);
                        })
                    )).apply(this, arguments);
                }
                var ot = function (e) {
                    e.getTracks().forEach(function (e) {
                        return e.stop();
                    });
                };
                function lt(e, t, r) {
                    return st.apply(this, arguments);
                }
                function st() {
                    return (st = _e(
                        ze().mark(function e(t, r, n) {
                            var i, a, o, l, s, u, c, h, f;
                            return ze().wrap(function (e) {
                                for (;;)
                                    switch ((e.prev = e.next)) {
                                        case 0:
                                            if (((i = { status: se.PREPARING, stream: null, camera: { deviceId: "", facing: void 0, groupId: "", label: "" } }), !navigator.mediaDevices)) {
                                                e.next = 19;
                                                break;
                                            }
                                            if (r.deviceId || r.facing) {
                                                e.next = 8;
                                                break;
                                            }
                                            if (!n) {
                                                e.next = 6;
                                                break;
                                            }
                                            return (i.status = se.INCORRECT_CAMERA_ID), e.abrupt("return", i);
                                        case 6:
                                            return (i.status = se.NO_CAMERA), e.abrupt("return", i);
                                        case 8:
                                            return (
                                                (a = { height: { ideal: t.height > Ce ? pe.FULL_HD.height : t.height }, width: { ideal: t.width > Ce ? pe.FULL_HD.width : t.width }, frameRate: { ideal: 30 } }),
                                                r.deviceId ? (a.deviceId = { exact: r.deviceId }) : (a.facingMode = { ideal: r.facing }),
                                                (e.next = 12),
                                                navigator.mediaDevices.getUserMedia({ video: a, audio: !1 })
                                            );
                                        case 12:
                                            return (
                                                (o = e.sent),
                                                (l = o.getVideoTracks()[0]),
                                                (s = l.getSettings()),
                                                (u = s.deviceId),
                                                (c = s.groupId),
                                                (h = s.facingMode),
                                                (f = { deviceId: u || r.deviceId, label: l.label || r.label, groupId: c || r.groupId, facing: h || r.facing }),
                                                e.abrupt("return", { status: se.READY, stream: o, camera: f })
                                            );
                                        case 19:
                                            return (i.status = se.NOT_SUPPORTED), e.abrupt("return", i);
                                        case 21:
                                        case "end":
                                            return e.stop();
                                    }
                            }, e);
                        })
                    )).apply(this, arguments);
                }
                function ut(e, t) {
                    var r = function (e) {
                            return e && "object" == typeof e && !Array.isArray(e);
                        },
                        n = Object.assign({}, e);
                    return (
                        r(e) &&
                            r(t) &&
                            Object.keys(t).forEach(function (i) {
                                r(t[i]) ? (i in e ? (n[i] = ut(e[i], t[i])) : Object.assign(n, { [i]: t[i] })) : Object.assign(n, { [i]: t[i] });
                            }),
                        n
                    );
                }
                function ct(e) {
                    return ht.apply(this, arguments);
                }
                function ht() {
                    return (ht = _e(
                        ze().mark(function e(t) {
                            return ze().wrap(function (e) {
                                for (;;)
                                    switch ((e.prev = e.next)) {
                                        case 0:
                                            return e.abrupt(
                                                "return",
                                                new Promise(function (e) {
                                                    return setTimeout(e, t);
                                                })
                                            );
                                        case 1:
                                        case "end":
                                            return e.stop();
                                    }
                            }, e);
                        })
                    )).apply(this, arguments);
                }
                function ft(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function dt(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2
                            ? ft(Object(r), !0).forEach(function (t) {
                                  gt(e, t, r[t]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                            : ft(Object(r)).forEach(function (t) {
                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                              });
                    }
                    return e;
                }
                function gt(e, t, r) {
                    return (
                        (t = (function (e) {
                            var t = (function (e, t) {
                                if ("object" != typeof e || null === e) return e;
                                var r = e[Symbol.toPrimitive];
                                if (void 0 !== r) {
                                    var n = r.call(e, t || "default");
                                    if ("object" != typeof n) return n;
                                    throw new TypeError("@@toPrimitive must return a primitive value.");
                                }
                                return ("string" === t ? String : Number)(e);
                            })(e, "string");
                            return "symbol" == typeof t ? t : String(t);
                        })(t)) in e
                            ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 })
                            : (e[t] = r),
                        e
                    );
                }
                var Ct = function (e) {
                    return function (t) {
                        var r = t.locale,
                            n = t.translations,
                            i = t.dictionaries,
                            a = i;
                        if (n)
                            for (var l in n)
                                if (i.hasOwnProperty(l)) a = ut(a, { [l]: n[l] });
                                else {
                                    var s = ut(i.en, n[l]);
                                    a = ut(a, { [l]: s });
                                }
                        var c = (window.navigator ? window.navigator.language : "en").substring(0, 2).toLowerCase(),
                            h = a.hasOwnProperty(c) ? c : "en",
                            f = r && a.hasOwnProperty(r) ? r : h,
                            d = ge.includes(f) ? de.Rtl : de.Ltr,
                            g = dt(dt({}, t), {}, { direction: d });
                        return (0, o.jsx)(u.LocalizationProvider, { disableCache: !0, locale: f, translations: a, children: (0, o.jsx)(e, dt({}, g)) });
                    };
                };
                function pt(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1),
                            (n.configurable = !0),
                            "value" in n && (n.writable = !0),
                            Object.defineProperty(
                                e,
                                ((i = n.key),
                                (a = void 0),
                                "symbol" ==
                                typeof (a = (function (e, t) {
                                    if ("object" != typeof e || null === e) return e;
                                    var r = e[Symbol.toPrimitive];
                                    if (void 0 !== r) {
                                        var n = r.call(e, t || "default");
                                        if ("object" != typeof n) return n;
                                        throw new TypeError("@@toPrimitive must return a primitive value.");
                                    }
                                    return ("string" === t ? String : Number)(e);
                                })(i, "string"))
                                    ? a
                                    : String(a)),
                                n
                            );
                    }
                    var i, a;
                }
                function It(e, t, r) {
                    return t && pt(e.prototype, t), r && pt(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
                }
                var mt = It(function e(t) {
                        var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : null;
                        !(function (e, t) {
                            if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                        })(this, e),
                            (this.type = t),
                            (this.details = r);
                    }),
                    vt = mt;
                function Et(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1),
                            (n.configurable = !0),
                            "value" in n && (n.writable = !0),
                            Object.defineProperty(
                                e,
                                ((i = n.key),
                                (a = void 0),
                                "symbol" ==
                                typeof (a = (function (e, t) {
                                    if ("object" != typeof e || null === e) return e;
                                    var r = e[Symbol.toPrimitive];
                                    if (void 0 !== r) {
                                        var n = r.call(e, t || "default");
                                        if ("object" != typeof n) return n;
                                        throw new TypeError("@@toPrimitive must return a primitive value.");
                                    }
                                    return ("string" === t ? String : Number)(e);
                                })(i, "string"))
                                    ? a
                                    : String(a)),
                                n
                            );
                    }
                    var i, a;
                }
                function yt(e, t) {
                    return (
                        (yt = Object.setPrototypeOf
                            ? Object.setPrototypeOf.bind()
                            : function (e, t) {
                                  return (e.__proto__ = t), e;
                              }),
                        yt(e, t)
                    );
                }
                function wt(e) {
                    var t = (function () {
                        if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
                        if (Reflect.construct.sham) return !1;
                        if ("function" == typeof Proxy) return !0;
                        try {
                            return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
                        } catch (e) {
                            return !1;
                        }
                    })();
                    return function () {
                        var r,
                            n = At(e);
                        if (t) {
                            var i = At(this).constructor;
                            r = Reflect.construct(n, arguments, i);
                        } else r = n.apply(this, arguments);
                        return (function (e, t) {
                            if (t && ("object" == typeof t || "function" == typeof t)) return t;
                            if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined");
                            return (function (e) {
                                if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                                return e;
                            })(e);
                        })(this, r);
                    };
                }
                function At(e) {
                    return (
                        (At = Object.setPrototypeOf
                            ? Object.getPrototypeOf.bind()
                            : function (e) {
                                  return e.__proto__ || Object.getPrototypeOf(e);
                              }),
                        At(e)
                    );
                }
                var St = (function (e) {
                    !(function (e, t) {
                        if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
                        (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && yt(e, t);
                    })(o, e);
                    var t,
                        r,
                        n,
                        a = wt(o);
                    function o(e) {
                        var t;
                        return (
                            (function (e, t) {
                                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                            })(this, o),
                            ((t = a.call(this, e)).supportedBrowserVersions = e.supportedBrowserVersions),
                            (t.onError = e.onError),
                            t
                        );
                    }
                    return (
                        (t = o),
                        (r = [
                            {
                                key: "componentDidCatch",
                                value: function (e) {
                                    this.onError(new vt("UNKNOWN_ERROR", e));
                                },
                            },
                            {
                                key: "componentDidMount",
                                value: function () {
                                    if (this.supportedBrowserVersions) {
                                        var e = null;
                                        i.tq && this.supportedBrowserVersions[i.BF] && (e = this.supportedBrowserVersions[i.BF]),
                                            i.nI && (e = this.supportedBrowserVersions.desktop),
                                            e && e[i.KC] && i.x_ < e[i.KC] && this.onError(new vt("NOT_SUPPORTED"));
                                    }
                                },
                            },
                            {
                                key: "render",
                                value: function () {
                                    return this.props.children;
                                },
                            },
                        ]) && Et(t.prototype, r),
                        n && Et(t, n),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        o
                    );
                })(C.Component);
                function bt(e) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return Qt(e);
                        })(e) ||
                        (function (e) {
                            if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e);
                        })(e) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return Qt(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Qt(e, t);
                        })(e) ||
                        (function () {
                            throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function Qt(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                var kt = function (e, t) {
                    return e === U.ABORT_PROCESSING || (e === U.FAILED && t === M.SESSION_TIMEOUT);
                };
                function xt(e) {
                    var t = arguments.length > 1 && void 0 !== arguments[1] && arguments[1],
                        r = arguments.length > 2 ? arguments[2] : void 0,
                        n = arguments.length > 3 ? arguments[3] : void 0,
                        i = arguments.length > 4 ? arguments[4] : void 0,
                        a = e === K.Finished;
                    return t && a && n
                        ? U.SUCCESS
                        : !t || (e !== K.Timeout && e !== K.Failed)
                        ? (a && i && r) || e === K.Stop_Session
                            ? U.ABORT_PROCESSING
                            : a && n && i
                            ? U.PROCESSING_REQUEST
                            : (e !== K.Timeout && e !== K.Failed) || !i
                            ? U.CAPTURING
                            : U.FAILED
                        : U.FAILED;
                }
                var Ot = function (e, t) {
                        var r = Bt(e);
                        return [].concat(bt(t), [r]).reduce(function (e, t) {
                            return e + t.toString();
                        }, "");
                    },
                    Bt = function (e) {
                        return "\n        :host {\n        display: block;\n        width: 100%;\n        height: 100%;\n        background-color: #fff;\n        --font-family: "
                            .concat(e.fontFamily || "Noto Sans, sans-serif", ";\n        --font-size: ")
                            .concat(e.fontSize || "16px", ";\n        --onboarding-screen-start-button-background: ")
                            .concat(e.onboardingScreenStartButtonBackground || "#7E57C5", ";\n        --onboarding-screen-start-button-background-hover: ")
                            .concat(e.onboardingScreenStartButtonBackgroundHover || "#7c45b4", ";\n        --onboarding-screen-start-button-title: ")
                            .concat(e.onboardingScreenStartButtonTitle || "#FFFFFF", ";\n        --onboarding-screen-start-button-title-hover: ")
                            .concat(e.onboardingScreenStartButtonTitleHover || "#FFFFFF", ";\n        --onboarding-screen-illumination: url(")
                            .concat(
                                e.onboardingScreenIllumination ||
                                    "data:image/svg+xml;base64, ",
                                ");\n        --onboarding-screen-accessories: url("
                            )
                            .concat(
                                e.onboardingScreenAccessories ||
                                    "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDMiIGhlaWdodD0iNDMiIHZpZXdCb3g9IjAgMCA0MyA0MyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgICAgICAgICAgPHBhdGgKICAgICAgICAgICAgICAgIGQ9Ik04Ljg5ODE2IDE1LjkxNjlDOC45MDI2OCAxMC4xMDU1IDEzLjYxNzUgNS4zOTgwNCAxOS40Mjg5IDUuNDAyNTZMMjIuMzkzMSA1LjQwNDg2QzI4LjIwNDUgNS40MDkzOCAzMi45MTIgMTAuMTI0MiAzMi45MDc0IDE1LjkzNTZMMzIuODk5OSAyNS42MDA0QzMyLjg5NDggMzIuMjMwNCAyNy41MTU5IDM3LjYwMDkgMjAuODg2IDM3LjU5NTdDMTQuMjU2IDM3LjU5MDYgOC44ODU0OSAzMi4yMTE3IDguODkwNjUgMjUuNTgxOEw4Ljg5ODE2IDE1LjkxNjlaIgogICAgICAgICAgICAgICAgZmlsbD0iI0U4RThFOCIKICAgICAgICAgICAgICAgIHN0cm9rZT0iIzI2MjYyNiIKICAgICAgICAgICAgICAgIHN0cm9rZVdpZHRoPSIxLjI0ODcyIgogICAgICAgICAgICAvPgogICAgICAgICAgICA8cGF0aAogICAgICAgICAgICAgICAgZD0iTTI1LjggMjkuNTM5OUMyMS45OTU2IDMwLjI2NzIgMTkuODY0NCAzMC4zNjIyIDE2LjA2OTcgMjkuMzQwMU0yMS4yMjg0IDE0Ljc1MjlDMjEuMjI4NCAxNS4yNjY3IDIxLjIzMDQgMjQuMjAxNCAyMS4yMzA0IDI0LjkxODUiCiAgICAgICAgICAgICAgICBzdHJva2U9IiMyNjI2MjYiCiAgICAgICAgICAgICAgICBzdHJva2VXaWR0aD0iMS4yNDg3MiIKICAgICAgICAgICAgLz4KICAgICAgICAgICAgPGNpcmNsZSBjeD0iMjYuMTM3OSIgY3k9IjE2LjU3MDEiIHI9IjAuNjI0MzYiIGZpbGw9IiMyNjI2MjYiIHN0cm9rZT0iIzI2MjYyNiIgc3Ryb2tlV2lkdGg9IjAuOTYyNzIyIiAvPgogICAgICAgICAgICA8Y2lyY2xlIGN4PSIxNS44ODc1IiBjeT0iMTYuNTc5OCIgcj0iMC42MjQzNiIgZmlsbD0iIzI2MjYyNiIgc3Ryb2tlPSIjMjYyNjI2IiBzdHJva2VXaWR0aD0iMC45NjI3MjIiIC8+CiAgICAgICAgICAgIDxyZWN0IHg9IjMyLjMzNTkiIHk9IjAuNTE2IiB3aWR0aD0iMTAuMTQ4IiBoZWlnaHQ9IjEwLjE0OCIgcng9IjUuMDc0IiBmaWxsPSIjMjM3ODA0IiAvPgogICAgICAgICAgICA8cmVjdAogICAgICAgICAgICAgICAgeD0iMzMuOTExNiIKICAgICAgICAgICAgICAgIHk9IjUuNDE1NTMiCiAgICAgICAgICAgICAgICB3aWR0aD0iMS4yOTg1IgogICAgICAgICAgICAgICAgaGVpZ2h0PSIzLjg5NTUxIgogICAgICAgICAgICAgICAgdHJhbnNmb3JtPSJyb3RhdGUoLTQ1IDMzLjkxMTYgNS40MTU1MykiCiAgICAgICAgICAgICAgICBmaWxsPSIjRkJGQkZCIgogICAgICAgICAgICAvPgogICAgICAgICAgICA8cmVjdAogICAgICAgICAgICAgICAgeD0iMzkuOTkwMiIKICAgICAgICAgICAgICAgIHk9IjMuMDEwMjUiCiAgICAgICAgICAgICAgICB3aWR0aD0iMS4yOTg1IgogICAgICAgICAgICAgICAgaGVpZ2h0PSI0LjcwMDM3IgogICAgICAgICAgICAgICAgdHJhbnNmb3JtPSJyb3RhdGUoNDUgMzkuOTkwMiAzLjAxMDI1KSIKICAgICAgICAgICAgICAgIGZpbGw9IiNGQkZCRkIiCiAgICAgICAgICAgIC8+CiAgICAgICAgICAgIDxyZWN0CiAgICAgICAgICAgICAgICB4PSIzMi4zMzU5IgogICAgICAgICAgICAgICAgeT0iMC41MTYiCiAgICAgICAgICAgICAgICB3aWR0aD0iMTAuMTQ4IgogICAgICAgICAgICAgICAgaGVpZ2h0PSIxMC4xNDgiCiAgICAgICAgICAgICAgICByeD0iNS4wNzQiCiAgICAgICAgICAgICAgICBzdHJva2U9IiMyMzc4MDQiCiAgICAgICAgICAgICAgICBzdHJva2VXaWR0aD0iMS4wMzIiCiAgICAgICAgICAgIC8+CiAgICAgICAgPC9zdmc+CgoKCgo=",
                                ");\n        --onboarding-screen-camera-level: url("
                            )
                            .concat(
                                e.onboardingScreenCameraLevel ||
                                    "data:image/svg+xml;base64, ",
                                ");\n        --camera-screen-sector-target: "
                            )
                            .concat(e.cameraScreenSectorTarget || "#BEABE2", ";\n        --camera-screen-sector-active: ")
                            .concat(e.cameraScreenSectorActive || "#7E57C5", ";\n        --camera-screen-stroke-normal: ")
                            .concat(e.cameraScreenStrokeNormal || "#7E57C5", ";\n        --processing-screen-progress: ")
                            .concat(e.processingScreenProgress || "#7E57C5", ";\n        --camera-screen-front-hint-label-background: ")
                            .concat(e.cameraScreenFrontHintLabelBackground || "#E8E8E8", ";\n        --camera-screen-front-hint-label-text: ")
                            .concat(e.cameraScreenFrontHintLabelText || "#000000", ";\n        --success-screen-image: url(")
                            .concat(
                                e.successScreenImage ||
                                    "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iODYiIGhlaWdodD0iODYiIHZpZXdCb3g9IjAgMCA4NiA4NiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGVsbGlwc2UgY3g9IjQzIiBjeT0iNDMiIHJ4PSI0MCIgcnk9IjQwIiB0cmFuc2Zvcm09InJvdGF0ZSg5MCA0MyA0MykiIHN0cm9rZT0iIzVEQTYwMCIgc3Ryb2tlLXdpZHRoPSIzIi8+CjxwYXRoIGQ9Ik02NiAzMUw0MC41MDY5IDU1TDI4IDQzLjIyNTYiIHN0cm9rZT0iIzVEQTYwMCIgc3Ryb2tlLXdpZHRoPSIzIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+CgoKCgo=",
                                ");\n        --retry-screen-environment-image: url("
                            )
                            .concat(
                                e.retryScreenEnvironmentImage ||
                                    "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDE0MCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSIxNDAiIGhlaWdodD0iMTAwIiByeD0iMyIgZmlsbD0iI0Q5RDlEOSIvPgo8ZyBjbGlwLXBhdGg9InVybCgjY2xpcDBfMzkzMl80MDkyNikiPgo8cmVjdCB3aWR0aD0iMTQwIiBoZWlnaHQ9IjEwMCIgcng9IjMiIGZpbGw9IiNGNEY0RjQiLz4KPHBhdGggZD0iTTYuMDAwMTYgMjYuNzA4MkMxNy4yNzYgMjYuNzA4MiAyNi40MTY4IDE3LjY2MDYgMjYuNDE2OCA2LjQ5OTg0QzI2LjQxNjggLTQuNjYwOTIgMTcuMjc2IC0xMy43MDg1IDYuMDAwMTYgLTEzLjcwODVDLTUuMjc1NjUgLTEzLjcwODUgLTE0LjQxNjUgLTQuNjYwOTIgLTE0LjQxNjUgNi40OTk4NEMtMTQuNDE2NSAxNy42NjA2IC01LjI3NTY1IDI2LjcwODIgNi4wMDAxNiAyNi43MDgyWiIgZmlsbD0id2hpdGUiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik02IDM2LjE3OTJWNDAuMjIwOVY0NC4yNjI1IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMzEuOTcwMiAzMi4yMDUxTDM3Ljc2ODYgMzcuOTQ0MiIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPHBhdGggZD0iTTQyLjc1IDYuNUg1MC45MTY3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8Y2lyY2xlIGN4PSIxMjQiIGN5PSIxNiIgcj0iMTAiIGZpbGw9IiNEQzQzNDMiLz4KPHJlY3Qgd2lkdGg9IjkuMTk2MjgiIGhlaWdodD0iMS44MzkyNiIgdHJhbnNmb3JtPSJtYXRyaXgoLTAuNzA3MTA3IC0wLjcwNzEwNyAtMC43MDcxMDcgMC43MDcxMDcgMTI4LjA1MyAxOC43NTI5KSIgZmlsbD0id2hpdGUiLz4KPHJlY3QgeD0iMTIwLjI1IiB5PSIxOC43NTI5IiB3aWR0aD0iOS4xOTYyOCIgaGVpZ2h0PSIxLjgzOTI2IiB0cmFuc2Zvcm09InJvdGF0ZSgtNDUgMTIwLjI1IDE4Ljc1MjkpIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNNDguMDMxNiA0NC41NzYzQzQ4LjAzOTkgMzMuOTYxNiA1Ni42NTE1IDI1LjM2MzQgNjcuMjY2MiAyNS4zNzE3TDcyLjY0MjkgMjUuMzc1OUM4My4yNTc2IDI1LjM4NDEgOTEuODU1OCAzMy45OTU3IDkxLjg0NzYgNDQuNjEwNEw5MS44MzQgNjIuMTQxNkM5MS44MjQ2IDc0LjI0MTEgODIuMDA4NCA4NC4wNDIgNjkuOTA4OSA4NC4wMzI2QzU3LjgwOTUgODQuMDIzMSA0OC4wMDg2IDc0LjIwNyA0OC4wMTggNjIuMTA3NUw0OC4wMzE2IDQ0LjU3NjNaIiBmaWxsPSJ3aGl0ZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik03OS4wNjkxIDY5LjU0N0M3Mi4xMzE1IDcwLjY1NzUgNjguMjYyMSA3MC43MTMyIDYxLjQzOCA2OC42NTI0TTcxLjU4OTIgNDIuNDg2N0M3MS43ODUzIDQzLjIzODUgNzUuOTgzNSA1OC45NjUyIDc1LjUxNjkgNjAuOTE4Qzc1LjA1MDIgNjIuODcwOCA2Ny44OTg3IDYwLjY4ODEgNjcuODk4NyA2MC42ODgxIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiLz4KPGNpcmNsZSBjeD0iODEuOTg2NCIgY3k9IjQ1LjMxNzgiIHI9IjIuMDA1NjkiIHRyYW5zZm9ybT0icm90YXRlKC01LjYwNTU3IDgxLjk4NjQgNDUuMzE3OCkiIGZpbGw9IiMwQzBDMEMiLz4KPGNpcmNsZSBjeD0iNjAuODQyOCIgY3k9IjQ1Ljc3NjEiIHI9IjIuMDA1NjkiIHRyYW5zZm9ybT0icm90YXRlKC0xMy4xMDQyIDYwLjg0MjggNDUuNzc2MSkiIGZpbGw9IiMwQzBDMEMiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8zOTMyXzQwOTI2Ij4KPHJlY3Qgd2lkdGg9IjE0MCIgaGVpZ2h0PSIxMDAiIHJ4PSIzIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgoKCgo=",
                                ");\n        --retry-screen-person-image: url("
                            )
                            .concat(
                                e.retryScreenPersonImage ||
                                    "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQwIiBoZWlnaHQ9IjEwMCIgdmlld0JveD0iMCAwIDE0MCAxMDAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSIxNDAiIGhlaWdodD0iMTAwIiByeD0iMyIgZmlsbD0iI0Y0RjRGNCIvPgo8Y2lyY2xlIGN4PSIxMjQiIGN5PSIxNiIgcj0iMTAiIGZpbGw9IiNEQzQzNDMiLz4KPHJlY3Qgd2lkdGg9IjkuMTk2MjgiIGhlaWdodD0iMS44MzkyNiIgdHJhbnNmb3JtPSJtYXRyaXgoLTAuNzA3MTA3IC0wLjcwNzEwNyAtMC43MDcxMDcgMC43MDcxMDcgMTI4LjA1MyAxOC43NTI5KSIgZmlsbD0id2hpdGUiLz4KPHJlY3QgeD0iMTIwLjI1IiB5PSIxOC43NTI5IiB3aWR0aD0iOS4xOTYyOCIgaGVpZ2h0PSIxLjgzOTI2IiB0cmFuc2Zvcm09InJvdGF0ZSgtNDUgMTIwLjI1IDE4Ljc1MjkpIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNNjcuMjMzIDI1LjM3MTdMNzIuNjA5NyAyNS4zNzU5QzgzLjIyNDQgMjUuMzg0MSA5MS44MjI2IDMzLjk5NTcgOTEuODE0NCA0NC42MTA0TDkxLjgwMDggNjIuMTQxNkM5MS43OTE0IDc0LjI0MTEgODEuOTc1MiA4NC4wNDIgNjkuODc1NyA4NC4wMzI2QzU3Ljc3NjMgODQuMDIzMSA0Ny45NzU0IDc0LjIwNyA0Ny45ODQ4IDYyLjEwNzVMNDcuOTk4NCA0NC41NzYzQzQ4LjAwNjcgMzMuOTYxNiA1Ni42MTgzIDI1LjM2MzQgNjcuMjMzIDI1LjM3MTdaIiBmaWxsPSJ3aGl0ZSIgc3Ryb2tlPSJibGFjayIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik03OS4wMzU5IDY5LjU0N0M3NS4wMDA1IDc2IDY1LjUwMDUgNzUuNSA2MS40MDQ4IDY4LjY1MjRNNzEuNTU2IDQyLjQ4NjdDNzEuNzUyMSA0My4yMzg1IDc1Ljk1MDMgNTguOTY1MiA3NS40ODM3IDYwLjkxOEM3NS4wMTcgNjIuODcwOCA2Ny44NjU1IDYwLjY4ODEgNjcuODY1NSA2MC42ODgxIiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiLz4KPGVsbGlwc2UgY3g9IjgxLjUiIGN5PSI0NiIgcng9IjIuNSIgcnk9IjEiIGZpbGw9IiMwQzBDMEMiLz4KPGVsbGlwc2UgY3g9IjYwLjUiIGN5PSI0NiIgcng9IjIuNSIgcnk9IjEiIGZpbGw9IiMwQzBDMEMiLz4KPC9zdmc+CgoK",
                                ");\n        --retry-screen-retry-button-background: "
                            )
                            .concat(e.retryScreenRetryButtonBackground || "#7E57C5", ";\n        --retry-screen-retry-button-background-hover: ")
                            .concat(e.retryScreenRetryButtonBackgroundHover || "#7c45b4", ";\n        --retry-screen-retry-button-title: ")
                            .concat(e.retryScreenRetryButtonTitle || "#FFFFFF", ";\n        --retry-screen-retry-button-title-hover: ")
                            .concat(e.retryScreenRetryButtonTitleHover || "#FFFFFF", ";\n    }");
                    },
                    Ft = function (e) {
                        if ("number" != typeof e) return 0;
                        if (180 === e) return e;
                        var t = e % 360;
                        return 90 === t || -270 === t ? 90 : -90 === t || 270 === t ? -90 : 0;
                    },
                    Lt = r("./src/components/inscruction-screen/style.css");
                var jt = function (e) {
                    var t = e.title,
                        r = e.subtitle,
                        n = e.btnText,
                        i = Be(function (e) {
                            return { onStart: e.onStart };
                        }).onStart,
                        a = (0, u.useLocalize)().translate;
                    return (0, o.jsx)("div", {
                        className: Lt.Z.locals["instruction-window"],
                        children: (0, o.jsxs)("div", {
                            className: Lt.Z.locals.container,
                            children: [
                                (0, o.jsxs)("div", { className: Lt.Z.locals.text, children: [(0, o.jsx)("div", { className: Lt.Z.locals.title, children: t }), (0, o.jsx)("div", { className: Lt.Z.locals.subtitle, children: r })] }),
                                (0, o.jsxs)("div", {
                                    className: Lt.Z.locals["icon-container"],
                                    children: [
                                        (0, o.jsxs)("div", { className: Lt.Z.locals["icon-block"], children: [(0, o.jsx)("div", { className: "".concat(Lt.Z.locals.icon, " ").concat(Lt.Z.locals.illumination) }), a("illumination")] }),
                                        (0, o.jsxs)("div", { className: Lt.Z.locals["icon-block"], children: [(0, o.jsx)("div", { className: "".concat(Lt.Z.locals.icon, " ").concat(Lt.Z.locals["no-accessories"]) }), a("noAccessories")] }),
                                        (0, o.jsxs)("div", { className: Lt.Z.locals["icon-block"], children: [(0, o.jsx)("div", { className: "".concat(Lt.Z.locals.icon, " ").concat(Lt.Z.locals["camera-on-eye"]) }), a("cameraLevel")] }),
                                    ],
                                }),
                                (0, o.jsx)(d, { "data-e2e": "get-ready", onClick: i, children: n }),
                            ],
                        }),
                    });
                };
                function Wt() {
                    Wt = function () {
                        return t;
                    };
                    var e,
                        t = {},
                        r = Object.prototype,
                        n = r.hasOwnProperty,
                        i =
                            Object.defineProperty ||
                            function (e, t, r) {
                                e[t] = r.value;
                            },
                        a = "function" == typeof Symbol ? Symbol : {},
                        o = a.iterator || "@@iterator",
                        l = a.asyncIterator || "@@asyncIterator",
                        s = a.toStringTag || "@@toStringTag";
                    function u(e, t, r) {
                        return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t];
                    }
                    try {
                        u({}, "");
                    } catch (e) {
                        u = function (e, t, r) {
                            return (e[t] = r);
                        };
                    }
                    function c(e, t, r, n) {
                        var a = t && t.prototype instanceof I ? t : I,
                            o = Object.create(a.prototype),
                            l = new B(n || []);
                        return i(o, "_invoke", { value: Q(e, r, l) }), o;
                    }
                    function h(e, t, r) {
                        try {
                            return { type: "normal", arg: e.call(t, r) };
                        } catch (e) {
                            return { type: "throw", arg: e };
                        }
                    }
                    t.wrap = c;
                    var f = "suspendedStart",
                        d = "suspendedYield",
                        g = "executing",
                        C = "completed",
                        p = {};
                    function I() {}
                    function m() {}
                    function v() {}
                    var E = {};
                    u(E, o, function () {
                        return this;
                    });
                    var y = Object.getPrototypeOf,
                        w = y && y(y(F([])));
                    w && w !== r && n.call(w, o) && (E = w);
                    var A = (v.prototype = I.prototype = Object.create(E));
                    function S(e) {
                        ["next", "throw", "return"].forEach(function (t) {
                            u(e, t, function (e) {
                                return this._invoke(t, e);
                            });
                        });
                    }
                    function b(e, t) {
                        function r(i, a, o, l) {
                            var s = h(e[i], e, a);
                            if ("throw" !== s.type) {
                                var u = s.arg,
                                    c = u.value;
                                return c && "object" == typeof c && n.call(c, "__await")
                                    ? t.resolve(c.__await).then(
                                          function (e) {
                                              r("next", e, o, l);
                                          },
                                          function (e) {
                                              r("throw", e, o, l);
                                          }
                                      )
                                    : t.resolve(c).then(
                                          function (e) {
                                              (u.value = e), o(u);
                                          },
                                          function (e) {
                                              return r("throw", e, o, l);
                                          }
                                      );
                            }
                            l(s.arg);
                        }
                        var a;
                        i(this, "_invoke", {
                            value: function (e, n) {
                                function i() {
                                    return new t(function (t, i) {
                                        r(e, n, t, i);
                                    });
                                }
                                return (a = a ? a.then(i, i) : i());
                            },
                        });
                    }
                    function Q(t, r, n) {
                        var i = f;
                        return function (a, o) {
                            if (i === g) throw new Error("Generator is already running");
                            if (i === C) {
                                if ("throw" === a) throw o;
                                return { value: e, done: !0 };
                            }
                            for (n.method = a, n.arg = o; ; ) {
                                var l = n.delegate;
                                if (l) {
                                    var s = k(l, n);
                                    if (s) {
                                        if (s === p) continue;
                                        return s;
                                    }
                                }
                                if ("next" === n.method) n.sent = n._sent = n.arg;
                                else if ("throw" === n.method) {
                                    if (i === f) throw ((i = C), n.arg);
                                    n.dispatchException(n.arg);
                                } else "return" === n.method && n.abrupt("return", n.arg);
                                i = g;
                                var u = h(t, r, n);
                                if ("normal" === u.type) {
                                    if (((i = n.done ? C : d), u.arg === p)) continue;
                                    return { value: u.arg, done: n.done };
                                }
                                "throw" === u.type && ((i = C), (n.method = "throw"), (n.arg = u.arg));
                            }
                        };
                    }
                    function k(t, r) {
                        var n = r.method,
                            i = t.iterator[n];
                        if (i === e)
                            return (
                                (r.delegate = null),
                                ("throw" === n && t.iterator.return && ((r.method = "return"), (r.arg = e), k(t, r), "throw" === r.method)) ||
                                    ("return" !== n && ((r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a '" + n + "' method")))),
                                p
                            );
                        var a = h(i, t.iterator, r.arg);
                        if ("throw" === a.type) return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), p;
                        var o = a.arg;
                        return o
                            ? o.done
                                ? ((r[t.resultName] = o.value), (r.next = t.nextLoc), "return" !== r.method && ((r.method = "next"), (r.arg = e)), (r.delegate = null), p)
                                : o
                            : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), p);
                    }
                    function x(e) {
                        var t = { tryLoc: e[0] };
                        1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t);
                    }
                    function O(e) {
                        var t = e.completion || {};
                        (t.type = "normal"), delete t.arg, (e.completion = t);
                    }
                    function B(e) {
                        (this.tryEntries = [{ tryLoc: "root" }]), e.forEach(x, this), this.reset(!0);
                    }
                    function F(t) {
                        if (t || "" === t) {
                            var r = t[o];
                            if (r) return r.call(t);
                            if ("function" == typeof t.next) return t;
                            if (!isNaN(t.length)) {
                                var i = -1,
                                    a = function r() {
                                        for (; ++i < t.length; ) if (n.call(t, i)) return (r.value = t[i]), (r.done = !1), r;
                                        return (r.value = e), (r.done = !0), r;
                                    };
                                return (a.next = a);
                            }
                        }
                        throw new TypeError(typeof t + " is not iterable");
                    }
                    return (
                        (m.prototype = v),
                        i(A, "constructor", { value: v, configurable: !0 }),
                        i(v, "constructor", { value: m, configurable: !0 }),
                        (m.displayName = u(v, s, "GeneratorFunction")),
                        (t.isGeneratorFunction = function (e) {
                            var t = "function" == typeof e && e.constructor;
                            return !!t && (t === m || "GeneratorFunction" === (t.displayName || t.name));
                        }),
                        (t.mark = function (e) {
                            return Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), u(e, s, "GeneratorFunction")), (e.prototype = Object.create(A)), e;
                        }),
                        (t.awrap = function (e) {
                            return { __await: e };
                        }),
                        S(b.prototype),
                        u(b.prototype, l, function () {
                            return this;
                        }),
                        (t.AsyncIterator = b),
                        (t.async = function (e, r, n, i, a) {
                            void 0 === a && (a = Promise);
                            var o = new b(c(e, r, n, i), a);
                            return t.isGeneratorFunction(r)
                                ? o
                                : o.next().then(function (e) {
                                      return e.done ? e.value : o.next();
                                  });
                        }),
                        S(A),
                        u(A, s, "Generator"),
                        u(A, o, function () {
                            return this;
                        }),
                        u(A, "toString", function () {
                            return "[object Generator]";
                        }),
                        (t.keys = function (e) {
                            var t = Object(e),
                                r = [];
                            for (var n in t) r.push(n);
                            return (
                                r.reverse(),
                                function e() {
                                    for (; r.length; ) {
                                        var n = r.pop();
                                        if (n in t) return (e.value = n), (e.done = !1), e;
                                    }
                                    return (e.done = !0), e;
                                }
                            );
                        }),
                        (t.values = F),
                        (B.prototype = {
                            constructor: B,
                            reset: function (t) {
                                if (((this.prev = 0), (this.next = 0), (this.sent = this._sent = e), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = e), this.tryEntries.forEach(O), !t))
                                    for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
                            },
                            stop: function () {
                                this.done = !0;
                                var e = this.tryEntries[0].completion;
                                if ("throw" === e.type) throw e.arg;
                                return this.rval;
                            },
                            dispatchException: function (t) {
                                if (this.done) throw t;
                                var r = this;
                                function i(n, i) {
                                    return (l.type = "throw"), (l.arg = t), (r.next = n), i && ((r.method = "next"), (r.arg = e)), !!i;
                                }
                                for (var a = this.tryEntries.length - 1; a >= 0; --a) {
                                    var o = this.tryEntries[a],
                                        l = o.completion;
                                    if ("root" === o.tryLoc) return i("end");
                                    if (o.tryLoc <= this.prev) {
                                        var s = n.call(o, "catchLoc"),
                                            u = n.call(o, "finallyLoc");
                                        if (s && u) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        } else if (s) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                        } else {
                                            if (!u) throw new Error("try statement without catch or finally");
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        }
                                    }
                                }
                            },
                            abrupt: function (e, t) {
                                for (var r = this.tryEntries.length - 1; r >= 0; --r) {
                                    var i = this.tryEntries[r];
                                    if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
                                        var a = i;
                                        break;
                                    }
                                }
                                a && ("break" === e || "continue" === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null);
                                var o = a ? a.completion : {};
                                return (o.type = e), (o.arg = t), a ? ((this.method = "next"), (this.next = a.finallyLoc), p) : this.complete(o);
                            },
                            complete: function (e, t) {
                                if ("throw" === e.type) throw e.arg;
                                return (
                                    "break" === e.type || "continue" === e.type
                                        ? (this.next = e.arg)
                                        : "return" === e.type
                                        ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
                                        : "normal" === e.type && t && (this.next = t),
                                    p
                                );
                            },
                            finish: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), O(r), p;
                                }
                            },
                            catch: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.tryLoc === e) {
                                        var n = r.completion;
                                        if ("throw" === n.type) {
                                            var i = n.arg;
                                            O(r);
                                        }
                                        return i;
                                    }
                                }
                                throw new Error("illegal catch attempt");
                            },
                            delegateYield: function (t, r, n) {
                                return (this.delegate = { iterator: F(t), resultName: r, nextLoc: n }), "next" === this.method && (this.arg = e), p;
                            },
                        }),
                        t
                    );
                }
                function Rt(e, t, r, n, i, a, o) {
                    try {
                        var l = e[a](o),
                            s = l.value;
                    } catch (u) {
                        return void r(u);
                    }
                    l.done ? t(s) : Promise.resolve(s).then(n, i);
                }
                function Yt(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function Dt(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2
                            ? Yt(Object(r), !0).forEach(function (t) {
                                  Kt(e, t, r[t]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                            : Yt(Object(r)).forEach(function (t) {
                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                              });
                    }
                    return e;
                }
                function Kt(e, t, r) {
                    return (
                        (t = (function (e) {
                            var t = (function (e, t) {
                                if ("object" != typeof e || null === e) return e;
                                var r = e[Symbol.toPrimitive];
                                if (void 0 !== r) {
                                    var n = r.call(e, t || "default");
                                    if ("object" != typeof n) return n;
                                    throw new TypeError("@@toPrimitive must return a primitive value.");
                                }
                                return ("string" === t ? String : Number)(e);
                            })(e, "string");
                            return "symbol" == typeof t ? t : String(t);
                        })(t)) in e
                            ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 })
                            : (e[t] = r),
                        e
                    );
                }
                function Pt(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return Gt(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Gt(e, t);
                        })(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function Gt(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                var Mt = function () {
                        var e = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : ue.environment,
                            t = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : pe.VGA,
                            r = arguments.length > 2 ? arguments[2] : void 0,
                            n = Pt((0, C.useState)({ status: se.PREPARING, stream: null, camera: { deviceId: "", facing: void 0, groupId: "", label: "" } }), 2),
                            a = n[0],
                            o = a.status,
                            l = a.stream,
                            s = a.camera,
                            u = n[1],
                            c = Pt((0, C.useState)(null), 2),
                            h = c[0],
                            f = c[1],
                            d = Pt((0, C.useState)(null), 2),
                            g = d[0],
                            p = d[1],
                            I = (0, C.useRef)(""),
                            m = (0, C.useCallback)(function () {
                                u(function (e) {
                                    return Dt(Dt({}, e), {}, { status: se.PLAY });
                                });
                            }, []);
                        return (
                            (0, C.useEffect)(function () {
                                var e = !0;
                                return (
                                    (function () {
                                        return nt.apply(this, arguments);
                                    })()
                                        .then(function (t) {
                                            e &&
                                                (u(function (e) {
                                                    return Dt(Dt({}, e), {}, { status: t.isCameraAllowed ? se.PREPARING : se.REQUESTING });
                                                }),
                                                f(t));
                                        })
                                        .catch(function () {
                                            e &&
                                                u(function (e) {
                                                    return Dt(Dt({}, e), {}, { status: se.NOT_SUPPORTED });
                                                });
                                        }),
                                    function () {
                                        e = !1;
                                    }
                                );
                            }, []),
                            (0, C.useEffect)(
                                function () {
                                    var e = !0;
                                    if (h && !g)
                                        return (
                                            (function (e) {
                                                return at.apply(this, arguments);
                                            })(h)
                                                .then(function (t) {
                                                    e && p(t);
                                                })
                                                .catch(function (t) {
                                                    if (e)
                                                        return t instanceof Error && "NotAllowedError" === t.name
                                                            ? u(function (e) {
                                                                  return Dt(Dt({}, e), {}, { status: se.PERMISSION_DENIED });
                                                              })
                                                            : void u(function (e) {
                                                                  return Dt(Dt({}, e), {}, { status: se.UNKNOWN_ERROR });
                                                              });
                                                }),
                                            function () {
                                                e = !1;
                                            }
                                        );
                                },
                                [h]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    var n = !0,
                                        a = o === se.PREPARING || o === se.REQUESTING;
                                    if (g && null === l && a) {
                                        var s = (function (e, t, r) {
                                                var n = [].concat(Je(t.frontCameras), Je(t.backCameras));
                                                if (!n.length) return { deviceId: "", facing: void 0, groupId: "", label: "" };
                                                if (r)
                                                    return (
                                                        n.find(function (e) {
                                                            return e.deviceId === r;
                                                        }) || { deviceId: "", facing: void 0, groupId: "", label: "" }
                                                    );
                                                if (e === ue.environment && t.backCameras.length) {
                                                    var a = t.backCameras.map(function (e) {
                                                        var t = e.label.match(/\b([0-9]+)MP?\b/i);
                                                        return null !== t ? parseInt(t[1], 10) : NaN;
                                                    });
                                                    if (
                                                        a.every(function (e) {
                                                            return !isNaN(e);
                                                        })
                                                    ) {
                                                        var o = a.lastIndexOf(Math.max.apply(Math, Je(a)));
                                                        return t.backCameras[o];
                                                    }
                                                    return i.gn
                                                        ? { deviceId: "", facing: ue.environment, groupId: "", label: "" }
                                                        : t.backCameras.sort(function (e, t) {
                                                              return e.label.localeCompare(t.label);
                                                          })[0];
                                                }
                                                return { deviceId: "", facing: ue.user, groupId: "", label: "" };
                                            })(e, g, r),
                                            c = (function () {
                                                var e,
                                                    a =
                                                        ((e = Wt().mark(function e() {
                                                            var a, o;
                                                            return Wt().wrap(
                                                                function (e) {
                                                                    for (;;)
                                                                        switch ((e.prev = e.next)) {
                                                                            case 0:
                                                                                return (e.prev = 0), (a = i.vU ? 500 : 0), (e.next = 4), ct(a);
                                                                            case 4:
                                                                                return (e.next = 6), lt(t, s, r);
                                                                            case 6:
                                                                                if (((o = e.sent), !n)) {
                                                                                    e.next = 12;
                                                                                    break;
                                                                                }
                                                                                (I.current = o.camera.deviceId), u(o), (e.next = 15);
                                                                                break;
                                                                            case 12:
                                                                                if (o.stream) {
                                                                                    e.next = 14;
                                                                                    break;
                                                                                }
                                                                                return e.abrupt("return");
                                                                            case 14:
                                                                                ot(o.stream);
                                                                            case 15:
                                                                                e.next = 22;
                                                                                break;
                                                                            case 17:
                                                                                if (((e.prev = 17), (e.t0 = e.catch(0)), n)) {
                                                                                    e.next = 21;
                                                                                    break;
                                                                                }
                                                                                return e.abrupt("return");
                                                                            case 21:
                                                                                u(function (e) {
                                                                                    return Dt(Dt({}, e), {}, { status: se.UNKNOWN_ERROR });
                                                                                });
                                                                            case 22:
                                                                            case "end":
                                                                                return e.stop();
                                                                        }
                                                                },
                                                                e,
                                                                null,
                                                                [[0, 17]]
                                                            );
                                                        })),
                                                        function () {
                                                            var t = this,
                                                                r = arguments;
                                                            return new Promise(function (n, i) {
                                                                var a = e.apply(t, r);
                                                                function o(e) {
                                                                    Rt(a, n, i, o, l, "next", e);
                                                                }
                                                                function l(e) {
                                                                    Rt(a, n, i, o, l, "throw", e);
                                                                }
                                                                o(void 0);
                                                            });
                                                        });
                                                return function () {
                                                    return a.apply(this, arguments);
                                                };
                                            })();
                                        return (
                                            c(),
                                            function () {
                                                n = !1;
                                            }
                                        );
                                    }
                                },
                                [g, l, e, r, o, t]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    return function () {
                                        l && ot(l);
                                    };
                                },
                                [l]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    if (r && I.current) {
                                        var e = r !== I.current;
                                        o === se.PLAY && e && u({ status: se.PREPARING, stream: null, camera: { deviceId: "", facing: void 0, groupId: "", label: "" } });
                                    }
                                },
                                [r, o]
                            ),
                            { status: o, stream: l, camera: s, sortedDevices: g, onPlay: m }
                        );
                    },
                    Ut = r("../../common/components/webcamera/style.css"),
                    Nt = (function (e) {
                        return (
                            (e.WASM_ERROR = "WASM_ERROR"),
                            (e.WASM_LICENSE = "WASM_LICENSE"),
                            (e.FILE_SIZE = "FILE_SIZE"),
                            (e.INCORRECT_FILE = "INCORRECT_FILE"),
                            (e.INCORRECT_SCENARIO = "INCORRECT_SCENARIO"),
                            (e.UNKNOWN_ERROR = "UNKNOWN_ERROR"),
                            (e.NOT_SUPPORTED = "NOT_SUPPORTED"),
                            (e.CAMERA_UNKNOWN_ERROR = "CAMERA_UNKNOWN_ERROR"),
                            (e.CAMERA_PERMISSION_DENIED = "CAMERA_PERMISSION_DENIED"),
                            (e.NO_CAMERA = "NO_CAMERA"),
                            (e.INCORRECT_CAMERA_ID = "INCORRECT_CAMERA_ID"),
                            (e.CONNECTION_ERROR = "CONNECTION_ERROR"),
                            e
                        );
                    })({}),
                    Vt = (function (e) {
                        return (
                            (e.ELEMENT_VISIBLE = "ELEMENT_VISIBLE"),
                            (e.PRESS_CAMERA_BUTTON = "PRESS_CAMERA_BUTTON"),
                            (e.PRESS_FILE_BUTTON = "PRESS_FILE_BUTTON"),
                            (e.PRESS_RETRY_BUTTON = "PRESS_RETRY_BUTTON"),
                            (e.PRESS_SKIP_BUTTON = "PRESS_SKIP_BUTTON"),
                            (e.PRESS_CAPTURE_BUTTON = "PRESS_CAPTURE_BUTTON"),
                            (e.PRESS_CHANGE_CAMERA_BUTTON = "PRESS_CHANGE_CAMERA_BUTTON"),
                            (e.PRESS_MIRRORING_BUTTON = "PRESS_MIRRORING_BUTTON"),
                            (e.PRESS_CONNECT_BUTTON = "PRESS_CONNECT_BUTTON"),
                            (e.PRESS_DISCONNECT_BUTTON = "PRESS_DISCONNECT_BUTTON"),
                            (e.PRESS_AUTOSCAN_BUTTON = "PRESS_AUTOSCAN_BUTTON"),
                            (e.PRESS_PROCESS_BUTTON = "PRESS_PROCESS_BUTTON"),
                            (e.NEW_PAGE_AVAILABLE = "NEW_PAGE_AVAILABLE"),
                            (e.NEW_PAGE_STARTED = "NEW_PAGE_STARTED"),
                            (e.CLOSE = "CLOSE"),
                            (e.CAMERA_PROCESS_CLOSED = "CAMERA_PROCESS_CLOSED"),
                            (e.CAMERA_PROCESS_STARTED = "CAMERA_PROCESS_STARTED"),
                            (e.VIDEO_STARTED = "VIDEO_STARTED"),
                            (e.VIDEO_STOPPED = "VIDEO_STOPPED"),
                            (e.FILE_PROCESS_STARTED = "FILE_PROCESS_STARTED"),
                            (e.PROCESS_STARTED = "PROCESS_STARTED"),
                            (e.PROCESS_FINISHED = "PROCESS_FINISHED"),
                            (e.SERVICE_INITIALIZED = "SERVICE_INITIALIZED"),
                            e
                        );
                    })({}),
                    Tt = (function (e) {
                        return (
                            (e.FINDING = "DocumentCaptureStatus.FINDING"),
                            (e.PROCESSING = "DocumentCaptureStatus.PROCESSING"),
                            (e.SUCCESS = "DocumentCaptureStatus.SUCCESS"),
                            (e.FAILED = "DocumentCaptureStatus.FAILED"),
                            (e.RESOLUTION = "DocumentCaptureStatus.RESOLUTION"),
                            (e.GLARE = "DocumentCaptureStatus.GLARE"),
                            (e.FOCUS = "DocumentCaptureStatus.FOCUS"),
                            (e.SHAKING = "DocumentCaptureStatus.SHAKING"),
                            (e.HOLD = "DocumentCaptureStatus.HOLD"),
                            (e.START_DETECTION = "DocumentCaptureStatus.START_DETECTION"),
                            (e.START_NEXT_PAGE = "DocumentCaptureStatus.START_NEXT_PAGE"),
                            (e.SNAPSHOT = "DocumentCaptureStatus.SNAPSHOT"),
                            (e.TIMEOUT = "DocumentCaptureStatus.TIMEOUT"),
                            e
                        );
                    })({}),
                    Ht = (function (e) {
                        return (
                            (e.CHOOSE_INPUT_SOURCE = "DocumentCompletionStatus.CHOOSE_INPUT_SOURCE"),
                            (e.CAMERA_PROCESSING = "DocumentCompletionStatus.CAMERA_PROCESSING"),
                            (e.FILE_PROCESSING = "DocumentCompletionStatus.FILE_PROCESSING"),
                            (e.API_PROCESSING = "DocumentCompletionStatus.API_PROCESSING"),
                            (e.SUCCESS = "DocumentCompletionStatus.SUCCESS"),
                            (e.FAILED = "DocumentCompletionStatus.FAILED"),
                            (e.FILE_SIZE_ERROR = "DocumentCompletionStatus.FILE_SIZE_ERROR"),
                            (e.WASM_DEFAULT_ERROR = "DocumentCompletionStatus.WASM_DEFAULT_ERROR"),
                            (e.NOT_SUPPORTED_ERROR = "DocumentCompletionStatus.NOT_SUPPORTED_ERROR"),
                            (e.WASM_LICENSE_ERROR = "DocumentCompletionStatus.WASM_LICENSE_ERROR"),
                            (e.INCORRECT_FILE_ERROR = "DocumentCompletionStatus.INCORRECT_FILE_ERROR"),
                            (e.UNKNOWN_ERROR = "DocumentCompletionStatus.UNKNOWN_ERROR"),
                            (e.TIMEOUT = "DocumentCompletionStatus.TIMEOUT"),
                            e
                        );
                    })({}),
                    zt = (function (e) {
                        return (
                            (e.MrzAndLocate = "MrzAndLocate"), (e.MrzOrLocate = "MrzOrLocate"), (e.Mrz = "Mrz"), (e.Locate = "Locate"), (e.Barcode = "Barcode"), (e.MrzOrBarcode = "MrzOrBarcode"), (e.BarcodeAndLocate = "BarcodeAndLocate"), e
                        );
                    })({});
                Nt.FILE_SIZE,
                    Ht.FILE_SIZE_ERROR,
                    Nt.WASM_ERROR,
                    Ht.WASM_DEFAULT_ERROR,
                    Nt.NOT_SUPPORTED,
                    Ht.NOT_SUPPORTED_ERROR,
                    Nt.WASM_LICENSE,
                    Ht.WASM_LICENSE_ERROR,
                    Nt.INCORRECT_FILE,
                    Ht.INCORRECT_FILE_ERROR,
                    Tt.SUCCESS,
                    Ht.SUCCESS,
                    Tt.TIMEOUT,
                    Ht.TIMEOUT,
                    Tt.FAILED,
                    Ht.FAILED,
                    zt.MrzAndLocate,
                    zt.MrzAndLocate,
                    zt.MrzAndLocate,
                    zt.MrzAndLocate;
                function Jt() {
                    Jt = function () {
                        return t;
                    };
                    var e,
                        t = {},
                        r = Object.prototype,
                        n = r.hasOwnProperty,
                        i =
                            Object.defineProperty ||
                            function (e, t, r) {
                                e[t] = r.value;
                            },
                        a = "function" == typeof Symbol ? Symbol : {},
                        o = a.iterator || "@@iterator",
                        l = a.asyncIterator || "@@asyncIterator",
                        s = a.toStringTag || "@@toStringTag";
                    function u(e, t, r) {
                        return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t];
                    }
                    try {
                        u({}, "");
                    } catch (e) {
                        u = function (e, t, r) {
                            return (e[t] = r);
                        };
                    }
                    function c(e, t, r, n) {
                        var a = t && t.prototype instanceof I ? t : I,
                            o = Object.create(a.prototype),
                            l = new B(n || []);
                        return i(o, "_invoke", { value: Q(e, r, l) }), o;
                    }
                    function h(e, t, r) {
                        try {
                            return { type: "normal", arg: e.call(t, r) };
                        } catch (e) {
                            return { type: "throw", arg: e };
                        }
                    }
                    t.wrap = c;
                    var f = "suspendedStart",
                        d = "suspendedYield",
                        g = "executing",
                        C = "completed",
                        p = {};
                    function I() {}
                    function m() {}
                    function v() {}
                    var E = {};
                    u(E, o, function () {
                        return this;
                    });
                    var y = Object.getPrototypeOf,
                        w = y && y(y(F([])));
                    w && w !== r && n.call(w, o) && (E = w);
                    var A = (v.prototype = I.prototype = Object.create(E));
                    function S(e) {
                        ["next", "throw", "return"].forEach(function (t) {
                            u(e, t, function (e) {
                                return this._invoke(t, e);
                            });
                        });
                    }
                    function b(e, t) {
                        function r(i, a, o, l) {
                            var s = h(e[i], e, a);
                            if ("throw" !== s.type) {
                                var u = s.arg,
                                    c = u.value;
                                return c && "object" == typeof c && n.call(c, "__await")
                                    ? t.resolve(c.__await).then(
                                          function (e) {
                                              r("next", e, o, l);
                                          },
                                          function (e) {
                                              r("throw", e, o, l);
                                          }
                                      )
                                    : t.resolve(c).then(
                                          function (e) {
                                              (u.value = e), o(u);
                                          },
                                          function (e) {
                                              return r("throw", e, o, l);
                                          }
                                      );
                            }
                            l(s.arg);
                        }
                        var a;
                        i(this, "_invoke", {
                            value: function (e, n) {
                                function i() {
                                    return new t(function (t, i) {
                                        r(e, n, t, i);
                                    });
                                }
                                return (a = a ? a.then(i, i) : i());
                            },
                        });
                    }
                    function Q(t, r, n) {
                        var i = f;
                        return function (a, o) {
                            if (i === g) throw new Error("Generator is already running");
                            if (i === C) {
                                if ("throw" === a) throw o;
                                return { value: e, done: !0 };
                            }
                            for (n.method = a, n.arg = o; ; ) {
                                var l = n.delegate;
                                if (l) {
                                    var s = k(l, n);
                                    if (s) {
                                        if (s === p) continue;
                                        return s;
                                    }
                                }
                                if ("next" === n.method) n.sent = n._sent = n.arg;
                                else if ("throw" === n.method) {
                                    if (i === f) throw ((i = C), n.arg);
                                    n.dispatchException(n.arg);
                                } else "return" === n.method && n.abrupt("return", n.arg);
                                i = g;
                                var u = h(t, r, n);
                                if ("normal" === u.type) {
                                    if (((i = n.done ? C : d), u.arg === p)) continue;
                                    return { value: u.arg, done: n.done };
                                }
                                "throw" === u.type && ((i = C), (n.method = "throw"), (n.arg = u.arg));
                            }
                        };
                    }
                    function k(t, r) {
                        var n = r.method,
                            i = t.iterator[n];
                        if (i === e)
                            return (
                                (r.delegate = null),
                                ("throw" === n && t.iterator.return && ((r.method = "return"), (r.arg = e), k(t, r), "throw" === r.method)) ||
                                    ("return" !== n && ((r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a '" + n + "' method")))),
                                p
                            );
                        var a = h(i, t.iterator, r.arg);
                        if ("throw" === a.type) return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), p;
                        var o = a.arg;
                        return o
                            ? o.done
                                ? ((r[t.resultName] = o.value), (r.next = t.nextLoc), "return" !== r.method && ((r.method = "next"), (r.arg = e)), (r.delegate = null), p)
                                : o
                            : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), p);
                    }
                    function x(e) {
                        var t = { tryLoc: e[0] };
                        1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t);
                    }
                    function O(e) {
                        var t = e.completion || {};
                        (t.type = "normal"), delete t.arg, (e.completion = t);
                    }
                    function B(e) {
                        (this.tryEntries = [{ tryLoc: "root" }]), e.forEach(x, this), this.reset(!0);
                    }
                    function F(t) {
                        if (t || "" === t) {
                            var r = t[o];
                            if (r) return r.call(t);
                            if ("function" == typeof t.next) return t;
                            if (!isNaN(t.length)) {
                                var i = -1,
                                    a = function r() {
                                        for (; ++i < t.length; ) if (n.call(t, i)) return (r.value = t[i]), (r.done = !1), r;
                                        return (r.value = e), (r.done = !0), r;
                                    };
                                return (a.next = a);
                            }
                        }
                        throw new TypeError(typeof t + " is not iterable");
                    }
                    return (
                        (m.prototype = v),
                        i(A, "constructor", { value: v, configurable: !0 }),
                        i(v, "constructor", { value: m, configurable: !0 }),
                        (m.displayName = u(v, s, "GeneratorFunction")),
                        (t.isGeneratorFunction = function (e) {
                            var t = "function" == typeof e && e.constructor;
                            return !!t && (t === m || "GeneratorFunction" === (t.displayName || t.name));
                        }),
                        (t.mark = function (e) {
                            return Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), u(e, s, "GeneratorFunction")), (e.prototype = Object.create(A)), e;
                        }),
                        (t.awrap = function (e) {
                            return { __await: e };
                        }),
                        S(b.prototype),
                        u(b.prototype, l, function () {
                            return this;
                        }),
                        (t.AsyncIterator = b),
                        (t.async = function (e, r, n, i, a) {
                            void 0 === a && (a = Promise);
                            var o = new b(c(e, r, n, i), a);
                            return t.isGeneratorFunction(r)
                                ? o
                                : o.next().then(function (e) {
                                      return e.done ? e.value : o.next();
                                  });
                        }),
                        S(A),
                        u(A, s, "Generator"),
                        u(A, o, function () {
                            return this;
                        }),
                        u(A, "toString", function () {
                            return "[object Generator]";
                        }),
                        (t.keys = function (e) {
                            var t = Object(e),
                                r = [];
                            for (var n in t) r.push(n);
                            return (
                                r.reverse(),
                                function e() {
                                    for (; r.length; ) {
                                        var n = r.pop();
                                        if (n in t) return (e.value = n), (e.done = !1), e;
                                    }
                                    return (e.done = !0), e;
                                }
                            );
                        }),
                        (t.values = F),
                        (B.prototype = {
                            constructor: B,
                            reset: function (t) {
                                if (((this.prev = 0), (this.next = 0), (this.sent = this._sent = e), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = e), this.tryEntries.forEach(O), !t))
                                    for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
                            },
                            stop: function () {
                                this.done = !0;
                                var e = this.tryEntries[0].completion;
                                if ("throw" === e.type) throw e.arg;
                                return this.rval;
                            },
                            dispatchException: function (t) {
                                if (this.done) throw t;
                                var r = this;
                                function i(n, i) {
                                    return (l.type = "throw"), (l.arg = t), (r.next = n), i && ((r.method = "next"), (r.arg = e)), !!i;
                                }
                                for (var a = this.tryEntries.length - 1; a >= 0; --a) {
                                    var o = this.tryEntries[a],
                                        l = o.completion;
                                    if ("root" === o.tryLoc) return i("end");
                                    if (o.tryLoc <= this.prev) {
                                        var s = n.call(o, "catchLoc"),
                                            u = n.call(o, "finallyLoc");
                                        if (s && u) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        } else if (s) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                        } else {
                                            if (!u) throw new Error("try statement without catch or finally");
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        }
                                    }
                                }
                            },
                            abrupt: function (e, t) {
                                for (var r = this.tryEntries.length - 1; r >= 0; --r) {
                                    var i = this.tryEntries[r];
                                    if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
                                        var a = i;
                                        break;
                                    }
                                }
                                a && ("break" === e || "continue" === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null);
                                var o = a ? a.completion : {};
                                return (o.type = e), (o.arg = t), a ? ((this.method = "next"), (this.next = a.finallyLoc), p) : this.complete(o);
                            },
                            complete: function (e, t) {
                                if ("throw" === e.type) throw e.arg;
                                return (
                                    "break" === e.type || "continue" === e.type
                                        ? (this.next = e.arg)
                                        : "return" === e.type
                                        ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
                                        : "normal" === e.type && t && (this.next = t),
                                    p
                                );
                            },
                            finish: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), O(r), p;
                                }
                            },
                            catch: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.tryLoc === e) {
                                        var n = r.completion;
                                        if ("throw" === n.type) {
                                            var i = n.arg;
                                            O(r);
                                        }
                                        return i;
                                    }
                                }
                                throw new Error("illegal catch attempt");
                            },
                            delegateYield: function (t, r, n) {
                                return (this.delegate = { iterator: F(t), resultName: r, nextLoc: n }), "next" === this.method && (this.arg = e), p;
                            },
                        }),
                        t
                    );
                }
                function Zt(e, t, r, n, i, a, o) {
                    try {
                        var l = e[a](o),
                            s = l.value;
                    } catch (u) {
                        return void r(u);
                    }
                    l.done ? t(s) : Promise.resolve(s).then(n, i);
                }
                function qt(e) {
                    return function () {
                        var t = this,
                            r = arguments;
                        return new Promise(function (n, i) {
                            var a = e.apply(t, r);
                            function o(e) {
                                Zt(a, n, i, o, l, "next", e);
                            }
                            function l(e) {
                                Zt(a, n, i, o, l, "throw", e);
                            }
                            o(void 0);
                        });
                    };
                }
                function Xt(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, $t(n.key), n);
                    }
                }
                function _t(e, t, r) {
                    return (t = $t(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e;
                }
                function $t(e) {
                    var t = (function (e, t) {
                        if ("object" != typeof e || null === e) return e;
                        var r = e[Symbol.toPrimitive];
                        if (void 0 !== r) {
                            var n = r.call(e, t || "default");
                            if ("object" != typeof n) return n;
                            throw new TypeError("@@toPrimitive must return a primitive value.");
                        }
                        return ("string" === t ? String : Number)(e);
                    })(e, "string");
                    return "symbol" == typeof t ? t : String(t);
                }
                var er = W.create("main"),
                    tr = (function (e) {
                        return (e.WEBM = "video/webm"), (e.MP4 = "video/mp4;codecs=avc1"), e;
                    })(tr || {}),
                    rr = (function () {
                        function e() {
                            !(function (e, t) {
                                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                            })(this, e),
                                _t(this, "chunks", []),
                                _t(this, "recorder", null),
                                _t(this, "mimeType", tr.WEBM),
                                _t(this, "record", null),
                                _t(this, "delayTimeout", null),
                                _t(this, "durationTimeout", null),
                                _t(this, "outputType", oe.BLOB),
                                _t(this, "isRecording", !1),
                                _t(this, "debug", !1),
                                _t(this, "delay", 0);
                        }
                        var t, r, n, i, a;
                        return (
                            (t = e),
                            (r = [
                                {
                                    key: "init",
                                    value: function (e) {
                                        var t = this;
                                        "MediaRecorder" in window &&
                                            ((this.mimeType = MediaRecorder.isTypeSupported(tr.WEBM) ? tr.WEBM : tr.MP4),
                                            (this.recorder = new MediaRecorder(e, { mimeType: this.mimeType, videoBitsPerSecond: 12e5 })),
                                            this.recorder.addEventListener("dataavailable", this.setChunk.bind(this)),
                                            this.recorder.addEventListener("error", this.errorHandle.bind(this)),
                                            this.delay
                                                ? (this.delayTimeout = setTimeout(function () {
                                                      (t.delayTimeout = null), t.startRecording();
                                                  }, this.delay))
                                                : this.startRecording(),
                                            this.duration &&
                                                (this.durationTimeout = setTimeout(
                                                    qt(
                                                        Jt().mark(function e() {
                                                            return Jt().wrap(function (e) {
                                                                for (;;)
                                                                    switch ((e.prev = e.next)) {
                                                                        case 0:
                                                                            return (t.durationTimeout = null), (e.next = 3), t.getRecord();
                                                                        case 3:
                                                                            t.record = e.sent;
                                                                        case 4:
                                                                        case "end":
                                                                            return e.stop();
                                                                    }
                                                            }, e);
                                                        })
                                                    ),
                                                    this.delay + this.duration
                                                )));
                                    },
                                },
                                {
                                    key: "startRecording",
                                    value: function () {
                                        this.recorder && (this.recorder.start(), (this.isRecording = !0));
                                    },
                                },
                                {
                                    key: "clearTimeouts",
                                    value: function () {
                                        this.delayTimeout && clearTimeout(this.delayTimeout), this.durationTimeout && clearTimeout(this.durationTimeout);
                                    },
                                },
                                {
                                    key: "getRecord",
                                    value:
                                        ((a = qt(
                                            Jt().mark(function e() {
                                                var t,
                                                    r = this;
                                                return Jt().wrap(
                                                    function (e) {
                                                        for (;;)
                                                            switch ((e.prev = e.next)) {
                                                                case 0:
                                                                    if (!this.record) {
                                                                        e.next = 4;
                                                                        break;
                                                                    }
                                                                    return (t = this.record), (this.record = null), e.abrupt("return", t);
                                                                case 4:
                                                                    if (this.recorder && "inactive" !== this.recorder.state) {
                                                                        e.next = 6;
                                                                        break;
                                                                    }
                                                                    return e.abrupt("return", null);
                                                                case 6:
                                                                    return (
                                                                        this.stopRecord(),
                                                                        e.abrupt(
                                                                            "return",
                                                                            new Promise(function (e) {
                                                                                if (!r.recorder) return e(null);
                                                                                r.recorder.onstop = qt(
                                                                                    Jt().mark(function t() {
                                                                                        var n;
                                                                                        return Jt().wrap(function (t) {
                                                                                            for (;;)
                                                                                                switch ((t.prev = t.next)) {
                                                                                                    case 0:
                                                                                                        return (t.next = 2), r.createVideoBuffer();
                                                                                                    case 2:
                                                                                                        (n = t.sent), e(n);
                                                                                                    case 4:
                                                                                                    case "end":
                                                                                                        return t.stop();
                                                                                                }
                                                                                        }, t);
                                                                                    })
                                                                                );
                                                                            })
                                                                        )
                                                                    );
                                                                case 8:
                                                                case "end":
                                                                    return e.stop();
                                                            }
                                                    },
                                                    e,
                                                    this
                                                );
                                            })
                                        )),
                                        function () {
                                            return a.apply(this, arguments);
                                        }),
                                },
                                {
                                    key: "stopRecord",
                                    value: function () {
                                        var e, t, r;
                                        this.recorder && "inactive" !== this.recorder.state
                                            ? (null === (e = this.recorder) || void 0 === e || e.stop(),
                                              null === (t = this.recorder) || void 0 === t || t.removeEventListener("dataavailable", this.setChunk),
                                              null === (r = this.recorder) || void 0 === r || r.removeEventListener("error", this.errorHandle),
                                              this.clearTimeouts(),
                                              (this.isRecording = !1))
                                            : this.clearTimeouts();
                                    },
                                },
                                {
                                    key: "errorHandle",
                                    value: function (e) {
                                        er("Stream recorder service error: ".concat(JSON.stringify(e)));
                                    },
                                },
                                {
                                    key: "setChunk",
                                    value: function (e) {
                                        this.chunks.push(e.data);
                                    },
                                },
                                {
                                    key: "createVideoBuffer",
                                    value:
                                        ((i = qt(
                                            Jt().mark(function e() {
                                                var t, r, n, i;
                                                return Jt().wrap(
                                                    function (e) {
                                                        for (;;)
                                                            switch ((e.prev = e.next)) {
                                                                case 0:
                                                                    if (
                                                                        ((t = new Blob(this.chunks, { type: this.mimeType })),
                                                                        this.debug && ((r = document.createElement("a")), (n = window.URL.createObjectURL(t)), (r.href = n), (r.download = "video"), r.click(), window.URL.revokeObjectURL(n)),
                                                                        this.outputType !== oe.UINT)
                                                                    ) {
                                                                        e.next = 7;
                                                                        break;
                                                                    }
                                                                    return (e.next = 5), t.arrayBuffer();
                                                                case 5:
                                                                    return (i = e.sent), e.abrupt("return", new Uint8Array(i));
                                                                case 7:
                                                                    return e.abrupt("return", t);
                                                                case 8:
                                                                case "end":
                                                                    return e.stop();
                                                            }
                                                    },
                                                    e,
                                                    this
                                                );
                                            })
                                        )),
                                        function () {
                                            return i.apply(this, arguments);
                                        }),
                                },
                            ]),
                            r && Xt(t.prototype, r),
                            n && Xt(t, n),
                            Object.defineProperty(t, "prototype", { writable: !1 }),
                            e
                        );
                    })(),
                    nr = rr;
                var ir = function (e) {
                        var t = e.onVideoStatusChange,
                            r = e.onVideoSizeChange,
                            n = e.mode,
                            a = e.resolution,
                            l = e.mirroring,
                            s = e.onFailStatus,
                            u = e.cameraId,
                            c = e.onRecordService,
                            h = e.videoRecord,
                            f = e.eventData,
                            d = (0, C.useRef)(null),
                            g = Mt(n, a, u),
                            p = g.status,
                            I = g.stream,
                            m = g.camera,
                            v = g.sortedDevices,
                            E = g.onPlay,
                            y = (0, C.useRef)(null),
                            w = (0, C.useRef)(null),
                            A = l || (null == m ? void 0 : m.facing) === ue.environment ? Ut.Z.locals.mirroring : "";
                        return (
                            (0, C.useEffect)(function () {
                                var e = y.current,
                                    t = w.current,
                                    n = function () {
                                        e && t && (null == r || r({ videoElement: e, videoParams: { width: e.videoWidth, height: e.videoHeight }, videoContainerParams: { width: t.clientWidth, height: t.clientHeight } }));
                                    };
                                return (
                                    e && (window.addEventListener("resize", n), e.addEventListener("resize", n)),
                                    function () {
                                        var t;
                                        e && (window.removeEventListener("resize", n), e.removeEventListener("resize", n)), null === (t = d.current) || void 0 === t || t.stopRecord();
                                    }
                                );
                            }, []),
                            (0, C.useEffect)(
                                function () {
                                    var e = y.current;
                                    if (
                                        p === se.READY &&
                                        e &&
                                        I &&
                                        ((e.srcObject = I),
                                        setTimeout(
                                            function () {
                                                return e.play();
                                            },
                                            i.gn ? 1500 : 0
                                        ),
                                        h)
                                    ) {
                                        if (d.current) {
                                            var r;
                                            null === (r = d.current) || void 0 === r || r.stopRecord();
                                        } else {
                                            var n = new nr();
                                            "boolean" != typeof h && ((n.delay = h.delay || 0), (n.duration = h.duration), (n.debug = !!h.debug)), (d.current = n), null == c || c(n);
                                        }
                                        d.current.init(I);
                                    }
                                    s && me[p] && s(me[p]), t({ videoStatus: p, camera: m, sortedDevices: v });
                                },
                                [p, m, I, v, h]
                            ),
                            (0, o.jsx)("div", {
                                ref: w,
                                className: Ut.Z.locals.container,
                                children: (0, o.jsx)("video", {
                                    onAbort: function () {
                                        (null == f ? void 0 : f.type) === ve.DOCUMENT && f.onEvent({ action: Vt.VIDEO_STOPPED, data: null });
                                    },
                                    onLoadedData: function () {
                                        E(), (null == f ? void 0 : f.type) === ve.DOCUMENT && f.onEvent({ action: Vt.VIDEO_STARTED, data: null });
                                    },
                                    className: A,
                                    ref: y,
                                    playsInline: !0,
                                }),
                            })
                        );
                    },
                    ar = r("./src/components/layout/style.css");
                function or(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return lr(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return lr(e, t);
                        })(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function lr(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                var sr = (0, C.memo)(function (e) {
                    var t = e.numSectors,
                        r = e.targetSector,
                        n = e.currSector,
                        a = e.centerX,
                        l = e.centerY,
                        s = e.sectorRadius,
                        u = 360 / t,
                        c = or((0, C.useState)({ targetSectorAngle: 0, targetSector: 0 }), 2),
                        h = c[0],
                        f = c[1],
                        d = or((0, C.useState)({ strokeDashArrayFill: 0, strokeOffset: 0, sectorRadius: 0 }), 2),
                        g = d[0],
                        p = d[1],
                        I = (0, C.useRef)(0);
                    (0, C.useEffect)(
                        function () {
                            var e = 2 * Math.PI * s;
                            p({ strokeDashArrayFill: e, strokeOffset: e - (e / 100) * (100 / t), sectorRadius: s });
                        },
                        [s]
                    ),
                        (0, C.useEffect)(
                            function () {
                                f(function (e) {
                                    var n = r - e.targetSector,
                                        i = e.targetSectorAngle - n * u;
                                    return n * u > 180 && (i = e.targetSectorAngle + (t - n) * u), (I.current = I.current + 1), { targetSectorAngle: i, targetSector: r };
                                });
                            },
                            [r]
                        );
                    var m = (0, C.useMemo)(
                            function () {
                                if (n === r)
                                    return (0, o.jsx)("circle", {
                                        className: ar.Z.locals.currentSector,
                                        strokeWidth: g.sectorRadius / 3,
                                        transform: "rotate("
                                            .concat(-r * u - 22.5, " ")
                                            .concat(a, " ")
                                            .concat(l, ")"),
                                        strokeDasharray: g.strokeDashArrayFill,
                                        strokeDashoffset: g.strokeOffset,
                                        fill: "none",
                                        stroke: "var(--camera-screen-sector-active)",
                                        r: g.sectorRadius,
                                        cx: a,
                                        cy: l,
                                        mask: "url(#readinessMask)",
                                    });
                            },
                            [r, n]
                        ),
                        v = function () {
                            if (i.nI && i.G6) {
                                var e = window.parent.innerWidth / window.parent.outerWidth;
                                return "".concat(a / e, "px ").concat(l / e, "px");
                            }
                            return "center center";
                        },
                        E = (0, C.useMemo)(
                            function () {
                                return (0, o.jsx)("circle", {
                                    className: ar.Z.locals.targetSector,
                                    strokeWidth: g.sectorRadius / 3,
                                    style: {
                                        "--sector-rotate": "rotate(".concat(h.targetSectorAngle - 22.5, "deg)"),
                                        transformOrigin: v(),
                                        WebkitTransformOrigin: v(),
                                        transition: I.current > 1 ? ".5s linear" : "",
                                        WebkitTransition: I.current > 1 ? ".5s linear" : "",
                                    },
                                    strokeDasharray: g.strokeDashArrayFill,
                                    strokeDashoffset: g.strokeOffset,
                                    fill: "none",
                                    stroke: "var(--camera-screen-sector-target)",
                                    r: g.sectorRadius,
                                    cx: a,
                                    cy: l,
                                    mask: "url(#targetSectorMask)",
                                });
                            },
                            [r, I.current, h.targetSectorAngle]
                        );
                    return (0,
                    o.jsxs)(o.Fragment, { children: [(0, o.jsx)("defs", { children: (0, o.jsxs)("mask", { id: "targetSectorMask", x: "0", y: "0", children: [(0, o.jsx)("circle", { strokeWidth: g.sectorRadius / 2, r: g.sectorRadius, cx: a, cy: l, fill: "black", stroke: "white" }), (0, o.jsx)("ellipse", { cx: a, cy: l, rx: s - 3, ry: s - 3 })] }) }), E, m] });
                });
                function ur(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return cr(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return cr(e, t);
                        })(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function cr(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                var hr = [
                        " ",
                        " ",
                        " ",
                        " ",
                        " ",
                    ],
                    fr = { TARGET_0_DEG: hr[0], TARGET_45_DEG: hr[1], TARGET_90_DEG: hr[2], TARGET_135_DEG: hr[3], TARGET_180_DEG: hr[4] },
                    dr = (0, C.memo)(function (e) {
                        var t = e.targetSector,
                            r = e.roundRadiusY,
                            n = e.isFaceAnimation,
                            i = e.setCameraBlur,
                            a = e.isSectorMode,
                            l = e.message,
                            s = e.facePosition,
                            u = e.centerX,
                            c = e.centerY,
                            h = ur((0, C.useState)(fr.TARGET_0_DEG), 2),
                            f = h[0],
                            d = h[1],
                            g = ur((0, C.useState)(1), 2),
                            p = g[0],
                            I = g[1],
                            m = (0, C.useRef)(void 0),
                            v = ur((0, C.useState)(!1), 2),
                            E = v[0],
                            y = v[1],
                            w = ur((0, C.useState)(!1), 2),
                            A = w[0],
                            S = w[1],
                            b = ur((0, C.useState)(null), 2),
                            Q = b[0],
                            k = b[1];
                        return (
                            (0, C.useEffect)(
                                function () {
                                    J.includes(l) &&
                                        ((A && !a) ||
                                            (l === Y.FitFaceIntoOval && 0 === s.x) ||
                                            (m.current && clearTimeout(m.current),
                                            k(l),
                                            i(!0),
                                            y(Z.includes(l)),
                                            S(!0),
                                            (m.current = setTimeout(function () {
                                                i(!1), S(!1);
                                            }, 1e3)),
                                            a && (i(!1), S(!1), clearTimeout(m.current))));
                                },
                                [l, a, s.x]
                            ),
                            (0, C.useEffect)(function () {
                                return function () {
                                    clearTimeout(m.current);
                                };
                            }, []),
                            (0, C.useEffect)(
                                function () {
                                    i(n);
                                },
                                [n]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    if (!A) {
                                        E && d(fr.TARGET_0_DEG),
                                            2 === t && d(fr.TARGET_0_DEG),
                                            (1 !== t && 3 !== t) || d(fr.TARGET_45_DEG),
                                            (0 !== t && 4 !== t) || d(fr.TARGET_90_DEG),
                                            (5 !== t && 7 !== t) || d(fr.TARGET_135_DEG),
                                            6 === t && d(fr.TARGET_180_DEG);
                                        var e = z.includes(t) && l !== Y.FitFaceIntoOval;
                                        I(e ? -1 : 1);
                                    }
                                },
                                [t, A, l]
                            ),
                            (0, o.jsx)("div", {
                                style: {
                                    position: "absolute",
                                    display: "flex",
                                    justifyContent: "center",
                                    alignItems: "center",
                                    top: 0,
                                    left: 0,
                                    width: "100%",
                                    height: "100%",
                                    opacity: n || A ? 1 : 0,
                                    transition: "opacity .5s",
                                    transform: "scale(".concat(p, ",1)"),
                                },
                                children: (0, o.jsxs)("div", {
                                    style: { position: "relative", width: 2 * r, height: 2 * r, borderRadius: "".concat(r, "px"), overflow: "hidden", display: "flex", justifyContent: "center", alignItems: "center", transition: "0.8s" },
                                    children: [
                                        n ? (0, o.jsx)("div", { className: ar.Z.locals["face-hint-target"], style: { width: 2 * r + "px", height: 2 * r + "px", backgroundImage: "url('data:image/png;base64,".concat(f, "')") } }) : null,
                                        A
                                            ? (0, o.jsx)("div", {
                                                  className: "".concat(ar.Z.locals["face-hint"], " ").concat(ar.Z.locals["face-hint-animation-" + Q]),
                                                  style: {
                                                      position: "absolute",
                                                      "--from-left": "".concat(s.x + s.width / 2 - u, "px"),
                                                      "--from-top": "".concat(s.y + s.height / 2 - c, "px"),
                                                      width: 2 * r + "px",
                                                      height: 2 * r + "px",
                                                      backgroundImage: "url('data:image/png;base64,".concat(f, "')"),
                                                      backgroundRepeat: "no-repeat",
                                                      backgroundPosition: "0 0%",
                                                      backgroundSize: "100%",
                                                  },
                                              })
                                            : null,
                                    ],
                                }),
                            })
                        );
                    }),
                    gr = r("./src/components/message/style.css");
                function Cr(e) {
                    var t = e.children;
                    return (0, o.jsx)(o.Fragment, { children: t && (0, o.jsx)("div", { className: gr.Z.locals.container, children: (0, o.jsx)("span", { "data-e2e": "message-text", children: t }) }) });
                }
                var pr = (0, C.memo)(Cr),
                    Ir = { [se.PREPARING]: "preparingCamera", [se.READY]: "preparingCamera", [se.REQUESTING]: "allowAccessCamera", [se.UNKNOWN_ERROR]: "somethingWentWrong", [se.INCORRECT_CAMERA_ID]: "incorrectCameraId" },
                    mr = {
                        [Y.LookStraight]: "lookStraight",
                        [Y.FitFaceIntoOval]: "fitYourFace",
                        [Y.MoveCloser]: "moveCloser",
                        [Y.MoveAway]: "moveAway",
                        [Y.HoldStill]: "holdSteady",
                        [Y.ShowOnlyOneFace]: "showOnlyOneFace",
                        [Y.TurnHead]: "turnHead",
                        [Y.Empty]: "",
                    };
                function vr(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return Er(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Er(e, t);
                        })(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function Er(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                function yr(e) {
                    var t = e.children,
                        r = e.captureFrame,
                        n = e.videoStatusParams,
                        a = e.message,
                        l = e.prepared,
                        c = e.onChangeCamera,
                        h = e.readiness,
                        f = e.numSectors,
                        d = e.currSector,
                        g = e.targetSector,
                        p = e.step,
                        I = e.showChangeCameraButton,
                        m = e.facePosition,
                        v = e.faceSnapshot,
                        E = (0, u.useLocalize)().translate,
                        y = (0, C.useRef)(null),
                        w = a === Y.HoldStill,
                        A = a === Y.TurnHead,
                        S = p > 0 && "number" == typeof g,
                        b = i.tq && !v,
                        Q = l && n.videoStatus === se.PLAY,
                        k = E(
                            (function (e, t, r) {
                                return e.videoStatus === se.PLAY ? (t ? mr[r] : "preparingService") : Ir[e.videoStatus] || "";
                            })(n, l, a)
                        ),
                        x = { transition: "".concat(200, "ms") },
                        O = Be(function (e) {
                            return { abortProcess: e.abortProcess };
                        }).abortProcess,
                        B = Be(function (e) {
                            return { rotationAngle: e.rotationAngle };
                        }).rotationAngle,
                        F = ar.Z.locals,
                        L = F.container,
                        j = F.backgroundSvg,
                        W = F.firstStepAnimation,
                        R = F.hide,
                        D = F.done,
                        K = F.secondaryMessage,
                        P = F.centreMessage,
                        G = F.functionalButtons,
                        M = F.videoContainer,
                        U = F.videoContainerBlur,
                        N = F.translateY,
                        V = vr(
                            (0, C.useState)({ viewBoxWidth: 0, viewBoxHeight: 0, maskCX: 0, maskCY: 0, maskRX: 0, maskRY: 0, frameRX: 0, frameRY: 0, frameClipWidth: 0, frameClipX: 0, frameClipY: 0, steadyStrokeWidth: 0, strokeWidth: 0 }),
                            2
                        ),
                        T = V[0],
                        H = V[1],
                        z = !!(n.sortedDevices && n.sortedDevices.frontCameras.length + n.sortedDevices.backCameras.length > 1);
                    (0, C.useEffect)(
                        function () {
                            var e = y.current;
                            if (e) {
                                var t = e.getBoundingClientRect(),
                                    n = t.width,
                                    i = t.height,
                                    a = r.left,
                                    o = r.top,
                                    l = r.width,
                                    s = r.height,
                                    u = l + 3,
                                    c = s + 3,
                                    f = Math.round(((2 * u) / 2) * (1 - h)),
                                    d = Math.round(a - f / 2),
                                    g = Math.round(o - f / 2),
                                    C = Math.round(4.5);
                                H({ viewBoxWidth: n, viewBoxHeight: i, maskCX: a, maskCY: o, maskRX: l, maskRY: s, frameRX: u, frameRY: c, frameClipWidth: f, frameClipX: d, frameClipY: g, steadyStrokeWidth: C, strokeWidth: 3 });
                            }
                        },
                        [r, h]
                    );
                    var J = vr((0, C.useState)(!1), 2),
                        Z = J[0],
                        q = J[1],
                        X = (0, C.useCallback)(function (e) {
                            q(e);
                        }, []),
                        _ = (0, C.useMemo)(
                            function () {
                                if (!B || 0 === B || !i.nI) return "";
                                if (180 === B) return ar.Z.locals["videoContainerRotation-180"];
                                var e = ar.Z.locals.videoContainerRotation,
                                    t = 90 === B ? ar.Z.locals["videoContainerRotation-90"] : ar.Z.locals["videoContainerRotation-90-rev"];
                                return "".concat(e, " ").concat(t);
                            },
                            [B]
                        );
                    return (0, o.jsxs)("div", {
                        ref: y,
                        className: "".concat(L, " ").concat(N),
                        style: { opacity: O ? 0 : 1 },
                        children: [
                            (0, o.jsx)("div", { className: "".concat(M, " ").concat(_), children: (0, o.jsx)("div", { className: U, style: { filter: "blur(".concat(Z ? "20px" : 0, ")") }, children: t }) }),
                            (0, o.jsxs)("svg", {
                                className: 1 === p ? "".concat(j, " ").concat(W) : j,
                                xmlns: "http://www.w3.org/2000/svg",
                                preserveAspectRatio: "xMidYMid slice",
                                viewBox: "0 0 ".concat(T.viewBoxWidth, " ").concat(T.viewBoxHeight),
                                children: [
                                    (0, o.jsxs)("defs", {
                                        children: [
                                            (0, o.jsxs)("mask", {
                                                id: "bgClip",
                                                children: [
                                                    (0, o.jsx)("rect", { x: "0", y: "0", width: T.viewBoxWidth, height: T.viewBoxHeight, fill: "#fff" }),
                                                    (0, o.jsx)("ellipse", { cx: T.maskCX, cy: T.maskCY, rx: T.maskRX, ry: T.maskRY }),
                                                ],
                                            }),
                                            S &&
                                                (0, o.jsxs)("mask", {
                                                    id: "readinessMask",
                                                    x: "0",
                                                    y: "0",
                                                    children: [
                                                        (0, o.jsx)("circle", { fill: "white", r: (T.frameRX + T.frameRX / 6) * h, cx: T.maskCX, cy: T.maskCY }),
                                                        (0, o.jsx)("ellipse", { cx: T.maskCX, cy: T.maskCY, rx: T.maskRX, ry: T.maskRY }),
                                                    ],
                                                }),
                                            (0, o.jsxs)("mask", {
                                                id: "ovalClip",
                                                children: [
                                                    (0, o.jsx)("rect", { x: "0", y: "0", width: T.viewBoxWidth, height: T.viewBoxHeight, fill: "#fff" }),
                                                    (0, o.jsx)("rect", { style: x, x: T.frameClipX, y: "0", width: Math.max(T.frameClipWidth, 0), height: T.viewBoxHeight }),
                                                    (0, o.jsx)("rect", { style: x, x: "0", y: T.frameClipY, width: T.viewBoxWidth, height: Math.max(T.frameClipWidth, 0) }),
                                                ],
                                            }),
                                        ],
                                    }),
                                    (0, o.jsx)("rect", { mask: S || (Q && !S) ? "url(#bgClip)" : "", x: "0", y: "0", width: T.viewBoxWidth, height: T.viewBoxHeight, fill: "white" }),
                                    S && (0, o.jsx)(sr, { numSectors: f, targetSector: g, currSector: d, centerX: T.viewBoxWidth / 2, centerY: T.viewBoxHeight / 2, sectorRadius: T.frameRX }),
                                    (0, o.jsx)("ellipse", {
                                        mask: S || w ? "" : "url(#ovalClip)",
                                        className: "".concat(w ? D : "", " ").concat(l ? "" : R),
                                        cx: T.maskCX,
                                        cy: T.maskCY,
                                        rx: S ? T.maskRX : T.frameRX,
                                        ry: S ? T.maskRX : T.frameRY,
                                        fill: "none",
                                        stroke: Q ? "var(--camera-screen-stroke-normal)" : "",
                                        strokeWidth: S ? 1 : w ? T.steadyStrokeWidth : T.strokeWidth,
                                    }),
                                ],
                            }),
                            (0, o.jsx)(dr, { isFaceAnimation: A, roundRadiusY: T.maskRY, targetSector: S ? g : d, setCameraBlur: X, isSectorMode: S, message: a, facePosition: m, centerX: T.viewBoxWidth / 2, centerY: T.viewBoxHeight / 2 }),
                            (0, o.jsx)("div", { className: "".concat(K, " ").concat(l ? "" : P), children: (0, o.jsx)(pr, { children: k }) }),
                            !b && z && I && (0, o.jsx)("div", { className: G, children: (0, o.jsx)("button", { disabled: n.videoStatus !== se.PLAY, onClick: c, children: (0, o.jsx)(s, { size: 30, type: "camera-change" }) }) }),
                        ],
                    });
                }
                var wr = (0, C.memo)(yr),
                    Ar = r("./src/components/camera-capture/style.css");
                function Sr(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1),
                            (n.configurable = !0),
                            "value" in n && (n.writable = !0),
                            Object.defineProperty(
                                e,
                                ((i = n.key),
                                (a = void 0),
                                "symbol" ==
                                typeof (a = (function (e, t) {
                                    if ("object" != typeof e || null === e) return e;
                                    var r = e[Symbol.toPrimitive];
                                    if (void 0 !== r) {
                                        var n = r.call(e, t || "default");
                                        if ("object" != typeof n) return n;
                                        throw new TypeError("@@toPrimitive must return a primitive value.");
                                    }
                                    return ("string" === t ? String : Number)(e);
                                })(i, "string"))
                                    ? a
                                    : String(a)),
                                n
                            );
                    }
                    var i, a;
                }
                var br = (function () {
                    function e() {
                        !(function (e, t) {
                            if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                        })(this, e),
                            (this.callbacks = {});
                    }
                    var t, r, n;
                    return (
                        (t = e),
                        (r = [
                            {
                                key: "on",
                                value: function (e, t) {
                                    this.callbacks[e] || (this.callbacks[e] = []), this.callbacks[e].push(t);
                                },
                            },
                            {
                                key: "emit",
                                value: function (e, t) {
                                    this.callbacks[e] &&
                                        this.callbacks[e].forEach(function (e) {
                                            return e(t);
                                        });
                                },
                            },
                            {
                                key: "unsubscribe",
                                value: function (e, t) {
                                    this.callbacks[e] = this.callbacks[e].filter(function (e) {
                                        return t !== e;
                                    });
                                },
                            },
                            {
                                key: "unsubscribeAll",
                                value: function () {
                                    this.callbacks = {};
                                },
                            },
                        ]) && Sr(t.prototype, r),
                        n && Sr(t, n),
                        Object.defineProperty(t, "prototype", { writable: !1 }),
                        e
                    );
                })();
                function Qr(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function kr() {
                    kr = function () {
                        return t;
                    };
                    var e,
                        t = {},
                        r = Object.prototype,
                        n = r.hasOwnProperty,
                        i =
                            Object.defineProperty ||
                            function (e, t, r) {
                                e[t] = r.value;
                            },
                        a = "function" == typeof Symbol ? Symbol : {},
                        o = a.iterator || "@@iterator",
                        l = a.asyncIterator || "@@asyncIterator",
                        s = a.toStringTag || "@@toStringTag";
                    function u(e, t, r) {
                        return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t];
                    }
                    try {
                        u({}, "");
                    } catch (e) {
                        u = function (e, t, r) {
                            return (e[t] = r);
                        };
                    }
                    function c(e, t, r, n) {
                        var a = t && t.prototype instanceof I ? t : I,
                            o = Object.create(a.prototype),
                            l = new B(n || []);
                        return i(o, "_invoke", { value: Q(e, r, l) }), o;
                    }
                    function h(e, t, r) {
                        try {
                            return { type: "normal", arg: e.call(t, r) };
                        } catch (e) {
                            return { type: "throw", arg: e };
                        }
                    }
                    t.wrap = c;
                    var f = "suspendedStart",
                        d = "suspendedYield",
                        g = "executing",
                        C = "completed",
                        p = {};
                    function I() {}
                    function m() {}
                    function v() {}
                    var E = {};
                    u(E, o, function () {
                        return this;
                    });
                    var y = Object.getPrototypeOf,
                        w = y && y(y(F([])));
                    w && w !== r && n.call(w, o) && (E = w);
                    var A = (v.prototype = I.prototype = Object.create(E));
                    function S(e) {
                        ["next", "throw", "return"].forEach(function (t) {
                            u(e, t, function (e) {
                                return this._invoke(t, e);
                            });
                        });
                    }
                    function b(e, t) {
                        function r(i, a, o, l) {
                            var s = h(e[i], e, a);
                            if ("throw" !== s.type) {
                                var u = s.arg,
                                    c = u.value;
                                return c && "object" == typeof c && n.call(c, "__await")
                                    ? t.resolve(c.__await).then(
                                          function (e) {
                                              r("next", e, o, l);
                                          },
                                          function (e) {
                                              r("throw", e, o, l);
                                          }
                                      )
                                    : t.resolve(c).then(
                                          function (e) {
                                              (u.value = e), o(u);
                                          },
                                          function (e) {
                                              return r("throw", e, o, l);
                                          }
                                      );
                            }
                            l(s.arg);
                        }
                        var a;
                        i(this, "_invoke", {
                            value: function (e, n) {
                                function i() {
                                    return new t(function (t, i) {
                                        r(e, n, t, i);
                                    });
                                }
                                return (a = a ? a.then(i, i) : i());
                            },
                        });
                    }
                    function Q(t, r, n) {
                        var i = f;
                        return function (a, o) {
                            if (i === g) throw new Error("Generator is already running");
                            if (i === C) {
                                if ("throw" === a) throw o;
                                return { value: e, done: !0 };
                            }
                            for (n.method = a, n.arg = o; ; ) {
                                var l = n.delegate;
                                if (l) {
                                    var s = k(l, n);
                                    if (s) {
                                        if (s === p) continue;
                                        return s;
                                    }
                                }
                                if ("next" === n.method) n.sent = n._sent = n.arg;
                                else if ("throw" === n.method) {
                                    if (i === f) throw ((i = C), n.arg);
                                    n.dispatchException(n.arg);
                                } else "return" === n.method && n.abrupt("return", n.arg);
                                i = g;
                                var u = h(t, r, n);
                                if ("normal" === u.type) {
                                    if (((i = n.done ? C : d), u.arg === p)) continue;
                                    return { value: u.arg, done: n.done };
                                }
                                "throw" === u.type && ((i = C), (n.method = "throw"), (n.arg = u.arg));
                            }
                        };
                    }
                    function k(t, r) {
                        var n = r.method,
                            i = t.iterator[n];
                        if (i === e)
                            return (
                                (r.delegate = null),
                                ("throw" === n && t.iterator.return && ((r.method = "return"), (r.arg = e), k(t, r), "throw" === r.method)) ||
                                    ("return" !== n && ((r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a '" + n + "' method")))),
                                p
                            );
                        var a = h(i, t.iterator, r.arg);
                        if ("throw" === a.type) return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), p;
                        var o = a.arg;
                        return o
                            ? o.done
                                ? ((r[t.resultName] = o.value), (r.next = t.nextLoc), "return" !== r.method && ((r.method = "next"), (r.arg = e)), (r.delegate = null), p)
                                : o
                            : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), p);
                    }
                    function x(e) {
                        var t = { tryLoc: e[0] };
                        1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t);
                    }
                    function O(e) {
                        var t = e.completion || {};
                        (t.type = "normal"), delete t.arg, (e.completion = t);
                    }
                    function B(e) {
                        (this.tryEntries = [{ tryLoc: "root" }]), e.forEach(x, this), this.reset(!0);
                    }
                    function F(t) {
                        if (t || "" === t) {
                            var r = t[o];
                            if (r) return r.call(t);
                            if ("function" == typeof t.next) return t;
                            if (!isNaN(t.length)) {
                                var i = -1,
                                    a = function r() {
                                        for (; ++i < t.length; ) if (n.call(t, i)) return (r.value = t[i]), (r.done = !1), r;
                                        return (r.value = e), (r.done = !0), r;
                                    };
                                return (a.next = a);
                            }
                        }
                        throw new TypeError(typeof t + " is not iterable");
                    }
                    return (
                        (m.prototype = v),
                        i(A, "constructor", { value: v, configurable: !0 }),
                        i(v, "constructor", { value: m, configurable: !0 }),
                        (m.displayName = u(v, s, "GeneratorFunction")),
                        (t.isGeneratorFunction = function (e) {
                            var t = "function" == typeof e && e.constructor;
                            return !!t && (t === m || "GeneratorFunction" === (t.displayName || t.name));
                        }),
                        (t.mark = function (e) {
                            return Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), u(e, s, "GeneratorFunction")), (e.prototype = Object.create(A)), e;
                        }),
                        (t.awrap = function (e) {
                            return { __await: e };
                        }),
                        S(b.prototype),
                        u(b.prototype, l, function () {
                            return this;
                        }),
                        (t.AsyncIterator = b),
                        (t.async = function (e, r, n, i, a) {
                            void 0 === a && (a = Promise);
                            var o = new b(c(e, r, n, i), a);
                            return t.isGeneratorFunction(r)
                                ? o
                                : o.next().then(function (e) {
                                      return e.done ? e.value : o.next();
                                  });
                        }),
                        S(A),
                        u(A, s, "Generator"),
                        u(A, o, function () {
                            return this;
                        }),
                        u(A, "toString", function () {
                            return "[object Generator]";
                        }),
                        (t.keys = function (e) {
                            var t = Object(e),
                                r = [];
                            for (var n in t) r.push(n);
                            return (
                                r.reverse(),
                                function e() {
                                    for (; r.length; ) {
                                        var n = r.pop();
                                        if (n in t) return (e.value = n), (e.done = !1), e;
                                    }
                                    return (e.done = !0), e;
                                }
                            );
                        }),
                        (t.values = F),
                        (B.prototype = {
                            constructor: B,
                            reset: function (t) {
                                if (((this.prev = 0), (this.next = 0), (this.sent = this._sent = e), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = e), this.tryEntries.forEach(O), !t))
                                    for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
                            },
                            stop: function () {
                                this.done = !0;
                                var e = this.tryEntries[0].completion;
                                if ("throw" === e.type) throw e.arg;
                                return this.rval;
                            },
                            dispatchException: function (t) {
                                if (this.done) throw t;
                                var r = this;
                                function i(n, i) {
                                    return (l.type = "throw"), (l.arg = t), (r.next = n), i && ((r.method = "next"), (r.arg = e)), !!i;
                                }
                                for (var a = this.tryEntries.length - 1; a >= 0; --a) {
                                    var o = this.tryEntries[a],
                                        l = o.completion;
                                    if ("root" === o.tryLoc) return i("end");
                                    if (o.tryLoc <= this.prev) {
                                        var s = n.call(o, "catchLoc"),
                                            u = n.call(o, "finallyLoc");
                                        if (s && u) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        } else if (s) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                        } else {
                                            if (!u) throw new Error("try statement without catch or finally");
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        }
                                    }
                                }
                            },
                            abrupt: function (e, t) {
                                for (var r = this.tryEntries.length - 1; r >= 0; --r) {
                                    var i = this.tryEntries[r];
                                    if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
                                        var a = i;
                                        break;
                                    }
                                }
                                a && ("break" === e || "continue" === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null);
                                var o = a ? a.completion : {};
                                return (o.type = e), (o.arg = t), a ? ((this.method = "next"), (this.next = a.finallyLoc), p) : this.complete(o);
                            },
                            complete: function (e, t) {
                                if ("throw" === e.type) throw e.arg;
                                return (
                                    "break" === e.type || "continue" === e.type
                                        ? (this.next = e.arg)
                                        : "return" === e.type
                                        ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
                                        : "normal" === e.type && t && (this.next = t),
                                    p
                                );
                            },
                            finish: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), O(r), p;
                                }
                            },
                            catch: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.tryLoc === e) {
                                        var n = r.completion;
                                        if ("throw" === n.type) {
                                            var i = n.arg;
                                            O(r);
                                        }
                                        return i;
                                    }
                                }
                                throw new Error("illegal catch attempt");
                            },
                            delegateYield: function (t, r, n) {
                                return (this.delegate = { iterator: F(t), resultName: r, nextLoc: n }), "next" === this.method && (this.arg = e), p;
                            },
                        }),
                        t
                    );
                }
                function xr(e, t, r, n, i, a, o) {
                    try {
                        var l = e[a](o),
                            s = l.value;
                    } catch (u) {
                        return void r(u);
                    }
                    l.done ? t(s) : Promise.resolve(s).then(n, i);
                }
                function Or(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, Fr(n.key), n);
                    }
                }
                function Br(e, t, r) {
                    return (t = Fr(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e;
                }
                function Fr(e) {
                    var t = (function (e, t) {
                        if ("object" != typeof e || null === e) return e;
                        var r = e[Symbol.toPrimitive];
                        if (void 0 !== r) {
                            var n = r.call(e, t || "default");
                            if ("object" != typeof n) return n;
                            throw new TypeError("@@toPrimitive must return a primitive value.");
                        }
                        return ("string" === t ? String : Number)(e);
                    })(e, "string");
                    return "symbol" == typeof t ? t : String(t);
                }
                var Lr = W.create("wasm"),
                    jr = "message",
                    Wr = (function (e) {
                        return (
                            (e.onRuntimeInitialized = "onRuntimeInitialized"),
                            (e.processImage = "processImage"),
                            (e.process = "process"),
                            (e.startNewPage = "startNewPage"),
                            (e.initializeService = "initializeService"),
                            (e.addDataToPackage = "addDataToPackage"),
                            (e.finalizePackage = "finalizePackage"),
                            e
                        );
                    })(Wr || {}),
                    Rr = (function () {
                        function e() {
                            !(function (e, t) {
                                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                            })(this, e),
                                Br(this, "initialized", !1),
                                Br(this, "processing", !1),
                                Br(this, "prepared", !1),
                                Br(this, "eventEmitter", new br()),
                                (this.worker = null),
                                (this.params = null);
                        }
                        var t, r, n, i, a;
                        return (
                            (t = e),
                            (r = [
                                {
                                    key: "prepare",
                                    value:
                                        ((i = kr().mark(function e(t) {
                                            var r,
                                                n,
                                                i,
                                                a = this;
                                            return kr().wrap(
                                                function (e) {
                                                    for (;;)
                                                        switch ((e.prev = e.next)) {
                                                            case 0:
                                                                return (e.prev = 1), (e.next = 4), fetch("https://wasm.regulaforensics.com/face/release/1.1.1/3e2280d7-a4745b0b/Liveness.worker.js");
                                                            case 4:
                                                                return (r = e.sent), (e.next = 7), r.blob();
                                                            case 7:
                                                                (n = e.sent), (i = URL.createObjectURL(n)), (this.worker = new Worker(i)), (e.next = 15);
                                                                break;
                                                            case 12:
                                                                (e.prev = 12), (e.t0 = e.catch(1)), Lr("Creating worker error: ".concat(JSON.stringify(e.t0)));
                                                            case 15:
                                                                e.next = 18;
                                                                break;
                                                            case 17:
                                                                this.worker = new Worker("./Liveness.worker.js");
                                                            case 18:
                                                                this.eventEmitter.on(jr, t),
                                                                    this.worker &&
                                                                        ((this.worker.onmessage = function (e) {
                                                                            return a.onWorkerMessage(e);
                                                                        }),
                                                                        this.worker.postMessage({ target: "gl", op: "setPrefetched", preMain: !0 }),
                                                                        this.worker.postMessage({
                                                                            target: "worker-init",
                                                                            URL: document.URL,
                                                                            currentScriptUrl: "https://wasm.regulaforensics.com/face/release/1.1.1/3e2280d7-a4745b0b/Liveness.worker.js",
                                                                            preMain: !0,
                                                                        }));
                                                            case 20:
                                                            case "end":
                                                                return e.stop();
                                                        }
                                                },
                                                e,
                                                this,
                                                [[1, 12]]
                                            );
                                        })),
                                        (a = function () {
                                            var e = this,
                                                t = arguments;
                                            return new Promise(function (r, n) {
                                                var a = i.apply(e, t);
                                                function o(e) {
                                                    xr(a, r, n, o, l, "next", e);
                                                }
                                                function l(e) {
                                                    xr(a, r, n, o, l, "throw", e);
                                                }
                                                o(void 0);
                                            });
                                        }),
                                        function (e) {
                                            return a.apply(this, arguments);
                                        }),
                                },
                                {
                                    key: "initialize",
                                    value: function (e) {
                                        (this.params = e),
                                            this.postCustomMessage(
                                                (function (e) {
                                                    for (var t = 1; t < arguments.length; t++) {
                                                        var r = null != arguments[t] ? arguments[t] : {};
                                                        t % 2
                                                            ? Qr(Object(r), !0).forEach(function (t) {
                                                                  Br(e, t, r[t]);
                                                              })
                                                            : Object.getOwnPropertyDescriptors
                                                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                                                            : Qr(Object(r)).forEach(function (t) {
                                                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                                                              });
                                                    }
                                                    return e;
                                                })({ event: Wr.initializeService }, this.params),
                                                !0
                                            );
                                    },
                                },
                                {
                                    key: "addDataToPackage",
                                    value: function (e, t) {
                                        e && this.postCustomMessage({ event: Wr.addDataToPackage, videoUInt8Array: e, processData: t }, !0);
                                    },
                                },
                                {
                                    key: "finalizePackage",
                                    value: function () {
                                        this.postCustomMessage({ event: Wr.finalizePackage }, !0);
                                    },
                                },
                                {
                                    key: "postCustomMessage",
                                    value: function (e, t) {
                                        this.worker && this.worker.postMessage({ target: "custom", userData: e, preMain: t });
                                    },
                                },
                                {
                                    key: "emit",
                                    value: function (e) {
                                        this.eventEmitter.emit(jr, { initialized: this.initialized, prepared: this.prepared, data: e });
                                    },
                                },
                                {
                                    key: "onWorkerMessage",
                                    value: function (e) {
                                        var t = e.data;
                                        switch (t.target) {
                                            case "stdout":
                                                Lr(JSON.stringify(t.content));
                                                break;
                                            case "stderr":
                                                Lr(JSON.stringify(t.content)), "object" == typeof t.content ? this.emit({ error: t.content }) : this.emit({ error: new vt(R.WASM_ERROR, t.content) });
                                                break;
                                            case "custom":
                                                "onRuntimeInitialized" === e.data.method ? (this.prepared = !0) : "initializeService" === e.data.method ? (this.initialized = !0) : (this.processing = !1), this.emit(t.data);
                                                break;
                                            default:
                                                throw "what? " + t.target;
                                        }
                                    },
                                },
                                {
                                    key: "shutdown",
                                    value: function () {
                                        this.worker && (this.worker.terminate(), this.eventEmitter.unsubscribeAll());
                                    },
                                },
                                {
                                    key: "processImage",
                                    value: function (e, t) {
                                        e && this.postCustomMessage({ event: Wr.processImage, imageUInt8Array: e, processData: t }, !0);
                                    },
                                },
                            ]),
                            r && Or(t.prototype, r),
                            n && Or(t, n),
                            Object.defineProperty(t, "prototype", { writable: !1 }),
                            e
                        );
                    })(),
                    Yr = Rr;
                function Dr(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return Kr(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Kr(e, t);
                        })(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function Kr(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                var Pr = function () {
                    var e = Dr((0, C.useState)(null), 2),
                        t = e[0],
                        r = e[1];
                    return (
                        (0, C.useEffect)(
                            function () {
                                if (window.navigator) {
                                    var e = window.navigator,
                                        t = e.appCodeName,
                                        n = e.appName,
                                        i = e.appVersion,
                                        a = e.language,
                                        o = e.languages,
                                        l = e.platform,
                                        s = e.product,
                                        u = e.productSub,
                                        c = e.userAgent,
                                        h = e.vendor,
                                        f = e.vendorSub;
                                    r({ appCodeName: t, appName: n, appVersion: i, language: a, languages: o, platform: l, product: s, productSub: u, userAgent: c, vendor: h, vendorSub: f });
                                }
                            },
                            [window.navigator]
                        ),
                        t
                    );
                };
                function Gr() {
                    Gr = function () {
                        return t;
                    };
                    var e,
                        t = {},
                        r = Object.prototype,
                        n = r.hasOwnProperty,
                        i =
                            Object.defineProperty ||
                            function (e, t, r) {
                                e[t] = r.value;
                            },
                        a = "function" == typeof Symbol ? Symbol : {},
                        o = a.iterator || "@@iterator",
                        l = a.asyncIterator || "@@asyncIterator",
                        s = a.toStringTag || "@@toStringTag";
                    function u(e, t, r) {
                        return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t];
                    }
                    try {
                        u({}, "");
                    } catch (e) {
                        u = function (e, t, r) {
                            return (e[t] = r);
                        };
                    }
                    function c(e, t, r, n) {
                        var a = t && t.prototype instanceof I ? t : I,
                            o = Object.create(a.prototype),
                            l = new B(n || []);
                        return i(o, "_invoke", { value: Q(e, r, l) }), o;
                    }
                    function h(e, t, r) {
                        try {
                            return { type: "normal", arg: e.call(t, r) };
                        } catch (e) {
                            return { type: "throw", arg: e };
                        }
                    }
                    t.wrap = c;
                    var f = "suspendedStart",
                        d = "suspendedYield",
                        g = "executing",
                        C = "completed",
                        p = {};
                    function I() {}
                    function m() {}
                    function v() {}
                    var E = {};
                    u(E, o, function () {
                        return this;
                    });
                    var y = Object.getPrototypeOf,
                        w = y && y(y(F([])));
                    w && w !== r && n.call(w, o) && (E = w);
                    var A = (v.prototype = I.prototype = Object.create(E));
                    function S(e) {
                        ["next", "throw", "return"].forEach(function (t) {
                            u(e, t, function (e) {
                                return this._invoke(t, e);
                            });
                        });
                    }
                    function b(e, t) {
                        function r(i, a, o, l) {
                            var s = h(e[i], e, a);
                            if ("throw" !== s.type) {
                                var u = s.arg,
                                    c = u.value;
                                return c && "object" == typeof c && n.call(c, "__await")
                                    ? t.resolve(c.__await).then(
                                          function (e) {
                                              r("next", e, o, l);
                                          },
                                          function (e) {
                                              r("throw", e, o, l);
                                          }
                                      )
                                    : t.resolve(c).then(
                                          function (e) {
                                              (u.value = e), o(u);
                                          },
                                          function (e) {
                                              return r("throw", e, o, l);
                                          }
                                      );
                            }
                            l(s.arg);
                        }
                        var a;
                        i(this, "_invoke", {
                            value: function (e, n) {
                                function i() {
                                    return new t(function (t, i) {
                                        r(e, n, t, i);
                                    });
                                }
                                return (a = a ? a.then(i, i) : i());
                            },
                        });
                    }
                    function Q(t, r, n) {
                        var i = f;
                        return function (a, o) {
                            if (i === g) throw new Error("Generator is already running");
                            if (i === C) {
                                if ("throw" === a) throw o;
                                return { value: e, done: !0 };
                            }
                            for (n.method = a, n.arg = o; ; ) {
                                var l = n.delegate;
                                if (l) {
                                    var s = k(l, n);
                                    if (s) {
                                        if (s === p) continue;
                                        return s;
                                    }
                                }
                                if ("next" === n.method) n.sent = n._sent = n.arg;
                                else if ("throw" === n.method) {
                                    if (i === f) throw ((i = C), n.arg);
                                    n.dispatchException(n.arg);
                                } else "return" === n.method && n.abrupt("return", n.arg);
                                i = g;
                                var u = h(t, r, n);
                                if ("normal" === u.type) {
                                    if (((i = n.done ? C : d), u.arg === p)) continue;
                                    return { value: u.arg, done: n.done };
                                }
                                "throw" === u.type && ((i = C), (n.method = "throw"), (n.arg = u.arg));
                            }
                        };
                    }
                    function k(t, r) {
                        var n = r.method,
                            i = t.iterator[n];
                        if (i === e)
                            return (
                                (r.delegate = null),
                                ("throw" === n && t.iterator.return && ((r.method = "return"), (r.arg = e), k(t, r), "throw" === r.method)) ||
                                    ("return" !== n && ((r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a '" + n + "' method")))),
                                p
                            );
                        var a = h(i, t.iterator, r.arg);
                        if ("throw" === a.type) return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), p;
                        var o = a.arg;
                        return o
                            ? o.done
                                ? ((r[t.resultName] = o.value), (r.next = t.nextLoc), "return" !== r.method && ((r.method = "next"), (r.arg = e)), (r.delegate = null), p)
                                : o
                            : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), p);
                    }
                    function x(e) {
                        var t = { tryLoc: e[0] };
                        1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t);
                    }
                    function O(e) {
                        var t = e.completion || {};
                        (t.type = "normal"), delete t.arg, (e.completion = t);
                    }
                    function B(e) {
                        (this.tryEntries = [{ tryLoc: "root" }]), e.forEach(x, this), this.reset(!0);
                    }
                    function F(t) {
                        if (t || "" === t) {
                            var r = t[o];
                            if (r) return r.call(t);
                            if ("function" == typeof t.next) return t;
                            if (!isNaN(t.length)) {
                                var i = -1,
                                    a = function r() {
                                        for (; ++i < t.length; ) if (n.call(t, i)) return (r.value = t[i]), (r.done = !1), r;
                                        return (r.value = e), (r.done = !0), r;
                                    };
                                return (a.next = a);
                            }
                        }
                        throw new TypeError(typeof t + " is not iterable");
                    }
                    return (
                        (m.prototype = v),
                        i(A, "constructor", { value: v, configurable: !0 }),
                        i(v, "constructor", { value: m, configurable: !0 }),
                        (m.displayName = u(v, s, "GeneratorFunction")),
                        (t.isGeneratorFunction = function (e) {
                            var t = "function" == typeof e && e.constructor;
                            return !!t && (t === m || "GeneratorFunction" === (t.displayName || t.name));
                        }),
                        (t.mark = function (e) {
                            return Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), u(e, s, "GeneratorFunction")), (e.prototype = Object.create(A)), e;
                        }),
                        (t.awrap = function (e) {
                            return { __await: e };
                        }),
                        S(b.prototype),
                        u(b.prototype, l, function () {
                            return this;
                        }),
                        (t.AsyncIterator = b),
                        (t.async = function (e, r, n, i, a) {
                            void 0 === a && (a = Promise);
                            var o = new b(c(e, r, n, i), a);
                            return t.isGeneratorFunction(r)
                                ? o
                                : o.next().then(function (e) {
                                      return e.done ? e.value : o.next();
                                  });
                        }),
                        S(A),
                        u(A, s, "Generator"),
                        u(A, o, function () {
                            return this;
                        }),
                        u(A, "toString", function () {
                            return "[object Generator]";
                        }),
                        (t.keys = function (e) {
                            var t = Object(e),
                                r = [];
                            for (var n in t) r.push(n);
                            return (
                                r.reverse(),
                                function e() {
                                    for (; r.length; ) {
                                        var n = r.pop();
                                        if (n in t) return (e.value = n), (e.done = !1), e;
                                    }
                                    return (e.done = !0), e;
                                }
                            );
                        }),
                        (t.values = F),
                        (B.prototype = {
                            constructor: B,
                            reset: function (t) {
                                if (((this.prev = 0), (this.next = 0), (this.sent = this._sent = e), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = e), this.tryEntries.forEach(O), !t))
                                    for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
                            },
                            stop: function () {
                                this.done = !0;
                                var e = this.tryEntries[0].completion;
                                if ("throw" === e.type) throw e.arg;
                                return this.rval;
                            },
                            dispatchException: function (t) {
                                if (this.done) throw t;
                                var r = this;
                                function i(n, i) {
                                    return (l.type = "throw"), (l.arg = t), (r.next = n), i && ((r.method = "next"), (r.arg = e)), !!i;
                                }
                                for (var a = this.tryEntries.length - 1; a >= 0; --a) {
                                    var o = this.tryEntries[a],
                                        l = o.completion;
                                    if ("root" === o.tryLoc) return i("end");
                                    if (o.tryLoc <= this.prev) {
                                        var s = n.call(o, "catchLoc"),
                                            u = n.call(o, "finallyLoc");
                                        if (s && u) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        } else if (s) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                        } else {
                                            if (!u) throw new Error("try statement without catch or finally");
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        }
                                    }
                                }
                            },
                            abrupt: function (e, t) {
                                for (var r = this.tryEntries.length - 1; r >= 0; --r) {
                                    var i = this.tryEntries[r];
                                    if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
                                        var a = i;
                                        break;
                                    }
                                }
                                a && ("break" === e || "continue" === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null);
                                var o = a ? a.completion : {};
                                return (o.type = e), (o.arg = t), a ? ((this.method = "next"), (this.next = a.finallyLoc), p) : this.complete(o);
                            },
                            complete: function (e, t) {
                                if ("throw" === e.type) throw e.arg;
                                return (
                                    "break" === e.type || "continue" === e.type
                                        ? (this.next = e.arg)
                                        : "return" === e.type
                                        ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
                                        : "normal" === e.type && t && (this.next = t),
                                    p
                                );
                            },
                            finish: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), O(r), p;
                                }
                            },
                            catch: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.tryLoc === e) {
                                        var n = r.completion;
                                        if ("throw" === n.type) {
                                            var i = n.arg;
                                            O(r);
                                        }
                                        return i;
                                    }
                                }
                                throw new Error("illegal catch attempt");
                            },
                            delegateYield: function (t, r, n) {
                                return (this.delegate = { iterator: F(t), resultName: r, nextLoc: n }), "next" === this.method && (this.arg = e), p;
                            },
                        }),
                        t
                    );
                }
                function Mr(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function Ur(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2
                            ? Mr(Object(r), !0).forEach(function (t) {
                                  Nr(e, t, r[t]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                            : Mr(Object(r)).forEach(function (t) {
                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                              });
                    }
                    return e;
                }
                function Nr(e, t, r) {
                    return (t = zr(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e;
                }
                function Vr(e, t, r, n, i, a, o) {
                    try {
                        var l = e[a](o),
                            s = l.value;
                    } catch (u) {
                        return void r(u);
                    }
                    l.done ? t(s) : Promise.resolve(s).then(n, i);
                }
                function Tr(e) {
                    return function () {
                        var t = this,
                            r = arguments;
                        return new Promise(function (n, i) {
                            var a = e.apply(t, r);
                            function o(e) {
                                Vr(a, n, i, o, l, "next", e);
                            }
                            function l(e) {
                                Vr(a, n, i, o, l, "throw", e);
                            }
                            o(void 0);
                        });
                    };
                }
                function Hr(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, zr(n.key), n);
                    }
                }
                function zr(e) {
                    var t = (function (e, t) {
                        if ("object" != typeof e || null === e) return e;
                        var r = e[Symbol.toPrimitive];
                        if (void 0 !== r) {
                            var n = r.call(e, t || "default");
                            if ("object" != typeof n) return n;
                            throw new TypeError("@@toPrimitive must return a primitive value.");
                        }
                        return ("string" === t ? String : Number)(e);
                    })(e, "string");
                    return "symbol" == typeof t ? t : String(t);
                }
                var Jr = (function () {
                        function e() {
                            !(function (e, t) {
                                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                            })(this, e),
                                (this.controller = null),
                                (this.headers = {});
                        }
                        var t, r, n, i, a, o, l;
                        return (
                            (t = e),
                            (r = [
                                {
                                    key: "abortLivenessRequest",
                                    value: function () {
                                        this.controller && (this.controller.abort(), (this.controller = null));
                                    },
                                },
                                {
                                    key: "provideHeaders",
                                    value: function (e) {
                                        e && (this.headers = e);
                                    },
                                },
                                {
                                    key: "getLivenessDetectionResult",
                                    value:
                                        ((l = Tr(
                                            Gr().mark(function e(t, r) {
                                                var n, i, a, o, l, s, u, c;
                                                return Gr().wrap(
                                                    function (e) {
                                                        for (;;)
                                                            switch ((e.prev = e.next)) {
                                                                case 0:
                                                                    return (
                                                                        (n = r.transactionId),
                                                                        (i = r.backendURL),
                                                                        (a = void 0 === i ? N : i),
                                                                        (o = r.publicKey),
                                                                        (this.controller = new AbortController()),
                                                                        (l = this.controller.signal),
                                                                        (s = "".concat(a, "/api/v2/liveness?transactionId=").concat(n)),
                                                                        (u = { method: "POST", body: t, headers: Ur(Ur({}, this.headers), {}, { "X-CLIENT-KEY": o }), signal: l }),
                                                                        (e.next = 7),
                                                                        fetch(s, u)
                                                                    );
                                                                case 7:
                                                                    return (c = e.sent), (e.next = 10), c.json();
                                                                case 10:
                                                                    return e.abrupt("return", e.sent);
                                                                case 11:
                                                                case "end":
                                                                    return e.stop();
                                                            }
                                                    },
                                                    e,
                                                    this
                                                );
                                            })
                                        )),
                                        function (e, t) {
                                            return l.apply(this, arguments);
                                        }),
                                },
                                {
                                    key: "sendLivenessAbortedResult",
                                    value:
                                        ((o = Tr(
                                            Gr().mark(function e(t, r) {
                                                var n, i, a, o, l, s;
                                                return Gr().wrap(
                                                    function (e) {
                                                        for (;;)
                                                            switch ((e.prev = e.next)) {
                                                                case 0:
                                                                    return (
                                                                        (n = r.transactionId),
                                                                        (i = r.backendURL),
                                                                        (a = void 0 === i ? N : i),
                                                                        (o = r.publicKey),
                                                                        (l = "".concat(a, "/api/v2/liveness?transactionId=").concat(n)),
                                                                        (s = { method: "POST", body: t, headers: Ur(Ur({}, this.headers), {}, { "X-CLIENT-KEY": o }) }),
                                                                        (e.next = 5),
                                                                        fetch(l, s)
                                                                    );
                                                                case 5:
                                                                case "end":
                                                                    return e.stop();
                                                            }
                                                    },
                                                    e,
                                                    this
                                                );
                                            })
                                        )),
                                        function (e, t) {
                                            return o.apply(this, arguments);
                                        }),
                                },
                                {
                                    key: "sendVideoData",
                                    value:
                                        ((a = Tr(
                                            Gr().mark(function e(t, r) {
                                                var n,
                                                    i,
                                                    a,
                                                    o = arguments;
                                                return Gr().wrap(
                                                    function (e) {
                                                        for (;;)
                                                            switch ((e.prev = e.next)) {
                                                                case 0:
                                                                    return (
                                                                        (n = o.length > 3 ? o[3] : void 0),
                                                                        (i = ""
                                                                            .concat(o.length > 2 && void 0 !== o[2] ? o[2] : N, "/api/v2/liveness/video?transactionId=")
                                                                            .concat(r, "&tag=")
                                                                            .concat(n)),
                                                                        (a = { method: "POST", body: t, headers: Ur({}, this.headers) }),
                                                                        (e.next = 6),
                                                                        fetch(i, a)
                                                                    );
                                                                case 6:
                                                                case "end":
                                                                    return e.stop();
                                                            }
                                                    },
                                                    e,
                                                    this
                                                );
                                            })
                                        )),
                                        function (e, t) {
                                            return a.apply(this, arguments);
                                        }),
                                },
                                {
                                    key: "getInitialisingData",
                                    value:
                                        ((i = Tr(
                                            Gr().mark(function e(t, r) {
                                                var n,
                                                    i,
                                                    a,
                                                    o,
                                                    l = arguments;
                                                return Gr().wrap(
                                                    function (e) {
                                                        for (;;)
                                                            switch ((e.prev = e.next)) {
                                                                case 0:
                                                                    return (
                                                                        (n = l.length > 3 && void 0 !== l[3] ? l[3] : 0),
                                                                        (i = "".concat(l.length > 2 && void 0 !== l[2] ? l[2] : N, "/api/v2/liveness/start")),
                                                                        (a = { method: "POST", body: JSON.stringify({ type: n, tag: r, metadata: Ur({}, t) }), headers: Ur(Ur({}, this.headers), {}, { "Content-Type": "application/json" }) }),
                                                                        (e.next = 6),
                                                                        fetch(i, a)
                                                                    );
                                                                case 6:
                                                                    return (o = e.sent), (e.next = 9), o.json();
                                                                case 9:
                                                                    return e.abrupt("return", e.sent);
                                                                case 10:
                                                                case "end":
                                                                    return e.stop();
                                                            }
                                                    },
                                                    e,
                                                    this
                                                );
                                            })
                                        )),
                                        function (e, t) {
                                            return i.apply(this, arguments);
                                        }),
                                },
                            ]),
                            r && Hr(t.prototype, r),
                            n && Hr(t, n),
                            Object.defineProperty(t, "prototype", { writable: !1 }),
                            e
                        );
                    })(),
                    Zr = new Jr();
                function qr() {
                    qr = function () {
                        return t;
                    };
                    var e,
                        t = {},
                        r = Object.prototype,
                        n = r.hasOwnProperty,
                        i =
                            Object.defineProperty ||
                            function (e, t, r) {
                                e[t] = r.value;
                            },
                        a = "function" == typeof Symbol ? Symbol : {},
                        o = a.iterator || "@@iterator",
                        l = a.asyncIterator || "@@asyncIterator",
                        s = a.toStringTag || "@@toStringTag";
                    function u(e, t, r) {
                        return Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }), e[t];
                    }
                    try {
                        u({}, "");
                    } catch (e) {
                        u = function (e, t, r) {
                            return (e[t] = r);
                        };
                    }
                    function c(e, t, r, n) {
                        var a = t && t.prototype instanceof I ? t : I,
                            o = Object.create(a.prototype),
                            l = new B(n || []);
                        return i(o, "_invoke", { value: Q(e, r, l) }), o;
                    }
                    function h(e, t, r) {
                        try {
                            return { type: "normal", arg: e.call(t, r) };
                        } catch (e) {
                            return { type: "throw", arg: e };
                        }
                    }
                    t.wrap = c;
                    var f = "suspendedStart",
                        d = "suspendedYield",
                        g = "executing",
                        C = "completed",
                        p = {};
                    function I() {}
                    function m() {}
                    function v() {}
                    var E = {};
                    u(E, o, function () {
                        return this;
                    });
                    var y = Object.getPrototypeOf,
                        w = y && y(y(F([])));
                    w && w !== r && n.call(w, o) && (E = w);
                    var A = (v.prototype = I.prototype = Object.create(E));
                    function S(e) {
                        ["next", "throw", "return"].forEach(function (t) {
                            u(e, t, function (e) {
                                return this._invoke(t, e);
                            });
                        });
                    }
                    function b(e, t) {
                        function r(i, a, o, l) {
                            var s = h(e[i], e, a);
                            if ("throw" !== s.type) {
                                var u = s.arg,
                                    c = u.value;
                                return c && "object" == typeof c && n.call(c, "__await")
                                    ? t.resolve(c.__await).then(
                                          function (e) {
                                              r("next", e, o, l);
                                          },
                                          function (e) {
                                              r("throw", e, o, l);
                                          }
                                      )
                                    : t.resolve(c).then(
                                          function (e) {
                                              (u.value = e), o(u);
                                          },
                                          function (e) {
                                              return r("throw", e, o, l);
                                          }
                                      );
                            }
                            l(s.arg);
                        }
                        var a;
                        i(this, "_invoke", {
                            value: function (e, n) {
                                function i() {
                                    return new t(function (t, i) {
                                        r(e, n, t, i);
                                    });
                                }
                                return (a = a ? a.then(i, i) : i());
                            },
                        });
                    }
                    function Q(t, r, n) {
                        var i = f;
                        return function (a, o) {
                            if (i === g) throw new Error("Generator is already running");
                            if (i === C) {
                                if ("throw" === a) throw o;
                                return { value: e, done: !0 };
                            }
                            for (n.method = a, n.arg = o; ; ) {
                                var l = n.delegate;
                                if (l) {
                                    var s = k(l, n);
                                    if (s) {
                                        if (s === p) continue;
                                        return s;
                                    }
                                }
                                if ("next" === n.method) n.sent = n._sent = n.arg;
                                else if ("throw" === n.method) {
                                    if (i === f) throw ((i = C), n.arg);
                                    n.dispatchException(n.arg);
                                } else "return" === n.method && n.abrupt("return", n.arg);
                                i = g;
                                var u = h(t, r, n);
                                if ("normal" === u.type) {
                                    if (((i = n.done ? C : d), u.arg === p)) continue;
                                    return { value: u.arg, done: n.done };
                                }
                                "throw" === u.type && ((i = C), (n.method = "throw"), (n.arg = u.arg));
                            }
                        };
                    }
                    function k(t, r) {
                        var n = r.method,
                            i = t.iterator[n];
                        if (i === e)
                            return (
                                (r.delegate = null),
                                ("throw" === n && t.iterator.return && ((r.method = "return"), (r.arg = e), k(t, r), "throw" === r.method)) ||
                                    ("return" !== n && ((r.method = "throw"), (r.arg = new TypeError("The iterator does not provide a '" + n + "' method")))),
                                p
                            );
                        var a = h(i, t.iterator, r.arg);
                        if ("throw" === a.type) return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), p;
                        var o = a.arg;
                        return o
                            ? o.done
                                ? ((r[t.resultName] = o.value), (r.next = t.nextLoc), "return" !== r.method && ((r.method = "next"), (r.arg = e)), (r.delegate = null), p)
                                : o
                            : ((r.method = "throw"), (r.arg = new TypeError("iterator result is not an object")), (r.delegate = null), p);
                    }
                    function x(e) {
                        var t = { tryLoc: e[0] };
                        1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t);
                    }
                    function O(e) {
                        var t = e.completion || {};
                        (t.type = "normal"), delete t.arg, (e.completion = t);
                    }
                    function B(e) {
                        (this.tryEntries = [{ tryLoc: "root" }]), e.forEach(x, this), this.reset(!0);
                    }
                    function F(t) {
                        if (t || "" === t) {
                            var r = t[o];
                            if (r) return r.call(t);
                            if ("function" == typeof t.next) return t;
                            if (!isNaN(t.length)) {
                                var i = -1,
                                    a = function r() {
                                        for (; ++i < t.length; ) if (n.call(t, i)) return (r.value = t[i]), (r.done = !1), r;
                                        return (r.value = e), (r.done = !0), r;
                                    };
                                return (a.next = a);
                            }
                        }
                        throw new TypeError(typeof t + " is not iterable");
                    }
                    return (
                        (m.prototype = v),
                        i(A, "constructor", { value: v, configurable: !0 }),
                        i(v, "constructor", { value: m, configurable: !0 }),
                        (m.displayName = u(v, s, "GeneratorFunction")),
                        (t.isGeneratorFunction = function (e) {
                            var t = "function" == typeof e && e.constructor;
                            return !!t && (t === m || "GeneratorFunction" === (t.displayName || t.name));
                        }),
                        (t.mark = function (e) {
                            return Object.setPrototypeOf ? Object.setPrototypeOf(e, v) : ((e.__proto__ = v), u(e, s, "GeneratorFunction")), (e.prototype = Object.create(A)), e;
                        }),
                        (t.awrap = function (e) {
                            return { __await: e };
                        }),
                        S(b.prototype),
                        u(b.prototype, l, function () {
                            return this;
                        }),
                        (t.AsyncIterator = b),
                        (t.async = function (e, r, n, i, a) {
                            void 0 === a && (a = Promise);
                            var o = new b(c(e, r, n, i), a);
                            return t.isGeneratorFunction(r)
                                ? o
                                : o.next().then(function (e) {
                                      return e.done ? e.value : o.next();
                                  });
                        }),
                        S(A),
                        u(A, s, "Generator"),
                        u(A, o, function () {
                            return this;
                        }),
                        u(A, "toString", function () {
                            return "[object Generator]";
                        }),
                        (t.keys = function (e) {
                            var t = Object(e),
                                r = [];
                            for (var n in t) r.push(n);
                            return (
                                r.reverse(),
                                function e() {
                                    for (; r.length; ) {
                                        var n = r.pop();
                                        if (n in t) return (e.value = n), (e.done = !1), e;
                                    }
                                    return (e.done = !0), e;
                                }
                            );
                        }),
                        (t.values = F),
                        (B.prototype = {
                            constructor: B,
                            reset: function (t) {
                                if (((this.prev = 0), (this.next = 0), (this.sent = this._sent = e), (this.done = !1), (this.delegate = null), (this.method = "next"), (this.arg = e), this.tryEntries.forEach(O), !t))
                                    for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = e);
                            },
                            stop: function () {
                                this.done = !0;
                                var e = this.tryEntries[0].completion;
                                if ("throw" === e.type) throw e.arg;
                                return this.rval;
                            },
                            dispatchException: function (t) {
                                if (this.done) throw t;
                                var r = this;
                                function i(n, i) {
                                    return (l.type = "throw"), (l.arg = t), (r.next = n), i && ((r.method = "next"), (r.arg = e)), !!i;
                                }
                                for (var a = this.tryEntries.length - 1; a >= 0; --a) {
                                    var o = this.tryEntries[a],
                                        l = o.completion;
                                    if ("root" === o.tryLoc) return i("end");
                                    if (o.tryLoc <= this.prev) {
                                        var s = n.call(o, "catchLoc"),
                                            u = n.call(o, "finallyLoc");
                                        if (s && u) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        } else if (s) {
                                            if (this.prev < o.catchLoc) return i(o.catchLoc, !0);
                                        } else {
                                            if (!u) throw new Error("try statement without catch or finally");
                                            if (this.prev < o.finallyLoc) return i(o.finallyLoc);
                                        }
                                    }
                                }
                            },
                            abrupt: function (e, t) {
                                for (var r = this.tryEntries.length - 1; r >= 0; --r) {
                                    var i = this.tryEntries[r];
                                    if (i.tryLoc <= this.prev && n.call(i, "finallyLoc") && this.prev < i.finallyLoc) {
                                        var a = i;
                                        break;
                                    }
                                }
                                a && ("break" === e || "continue" === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null);
                                var o = a ? a.completion : {};
                                return (o.type = e), (o.arg = t), a ? ((this.method = "next"), (this.next = a.finallyLoc), p) : this.complete(o);
                            },
                            complete: function (e, t) {
                                if ("throw" === e.type) throw e.arg;
                                return (
                                    "break" === e.type || "continue" === e.type
                                        ? (this.next = e.arg)
                                        : "return" === e.type
                                        ? ((this.rval = this.arg = e.arg), (this.method = "return"), (this.next = "end"))
                                        : "normal" === e.type && t && (this.next = t),
                                    p
                                );
                            },
                            finish: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.finallyLoc === e) return this.complete(r.completion, r.afterLoc), O(r), p;
                                }
                            },
                            catch: function (e) {
                                for (var t = this.tryEntries.length - 1; t >= 0; --t) {
                                    var r = this.tryEntries[t];
                                    if (r.tryLoc === e) {
                                        var n = r.completion;
                                        if ("throw" === n.type) {
                                            var i = n.arg;
                                            O(r);
                                        }
                                        return i;
                                    }
                                }
                                throw new Error("illegal catch attempt");
                            },
                            delegateYield: function (t, r, n) {
                                return (this.delegate = { iterator: F(t), resultName: r, nextLoc: n }), "next" === this.method && (this.arg = e), p;
                            },
                        }),
                        t
                    );
                }
                function Xr(e, t, r, n, i, a, o) {
                    try {
                        var l = e[a](o),
                            s = l.value;
                    } catch (u) {
                        return void r(u);
                    }
                    l.done ? t(s) : Promise.resolve(s).then(n, i);
                }
                function _r(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, $r(n.key), n);
                    }
                }
                function $r(e) {
                    var t = (function (e, t) {
                        if ("object" != typeof e || null === e) return e;
                        var r = e[Symbol.toPrimitive];
                        if (void 0 !== r) {
                            var n = r.call(e, t || "default");
                            if ("object" != typeof n) return n;
                            throw new TypeError("@@toPrimitive must return a primitive value.");
                        }
                        return ("string" === t ? String : Number)(e);
                    })(e, "string");
                    return "symbol" == typeof t ? t : String(t);
                }
                var en = W.create("main"),
                    tn = (function () {
                        function e() {
                            var t, r, n;
                            !(function (e, t) {
                                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                            })(this, e),
                                (t = this),
                                (r = "setAngleLink"),
                                (n = this.setAngle.bind(this)),
                                (r = $r(r)) in t ? Object.defineProperty(t, r, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : (t[r] = n),
                                (this.debugPlate = !1),
                                (this.angles = null),
                                (this.initialized = !1);
                        }
                        var t, r, n;
                        return (
                            (t = e),
                            (r = [
                                {
                                    key: "setAngle",
                                    value: function (e) {
                                        if (((this.angles = { alpha: e.alpha, beta: e.beta, gamma: e.gamma }), this.debugPlate)) {
                                            var t = document.querySelector(".angle-debug-plate");
                                            if (!t) return;
                                            if (!e.alpha || !e.beta || !e.gamma) return;
                                            t.innerHTML = "Roll:: " + Math.floor(e.alpha) + "<br/> Pitch:: " + Math.floor(e.beta) + "<br/> YAW:: " + Math.floor(e.gamma);
                                        }
                                    },
                                },
                                {
                                    key: "setListeners",
                                    value: function () {
                                        var e,
                                            t = this;
                                        window.DeviceOrientationEvent && "function" == typeof window.DeviceOrientationEvent.requestPermission
                                            ? ((e = qr().mark(function e() {
                                                  return qr().wrap(function (e) {
                                                      for (;;)
                                                          switch ((e.prev = e.next)) {
                                                              case 0:
                                                                  return (
                                                                      (e.next = 2),
                                                                      window.DeviceOrientationEvent.requestPermission()
                                                                          .then(function (e) {
                                                                              "granted" === e && ((t.initialized = !0), window.addEventListener("deviceorientation", t.setAngleLink)),
                                                                                  "denied" === e && en("Device orientation service permission denied");
                                                                          })
                                                                          .catch(function (e) {
                                                                              if (((t.initialized = !1), t.debugPlate)) {
                                                                                  var r = document.querySelector(".angle-debug-plate");
                                                                                  if (!r) return;
                                                                                  r.innerHTML = "Err. Permission denied";
                                                                              }
                                                                              en("Device orientation service error: ".concat(e));
                                                                          })
                                                                  );
                                                              case 2:
                                                              case "end":
                                                                  return e.stop();
                                                          }
                                                  }, e);
                                              })),
                                              function () {
                                                  var t = this,
                                                      r = arguments;
                                                  return new Promise(function (n, i) {
                                                      var a = e.apply(t, r);
                                                      function o(e) {
                                                          Xr(a, n, i, o, l, "next", e);
                                                      }
                                                      function l(e) {
                                                          Xr(a, n, i, o, l, "throw", e);
                                                      }
                                                      o(void 0);
                                                  });
                                              })()
                                            : ((this.initialized = !0), window.addEventListener("deviceorientation", this.setAngleLink));
                                    },
                                },
                                {
                                    key: "init",
                                    value: function (e) {
                                        if (e) {
                                            var t;
                                            if (((this.debugPlate = !0), document.querySelector(".angle-debug-plate"))) return;
                                            var r = document.createElement("div");
                                            r.setAttribute("class", "angle-debug-plate"),
                                                r.setAttribute(
                                                    "style",
                                                    "position: fixed; top: 30px;left: 20px; box-shadow: 0 0 5px rgba(0,0,0,0.2); border-radius: 5px; background: transparent; height: 50px; width: 100px;z-index: 9999;overflow: hidden; padding: 5px; font-size: 12px;"
                                                ),
                                                null === (t = document.querySelector("body")) || void 0 === t || t.append(r);
                                        }
                                        this.setListeners();
                                    },
                                },
                                {
                                    key: "getAngle",
                                    value: function () {
                                        return this.angles;
                                    },
                                },
                                {
                                    key: "shutdown",
                                    value: function () {
                                        if ((window.removeEventListener("deviceorientation", this.setAngleLink), (this.initialized = !1), this.debugPlate)) {
                                            var e = document.querySelector(".angle-debug-plate");
                                            if (!e) return;
                                            e.remove();
                                        }
                                    },
                                },
                            ]),
                            r && _r(t.prototype, r),
                            n && _r(t, n),
                            Object.defineProperty(t, "prototype", { writable: !1 }),
                            e
                        );
                    })(),
                    rn = new tn();
                function nn(e) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return cn(e);
                        })(e) ||
                        (function (e) {
                            if (("undefined" != typeof Symbol && null != e[Symbol.iterator]) || null != e["@@iterator"]) return Array.from(e);
                        })(e) ||
                        un(e) ||
                        (function () {
                            throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function an(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function on(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2
                            ? an(Object(r), !0).forEach(function (t) {
                                  ln(e, t, r[t]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                            : an(Object(r)).forEach(function (t) {
                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                              });
                    }
                    return e;
                }
                function ln(e, t, r) {
                    return (
                        (t = (function (e) {
                            var t = (function (e, t) {
                                if ("object" != typeof e || null === e) return e;
                                var r = e[Symbol.toPrimitive];
                                if (void 0 !== r) {
                                    var n = r.call(e, t || "default");
                                    if ("object" != typeof n) return n;
                                    throw new TypeError("@@toPrimitive must return a primitive value.");
                                }
                                return ("string" === t ? String : Number)(e);
                            })(e, "string");
                            return "symbol" == typeof t ? t : String(t);
                        })(t)) in e
                            ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 })
                            : (e[t] = r),
                        e
                    );
                }
                function sn(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        un(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function un(e, t) {
                    if (e) {
                        if ("string" == typeof e) return cn(e, t);
                        var r = Object.prototype.toString.call(e).slice(8, -1);
                        return "Object" === r && e.constructor && (r = e.constructor.name), "Map" === r || "Set" === r ? Array.from(e) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? cn(e, t) : void 0;
                    }
                }
                function cn(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                var hn = W.create("main"),
                    fn = function (e) {
                        return 1e3 * e;
                    },
                    dn = function (e) {
                        return e === K.Finished || e === K.Stop_Session || e === K.Timeout;
                    };
                var gn = function (e, t) {
                    var r = Pr(),
                        n = (0, C.useMemo)(function () {
                            return new Yr();
                        }, []),
                        a = sn((0, C.useState)(""), 2),
                        o = a[0],
                        l = a[1],
                        s = sn((0, C.useState)(!1), 2),
                        u = s[0],
                        c = s[1],
                        h = sn(
                            (0, C.useState)({
                                initialized: !1,
                                numSectors: 0,
                                step: 0,
                                message: Y.Empty,
                                prepared: !1,
                                processingStage: D.Far,
                                status: K.InProcess,
                                request: null,
                                requestSize: null,
                                debugOutput: null,
                                images: [],
                                ovals: [],
                                targetSector: void 0,
                                currSector: 0,
                                readiness: 0,
                                publicKey: null,
                                error: null,
                                facePosition: { width: 0, height: 0, x: 0, y: 0 },
                            }),
                            2
                        ),
                        f = h[0],
                        d = h[1],
                        g = function (e) {
                            var t = e.data,
                                r = e.initialized,
                                n = e.prepared;
                            (null == t ? void 0 : t.status) === K.InProcess && c(!1),
                                d(function (e) {
                                    return on(on(on({}, e), {}, { initialized: r, prepared: n }, t), {}, { request: dn(null == t ? void 0 : t.status) || null == t || !t.request ? null : t.request });
                                }),
                                hn("Worker response");
                        };
                    return (
                        (0, C.useEffect)(
                            function () {
                                if (dn(f.status)) {
                                    if (!e.recordService) return n.finalizePackage();
                                    (e.recordService.outputType = oe.UINT),
                                        (e.recordService.debug = !!e.debug),
                                        e.recordService.getRecord().then(function (t) {
                                            if (t instanceof Uint8Array) {
                                                if (e.recordingProcess === P.SYNCHRONOUS_UPLOAD) {
                                                    var r = { dataName: "processingVideo", sizeBytes: t.length };
                                                    n.addDataToPackage(t, r);
                                                }
                                                if (e.recordingProcess === P.ASYNCHRONOUS_UPLOAD) {
                                                    var i = ((a = f.status), (l = q.default), a === K.Timeout && (l = q.timeout), a === K.Stop_Session && (l = q.aborted), l);
                                                    Zr.sendVideoData(t, o, e.url, i);
                                                }
                                            }
                                            var a, l;
                                            n.finalizePackage();
                                        });
                                }
                            },
                            [f.status, e.recordService]
                        ),
                        (0, C.useEffect)(
                            function () {
                                if (!f.initialized && f.prepared && e.videoElementParams.videoParams.width && e.videoElementParams.videoParams.height && e.videoStatusParams.sortedDevices && r)
                                    if (e.faceSnapshot) {
                                        var a = (e.holdStillDuration && fn(e.holdStillDuration)) || 1500,
                                            o = {
                                                rotationAngle: e.rotationAngle,
                                                scenario: 1,
                                                frameWidth: e.videoElementParams.videoParams.width,
                                                frameHeight: e.videoElementParams.videoParams.height,
                                                debugOutput: e.debug,
                                                numChannels: 3,
                                                holdStillNormalTimeoutMs: a,
                                                minHoldStillFraction: 2,
                                                messageQueueSize: 1,
                                            };
                                        e.timeoutInterval && (o.normalTimeoutMs = fn(e.timeoutInterval));
                                        var s = {
                                            config: o,
                                            metadata: { hostAppId: e.url || N, sdkVersion: "6.1".trim(), deviceModel: "".concat(i.BF, "/").concat(i.MM, " ").concat(i.KC, "/").concat(i.o3), camera: e.videoStatusParams.camera },
                                        };
                                        n.initialize({ initializedData: s }), t({ action: G.SERVICE_INITIALIZED, data: null }), hn("Service initialized");
                                    } else {
                                        var u = (function (e) {
                                                var t;
                                                try {
                                                    var r;
                                                    (t = null !== (r = window.localStorage.getItem(e)) && void 0 !== r ? r : Te()), window.localStorage.setItem(e, t);
                                                } catch (n) {
                                                    t = Te();
                                                }
                                                return t;
                                            })("rgl-uid"),
                                            c = [].concat(nn(e.videoStatusParams.sortedDevices.frontCameras), nn(e.videoStatusParams.sortedDevices.backCameras)).map(function (e) {
                                                var t = e.facing === ue.user ? "front" : "back";
                                                return { cameraID: e.deviceId, label: e.label, groupId: e.groupId, facing: t };
                                            }),
                                            h = {
                                                platform: "Web",
                                                osVersion: "".concat(i.MM),
                                                sdkVersion: "6.1".trim(),
                                                hostAppId: e.url || N,
                                                userID: u,
                                                deviceModel: "".concat(i.BF, "/").concat(i.MM, " ").concat(i.KC, "/").concat(i.o3),
                                                hostAppVersion: "".concat(i.KC, "/").concat(i.o3),
                                                currentCameraInfo: { cameraID: e.videoStatusParams.camera.deviceId },
                                                cameraState: c,
                                            };
                                        Zr.getInitialisingData(h, e.tag, e.url, e.livenessType)
                                            .then(function (r) {
                                                var i = on(
                                                    on({}, r),
                                                    {},
                                                    {
                                                        tag: r.tag || r.sessionId,
                                                        metadata: on(on({}, r.metadata), h),
                                                        config: on(
                                                            on({}, r.config),
                                                            {},
                                                            {
                                                                rotationAngle: e.rotationAngle,
                                                                scenario: e.livenessType === X.PASSIVE ? _.FACE_PASSIVE_LIVENESS : _.FACE_LIVENESS,
                                                                frameWidth: e.videoElementParams.videoParams.width,
                                                                frameHeight: e.videoElementParams.videoParams.height,
                                                                numChannels: 3,
                                                                debugOutput: e.debug,
                                                            }
                                                        ),
                                                    }
                                                );
                                                n.initialize({ initializedData: i }),
                                                    t({ action: G.SERVICE_INITIALIZED, data: null }),
                                                    hn("Service initialized"),
                                                    e.setTransactionId(i.transactionId),
                                                    l(i.transactionId),
                                                    e.tag || e.setTag(i.tag);
                                            })
                                            .catch(function (e) {
                                                n.shutdown(),
                                                    d(function (t) {
                                                        return on(on({}, t), {}, { error: new vt(R.UNKNOWN_ERROR, "initialized request failed with: ".concat(e)) });
                                                    });
                                            });
                                    }
                                !f.prepared &&
                                    r &&
                                    g &&
                                    n.prepare(g).then(function () {
                                        hn("Service prepared");
                                    });
                            },
                            [f.prepared, f.initialized, e.videoElementParams.videoParams.width, e.videoElementParams.videoParams.height, e.videoStatusParams.sortedDevices, e.videoStatusParams.camera, e.debug, e.url, r]
                        ),
                        (0, C.useLayoutEffect)(
                            function () {
                                var t = e.videoStatusParams.videoStatus === se.PLAY;
                                if (e.videoElementParams.videoElement && !u && f.initialized && t) {
                                    c(!0), hn("Image processing started");
                                    var r = {};
                                    if (i.tq && rn.initialized) {
                                        var a = rn.getAngle();
                                        r = { deviceOrientation: { yaw: null == a ? void 0 : a.gamma, pitch: null == a ? void 0 : a.beta, roll: null == a ? void 0 : a.alpha } };
                                    }
                                    e.abortProcess && (r = on(on({}, r), {}, { abortSession: !0 }));
                                    var o = (function (e, t) {
                                            var r = { imageData: [], raw: "", mimeType: "" },
                                                n = e.videoHeight,
                                                i = e.videoWidth,
                                                a = e.readyState;
                                            if (n && i && a === fe.HAVE_ENOUGH_DATA) {
                                                var o = document.createElement("canvas");
                                                (o.width = i), (o.height = n);
                                                var l = o.getContext("2d", { willReadFrequently: !0 });
                                                if ((null == l || l.drawImage(e, 0, 0), t !== ae.UINT)) {
                                                    var s = "image/jpeg";
                                                    (r.raw = o.toDataURL(s, 0.8).replace("data:".concat(s, ";base64,"), "")), (r.mimeType = s);
                                                }
                                                if (t !== ae.BASE64) {
                                                    var u = null == l ? void 0 : l.getImageData(0, 0, i, n);
                                                    u && (r.imageData = [u]);
                                                }
                                            }
                                            return r;
                                        })(e.videoElementParams.videoElement, ae.UINT),
                                        l = o.imageData;
                                    n.processImage(l[0].data, r);
                                }
                            },
                            [f.initialized, e.videoElementParams.videoElement, u, e.videoStatusParams.videoStatus, e.abortProcess]
                        ),
                        (0, C.useEffect)(function () {
                            return function () {
                                n.shutdown();
                            };
                        }, []),
                        f
                    );
                };
                var Cn = function (e, t) {
                    (0, C.useEffect)(
                        function () {
                            function r() {
                                t && t();
                            }
                            if (e === se.PLAY)
                                return (
                                    window.addEventListener("visibilitychange", r),
                                    function () {
                                        window.removeEventListener("visibilitychange", r);
                                    }
                                );
                        },
                        [e]
                    );
                };
                function pn(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return In(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return In(e, t);
                        })(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function In(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                var mn = function () {
                        var e = Be(),
                            t = e.onEvent,
                            r = e.url,
                            n = e.debug,
                            a = e.tag,
                            l = e.changeCamera,
                            s = void 0 === l || l,
                            u = e.setTag,
                            c = e.cameraId,
                            h = e.setUserCameraId,
                            f = e.abortProcess,
                            d = e.abortSessionStatus,
                            g = e.setAbortSessionStatus,
                            p = e.setAbortProcess,
                            I = e.setImages,
                            m = e.setPublicKey,
                            v = e.setTransactionId,
                            E = e.faceSnapshot,
                            y = e.setCompletionStatus,
                            w = e.setRequest,
                            A = e.onError,
                            S = e.rotationAngle,
                            b = e.recordingProcess,
                            Q = e.livenessType,
                            k = e.holdStillDuration,
                            x = e.timeoutInterval,
                            O = b !== P.NOT_UPLOAD,
                            B = (0, C.useRef)(null),
                            F = pn((0, C.useState)(null), 2),
                            L = F[0],
                            j = F[1],
                            W = pn((0, C.useState)({ videoElement: null, videoParams: { width: 0, height: 0 }, videoContainerParams: { width: 0, height: 0 } }), 2),
                            N = W[0],
                            V = W[1],
                            T = pn((0, C.useState)({ width: 0, height: 0, left: 0, top: 0 }), 2),
                            H = T[0],
                            z = T[1],
                            J = pn((0, C.useState)({ videoStatus: se.PREPARING, camera: { deviceId: "", facing: void 0, groupId: "", label: "" }, sortedDevices: null }), 2),
                            Z = J[0],
                            q = J[1],
                            X = pn((0, C.useState)({ x: 0, y: 0, width: 0, height: 0 }), 2),
                            _ = X[0],
                            $ = X[1],
                            ee = gn(
                                {
                                    videoStatusParams: Z,
                                    videoElementParams: N,
                                    tag: a,
                                    setTag: u,
                                    setTransactionId: v,
                                    url: r,
                                    debug: n,
                                    faceSnapshot: E,
                                    abortProcess: f,
                                    recordingProcess: b,
                                    rotationAngle: i.nI ? S : void 0,
                                    livenessType: Q,
                                    recordService: L,
                                    holdStillDuration: k,
                                    timeoutInterval: x,
                                },
                                t
                            ),
                            te = ee.message,
                            re = ee.status,
                            ne = ee.processingStage,
                            ie = ee.request,
                            ae = ee.debugOutput,
                            oe = ee.prepared,
                            he = ee.initialized,
                            fe = ee.images,
                            de = ee.error,
                            ge = ee.ovals,
                            Ce = ee.step,
                            Ie = ee.currSector,
                            me = ee.targetSector,
                            ve = ee.numSectors,
                            Ee = ee.readiness,
                            ye = ee.publicKey,
                            we = ee.facePosition,
                            Ae = Z.camera.facing === ue.user ? Ar.Z.locals["mirror-x"] : "",
                            Se = (0, C.useCallback)(
                                function () {
                                    p(!0), g(M.CHANGE_CAMERA), t({ action: G.PROCESS_FINISHED, data: { status: le.ERROR, reason: R.CHANGE_CAMERA } });
                                },
                                [Z.camera]
                            ),
                            be = (0, C.useCallback)(function (e) {
                                t({ action: G.PROCESS_FINISHED, data: { status: le.ERROR, reason: e } });
                            }, []);
                        return (
                            (0, C.useEffect)(
                                function () {
                                    var e, t, r, n;
                                    if (xt(re, E, f, !1, !1) === U.ABORT_PROCESSING && d === M.CHANGE_CAMERA) {
                                        if (!Z.sortedDevices) return;
                                        var i =
                                            ((e = Z.sortedDevices),
                                            (t = Z.camera.deviceId),
                                            (r = [].concat(Je(e.frontCameras), Je(e.backCameras))),
                                            (n = r.findIndex(function (e) {
                                                return e.deviceId === t;
                                            })),
                                            r[(n + 1) % r.length].deviceId);
                                        i && h(i);
                                    }
                                },
                                [re, ne, E, d]
                            ),
                            Cn(Z.videoStatus, function () {
                                document.hidden && (p(!0), g(M.APP_INACTIVE), t({ action: G.PROCESS_FINISHED, data: { status: le.ERROR, reason: R.APP_INACTIVE } }));
                            }),
                            (0, C.useEffect)(
                                function () {
                                    var e = { [se.PERMISSION_DENIED]: U.PERMISSION_DENIED_ERROR, [se.UNKNOWN_ERROR]: U.UNKNOWN_ERROR, [se.NO_CAMERA]: U.NO_CAMERA_ERROR, [se.INCORRECT_CAMERA_ID]: U.INCORRECT_CAMERA_ID_ERROR }[Z.videoStatus];
                                    e && y(e);
                                },
                                [Z.videoStatus]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    ye && !E && m(ye);
                                },
                                [ye]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    if (!de) {
                                        re === K.Timeout && (t({ action: G.PROCESS_FINISHED, data: { status: le.ERROR, reason: R.TIMEOUT_ERROR } }), E || g(M.SESSION_TIMEOUT));
                                        var e = xt(re, E, f, !(null == fe || !fe.length), !!ie);
                                        y(e), N.videoElement && (e === U.SUCCESS && I(fe), E || (e === U.PROCESSING_REQUEST && (p(!1), I(fe), w(ie)), (e !== U.FAILED && e !== U.ABORT_PROCESSING) || w(ie)));
                                    }
                                },
                                [re, ne, E, ie, fe, N.videoElement, de]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    if (N.videoParams.width && 0 !== we.x && te === Y.FitFaceIntoOval) {
                                        var e = tt(N.videoParams.width, N.videoParams.height, N.videoContainerParams.width, N.videoContainerParams.height, we.width, we.height, we.x, we.y, ce.contain);
                                        $({ width: e.width, height: e.height, x: N.videoContainerParams.width - e.left - e.width, y: e.top });
                                    }
                                },
                                [te]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    if (ge.length && !(ne > D.Near)) {
                                        var e = ge[1],
                                            t = tt(N.videoParams.width, N.videoParams.height, N.videoContainerParams.width, N.videoContainerParams.height, e.axisX, e.axisY, e.center.x, e.center.y, ce.contain);
                                        z(t);
                                    }
                                },
                                [N, ge]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    var e = B.current;
                                    n &&
                                        ae &&
                                        e &&
                                        (function (e, t, r) {
                                            var n,
                                                i = e.getContext("2d");
                                            if (
                                                i &&
                                                (i.clearRect(0, 0, t.videoContainerParams.width, t.videoContainerParams.height),
                                                null != r && null !== (n = r.frameResult) && void 0 !== n && null !== (n = n.faces) && void 0 !== n && n.length)
                                            ) {
                                                var a = r.frameResult.faces[0],
                                                    o = a.landmarks[0],
                                                    l = a.landmarks[1],
                                                    s = a.landmarks[3],
                                                    u = a.landmarks[4],
                                                    c = tt.bind(null, t.videoParams.width, t.videoParams.height, t.videoContainerParams.width, t.videoContainerParams.height),
                                                    h = c.bind(null, 0, 0),
                                                    f = h(o.x, o.y, ce.contain),
                                                    d = h(l.x, l.y, ce.contain),
                                                    g = h(s.x, s.y, ce.contain),
                                                    C = h(u.x, u.y, ce.contain),
                                                    p = c(null == a ? void 0 : a.position.width, null == a ? void 0 : a.position.height, null == a ? void 0 : a.position.x, null == a ? void 0 : a.position.y, ce.contain),
                                                    I = p.width,
                                                    m = p.height,
                                                    v = p.left,
                                                    E = p.top,
                                                    y = c(r.target.axisX, r.target.axisY, r.target.center.x, r.target.center.y, ce.contain);
                                                y.width,
                                                    y.height,
                                                    y.left,
                                                    y.top,
                                                    i.beginPath(),
                                                    i.rect(v, E, I, m),
                                                    i.moveTo(f.left, f.top),
                                                    i.lineTo(d.left, d.top),
                                                    i.lineTo(C.left, C.top),
                                                    i.lineTo(g.left, g.top),
                                                    i.closePath(),
                                                    (i.strokeStyle = "rebeccapurple"),
                                                    i.stroke();
                                            }
                                        })(e, N, ae);
                                },
                                [ae, N, n]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    de && A(de);
                                },
                                [de]
                            ),
                            (0, o.jsxs)("div", {
                                className: Ar.Z.locals.container,
                                children: [
                                    (0, o.jsx)(wr, {
                                        facePosition: _,
                                        readiness: Ee,
                                        step: Ce,
                                        numSectors: ve,
                                        currSector: Ie,
                                        targetSector: me,
                                        captureFrame: H,
                                        videoStatusParams: Z,
                                        message: te,
                                        prepared: oe && he,
                                        onChangeCamera: Se,
                                        showChangeCameraButton: s,
                                        faceSnapshot: E,
                                        children: oe
                                            ? (0, o.jsx)(ir, { onVideoSizeChange: V, onVideoStatusChange: q, mode: ue.user, resolution: i.tq ? pe.HD : pe.FULL_HD, onFailStatus: be, cameraId: c, onRecordService: j, videoRecord: !E && O })
                                            : null,
                                    }),
                                    n && (0, o.jsx)("canvas", { ref: B, className: "".concat(Ar.Z.locals["debug-canvas"], " ").concat(Ae), width: N.videoContainerParams.width, height: N.videoContainerParams.height }),
                                ],
                            })
                        );
                    },
                    vn = r("./src/icons/Spinner.css");
                var En = function () {
                    return (0, o.jsx)("div", { className: vn.Z.locals.container, children: (0, o.jsx)("div", { className: vn.Z.locals.spinner }) });
                };
                var yn = function (e) {
                        var t = e.title;
                        return (0, o.jsxs)("div", { className: a.Z.locals["process-message"], children: [(0, o.jsx)(En, {}), (0, o.jsx)("span", { className: a.Z.locals.message, children: t })] });
                    },
                    wn = r("./src/components/retry-screen/style.css");
                var An = function (e) {
                        var t,
                            r,
                            n = e.errorCode,
                            i = e.onReset,
                            a = (0, u.useLocalize)().translate;
                        return (0, o.jsxs)("div", {
                            className: wn.Z.locals["retry-screen"],
                            children: [
                                (0, o.jsxs)("div", {
                                    className: wn.Z.locals.text,
                                    children: [
                                        (0, o.jsx)("p", { "data-e2e": "retry-msg-title", className: wn.Z.locals.title, children: a("letsTryAgainTitle") }),
                                        (0, o.jsx)("p", { className: wn.Z.locals.subtitle, children: a("followGuidelinesText") }),
                                    ],
                                }),
                                (0, o.jsxs)("div", {
                                    className: wn.Z.locals.icons,
                                    children: [
                                        1 !== (null === (t = V[n]) || void 0 === t ? void 0 : t.type) &&
                                            (0, o.jsxs)("div", {
                                                className: wn.Z.locals["icon-item"],
                                                children: [
                                                    (0, o.jsx)("div", { className: "".concat(wn.Z.locals["icon-bg"], " ").concat(wn.Z.locals["no-smile"]) }),
                                                    (0, o.jsx)("p", { className: wn.Z.locals["icon-subtitle"], children: a("noMaskSunglassesHeaddress") }),
                                                ],
                                            }),
                                        2 !== (null === (r = V[n]) || void 0 === r ? void 0 : r.type) &&
                                            (0, o.jsxs)("div", {
                                                className: wn.Z.locals["icon-item"],
                                                children: [
                                                    (0, o.jsx)("div", { className: "".concat(wn.Z.locals["icon-bg"], " ").concat(wn.Z.locals["no-glare"]) }),
                                                    (0, o.jsx)("p", { className: wn.Z.locals["icon-subtitle"], children: a("ambientLighting") }),
                                                ],
                                            }),
                                    ],
                                }),
                                (0, o.jsx)(d, { onClick: i, children: a("retryButtonText") }),
                            ],
                        });
                    },
                    Sn = (0, C.memo)(function () {
                        var e = Be(),
                            t = e.finishScreen,
                            r = void 0 === t || t,
                            n = e.abortProcess,
                            i = e.completionStatus,
                            a = e.response,
                            l = e.faceSnapshot,
                            s = e.cameraId,
                            c = e.decreaseRetryCount,
                            h = e.onRestart,
                            f = e.onEvent,
                            d = e.retryCount,
                            p = (0, u.useLocalize)().translate,
                            I = (0, C.useCallback)(
                                function () {
                                    f({ action: G.PRESS_RETRY_BUTTON, data: null }), l || c(), h();
                                },
                                [d]
                            );
                        if (i === U.INSTRUCTION && !n) {
                            var m = p("getReady");
                            return (0, o.jsx)(jt, { title: p("selfieTime"), subtitle: m, btnText: p("goButton") });
                        }
                        return i === U.CAPTURING || n
                            ? (0, o.jsx)(mn, {})
                            : i === U.PROCESSING_REQUEST
                            ? (0, o.jsx)(yn, { title: p("processing") })
                            : i === U.SUCCESS && r
                            ? (0, o.jsx)(g, { type: "verified", title: "" })
                            : i === U.INCORRECT_CAMERA_ID_ERROR
                            ? (0, o.jsx)(g, { type: "camera-logo", title: "".concat(p("incorrectCameraId"), ' "').concat(s, '"'), subtitle: p("checkCameraId") })
                            : i === U.PERMISSION_DENIED_ERROR
                            ? (0, o.jsx)(g, { type: "camera-logo", title: p("noCameraPermission"), subtitle: p("allowAccessToCamera") })
                            : i === U.NO_CAMERA_ERROR
                            ? (0, o.jsx)(g, { type: "error", title: p("noCameraAvailable"), subtitle: p("checkCameraConnection"), iconColor: "#DC4343" })
                            : i === U.WASM_DEFAULT_ERROR
                            ? (0, o.jsx)(g, { type: "error", title: p("error"), subtitle: p("somethingWentWrong") })
                            : i === U.NOT_SUPPORTED_ERROR
                            ? (0, o.jsx)(g, { type: "error", title: p("versionNotSupported"), subtitle: p("updateBrowser") })
                            : i === U.UNKNOWN_ERROR
                            ? (0, o.jsx)(g, { onReset: I, type: "error", title: p("error"), subtitle: p("somethingWentWrong") })
                            : i !== U.RESTART && i !== U.ABORT_PROCESSING && r
                            ? 200 === a.code
                                ? (0, o.jsx)(g, { type: "error", title: p("somethingWentWrong"), errorCode: 200 })
                                : (0, o.jsx)(An, { errorCode: a.code, onReset: I })
                            : (0, o.jsx)(yn, {});
                    });
                var bn = et(Ct)(function (e) {
                        var t = e.direction,
                            r = Be(),
                            n = r.images,
                            a = r.onEvent,
                            l = r.startScreen,
                            s = void 0 === l || l,
                            u = r.abortSessionStatus,
                            c = r.setAbortProcess,
                            h = r.setAbortSessionStatus,
                            f = r.completionStatus,
                            d = r.setCompletionStatus,
                            g = r.onRestart,
                            p = r.onRotateDevice,
                            I = r.onError,
                            m = v(),
                            E = m.orientation,
                            y = m.isLandscape,
                            w = (0, C.useRef)(!0),
                            A = (0, C.useCallback)(function () {
                                a({ action: G.CLOSE, data: null });
                            }, []);
                        return (
                            (0, C.useEffect)(function () {
                                s || d(U.CAPTURING);
                            }, []),
                            (0, C.useEffect)(
                                function () {
                                    if ((f === U.SUCCESS && a({ action: G.PROCESS_FINISHED, data: { status: le.OK, response: { capture: n } } }), kt(f, u) && f === U.ABORT_PROCESSING)) {
                                        var e = i.UA && y;
                                        g(e), c(!1), h(null);
                                    }
                                },
                                [f]
                            ),
                            (0, C.useEffect)(
                                function () {
                                    if (i.tq) {
                                        var e = i.UA && y;
                                        if (w.current) return (w.current = !1), void (e && d(U.RESTART));
                                        p(e, i.Em);
                                    }
                                },
                                [E, y]
                            ),
                            (0, o.jsx)(St, { onError: I, supportedBrowserVersions: H, children: (0, o.jsx)(Fe, { onClose: A, direction: t, children: (0, o.jsx)(Sn, {}) }) })
                        );
                    }),
                    Qn = (function (e) {
                        return (
                            (e.url = "url"),
                            (e.debug = "debug"),
                            (e.locale = "locale"),
                            (e.copyright = "copyright"),
                            (e.cameraId = "camera-id"),
                            (e.changeCamera = "change-camera"),
                            (e.startScreen = "start-screen"),
                            (e.deviceOrientation = "device-orientation"),
                            (e.closeDisabled = "close-disabled"),
                            (e.finishScreen = "finish-screen"),
                            e
                        );
                    })({}),
                    kn = (function (e) {
                        return (
                            (e.debug = "debug"),
                            (e.locale = "locale"),
                            (e.copyright = "copyright"),
                            (e.cameraId = "camera-id"),
                            (e.changeCamera = "change-camera"),
                            (e.startScreen = "start-screen"),
                            (e.closeDisabled = "close-disabled"),
                            (e.finishScreen = "finish-screen"),
                            e
                        );
                    })({}),
                    xn = JSON.parse(
                        '{"preparingCamera":"Подготовка камеры...","noCameraPermission":"Камера недоступна!","holdSteady":"Не двигайтесь","processing":"Обработка...","lookStraight":"Смотрите прямо","moveCloser":"Подвиньтесь ближе","moveAway":"Отодвиньтесь подальше","retryButtonText":"Повторить","letsTryAgainTitle":"Давайте попробуем снова","followGuidelinesText":"Но убедитесь, пожалуйста, что:","allowAccessCamera":"Разрешите доступ к камере","somethingWentWrong":"Что-то пошло не так","preparingService":"Подготовка сервиса...","allowAccessToCamera":"Разрешите доступ к камере и перезагрузите эту страницу для продолжения.","error":"Ошибка!","tryAgain":"Повторите попытку","noCameraAvailable":"Отсутствует камера","checkCameraConnection":"Проверьте подключение камеры и попробуйте снова.","ambientLighting":"Освещение не должно быть слишком ярким/тусклым, на лице не должно быть теней и бликов","noMaskSunglassesHeaddress":"Выражение лица должно быть нейтральным (без улыбки, рот закрыт, глаза открыты). Снимите маску, солнцезащитные очки, головной убор","versionNotSupported":"Версия вашего браузера не поддерживается","updateBrowser":"Обновите версию вашего браузера","onlyPortraitOrientation":"Только портретная ориентация","turnDeviceIntoPortrait":"Поверните устройство в портретный режим","licenseError":"Ошибка лицензии","licenseExpired":"Лицензия не найдена или недействительна","showOnlyOneFace":"Убедитесь, что на экране присутствует только одно лицо.","incorrectCameraId":"Камера с заданным ID не найдена.","checkCameraId":"Проверьте корректность заданного ID камеры.","turnHead":"Немного поверните голову","selfieTime":"Время для селфи!","centerFaceTurnHead":"Расположите лицо по центру, поверните голову","centerFace":"Расположите лицо по центру","goButton":"Начать","fitYourFace":"Разместите лицо по центру","errorCode":"Код ошибки:","illumination":"Хорошее освещение.","cameraLevel":"Камера на уровне глаз.","noAccessories":"Никаких аксессуаров: очков, маски, шляпы и т.д.","getReady":"Приготовьтесь"}'
                    ),
                    On = JSON.parse(
                        '{"preparingCamera":"Preparing the camera...","noCameraPermission":"Camera unavailable!","holdSteady":"Hold steady","processing":"Processing...","lookStraight":"Look straight","moveCloser":"Move closer","moveAway":"Move away","retryButtonText":"Retry","letsTryAgainTitle":"Let’s try that again","followGuidelinesText":"But please follow these guidelines:","allowAccessCamera":"Allow access to the camera","somethingWentWrong":"Something went wrong","preparingService":"Preparing the service...","allowAccessToCamera":"Allow access to the camera and reload this page to continue.","error":"Error!","tryAgain":"Try again","noCameraAvailable":"No camera available","checkCameraConnection":"Check the camera connection and try again.","ambientLighting":"Ambient lighting is not too bright or too dark and there are no shadows or glare on your face","noMaskSunglassesHeaddress":"Neutral facial expression (no smiling, eyes open and mouth closed), no mask, sunglasses or headwear","versionNotSupported":"Your browser version is not supported","updateBrowser":"Update your browser version","onlyPortraitOrientation":"Portrait orientation only","turnDeviceIntoPortrait":"Please turn your device into portrait mode","licenseError":"A license error has occurred","licenseExpired":"The license cannot be found or has expired","showOnlyOneFace":"Make sure there is only one face on the screen.","incorrectCameraId":"No camera with the specified ID found.","checkCameraId":"Check if the specified camera ID is correct.","turnHead":"Turn your head a bit","selfieTime":"Face Attendance","centerFaceTurnHead":"Center your face, turn your head","centerFace":"Center your face","goButton":"Go","fitYourFace":"Center your face","errorCode":"Error code:","illumination":"Good illumination.","cameraLevel":"Camera at eye level.","noAccessories":"No accessories: glasses, mask, hat, etc.","getReady":"Get ready"}'
                    ),
                    Bn = JSON.parse(
                        '{"preparingCamera":"Kamera wird vorbereitet...","noCameraPermission":"Kamera nicht verfügbar","holdSteady":"Nicht bewegen","processing":"Bearbeitung...","lookStraight":"Geradeaus schauen","moveCloser":"Näher an die Kamera","moveAway":"Weiter von der Kamera","retryButtonText":"Wiederholung","letsTryAgainTitle":"Nochmal wiederholen","followGuidelinesText":"Aber bitte folgen Sie den Anweisungen:","allowAccessCamera":"Erlauben Sie den Zugriff auf die Kamera","somethingWentWrong":"Etwas ist schief gelaufen","preparingService":"Service wird vorbereitet...","allowAccessToCamera":"Erlauben Sie den Zugriff auf die Kamera und laden Sie diese Seite neu, um fortzufahren.","error":"Fehler!","tryAgain":"Erneut versuchen","noCameraAvailable":"Keine Kamera vorhanden","checkCameraConnection":"Überprüfen Sie die Kameraverbindung und versuchen Sie es erneut.","ambientLighting":"Die Umgebungsbeleuchtung ist weder zu hell noch zu dunkel, und es gibt keine Schatten oder Blendungen auf Ihrem Gesicht.","noMaskSunglassesHeaddress":"Neutraler Gesichtsausdruck (kein Lächeln, Augen offen und Mund geschlossen), keine Maske, Sonnenbrille oder Kopfbedeckung","versionNotSupported":"Ihre Browserversion wird nicht unterstützt","updateBrowser":"Aktualisieren Sie Ihre Browserversion","onlyPortraitOrientation":"Nur im Hochformat","turnDeviceIntoPortrait":"Bitte drehen Sie Ihr Gerät in den Hochformatmodus","licenseError":"Es ist ein Lizenzfehler aufgetreten","licenseExpired":"Die Lizenz kann nicht gefunden werden oder ist abgelaufen","showOnlyOneFace":"Stellen Sie sicher, dass nur ein Gesicht auf dem Bildschirm zu sehen ist.","incorrectCameraId":"Keine Kamera mit angegebener ID gefunden","checkCameraId":"Prüfen Sie, ob die angegebene Kamera-ID korrekt ist","turnHead":"Kopf ein wenig drehen","selfieTime":"Zeit für ein Selfie!","centerFaceTurnHead":"Das Gesicht zentrieren, den Kopf drehen","centerFace":"Zentrieren Sie Ihr Gesicht","goButton":"Weiter","fitYourFace":"Zentrieren Sie Ihr Gesicht","errorCode":"Fehlercode:","illumination":"Gute Beleuchtung.","cameraLevel":"Kamera auf Augenhöhe.","noAccessories":"Keine Accessoires: Brille, Maske, Hut, etc.","getReady":"Bereit machen"}'
                    ),
                    Fn = JSON.parse(
                        '{"preparingCamera":"Przygotowywanie kamery...","noCameraPermission":"Kamera niedostępna","holdSteady":"Nie ruszaj się","processing":"Przetwarzanie...","lookStraight":"Patrz prosto","moveCloser":"Przysuń się bliżej","moveAway":"Odsuń się dalej","retryButtonText":"Powtórz","letsTryAgainTitle":"Spróbujmy jeszcze raz","followGuidelinesText":"Jednak upewnij się, że:","allowAccessCamera":"Zezwól na dostęp do aparatu","somethingWentWrong":"Coś poszło nie tak","preparingService":"Przygotowanie serwisu...","allowAccessToCamera":"Zezwól na dostęp do aparatu i odśwież tę stronę, aby kontynuować.","error":"Błąd!","tryAgain":"Powtórz próbę","noCameraAvailable":"Brak aparatu","checkCameraConnection":"Sprawdź, czy aparat jest włączony i spróbuj ponownie.","ambientLighting":"Oświetlenie nie powinno być zbyt silne/słabe, na twarzy nie powinno być cieni i odblasków","noMaskSunglassesHeaddress":"Wyraz twarzy powinien być neutralny (bez uśmiechu, usta zamknięte, oczy otwarte). Zdejmij maskę, okulary przeciwsłoneczne, nakrycie głowy","versionNotSupported":"Twoja wersja przeglądarki nie jest obsługiwana","updateBrowser":"Zaktualizuj wersję przeglądarki","onlyPortraitOrientation":"Tylko orientacja portretowa","turnDeviceIntoPortrait":"Ustaw urządzenie w orientacji portretowej","licenseError":"Błąd licencji","licenseExpired":"Licencja nie została znaleziona lub jest nieważna","showOnlyOneFace":"Upewnij się, że na ekranie znajduje się tylko jedna twarz","incorrectCameraId":"Nie znaleziono kamery o podanym ID","checkCameraId":"Sprawdź, czy podane ID kamery jest prawidłowe","turnHead":"Obróć trochę głowę","selfieTime":"Czas na selfie!","centerFaceTurnHead":"Umieść twarz pośrodku, obróć głowę","centerFace":"Umieść twarz pośrodku","goButton":"Rozpocznij","fitYourFace":"Umieść twarz pośrodku","errorCode":"Kod błędu:","illumination":"Dobre oświetlenie.","cameraLevel":"Aparat na wysokości oczu.","noAccessories":"Bez akcesoriów: okularów, masek, kapeluszy itd.","getReady":"Przygotuj się"}'
                    ),
                    Ln = JSON.parse(
                        '{"preparingCamera":"Preparazione della fotocamera in corso...","noCameraPermission":"Fotocamera non disponibile","holdSteady":"Stai fermo","processing":"Elaborazione...","lookStraight":"Guarda dritto","moveCloser":"Avvicinati","moveAway":"Allontanati","retryButtonText":"Riprova","letsTryAgainTitle":"Prova a ripeterlo un\'altra volta","followGuidelinesText":"Ma per favore segui queste linee guida:","allowAccessCamera":"Consenti l\'accesso alla fotocamera","somethingWentWrong":"Qualcosa è andato storto","preparingService":"Preparazione del servizio...","allowAccessToCamera":"Consenti l\'accesso alla fotocamera e ricarica questa pagina per continuare.","error":"Errore!","tryAgain":"Prova di nuovo","noCameraAvailable":"Non c\'è la fotocamera","checkCameraConnection":"Controlla la connessione della fotocamera e riprova.","ambientLighting":"L\'illuminazione ambientale non è né troppo chiara né troppo scura e non ci sono ombre o riflessi sul viso","noMaskSunglassesHeaddress":"Espressione facciale neutra (nessun sorriso, occhi aperti e bocca chiusa), nessuna mascherina, occhiali da sole o cappello","versionNotSupported":"La versione del tuo browser non è supportata","updateBrowser":"Aggiorna la versione del browser","onlyPortraitOrientation":"Solo orientamento verticale","turnDeviceIntoPortrait":"Gira il tuo dispositivo in modalità verticale","licenseError":"Si è verificato un errore di licenza","licenseExpired":"La licenza non è stata trovata o è scaduta","showOnlyOneFace":"Assicurati che ci sia solo un viso sullo schermo","incorrectCameraId":"Nessuna telecamera trovata con l\'ID specificato","checkCameraId":"Verifica se l\'ID specificato della telecamera è corretto","turnHead":"Volta leggermente la testa","selfieTime":"È l’ora del selfie!","centerFaceTurnHead":"Centra il viso, gira la testa","centerFace":"Centra il viso","goButton":"Vai","fitYourFace":"Centra il viso","errorCode":"Codice errato:","illumination":"Illuminazione buona.","cameraLevel":"Fotocamera all\'altezza degli occhi.","noAccessories":"Nessun accessorio: occhiali, maschera, cappello, ecc.","getReady":"Prepariamoci"}'
                    ),
                    jn = JSON.parse(
                        '{"preparingCamera":"A kamera előkészítése...","noCameraPermission":"Nem érhető el kamera","holdSteady":"Tartsa mozdulatlanul","processing":"Feldolgozás...","lookStraight":"Nézzen egyenesen","moveCloser":"Vigye közelebb","moveAway":"Vigye távolabb","retryButtonText":"Újra","letsTryAgainTitle":"Próbáljuk meg újra","followGuidelinesText":"De kérjük, kövesse a következő utasításokat:","allowAccessCamera":"Hozzáférés engedélyezése kamerához","somethingWentWrong":"Valami félresikerült","preparingService":"Szolgáltatás előkészítése…","allowAccessToCamera":"Hozzáférés engedélyezése a kamerához és az oldal újratöltése a folytatáshoz.","error":"Hiba!","tryAgain":"Próbálja újra","noCameraAvailable":"Nincs kamera","checkCameraConnection":"Ellnőrizze a kamerát és próbálja újra.","ambientLighting":"A környezeti fények nem elég világosak vagy túl sötétek és nincsenek árnyékok, illetve fényvisszaverődés az arcán","noMaskSunglassesHeaddress":"Semleges arckifejezés (mosoly nélkül, nyitott szemmel és csukott szájjal), maszk, napszemüveg vagy fejfedő nélkül","versionNotSupported":"Nem támogatott a böngésző verziója","updateBrowser":"A böngésző frissítse szükséges","onlyPortraitOrientation":"Csak álló tájolás","turnDeviceIntoPortrait":"Kérjük, fordítsa készülékét álló (arckép) helyzetbe","licenseError":"Engedélyezési hiba merült fel","licenseExpired":"Nem található vagy lejárt az engedély","showOnlyOneFace":"Győződjön meg róla, hogy csak egy arc van a képen","incorrectCameraId":"Nem található ilyen azonosítójú kamera","checkCameraId":"Ellenőrizze, hogy helyes-e a kamera azonosítója","turnHead":"Kissé fordítsa el a fejét","selfieTime":"Szelfizzünk!","centerFaceTurnHead":"Állítsa középre az arcát, fordítsa el a fejét","centerFace":"Állítsa középre az arcát","goButton":"Kezdjük!","fitYourFace":"Állítsa középre az arcát","errorCode":"Hibakód:","illumination":"Jó megvilágítás.","cameraLevel":"Kamera a szem vonalában.","noAccessories":"Nincs az arcon kiegészítő: szemüveg, maszk, kalap stb.","getReady":"Készüljön fel!"}'
                    ),
                    Wn = JSON.parse(
                        '{"preparingCamera":"正在准备相机","noCameraPermission":"相机不可用","holdSteady":"持稳","processing":"处理中...","lookStraight":"直看","moveCloser":"靠近点","moveAway":"移开","retryButtonText":"重试","letsTryAgainTitle":"再试一次","followGuidelinesText":"但请遵循以下准则：","allowAccessCamera":"允许访问相机","somethingWentWrong":"出了问题","preparingService":"正在准备服务...","allowAccessToCamera":"允许访问相机并重新加载此页面以继续。","error":"错误！","tryAgain":"再试一次","noCameraAvailable":"没有相机","checkCameraConnection":"检查相机的连接，再试一次。","ambientLighting":"环境照明不是太亮或太暗，脸上没有阴影或眩光","noMaskSunglassesHeaddress":"中性的面部表情（不笑，睁眼闭嘴），不戴面具、太阳镜或头饰","versionNotSupported":"不支持您的浏览器版本","updateBrowser":"更新您的浏览器版本","onlyPortraitOrientation":"只供肖像方向使用","turnDeviceIntoPortrait":"请将您的设备转为纵向模式","licenseError":"发生许可证错误","licenseExpired":"无法找到许可证或已过期","showOnlyOneFace":"确保屏幕上只有一张脸","incorrectCameraId":"未找到具有指定 ID 的像机","checkCameraId":"检查指定的相机ID是否正确","turnHead":"稍微转过头","selfieTime":"自拍时间！","centerFaceTurnHead":"把脸居中，转过头","centerFace":"把脸居中","goButton":"开始","fitYourFace":"把脸居中","errorCode":"错误代码：","illumination":"良好的照明。","cameraLevel":"摄像头在视线水平。","noAccessories":"无配饰：眼镜、口罩、帽子等。","getReady":"准备"}'
                    ),
                    Rn = JSON.parse(
                        '{"preparingCamera":"Príprava fotoaparátu...","noCameraPermission":"Fotoaparát je nedostupný","holdSteady":"A nehýbte sa","processing":"Spracováva sa...","lookStraight":"Pozerajte priamo","moveCloser":"Posuňte bližšie","moveAway":"Posuňte ďalej","retryButtonText":"Znova","letsTryAgainTitle":"Skúsme to znova","followGuidelinesText":"Postupujte však podľa týchto pokynov:","allowAccessCamera":"Povoliť prístup k fotoaparátu","somethingWentWrong":"Niečo sa pokazilo","preparingService":"Pripravuje sa služba...","allowAccessToCamera":"Ak chcete pokračovať, povoľte prístup k fotoaparátu a znova načítajte túto stránku.","error":"Chyba!","tryAgain":"Skúste to znova","noCameraAvailable":"Žiadny fotoaparát","checkCameraConnection":"Skontrolujte pripojenie fotoaparátu a skúste to znova.","ambientLighting":"Okolité osvetlenie nie je príliš jasné ani príliš tmavé a na vašej tvári nie sú žiadne tiene ani odlesky","noMaskSunglassesHeaddress":"Neutrálny výraz tváre (žiadny úsmev, otvorené oči a zatvorené ústa), žiadna maska, slnečné okuliare ani pokrývka hlavy","versionNotSupported":"Verzia vášho prehliadača nie je podporovaná","updateBrowser":"Aktualizujte verziu prehliadača","onlyPortraitOrientation":"Len orientácia na výšku","turnDeviceIntoPortrait":"Otočte zariadenie do režimu na výšku","licenseError":"Vyskytla sa chyba licencie","licenseExpired":"Licenciu nie je možné nájsť, prípadne už nie je platná","showOnlyOneFace":"Zaistite, aby bola na obrazovke iba jedna tvár","incorrectCameraId":"Nenašiel sa žiadny fotoaparát s určeným ID","checkCameraId":"Skontrolujte, či je určené ID fotoaparátu správne","turnHead":"Trochu otočte hlavu","selfieTime":"Čas na selfie!","centerFaceTurnHead":"Vycentrujte tvár, otočte hlavu","centerFace":"Vycentrujte tvár","goButton":"Poďme","fitYourFace":"Vycentrujte tvár","errorCode":"Kód chyby:","illumination":"Dobré osvetlenie.","cameraLevel":"Fotoaparát vo výške očí.","noAccessories":"Žiadne doplnky: okuliare, maska, klobúk atď.","getReady":"Pripravte sa"}'
                    ),
                    Yn = JSON.parse(
                        '{"preparingCamera":"Підготовка камери...","noCameraPermission":"Камера недоступна","holdSteady":"Не рухайтеся","processing":"Обробка...","lookStraight":"Дивіться прямо","moveCloser":"Підсуньтеся ближче","moveAway":"Відсуньтеся подалі","retryButtonText":"Повторити","letsTryAgainTitle":"Давайте спробуємо знову","followGuidelinesText":"Але переконайтеся, будь ласка, що:","allowAccessCamera":"Дозвольте доступ до камери","somethingWentWrong":"Щось пішло не так","preparingService":"Підготовка сервісу...","allowAccessToCamera":"Дозвольте доступ до камери і перезавантажте цю сторінку, щоб продовжити.","error":"Помилка!","tryAgain":"Спробуйте ще раз","noCameraAvailable":"Камера відсутня","checkCameraConnection":"Перевірте підключення камери і спробуйте знову.","ambientLighting":"Освітлення не повинно бути занадто яскравим/тьмяним, на обличчі не повинно бути тіней і відблисків","noMaskSunglassesHeaddress":"Вираз обличчя має бути нейтральним (без посмішки, рот закритий, очі відкриті). Зніміть маску, сонцезахисні окуляри, головний убір","versionNotSupported":"Версія вашого браузера не підтримується","updateBrowser":"Оновіть версію вашого браузера","onlyPortraitOrientation":"Лише портретна орієнтація","turnDeviceIntoPortrait":"Поверніть пристрій у портретний режим","licenseError":"Помилка ліцензії","licenseExpired":"Ліцензію не знайдено або вона не є дійсною","showOnlyOneFace":"Переконайтеся, що на екрані є лише одна особа","incorrectCameraId":"Камеру з заданим ID не знайдено","checkCameraId":"Перевірте правильність заданого ID камери","turnHead":"Трохи поверніть голову","selfieTime":"Час для селфі!","centerFaceTurnHead":"Розташуйте обличчя в центрі, поверніть голову","centerFace":"Розташуйте обличчя в центрі","goButton":"Розпочати","fitYourFace":"Розташуйте обличчя в центрі","errorCode":"Код помилки:","illumination":"Гарне освітлення.","cameraLevel":"Камера на рівні очей.","noAccessories":"Жодних аксесуарів: окулярів, маски, капелюха і т.д.","getReady":"Приготуйтеся"}'
                    ),
                    Dn = JSON.parse(
                        '{"preparingCamera":"Caméra en préparation...","noCameraPermission":"Caméra indisponible","holdSteady":"Ne bougez plus","processing":"Analyse...","lookStraight":"Regardez la caméra","moveCloser":"Rapprochez","moveAway":"Eloignez","retryButtonText":"Réessayez","letsTryAgainTitle":"Essayez à nouveau","followGuidelinesText":"Veuillez suivre les instructions:","allowAccessCamera":"Autoriser l\'accès à la caméra","somethingWentWrong":"Anomalie","preparingService":"Préparation...","allowAccessToCamera":"Autoriser l\'accès à la caméra, et recharger cette page pour continuer.","error":"Erreur!","tryAgain":"Réessayer","noCameraAvailable":"Caméra introuvable","checkCameraConnection":"Vérifier la connexion à la caméra et réessayer.","ambientLighting":"La lumière ambiante ne doit pas être trop faible ou trop forte, et il ne doit pas y avoir d\'ombres ou de reflets sur votre visage","noMaskSunglassesHeaddress":"Expression neutre (pas de sourire, yeux ouverts et bouche fermée), pas de masque, lunettes de soleil, ou couvre-chef","versionNotSupported":"Version de navigateur non compatible","updateBrowser":"Veuillez mettre à jour votre navigateur","onlyPortraitOrientation":"Orientation portrait seulement","turnDeviceIntoPortrait":"Veuillez tourner votre mobile en mode portrait","licenseError":"Erreur de licence","licenseExpired":"License introuvable ou expirée","showOnlyOneFace":"Assurez-vous qu\'un seul visage apparaît à l\'écran","incorrectCameraId":"Aucune caméra ayant l\'ID spécifié","checkCameraId":"Vérifier que l\'ID de caméra spécifié est correct","turnHead":"Tournez légèrement la tête","selfieTime":"Démarrage du selfie!","centerFaceTurnHead":"Centrez votre visage, tournez la tête","centerFace":"Centrez votre visage","goButton":"Lancer","fitYourFace":"Centrez votre visage","errorCode":"Code d\'erreur:","illumination":"Illumination correcte.","cameraLevel":"Camera à hauteur des yeux.","noAccessories":"Pas d\'accessoires: lunettes, masque, chapeau, casquette, etc.","getReady":"Prêt"}'
                    ),
                    Kn = JSON.parse(
                        '{"preparingCamera":"Preparando la cámara...","noCameraPermission":"Cámara no disponible","holdSteady":"Quédese quieto","processing":"Procesamiento...","lookStraight":"Mire hacia adelante","moveCloser":"Acérquese","moveAway":"Aléjese","retryButtonText":"Reintentar","letsTryAgainTitle":"Inténtelo de nuevo","followGuidelinesText":"Por favor, asegúrese de que:","allowAccessCamera":"Permita el acceso a la cámara","somethingWentWrong":"Algo salió mal","preparingService":"Preparando el servicio...","allowAccessToCamera":"Permita el acceso a la cámara y recargue esta página para continuar.","error":"¡Error!","tryAgain":"Inténtelo de nuevo","noCameraAvailable":"No hay cámara disponible","checkCameraConnection":"Compruebe la conexión de la cámara y vuelva a intentarlo.","ambientLighting":"La iluminación ambiental no debe ser ni demasiado brillante ni demasiado oscura y no debe haber sombras ni brillos en el rostro.","noMaskSunglassesHeaddress":"La expresión facial debe ser neutra (sin sonrisa, con los ojos abiertos y la boca cerrada), sin máscara, gafas de sol o prendas en la cabeza.","versionNotSupported":"La versión de su navegador no es compatible","updateBrowser":"Actualice la versión de su navegador","onlyPortraitOrientation":"Sólo orientación vertical","turnDeviceIntoPortrait":"Por favor, gire su dispositivo al modo vertical","licenseError":"Se ha producido un error de licencia","licenseExpired":"La licencia no se encuentra o ha expirado","showOnlyOneFace":"Asegúrese de que solo hay un rostro en la pantalla","incorrectCameraId":"La cámara con el identificador especificado no encontrada","checkCameraId":"Compruebe si el identificador especificado de la cámara es correcto","turnHead":"Gire un poco la cabeza","selfieTime":"¡Hora de hacer un selfie!","centerFaceTurnHead":"Centre su rostro, gire la cabeza","centerFace":"Centre su rostro","goButton":"Empezar","fitYourFace":"Centre su rostro","errorCode":"Сódigo de error:","illumination":"Buena iluminación.","cameraLevel":"Cámara al nivel de los ojos.","noAccessories":"Sin accesorios: gafas, máscara, sombrero, etc.","getReady":"Prepárese"}'
                    ),
                    Pn = JSON.parse(
                        '{"preparingCamera":"Preparando a câmara...","noCameraPermission":"Camera não disponivel","holdSteady":"Mantenha-se imóvel","processing":"A processar...","lookStraight":"Olhe diretamente","moveCloser":"Aproxime-se","moveAway":"Afaste-se","retryButtonText":"Tente outra vez","letsTryAgainTitle":"Vamos tentar de novo","followGuidelinesText":"Mas, siga estas orientações:","allowAccessCamera":"Permita o acesso à câmara","somethingWentWrong":"Algo correu mal","preparingService":"Preparando o serviço...","allowAccessToCamera":"Permita o acesso à câmara e volte a carregar esta página para continuar.","error":"Erro!","tryAgain":"Tente outra vez","noCameraAvailable":"Não há câmara","checkCameraConnection":"Verifique a ligação da câmara e tente novamente.","ambientLighting":"A iluminação ambiente não é demasiado brilhante ou demasiado escura e não há sombras ou clarões no seu rosto","noMaskSunglassesHeaddress":"Expressão facial neutra (sem sorrisos, olhos abertos e boca fechada), sem máscara, óculos de sol ou touca","versionNotSupported":"A versão do seu navegador não é compatível","updateBrowser":"Atualize a versão do seu navegador","onlyPortraitOrientation":"Orientação de retrato apenas","turnDeviceIntoPortrait":"Por favor, coloque seu dispositivo no modo retrato","licenseError":"Ocorreu um erro de licença","licenseExpired":"A licença não pode ser encontrada ou expirou","showOnlyOneFace":"Verifique se há apenas um rosto na tela","incorrectCameraId":"Não foi encontrada nenhuma câmara com o ID especificado","checkCameraId":"Verifique se a ID da câmara especificada está correta","turnHead":"Vire um pouco a cabeça","selfieTime":"Hora da selfie!","centerFaceTurnHead":"Centralize o seu rosto, vire a cabeça","centerFace":"Centralize o seu rosto","goButton":"Vamos","fitYourFace":"Centralize o seu rosto","errorCode":"Código de erro:","illumination":"Boa iluminação.","cameraLevel":"Câmara ao nível dos olhos.","noAccessories":"Sem acessórios: óculos, máscara, chapéu, etc.","getReady":"Comece"}'
                    ),
                    Gn = JSON.parse(
                        '{"preparingCamera":"تهيئة الكاميرا...","noCameraPermission":"الكاميرا غير متوفرة","holdSteady":"ابق ثابتًا","processing":"جاري المعالجة...","lookStraight":"انظر مباشرةً للكاميرا","moveCloser":"اقترب أكثر","moveAway":"ابتعد قليلًا","retryButtonText":"أعد المحاولة","letsTryAgainTitle":"دعنا نحاول ذلك مرة أخرى","followGuidelinesText":"لكن الرجاء اتباع هذه الإرشادات:","allowAccessCamera":"اسمح بالوصول إلى الكاميرا","somethingWentWrong":"حدث خطأ ما","preparingService":"جاري تحضير الخدمة...","allowAccessToCamera":"اسمح بالوصول إلى الكاميرا وأعد تحميل هذه الصفحة للمتابعة.","error":"خطأ!","tryAgain":"حاول مرة أخرى","noCameraAvailable":"تعذّر العثور على الكاميرا","checkCameraConnection":"تحقق من اتصال الكاميرا وحاول مرة أخرى.","ambientLighting":"يجب ألا تكون الإضاءة المحيطة ساطعة جدًا أو مظلمة للغاية، ويتعين التأكد من عدم وجود ظلال أو وهج على وجهك","noMaskSunglassesHeaddress":"يجب أن تكون تعبيرات وجه محايدة (بدون ابتسامة، العيون مفتوحة والفم مغلق)، بدون قناع أو نظارات شمسية أو غطاء للرأس","versionNotSupported":"إصدار المتصفح الخاص بك غير مدعوم","updateBrowser":"يرجى تحديث إصدار متصفحك","onlyPortraitOrientation":"اتجاه عمودي فقط","turnDeviceIntoPortrait":"يرجى تحويل جهازك إلى الوضع العمودي","licenseError":"حدث خطأ في الرخصة","licenseExpired":"تعذّر العثور على الرخصة أو أن صلاحيتها منتهية","showOnlyOneFace":"تأكد من وجود وجه واحد فقط على الشاشة","incorrectCameraId":"تعذّر العثور على الكاميرا ذات المعرّف المحدد","checkCameraId":"تحقق مما إذا كان معرّف الكاميرا المحدد صحيحًا","turnHead":"أدر رأسك قليلاً","selfieTime":"الآن وقت صورة السيلفي!","centerFaceTurnHead":"ضع وجهك في الوسط، أدر رأسك","centerFace":"ضع وجهك في الوسط","goButton":"لنبدأ","fitYourFace":"ضع وجهك في الوسط","errorCode":"رمز الخطأ:","illumination":"إضاءة جيدة.","cameraLevel":"الكاميرا على مستوى العينين.","noAccessories":"لا توجد إكسسوارات: نظارات، قناع، قبعة وما إلى ذلك","getReady":"استعد"}'
                    ),
                    Mn = JSON.parse(
                        '{"preparingCamera":"De camera aan het voorbereiden...","noCameraPermission":"Camera onbeschikbaar","holdSteady":"Blijf stil","processing":"Bezig met verwerken...","lookStraight":"Kijk recht vooruit","moveCloser":"Kom dichter","moveAway":"Ga verder weg","retryButtonText":"Probeer opnieuw","letsTryAgainTitle":"Laten we dat nog eens proberen","followGuidelinesText":"Maar volg deze richtlijnen:","allowAccessCamera":"Sta toegang tot de camera toe","somethingWentWrong":"Er ging iets fout","preparingService":"Voorbereiding van de dienst...","allowAccessToCamera":"Sta toegang to de camera toe en laad de pagina opnieuw om door te gaan.","error":"Fout!","tryAgain":"Probeer opnieuw","noCameraAvailable":"Er is geen camera","checkCameraConnection":"Controleer de cameraverbinding en probeer het opnieuw.","ambientLighting":"Het omgevingslicht is niet te fel of te donker en er zijn geen schaduwen of schitteringen op uw gezicht","noMaskSunglassesHeaddress":"Neutrale gelaatsuitdrukking (niet glimlachen, ogen open en mond dicht), geen masker, zonnebril of hoofddeksel","versionNotSupported":"Uw browserversie wordt niet ondersteund","updateBrowser":"Update uw browserversie","onlyPortraitOrientation":"Alleen portretstand","turnDeviceIntoPortrait":"Zet uw toestel in portretstand","licenseError":"Er is een licentiefout opgetreden","licenseExpired":"De licentie kan niet gevonden worden of is verlopen","showOnlyOneFace":"Zorg ervoor dat er maar één gezicht op het scherm staat","incorrectCameraId":"Geen camera met de opgegeven ID gevonden","checkCameraId":"Controleren of de opgegeven camera-ID juist is","turnHead":"Draai uw hoofd een beetje","selfieTime":"Tijd voor een selfie!","centerFaceTurnHead":"Centreer uw gezicht, draai uw hoofd","centerFace":"Centreer uw gezicht","goButton":"Ga van start","fitYourFace":"Centreer uw gezicht","errorCode":"Foutcode:","illumination":"Goede belichting","cameraLevel":"Camera op oogzicht","noAccessories":"Geen accessoires: bril, masker, hoed, enz.","getReady":"Maak u klaar"}'
                    ),
                    Un = JSON.parse(
                        '{"preparingCamera":"Menyiapkan kamera...","noCameraPermission":"Kamera tidak tersedia","holdSteady":"Diam tidak bergerak","processing":"Memproses...","lookStraight":"Lihat ke depan","moveCloser":"Geser mendekat","moveAway":"Geser menjauh","retryButtonText":"Coba lagi","letsTryAgainTitle":"Mari kita coba lagi","followGuidelinesText":"Tetapi, harap ikuti panduan ini:","allowAccessCamera":"Izinkan akses ke kamera","somethingWentWrong":"Terjadi kesalahan","preparingService":"Menyiapkan layanan","allowAccessToCamera":"Izinkan akses ke kamera dan muat ulang halaman ini untuk melanjutkan.","error":"Kesalahan!","tryAgain":"Coba lagi","noCameraAvailable":"Tidak ada kamera","checkCameraConnection":"Periksa koneksi kamera dan coba lagi","ambientLighting":"Cahaya sekitar tidak terlalu terang dan terlalu gelap dan tidak ada bayangan atau pantulan cahaya pada wajah Anda","noMaskSunglassesHeaddress":"Ekspresi wajah netral (tidak tersenyum, mata terbuka, dan mulut tertutup), tidak menggunakan masker, kacamata, dan penutup kepala","versionNotSupported":"Versi browser Anda tidak didukung","updateBrowser":"Perbarui versi browser Anda","onlyPortraitOrientation":"Hanya orientasi potret","turnDeviceIntoPortrait":"Silakan putar perangkat Anda ke mode potret","licenseError":"Terjadi kesalahan lisensi","licenseExpired":"Lisensi tidak dapat ditemukan atau telah habis masa berlakunya","showOnlyOneFace":"Pastikan hanya ada satu wajah di layar","incorrectCameraId":"Tidak ditemukan kamera dengan ID yang disebutkan","checkCameraId":"Periksa apakah ID kamera yang disebutkan benar","turnHead":"Tengokkan sedikit kepala Anda","selfieTime":"Waktu swafoto!","centerFaceTurnHead":"Pusatkan wajah Anda, tengokkan kepala Anda","centerFace":"Pusatkan wajah Anda","goButton":"Mulai","fitYourFace":"Pusatkan wajah Anda","errorCode":"Kode kesalahan:","illumination":"Ilmuniasi bagus.","cameraLevel":"Kamera di level mata.","noAccessories":"Tanpa aksesori: kacamata, masker, topi, dll.","getReady":"Bersiap"}'
                    ),
                    Nn = JSON.parse(
                        '{"preparingCamera":"Đang chuẩn bị camera...","noCameraPermission":"Camera không có sẵn","holdSteady":"Giữ yên","processing":"Đang xử lý...","lookStraight":"Nhìn thẳng","moveCloser":"Di chuyển tới gần hơn","moveAway":"Di chuyển ra xa hơn","retryButtonText":"Thử lại","letsTryAgainTitle":"Hãy thử lại","followGuidelinesText":"Nhưng vui lòng làm theo các hướng dẫn này:","allowAccessCamera":"Cho phép truy cập camera","somethingWentWrong":"Có lỗi xảy ra","preparingService":"Đang chuẩn bị dịch vụ...","allowAccessToCamera":"Cho phép truy cập camera và tải lại trang này để tiếp tục.","error":"Có lỗi!","tryAgain":"Thử lại","noCameraAvailable":"Không có camera","checkCameraConnection":"Kiểm tra kết nối camera và thử lại.","ambientLighting":"Ánh sáng nền không quá sáng hay quá tối, khuôn mặt không có bóng hay bị lóe sáng","noMaskSunglassesHeaddress":"Nét mặt trung tính (không cười, mắt mở, miệng khép), không đeo khẩu trang, kính râm hay mũ","versionNotSupported":"Phiên bản trình duyệt của bạn không được hỗ trợ","updateBrowser":"Cập nhật phiên bản trình duyệt của bạn","onlyPortraitOrientation":"Chỉ theo hướng dọc","turnDeviceIntoPortrait":"Vui lòng bật chế độ chân dung trên thiết bị của bạn","licenseError":"Đã xảy ra lỗi giấy phép","licenseExpired":"Không tìm thấy giấy phép hoặc giấy phép đã hết hạn","showOnlyOneFace":"Đảm bảo chỉ có một khuôn mặt trên màn hình","incorrectCameraId":"Không tìm thấy camera nào có ID đã nêu","checkCameraId":"Kiểm tra xem ID camera đã nêu có đúng không","turnHead":"Xoay đầu bạn một chút","selfieTime":"Selfie thôi!","centerFaceTurnHead":"Chỉnh khuôn mặt chính diện, xoay đầu","centerFace":"Chỉnh khuôn mặt chính diện","goButton":"Đi thôi","fitYourFace":"Chỉnh khuôn mặt chính diện","errorCode":"Mã lỗi:","illumination":"Độ sáng tốt.","cameraLevel":"Camera ở tầm mắt.","noAccessories":"Không phụ kiện: kính, mặt nạ, mũ, v.v.","getReady":"Sẵn sàng"}'
                    ),
                    Vn = JSON.parse(
                        '{"preparingCamera":"카메라 준비 중...","noCameraPermission":"카메라를 사용할 수 없음","holdSteady":"움직이지 않기","processing":"처리 중...","lookStraight":"앞을 똑바로 보기","moveCloser":"더 가까이 이동","moveAway":"멀리 이동","retryButtonText":"재시도","letsTryAgainTitle":"다시 시도하세요","followGuidelinesText":"하지만 이 가이드라인을 따르세요:","allowAccessCamera":"카메라에 액세스 허용","somethingWentWrong":"오류가 발생했습니다","preparingService":"서비스 준비 중...","allowAccessToCamera":"카메라에 대한 액세스를 허용하고 이 페이지를 재로드하여 계속하십시오.","error":"오류!","tryAgain":"다시 시도","noCameraAvailable":"카메라가 없습니다","checkCameraConnection":"카메라 연결을 확인하고 다시 시도하십시오.","ambientLighting":"주변 조명이 너무 밝지도 너무 어둡지 않아서 얼굴에 그림자나 눈부심이 없습니다","noMaskSunglassesHeaddress":"무표정(미소 없음, 눈 떠 있음 및 입을 다뭄), 마스크, 선글라스 또는 모자 없음","versionNotSupported":"사용 중인 브라우저는 지원되지 않습니다","updateBrowser":"브라우저 버전을 업데이트하십시오","onlyPortraitOrientation":"세로 방향 전용","turnDeviceIntoPortrait":"장치를 세로 모드로 전환하십시오","licenseError":"라이선스 오류가 발생했습니다","licenseExpired":"라이선스를 찾을 수 없거나 만료되었습니다","showOnlyOneFace":"화면에는 얼굴이 하나만 있어야 합니다","incorrectCameraId":"지정된 ID가 있는 카메라를 찾을 수 없음","checkCameraId":"지정된 카메라 ID가 정확한지 확인하십시오","turnHead":"머리를 약간 돌리세요","selfieTime":"셀카 타임!","centerFaceTurnHead":"얼굴을 가운데로 하고, 머리를 돌리세요","centerFace":"얼굴을 가운데로 위치하세요","goButton":"시작","fitYourFace":"얼굴을 가운데로 위치하세요","errorCode":"오류 코드:","illumination":"조명 밝기 양호.","cameraLevel":"카메라를 눈높이에 맞추세요.","noAccessories":"액세서리 금지: 안경, 마스크, 모자 등","getReady":"준비하십시오"}'
                    ),
                    Tn = JSON.parse(
                        '{"preparingCamera":"Menyediakan kamera...","noCameraPermission":"Kamera tidak tersedia","holdSteady":"Pegang dengan stabil","processing":"Sedang diproses...","lookStraight":"Pandang tegak","moveCloser":"Dekatkan","moveAway":"Jauhkan","retryButtonText":"Cuba lagi","letsTryAgainTitle":"Mari kita cuba lagi","followGuidelinesText":"Tetapi sila ikut arahan berikut:","allowAccessCamera":"Benarkan akses ke kamera","somethingWentWrong":"Ada masalah","preparingService":"Menyediakan perkhidmatan...","allowAccessToCamera":"Benarkan akses ke kamera dan muat semula halaman ini untuk bermula.","error":"Ralat!","tryAgain":"Sila cuba lagi","noCameraAvailable":"Tiada kamera","checkCameraConnection":"Semak sambungan kamera dan cuba lagi.","ambientLighting":"Pencahayaan persekitaran tidak terlalu terang atau terlalu gelap dan tidak ada bayangan atau silau pada muka","noMaskSunglassesHeaddress":"Ekspresi wajah neutral (tidak tersenyum, mata terbuka dan mulut ditutup), tanpa topeng, cermin mata hitam atau hiasan kepala","versionNotSupported":"Versi pelayar web anda tidak disokong","updateBrowser":"Sila kemas kini versi pelayar web anda","onlyPortraitOrientation":"Orientasi potret sahaja","turnDeviceIntoPortrait":"Sila tetapkan peranti anda kepada mod potret","licenseError":"Lalat lesen belaku","licenseExpired":"Lesen tidak dapat dicari atau telah tamat tempoh","showOnlyOneFace":"Sila pastikan hanya ada satu muka pada skrin","incorrectCameraId":"Tiada kamera dengan ID yang ditentukan ditemui","checkCameraId":"Sila semak sama ada ID kamera yang dinyatakan adalah betul","turnHead":"Pusingkan kepala anda sedikit","selfieTime":"Masa selfie!","centerFaceTurnHead":"Ketengahkan muka anda, pusing kepala anda","centerFace":"Ketengahkan muka anda","goButton":"Mula","fitYourFace":"Ketengahkan muka anda","errorCode":"Kod ralat:","illumination":"Pencahayaan yang baik.","cameraLevel":"Kamera pada paras mata.","noAccessories":"Tiada aksesori: cermin mata, topeng, topi, dll.","getReady":"Bersedia"}'
                    ),
                    Hn = JSON.parse(
                        '{"preparingCamera":"Se pregătește camera...","noCameraPermission":"Camera e indisponibilă","holdSteady":"Stați nemișcat","processing":"Se procesează...","lookStraight":"Priviți înainte","moveCloser":"Apropiați-vă","moveAway":"Îndepărtați-vă","retryButtonText":"Reîncercare","letsTryAgainTitle":"Să mai încercăm o dată","followGuidelinesText":"Dar vă rugăm urmăriți recomandările:","allowAccessCamera":"Permiteți accesul la cameră","somethingWentWrong":"Ceva n-a mers bine","preparingService":"Pregătirea serviciului...","allowAccessToCamera":"Permiteți accesul la cameră și reîncărcați această pagină pentru a continua.","error":"Eroare!","tryAgain":"Încercați încă o dată","noCameraAvailable":"Nu există cameră","checkCameraConnection":"Verificați conexiunea la cameră și încercați din nou.","ambientLighting":"Iluminarea ambientală să nu fie nici prea puternică, nici prea întunecată și să nu existe umbre sau străluciri pe fața dvs.","noMaskSunglassesHeaddress":"Expresie facială neutră (fără zâmbet, ochii deschiși și gura închisă), fără mască sau ochelari de soare și fără nimic pe cap","versionNotSupported":"Versiunea browserului dvs. nu este acceptată","updateBrowser":"Actualizați versiunea browserului","onlyPortraitOrientation":"Doar orientarea tip portret","turnDeviceIntoPortrait":"Vă rugăm rotiți dispozitivul în modul portret","licenseError":"Am întâmpinat o eroare de licențiere","licenseExpired":"Licența nu poate fi găsită sau a expirat","showOnlyOneFace":"Asigurați-vă că apare o singură față pe ecran","incorrectCameraId":"Nu a fost găsită nicio cameră cu ID-ul specificat","checkCameraId":"Verificați dacă este corect ID-ul specificat pentru cameră","turnHead":"Întoarceți puțin capul","selfieTime":"Să ne facem un selfie!","centerFaceTurnHead":"Centrați-vă fața și întoarceți capul","centerFace":"Centrați-vă fața","goButton":"Start","fitYourFace":"Centrați-vă fața","errorCode":"Cod de eroare:","illumination":"Iluminare bună.","cameraLevel":"Camera la nivelul ochilor.","noAccessories":"Fără accesorii: ochelari, mască, pălărie/șapcă, etc.","getReady":"Pregătiți-vă"}'
                    ),
                    zn = JSON.parse(
                        '{"preparingCamera":"Προετοιμασία της κάμερας...","noCameraPermission":"Κάμερα δεν είναι διαθέσιμη","holdSteady":"Μείνετε σταθεροί","processing":"Επεξεργασία...","lookStraight":"Κοιτάξτε μπροστά","moveCloser":"Πλησιάστε","moveAway":"Απομακρυνθείτε","retryButtonText":"Ξαναπροσπαθήστε","letsTryAgainTitle":"Ας το δοκιμάσουμε ξανά","followGuidelinesText":"Ακολουθήστε όμως αυτές τις οδηγίες:","allowAccessCamera":"Επιτρέψτε την πρόσβαση στην κάμερα","somethingWentWrong":"Κάτι πήγε στραβά","preparingService":"Προετοιμασία της υπηρεσίας ...","allowAccessToCamera":"Επιτρέψτε την πρόσβαση στην κάμερα και φορτώστε ξανά αυτήν τη σελίδα για να συνεχίσετε.","error":"Σφάλμα!","tryAgain":"Προσπαθήστε ξανά","noCameraAvailable":"Δεν υπάρχει κάμερα","checkCameraConnection":"Ελέγξτε τη σύνδεση της κάμερας και δοκιμάστε ξανά.","ambientLighting":"Ο φωτισμός περιβάλλοντος δεν είναι πολύ φωτεινός ή πολύ σκοτεινός και δεν υπάρχουν σκιές ή λάμψη στο πρόσωπό σας","noMaskSunglassesHeaddress":"Ουδέτερη έκφραση του προσώπου (χωρίς χαμόγελο, ανοιχτά μάτια και κλειστό στόμα), χωρίς μάσκα, γυαλιά ηλίου ή κεφαλόδεσμο","versionNotSupported":"Η έκδοση του προγράμματος περιήγησής σας δεν υποστηρίζεται","updateBrowser":"Ανανεώστε την έκδοση του προγράμματος περιήγησής σας","onlyPortraitOrientation":"Μόνο κατακόρυφος προσανατολισμός","turnDeviceIntoPortrait":"Παρακαλούμε όπως στρέψετε τη συσκευή σας κατακόρυφα για τη λειτουργία πορτρέτου","licenseError":"Παρουσιάστηκε σφάλμα άδειας χρήσης","licenseExpired":"Η άδεια χρήσης δεν μπορεί να βρεθεί ή έχει λήξει","showOnlyOneFace":"Βεβαιωθείτε ότι υπάρχει μόνο ένα πρόσωπο στην οθόνη","incorrectCameraId":"Δεν βρέθηκε κάμερα με το καθορισμένο ID","checkCameraId":"Ελέγξτε εάν το καθορισμένο ID της κάμερας είναι ορθό","turnHead":"Στρίψτε λίγο το κεφάλι σας","selfieTime":"Ώρα για σέλφι!","centerFaceTurnHead":"Τοποθετήστε το πρόσωπό σας στο κέντρο, στρίψτε το κεφάλι σας","centerFace":"Τοποθετήστε το πρόσωπό σας στο κέντρο","goButton":"Πάμε","fitYourFace":"Τοποθετήστε το πρόσωπό σας στο κέντρο","errorCode":"Κωδικός σφάλματος:","illumination":"Καλός φωτισμός.","cameraLevel":"Κάμερα στο επίπεδο των ματιών.","noAccessories":"Χωρίς αξεσουάρ: γυαλιά, μάσκα, καπέλο κ.α.","getReady":"Ετοιμαστείτε"}'
                    ),
                    Jn = JSON.parse(
                        '{"preparingCamera":"Kamera hazırlanıyor...","noCameraPermission":"Kamera kullanılamıyor","holdSteady":"Sabit durun","processing":"İşleniyor...","lookStraight":"Tam karşıya bakın","moveCloser":"Yakına gelin","moveAway":"Biraz uzaklaşın","retryButtonText":"Yeniden dene","letsTryAgainTitle":"Yeniden deneyelim","followGuidelinesText":"Lütfen bu talimatları izleyin:","allowAccessCamera":"Kamera erişimine izin ver","somethingWentWrong":"Bir hata oluştu","preparingService":"Hizmet hazırlanıyor...","allowAccessToCamera":"Devam etmek için kameraya erişim izni vererek bu sayfayı yeniden yükleyin.","error":"Hata!","tryAgain":"Tekrar deneyin","noCameraAvailable":"Kamera yok","checkCameraConnection":"Kamera bağlantısını kontrol ederek tekrar deneyin","ambientLighting":"Ortam ışığı çok fazla ya da çok az olmamalı, yüzünüzde gölge ya da parlama olmamalıdır","noMaskSunglassesHeaddress":"Nötr bir yüz ifadesi olmalı (gülümsemeyin, gözleriniz açık ve ağzınız kapalı olsun), maske, güneş gözlüğü, başınızda bir aksesuar olmamalıdır","versionNotSupported":"Tarayıcı sürümünüz desteklenmiyor","updateBrowser":"Tarayıcı sürümünüzü güncelleyin","onlyPortraitOrientation":"Yalnızca dikey mod","turnDeviceIntoPortrait":"Lütfen cihazınızı dikey moda alın","licenseError":"Bir lisans hatası oluştu","licenseExpired":"Lisans bulunamadı veya lisansın süresi dolmuş","showOnlyOneFace":"Ekranda sadece tek bir yüz olduğundan emin olun","incorrectCameraId":"Belirtilen kimliğe sahip kamera bulunamadı","checkCameraId":"Belirtilen kamera kimliğini doğruluğunu kontrol edin","turnHead":"Başınızı biraz çevirin","selfieTime":"Selfie zamanı!","centerFaceTurnHead":"Yüzünüzü ortalayın, başınızı çevirin","centerFace":"Yüzünüzü ortalayın","goButton":"Başlayın","fitYourFace":"Yüzünüzü ortalayın","errorCode":"Hata kodu:","illumination":"Aydınlatma iyi.","cameraLevel":"Kamera göz hizasında.","noAccessories":"Aksesuar yok: gözlük, maske, şapka vb.","getReady":"Başlayın"}'
                    ),
                    Zn = JSON.parse(
                        '{"preparingCamera":"カメラ準備中...","noCameraPermission":"カメラは利用できません","holdSteady":"動かないでください","processing":"処理しています...","lookStraight":"視線を真っ直ぐにしてください","moveCloser":"近寄ってください","moveAway":"遠ざかってください","retryButtonText":"リトライ","letsTryAgainTitle":"もう一度やってみましょう","followGuidelinesText":"ですが以下のガイドラインに従ってください：","allowAccessCamera":"カメラへのアクセスを許可","somethingWentWrong":"何らかの問題が発生しました","preparingService":"サービスを準備しています...","allowAccessToCamera":"継続するにはカメラへのアクセスを許可し、ページを再読み込みしてください。","error":"エラー！","tryAgain":"もう一度お試しください","noCameraAvailable":"カメラがありません","checkCameraConnection":"カメラとの接続を確認し、もう一度お試しください。","ambientLighting":"環境光が明るすぎでも暗すぎでもなく、顔に影やグレアがない","noMaskSunglassesHeaddress":"自然な顔を表情(笑顔でなく、目を開き、口を閉じる)、マスクや、サングラス、または帽子なし","versionNotSupported":"ご利用のブラウザのバージョンはサポートされていません","updateBrowser":"ブラウザのバージョンを更新してください","onlyPortraitOrientation":"縦方向のみ","turnDeviceIntoPortrait":"デバイスを縦方向にしてください","licenseError":"ライセンスエラーが発生しました","licenseExpired":"ライセンスがみつからないか有効期限が切れています","showOnlyOneFace":"画面上に顔が1つしか写っていないことをご確認ください","incorrectCameraId":"指定されたIDを持つカメラがみつかりませんでした","checkCameraId":"指定されたカメラIDが正しいかどうかをご確認ください","turnHead":"頭を少し回転させてください","selfieTime":"自撮りしましょう！","centerFaceTurnHead":"顔を中心に配置し、頭を回転させてください","centerFace":"顔を中心に配置してください","goButton":"実行","fitYourFace":"顔を中心に配置してください","errorCode":"エラーコード：","illumination":"良好な照明。","cameraLevel":"目線の高さのカメラ。","noAccessories":"眼鏡、マスク、帽子などのアクセサリーを付けない。","getReady":"準備してください"}'
                    ),
                    qn = JSON.parse(
                        '{"preparingCamera":"Příprava fotoaparátu...","noCameraPermission":"Fotoaparát není k dispozici","holdSteady":"Nehýbejte se","processing":"Zpracovává se...","lookStraight":"Dívejte se zpříma","moveCloser":"Přibližte se","moveAway":"Oddalte se","retryButtonText":"Zkusit znovu","letsTryAgainTitle":"Zkusme to znovu","followGuidelinesText":"Postupujte však podle těchto pokynů:","allowAccessCamera":"Povolte přístup k fotoaparátu","somethingWentWrong":"Něco se pokazilo","preparingService":"Služba se připravuje...","allowAccessToCamera":"Pro pokračování povolte přístup k fotoaparátu a znovu načtěte tuto stránku.","error":"Chyba!","tryAgain":"Zkusit to znovu","noCameraAvailable":"Chybí fotoaparát","checkCameraConnection":"Zkontrolujte připojení k fotoaparátu a zkuste to znovu.","ambientLighting":"Okolní osvětlení by nemělo být příliš jasné či příliš tmavé. Na obličeji by neměly být žádné stíny ani odlesky","noMaskSunglassesHeaddress":"Mějte neutrální výraz v obličeji (bez úsměvu, mějte otevřené oči a zavřená ústa), bez roušky, slunečních brýlí či pokrývky hlavy","versionNotSupported":"Vaše verze prohlížeče není podporována","updateBrowser":"Aktualizujte verzi prohlížeče","onlyPortraitOrientation":"Pouze orientace na výšku","turnDeviceIntoPortrait":"Otočte zařízení tak, aby bylo v režimu na výšku","licenseError":"Došlo k chybě licence","licenseExpired":"Licenci nelze nalézt nebo vypršela její platnost","showOnlyOneFace":"Ujistěte se, že je na obrazovce pouze jeden obličej","incorrectCameraId":"Nebyl nalezen žádný fotoaparát se zadaným ID","checkCameraId":"Zkontrolujte, zda je zadané ID fotoaparátu správné","turnHead":"Trochu pootočte hlavu","selfieTime":"Čas na selfie!","centerFaceTurnHead":"Vycentrujte obličej, otočte hlavu","centerFace":"Vycentrujte obličej","goButton":"Jdeme na to","fitYourFace":"Vycentrujte obličej","errorCode":"Kód chyby:","illumination":"Dobré osvětlení.","cameraLevel":"Fotoaparát v úrovni očí.","noAccessories":"Odložte všechny doplňky: brýle, roušku, klobouk atd.","getReady":"Připravte se"}'
                    ),
                    Xn = JSON.parse(
                        '{"preparingCamera":"กำลังเตรียมกล้องถ่ายรูป...","noCameraPermission":"กล้องถ่ายรูปไม่พร้อมใช้งาน","holdSteady":"จับให้นิ่ง","processing":"กำลังประมวลผล","lookStraight":"มองตรง","moveCloser":"เข้ามาใกล้กว่านี้","moveAway":"ออกไปไกลกว่านี้","retryButtonText":"ลองใหม่","letsTryAgainTitle":"มาลองกันอีกครั้ง","followGuidelinesText":"แต่ขอให้คุณทำตามคำแนะนำ:","allowAccessCamera":"อนุญาตให้เข้าถึงกล้องถ่ายรูป","somethingWentWrong":"มีบางอย่างผิดพลาด","preparingService":"กำลังเตรียมบริการ...","allowAccessToCamera":"โปรดอนุญาตการเข้าถึงกล้องถ่ายรูป และโหลดหน้านี้ใหม่อีกครั้ง จากนั้นจึงดำเนินการต่อ","error":"ผิดพลาด!","tryAgain":"ลองอีกครั้ง","noCameraAvailable":"ไม่มีกล้องถ่ายรูป","checkCameraConnection":"ตรวจสอบการเชื่อมต่อกับกล้องถ่ายรูปแล้วลองใหม่อีกครั้ง","ambientLighting":"แสงจากสภาพแวดล้อมไม่สว่างหรือมืดเกินไป และต้องไม่มีเงา หรือแสงจ้าบนใบหน้าของคุณ","noMaskSunglassesHeaddress":"แสดงอารมณ์บนใบหน้าตามธรรมชาติ (ไม่ยิ้ม เปิดตา และปิดปาก) ไม่ใส่หน้ากาก แว่นกันแดด หรือเครื่องประดับบนศีรษะ","versionNotSupported":"ไม่รองรับเบราว์เซอร์รุ่นที่คุณใช้งาน","updateBrowser":"โปรดอัปเดตรุ่นเบราว์เซอร์ของคุณ","onlyPortraitOrientation":"แนวตั้งเท่านั้น","turnDeviceIntoPortrait":"โปรดปรับอุปกรณ์ของคุณให้เป็นโหมดถ่ายภาพบุคคล","licenseError":"มีข้อผิดพลาดเกี่ยวกับใบอนุญาต","licenseExpired":"ไม่พบใบอนุญาติ หรือใบอนุญาตหมดอายุ","showOnlyOneFace":"ตรวจสอบให้แน่ใจว่ามีเพียงใบหน้าเดียวปรากฏอยู่ที่หน้าจอ","incorrectCameraId":"ไม่พบกล้องที่มี ID ที่ระบุ","checkCameraId":"ตรวจสอบความถูกต้องของ ID กล้องที่ระบุ","turnHead":"หันศีรษะเล็กน้อย","selfieTime":"ได้เวลาเซลฟี่!","centerFaceTurnHead":"จัดใบหน้าให้อยู่ศูนย์กลาง หันศีรษะ","centerFace":"จัดใบหน้าให้อยู่ศูนย์กลาง","goButton":"ไป","fitYourFace":"จัดใบหน้าให้อยู่ศูนย์กลาง","errorCode":"รหัสผิดพลาด:","illumination":"ส่องสว่างดี","cameraLevel":"กล้องระดับสายตา","noAccessories":"ไม่มีอุปกรณ์เสริม: แว่นตา หน้ากาก หมวก เป็นต้น","getReady":"เตรียมพร้อม"}'
                    ),
                    _n = JSON.parse(
                        '{"preparingCamera":"कैमरा तैयार करना...","noCameraPermission":"कैमरा अनुपलब्ध है","holdSteady":"स्थिर पकड़ें","processing":"प्रोसेसिंग...","lookStraight":"सामने देखें","moveCloser":"नजदीक आएं","moveAway":"दूर जाएँ","retryButtonText":"पुनः प्रयास करें","letsTryAgainTitle":"आएं फिर से प्रयास करते हैं","followGuidelinesText":"लेकिन कृपया इन निर्देशों का पालन करें:","allowAccessCamera":"कैमरा को ऐक्सेस करने की अनुमति दें","somethingWentWrong":"कुछ त्रुटि हुई","preparingService":"सेवा तैयार करना...","allowAccessToCamera":"कैमरा को ऐक्सेस करने की अनुमति दें और जारी रखने के लिए इस पृष्ठ को पुनः लोड करें।","error":"त्रुटि!","tryAgain":"पुनः प्रयास करें","noCameraAvailable":"कोई कैमरा नहीं है","checkCameraConnection":"कृपया कैमरा कनेक्शन की जाँच करें और पुनः प्रयास करें।","ambientLighting":"परिवेश प्रकाश बहुत तेज या बहुत डार्क नहीं है और आपके चेहरे पर कोई छाया या चकाचौंध नहीं है","noMaskSunglassesHeaddress":"सामान्य चेहरे की अभिव्यक्ति (मुस्कान नहीं, आंखें खुली और मुंह बंद), कोई मुखौटा, धूप का चश्मा या हेडवियर नहीं","versionNotSupported":"आपका ब्राउज़र संस्करण समर्थित नहीं है","updateBrowser":"अपना ब्राउज़र संस्करण अपडेट करें","onlyPortraitOrientation":"केवल पोर्ट्रेट ओरिएंटेशन","turnDeviceIntoPortrait":"कृपया अपने डिवाइस को पोर्ट्रेट मोड में बदलें","licenseError":"एक लाइसेंस त्रुटि हुई है","licenseExpired":"लाइसेंस नहीं मिला या समाप्त हो गया है","showOnlyOneFace":"सुनिश्चित करें कि स्क्रीन पर केवल एक ही चेहरा हो","incorrectCameraId":"निर्दिष्ट ID वाला कोई कैमरा नहीं मिला","checkCameraId":"जांचें कि निर्दिष्ट कैमरा ID सही है या नहीं","turnHead":"अपना सिर थोड़ा घुमाएं","selfieTime":"सेल्फ़ी टाइम!","centerFaceTurnHead":"अपना चेहरा बीच में करें, अपना सिर घुमाएं","centerFace":"अपना चेहरा बीच में करें","goButton":"ठीक है","fitYourFace":"अपना चेहरा बीच में करें","errorCode":"त्रुटि कोड:","illumination":"अच्छी रोशनी।","cameraLevel":"कैमरा आँख के स्तर पर।","noAccessories":"कोई एक्सेसरीज़ नहीं: चश्मा, मास्क, टोपी, आदि।","getReady":"तैयार हो जाएं"}'
                    ),
                    $n = JSON.parse(
                        '{"preparingCamera":"ক্যামেরা প্রস্তুত করা হচ্ছে...","noCameraPermission":"ক্যামেরা বিদ্যমান নেই","holdSteady":"স্থির থাকুন","processing":"প্রক্রিয়া করা হচ্ছে...","lookStraight":"সোজা তাকান","moveCloser":"কাছে যান","moveAway":"দূরে যান","retryButtonText":"পুনরায় চেষ্টা করুন","letsTryAgainTitle":"আবার চেষ্টা করে দেখুন","followGuidelinesText":"তবে অনুগ্রহপূর্বক নিম্নোক্ত নির্দেশনাবলী অনুসরণ করুন:","allowAccessCamera":"ক্যামেরা অ্যাক্সেস প্রদান করুন","somethingWentWrong":"কিছু একটা ভুল হয়েছে","preparingService":"পরিষেবা প্রস্তুত করা হচ্ছে...","allowAccessToCamera":"ক্যামেরা অ্যাক্সেস প্রদান করুন এবং চালিয়ে যেতে এই পেজটি পুনরায় লোড করুন।","error":"ত্রুটি!","tryAgain":"আবার চেষ্টা করুন","noCameraAvailable":"কোনো ক্যামেরা নেই","checkCameraConnection":"ক্যামেরার সংযোগটি পরীক্ষা করে দেখুন এবং আবার চেষ্টা করুন।","ambientLighting":"পরিবেষ্টিত আলো খুব উজ্জ্বল বা খুব অন্ধকার নয় এবং আপনার মুখে কোন ছায়া বা ঝলক নেই","noMaskSunglassesHeaddress":"নিরপেক্ষ মুখের অভিব্যক্তি (কোন হাসি নেই, চোখ খোলা এবং মুখ বন্ধ), কোন মাস্ক, সানগ্লাস বা হেডওয়্যার নেই","versionNotSupported":"আপনার ব্রাউজারের সংস্করণটি সমর্থিত নয়","updateBrowser":"আপনার ব্রাউজারের সংস্করণ আপডেট করুন","onlyPortraitOrientation":"শুধুমাত্র পোর্ট্রেট অবস্থায়","turnDeviceIntoPortrait":"অনুগ্রহ করে আপনার ডিভাইসটিকে পোর্ট্রেট মোডে রাখুন৷","licenseError":"লাইসেন্স সংক্রান্ত একটি ত্রুটি ঘটেছে","licenseExpired":"লাইসেন্স পাওয়া যায়নি বা মেয়াদ শেষ হয়ে গেছে","showOnlyOneFace":"স্ক্রিনে শুধুমাত্র একটি মুখ রয়েছে তা নিশ্চিত করুন","incorrectCameraId":"নির্দিষ্ট আইডি সহ কোনো ক্যামেরা পাওয়া যায়নি","checkCameraId":"নির্দিষ্ট ক্যামেরা আইডি সঠিক কিনা তা পরীক্ষা করুন","turnHead":"মাথাটা একটু ঘুরান","selfieTime":"সেলফির সময়!","centerFaceTurnHead":"আপনার মুখমন্ডল কেন্দ্রে রাখুন, আপনার মাথা ঘুরান","centerFace":"আপনার মুখমন্ডল কেন্দ্রে রাখুন","goButton":"শুরু করুন","fitYourFace":"আপনার মুখমন্ডল কেন্দ্রে রাখুন","errorCode":"ত্রুটির কোড:","illumination":"ভালো আলোকসজ্জা।","cameraLevel":"চোখের উচ্চতায় ক্যামেরা।","noAccessories":"কোনো জিনিসপত্র ব্যতীত: চশমা, মুখোশ, টুপি, ইত্যাদি","getReady":"প্রস্তুত হোন"}'
                    ),
                    ei = JSON.parse(
                        '{"preparingCamera":"המצלמה בהכנה...","noCameraPermission":"המצלמה לא זמינה","holdSteady":"לא לזוז","processing":"בעיבוד...","lookStraight":"להסתכל קדימה","moveCloser":"להתקרב","moveAway":"להתרחק","retryButtonText":"לנסות שוב","letsTryAgainTitle":"שננסה שוב?","followGuidelinesText":"יש לפעול לפי הנחיות אלה:","allowAccessCamera":"עליך לאפשר גישה למצלמה","somethingWentWrong":"משהו השתבש","preparingService":"מכין את השירות...","allowAccessToCamera":"כדי להמשיך, עליך לאפשר גישה למצלמה ולאחר מכן לטעון מחדש את הדף.","error":"שגיאה","tryAgain":"כדאי לנסות שוב","noCameraAvailable":"אין מצלמה","checkCameraConnection":"יש לבדוק את החיבור למצלמה ולנסות שוב.","ambientLighting":"התאורה הסביבתית לא בהירה או כהה מדי ואין צלליות או אור בוהק על הפנים שלך","noMaskSunglassesHeaddress":"הבעה טבעית של הפנים (לא לחייך, לפקוח עיניים ולסגור את הפה), אין לעטות מסכה, משקפיים או כובע","versionNotSupported":"אין תמיכה בגרסה הנוכחית של הדפדפן","updateBrowser":"יש לעדכן את גרסת הדפדפן","onlyPortraitOrientation":"צילום אנכי בלבד","turnDeviceIntoPortrait":"יש לסובב את המכשיר לצילום אנכי","licenseError":"שגיאת רישיון","licenseExpired":"הרישיון לא נמצא או לא בתוקף","showOnlyOneFace":"יש לוודא שבמסך רואים פנים של אדם אחד בלבד","incorrectCameraId":"לא נמצאה מצלמה עם המזהה שצוין","checkCameraId":"יש לבדוק אם נבחר מזהה המצלמה הנכון","turnHead":"יש להטות קצת את הראש","selfieTime":"זמן לתמונת סלפי!","centerFaceTurnHead":"יש למקם את הפנים במרכז ולהפנות את הראש הצידה","centerFace":"יש למקם את הפנים במרכז","goButton":"שנתחיל?","fitYourFace":"יש למקם את הפנים במרכז","errorCode":"קוד שגיאה:","illumination":"תאורה טובה.","cameraLevel":"מצלמה שמוחזקת בגובה העיניים.","noAccessories":"בלי משקפיים, מסכה, כובע וכו\'","getReady":"שנתחיל?"}'
                    ),
                    ti = JSON.parse(
                        '{"preparingCamera":"Valmistellaan kameraa...","noCameraPermission":"Kamera ei käytettävissä","holdSteady":"Pidä vakaasti","processing":"Käsitellään...","lookStraight":"Katso suoraan eteesi","moveCloser":"Siirry lähemmäs","moveAway":"Siirry kauemmas","retryButtonText":"Yritä uudelleen","letsTryAgainTitle":"Yritetään tätä uudelleen","followGuidelinesText":"Noudata näitä ohjeita:","allowAccessCamera":"Salli kameran käyttö","somethingWentWrong":"Jokin epäonnistui","preparingService":"Valmistellaan palvelua...","allowAccessToCamera":"Jatka sallimalla kameran käyttö ja lataamalla tämä sivu uudelleen.","error":"Virhe!","tryAgain":"Yritä uudelleen!","noCameraAvailable":"Kameraa ei ole","checkCameraConnection":"Tarkista kameran yhteys ja yritä uudelleen.","ambientLighting":"Ympäristön valaistus ei ole liian kirkas tai tumma eikä kasvoissasi ole varjoja tai heijastuksia","noMaskSunglassesHeaddress":"Neutraali ilme (älä hymyile, pidä silmät auki ja suu kiinni), ei maskia, silmälaseja tai päähinettä","versionNotSupported":"Selaimesi versiota ei tueta","updateBrowser":"Päivitä selaimesi versio","onlyPortraitOrientation":"Ainoastaan pystysuunta","turnDeviceIntoPortrait":"Käännä laitteesi pystyasentoon","licenseError":"Järjestelmässä on havaittu lisenssivirhe","licenseExpired":"Lisenssiä ei löydy tai se on vanhentunut","showOnlyOneFace":"Varmista, että ainoastaan yhdet kasvot näkyvät näytössä","incorrectCameraId":"Kameraa, jonka tunniste on määritetty, ei löydy.","checkCameraId":"Tarkista, että määritetty kameran tunniste on oikea","turnHead":"Käännä päätäsi hieman","selfieTime":"Aika ottaa selfie!","centerFaceTurnHead":"Keskitä kasvosi, käännä päätäsi","centerFace":"Keskitä kasvosi","goButton":"Aloita","fitYourFace":"Keskitä kasvosi","errorCode":"Virhekoodi:","illumination":"Hyvä valaistus.","cameraLevel":"Kamera silmän korkeudella.","noAccessories":"Ei asusteita: silmälaseja, maskia, hattua jne.","getReady":"Valmistaudu"}'
                    ),
                    ri = JSON.parse(
                        '{"preparingCamera":"Förbereder kameran...","noCameraPermission":"Kamera ej tillgänglig","holdSteady":"Håll stadigt","processing":"Bearbetar...","lookStraight":"Titta rakt fram","moveCloser":"Flytta närmare","moveAway":"Flytta längre bort","retryButtonText":"Försök igen","letsTryAgainTitle":"Vi försöker igen","followGuidelinesText":"Vänligen följ dessa riktlinjer:","allowAccessCamera":"Ge appen åtkomstbehörighet till kameran","somethingWentWrong":"Ett fel inträffade","preparingService":"Förbereder tjänsten...","allowAccessToCamera":"Ge appen åtkomstbehörighet till kameran och ladda om denna sida för att fortsätta,","error":"Fel!","tryAgain":"Försök igen","noCameraAvailable":"Det finns ingen kamera","checkCameraConnection":"Kontrollera kameraanslutningen och försök igen.","ambientLighting":"Omgivningsbelysningen får inte vara för ljus eller för mörk och det får varken finnas skuggor eller något sken i ansiktet","noMaskSunglassesHeaddress":"Neutralt ansiktsuttryck (varken le eller blunda och stäng munnen), använd varken mask, munskydd, solglasögon eller mössor","versionNotSupported":"Din webbläsarversion stöds inte","updateBrowser":"Uppdatera din webbläsarversion","onlyPortraitOrientation":"Endast porträttläge","turnDeviceIntoPortrait":"Vänd din enhet så att den hamnar i porträttläge","licenseError":"Ett licensfel har inträffat","licenseExpired":"Licensen går antingen inte att hitta eller så har den utgått","showOnlyOneFace":"Säkerställ att det endast finns ett ansikte på skärmen","incorrectCameraId":"Ingen kamera med specificerat ID hittat","checkCameraId":"Kontrollera om det angivna kamera-ID:t är korrekt","turnHead":"Vrid ditt huvud lite","selfieTime":"Dags för en selfie!","centerFaceTurnHead":"Centrera ditt ansikte, vrid ditt huvud","centerFace":"Centrera ditt ansikte","goButton":"Då börjar vi","fitYourFace":"Centrera ditt ansikte","errorCode":"Felkod:","illumination":"Bra belysning.","cameraLevel":"Kamera i ögonhöjd.","noAccessories":"Inga accessoarer: glasögon, masker, mössa, etc.","getReady":"Gör dig redo"}'
                    ),
                    ni = JSON.parse(
                        '{"preparingCamera":"Gør kameraet klar...","noCameraPermission":"Kamera utilgængelig","holdSteady":"Hold den stille","processing":"Behandler...","lookStraight":"Se ligeud","moveCloser":"Flyt tættere på","moveAway":"Flyt længere væk","retryButtonText":"Forsøg igen","letsTryAgainTitle":"Lad os forsøge igen","followGuidelinesText":"Men følg venligst disse retningslinjer:","allowAccessCamera":"Tillad adgang til kamera","somethingWentWrong":"Noget gik galt","preparingService":"Forbereder tjeneste...","allowAccessToCamera":"Tillad adgang til kameraet og opdater denne side for at fortsætte.","error":"Fejl!","tryAgain":"Prøv igen","noCameraAvailable":"Der er intet kamera","checkCameraConnection":"Tjek kameraforbindelsen og prøv igen.","ambientLighting":"Den omgivende belysning er ikke for lys eller mørk, og der er ingen skygger eller genskin på dit ansigt","noMaskSunglassesHeaddress":"Neutralt ansigtsudtryk (ingen smil, åbne øjne og mund lukket), ingen maske, solbriller eller hovedbeklædning","versionNotSupported":"Din browserversion er ikke understøttet","updateBrowser":"Opdater din browserversion","onlyPortraitOrientation":"Kun portrætvisning","turnDeviceIntoPortrait":"Slå venligst portrætvisning til på din enhed","licenseError":"Der er opstået en fejl med licensen","licenseExpired":"Licensen kan ikke findes eller er udløbet","showOnlyOneFace":"Sørg for, der kun er et ansigt på skærmen","incorrectCameraId":"Intet kamera med det specificeret ID fundet","checkCameraId":"Tjek om det specificerede kamera-ID er korrekt","turnHead":"Vend dit hoved en smule","selfieTime":"Selfie tid!","centerFaceTurnHead":"Centrer dit ansigt, vend dit hoved","centerFace":"Centrer dit ansigt","goButton":"Start","fitYourFace":"Centrer dit ansigt","errorCode":"Fejlkode:","illumination":"God belysning.","cameraLevel":"Kamera ved øjenhøjde.","noAccessories":"Intet tilbehør: briller, maske, hat, osv.","getReady":"Gør dig klar"}'
                    ),
                    ii = JSON.parse(
                        '{"preparingCamera":"Priprema kamere...","noCameraPermission":"Kamera nije dostupna","holdSteady":"Držite se mirno","processing":"Obrada...","lookStraight":"Gledajte ravno","moveCloser":"Priđite bliže","moveAway":"Odmaknite se","retryButtonText":"Pokušajte ponovo","letsTryAgainTitle":"Pokušajmo to ponovno","followGuidelinesText":"Slijedite ove smjernice:","allowAccessCamera":"Dopustite pristup kameri","somethingWentWrong":"Nešto je pošlo po zlu","preparingService":"Priprema usluge...","allowAccessToCamera":"Dopustite pristup kameri i ponovno učitajte ovu stranicu za nastavak.","error":"Greška!","tryAgain":"Pokušajte ponovno","noCameraAvailable":"Nema kamere","checkCameraConnection":"Provjerite vezu kamere i pokušajte ponovno.","ambientLighting":"Ambijentalna rasvjeta nije presvijetla ili pretamna i nema sjena ili odsjaja na vašem licu","noMaskSunglassesHeaddress":"Neutralan izraz lica (bez osmijeha, otvorenih očiju i zatvorenih usta), bez maske, sunčanih naočala ili pokrivala za glavu","versionNotSupported":"Vaša verzija preglednika nije podržana","updateBrowser":"Ažurirajte verziju preglednika","onlyPortraitOrientation":"Samo portretna orijentacija","turnDeviceIntoPortrait":"Okrenite svoj uređaj u portretni način rada","licenseError":"Došlo je do pogreške u licenci","licenseExpired":"Licenca se ne može pronaći ili je istekla","showOnlyOneFace":"Provjerite je li na ekranu samo jedno lice","incorrectCameraId":"Nije pronađena kamera s navedenim ID-om","checkCameraId":"Provjerite točnost navedenog ID-a kamere","turnHead":"Okreni malo glavu","selfieTime":"Vrijeme je za selfie!","centerFaceTurnHead":"Centrirajte lice, okrenite glavu","centerFace":"Centrirajte lice","goButton":"Započnimo","fitYourFace":"Centrirajte lice","errorCode":"Kôd greške:","illumination":"Dobro osvjetljenje.","cameraLevel":"Kamera u visini očiju.","noAccessories":"Bez dodataka: naočale, maska, šešir itd.","getReady":"Pripremite se"}'
                    ),
                    ai = JSON.parse(
                        '{"preparingCamera":"Forbereder kameraet...","noCameraPermission":"Kamera utilgjengelig","holdSteady":"Hold stødig","processing":"Behandler...","lookStraight":"Se rett frem","moveCloser":"Kom nærmere","moveAway":"Beveg deg bort","retryButtonText":"Prøv på nytt","letsTryAgainTitle":"La oss prøve igjen","followGuidelinesText":"Men følg disse retningslinjene:","allowAccessCamera":"Gi tilgang til kameraet","somethingWentWrong":"Noe gikk galt","preparingService":"Forbereder tjenesten...","allowAccessToCamera":"Gi tilgang til kameraet og last inn denne siden på nytt for å fortsette.","error":"Feil!","tryAgain":"Prøv igjen","noCameraAvailable":"Ingen kamera tilgjengelig","checkCameraConnection":"Sjekk kameratilkoblingen og prøv igjen.","ambientLighting":"Omgivende lys ikke er for sterkt eller for mørkt, og at det ikke forekommer skygge eller gjenskinn på ansiktet ditt","noMaskSunglassesHeaddress":"Nøytralt ansiktsuttrykk (ingen smil, åpne øyne og munn lukket), ingen maske, solbriller eller hodeplagg","versionNotSupported":"Din nettleserversjon støttes ikke","updateBrowser":"Oppdater nettleserversjonen din","onlyPortraitOrientation":"Kun stående format","turnDeviceIntoPortrait":"Sett enheten i portrettmodus","licenseError":"Det har oppstått en lisensfeil","licenseExpired":"Lisensen finnes ikke eller har utløpt","showOnlyOneFace":"Sørg for at det kun er ett ansikt på skjermen","incorrectCameraId":"Kamera med den spesifikke ID-en ble ikke funnet","checkCameraId":"Sjekk om den spesifikke kamera-ID-en er korrekt","turnHead":"Snu litt på hodet","selfieTime":"Tid for en selfie!","centerFaceTurnHead":"Sentrer ansiktet, snu på hodet","centerFace":"Sentrer ansiktet","goButton":"Gå","fitYourFace":"Sentrer ansiktet","errorCode":"Feilkode:","illumination":"God belysning.","cameraLevel":"Kamera i øyehøyde.","noAccessories":"Ingen tilbehør: briller, maske, lue osv.","getReady":"Gjør deg klar"}'
                    );
                function oi(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function li(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2
                            ? oi(Object(r), !0).forEach(function (t) {
                                  pi(e, t, r[t]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                            : oi(Object(r)).forEach(function (t) {
                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                              });
                    }
                    return e;
                }
                function si(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, Ii(n.key), n);
                    }
                }
                function ui(e) {
                    var t = di();
                    return function () {
                        var r,
                            n = Ci(e);
                        if (t) {
                            var i = Ci(this).constructor;
                            r = Reflect.construct(n, arguments, i);
                        } else r = n.apply(this, arguments);
                        return (function (e, t) {
                            if (t && ("object" == typeof t || "function" == typeof t)) return t;
                            if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined");
                            return ci(e);
                        })(this, r);
                    };
                }
                function ci(e) {
                    if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return e;
                }
                function hi(e) {
                    var t = "function" == typeof Map ? new Map() : void 0;
                    return (
                        (hi = function (e) {
                            if (
                                null === e ||
                                !(function (e) {
                                    try {
                                        return -1 !== Function.toString.call(e).indexOf("[native code]");
                                    } catch (t) {
                                        return "function" == typeof e;
                                    }
                                })(e)
                            )
                                return e;
                            if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function");
                            if (void 0 !== t) {
                                if (t.has(e)) return t.get(e);
                                t.set(e, r);
                            }
                            function r() {
                                return fi(e, arguments, Ci(this).constructor);
                            }
                            return (r.prototype = Object.create(e.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } })), gi(r, e);
                        }),
                        hi(e)
                    );
                }
                function fi(e, t, r) {
                    return (
                        (fi = di()
                            ? Reflect.construct.bind()
                            : function (e, t, r) {
                                  var n = [null];
                                  n.push.apply(n, t);
                                  var i = new (Function.bind.apply(e, n))();
                                  return r && gi(i, r.prototype), i;
                              }),
                        fi.apply(null, arguments)
                    );
                }
                function di() {
                    if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
                    if (Reflect.construct.sham) return !1;
                    if ("function" == typeof Proxy) return !0;
                    try {
                        return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
                    } catch (e) {
                        return !1;
                    }
                }
                function gi(e, t) {
                    return (
                        (gi = Object.setPrototypeOf
                            ? Object.setPrototypeOf.bind()
                            : function (e, t) {
                                  return (e.__proto__ = t), e;
                              }),
                        gi(e, t)
                    );
                }
                function Ci(e) {
                    return (
                        (Ci = Object.setPrototypeOf
                            ? Object.getPrototypeOf.bind()
                            : function (e) {
                                  return e.__proto__ || Object.getPrototypeOf(e);
                              }),
                        Ci(e)
                    );
                }
                function pi(e, t, r) {
                    return (t = Ii(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e;
                }
                function Ii(e) {
                    var t = (function (e, t) {
                        if ("object" != typeof e || null === e) return e;
                        var r = e[Symbol.toPrimitive];
                        if (void 0 !== r) {
                            var n = r.call(e, t || "default");
                            if ("object" != typeof n) return n;
                            throw new TypeError("@@toPrimitive must return a primitive value.");
                        }
                        return ("string" === t ? String : Number)(e);
                    })(e, "string");
                    return "symbol" == typeof t ? t : String(t);
                }
                var mi = W.create("main"),
                    vi = [E.Z, Lt.Z, Ar.Z, a.Z, ar.Z, Ut.Z, gr.Z, c.Z, vn.Z, wn.Z],
                    Ei = Ot({}, vi),
                    yi = (function (r) {
                        !(function (e, t) {
                            if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
                            (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && gi(e, t);
                        })(s, r);
                        var n,
                            i,
                            a,
                            l = ui(s);
                        function s() {
                            var e;
                            return (
                                (function (e, t) {
                                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                                })(this, s),
                                pi(ci((e = l.call(this))), "_root", (0, t.s)(e.attachShadow({ mode: "open" }))),
                                pi(ci(e), "_mounted", !1),
                                pi(ci(e), "_translations", null),
                                e
                            );
                        }
                        return (
                            (n = s),
                            (a = [
                                {
                                    key: "observedAttributes",
                                    get: function () {
                                        return Object.values(kn);
                                    },
                                },
                            ]),
                            (i = [
                                {
                                    key: "onEvent",
                                    value: function (e) {
                                        var t = rt("face-capture", e);
                                        this.dispatchEvent(t), mi("Component event: ".concat(JSON.stringify(t.detail)));
                                    },
                                },
                                {
                                    key: "version",
                                    get: function () {
                                        return "".concat("3.1.0".trim());
                                    },
                                },
                                {
                                    key: "translations",
                                    get: function () {
                                        return this._translations;
                                    },
                                    set: function (e) {
                                        (this._translations = e), this._mounted && this.render();
                                    },
                                },
                                {
                                    key: "settings",
                                    get: function () {
                                        var e = Object.keys(kn),
                                            t = Be.getState();
                                        return [].concat(e, ["customization"]).reduce(function (e, r) {
                                            return li(li({}, e), {}, { [r]: t[r] });
                                        }, {});
                                    },
                                    set: function (e) {
                                        if (0 !== Object.keys(e).length) {
                                            var t = ut(Be.getState(), e);
                                            e.customization && (Ei = Ot(e.customization, vi)),
                                                e.rotationAngle && "number" == typeof e.rotationAngle && (t.rotationAngle = Ft(e.rotationAngle)),
                                                t && Be.setState(t),
                                                this._mounted && this.render();
                                        }
                                    },
                                },
                                {
                                    key: "attributeChangedCallback",
                                    value: function (e) {
                                        var t = this.getAttribute(e),
                                            r = $e(t),
                                            n = {
                                                [kn.locale]: function () {
                                                    t && Be.setState({ locale: t });
                                                },
                                                [kn.copyright]: function () {
                                                    Be.setState({ copyright: r });
                                                },
                                                [kn.debug]: function () {
                                                    Be.setState({ debug: r });
                                                },
                                                [kn.changeCamera]: function () {
                                                    Be.setState({ changeCamera: r });
                                                },
                                                [kn.cameraId]: function () {
                                                    t && Be.setState({ cameraId: t });
                                                },
                                                [kn.closeDisabled]: function () {
                                                    Be.setState({ closeDisabled: r });
                                                },
                                                [kn.startScreen]: function () {
                                                    Be.setState({ startScreen: r });
                                                },
                                                [kn.finishScreen]: function () {
                                                    Be.setState({ finishScreen: r });
                                                },
                                            };
                                        n[e] && n[e](), this._mounted && this.render();
                                    },
                                },
                                {
                                    key: "connectedCallback",
                                    value: function () {
                                        console.info("[FaceDetection] Passing parameters via attributes is deprecated. In future versions, support will be discontinued. Please use the settings");
                                        var e = {
                                            onEvent: this.onEvent.bind(this),
                                            url: this.getAttribute("url") || void 0,
                                            debug: $e(this.getAttribute("debug")),
                                            locale: this.getAttribute("locale") || "en",
                                            copyright: $e(this.getAttribute("copyright")),
                                            cameraId: this.getAttribute("camera-id") || void 0,
                                            changeCamera: $e(this.getAttribute("change-camera")),
                                            closeDisabled: $e(this.getAttribute("close-disabled")),
                                            finishScreen: $e(this.getAttribute("finish-screen")),
                                        };
                                        Be.setState(li({}, e)), Be.setState({ faceSnapshot: !0 }), this.render(), (this._mounted = !0), this.onEvent({ action: G.ELEMENT_VISIBLE, data: null });
                                    },
                                },
                                {
                                    key: "render",
                                    value: function () {
                                        this._root.render(
                                            (0, o.jsxs)(o.Fragment, {
                                                children: [(0, o.jsx)("style", { nonce: Be.getState().nonce, children: Ei }), (0, o.jsx)(bn, { locale: Be.getState().locale, dictionaries: e, translations: this._translations || void 0 })],
                                            })
                                        );
                                    },
                                },
                                {
                                    key: "disconnectedCallback",
                                    value: function () {
                                        var e = this;
                                        setTimeout(function () {
                                            Be.getState().resetAttributes(), Be.getState().resetProps(), e._root.unmount();
                                        }),
                                            W.saveLogs();
                                    },
                                },
                            ]) && si(n.prototype, i),
                            a && si(n, a),
                            Object.defineProperty(n, "prototype", { writable: !1 }),
                            s
                        );
                    })(hi(HTMLElement));
                function wi(e, t) {
                    return (
                        (function (e) {
                            if (Array.isArray(e)) return e;
                        })(e) ||
                        (function (e, t) {
                            var r = null == e ? null : ("undefined" != typeof Symbol && e[Symbol.iterator]) || e["@@iterator"];
                            if (null != r) {
                                var n,
                                    i,
                                    a,
                                    o,
                                    l = [],
                                    s = !0,
                                    u = !1;
                                try {
                                    if (((a = (r = r.call(e)).next), 0 === t)) {
                                        if (Object(r) !== r) return;
                                        s = !1;
                                    } else for (; !(s = (n = a.call(r)).done) && (l.push(n.value), l.length !== t); s = !0);
                                } catch (e) {
                                    (u = !0), (i = e);
                                } finally {
                                    try {
                                        if (!s && null != r.return && ((o = r.return()), Object(o) !== o)) return;
                                    } finally {
                                        if (u) throw i;
                                    }
                                }
                                return l;
                            }
                        })(e, t) ||
                        (function (e, t) {
                            if (!e) return;
                            if ("string" == typeof e) return Ai(e, t);
                            var r = Object.prototype.toString.call(e).slice(8, -1);
                            "Object" === r && e.constructor && (r = e.constructor.name);
                            if ("Map" === r || "Set" === r) return Array.from(e);
                            if ("Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Ai(e, t);
                        })(e, t) ||
                        (function () {
                            throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                        })()
                    );
                }
                function Ai(e, t) {
                    (null == t || t > e.length) && (t = e.length);
                    for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
                    return n;
                }
                var Si = et(Ct)(function (e) {
                    var t = e.direction,
                        r = Be(),
                        n = r.setAbortProcess,
                        a = r.setAbortSessionStatus,
                        l = r.images,
                        s = r.abortSessionStatus,
                        u = r.abortProcess,
                        c = r.transactionId,
                        h = r.publicKey,
                        f = r.onEvent,
                        d = r.url,
                        g = r.debug,
                        p = r.headers,
                        I = r.tag,
                        m = r.startScreen,
                        E = void 0 === m || m,
                        y = r.deviceOrientation,
                        w = void 0 !== y && y,
                        A = r.retryCount,
                        S = void 0 === A ? -1 : A,
                        b = r.completionStatus,
                        Q = r.setCompletionStatus,
                        k = r.onRestart,
                        x = r.request,
                        O = r.setResponse,
                        B = r.onRotateDevice,
                        F = r.onError,
                        L = v(),
                        j = L.orientation,
                        W = L.isLandscape,
                        Y = wi((0, C.useState)(!1), 2),
                        D = Y[0],
                        P = Y[1],
                        N = (0, C.useRef)(!0),
                        V = (0, C.useCallback)(
                            function () {
                                b === U.CAPTURING && c ? (n(!0), a(M.CLOSE_BUTTON)) : (n(!1), Q(E ? U.INSTRUCTION : U.FAILED)), P(!0);
                            },
                            [b, c]
                        );
                    return (
                        (0, C.useEffect)(function () {
                            return (
                                E || Q(U.CAPTURING),
                                w && i.tq && !rn.initialized && rn.init(g),
                                function () {
                                    Zr.abortLivenessRequest(), i.tq && rn.initialized && rn.shutdown();
                                }
                            );
                        }, []),
                        (0, C.useEffect)(
                            function () {
                                0 === S && ((b !== U.CAPTURING && b !== U.INSTRUCTION) || (f({ action: G.RETRY_COUNTER_EXCEEDED, data: null }), Q(U.RESTART)));
                            },
                            [S, b]
                        ),
                        (0, C.useEffect)(
                            function () {
                                if (b === U.PROCESSING_REQUEST) {
                                    if (!x) return;
                                    Zr.getLivenessDetectionResult(x, { transactionId: c, backendURL: d, publicKey: h })
                                        .then(function (e) {
                                            var t;
                                            O(e), Q(e.status === K.Finished ? U.SUCCESS : U.FAILED);
                                            var r = {
                                                code: e.code,
                                                metadata: e.metadata,
                                                status: e.status,
                                                transactionId: e.transactionId,
                                                estimatedAge: (e.age && Array.isArray(e.age) && (null === (t = e.age[0]) || void 0 === t ? void 0 : t.pred)) || null,
                                                images: l,
                                                tag: I,
                                            };
                                            f({ action: G.PROCESS_FINISHED, data: { status: le.OK, response: r } });
                                        })
                                        .catch(function (e) {
                                            "AbortError" !== (null == e ? void 0 : e.name) && (Q(U.UNKNOWN_ERROR), f({ action: G.PROCESS_FINISHED, data: { status: le.ERROR, reason: R.CONNECTION_ERROR } }));
                                        });
                                }
                                if (kt(b, s) && x) {
                                    if (b === U.ABORT_PROCESSING) {
                                        var e = i.UA && W;
                                        k(e), n(!1);
                                    }
                                    Zr.sendLivenessAbortedResult(x, { transactionId: c, backendURL: d, publicKey: h }).finally(function () {
                                        a(null);
                                    });
                                }
                            },
                            [b, x, d, c]
                        ),
                        (0, C.useEffect)(
                            function () {
                                !u && D && (Zr.abortLivenessRequest(), f({ action: G.CLOSE, data: null }), P(!1));
                            },
                            [D, u]
                        ),
                        (0, C.useEffect)(
                            function () {
                                Zr.provideHeaders(p);
                            },
                            [p]
                        ),
                        (0, C.useEffect)(
                            function () {
                                if (i.tq) {
                                    var e = i.UA && W;
                                    if (N.current) return (N.current = !1), void (e && Q(U.RESTART));
                                    B(e, i.Em);
                                }
                            },
                            [W, j]
                        ),
                        (0, o.jsx)(St, { onError: F, supportedBrowserVersions: H, children: (0, o.jsx)(Fe, { onClose: V, direction: t, children: (0, o.jsx)(Sn, {}) }) })
                    );
                });
                function bi(e, t) {
                    var r = Object.keys(e);
                    if (Object.getOwnPropertySymbols) {
                        var n = Object.getOwnPropertySymbols(e);
                        t &&
                            (n = n.filter(function (t) {
                                return Object.getOwnPropertyDescriptor(e, t).enumerable;
                            })),
                            r.push.apply(r, n);
                    }
                    return r;
                }
                function Qi(e) {
                    for (var t = 1; t < arguments.length; t++) {
                        var r = null != arguments[t] ? arguments[t] : {};
                        t % 2
                            ? bi(Object(r), !0).forEach(function (t) {
                                  Ri(e, t, r[t]);
                              })
                            : Object.getOwnPropertyDescriptors
                            ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r))
                            : bi(Object(r)).forEach(function (t) {
                                  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(r, t));
                              });
                    }
                    return e;
                }
                function ki(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1), (n.configurable = !0), "value" in n && (n.writable = !0), Object.defineProperty(e, Yi(n.key), n);
                    }
                }
                function xi(e) {
                    var t = Li();
                    return function () {
                        var r,
                            n = Wi(e);
                        if (t) {
                            var i = Wi(this).constructor;
                            r = Reflect.construct(n, arguments, i);
                        } else r = n.apply(this, arguments);
                        return (function (e, t) {
                            if (t && ("object" == typeof t || "function" == typeof t)) return t;
                            if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined");
                            return Oi(e);
                        })(this, r);
                    };
                }
                function Oi(e) {
                    if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return e;
                }
                function Bi(e) {
                    var t = "function" == typeof Map ? new Map() : void 0;
                    return (
                        (Bi = function (e) {
                            if (
                                null === e ||
                                !(function (e) {
                                    try {
                                        return -1 !== Function.toString.call(e).indexOf("[native code]");
                                    } catch (t) {
                                        return "function" == typeof e;
                                    }
                                })(e)
                            )
                                return e;
                            if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function");
                            if (void 0 !== t) {
                                if (t.has(e)) return t.get(e);
                                t.set(e, r);
                            }
                            function r() {
                                return Fi(e, arguments, Wi(this).constructor);
                            }
                            return (r.prototype = Object.create(e.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } })), ji(r, e);
                        }),
                        Bi(e)
                    );
                }
                function Fi(e, t, r) {
                    return (
                        (Fi = Li()
                            ? Reflect.construct.bind()
                            : function (e, t, r) {
                                  var n = [null];
                                  n.push.apply(n, t);
                                  var i = new (Function.bind.apply(e, n))();
                                  return r && ji(i, r.prototype), i;
                              }),
                        Fi.apply(null, arguments)
                    );
                }
                function Li() {
                    if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
                    if (Reflect.construct.sham) return !1;
                    if ("function" == typeof Proxy) return !0;
                    try {
                        return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
                    } catch (e) {
                        return !1;
                    }
                }
                function ji(e, t) {
                    return (
                        (ji = Object.setPrototypeOf
                            ? Object.setPrototypeOf.bind()
                            : function (e, t) {
                                  return (e.__proto__ = t), e;
                              }),
                        ji(e, t)
                    );
                }
                function Wi(e) {
                    return (
                        (Wi = Object.setPrototypeOf
                            ? Object.getPrototypeOf.bind()
                            : function (e) {
                                  return e.__proto__ || Object.getPrototypeOf(e);
                              }),
                        Wi(e)
                    );
                }
                function Ri(e, t, r) {
                    return (t = Yi(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (e[t] = r), e;
                }
                function Yi(e) {
                    var t = (function (e, t) {
                        if ("object" != typeof e || null === e) return e;
                        var r = e[Symbol.toPrimitive];
                        if (void 0 !== r) {
                            var n = r.call(e, t || "default");
                            if ("object" != typeof n) return n;
                            throw new TypeError("@@toPrimitive must return a primitive value.");
                        }
                        return ("string" === t ? String : Number)(e);
                    })(e, "string");
                    return "symbol" == typeof t ? t : String(t);
                }
                var Di = W.create("main"),
                    Ki = [E.Z, Lt.Z, Ar.Z, a.Z, ar.Z, Ut.Z, gr.Z, c.Z, vn.Z, wn.Z],
                    Pi = Ot({}, Ki),
                    Gi = (function (r) {
                        !(function (e, t) {
                            if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
                            (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && ji(e, t);
                        })(s, r);
                        var n,
                            i,
                            a,
                            l = xi(s);
                        function s() {
                            var e;
                            return (
                                (function (e, t) {
                                    if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                                })(this, s),
                                Ri(Oi((e = l.call(this))), "_root", (0, t.s)(e.attachShadow({ mode: "open" }))),
                                Ri(Oi(e), "_mounted", !1),
                                Ri(Oi(e), "_translations", null),
                                e
                            );
                        }
                        return (
                            (n = s),
                            (a = [
                                {
                                    key: "observedAttributes",
                                    get: function () {
                                        return Object.values(Qn);
                                    },
                                },
                            ]),
                            (i = [
                                {
                                    key: "onEvent",
                                    value: function (e) {
                                        var t = rt("face-liveness", e);
                                        this.dispatchEvent(t), Di("Component event: ".concat(JSON.stringify(t.detail)));
                                    },
                                },
                                {
                                    key: "attributeChangedCallback",
                                    value: function (e) {
                                        var t = this.getAttribute(e),
                                            r = $e(t),
                                            n = {
                                                [Qn.locale]: function () {
                                                    t && Be.setState({ locale: t });
                                                },
                                                [Qn.url]: function () {
                                                    t && Be.setState({ url: t });
                                                },
                                                [Qn.copyright]: function () {
                                                    Be.setState({ copyright: r });
                                                },
                                                [Qn.debug]: function () {
                                                    Be.setState({ debug: r });
                                                },
                                                [Qn.changeCamera]: function () {
                                                    Be.setState({ changeCamera: r });
                                                },
                                                [Qn.cameraId]: function () {
                                                    t && Be.setState({ cameraId: t });
                                                },
                                                [Qn.closeDisabled]: function () {
                                                    Be.setState({ closeDisabled: r });
                                                },
                                                [Qn.startScreen]: function () {
                                                    Be.setState({ startScreen: r });
                                                },
                                                [Qn.finishScreen]: function () {
                                                    Be.setState({ finishScreen: r });
                                                },
                                                [Qn.deviceOrientation]: function () {
                                                    Be.setState({ deviceOrientation: r });
                                                },
                                            };
                                        n[e] && n[e](), this._mounted && this.render();
                                    },
                                },
                                {
                                    key: "connectedCallback",
                                    value: function () {
                                        console.info("[FaceLiveness] Passing parameters via attributes is deprecated. In future versions, support will be discontinued. Please use the settings");
                                        var e = {
                                            onEvent: this.onEvent.bind(this),
                                            url: this.getAttribute("url") || void 0,
                                            debug: $e(this.getAttribute("debug")),
                                            locale: this.getAttribute("locale") || "en",
                                            headers: {},
                                            tag: "",
                                            retryCount: -1,
                                            copyright: $e(this.getAttribute("copyright")),
                                            startScreen: $e(this.getAttribute("start-screen")),
                                            cameraId: this.getAttribute("camera-id") || void 0,
                                            changeCamera: $e(this.getAttribute("change-camera")),
                                            deviceOrientation: $e(this.getAttribute("device-orientation")),
                                            closeDisabled: $e(this.getAttribute("close-disabled")),
                                            finishScreen: $e(this.getAttribute("finish-screen")),
                                        };
                                        Be.setState(Qi({}, e)), this.render(), (this._mounted = !0), this.onEvent({ action: G.ELEMENT_VISIBLE, data: null });
                                    },
                                },
                                {
                                    key: "version",
                                    get: function () {
                                        return "".concat("3.1.0".trim());
                                    },
                                },
                                {
                                    key: "translations",
                                    get: function () {
                                        return this._translations;
                                    },
                                    set: function (e) {
                                        (this._translations = e), this._mounted && this.render();
                                    },
                                },
                                {
                                    key: "settings",
                                    get: function () {
                                        var e = Object.keys(Qn),
                                            t = Be.getState();
                                        return [].concat(e, ["retryCount", "headers", "tag", "customization", "recordingProcess", "livenessType"]).reduce(function (e, r) {
                                            return Qi(Qi({}, e), {}, { [r]: t[r] });
                                        }, {});
                                    },
                                    set: function (e) {
                                        if (0 !== Object.keys(e).length) {
                                            var t = Be.getState(),
                                                r = Object.assign({}, e);
                                            r && "number" == typeof r.retryCount && r.retryCount <= 0 && (r.retryCount = -1),
                                                r && e.rotationAngle && "number" == typeof e.rotationAngle && (r.rotationAngle = Ft(e.rotationAngle)),
                                                r.customization && (Pi = Ot(r.customization, Ki));
                                            var n = ut(t, r);
                                            n && Be.setState(n), this._mounted && this.render();
                                        }
                                    },
                                },
                                {
                                    key: "render",
                                    value: function () {
                                        this._root.render(
                                            (0, o.jsxs)(o.Fragment, {
                                                children: [(0, o.jsx)("style", { nonce: Be.getState().nonce, children: Pi }), (0, o.jsx)(Si, { locale: Be.getState().locale, dictionaries: e, translations: this._translations || void 0 })],
                                            })
                                        );
                                    },
                                },
                                {
                                    key: "disconnectedCallback",
                                    value: function () {
                                        var e = this;
                                        setTimeout(function () {
                                            Be.getState().resetAttributes(), Be.getState().resetProps(), e._root.unmount();
                                        }),
                                            W.saveLogs();
                                    },
                                },
                            ]) && ki(n.prototype, i),
                            a && ki(n, a),
                            Object.defineProperty(n, "prototype", { writable: !1 }),
                            s
                        );
                    })(Bi(HTMLElement));
                function Mi(e, t) {
                    for (var r = 0; r < t.length; r++) {
                        var n = t[r];
                        (n.enumerable = n.enumerable || !1),
                            (n.configurable = !0),
                            "value" in n && (n.writable = !0),
                            Object.defineProperty(
                                e,
                                ((i = n.key),
                                (a = void 0),
                                "symbol" ==
                                typeof (a = (function (e, t) {
                                    if ("object" != typeof e || null === e) return e;
                                    var r = e[Symbol.toPrimitive];
                                    if (void 0 !== r) {
                                        var n = r.call(e, t || "default");
                                        if ("object" != typeof n) return n;
                                        throw new TypeError("@@toPrimitive must return a primitive value.");
                                    }
                                    return ("string" === t ? String : Number)(e);
                                })(i, "string"))
                                    ? a
                                    : String(a)),
                                n
                            );
                    }
                    var i, a;
                }
                function Ui(e) {
                    var t = Ti();
                    return function () {
                        var r,
                            n = zi(e);
                        if (t) {
                            var i = zi(this).constructor;
                            r = Reflect.construct(n, arguments, i);
                        } else r = n.apply(this, arguments);
                        return (function (e, t) {
                            if (t && ("object" == typeof t || "function" == typeof t)) return t;
                            if (void 0 !== t) throw new TypeError("Derived constructors may only return object or undefined");
                            return (function (e) {
                                if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                                return e;
                            })(e);
                        })(this, r);
                    };
                }
                function Ni(e) {
                    var t = "function" == typeof Map ? new Map() : void 0;
                    return (
                        (Ni = function (e) {
                            if (
                                null === e ||
                                !(function (e) {
                                    try {
                                        return -1 !== Function.toString.call(e).indexOf("[native code]");
                                    } catch (t) {
                                        return "function" == typeof e;
                                    }
                                })(e)
                            )
                                return e;
                            if ("function" != typeof e) throw new TypeError("Super expression must either be null or a function");
                            if (void 0 !== t) {
                                if (t.has(e)) return t.get(e);
                                t.set(e, r);
                            }
                            function r() {
                                return Vi(e, arguments, zi(this).constructor);
                            }
                            return (r.prototype = Object.create(e.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } })), Hi(r, e);
                        }),
                        Ni(e)
                    );
                }
                function Vi(e, t, r) {
                    return (
                        (Vi = Ti()
                            ? Reflect.construct.bind()
                            : function (e, t, r) {
                                  var n = [null];
                                  n.push.apply(n, t);
                                  var i = new (Function.bind.apply(e, n))();
                                  return r && Hi(i, r.prototype), i;
                              }),
                        Vi.apply(null, arguments)
                    );
                }
                function Ti() {
                    if ("undefined" == typeof Reflect || !Reflect.construct) return !1;
                    if (Reflect.construct.sham) return !1;
                    if ("function" == typeof Proxy) return !0;
                    try {
                        return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})), !0;
                    } catch (e) {
                        return !1;
                    }
                }
                function Hi(e, t) {
                    return (
                        (Hi = Object.setPrototypeOf
                            ? Object.setPrototypeOf.bind()
                            : function (e, t) {
                                  return (e.__proto__ = t), e;
                              }),
                        Hi(e, t)
                    );
                }
                function zi(e) {
                    return (
                        (zi = Object.setPrototypeOf
                            ? Object.getPrototypeOf.bind()
                            : function (e) {
                                  return e.__proto__ || Object.getPrototypeOf(e);
                              }),
                        zi(e)
                    );
                }
                var Ji = (function (e) {
                        !(function (e, t) {
                            if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function");
                            (e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } })), Object.defineProperty(e, "prototype", { writable: !1 }), t && Hi(e, t);
                        })(a, e);
                        var t,
                            r,
                            n,
                            i = Ui(a);
                        function a() {
                            var e;
                            !(function (e, t) {
                                if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
                            })(this, a),
                                ((e = i.call(this))._root = e.attachShadow({ mode: "open" }));
                            var t =
                                "\n            display: block;\n            position: fixed;\n            height: 100%;\n            width: 100%;\n            top: 0;\n            left: 0;\n            overflow: auto;\n            z-index: 100;\n        ";
                            return (
                                (e._root.innerHTML = "\n            <style>\n            *, *::before, *::after {\n                box-sizing: border-box;\n            }\n            :host {\n                "
                                    .concat(t, ";\n            }\n            fullscreen-container {\n                ")
                                    .concat(t, ";\n            }\n            </style>\n            <slot />\n        ")),
                                e
                            );
                        }
                        return (t = a), r && Mi(t.prototype, r), n && Mi(t, n), Object.defineProperty(t, "prototype", { writable: !1 }), t;
                    })(Ni(HTMLElement)),
                    Zi = window.customElements.get("face-capture"),
                    qi = window.customElements.get("face-liveness"),
                    Xi = window.customElements.get("fullscreen-container");
                Zi || window.customElements.define("face-capture", yi), qi || window.customElements.define("face-liveness", Gi), Xi || window.customElements.define("fullscreen-container", Ji);
            })(),
            n
        );
    })();
});
