const __vite__mapDeps = (i, m = __vite__mapDeps, d = (m.f || (m.f = ["static/DdtZUR-MmT.js", "static/DS1AgtkwCK.js", "static/C_kC1clfSK.js", "static/L_15bqAsRv.js", "static/CGShjQhLOb.js", "static/Cb-E5b9Cpa.js", "static/DTXuh7GGDV.js", "static/DidVVzE3R6.js", "static/DoyCbbk9g1.js", "static/C8xVwo073p.css", "static/DaeJ4YIGPm.js", "static/_p1BdQwe1L.js", "static/BX9BFw3PsH.css", "static/Jov99febSO.css", "static/CdgtFt0ubg.js", "static/Dz67zTPqnS.js", "static/fA6J0IrOcB.js", "static/Botdnm6OkV.js", "static/BWx4ZuX5lD.js", "static/1QMhk_NG9q.css", "static/BU2K7qqXIe.css", "static/_S9MX7DsCt.css", "static/Btq0LnSr95.js", "static/BBhpnxof8t.js", "static/DBSDvGQhVJ.js", "static/De_M7uH0yx.css", "static/B5MTgWMHm6.js", "static/Dl0ATMOy-l.css", "static/BEZ25115DR.js", "static/DMLvsgDXH4.js", "static/DTBUaR9HbG.css", "static/D6VKWRFmmP.js", "static/DnBrFchLec.js", "static/B1i8E4j-pj.js", "static/BWbUgYetRv.css", "static/CNM2m0Wmma.js", "static/CrNXhqczkA.js", "static/z_yZpjcvvu.js", "static/CVkb7F5y7R.js", "static/hKrW7AhsQn.js", "static/CCXSGQJA_d.js", "static/afXaLyw-D8.js", "static/9dWNNV5ZwJ.css", "static/hKhHChBvWf.js", "static/C2AsCyLWQw.js", "static/Si01w2rIuG.js", "static/-TbE6ZN6AH.js", "static/CoWOfrG182.js", "static/DeIUvr4tMu.css", "static/CccLsggaTF.css", "static/Cn74X5VvUV.js", "static/D40mOQyBVz.js", "static/DU6Yj97_XR.css", "static/D2ndX3jWCw.js", "static/DjC3aGzWOX.js", "static/5UAlb4QGad.js", "static/C9mc0WIJrC.js", "static/m6-jEcIG6m.css", "static/Cm35SO0WQs.css", "static/WvuoBMEAhm.js", "static/CTF0829yDE.js", "static/DQ2pUvSF1v.js", "static/BnADvpgwzR.css", "static/DQywtww9kG.css", "static/NzGRAMD1EL.js", "static/Bu3OJk16dn.js", "static/joSaOM0fyb.js", "static/Bk7NHmXT8p.js", "static/Dw238alQtP.js", "static/Cd3EJgH8YI.js", "static/pMzdlwrDub.js", "static/BbwrDuKmkt.js", "static/CEUHSatbD0.js", "static/BjBV-z0NGR.js", "static/z74Jg5cY62.js", "static/CEUm8GMWlL.js", "static/CJIYmsi7T0.js", "static/VqTqWkGOiI.js", "static/YIWqX4jq3Y.js", "static/CrbGPeDBts.js", "static/SsTHRxAQaP.js", "static/BxCTKkk_aX.css", "static/LA2CnMwKqx.js", "static/CzsEYDve3I.js", "static/CZYUVX_3Lt.js", "static/BlOpu6IRE9.css", "static/BIzAgfh2Qw.js", "static/PxH1suRZJa.js", "static/BOrJN1Ew8-.js", "static/B4SVuPTv-7.js", "static/BBK8X1QtBk.js", "static/BQRZrzwJwC.css", "static/BQlUowgk6d.js", "static/Buv5cDCDDW.css", "static/9S_6Oc1oh5.js", "static/CIm0gKW4Wk.js", "static/bPe6269j-I.css", "static/BEGziRYdqn.js", "static/qZNjh-G-2L.js", "static/zBouQh6KBe.js", "static/C4MUGbLOTA.js", "static/CltfbkeUQz.css", "static/DclbQtPC1o.js", "static/CgdXor_Q73.js", "static/PBYnd-8g7g.js", "static/BmjeFwyfub.js", "static/__yizaLMlm.js", "static/BefcMRU_eu.css", "static/DeNTdb8aqA.js", "static/jpkJldBgzL.js", "static/DqyyrKcaOP.css", "static/FF_Svyg32Y.js", "static/Vcq4gwWvE_.js", "static/zgPUlAA4T5.js", "static/IG3oyCJiSb.js", "static/DLEJTfsnBR.js", "static/CkLNg_KT7M.css", "static/BUqTkTdIEK.js", "static/BLIMZPWjyS.js", "static/DnyGHOw0t8.js", "static/ClMWlNVw6I.css", "static/ByLAYaBHjX.css", "static/CX3H8-CwFX.css", "static/Cjf1eaDWcQ.js", "static/iKSRBJp4Pj.js", "static/DJtHRfcePv.css", "static/1zm2KpCDlB.js", "static/D4mfJKuUaC.css", "static/Dk2PrJknKw.js", "static/BbcHczvofR.js", "static/BgKKHOb-tH.js", "static/CCp-8vjshJ.js", "static/BZPpvEZPW2.js", "static/CkMbZtF6M8.js", "static/Cc84Aiyh2c.css", "static/DbTngGQHJI.js", "static/D66xJBR5vk.js", "static/fih_D3fOGc.css", "static/B5fOSAxbDh.css", "static/CJoc17pLZ8.js", "static/BXOTrjUPKH.css", "static/D34MfM3lFx.js", "static/BPd1I7cEhv.js", "static/BbBajR-l4K.js", "static/DsMOlQO_AF.js", "static/DCgmkD5PgF.js", "static/BWox_v2sgF.css", "static/Bz06DeVpPl.js", "static/mkW61XWkHd.css", "static/0Qgg2egARN.js", "static/CJGYUEVAIN.js", "static/EuGrANeGAL.css", "static/iDHK_aSpSD.js", "static/BN5n_782hJ.js", "static/CcFh4jCko7.css", "static/DnwOP9ek-D.css", "static/D2pAMXzmCg.js", "static/D-O1XXrReM.js", "static/BENqs9itGX.css", "static/D718I69By2.js", "static/bY38cnM97C.css", "static/D_wfOWap7C.js", "static/9JPFUdLKr9.css", "static/DY0WADkvWu.js", "static/BtYQap4rWR.css", "static/6HSpWR_4Zm.js", "static/Ch12ys5HAK.js", "static/DzgR0U-0S3.js", "static/CJQAIihRej.js", "static/D88nRrsY0e.js"]))) => i.map(i => d[i]);
var _k = e => {
	throw TypeError(e)
};
var bk = (e, t, n) => t.has(e) || _k("Cannot " + n);
var pt = (e, t, n) => (bk(e, t, "read from private field"), n ? n.call(e) : t.get(e)),
	_a = (e, t, n) => t.has(e) ? _k("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n),
	oi = (e, t, n, r) => (bk(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);

function vot() {
	import.meta.url, import("_").catch(() => 1), async function*() {}().next()
}

function kse(e, t) {
	for (var n = 0; n < t.length; n++) {
		const r = t[n];
		if (typeof r != "string" && !Array.isArray(r)) {
			for (const i in r)
				if (i !== "default" && !(i in e)) {
					const o = Object.getOwnPropertyDescriptor(r, i);
					o && Object.defineProperty(e, i, o.get ? o : {
						enumerable: !0,
						get: () => r[i]
					})
				}
		}
	}
	return Object.freeze(Object.defineProperty(e, Symbol.toStringTag, {
		value: "Module"
	}))
}(function() {
	const t = document.createElement("link").relList;
	if (t && t.supports && t.supports("modulepreload")) return;
	for (const i of document.querySelectorAll('link[rel="modulepreload"]')) r(i);
	new MutationObserver(i => {
		for (const o of i)
			if (o.type === "childList")
				for (const a of o.addedNodes) a.tagName === "LINK" && a.rel === "modulepreload" && r(a)
	}).observe(document, {
		childList: !0,
		subtree: !0
	});

	function n(i) {
		const o = {};
		return i.integrity && (o.integrity = i.integrity), i.referrerPolicy && (o.referrerPolicy = i.referrerPolicy), i.crossOrigin === "use-credentials" ? o.credentials = "include" : i.crossOrigin === "anonymous" ? o.credentials = "omit" : o.credentials = "same-origin", o
	}

	function r(i) {
		if (i.ep) return;
		i.ep = !0;
		const o = n(i);
		fetch(i.href, o)
	}
})();
var me = typeof globalThis < "u" ? globalThis : typeof window < "u" || typeof window < "u" ? window : typeof self < "u" ? self : {};

function Et(e) {
	return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e
}

function hj(e) {
	if (e.__esModule) return e;
	var t = e.default;
	if (typeof t == "function") {
		var n = function r() {
			return this instanceof r ? Reflect.construct(t, arguments, this.constructor) : t.apply(this, arguments)
		};
		n.prototype = t.prototype
	} else n = {};
	return Object.defineProperty(n, "__esModule", {
		value: !0
	}), Object.keys(e).forEach(function(r) {
		var i = Object.getOwnPropertyDescriptor(e, r);
		Object.defineProperty(n, r, i.get ? i : {
			enumerable: !0,
			get: function() {
				return e[r]
			}
		})
	}), n
}
var vj = {
		exports: {}
	},
	S_ = {},
	gj = {
		exports: {}
	},
	lt = {};
/**
 * @license React
 * react.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var _1 = Symbol.for("react.element"),
	Ase = Symbol.for("react.portal"),
	Mse = Symbol.for("react.fragment"),
	Pse = Symbol.for("react.strict_mode"),
	Lse = Symbol.for("react.profiler"),
	Nse = Symbol.for("react.provider"),
	Dse = Symbol.for("react.context"),
	$se = Symbol.for("react.forward_ref"),
	Fse = Symbol.for("react.suspense"),
	jse = Symbol.for("react.memo"),
	Use = Symbol.for("react.lazy"),
	Sk = Symbol.iterator;

function Hse(e) {
	return e === null || typeof e != "object" ? null : (e = Sk && e[Sk] || e["@@iterator"], typeof e == "function" ? e : null)
}
var mj = {
		isMounted: function() {
			return !1
		},
		enqueueForceUpdate: function() {},
		enqueueReplaceState: function() {},
		enqueueSetState: function() {}
	},
	yj = Object.assign,
	wj = {};

function ah(e, t, n) {
	this.props = e, this.context = t, this.refs = wj, this.updater = n || mj
}
ah.prototype.isReactComponent = {};
ah.prototype.setState = function(e, t) {
	if (typeof e != "object" && typeof e != "function" && e != null) 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")
};
ah.prototype.forceUpdate = function(e) {
	this.updater.enqueueForceUpdate(this, e, "forceUpdate")
};

function _j() {}
_j.prototype = ah.prototype;

function O6(e, t, n) {
	this.props = e, this.context = t, this.refs = wj, this.updater = n || mj
}
var T6 = O6.prototype = new _j;
T6.constructor = O6;
yj(T6, ah.prototype);
T6.isPureReactComponent = !0;
var xk = Array.isArray,
	bj = Object.prototype.hasOwnProperty,
	R6 = {
		current: null
	},
	Sj = {
		key: !0,
		ref: !0,
		__self: !0,
		__source: !0
	};

function xj(e, t, n) {
	var r, i = {},
		o = null,
		a = null;
	if (t != null)
		for (r in t.ref !== void 0 && (a = t.ref), t.key !== void 0 && (o = "" + t.key), t) bj.call(t, r) && !Sj.hasOwnProperty(r) && (i[r] = t[r]);
	var s = arguments.length - 2;
	if (s === 1) i.children = n;
	else if (1 < s) {
		for (var u = Array(s), l = 0; l < s; l++) u[l] = arguments[l + 2];
		i.children = u
	}
	if (e && e.defaultProps)
		for (r in s = e.defaultProps, s) i[r] === void 0 && (i[r] = s[r]);
	return {
		$$typeof: _1,
		type: e,
		key: o,
		ref: a,
		props: i,
		_owner: R6.current
	}
}

function Vse(e, t) {
	return {
		$$typeof: _1,
		type: e.type,
		key: t,
		ref: e.ref,
		props: e.props,
		_owner: e._owner
	}
}

function I6(e) {
	return typeof e == "object" && e !== null && e.$$typeof === _1
}

function Bse(e) {
	var t = {
		"=": "=0",
		":": "=2"
	};
	return "$" + e.replace(/[=:]/g, function(n) {
		return t[n]
	})
}
var Ek = /\/+/g;

function PS(e, t) {
	return typeof e == "object" && e !== null && e.key != null ? Bse("" + e.key) : t.toString(36)
}

function Py(e, t, n, r, i) {
	var o = typeof e;
	(o === "undefined" || o === "boolean") && (e = null);
	var a = !1;
	if (e === null) a = !0;
	else switch (o) {
		case "string":
		case "number":
			a = !0;
			break;
		case "object":
			switch (e.$$typeof) {
				case _1:
				case Ase:
					a = !0
			}
	}
	if (a) return a = e, i = i(a), e = r === "" ? "." + PS(a, 0) : r, xk(i) ? (n = "", e != null && (n = e.replace(Ek, "$&/") + "/"), Py(i, t, n, "", function(l) {
		return l
	})) : i != null && (I6(i) && (i = Vse(i, n + (!i.key || a && a.key === i.key ? "" : ("" + i.key).replace(Ek, "$&/") + "/") + e)), t.push(i)), 1;
	if (a = 0, r = r === "" ? "." : r + ":", xk(e))
		for (var s = 0; s < e.length; s++) {
			o = e[s];
			var u = r + PS(o, s);
			a += Py(o, t, n, u, i)
		} else if (u = Hse(e), typeof u == "function")
			for (e = u.call(e), s = 0; !(o = e.next()).done;) o = o.value, u = r + PS(o, s++), a += Py(o, t, n, u, i);
		else if (o === "object") throw t = String(e), Error("Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead.");
	return a
}

function um(e, t, n) {
	if (e == null) return e;
	var r = [],
		i = 0;
	return Py(e, r, "", "", function(o) {
		return t.call(n, o, i++)
	}), r
}

function zse(e) {
	if (e._status === -1) {
		var t = e._result;
		t = t(), t.then(function(n) {
			(e._status === 0 || e._status === -1) && (e._status = 1, e._result = n)
		}, function(n) {
			(e._status === 0 || e._status === -1) && (e._status = 2, e._result = n)
		}), e._status === -1 && (e._status = 0, e._result = t)
	}
	if (e._status === 1) return e._result.default;
	throw e._result
}
var qr = {
		current: null
	},
	Ly = {
		transition: null
	},
	Gse = {
		ReactCurrentDispatcher: qr,
		ReactCurrentBatchConfig: Ly,
		ReactCurrentOwner: R6
	};

function Ej() {
	throw Error("act(...) is not supported in production builds of React.")
}
lt.Children = {
	map: um,
	forEach: function(e, t, n) {
		um(e, function() {
			t.apply(this, arguments)
		}, n)
	},
	count: function(e) {
		var t = 0;
		return um(e, function() {
			t++
		}), t
	},
	toArray: function(e) {
		return um(e, function(t) {
			return t
		}) || []
	},
	only: function(e) {
		if (!I6(e)) throw Error("React.Children.only expected to receive a single React element child.");
		return e
	}
};
lt.Component = ah;
lt.Fragment = Mse;
lt.Profiler = Lse;
lt.PureComponent = O6;
lt.StrictMode = Pse;
lt.Suspense = Fse;
lt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Gse;
lt.act = Ej;
lt.cloneElement = function(e, t, n) {
	if (e == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
	var r = yj({}, e.props),
		i = e.key,
		o = e.ref,
		a = e._owner;
	if (t != null) {
		if (t.ref !== void 0 && (o = t.ref, a = R6.current), t.key !== void 0 && (i = "" + t.key), e.type && e.type.defaultProps) var s = e.type.defaultProps;
		for (u in t) bj.call(t, u) && !Sj.hasOwnProperty(u) && (r[u] = t[u] === void 0 && s !== void 0 ? s[u] : t[u])
	}
	var u = arguments.length - 2;
	if (u === 1) r.children = n;
	else if (1 < u) {
		s = Array(u);
		for (var l = 0; l < u; l++) s[l] = arguments[l + 2];
		r.children = s
	}
	return {
		$$typeof: _1,
		type: e.type,
		key: i,
		ref: o,
		props: r,
		_owner: a
	}
};
lt.createContext = function(e) {
	return e = {
		$$typeof: Dse,
		_currentValue: e,
		_currentValue2: e,
		_threadCount: 0,
		Provider: null,
		Consumer: null,
		_defaultValue: null,
		_globalName: null
	}, e.Provider = {
		$$typeof: Nse,
		_context: e
	}, e.Consumer = e
};
lt.createElement = xj;
lt.createFactory = function(e) {
	var t = xj.bind(null, e);
	return t.type = e, t
};
lt.createRef = function() {
	return {
		current: null
	}
};
lt.forwardRef = function(e) {
	return {
		$$typeof: $se,
		render: e
	}
};
lt.isValidElement = I6;
lt.lazy = function(e) {
	return {
		$$typeof: Use,
		_payload: {
			_status: -1,
			_result: e
		},
		_init: zse
	}
};
lt.memo = function(e, t) {
	return {
		$$typeof: jse,
		type: e,
		compare: t === void 0 ? null : t
	}
};
lt.startTransition = function(e) {
	var t = Ly.transition;
	Ly.transition = {};
	try {
		e()
	} finally {
		Ly.transition = t
	}
};
lt.unstable_act = Ej;
lt.useCallback = function(e, t) {
	return qr.current.useCallback(e, t)
};
lt.useContext = function(e) {
	return qr.current.useContext(e)
};
lt.useDebugValue = function() {};
lt.useDeferredValue = function(e) {
	return qr.current.useDeferredValue(e)
};
lt.useEffect = function(e, t) {
	return qr.current.useEffect(e, t)
};
lt.useId = function() {
	return qr.current.useId()
};
lt.useImperativeHandle = function(e, t, n) {
	return qr.current.useImperativeHandle(e, t, n)
};
lt.useInsertionEffect = function(e, t) {
	return qr.current.useInsertionEffect(e, t)
};
lt.useLayoutEffect = function(e, t) {
	return qr.current.useLayoutEffect(e, t)
};
lt.useMemo = function(e, t) {
	return qr.current.useMemo(e, t)
};
lt.useReducer = function(e, t, n) {
	return qr.current.useReducer(e, t, n)
};
lt.useRef = function(e) {
	return qr.current.useRef(e)
};
lt.useState = function(e) {
	return qr.current.useState(e)
};
lt.useSyncExternalStore = function(e, t, n) {
	return qr.current.useSyncExternalStore(e, t, n)
};
lt.useTransition = function() {
	return qr.current.useTransition()
};
lt.version = "18.3.1";
gj.exports = lt;
var h = gj.exports;
const J = Et(h),
	wE = kse({
		__proto__: null,
		default: J
	}, [h]);
/**
 * @license React
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var Wse = h,
	Kse = Symbol.for("react.element"),
	Zse = Symbol.for("react.fragment"),
	qse = Object.prototype.hasOwnProperty,
	Yse = Wse.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
	Xse = {
		key: !0,
		ref: !0,
		__self: !0,
		__source: !0
	};

function Cj(e, t, n) {
	var r, i = {},
		o = null,
		a = null;
	n !== void 0 && (o = "" + n), t.key !== void 0 && (o = "" + t.key), t.ref !== void 0 && (a = t.ref);
	for (r in t) qse.call(t, r) && !Xse.hasOwnProperty(r) && (i[r] = t[r]);
	if (e && e.defaultProps)
		for (r in t = e.defaultProps, t) i[r] === void 0 && (i[r] = t[r]);
	return {
		$$typeof: Kse,
		type: e,
		key: o,
		ref: a,
		props: i,
		_owner: Yse.current
	}
}
S_.Fragment = Zse;
S_.jsx = Cj;
S_.jsxs = Cj;
vj.exports = S_;
var C = vj.exports,
	Ur = C;
const _E = typeof document < "u",
	Oj = !1,
	H0 = !1,
	Jse = /Firefox\//.test(navigator.userAgent),
	Tj = "https://openai.com/api/pricing",
	Vn = "https://openai.com/policies",
	Rj = "https://help.openai.com/",
	Lu = {
		API: "api",
		LABS: "labs",
		CHAT: "chat",
		IOSCHAT: "ioschat",
		ANDROIDCHAT: "androidchat"
	},
	Qse = "https://labs.openai.com",
	eue = "https://chat.openai.com",
	Ck = "https://chatgpt.com",
	tue = "com.openai.chat",
	got = "https://accounts.openai.com",
	nue = "https://help.openai.com",
	bE = "please contact us through our help center at ".concat(nue, "."),
	mot = ["oidc|", "samlp|"],
	yot = "https://help.openai.com/en/articles/7967234-enabling-multi-factor-authentication-mfa-with-openai#h_488a963a1e";
var SE;
(function(e) {
	e.SIGNUP = "signup", e.MOBILE_SIGNUP = "mobile_signup", e.PLATFORM_ACCOUNT_MODIFICATION = "platform_account_modification"
})(SE || (SE = {}));
const rue = {
		platform_account_modification: {
			production: "23AAD243-4799-4A9E-B01D-1166C5DE02DF",
			development: "44A91F6A-1A18-4192-B949-DDD1823EBEF4"
		},
		signup: {
			production: "0655BC92-82E1-43D9-B32E-9DF9B01AF50C",
			development: "CDABFB24-FCDC-44B9-B5F4-DCBEAEADAB79"
		},
		mobile_signup: {
			production: "ABFE4E70-B947-490F-84CE-369187A9989F",
			development: "6FA444B3-1667-4B9C-B5E2-3755D712F3C1"
		}
	},
	wot = 500,
	_ot = /^[a-z0-9]([-a-z0-9]{0,40}[a-z0-9])?$|^$/;
var Ok;
(function(e) {
	e.SMS = "sms", e.WHATSAPP = "whatsapp"
})(Ok || (Ok = {}));
rue[SE.PLATFORM_ACCOUNT_MODIFICATION].production;
var Tk;
(function(e) {
	e.OPT_IN = "opt_in", e.SECONDARY = "secondary"
})(Tk || (Tk = {}));
const bot = {
	ID: "opt_in",
	PK: "secondary",
	NG: "secondary",
	IL: "secondary",
	SA: "secondary",
	AE: "secondary",
	VN: "secondary",
	UA: "secondary",
	MY: "secondary",
	EG: "secondary",
	TR: "secondary"
};
var S2;
(function(e) {
	e.ONBOARDING = "onboarding", e.API_KEY_CREATE = "api_key_create"
})(S2 || (S2 = {}));
async function iue(e, t) {
	const n = e.getReader();
	let r;
	for (; !(r = await n.read()).done;) t(r.value)
}

function oue(e) {
	let t, n, r, i = !1;
	return function(a) {
		t === void 0 ? (t = a, n = 0, r = -1) : t = sue(t, a);
		const s = t.length;
		let u = 0;
		for (; n < s;) {
			i && (t[n] === 10 && (u = ++n), i = !1);
			let l = -1;
			for (; n < s && l === -1; ++n) switch (t[n]) {
				case 58:
					r === -1 && (r = n - u);
					break;
				case 13:
					i = !0;
				case 10:
					l = n;
					break
			}
			if (l === -1) break;
			e(t.subarray(u, l), r), u = n, r = -1
		}
		u === s ? t = void 0 : u !== 0 && (t = t.subarray(u), n -= u)
	}
}

function aue(e, t, n) {
	let r = Rk();
	const i = new TextDecoder;
	return function(a, s) {
		if (a.length === 0) n == null || n(r), r = Rk();
		else if (s > 0) {
			const u = i.decode(a.subarray(0, s)),
				l = s + (a[s + 1] === 32 ? 2 : 1),
				c = i.decode(a.subarray(l));
			switch (u) {
				case "data":
					r.data = r.data ? r.data + "\n" + c : c;
					break;
				case "event":
					r.event = c;
					break;
				case "id":
					e(r.id = c);
					break;
				case "retry":
					const d = parseInt(c, 10);
					isNaN(d) || t(r.retry = d);
					break
			}
		}
	}
}

function sue(e, t) {
	const n = new Uint8Array(e.length + t.length);
	return n.set(e), n.set(t, e.length), n
}

function Rk() {
	return {
		data: "",
		event: "",
		id: "",
		retry: void 0
	}
}
var uue = function(e, t) {
	var n = {};
	for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
	if (e != null && typeof Object.getOwnPropertySymbols == "function")
		for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
	return n
};
const xE = "text/event-stream",
	lue = 1e3,
	Ik = "last-event-id";

function kk(e, t) {
	var {
		signal: n,
		headers: r,
		onopen: i,
		onmessage: o,
		onclose: a,
		onerror: s,
		openWhenHidden: u,
		fetch: l
	} = t, c = uue(t, ["signal", "headers", "onopen", "onmessage", "onclose", "onerror", "openWhenHidden", "fetch"]);
	return new Promise((d, p) => {
		const g = Object.assign({}, r);
		g.accept || (g.accept = xE);
		let m;

		function _() {
			m.abort(), document.hidden || T()
		}
		u || document.addEventListener("visibilitychange", _);
		let S = lue,
			y = 0;

		function w() {
			document.removeEventListener("visibilitychange", _), window.clearTimeout(y), m.abort()
		}
		n == null || n.addEventListener("abort", () => {
			w(), d()
		});
		const b = l != null ? l : window.fetch,
			E = i != null ? i : cue;
		async function T() {
			var O;
			m = new AbortController;
			try {
				const R = await b(e, Object.assign(Object.assign({}, c), {
					headers: g,
					signal: m.signal
				}));
				await E(R), await iue(R.body, oue(aue(k => {
					k ? g[Ik] = k : delete g[Ik]
				}, k => {
					S = k
				}, o))), a == null || a(), w(), d()
			} catch (R) {
				if (!m.signal.aborted) try {
					const k = (O = s == null ? void 0 : s(R)) !== null && O !== void 0 ? O : S;
					window.clearTimeout(y), y = window.setTimeout(T, k)
				} catch (k) {
					w(), p(k)
				}
			}
		}
		T()
	})
}

function cue(e) {
	const t = e.headers.get("content-type");
	if (!(t != null && t.startsWith(xE))) throw new Error("Expected content-type to be ".concat(xE, ", Actual: ").concat(t))
}

function x_() {
	this._types = Object.create(null), this._extensions = Object.create(null);
	for (let e = 0; e < arguments.length; e++) this.define(arguments[e]);
	this.define = this.define.bind(this), this.getType = this.getType.bind(this), this.getExtension = this.getExtension.bind(this)
}
x_.prototype.define = function(e, t) {
	for (let n in e) {
		let r = e[n].map(function(i) {
			return i.toLowerCase()
		});
		n = n.toLowerCase();
		for (let i = 0; i < r.length; i++) {
			const o = r[i];
			if (o[0] !== "*") {
				if (!t && o in this._types) throw new Error('Attempt to change mapping for "' + o + '" extension from "' + this._types[o] + '" to "' + n + '". Pass `force=true` to allow this, otherwise remove "' + o + '" from the list of extensions for "' + n + '".');
				this._types[o] = n
			}
		}
		if (t || !this._extensions[n]) {
			const i = r[0];
			this._extensions[n] = i[0] !== "*" ? i : i.substr(1)
		}
	}
};
x_.prototype.getType = function(e) {
	e = String(e);
	let t = e.replace(/^.*[/\\]/, "").toLowerCase(),
		n = t.replace(/^.*\./, "").toLowerCase(),
		r = t.length < e.length;
	return (n.length < t.length - 1 || !r) && this._types[n] || null
};
x_.prototype.getExtension = function(e) {
	return e = /^\s*([^;\s]*)/.test(e) && RegExp.$1, e && this._extensions[e.toLowerCase()] || null
};
var fue = x_,
	due = {
		"application/andrew-inset": ["ez"],
		"application/applixware": ["aw"],
		"application/atom+xml": ["atom"],
		"application/atomcat+xml": ["atomcat"],
		"application/atomdeleted+xml": ["atomdeleted"],
		"application/atomsvc+xml": ["atomsvc"],
		"application/atsc-dwd+xml": ["dwd"],
		"application/atsc-held+xml": ["held"],
		"application/atsc-rsat+xml": ["rsat"],
		"application/bdoc": ["bdoc"],
		"application/calendar+xml": ["xcs"],
		"application/ccxml+xml": ["ccxml"],
		"application/cdfx+xml": ["cdfx"],
		"application/cdmi-capability": ["cdmia"],
		"application/cdmi-container": ["cdmic"],
		"application/cdmi-domain": ["cdmid"],
		"application/cdmi-object": ["cdmio"],
		"application/cdmi-queue": ["cdmiq"],
		"application/cu-seeme": ["cu"],
		"application/dash+xml": ["mpd"],
		"application/davmount+xml": ["davmount"],
		"application/docbook+xml": ["dbk"],
		"application/dssc+der": ["dssc"],
		"application/dssc+xml": ["xdssc"],
		"application/ecmascript": ["es", "ecma"],
		"application/emma+xml": ["emma"],
		"application/emotionml+xml": ["emotionml"],
		"application/epub+zip": ["epub"],
		"application/exi": ["exi"],
		"application/express": ["exp"],
		"application/fdt+xml": ["fdt"],
		"application/font-tdpfr": ["pfr"],
		"application/geo+json": ["geojson"],
		"application/gml+xml": ["gml"],
		"application/gpx+xml": ["gpx"],
		"application/gxf": ["gxf"],
		"application/gzip": ["gz"],
		"application/hjson": ["hjson"],
		"application/hyperstudio": ["stk"],
		"application/inkml+xml": ["ink", "inkml"],
		"application/ipfix": ["ipfix"],
		"application/its+xml": ["its"],
		"application/java-archive": ["jar", "war", "ear"],
		"application/java-serialized-object": ["ser"],
		"application/java-vm": ["class"],
		"application/javascript": ["js", "mjs"],
		"application/json": ["json", "map"],
		"application/json5": ["json5"],
		"application/jsonml+json": ["jsonml"],
		"application/ld+json": ["jsonld"],
		"application/lgr+xml": ["lgr"],
		"application/lost+xml": ["lostxml"],
		"application/mac-binhex40": ["hqx"],
		"application/mac-compactpro": ["cpt"],
		"application/mads+xml": ["mads"],
		"application/manifest+json": ["webmanifest"],
		"application/marc": ["mrc"],
		"application/marcxml+xml": ["mrcx"],
		"application/mathematica": ["ma", "nb", "mb"],
		"application/mathml+xml": ["mathml"],
		"application/mbox": ["mbox"],
		"application/mediaservercontrol+xml": ["mscml"],
		"application/metalink+xml": ["metalink"],
		"application/metalink4+xml": ["meta4"],
		"application/mets+xml": ["mets"],
		"application/mmt-aei+xml": ["maei"],
		"application/mmt-usd+xml": ["musd"],
		"application/mods+xml": ["mods"],
		"application/mp21": ["m21", "mp21"],
		"application/mp4": ["mp4s", "m4p"],
		"application/msword": ["doc", "dot"],
		"application/mxf": ["mxf"],
		"application/n-quads": ["nq"],
		"application/n-triples": ["nt"],
		"application/node": ["cjs"],
		"application/octet-stream": ["bin", "dms", "lrf", "mar", "so", "dist", "distz", "pkg", "bpk", "dump", "elc", "deploy", "exe", "dll", "deb", "dmg", "iso", "img", "msi", "msp", "msm", "buffer"],
		"application/oda": ["oda"],
		"application/oebps-package+xml": ["opf"],
		"application/ogg": ["ogx"],
		"application/omdoc+xml": ["omdoc"],
		"application/onenote": ["onetoc", "onetoc2", "onetmp", "onepkg"],
		"application/oxps": ["oxps"],
		"application/p2p-overlay+xml": ["relo"],
		"application/patch-ops-error+xml": ["xer"],
		"application/pdf": ["pdf"],
		"application/pgp-encrypted": ["pgp"],
		"application/pgp-signature": ["asc", "sig"],
		"application/pics-rules": ["prf"],
		"application/pkcs10": ["p10"],
		"application/pkcs7-mime": ["p7m", "p7c"],
		"application/pkcs7-signature": ["p7s"],
		"application/pkcs8": ["p8"],
		"application/pkix-attr-cert": ["ac"],
		"application/pkix-cert": ["cer"],
		"application/pkix-crl": ["crl"],
		"application/pkix-pkipath": ["pkipath"],
		"application/pkixcmp": ["pki"],
		"application/pls+xml": ["pls"],
		"application/postscript": ["ai", "eps", "ps"],
		"application/provenance+xml": ["provx"],
		"application/pskc+xml": ["pskcxml"],
		"application/raml+yaml": ["raml"],
		"application/rdf+xml": ["rdf", "owl"],
		"application/reginfo+xml": ["rif"],
		"application/relax-ng-compact-syntax": ["rnc"],
		"application/resource-lists+xml": ["rl"],
		"application/resource-lists-diff+xml": ["rld"],
		"application/rls-services+xml": ["rs"],
		"application/route-apd+xml": ["rapd"],
		"application/route-s-tsid+xml": ["sls"],
		"application/route-usd+xml": ["rusd"],
		"application/rpki-ghostbusters": ["gbr"],
		"application/rpki-manifest": ["mft"],
		"application/rpki-roa": ["roa"],
		"application/rsd+xml": ["rsd"],
		"application/rss+xml": ["rss"],
		"application/rtf": ["rtf"],
		"application/sbml+xml": ["sbml"],
		"application/scvp-cv-request": ["scq"],
		"application/scvp-cv-response": ["scs"],
		"application/scvp-vp-request": ["spq"],
		"application/scvp-vp-response": ["spp"],
		"application/sdp": ["sdp"],
		"application/senml+xml": ["senmlx"],
		"application/sensml+xml": ["sensmlx"],
		"application/set-payment-initiation": ["setpay"],
		"application/set-registration-initiation": ["setreg"],
		"application/shf+xml": ["shf"],
		"application/sieve": ["siv", "sieve"],
		"application/smil+xml": ["smi", "smil"],
		"application/sparql-query": ["rq"],
		"application/sparql-results+xml": ["srx"],
		"application/srgs": ["gram"],
		"application/srgs+xml": ["grxml"],
		"application/sru+xml": ["sru"],
		"application/ssdl+xml": ["ssdl"],
		"application/ssml+xml": ["ssml"],
		"application/swid+xml": ["swidtag"],
		"application/tei+xml": ["tei", "teicorpus"],
		"application/thraud+xml": ["tfi"],
		"application/timestamped-data": ["tsd"],
		"application/toml": ["toml"],
		"application/trig": ["trig"],
		"application/ttml+xml": ["ttml"],
		"application/ubjson": ["ubj"],
		"application/urc-ressheet+xml": ["rsheet"],
		"application/urc-targetdesc+xml": ["td"],
		"application/voicexml+xml": ["vxml"],
		"application/wasm": ["wasm"],
		"application/widget": ["wgt"],
		"application/winhlp": ["hlp"],
		"application/wsdl+xml": ["wsdl"],
		"application/wspolicy+xml": ["wspolicy"],
		"application/xaml+xml": ["xaml"],
		"application/xcap-att+xml": ["xav"],
		"application/xcap-caps+xml": ["xca"],
		"application/xcap-diff+xml": ["xdf"],
		"application/xcap-el+xml": ["xel"],
		"application/xcap-ns+xml": ["xns"],
		"application/xenc+xml": ["xenc"],
		"application/xhtml+xml": ["xhtml", "xht"],
		"application/xliff+xml": ["xlf"],
		"application/xml": ["xml", "xsl", "xsd", "rng"],
		"application/xml-dtd": ["dtd"],
		"application/xop+xml": ["xop"],
		"application/xproc+xml": ["xpl"],
		"application/xslt+xml": ["*xsl", "xslt"],
		"application/xspf+xml": ["xspf"],
		"application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"],
		"application/yang": ["yang"],
		"application/yin+xml": ["yin"],
		"application/zip": ["zip"],
		"audio/3gpp": ["*3gpp"],
		"audio/adpcm": ["adp"],
		"audio/amr": ["amr"],
		"audio/basic": ["au", "snd"],
		"audio/midi": ["mid", "midi", "kar", "rmi"],
		"audio/mobile-xmf": ["mxmf"],
		"audio/mp3": ["*mp3"],
		"audio/mp4": ["m4a", "mp4a"],
		"audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
		"audio/ogg": ["oga", "ogg", "spx", "opus"],
		"audio/s3m": ["s3m"],
		"audio/silk": ["sil"],
		"audio/wav": ["wav"],
		"audio/wave": ["*wav"],
		"audio/webm": ["weba"],
		"audio/xm": ["xm"],
		"font/collection": ["ttc"],
		"font/otf": ["otf"],
		"font/ttf": ["ttf"],
		"font/woff": ["woff"],
		"font/woff2": ["woff2"],
		"image/aces": ["exr"],
		"image/apng": ["apng"],
		"image/avif": ["avif"],
		"image/bmp": ["bmp"],
		"image/cgm": ["cgm"],
		"image/dicom-rle": ["drle"],
		"image/emf": ["emf"],
		"image/fits": ["fits"],
		"image/g3fax": ["g3"],
		"image/gif": ["gif"],
		"image/heic": ["heic"],
		"image/heic-sequence": ["heics"],
		"image/heif": ["heif"],
		"image/heif-sequence": ["heifs"],
		"image/hej2k": ["hej2"],
		"image/hsj2": ["hsj2"],
		"image/ief": ["ief"],
		"image/jls": ["jls"],
		"image/jp2": ["jp2", "jpg2"],
		"image/jpeg": ["jpeg", "jpg", "jpe"],
		"image/jph": ["jph"],
		"image/jphc": ["jhc"],
		"image/jpm": ["jpm"],
		"image/jpx": ["jpx", "jpf"],
		"image/jxr": ["jxr"],
		"image/jxra": ["jxra"],
		"image/jxrs": ["jxrs"],
		"image/jxs": ["jxs"],
		"image/jxsc": ["jxsc"],
		"image/jxsi": ["jxsi"],
		"image/jxss": ["jxss"],
		"image/ktx": ["ktx"],
		"image/ktx2": ["ktx2"],
		"image/png": ["png"],
		"image/sgi": ["sgi"],
		"image/svg+xml": ["svg", "svgz"],
		"image/t38": ["t38"],
		"image/tiff": ["tif", "tiff"],
		"image/tiff-fx": ["tfx"],
		"image/webp": ["webp"],
		"image/wmf": ["wmf"],
		"message/disposition-notification": ["disposition-notification"],
		"message/global": ["u8msg"],
		"message/global-delivery-status": ["u8dsn"],
		"message/global-disposition-notification": ["u8mdn"],
		"message/global-headers": ["u8hdr"],
		"message/rfc822": ["eml", "mime"],
		"model/3mf": ["3mf"],
		"model/gltf+json": ["gltf"],
		"model/gltf-binary": ["glb"],
		"model/iges": ["igs", "iges"],
		"model/mesh": ["msh", "mesh", "silo"],
		"model/mtl": ["mtl"],
		"model/obj": ["obj"],
		"model/step+xml": ["stpx"],
		"model/step+zip": ["stpz"],
		"model/step-xml+zip": ["stpxz"],
		"model/stl": ["stl"],
		"model/vrml": ["wrl", "vrml"],
		"model/x3d+binary": ["*x3db", "x3dbz"],
		"model/x3d+fastinfoset": ["x3db"],
		"model/x3d+vrml": ["*x3dv", "x3dvz"],
		"model/x3d+xml": ["x3d", "x3dz"],
		"model/x3d-vrml": ["x3dv"],
		"text/cache-manifest": ["appcache", "manifest"],
		"text/calendar": ["ics", "ifb"],
		"text/coffeescript": ["coffee", "litcoffee"],
		"text/css": ["css"],
		"text/csv": ["csv"],
		"text/html": ["html", "htm", "shtml"],
		"text/jade": ["jade"],
		"text/jsx": ["jsx"],
		"text/less": ["less"],
		"text/markdown": ["markdown", "md"],
		"text/mathml": ["mml"],
		"text/mdx": ["mdx"],
		"text/n3": ["n3"],
		"text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"],
		"text/richtext": ["rtx"],
		"text/rtf": ["*rtf"],
		"text/sgml": ["sgml", "sgm"],
		"text/shex": ["shex"],
		"text/slim": ["slim", "slm"],
		"text/spdx": ["spdx"],
		"text/stylus": ["stylus", "styl"],
		"text/tab-separated-values": ["tsv"],
		"text/troff": ["t", "tr", "roff", "man", "me", "ms"],
		"text/turtle": ["ttl"],
		"text/uri-list": ["uri", "uris", "urls"],
		"text/vcard": ["vcard"],
		"text/vtt": ["vtt"],
		"text/xml": ["*xml"],
		"text/yaml": ["yaml", "yml"],
		"video/3gpp": ["3gp", "3gpp"],
		"video/3gpp2": ["3g2"],
		"video/h261": ["h261"],
		"video/h263": ["h263"],
		"video/h264": ["h264"],
		"video/iso.segment": ["m4s"],
		"video/jpeg": ["jpgv"],
		"video/jpm": ["*jpm", "jpgm"],
		"video/mj2": ["mj2", "mjp2"],
		"video/mp2t": ["ts"],
		"video/mp4": ["mp4", "mp4v", "mpg4"],
		"video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"],
		"video/ogg": ["ogv"],
		"video/quicktime": ["qt", "mov"],
		"video/webm": ["webm"]
	},
	pue = {
		"application/prs.cww": ["cww"],
		"application/vnd.1000minds.decision-model+xml": ["1km"],
		"application/vnd.3gpp.pic-bw-large": ["plb"],
		"application/vnd.3gpp.pic-bw-small": ["psb"],
		"application/vnd.3gpp.pic-bw-var": ["pvb"],
		"application/vnd.3gpp2.tcap": ["tcap"],
		"application/vnd.3m.post-it-notes": ["pwn"],
		"application/vnd.accpac.simply.aso": ["aso"],
		"application/vnd.accpac.simply.imp": ["imp"],
		"application/vnd.acucobol": ["acu"],
		"application/vnd.acucorp": ["atc", "acutc"],
		"application/vnd.adobe.air-application-installer-package+zip": ["air"],
		"application/vnd.adobe.formscentral.fcdt": ["fcdt"],
		"application/vnd.adobe.fxp": ["fxp", "fxpl"],
		"application/vnd.adobe.xdp+xml": ["xdp"],
		"application/vnd.adobe.xfdf": ["xfdf"],
		"application/vnd.ahead.space": ["ahead"],
		"application/vnd.airzip.filesecure.azf": ["azf"],
		"application/vnd.airzip.filesecure.azs": ["azs"],
		"application/vnd.amazon.ebook": ["azw"],
		"application/vnd.americandynamics.acc": ["acc"],
		"application/vnd.amiga.ami": ["ami"],
		"application/vnd.android.package-archive": ["apk"],
		"application/vnd.anser-web-certificate-issue-initiation": ["cii"],
		"application/vnd.anser-web-funds-transfer-initiation": ["fti"],
		"application/vnd.antix.game-component": ["atx"],
		"application/vnd.apple.installer+xml": ["mpkg"],
		"application/vnd.apple.keynote": ["key"],
		"application/vnd.apple.mpegurl": ["m3u8"],
		"application/vnd.apple.numbers": ["numbers"],
		"application/vnd.apple.pages": ["pages"],
		"application/vnd.apple.pkpass": ["pkpass"],
		"application/vnd.aristanetworks.swi": ["swi"],
		"application/vnd.astraea-software.iota": ["iota"],
		"application/vnd.audiograph": ["aep"],
		"application/vnd.balsamiq.bmml+xml": ["bmml"],
		"application/vnd.blueice.multipass": ["mpm"],
		"application/vnd.bmi": ["bmi"],
		"application/vnd.businessobjects": ["rep"],
		"application/vnd.chemdraw+xml": ["cdxml"],
		"application/vnd.chipnuts.karaoke-mmd": ["mmd"],
		"application/vnd.cinderella": ["cdy"],
		"application/vnd.citationstyles.style+xml": ["csl"],
		"application/vnd.claymore": ["cla"],
		"application/vnd.cloanto.rp9": ["rp9"],
		"application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"],
		"application/vnd.cluetrust.cartomobile-config": ["c11amc"],
		"application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
		"application/vnd.commonspace": ["csp"],
		"application/vnd.contact.cmsg": ["cdbcmsg"],
		"application/vnd.cosmocaller": ["cmc"],
		"application/vnd.crick.clicker": ["clkx"],
		"application/vnd.crick.clicker.keyboard": ["clkk"],
		"application/vnd.crick.clicker.palette": ["clkp"],
		"application/vnd.crick.clicker.template": ["clkt"],
		"application/vnd.crick.clicker.wordbank": ["clkw"],
		"application/vnd.criticaltools.wbs+xml": ["wbs"],
		"application/vnd.ctc-posml": ["pml"],
		"application/vnd.cups-ppd": ["ppd"],
		"application/vnd.curl.car": ["car"],
		"application/vnd.curl.pcurl": ["pcurl"],
		"application/vnd.dart": ["dart"],
		"application/vnd.data-vision.rdz": ["rdz"],
		"application/vnd.dbf": ["dbf"],
		"application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"],
		"application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
		"application/vnd.dece.unspecified": ["uvx", "uvvx"],
		"application/vnd.dece.zip": ["uvz", "uvvz"],
		"application/vnd.denovo.fcselayout-link": ["fe_launch"],
		"application/vnd.dna": ["dna"],
		"application/vnd.dolby.mlp": ["mlp"],
		"application/vnd.dpgraph": ["dpg"],
		"application/vnd.dreamfactory": ["dfac"],
		"application/vnd.ds-keypoint": ["kpxx"],
		"application/vnd.dvb.ait": ["ait"],
		"application/vnd.dvb.service": ["svc"],
		"application/vnd.dynageo": ["geo"],
		"application/vnd.ecowin.chart": ["mag"],
		"application/vnd.enliven": ["nml"],
		"application/vnd.epson.esf": ["esf"],
		"application/vnd.epson.msf": ["msf"],
		"application/vnd.epson.quickanime": ["qam"],
		"application/vnd.epson.salt": ["slt"],
		"application/vnd.epson.ssf": ["ssf"],
		"application/vnd.eszigno3+xml": ["es3", "et3"],
		"application/vnd.ezpix-album": ["ez2"],
		"application/vnd.ezpix-package": ["ez3"],
		"application/vnd.fdf": ["fdf"],
		"application/vnd.fdsn.mseed": ["mseed"],
		"application/vnd.fdsn.seed": ["seed", "dataless"],
		"application/vnd.flographit": ["gph"],
		"application/vnd.fluxtime.clip": ["ftc"],
		"application/vnd.framemaker": ["fm", "frame", "maker", "book"],
		"application/vnd.frogans.fnc": ["fnc"],
		"application/vnd.frogans.ltf": ["ltf"],
		"application/vnd.fsc.weblaunch": ["fsc"],
		"application/vnd.fujitsu.oasys": ["oas"],
		"application/vnd.fujitsu.oasys2": ["oa2"],
		"application/vnd.fujitsu.oasys3": ["oa3"],
		"application/vnd.fujitsu.oasysgp": ["fg5"],
		"application/vnd.fujitsu.oasysprs": ["bh2"],
		"application/vnd.fujixerox.ddd": ["ddd"],
		"application/vnd.fujixerox.docuworks": ["xdw"],
		"application/vnd.fujixerox.docuworks.binder": ["xbd"],
		"application/vnd.fuzzysheet": ["fzs"],
		"application/vnd.genomatix.tuxedo": ["txd"],
		"application/vnd.geogebra.file": ["ggb"],
		"application/vnd.geogebra.tool": ["ggt"],
		"application/vnd.geometry-explorer": ["gex", "gre"],
		"application/vnd.geonext": ["gxt"],
		"application/vnd.geoplan": ["g2w"],
		"application/vnd.geospace": ["g3w"],
		"application/vnd.gmx": ["gmx"],
		"application/vnd.google-apps.document": ["gdoc"],
		"application/vnd.google-apps.presentation": ["gslides"],
		"application/vnd.google-apps.spreadsheet": ["gsheet"],
		"application/vnd.google-earth.kml+xml": ["kml"],
		"application/vnd.google-earth.kmz": ["kmz"],
		"application/vnd.grafeq": ["gqf", "gqs"],
		"application/vnd.groove-account": ["gac"],
		"application/vnd.groove-help": ["ghf"],
		"application/vnd.groove-identity-message": ["gim"],
		"application/vnd.groove-injector": ["grv"],
		"application/vnd.groove-tool-message": ["gtm"],
		"application/vnd.groove-tool-template": ["tpl"],
		"application/vnd.groove-vcard": ["vcg"],
		"application/vnd.hal+xml": ["hal"],
		"application/vnd.handheld-entertainment+xml": ["zmm"],
		"application/vnd.hbci": ["hbci"],
		"application/vnd.hhe.lesson-player": ["les"],
		"application/vnd.hp-hpgl": ["hpgl"],
		"application/vnd.hp-hpid": ["hpid"],
		"application/vnd.hp-hps": ["hps"],
		"application/vnd.hp-jlyt": ["jlt"],
		"application/vnd.hp-pcl": ["pcl"],
		"application/vnd.hp-pclxl": ["pclxl"],
		"application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
		"application/vnd.ibm.minipay": ["mpy"],
		"application/vnd.ibm.modcap": ["afp", "listafp", "list3820"],
		"application/vnd.ibm.rights-management": ["irm"],
		"application/vnd.ibm.secure-container": ["sc"],
		"application/vnd.iccprofile": ["icc", "icm"],
		"application/vnd.igloader": ["igl"],
		"application/vnd.immervision-ivp": ["ivp"],
		"application/vnd.immervision-ivu": ["ivu"],
		"application/vnd.insors.igm": ["igm"],
		"application/vnd.intercon.formnet": ["xpw", "xpx"],
		"application/vnd.intergeo": ["i2g"],
		"application/vnd.intu.qbo": ["qbo"],
		"application/vnd.intu.qfx": ["qfx"],
		"application/vnd.ipunplugged.rcprofile": ["rcprofile"],
		"application/vnd.irepository.package+xml": ["irp"],
		"application/vnd.is-xpr": ["xpr"],
		"application/vnd.isac.fcs": ["fcs"],
		"application/vnd.jam": ["jam"],
		"application/vnd.jcp.javame.midlet-rms": ["rms"],
		"application/vnd.jisp": ["jisp"],
		"application/vnd.joost.joda-archive": ["joda"],
		"application/vnd.kahootz": ["ktz", "ktr"],
		"application/vnd.kde.karbon": ["karbon"],
		"application/vnd.kde.kchart": ["chrt"],
		"application/vnd.kde.kformula": ["kfo"],
		"application/vnd.kde.kivio": ["flw"],
		"application/vnd.kde.kontour": ["kon"],
		"application/vnd.kde.kpresenter": ["kpr", "kpt"],
		"application/vnd.kde.kspread": ["ksp"],
		"application/vnd.kde.kword": ["kwd", "kwt"],
		"application/vnd.kenameaapp": ["htke"],
		"application/vnd.kidspiration": ["kia"],
		"application/vnd.kinar": ["kne", "knp"],
		"application/vnd.koan": ["skp", "skd", "skt", "skm"],
		"application/vnd.kodak-descriptor": ["sse"],
		"application/vnd.las.las+xml": ["lasxml"],
		"application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
		"application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
		"application/vnd.lotus-1-2-3": ["123"],
		"application/vnd.lotus-approach": ["apr"],
		"application/vnd.lotus-freelance": ["pre"],
		"application/vnd.lotus-notes": ["nsf"],
		"application/vnd.lotus-organizer": ["org"],
		"application/vnd.lotus-screencam": ["scm"],
		"application/vnd.lotus-wordpro": ["lwp"],
		"application/vnd.macports.portpkg": ["portpkg"],
		"application/vnd.mapbox-vector-tile": ["mvt"],
		"application/vnd.mcd": ["mcd"],
		"application/vnd.medcalcdata": ["mc1"],
		"application/vnd.mediastation.cdkey": ["cdkey"],
		"application/vnd.mfer": ["mwf"],
		"application/vnd.mfmp": ["mfm"],
		"application/vnd.micrografx.flo": ["flo"],
		"application/vnd.micrografx.igx": ["igx"],
		"application/vnd.mif": ["mif"],
		"application/vnd.mobius.daf": ["daf"],
		"application/vnd.mobius.dis": ["dis"],
		"application/vnd.mobius.mbk": ["mbk"],
		"application/vnd.mobius.mqy": ["mqy"],
		"application/vnd.mobius.msl": ["msl"],
		"application/vnd.mobius.plc": ["plc"],
		"application/vnd.mobius.txf": ["txf"],
		"application/vnd.mophun.application": ["mpn"],
		"application/vnd.mophun.certificate": ["mpc"],
		"application/vnd.mozilla.xul+xml": ["xul"],
		"application/vnd.ms-artgalry": ["cil"],
		"application/vnd.ms-cab-compressed": ["cab"],
		"application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"],
		"application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
		"application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
		"application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
		"application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
		"application/vnd.ms-fontobject": ["eot"],
		"application/vnd.ms-htmlhelp": ["chm"],
		"application/vnd.ms-ims": ["ims"],
		"application/vnd.ms-lrm": ["lrm"],
		"application/vnd.ms-officetheme": ["thmx"],
		"application/vnd.ms-outlook": ["msg"],
		"application/vnd.ms-pki.seccat": ["cat"],
		"application/vnd.ms-pki.stl": ["*stl"],
		"application/vnd.ms-powerpoint": ["ppt", "pps", "pot"],
		"application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
		"application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
		"application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
		"application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
		"application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
		"application/vnd.ms-project": ["mpp", "mpt"],
		"application/vnd.ms-word.document.macroenabled.12": ["docm"],
		"application/vnd.ms-word.template.macroenabled.12": ["dotm"],
		"application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"],
		"application/vnd.ms-wpl": ["wpl"],
		"application/vnd.ms-xpsdocument": ["xps"],
		"application/vnd.mseq": ["mseq"],
		"application/vnd.musician": ["mus"],
		"application/vnd.muvee.style": ["msty"],
		"application/vnd.mynfc": ["taglet"],
		"application/vnd.neurolanguage.nlu": ["nlu"],
		"application/vnd.nitf": ["ntf", "nitf"],
		"application/vnd.noblenet-directory": ["nnd"],
		"application/vnd.noblenet-sealer": ["nns"],
		"application/vnd.noblenet-web": ["nnw"],
		"application/vnd.nokia.n-gage.ac+xml": ["*ac"],
		"application/vnd.nokia.n-gage.data": ["ngdat"],
		"application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
		"application/vnd.nokia.radio-preset": ["rpst"],
		"application/vnd.nokia.radio-presets": ["rpss"],
		"application/vnd.novadigm.edm": ["edm"],
		"application/vnd.novadigm.edx": ["edx"],
		"application/vnd.novadigm.ext": ["ext"],
		"application/vnd.oasis.opendocument.chart": ["odc"],
		"application/vnd.oasis.opendocument.chart-template": ["otc"],
		"application/vnd.oasis.opendocument.database": ["odb"],
		"application/vnd.oasis.opendocument.formula": ["odf"],
		"application/vnd.oasis.opendocument.formula-template": ["odft"],
		"application/vnd.oasis.opendocument.graphics": ["odg"],
		"application/vnd.oasis.opendocument.graphics-template": ["otg"],
		"application/vnd.oasis.opendocument.image": ["odi"],
		"application/vnd.oasis.opendocument.image-template": ["oti"],
		"application/vnd.oasis.opendocument.presentation": ["odp"],
		"application/vnd.oasis.opendocument.presentation-template": ["otp"],
		"application/vnd.oasis.opendocument.spreadsheet": ["ods"],
		"application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
		"application/vnd.oasis.opendocument.text": ["odt"],
		"application/vnd.oasis.opendocument.text-master": ["odm"],
		"application/vnd.oasis.opendocument.text-template": ["ott"],
		"application/vnd.oasis.opendocument.text-web": ["oth"],
		"application/vnd.olpc-sugar": ["xo"],
		"application/vnd.oma.dd2+xml": ["dd2"],
		"application/vnd.openblox.game+xml": ["obgx"],
		"application/vnd.openofficeorg.extension": ["oxt"],
		"application/vnd.openstreetmap.data+xml": ["osm"],
		"application/vnd.openxmlformats-officedocument.presentationml.presentation": ["pptx"],
		"application/vnd.openxmlformats-officedocument.presentationml.slide": ["sldx"],
		"application/vnd.openxmlformats-officedocument.presentationml.slideshow": ["ppsx"],
		"application/vnd.openxmlformats-officedocument.presentationml.template": ["potx"],
		"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
		"application/vnd.openxmlformats-officedocument.spreadsheetml.template": ["xltx"],
		"application/vnd.openxmlformats-officedocument.wordprocessingml.document": ["docx"],
		"application/vnd.openxmlformats-officedocument.wordprocessingml.template": ["dotx"],
		"application/vnd.osgeo.mapguide.package": ["mgp"],
		"application/vnd.osgi.dp": ["dp"],
		"application/vnd.osgi.subsystem": ["esa"],
		"application/vnd.palm": ["pdb", "pqa", "oprc"],
		"application/vnd.pawaafile": ["paw"],
		"application/vnd.pg.format": ["str"],
		"application/vnd.pg.osasli": ["ei6"],
		"application/vnd.picsel": ["efif"],
		"application/vnd.pmi.widget": ["wg"],
		"application/vnd.pocketlearn": ["plf"],
		"application/vnd.powerbuilder6": ["pbd"],
		"application/vnd.previewsystems.box": ["box"],
		"application/vnd.proteus.magazine": ["mgz"],
		"application/vnd.publishare-delta-tree": ["qps"],
		"application/vnd.pvi.ptid1": ["ptid"],
		"application/vnd.quark.quarkxpress": ["qxd", "qxt", "qwd", "qwt", "qxl", "qxb"],
		"application/vnd.rar": ["rar"],
		"application/vnd.realvnc.bed": ["bed"],
		"application/vnd.recordare.musicxml": ["mxl"],
		"application/vnd.recordare.musicxml+xml": ["musicxml"],
		"application/vnd.rig.cryptonote": ["cryptonote"],
		"application/vnd.rim.cod": ["cod"],
		"application/vnd.rn-realmedia": ["rm"],
		"application/vnd.rn-realmedia-vbr": ["rmvb"],
		"application/vnd.route66.link66+xml": ["link66"],
		"application/vnd.sailingtracker.track": ["st"],
		"application/vnd.seemail": ["see"],
		"application/vnd.sema": ["sema"],
		"application/vnd.semd": ["semd"],
		"application/vnd.semf": ["semf"],
		"application/vnd.shana.informed.formdata": ["ifm"],
		"application/vnd.shana.informed.formtemplate": ["itp"],
		"application/vnd.shana.informed.interchange": ["iif"],
		"application/vnd.shana.informed.package": ["ipk"],
		"application/vnd.simtech-mindmapper": ["twd", "twds"],
		"application/vnd.smaf": ["mmf"],
		"application/vnd.smart.teacher": ["teacher"],
		"application/vnd.software602.filler.form+xml": ["fo"],
		"application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
		"application/vnd.spotfire.dxp": ["dxp"],
		"application/vnd.spotfire.sfs": ["sfs"],
		"application/vnd.stardivision.calc": ["sdc"],
		"application/vnd.stardivision.draw": ["sda"],
		"application/vnd.stardivision.impress": ["sdd"],
		"application/vnd.stardivision.math": ["smf"],
		"application/vnd.stardivision.writer": ["sdw", "vor"],
		"application/vnd.stardivision.writer-global": ["sgl"],
		"application/vnd.stepmania.package": ["smzip"],
		"application/vnd.stepmania.stepchart": ["sm"],
		"application/vnd.sun.wadl+xml": ["wadl"],
		"application/vnd.sun.xml.calc": ["sxc"],
		"application/vnd.sun.xml.calc.template": ["stc"],
		"application/vnd.sun.xml.draw": ["sxd"],
		"application/vnd.sun.xml.draw.template": ["std"],
		"application/vnd.sun.xml.impress": ["sxi"],
		"application/vnd.sun.xml.impress.template": ["sti"],
		"application/vnd.sun.xml.math": ["sxm"],
		"application/vnd.sun.xml.writer": ["sxw"],
		"application/vnd.sun.xml.writer.global": ["sxg"],
		"application/vnd.sun.xml.writer.template": ["stw"],
		"application/vnd.sus-calendar": ["sus", "susp"],
		"application/vnd.svd": ["svd"],
		"application/vnd.symbian.install": ["sis", "sisx"],
		"application/vnd.syncml+xml": ["xsm"],
		"application/vnd.syncml.dm+wbxml": ["bdm"],
		"application/vnd.syncml.dm+xml": ["xdm"],
		"application/vnd.syncml.dmddf+xml": ["ddf"],
		"application/vnd.tao.intent-module-archive": ["tao"],
		"application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"],
		"application/vnd.tmobile-livetv": ["tmo"],
		"application/vnd.trid.tpt": ["tpt"],
		"application/vnd.triscape.mxs": ["mxs"],
		"application/vnd.trueapp": ["tra"],
		"application/vnd.ufdl": ["ufd", "ufdl"],
		"application/vnd.uiq.theme": ["utz"],
		"application/vnd.umajin": ["umj"],
		"application/vnd.unity": ["unityweb"],
		"application/vnd.uoml+xml": ["uoml"],
		"application/vnd.vcx": ["vcx"],
		"application/vnd.visio": ["vsd", "vst", "vss", "vsw"],
		"application/vnd.visionary": ["vis"],
		"application/vnd.vsf": ["vsf"],
		"application/vnd.wap.wbxml": ["wbxml"],
		"application/vnd.wap.wmlc": ["wmlc"],
		"application/vnd.wap.wmlscriptc": ["wmlsc"],
		"application/vnd.webturbo": ["wtb"],
		"application/vnd.wolfram.player": ["nbp"],
		"application/vnd.wordperfect": ["wpd"],
		"application/vnd.wqd": ["wqd"],
		"application/vnd.wt.stf": ["stf"],
		"application/vnd.xara": ["xar"],
		"application/vnd.xfdl": ["xfdl"],
		"application/vnd.yamaha.hv-dic": ["hvd"],
		"application/vnd.yamaha.hv-script": ["hvs"],
		"application/vnd.yamaha.hv-voice": ["hvp"],
		"application/vnd.yamaha.openscoreformat": ["osf"],
		"application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
		"application/vnd.yamaha.smaf-audio": ["saf"],
		"application/vnd.yamaha.smaf-phrase": ["spf"],
		"application/vnd.yellowriver-custom-menu": ["cmp"],
		"application/vnd.zul": ["zir", "zirz"],
		"application/vnd.zzazz.deck+xml": ["zaz"],
		"application/x-7z-compressed": ["7z"],
		"application/x-abiword": ["abw"],
		"application/x-ace-compressed": ["ace"],
		"application/x-apple-diskimage": ["*dmg"],
		"application/x-arj": ["arj"],
		"application/x-authorware-bin": ["aab", "x32", "u32", "vox"],
		"application/x-authorware-map": ["aam"],
		"application/x-authorware-seg": ["aas"],
		"application/x-bcpio": ["bcpio"],
		"application/x-bdoc": ["*bdoc"],
		"application/x-bittorrent": ["torrent"],
		"application/x-blorb": ["blb", "blorb"],
		"application/x-bzip": ["bz"],
		"application/x-bzip2": ["bz2", "boz"],
		"application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"],
		"application/x-cdlink": ["vcd"],
		"application/x-cfs-compressed": ["cfs"],
		"application/x-chat": ["chat"],
		"application/x-chess-pgn": ["pgn"],
		"application/x-chrome-extension": ["crx"],
		"application/x-cocoa": ["cco"],
		"application/x-conference": ["nsc"],
		"application/x-cpio": ["cpio"],
		"application/x-csh": ["csh"],
		"application/x-debian-package": ["*deb", "udeb"],
		"application/x-dgc-compressed": ["dgc"],
		"application/x-director": ["dir", "dcr", "dxr", "cst", "cct", "cxt", "w3d", "fgd", "swa"],
		"application/x-doom": ["wad"],
		"application/x-dtbncx+xml": ["ncx"],
		"application/x-dtbook+xml": ["dtb"],
		"application/x-dtbresource+xml": ["res"],
		"application/x-dvi": ["dvi"],
		"application/x-envoy": ["evy"],
		"application/x-eva": ["eva"],
		"application/x-font-bdf": ["bdf"],
		"application/x-font-ghostscript": ["gsf"],
		"application/x-font-linux-psf": ["psf"],
		"application/x-font-pcf": ["pcf"],
		"application/x-font-snf": ["snf"],
		"application/x-font-type1": ["pfa", "pfb", "pfm", "afm"],
		"application/x-freearc": ["arc"],
		"application/x-futuresplash": ["spl"],
		"application/x-gca-compressed": ["gca"],
		"application/x-glulx": ["ulx"],
		"application/x-gnumeric": ["gnumeric"],
		"application/x-gramps-xml": ["gramps"],
		"application/x-gtar": ["gtar"],
		"application/x-hdf": ["hdf"],
		"application/x-httpd-php": ["php"],
		"application/x-install-instructions": ["install"],
		"application/x-iso9660-image": ["*iso"],
		"application/x-iwork-keynote-sffkey": ["*key"],
		"application/x-iwork-numbers-sffnumbers": ["*numbers"],
		"application/x-iwork-pages-sffpages": ["*pages"],
		"application/x-java-archive-diff": ["jardiff"],
		"application/x-java-jnlp-file": ["jnlp"],
		"application/x-keepass2": ["kdbx"],
		"application/x-latex": ["latex"],
		"application/x-lua-bytecode": ["luac"],
		"application/x-lzh-compressed": ["lzh", "lha"],
		"application/x-makeself": ["run"],
		"application/x-mie": ["mie"],
		"application/x-mobipocket-ebook": ["prc", "mobi"],
		"application/x-ms-application": ["application"],
		"application/x-ms-shortcut": ["lnk"],
		"application/x-ms-wmd": ["wmd"],
		"application/x-ms-wmz": ["wmz"],
		"application/x-ms-xbap": ["xbap"],
		"application/x-msaccess": ["mdb"],
		"application/x-msbinder": ["obd"],
		"application/x-mscardfile": ["crd"],
		"application/x-msclip": ["clp"],
		"application/x-msdos-program": ["*exe"],
		"application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"],
		"application/x-msmediaview": ["mvb", "m13", "m14"],
		"application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"],
		"application/x-msmoney": ["mny"],
		"application/x-mspublisher": ["pub"],
		"application/x-msschedule": ["scd"],
		"application/x-msterminal": ["trm"],
		"application/x-mswrite": ["wri"],
		"application/x-netcdf": ["nc", "cdf"],
		"application/x-ns-proxy-autoconfig": ["pac"],
		"application/x-nzb": ["nzb"],
		"application/x-perl": ["pl", "pm"],
		"application/x-pilot": ["*prc", "*pdb"],
		"application/x-pkcs12": ["p12", "pfx"],
		"application/x-pkcs7-certificates": ["p7b", "spc"],
		"application/x-pkcs7-certreqresp": ["p7r"],
		"application/x-rar-compressed": ["*rar"],
		"application/x-redhat-package-manager": ["rpm"],
		"application/x-research-info-systems": ["ris"],
		"application/x-sea": ["sea"],
		"application/x-sh": ["sh"],
		"application/x-shar": ["shar"],
		"application/x-shockwave-flash": ["swf"],
		"application/x-silverlight-app": ["xap"],
		"application/x-sql": ["sql"],
		"application/x-stuffit": ["sit"],
		"application/x-stuffitx": ["sitx"],
		"application/x-subrip": ["srt"],
		"application/x-sv4cpio": ["sv4cpio"],
		"application/x-sv4crc": ["sv4crc"],
		"application/x-t3vm-image": ["t3"],
		"application/x-tads": ["gam"],
		"application/x-tar": ["tar"],
		"application/x-tcl": ["tcl", "tk"],
		"application/x-tex": ["tex"],
		"application/x-tex-tfm": ["tfm"],
		"application/x-texinfo": ["texinfo", "texi"],
		"application/x-tgif": ["*obj"],
		"application/x-ustar": ["ustar"],
		"application/x-virtualbox-hdd": ["hdd"],
		"application/x-virtualbox-ova": ["ova"],
		"application/x-virtualbox-ovf": ["ovf"],
		"application/x-virtualbox-vbox": ["vbox"],
		"application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
		"application/x-virtualbox-vdi": ["vdi"],
		"application/x-virtualbox-vhd": ["vhd"],
		"application/x-virtualbox-vmdk": ["vmdk"],
		"application/x-wais-source": ["src"],
		"application/x-web-app-manifest+json": ["webapp"],
		"application/x-x509-ca-cert": ["der", "crt", "pem"],
		"application/x-xfig": ["fig"],
		"application/x-xliff+xml": ["*xlf"],
		"application/x-xpinstall": ["xpi"],
		"application/x-xz": ["xz"],
		"application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"],
		"audio/vnd.dece.audio": ["uva", "uvva"],
		"audio/vnd.digital-winds": ["eol"],
		"audio/vnd.dra": ["dra"],
		"audio/vnd.dts": ["dts"],
		"audio/vnd.dts.hd": ["dtshd"],
		"audio/vnd.lucent.voice": ["lvp"],
		"audio/vnd.ms-playready.media.pya": ["pya"],
		"audio/vnd.nuera.ecelp4800": ["ecelp4800"],
		"audio/vnd.nuera.ecelp7470": ["ecelp7470"],
		"audio/vnd.nuera.ecelp9600": ["ecelp9600"],
		"audio/vnd.rip": ["rip"],
		"audio/x-aac": ["aac"],
		"audio/x-aiff": ["aif", "aiff", "aifc"],
		"audio/x-caf": ["caf"],
		"audio/x-flac": ["flac"],
		"audio/x-m4a": ["*m4a"],
		"audio/x-matroska": ["mka"],
		"audio/x-mpegurl": ["m3u"],
		"audio/x-ms-wax": ["wax"],
		"audio/x-ms-wma": ["wma"],
		"audio/x-pn-realaudio": ["ram", "ra"],
		"audio/x-pn-realaudio-plugin": ["rmp"],
		"audio/x-realaudio": ["*ra"],
		"audio/x-wav": ["*wav"],
		"chemical/x-cdx": ["cdx"],
		"chemical/x-cif": ["cif"],
		"chemical/x-cmdf": ["cmdf"],
		"chemical/x-cml": ["cml"],
		"chemical/x-csml": ["csml"],
		"chemical/x-xyz": ["xyz"],
		"image/prs.btif": ["btif"],
		"image/prs.pti": ["pti"],
		"image/vnd.adobe.photoshop": ["psd"],
		"image/vnd.airzip.accelerator.azv": ["azv"],
		"image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"],
		"image/vnd.djvu": ["djvu", "djv"],
		"image/vnd.dvb.subtitle": ["*sub"],
		"image/vnd.dwg": ["dwg"],
		"image/vnd.dxf": ["dxf"],
		"image/vnd.fastbidsheet": ["fbs"],
		"image/vnd.fpx": ["fpx"],
		"image/vnd.fst": ["fst"],
		"image/vnd.fujixerox.edmics-mmr": ["mmr"],
		"image/vnd.fujixerox.edmics-rlc": ["rlc"],
		"image/vnd.microsoft.icon": ["ico"],
		"image/vnd.ms-dds": ["dds"],
		"image/vnd.ms-modi": ["mdi"],
		"image/vnd.ms-photo": ["wdp"],
		"image/vnd.net-fpx": ["npx"],
		"image/vnd.pco.b16": ["b16"],
		"image/vnd.tencent.tap": ["tap"],
		"image/vnd.valve.source.texture": ["vtf"],
		"image/vnd.wap.wbmp": ["wbmp"],
		"image/vnd.xiff": ["xif"],
		"image/vnd.zbrush.pcx": ["pcx"],
		"image/x-3ds": ["3ds"],
		"image/x-cmu-raster": ["ras"],
		"image/x-cmx": ["cmx"],
		"image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"],
		"image/x-icon": ["*ico"],
		"image/x-jng": ["jng"],
		"image/x-mrsid-image": ["sid"],
		"image/x-ms-bmp": ["*bmp"],
		"image/x-pcx": ["*pcx"],
		"image/x-pict": ["pic", "pct"],
		"image/x-portable-anymap": ["pnm"],
		"image/x-portable-bitmap": ["pbm"],
		"image/x-portable-graymap": ["pgm"],
		"image/x-portable-pixmap": ["ppm"],
		"image/x-rgb": ["rgb"],
		"image/x-tga": ["tga"],
		"image/x-xbitmap": ["xbm"],
		"image/x-xpixmap": ["xpm"],
		"image/x-xwindowdump": ["xwd"],
		"message/vnd.wfa.wsc": ["wsc"],
		"model/vnd.collada+xml": ["dae"],
		"model/vnd.dwf": ["dwf"],
		"model/vnd.gdl": ["gdl"],
		"model/vnd.gtw": ["gtw"],
		"model/vnd.mts": ["mts"],
		"model/vnd.opengex": ["ogex"],
		"model/vnd.parasolid.transmit.binary": ["x_b"],
		"model/vnd.parasolid.transmit.text": ["x_t"],
		"model/vnd.sap.vds": ["vds"],
		"model/vnd.usdz+zip": ["usdz"],
		"model/vnd.valve.source.compiled-map": ["bsp"],
		"model/vnd.vtu": ["vtu"],
		"text/prs.lines.tag": ["dsc"],
		"text/vnd.curl": ["curl"],
		"text/vnd.curl.dcurl": ["dcurl"],
		"text/vnd.curl.mcurl": ["mcurl"],
		"text/vnd.curl.scurl": ["scurl"],
		"text/vnd.dvb.subtitle": ["sub"],
		"text/vnd.fly": ["fly"],
		"text/vnd.fmi.flexstor": ["flx"],
		"text/vnd.graphviz": ["gv"],
		"text/vnd.in3d.3dml": ["3dml"],
		"text/vnd.in3d.spot": ["spot"],
		"text/vnd.sun.j2me.app-descriptor": ["jad"],
		"text/vnd.wap.wml": ["wml"],
		"text/vnd.wap.wmlscript": ["wmls"],
		"text/x-asm": ["s", "asm"],
		"text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"],
		"text/x-component": ["htc"],
		"text/x-fortran": ["f", "for", "f77", "f90"],
		"text/x-handlebars-template": ["hbs"],
		"text/x-java-source": ["java"],
		"text/x-lua": ["lua"],
		"text/x-markdown": ["mkd"],
		"text/x-nfo": ["nfo"],
		"text/x-opml": ["opml"],
		"text/x-org": ["*org"],
		"text/x-pascal": ["p", "pas"],
		"text/x-processing": ["pde"],
		"text/x-sass": ["sass"],
		"text/x-scss": ["scss"],
		"text/x-setext": ["etx"],
		"text/x-sfv": ["sfv"],
		"text/x-suse-ymp": ["ymp"],
		"text/x-uuencode": ["uu"],
		"text/x-vcalendar": ["vcs"],
		"text/x-vcard": ["vcf"],
		"video/vnd.dece.hd": ["uvh", "uvvh"],
		"video/vnd.dece.mobile": ["uvm", "uvvm"],
		"video/vnd.dece.pd": ["uvp", "uvvp"],
		"video/vnd.dece.sd": ["uvs", "uvvs"],
		"video/vnd.dece.video": ["uvv", "uvvv"],
		"video/vnd.dvb.file": ["dvb"],
		"video/vnd.fvt": ["fvt"],
		"video/vnd.mpegurl": ["mxu", "m4u"],
		"video/vnd.ms-playready.media.pyv": ["pyv"],
		"video/vnd.uvvu.mp4": ["uvu", "uvvu"],
		"video/vnd.vivo": ["viv"],
		"video/x-f4v": ["f4v"],
		"video/x-fli": ["fli"],
		"video/x-flv": ["flv"],
		"video/x-m4v": ["m4v"],
		"video/x-matroska": ["mkv", "mk3d", "mks"],
		"video/x-mng": ["mng"],
		"video/x-ms-asf": ["asf", "asx"],
		"video/x-ms-vob": ["vob"],
		"video/x-ms-wm": ["wm"],
		"video/x-ms-wmv": ["wmv"],
		"video/x-ms-wmx": ["wmx"],
		"video/x-ms-wvx": ["wvx"],
		"video/x-msvideo": ["avi"],
		"video/x-sgi-movie": ["movie"],
		"video/x-smv": ["smv"],
		"x-conference/x-cooltalk": ["ice"]
	};
let hue = fue;
var vue = new hue(due, pue);
const gue = Et(vue);
var Ij = {},
	mue = e => encodeURIComponent(e).replace(/[!'()*]/g, t => "%".concat(t.charCodeAt(0).toString(16).toUpperCase())),
	kj = "%[a-f0-9]{2}",
	Ak = new RegExp("(" + kj + ")|([^%]+?)", "gi"),
	Mk = new RegExp("(" + kj + ")+", "gi");

function EE(e, t) {
	try {
		return [decodeURIComponent(e.join(""))]
	} catch (i) {}
	if (e.length === 1) return e;
	t = t || 1;
	var n = e.slice(0, t),
		r = e.slice(t);
	return Array.prototype.concat.call([], EE(n), EE(r))
}

function yue(e) {
	try {
		return decodeURIComponent(e)
	} catch (r) {
		for (var t = e.match(Ak) || [], n = 1; n < t.length; n++) e = EE(t, n).join(""), t = e.match(Ak) || [];
		return e
	}
}

function wue(e) {
	for (var t = {
			"%FE%FF": "��",
			"%FF%FE": "��"
		}, n = Mk.exec(e); n;) {
		try {
			t[n[0]] = decodeURIComponent(n[0])
		} catch (s) {
			var r = yue(n[0]);
			r !== n[0] && (t[n[0]] = r)
		}
		n = Mk.exec(e)
	}
	t["%C2"] = "�";
	for (var i = Object.keys(t), o = 0; o < i.length; o++) {
		var a = i[o];
		e = e.replace(new RegExp(a, "g"), t[a])
	}
	return e
}
var _ue = function(e) {
		if (typeof e != "string") throw new TypeError("Expected `encodedURI` to be of type `string`, got `" + typeof e + "`");
		try {
			return e = e.replace(/\+/g, " "), decodeURIComponent(e)
		} catch (t) {
			return wue(e)
		}
	},
	bue = (e, t) => {
		if (!(typeof e == "string" && typeof t == "string")) throw new TypeError("Expected the arguments to be of type `string`");
		if (t === "") return [e];
		const n = e.indexOf(t);
		return n === -1 ? [e] : [e.slice(0, n), e.slice(n + t.length)]
	},
	Sue = function(e, t) {
		for (var n = {}, r = Object.keys(e), i = Array.isArray(t), o = 0; o < r.length; o++) {
			var a = r[o],
				s = e[a];
			(i ? t.indexOf(a) !== -1 : t(a, s, e)) && (n[a] = s)
		}
		return n
	};
(function(e) {
	const t = mue,
		n = _ue,
		r = bue,
		i = Sue,
		o = y => y == null;

	function a(y) {
		switch (y.arrayFormat) {
			case "index":
				return w => (b, E) => {
					const T = b.length;
					return E === void 0 || y.skipNull && E === null || y.skipEmptyString && E === "" ? b : E === null ? [...b, [l(w, y), "[", T, "]"].join("")] : [...b, [l(w, y), "[", l(T, y), "]=", l(E, y)].join("")]
				};
			case "bracket":
				return w => (b, E) => E === void 0 || y.skipNull && E === null || y.skipEmptyString && E === "" ? b : E === null ? [...b, [l(w, y), "[]"].join("")] : [...b, [l(w, y), "[]=", l(E, y)].join("")];
			case "comma":
			case "separator":
				return w => (b, E) => E == null || E.length === 0 ? b : b.length === 0 ? [
					[l(w, y), "=", l(E, y)].join("")
				] : [
					[b, l(E, y)].join(y.arrayFormatSeparator)
				];
			default:
				return w => (b, E) => E === void 0 || y.skipNull && E === null || y.skipEmptyString && E === "" ? b : E === null ? [...b, l(w, y)] : [...b, [l(w, y), "=", l(E, y)].join("")]
		}
	}

	function s(y) {
		let w;
		switch (y.arrayFormat) {
			case "index":
				return (b, E, T) => {
					if (w = /\[(\d*)\]$/.exec(b), b = b.replace(/\[\d*\]$/, ""), !w) {
						T[b] = E;
						return
					}
					T[b] === void 0 && (T[b] = {}), T[b][w[1]] = E
				};
			case "bracket":
				return (b, E, T) => {
					if (w = /(\[\])$/.exec(b), b = b.replace(/\[\]$/, ""), !w) {
						T[b] = E;
						return
					}
					if (T[b] === void 0) {
						T[b] = [E];
						return
					}
					T[b] = [].concat(T[b], E)
				};
			case "comma":
			case "separator":
				return (b, E, T) => {
					const O = typeof E == "string" && E.includes(y.arrayFormatSeparator),
						R = typeof E == "string" && !O && c(E, y).includes(y.arrayFormatSeparator);
					E = R ? c(E, y) : E;
					const k = O || R ? E.split(y.arrayFormatSeparator).map(M => c(M, y)) : E === null ? E : c(E, y);
					T[b] = k
				};
			default:
				return (b, E, T) => {
					if (T[b] === void 0) {
						T[b] = E;
						return
					}
					T[b] = [].concat(T[b], E)
				}
		}
	}

	function u(y) {
		if (typeof y != "string" || y.length !== 1) throw new TypeError("arrayFormatSeparator must be single character string")
	}

	function l(y, w) {
		return w.encode ? w.strict ? t(y) : encodeURIComponent(y) : y
	}

	function c(y, w) {
		return w.decode ? n(y) : y
	}

	function d(y) {
		return Array.isArray(y) ? y.sort() : typeof y == "object" ? d(Object.keys(y)).sort((w, b) => Number(w) - Number(b)).map(w => y[w]) : y
	}

	function p(y) {
		const w = y.indexOf("#");
		return w !== -1 && (y = y.slice(0, w)), y
	}

	function g(y) {
		let w = "";
		const b = y.indexOf("#");
		return b !== -1 && (w = y.slice(b)), w
	}

	function m(y) {
		y = p(y);
		const w = y.indexOf("?");
		return w === -1 ? "" : y.slice(w + 1)
	}

	function _(y, w) {
		return w.parseNumbers && !Number.isNaN(Number(y)) && typeof y == "string" && y.trim() !== "" ? y = Number(y) : w.parseBooleans && y !== null && (y.toLowerCase() === "true" || y.toLowerCase() === "false") && (y = y.toLowerCase() === "true"), y
	}

	function S(y, w) {
		w = Object.assign({
			decode: !0,
			sort: !0,
			arrayFormat: "none",
			arrayFormatSeparator: ",",
			parseNumbers: !1,
			parseBooleans: !1
		}, w), u(w.arrayFormatSeparator);
		const b = s(w),
			E = Object.create(null);
		if (typeof y != "string" || (y = y.trim().replace(/^[?#&]/, ""), !y)) return E;
		for (const T of y.split("&")) {
			if (T === "") continue;
			let [O, R] = r(w.decode ? T.replace(/\+/g, " ") : T, "=");
			R = R === void 0 ? null : ["comma", "separator"].includes(w.arrayFormat) ? R : c(R, w), b(c(O, w), R, E)
		}
		for (const T of Object.keys(E)) {
			const O = E[T];
			if (typeof O == "object" && O !== null)
				for (const R of Object.keys(O)) O[R] = _(O[R], w);
			else E[T] = _(O, w)
		}
		return w.sort === !1 ? E : (w.sort === !0 ? Object.keys(E).sort() : Object.keys(E).sort(w.sort)).reduce((T, O) => {
			const R = E[O];
			return R && typeof R == "object" && !Array.isArray(R) ? T[O] = d(R) : T[O] = R, T
		}, Object.create(null))
	}
	e.extract = m, e.parse = S, e.stringify = (y, w) => {
		if (!y) return "";
		w = Object.assign({
			encode: !0,
			strict: !0,
			arrayFormat: "none",
			arrayFormatSeparator: ","
		}, w), u(w.arrayFormatSeparator);
		const b = R => w.skipNull && o(y[R]) || w.skipEmptyString && y[R] === "",
			E = a(w),
			T = {};
		for (const R of Object.keys(y)) b(R) || (T[R] = y[R]);
		const O = Object.keys(T);
		return w.sort !== !1 && O.sort(w.sort), O.map(R => {
			const k = y[R];
			return k === void 0 ? "" : k === null ? l(R, w) : Array.isArray(k) ? k.reduce(E(R), []).join("&") : l(R, w) + "=" + l(k, w)
		}).filter(R => R.length > 0).join("&")
	}, e.parseUrl = (y, w) => {
		w = Object.assign({
			decode: !0
		}, w);
		const [b, E] = r(y, "#");
		return Object.assign({
			url: b.split("?")[0] || "",
			query: S(m(y), w)
		}, w && w.parseFragmentIdentifier && E ? {
			fragmentIdentifier: c(E, w)
		} : {})
	}, e.stringifyUrl = (y, w) => {
		w = Object.assign({
			encode: !0,
			strict: !0
		}, w);
		const b = p(y.url).split("?")[0] || "",
			E = e.extract(y.url),
			T = e.parse(E, {
				sort: !1
			}),
			O = Object.assign(T, y.query);
		let R = e.stringify(O, w);
		R && (R = "?".concat(R));
		let k = g(y.url);
		return y.fragmentIdentifier && (k = "#".concat(l(y.fragmentIdentifier, w))), "".concat(b).concat(R).concat(k)
	}, e.pick = (y, w, b) => {
		b = Object.assign({
			parseFragmentIdentifier: !0
		}, b);
		const {
			url: E,
			query: T,
			fragmentIdentifier: O
		} = e.parseUrl(y, b);
		return e.stringifyUrl({
			url: E,
			query: i(T, w),
			fragmentIdentifier: O
		}, b)
	}, e.exclude = (y, w, b) => {
		const E = Array.isArray(w) ? T => !w.includes(T) : (T, O) => !w(T, O);
		return e.pick(y, E, b)
	}
})(Ij);
const Ue = Et(Ij);
var Aj = {},
	gi = {},
	E_ = me && me.__extends || function() {
		var e = function(t, n) {
			return e = Object.setPrototypeOf || {
				__proto__: []
			}
			instanceof Array && function(r, i) {
				r.__proto__ = i
			} || function(r, i) {
				for (var o in i) Object.prototype.hasOwnProperty.call(i, o) && (r[o] = i[o])
			}, e(t, n)
		};
		return function(t, n) {
			if (typeof n != "function" && n !== null) throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");
			e(t, n);

			function r() {
				this.constructor = t
			}
			t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r)
		}
	}();
Object.defineProperty(gi, "__esModule", {
	value: !0
});
gi.StatsigInitializationTimeoutError = gi.StatsigSDKKeyMismatchError = gi.StatsigInvalidArgumentError = gi.StatsigUninitializedError = void 0;
var xue = function(e) {
	E_(t, e);

	function t(n) {
		var r = e.call(this, n != null ? n : "Call and wait for initialize() to finish first.") || this;
		return Object.setPrototypeOf(r, t.prototype), r
	}
	return t
}(Error);
gi.StatsigUninitializedError = xue;
var Eue = function(e) {
	E_(t, e);

	function t(n) {
		var r = e.call(this, n) || this;
		return Object.setPrototypeOf(r, t.prototype), r
	}
	return t
}(Error);
gi.StatsigInvalidArgumentError = Eue;
var Cue = function(e) {
	E_(t, e);

	function t(n) {
		var r = e.call(this, n) || this;
		return Object.setPrototypeOf(r, t.prototype), r
	}
	return t
}(Error);
gi.StatsigSDKKeyMismatchError = Cue;
var Oue = function(e) {
	E_(t, e);

	function t(n) {
		var r = e.call(this, "The initialization timeout of ".concat(n, "ms has been hit before the network request has completed.")) || this;
		return Object.setPrototypeOf(r, t.prototype), r
	}
	return t
}(Error);
gi.StatsigInitializationTimeoutError = Oue;
var x2 = {},
	b1 = {};
Object.defineProperty(b1, "__esModule", {
	value: !0
});
var Tue = function() {
	function e(t, n, r, i, o, a, s, u, l, c) {
		o === void 0 && (o = []), a === void 0 && (a = ""), s === void 0 && (s = null), u === void 0 && (u = null), l === void 0 && (l = null), c === void 0 && (c = null), this.onDefaultValueFallback = null, this.name = t, this.value = JSON.parse(JSON.stringify(n != null ? n : {})), this.ruleID = r != null ? r : "", this.secondaryExposures = o, this.allocatedExperimentName = a, this.evaluationDetails = i, this.onDefaultValueFallback = s, this.groupName = u, this.idType = l, this.isExperimentActive = c
	}
	return e.prototype.get = function(t, n, r) {
		var i, o, a = this.getValue(t, n);
		if (a == null) return n;
		var s = Array.isArray(n) ? "array" : typeof n,
			u = Array.isArray(a) ? "array" : typeof a;
		return r ? r(a) ? a : ((i = this.onDefaultValueFallback) === null || i === void 0 || i.call(this, this, t, s, u), n) : n == null || s === u ? a : ((o = this.onDefaultValueFallback) === null || o === void 0 || o.call(this, this, t, s, u), n)
	}, e.prototype.getValue = function(t, n) {
		return t == null ? this.value : (n == null && (n = null), this.value[t] == null ? n : this.value[t])
	}, e.prototype.getRuleID = function() {
		return this.ruleID
	}, e.prototype.getGroupName = function() {
		return this.groupName
	}, e.prototype.getIDType = function() {
		return this.idType
	}, e.prototype.getName = function() {
		return this.name
	}, e.prototype.getEvaluationDetails = function() {
		return this.evaluationDetails
	}, e.prototype._getSecondaryExposures = function() {
		return this.secondaryExposures
	}, e.prototype._getAllocatedExperimentName = function() {
		return this.allocatedExperimentName
	}, e.prototype.getIsExperimentActive = function() {
		return this.isExperimentActive
	}, e
}();
b1.default = Tue;
var Mj = {};
let lm;
const Rue = new Uint8Array(16);

function Pj() {
	if (!lm && (lm = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !lm)) throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
	return lm(Rue)
}
const Iue = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;

function C_(e) {
	return typeof e == "string" && Iue.test(e)
}
const fr = [];
for (let e = 0; e < 256; ++e) fr.push((e + 256).toString(16).slice(1));

function O_(e, t = 0) {
	return fr[e[t + 0]] + fr[e[t + 1]] + fr[e[t + 2]] + fr[e[t + 3]] + "-" + fr[e[t + 4]] + fr[e[t + 5]] + "-" + fr[e[t + 6]] + fr[e[t + 7]] + "-" + fr[e[t + 8]] + fr[e[t + 9]] + "-" + fr[e[t + 10]] + fr[e[t + 11]] + fr[e[t + 12]] + fr[e[t + 13]] + fr[e[t + 14]] + fr[e[t + 15]]
}

function kue(e, t = 0) {
	const n = O_(e, t);
	if (!C_(n)) throw TypeError("Stringified UUID is invalid");
	return n
}
let Pk, LS, NS = 0,
	DS = 0;

function Aue(e, t, n) {
	let r = t && n || 0;
	const i = t || new Array(16);
	e = e || {};
	let o = e.node || Pk,
		a = e.clockseq !== void 0 ? e.clockseq : LS;
	if (o == null || a == null) {
		const p = e.random || (e.rng || Pj)();
		o == null && (o = Pk = [p[0] | 1, p[1], p[2], p[3], p[4], p[5]]), a == null && (a = LS = (p[6] << 8 | p[7]) & 16383)
	}
	let s = e.msecs !== void 0 ? e.msecs : Date.now(),
		u = e.nsecs !== void 0 ? e.nsecs : DS + 1;
	const l = s - NS + (u - DS) / 1e4;
	if (l < 0 && e.clockseq === void 0 && (a = a + 1 & 16383), (l < 0 || s > NS) && e.nsecs === void 0 && (u = 0), u >= 1e4) throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");
	NS = s, DS = u, LS = a, s += 122192928e5;
	const c = ((s & 268435455) * 1e4 + u) % 4294967296;
	i[r++] = c >>> 24 & 255, i[r++] = c >>> 16 & 255, i[r++] = c >>> 8 & 255, i[r++] = c & 255;
	const d = s / 4294967296 * 1e4 & 268435455;
	i[r++] = d >>> 8 & 255, i[r++] = d & 255, i[r++] = d >>> 24 & 15 | 16, i[r++] = d >>> 16 & 255, i[r++] = a >>> 8 | 128, i[r++] = a & 255;
	for (let p = 0; p < 6; ++p) i[r + p] = o[p];
	return t || O_(i)
}

function Lj(e) {
	if (!C_(e)) throw TypeError("Invalid UUID");
	let t;
	const n = new Uint8Array(16);
	return n[0] = (t = parseInt(e.slice(0, 8), 16)) >>> 24, n[1] = t >>> 16 & 255, n[2] = t >>> 8 & 255, n[3] = t & 255, n[4] = (t = parseInt(e.slice(9, 13), 16)) >>> 8, n[5] = t & 255, n[6] = (t = parseInt(e.slice(14, 18), 16)) >>> 8, n[7] = t & 255, n[8] = (t = parseInt(e.slice(19, 23), 16)) >>> 8, n[9] = t & 255, n[10] = (t = parseInt(e.slice(24, 36), 16)) / 1099511627776 & 255, n[11] = t / 4294967296 & 255, n[12] = t >>> 24 & 255, n[13] = t >>> 16 & 255, n[14] = t >>> 8 & 255, n[15] = t & 255, n
}

function Mue(e) {
	e = unescape(encodeURIComponent(e));
	const t = [];
	for (let n = 0; n < e.length; ++n) t.push(e.charCodeAt(n));
	return t
}
const Pue = "6ba7b810-9dad-11d1-80b4-00c04fd430c8",
	Lue = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";

function Nj(e, t, n) {
	function r(i, o, a, s) {
		var u;
		if (typeof i == "string" && (i = Mue(i)), typeof o == "string" && (o = Lj(o)), ((u = o) === null || u === void 0 ? void 0 : u.length) !== 16) throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
		let l = new Uint8Array(16 + i.length);
		if (l.set(o), l.set(i, o.length), l = n(l), l[6] = l[6] & 15 | t, l[8] = l[8] & 63 | 128, a) {
			s = s || 0;
			for (let c = 0; c < 16; ++c) a[s + c] = l[c];
			return a
		}
		return O_(l)
	}
	try {
		r.name = e
	} catch (i) {}
	return r.DNS = Pue, r.URL = Lue, r
}

function Nue(e) {
	if (typeof e == "string") {
		const t = unescape(encodeURIComponent(e));
		e = new Uint8Array(t.length);
		for (let n = 0; n < t.length; ++n) e[n] = t.charCodeAt(n)
	}
	return Due($ue(Fue(e), e.length * 8))
}

function Due(e) {
	const t = [],
		n = e.length * 32,
		r = "0123456789abcdef";
	for (let i = 0; i < n; i += 8) {
		const o = e[i >> 5] >>> i % 32 & 255,
			a = parseInt(r.charAt(o >>> 4 & 15) + r.charAt(o & 15), 16);
		t.push(a)
	}
	return t
}

function Dj(e) {
	return (e + 64 >>> 9 << 4) + 14 + 1
}

function $ue(e, t) {
	e[t >> 5] |= 128 << t % 32, e[Dj(t) - 1] = t;
	let n = 1732584193,
		r = -271733879,
		i = -1732584194,
		o = 271733878;
	for (let a = 0; a < e.length; a += 16) {
		const s = n,
			u = r,
			l = i,
			c = o;
		n = wr(n, r, i, o, e[a], 7, -680876936), o = wr(o, n, r, i, e[a + 1], 12, -389564586), i = wr(i, o, n, r, e[a + 2], 17, 606105819), r = wr(r, i, o, n, e[a + 3], 22, -1044525330), n = wr(n, r, i, o, e[a + 4], 7, -176418897), o = wr(o, n, r, i, e[a + 5], 12, 1200080426), i = wr(i, o, n, r, e[a + 6], 17, -1473231341), r = wr(r, i, o, n, e[a + 7], 22, -45705983), n = wr(n, r, i, o, e[a + 8], 7, 1770035416), o = wr(o, n, r, i, e[a + 9], 12, -1958414417), i = wr(i, o, n, r, e[a + 10], 17, -42063), r = wr(r, i, o, n, e[a + 11], 22, -1990404162), n = wr(n, r, i, o, e[a + 12], 7, 1804603682), o = wr(o, n, r, i, e[a + 13], 12, -40341101), i = wr(i, o, n, r, e[a + 14], 17, -1502002290), r = wr(r, i, o, n, e[a + 15], 22, 1236535329), n = _r(n, r, i, o, e[a + 1], 5, -165796510), o = _r(o, n, r, i, e[a + 6], 9, -1069501632), i = _r(i, o, n, r, e[a + 11], 14, 643717713), r = _r(r, i, o, n, e[a], 20, -373897302), n = _r(n, r, i, o, e[a + 5], 5, -701558691), o = _r(o, n, r, i, e[a + 10], 9, 38016083), i = _r(i, o, n, r, e[a + 15], 14, -660478335), r = _r(r, i, o, n, e[a + 4], 20, -405537848), n = _r(n, r, i, o, e[a + 9], 5, 568446438), o = _r(o, n, r, i, e[a + 14], 9, -1019803690), i = _r(i, o, n, r, e[a + 3], 14, -187363961), r = _r(r, i, o, n, e[a + 8], 20, 1163531501), n = _r(n, r, i, o, e[a + 13], 5, -1444681467), o = _r(o, n, r, i, e[a + 2], 9, -51403784), i = _r(i, o, n, r, e[a + 7], 14, 1735328473), r = _r(r, i, o, n, e[a + 12], 20, -1926607734), n = br(n, r, i, o, e[a + 5], 4, -378558), o = br(o, n, r, i, e[a + 8], 11, -2022574463), i = br(i, o, n, r, e[a + 11], 16, 1839030562), r = br(r, i, o, n, e[a + 14], 23, -35309556), n = br(n, r, i, o, e[a + 1], 4, -1530992060), o = br(o, n, r, i, e[a + 4], 11, 1272893353), i = br(i, o, n, r, e[a + 7], 16, -155497632), r = br(r, i, o, n, e[a + 10], 23, -1094730640), n = br(n, r, i, o, e[a + 13], 4, 681279174), o = br(o, n, r, i, e[a], 11, -358537222), i = br(i, o, n, r, e[a + 3], 16, -722521979), r = br(r, i, o, n, e[a + 6], 23, 76029189), n = br(n, r, i, o, e[a + 9], 4, -640364487), o = br(o, n, r, i, e[a + 12], 11, -421815835), i = br(i, o, n, r, e[a + 15], 16, 530742520), r = br(r, i, o, n, e[a + 2], 23, -995338651), n = Sr(n, r, i, o, e[a], 6, -198630844), o = Sr(o, n, r, i, e[a + 7], 10, 1126891415), i = Sr(i, o, n, r, e[a + 14], 15, -1416354905), r = Sr(r, i, o, n, e[a + 5], 21, -57434055), n = Sr(n, r, i, o, e[a + 12], 6, 1700485571), o = Sr(o, n, r, i, e[a + 3], 10, -1894986606), i = Sr(i, o, n, r, e[a + 10], 15, -1051523), r = Sr(r, i, o, n, e[a + 1], 21, -2054922799), n = Sr(n, r, i, o, e[a + 8], 6, 1873313359), o = Sr(o, n, r, i, e[a + 15], 10, -30611744), i = Sr(i, o, n, r, e[a + 6], 15, -1560198380), r = Sr(r, i, o, n, e[a + 13], 21, 1309151649), n = Sr(n, r, i, o, e[a + 4], 6, -145523070), o = Sr(o, n, r, i, e[a + 11], 10, -1120210379), i = Sr(i, o, n, r, e[a + 2], 15, 718787259), r = Sr(r, i, o, n, e[a + 9], 21, -343485551), n = zu(n, s), r = zu(r, u), i = zu(i, l), o = zu(o, c)
	}
	return [n, r, i, o]
}

function Fue(e) {
	if (e.length === 0) return [];
	const t = e.length * 8,
		n = new Uint32Array(Dj(t));
	for (let r = 0; r < t; r += 8) n[r >> 5] |= (e[r / 8] & 255) << r % 32;
	return n
}

function zu(e, t) {
	const n = (e & 65535) + (t & 65535);
	return (e >> 16) + (t >> 16) + (n >> 16) << 16 | n & 65535
}

function jue(e, t) {
	return e << t | e >>> 32 - t
}

function T_(e, t, n, r, i, o) {
	return zu(jue(zu(zu(t, e), zu(r, o)), i), n)
}

function wr(e, t, n, r, i, o, a) {
	return T_(t & n | ~t & r, e, t, i, o, a)
}

function _r(e, t, n, r, i, o, a) {
	return T_(t & r | n & ~r, e, t, i, o, a)
}

function br(e, t, n, r, i, o, a) {
	return T_(t ^ n ^ r, e, t, i, o, a)
}

function Sr(e, t, n, r, i, o, a) {
	return T_(n ^ (t | ~r), e, t, i, o, a)
}
const Uue = Nj("v3", 48, Nue),
	Hue = Uue,
	Vue = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto),
	Lk = {
		randomUUID: Vue
	};

function $j(e, t, n) {
	if (Lk.randomUUID && !t && !e) return Lk.randomUUID();
	e = e || {};
	const r = e.random || (e.rng || Pj)();
	if (r[6] = r[6] & 15 | 64, r[8] = r[8] & 63 | 128, t) {
		n = n || 0;
		for (let i = 0; i < 16; ++i) t[n + i] = r[i];
		return t
	}
	return O_(r)
}

function Bue(e, t, n, r) {
	switch (e) {
		case 0:
			return t & n ^ ~t & r;
		case 1:
			return t ^ n ^ r;
		case 2:
			return t & n ^ t & r ^ n & r;
		case 3:
			return t ^ n ^ r
	}
}

function $S(e, t) {
	return e << t | e >>> 32 - t
}

function zue(e) {
	const t = [1518500249, 1859775393, 2400959708, 3395469782],
		n = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
	if (typeof e == "string") {
		const a = unescape(encodeURIComponent(e));
		e = [];
		for (let s = 0; s < a.length; ++s) e.push(a.charCodeAt(s))
	} else Array.isArray(e) || (e = Array.prototype.slice.call(e));
	e.push(128);
	const r = e.length / 4 + 2,
		i = Math.ceil(r / 16),
		o = new Array(i);
	for (let a = 0; a < i; ++a) {
		const s = new Uint32Array(16);
		for (let u = 0; u < 16; ++u) s[u] = e[a * 64 + u * 4] << 24 | e[a * 64 + u * 4 + 1] << 16 | e[a * 64 + u * 4 + 2] << 8 | e[a * 64 + u * 4 + 3];
		o[a] = s
	}
	o[i - 1][14] = (e.length - 1) * 8 / Math.pow(2, 32), o[i - 1][14] = Math.floor(o[i - 1][14]), o[i - 1][15] = (e.length - 1) * 8 & 4294967295;
	for (let a = 0; a < i; ++a) {
		const s = new Uint32Array(80);
		for (let g = 0; g < 16; ++g) s[g] = o[a][g];
		for (let g = 16; g < 80; ++g) s[g] = $S(s[g - 3] ^ s[g - 8] ^ s[g - 14] ^ s[g - 16], 1);
		let u = n[0],
			l = n[1],
			c = n[2],
			d = n[3],
			p = n[4];
		for (let g = 0; g < 80; ++g) {
			const m = Math.floor(g / 20),
				_ = $S(u, 5) + Bue(m, l, c, d) + p + t[m] + s[g] >>> 0;
			p = d, d = c, c = $S(l, 30) >>> 0, l = u, u = _
		}
		n[0] = n[0] + u >>> 0, n[1] = n[1] + l >>> 0, n[2] = n[2] + c >>> 0, n[3] = n[3] + d >>> 0, n[4] = n[4] + p >>> 0
	}
	return [n[0] >> 24 & 255, n[0] >> 16 & 255, n[0] >> 8 & 255, n[0] & 255, n[1] >> 24 & 255, n[1] >> 16 & 255, n[1] >> 8 & 255, n[1] & 255, n[2] >> 24 & 255, n[2] >> 16 & 255, n[2] >> 8 & 255, n[2] & 255, n[3] >> 24 & 255, n[3] >> 16 & 255, n[3] >> 8 & 255, n[3] & 255, n[4] >> 24 & 255, n[4] >> 16 & 255, n[4] >> 8 & 255, n[4] & 255]
}
const Gue = Nj("v5", 80, zue),
	Wue = Gue,
	Kue = "00000000-0000-0000-0000-000000000000";

function Zue(e) {
	if (!C_(e)) throw TypeError("Invalid UUID");
	return parseInt(e.slice(14, 15), 16)
}
const que = Object.freeze(Object.defineProperty({
		__proto__: null,
		NIL: Kue,
		parse: Lj,
		stringify: kue,
		v1: Aue,
		v3: Hue,
		v4: $j,
		v5: Wue,
		validate: C_,
		version: Zue
	}, Symbol.toStringTag, {
		value: "Module"
	})),
	k6 = hj(que);
var Tl = {},
	qc = {};
Object.defineProperty(qc, "__esModule", {
	value: !0
});
qc.difference = qc.now = void 0;

function Fj(e) {
	return e === void 0 && (e = {
		withPrecision: !1
	}), typeof performance > "u" || !performance ? Date.now() : e.withPrecision ? performance.now() : performance.now() | 0
}
qc.now = Fj;

function Yue(e) {
	return Fj() - e
}
qc.difference = Yue;
var E2 = me && me.__assign || function() {
	return E2 = Object.assign || function(e) {
		for (var t, n = 1, r = arguments.length; n < r; n++) {
			t = arguments[n];
			for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
		}
		return e
	}, E2.apply(this, arguments)
};
Object.defineProperty(Tl, "__esModule", {
	value: !0
});
Tl.DiagnosticsImpl = void 0;
var Nk = qc,
	jj = function() {
		function e(t) {
			var n = this,
				r, i, o;
			this.mark = {
				overall: this.selectAction("overall"),
				initialize: this.selectStep("initialize"),
				bootstrap: this.selectStep("bootstrap"),
				api_call: function(a) {
					switch (a) {
						case "getConfig":
							return n.selectAction("get_config");
						case "getExperiment":
							return n.selectAction("get_experiment");
						case "checkGate":
							return n.selectAction("check_gate");
						case "getLayer":
							return n.selectAction("get_layer")
					}
					return null
				}
			}, this.context = "initialize", this.defaultMaxMarkers = 30, this.maxMarkers = {
				initialize: this.defaultMaxMarkers,
				config_sync: this.defaultMaxMarkers,
				event_logging: this.defaultMaxMarkers,
				api_call: this.defaultMaxMarkers
			}, this.markers = (r = t.markers) !== null && r !== void 0 ? r : {
				initialize: [],
				config_sync: [],
				event_logging: [],
				api_call: []
			}, this.disabled = (o = (i = t.options) === null || i === void 0 ? void 0 : i.getDisableDiagnosticsLogging()) !== null && o !== void 0 ? o : !1
		}
		return e.prototype.setContext = function(t) {
			this.context = t
		}, e.prototype.selectAction = function(t, n) {
			var r = this;
			return {
				start: function(i, o) {
					return r.addMarker(E2({
						key: t,
						step: n,
						action: "start",
						timestamp: (0, Nk.now)({
							withPrecision: !0
						})
					}, i != null ? i : {}), o)
				},
				end: function(i, o) {
					return r.addMarker(E2({
						key: t,
						step: n,
						action: "end",
						timestamp: (0, Nk.now)({
							withPrecision: !0
						})
					}, i != null ? i : {}), o)
				}
			}
		}, e.prototype.selectStep = function(t) {
			return {
				process: this.selectAction(t, "process"),
				networkRequest: this.selectAction(t, "network_request")
			}
		}, e.prototype.addMarker = function(t, n) {
			var r, i = n != null ? n : this.context;
			return this.disabled && i === "api_call" || this.maxMarkers[i] !== void 0 && this.markers[i].length >= ((r = this.maxMarkers[i]) !== null && r !== void 0 ? r : this.defaultMaxMarkers) ? !1 : (this.markers[i].push(t), !0)
		}, e.prototype.getMarkers = function(t) {
			return this.markers[t]
		}, e.prototype.setMaxMarkers = function(t, n) {
			this.maxMarkers[t] = n
		}, e.prototype.getMarkerCount = function(t) {
			return this.markers[t].length
		}, e.prototype.clearContext = function(t) {
			this.markers[t] = []
		}, e
	}();
Tl.DiagnosticsImpl = jj;
var Xue = function() {
	function e() {}
	return e.initialize = function(t) {
		this.instance = new jj(t), this.mark = this.instance.mark, this.disabled = this.instance.disabled, this.getMarkers = this.instance.getMarkers.bind(this.instance), this.getMarkerCount = this.instance.getMarkerCount.bind(this.instance), this.setMaxMarkers = this.instance.setMaxMarkers.bind(this.instance), this.setContext = this.instance.setContext.bind(this.instance), this.clearContext = this.instance.clearContext.bind(this.instance)
	}, e.formatError = function(t) {
		if (t && typeof t == "object") return {
			code: this.safeGetField(t, "code"),
			name: this.safeGetField(t, "name"),
			message: this.safeGetField(t, "message")
		}
	}, e.safeGetField = function(t, n) {
		if (n in t) return t[n]
	}, e
}();
Tl.default = Xue;
var vf = {},
	A6 = {};
(function(e) {
	Object.defineProperty(e, "__esModule", {
		value: !0
	}), e.LogLevel = e.INIT_TIMEOUT_DEFAULT_MS = void 0;
	var t = "https://featureassets.org/v1/",
		n = "https://prodregistryv2.org/v1/",
		r = 3;
	e.INIT_TIMEOUT_DEFAULT_MS = 3e3;
	var i;
	(function(a) {
		a.NONE = "NONE", a.INFO = "INFO", a.DEBUG = "DEBUG", a.WARN = "WARN", a.ERROR = "ERROR"
	})(i = e.LogLevel || (e.LogLevel = {}));
	var o = function() {
		function a(s) {
			var u, l, c, d, p, g, m, _, S, y, w, b, E, T, O, R, k, M, D, P, U, H, G, K, ee, te, q;
			s == null && (s = {});
			var F = (u = s.api) !== null && u !== void 0 ? u : t;
			this.api = F.endsWith("/") ? F : F + "/", this.disableCurrentPageLogging = (l = s.disableCurrentPageLogging) !== null && l !== void 0 ? l : !1, this.environment = (c = s.environment) !== null && c !== void 0 ? c : null, this.loggingIntervalMillis = this.normalizeNumberInput(s.loggingIntervalMillis, {
				default: 1e4,
				min: 1e3,
				max: 6e4
			}), this.loggingBufferMaxSize = this.normalizeNumberInput(s.loggingBufferMaxSize, {
				default: 100,
				min: 2,
				max: 500
			}), this.disableNetworkKeepalive = (d = s.disableNetworkKeepalive) !== null && d !== void 0 ? d : !1, this.initRequestRetries = (p = s.initRequestRetries) !== null && p !== void 0 ? p : r, this.overrideStableID = (g = s.overrideStableID) !== null && g !== void 0 ? g : null, this.localMode = (m = s.localMode) !== null && m !== void 0 ? m : !1, this.initTimeoutMs = s.initTimeoutMs && s.initTimeoutMs >= 0 ? s.initTimeoutMs : e.INIT_TIMEOUT_DEFAULT_MS, this.disableErrorLogging = (_ = s.disableErrorLogging) !== null && _ !== void 0 ? _ : !1, this.disableAutoMetricsLogging = (S = s.disableAutoMetricsLogging) !== null && S !== void 0 ? S : !1, this.initializeValues = (y = s.initializeValues) !== null && y !== void 0 ? y : null;
			var j = (b = (w = s.eventLoggingApi) !== null && w !== void 0 ? w : s.api) !== null && b !== void 0 ? b : n;
			this.eventLoggingApi = j.endsWith("/") ? j : j + "/", this.prefetchUsers = (E = s.prefetchUsers) !== null && E !== void 0 ? E : [], this.disableLocalStorage = (T = s.disableLocalStorage) !== null && T !== void 0 ? T : !1, this.initCompletionCallback = (O = s.initCompletionCallback) !== null && O !== void 0 ? O : null, this.updateCompletionCallback = (R = s.updateUserCompletionCallback) !== null && R !== void 0 ? R : null, this.disableDiagnosticsLogging = (k = s.disableDiagnosticsLogging) !== null && k !== void 0 ? k : !1, this.logLevel = (M = s == null ? void 0 : s.logLevel) !== null && M !== void 0 ? M : i.NONE, this.logger = (D = s == null ? void 0 : s.logger) !== null && D !== void 0 ? D : console, this.ignoreWindowUndefined = (P = s == null ? void 0 : s.ignoreWindowUndefined) !== null && P !== void 0 ? P : !1, this.fetchMode = (U = s.fetchMode) !== null && U !== void 0 ? U : "network-only", this.disableLocalOverrides = (H = s == null ? void 0 : s.disableLocalOverrides) !== null && H !== void 0 ? H : !1, this.gateEvaluationCallback = (G = s == null ? void 0 : s.gateEvaluationCallback) !== null && G !== void 0 ? G : null, this.userPersistentStorage = (K = s == null ? void 0 : s.userPersistentStorage) !== null && K !== void 0 ? K : null, this.disableAllLogging = (ee = s.disableAllLogging) !== null && ee !== void 0 ? ee : !1, this.setLoggingCopy(s), this.disableHashing = (te = s.disableHashing) !== null && te !== void 0 ? te : !1, this.evaluationCallback = (q = s.evaluationCallback) !== null && q !== void 0 ? q : null
		}
		return a.prototype.setLoggingCopy = function(s) {
			if (!(s == null || this.loggingCopy != null)) {
				var u = {};
				Object.entries(s).forEach(function(l) {
					var c, d, p = l[0],
						g = l[1],
						m = typeof g;
					switch (m) {
						case "number":
						case "bigint":
						case "boolean":
							u[String(p)] = g;
							break;
						case "string":
							g.length < 50 ? u[String(p)] = g : u[String(p)] = "set";
							break;
						case "object":
							p === "environment" ? u.environment = g : p === "prefetchUsers" ? u.prefetchUsers = ((d = (c = s.prefetchUsers) === null || c === void 0 ? void 0 : c.length) !== null && d !== void 0 ? d : 0) > 0 : u[String(p)] = g != null ? "set" : "unset";
							break;
						case "function":
							p === "userPersistentStorage" && (u.userPersistentStorage = g != null ? "set" : "unset")
					}
				}), this.loggingCopy = u
			}
		}, a.prototype.getLoggingCopy = function() {
			return this.loggingCopy
		}, a.prototype.getOutputLogger = function() {
			return this.logger
		}, a.prototype.getApi = function() {
			return this.api
		}, a.prototype.getEnvironment = function() {
			return this.environment
		}, a.prototype.getDisableCurrentPageLogging = function() {
			return this.disableCurrentPageLogging
		}, a.prototype.getLoggingIntervalMillis = function() {
			return this.loggingIntervalMillis
		}, a.prototype.getLoggingBufferMaxSize = function() {
			return this.loggingBufferMaxSize
		}, a.prototype.getDisableNetworkKeepalive = function() {
			return this.disableNetworkKeepalive
		}, a.prototype.getOverrideStableID = function() {
			return this.overrideStableID
		}, a.prototype.getLocalModeEnabled = function() {
			return this.localMode
		}, a.prototype.getInitTimeoutMs = function() {
			return this.initTimeoutMs
		}, a.prototype.getDisableErrorLogging = function() {
			return this.disableErrorLogging
		}, a.prototype.getDisableAutoMetricsLogging = function() {
			return this.disableAutoMetricsLogging
		}, a.prototype.getInitializeValues = function() {
			return this.initializeValues
		}, a.prototype.getEventLoggingApi = function() {
			return this.eventLoggingApi
		}, a.prototype.getPrefetchUsers = function() {
			return this.prefetchUsers
		}, a.prototype.getDisableLocalStorage = function() {
			return this.disableLocalStorage
		}, a.prototype.getInitCompletionCallback = function() {
			return this.initCompletionCallback
		}, a.prototype.getUpdateUserCompletionCallback = function() {
			return this.updateCompletionCallback
		}, a.prototype.getDisableDiagnosticsLogging = function() {
			return this.disableDiagnosticsLogging
		}, a.prototype.getLogLevel = function() {
			return this.logLevel
		}, a.prototype.getIgnoreWindowUndefined = function() {
			return this.ignoreWindowUndefined
		}, a.prototype.getFetchMode = function() {
			return this.fetchMode
		}, a.prototype.getDisableLocalOverrides = function() {
			return this.disableLocalOverrides
		}, a.prototype.getGateEvaluationCallback = function() {
			return this.gateEvaluationCallback
		}, a.prototype.getUserPersistentStorage = function() {
			return this.userPersistentStorage
		}, a.prototype.getDisableHashing = function() {
			return this.disableHashing
		}, a.prototype.getInitRequestRetries = function() {
			return this.initRequestRetries
		}, a.prototype.isAllLoggingDisabled = function() {
			return this.disableAllLogging
		}, a.prototype.reenableAllLogging = function() {
			this.disableAllLogging = !1
		}, a.prototype.getEvaluationCallback = function() {
			return this.evaluationCallback
		}, a.prototype.normalizeNumberInput = function(s, u) {
			return s == null ? u.default : Math.max(Math.min(s, u.max), u.min)
		}, a
	}();
	e.default = o
})(A6);
var cm = me && me.__spreadArray || function(e, t, n) {
	if (n || arguments.length === 2)
		for (var r = 0, i = t.length, o; r < i; r++)(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
	return e.concat(o || Array.prototype.slice.call(t))
};
Object.defineProperty(vf, "__esModule", {
	value: !0
});
var Ed = A6,
	ao = console,
	Qf = Ed.LogLevel.WARN,
	Jue = function() {
		function e() {}
		return e.getLogger = function() {
			return ao
		}, e.debug = function(t) {
			for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
			Qf !== Ed.LogLevel.NONE && ao.debug && ao.debug.apply(ao, cm(["".concat(this.LOG_PREFIX, " ").concat(t)], n, !1))
		}, e.info = function(t) {
			for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
			Qf === Ed.LogLevel.INFO && ao.info.apply(ao, cm(["".concat(this.LOG_PREFIX, " ").concat(t)], n, !1))
		}, e.warn = function(t) {
			for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
			Qf === Ed.LogLevel.WARN && ao.warn.apply(ao, cm(["".concat(this.LOG_PREFIX, " ").concat(t)], n, !1))
		}, e.error = function(t) {
			for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
			Qf === Ed.LogLevel.ERROR && ao.error.apply(ao, cm(["".concat(this.LOG_PREFIX, " ").concat(t)], n, !1))
		}, e.setLogger = function(t) {
			ao = t
		}, e.setLogLevel = function(t) {
			Qf = t
		}, e.resetLogger = function() {
			ao = console, Qf = Ed.LogLevel.WARN
		}, e.LOG_PREFIX = "[Statsig]", e
	}();
vf.default = Jue;
var M6 = {};
Object.defineProperty(M6, "__esModule", {
	value: !0
});

function Que(e) {
	var t = e != null ? e : Error("[Statsig] Error was empty"),
		n = t instanceof Error,
		r = n ? t.name : "No Name",
		i = n ? t.message : void 0,
		o = n ? t.stack : ele(t);
	return {
		name: r,
		message: i,
		trace: o
	}
}
M6.default = Que;

function ele(e) {
	try {
		return JSON.stringify(e)
	} catch (t) {
		return "[Statsig] Failed to get string for error."
	}
}(function(e) {
	var t = me && me.__awaiter || function(p, g, m, _) {
			function S(y) {
				return y instanceof m ? y : new m(function(w) {
					w(y)
				})
			}
			return new(m || (m = Promise))(function(y, w) {
				function b(O) {
					try {
						T(_.next(O))
					} catch (R) {
						w(R)
					}
				}

				function E(O) {
					try {
						T(_.throw(O))
					} catch (R) {
						w(R)
					}
				}

				function T(O) {
					O.done ? y(O.value) : S(O.value).then(b, E)
				}
				T((_ = _.apply(p, g || [])).next())
			})
		},
		n = me && me.__generator || function(p, g) {
			var m = {
					label: 0,
					sent: function() {
						if (y[0] & 1) throw y[1];
						return y[1]
					},
					trys: [],
					ops: []
				},
				_, S, y, w;
			return w = {
				next: b(0),
				throw: b(1),
				return: b(2)
			}, typeof Symbol == "function" && (w[Symbol.iterator] = function() {
				return this
			}), w;

			function b(T) {
				return function(O) {
					return E([T, O])
				}
			}

			function E(T) {
				if (_) throw new TypeError("Generator is already executing.");
				for (; w && (w = 0, T[0] && (m = 0)), m;) try {
					if (_ = 1, S && (y = T[0] & 2 ? S.return : T[0] ? S.throw || ((y = S.return) && y.call(S), 0) : S.next) && !(y = y.call(S, T[1])).done) return y;
					switch (S = 0, y && (T = [T[0] & 2, y.value]), T[0]) {
						case 0:
						case 1:
							y = T;
							break;
						case 4:
							return m.label++, {
								value: T[1],
								done: !1
							};
						case 5:
							m.label++, S = T[1], T = [0];
							continue;
						case 7:
							T = m.ops.pop(), m.trys.pop();
							continue;
						default:
							if (y = m.trys, !(y = y.length > 0 && y[y.length - 1]) && (T[0] === 6 || T[0] === 2)) {
								m = 0;
								continue
							}
							if (T[0] === 3 && (!y || T[1] > y[0] && T[1] < y[3])) {
								m.label = T[1];
								break
							}
							if (T[0] === 6 && m.label < y[1]) {
								m.label = y[1], y = T;
								break
							}
							if (y && m.label < y[2]) {
								m.label = y[2], m.ops.push(T);
								break
							}
							y[2] && m.ops.pop(), m.trys.pop();
							continue
					}
					T = g.call(p, m)
				} catch (O) {
					T = [6, O], S = 0
				} finally {
					_ = y = 0
				}
				if (T[0] & 5) throw T[1];
				return {
					value: T[0] ? T[1] : void 0,
					done: !0
				}
			}
		},
		r = me && me.__importDefault || function(p) {
			return p && p.__esModule ? p : {
				default: p
			}
		};
	Object.defineProperty(e, "__esModule", {
		value: !0
	}), e.ExceptionEndpoint = void 0;
	var i = k6,
		o = gi,
		a = r(Tl),
		s = r(vf),
		u = r(M6);
	e.ExceptionEndpoint = "https://prodregistryv2.org/v1/rgstr_e";
	var l = 30,
		c = 1e4,
		d = function() {
			function p(g, m) {
				this.sdkKey = g, this.sdkOptions = m, this.seen = new Set;
				var _ = Math.floor(Math.random() * c);
				this.setupDiagnostics(_ === 0 ? l : 0)
			}
			return p.prototype.setStatsigMetadata = function(g) {
				this.statsigMetadata = g
			}, p.prototype.swallow = function(g, m, _) {
				_ === void 0 && (_ = {}), this.capture(g, m, function() {}, _)
			}, p.prototype.capture = function(g, m, _, S) {
				var y = this;
				S === void 0 && (S = {});
				var w = null;
				try {
					w = this.beginMarker(g);
					var b = m(),
						E = !0;
					return b instanceof Promise ? b.catch(function(T) {
						return E = !1, y.onCaught(g, T, _, S)
					}).then(function(T) {
						return y.endMarker(g, E, w), T
					}) : (this.endMarker(g, !0, w, S.configName), b)
				} catch (T) {
					return this.endMarker(g, !1, w, S.configName), this.onCaught(g, T, _, S)
				}
			}, p.prototype.logError = function(g, m, _) {
				var S = this,
					y = _ === void 0 ? {} : _,
					w = y.getExtraData,
					b = y.configName;
				this.sdkOptions.isAllLoggingDisabled() || function() {
					return t(S, void 0, void 0, function() {
						var E, T, O, R, k, M, D;
						return n(this, function(P) {
							try {
								return E = typeof w == "function" ? w() : {}, T = (0, u.default)(m), O = T.name, R = T.trace, E.configName = b, this.seen.has(O) ? [2] : (this.seen.add(O), k = (D = this.statsigMetadata) !== null && D !== void 0 ? D : {}, k.sessionID == null && (k.sessionID = (0, i.v4)()), M = JSON.stringify({
									tag: g,
									exception: O,
									info: R,
									statsigMetadata: k,
									statsigOptions: this.sdkOptions.getLoggingCopy(),
									extra: E
								}), [2, fetch(e.ExceptionEndpoint, {
									method: "POST",
									headers: {
										"STATSIG-API-KEY": this.sdkKey,
										"STATSIG-SDK-TYPE": String(k.sdkType),
										"STATSIG-SDK-VERSION": String(k.sdkVersion),
										"Content-Type": "application/json; charset=UTF-8"
									},
									body: M
								})])
							} catch (U) {}
							return [2]
						})
					})
				}().catch(function() {})
			}, p.prototype.setupDiagnostics = function(g) {
				a.default.setMaxMarkers("api_call", g)
			}, p.prototype.beginMarker = function(g) {
				var m = a.default.mark.api_call(g);
				if (!m) return null;
				var _ = a.default.getMarkerCount("api_call"),
					S = "".concat(g, "_").concat(_),
					y = m.start({
						markerID: S
					}, "api_call");
				return y ? S : null
			}, p.prototype.endMarker = function(g, m, _, S) {
				var y = a.default.mark.api_call(g);
				!_ || !y || y.end({
					markerID: _,
					success: m,
					configName: S
				}, "api_call")
			}, p.prototype.onCaught = function(g, m, _, S) {
				if (S === void 0 && (S = {}), m instanceof o.StatsigUninitializedError || m instanceof o.StatsigInvalidArgumentError) throw m;
				return m instanceof o.StatsigInitializationTimeoutError ? (s.default.error("Timeout occured.", m), _()) : (s.default.error("An unexpected exception occurred.", m), this.logError(g, m, S), _())
			}, p
		}();
	e.default = d
})(Mj);
var R_ = {};
Object.defineProperty(R_, "__esModule", {
	value: !0
});
var tle = function() {
	function e(t, n, r, i, o, a, s) {
		o === void 0 && (o = null), a === void 0 && (a = null), s === void 0 && (s = []), this.name = t, this.value = n, this.ruleID = r != null ? r : "", this.evaluationDetails = i, this.groupName = o, this.idType = a, this.secondaryExposures = s
	}
	return e.prototype.getRuleID = function() {
		return this.ruleID
	}, e.prototype.getGroupName = function() {
		return this.groupName
	}, e.prototype.getIDType = function() {
		return this.idType
	}, e.prototype.getName = function() {
		return this.name
	}, e.prototype.getValue = function() {
		return this.value
	}, e.prototype.getEvaluationDetails = function() {
		return this.evaluationDetails
	}, e.prototype.getSecondaryExposures = function() {
		return this.secondaryExposures
	}, e
}();
R_.default = tle;
var S1 = {};
Object.defineProperty(S1, "__esModule", {
	value: !0
});
var nle = function() {
	function e(t, n, r, i, o, a, s, u, l, c) {
		o === void 0 && (o = null), a === void 0 && (a = []), s === void 0 && (s = []), u === void 0 && (u = ""), l === void 0 && (l = []), c === void 0 && (c = null), this.logParameterFunction = o, this.name = t, this.value = JSON.parse(JSON.stringify(n != null ? n : {})), this.ruleID = r != null ? r : "", this.evaluationDetails = i, this.secondaryExposures = a, this.undelegatedSecondaryExposures = s, this.allocatedExperimentName = u, this.explicitParameters = l, this.groupName = c
	}
	return e._create = function(t, n, r, i, o, a, s, u, l, c) {
		return o === void 0 && (o = null), a === void 0 && (a = []), s === void 0 && (s = []), u === void 0 && (u = ""), l === void 0 && (l = []), c === void 0 && (c = null), new e(t, n, r, i, o, a, s, u, l, c)
	}, e.prototype.get = function(t, n, r) {
		var i = this,
			o = this.value[t];
		if (o == null) return n;
		var a = function() {
			return i.logLayerParameterExposure(t), o
		};
		return r ? r(o) ? a() : n : n == null || typeof o == typeof n && Array.isArray(n) === Array.isArray(o) ? a() : n
	}, e.prototype.getValue = function(t, n) {
		n == null && (n = null);
		var r = this.value[t];
		return r != null && this.logLayerParameterExposure(t), r != null ? r : n
	}, e.prototype.getRuleID = function() {
		return this.ruleID
	}, e.prototype.getGroupName = function() {
		return this.groupName
	}, e.prototype.getName = function() {
		return this.name
	}, e.prototype.getEvaluationDetails = function() {
		return this.evaluationDetails
	}, e.prototype._getSecondaryExposures = function() {
		return this.secondaryExposures
	}, e.prototype._getUndelegatedSecondaryExposures = function() {
		return this.undelegatedSecondaryExposures
	}, e.prototype._getAllocatedExperimentName = function() {
		return this.allocatedExperimentName
	}, e.prototype._getExplicitParameters = function() {
		return this.explicitParameters
	}, e.prototype._getEvaluationDetails = function() {
		return this.evaluationDetails
	}, e.prototype.logLayerParameterExposure = function(t) {
		var n;
		(n = this.logParameterFunction) === null || n === void 0 || n.call(this, this, t)
	}, e
}();
S1.default = nle;
var I_ = {},
	CE = me && me.__assign || function() {
		return CE = Object.assign || function(e) {
			for (var t, n = 1, r = arguments.length; n < r; n++) {
				t = arguments[n];
				for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
			}
			return e
		}, CE.apply(this, arguments)
	};
Object.defineProperty(I_, "__esModule", {
	value: !0
});
var rle = function() {
	function e(t) {
		this.user = null, this.value = null, this.metadata = null, this.eventName = t, this.statsigMetadata = {}, this.time = Date.now()
	}
	return e.prototype.getName = function() {
		return this.eventName
	}, e.prototype.setValue = function(t) {
		this.value = t
	}, e.prototype.setMetadata = function(t) {
		this.metadata = t
	}, e.prototype.addStatsigMetadata = function(t, n) {
		this.statsigMetadata[t] = n
	}, e.prototype.setUser = function(t) {
		this.user = CE({}, t), delete this.user.privateAttributes
	}, e.prototype.setSecondaryExposures = function(t) {
		t === void 0 && (t = []), this.secondaryExposures = t
	}, e.prototype.toJsonObject = function() {
		var t;
		return {
			eventName: this.eventName,
			user: this.user,
			value: this.value,
			metadata: this.metadata,
			time: this.time,
			statsigMetadata: this.statsigMetadata,
			secondaryExposures: (t = this.secondaryExposures) !== null && t !== void 0 ? t : void 0
		}
	}, e
}();
I_.default = rle;
var P6 = {},
	k_ = {};
Object.defineProperty(k_, "__esModule", {
	value: !0
});
k_.version = void 0;
k_.version = "5.0.0";
var zn = {};
Object.defineProperty(zn, "__esModule", {
	value: !0
});
zn.STORAGE_PREFIX = zn.LOCAL_STORAGE_KEYS = zn.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY = zn.STATSIG_STABLE_ID_KEY = zn.INTERNAL_STORE_KEY = zn.STICKY_DEVICE_EXPERIMENTS_KEY = zn.OVERRIDES_STORE_KEY = void 0;
zn.OVERRIDES_STORE_KEY = "STATSIG_LOCAL_STORAGE_INTERNAL_STORE_OVERRIDES_V3";
zn.STICKY_DEVICE_EXPERIMENTS_KEY = "STATSIG_LOCAL_STORAGE_STICKY_DEVICE_EXPERIMENTS";
zn.INTERNAL_STORE_KEY = "STATSIG_LOCAL_STORAGE_INTERNAL_STORE_V4";
zn.STATSIG_STABLE_ID_KEY = "STATSIG_LOCAL_STORAGE_STABLE_ID";
zn.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY = "STATSIG_LOCAL_STORAGE_LOGGING_REQUEST";
zn.LOCAL_STORAGE_KEYS = {
	STATSIG_LOCAL_STORAGE_STABLE_ID: !0,
	STATSIG_LOCAL_STORAGE_INTERNAL_STORE_V4: !0,
	STATSIG_LOCAL_STORAGE_STICKY_DEVICE_EXPERIMENTS: !0,
	STATSIG_LOCAL_STORAGE_INTERNAL_STORE_OVERRIDES_V3: !0,
	STATSIG_LOCAL_STORAGE_LOGGING_REQUEST: !0
};
zn.STORAGE_PREFIX = "STATSIG_LOCAL_STORAGE";
var gf = {};
Object.defineProperty(gf, "__esModule", {
	value: !0
});
var ile = function() {
	function e() {}
	return e.getItemAsync = function(t) {
		var n;
		return e.asyncStorage ? (n = e.asyncStorage.getItem(t)) !== null && n !== void 0 ? n : null : Promise.resolve(null)
	}, e.setItemAsync = function(t, n) {
		return e.asyncStorage ? e.asyncStorage.setItem(t, n) : Promise.resolve()
	}, e.removeItemAsync = function(t) {
		return e.asyncStorage ? e.asyncStorage.removeItem(t) : Promise.resolve()
	}, e
}();
gf.default = ile;
var sh = {};
Object.defineProperty(sh, "__esModule", {
	value: !0
});
var FS = zn,
	ole = function() {
		function e() {}
		return e.getItem = function(t) {
			var n;
			try {
				if (this.isStorageAccessible()) return window.localStorage.getItem(t)
			} catch (r) {}
			return (n = this.fallbackSessionCache[t]) !== null && n !== void 0 ? n : null
		}, e.setItem = function(t, n) {
			try {
				if (this.isStorageAccessible()) {
					window.localStorage.setItem(t, n);
					return
				}
			} catch (r) {}
			this.fallbackSessionCache[t] = n
		}, e.removeItem = function(t) {
			try {
				if (this.isStorageAccessible()) {
					window.localStorage.removeItem(t);
					return
				}
			} catch (n) {}
			delete this.fallbackSessionCache[t]
		}, e.cleanup = function() {
			try {
				if (this.isStorageAccessible(!0))
					for (var t in window.localStorage) typeof window.localStorage[t] == "string" && t != null && (!this.disabled && t in FS.LOCAL_STORAGE_KEYS || !this.disabled && t.substring(0, FS.STORAGE_PREFIX.length) !== FS.STORAGE_PREFIX || window.localStorage.removeItem(t))
			} catch (n) {}
		}, e.isStorageAccessible = function(t) {
			t === void 0 && (t = !1), this.canAccessStorageAccessible == null && (this.canAccessStorageAccessible = typeof Storage < "u" && typeof window < "u" && window != null && window.localStorage != null);
			var n = this.canAccessStorageAccessible;
			return (t || !this.disabled) && n
		}, e.disabled = !1, e.fallbackSessionCache = {}, e.canAccessStorageAccessible = null, e
	}();
sh.default = ole;
var ale = me && me.__awaiter || function(e, t, n, r) {
		function i(o) {
			return o instanceof n ? o : new n(function(a) {
				a(o)
			})
		}
		return new(n || (n = Promise))(function(o, a) {
			function s(c) {
				try {
					l(r.next(c))
				} catch (d) {
					a(d)
				}
			}

			function u(c) {
				try {
					l(r.throw(c))
				} catch (d) {
					a(d)
				}
			}

			function l(c) {
				c.done ? o(c.value) : i(c.value).then(s, u)
			}
			l((r = r.apply(e, t || [])).next())
		})
	},
	sle = me && me.__generator || function(e, t) {
		var n = {
				label: 0,
				sent: function() {
					if (o[0] & 1) throw o[1];
					return o[1]
				},
				trys: [],
				ops: []
			},
			r, i, o, a;
		return a = {
			next: s(0),
			throw: s(1),
			return: s(2)
		}, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
			return this
		}), a;

		function s(l) {
			return function(c) {
				return u([l, c])
			}
		}

		function u(l) {
			if (r) throw new TypeError("Generator is already executing.");
			for (; a && (a = 0, l[0] && (n = 0)), n;) try {
				if (r = 1, i && (o = l[0] & 2 ? i.return : l[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, l[1])).done) return o;
				switch (i = 0, o && (l = [l[0] & 2, o.value]), l[0]) {
					case 0:
					case 1:
						o = l;
						break;
					case 4:
						return n.label++, {
							value: l[1],
							done: !1
						};
					case 5:
						n.label++, i = l[1], l = [0];
						continue;
					case 7:
						l = n.ops.pop(), n.trys.pop();
						continue;
					default:
						if (o = n.trys, !(o = o.length > 0 && o[o.length - 1]) && (l[0] === 6 || l[0] === 2)) {
							n = 0;
							continue
						}
						if (l[0] === 3 && (!o || l[1] > o[0] && l[1] < o[3])) {
							n.label = l[1];
							break
						}
						if (l[0] === 6 && n.label < o[1]) {
							n.label = o[1], o = l;
							break
						}
						if (o && n.label < o[2]) {
							n.label = o[2], n.ops.push(l);
							break
						}
						o[2] && n.ops.pop(), n.trys.pop();
						continue
				}
				l = t.call(e, n)
			} catch (c) {
				l = [6, c], i = 0
			} finally {
				r = o = 0
			}
			if (l[0] & 5) throw l[1];
			return {
				value: l[0] ? l[1] : void 0,
				done: !0
			}
		}
	},
	Uj = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(P6, "__esModule", {
	value: !0
});
var ule = k6,
	lle = k_,
	fm = zn,
	jS = Uj(gf),
	Dk = Uj(sh),
	cle = function() {
		function e(t, n, r) {
			var i;
			this.platform = null, this.nativeModules = null, this.sdkType = "js-client", this.reactNativeUUID = r, this.user = t, this.sdkVersion = lle.version, this.statsigMetadata = {
				sdkType: this.sdkType,
				sdkVersion: this.sdkVersion
			};
			var o = n;
			jS.default.asyncStorage || (o = (i = o != null ? o : Dk.default.getItem(fm.STATSIG_STABLE_ID_KEY)) !== null && i !== void 0 ? i : this.getUUID()), o && (this.statsigMetadata.stableID = o)
		}
		return e.prototype.saveStableID = function() {
			this.statsigMetadata.stableID != null && Dk.default.setItem(fm.STATSIG_STABLE_ID_KEY, this.statsigMetadata.stableID)
		}, e.prototype.initAsync = function() {
			return ale(this, void 0, void 0, function() {
				var t;
				return sle(this, function(n) {
					switch (n.label) {
						case 0:
							return t = this.statsigMetadata.stableID, t ? [3, 2] : [4, jS.default.getItemAsync(fm.STATSIG_STABLE_ID_KEY)];
						case 1:
							t = n.sent(), t = t != null ? t : this.getUUID(), n.label = 2;
						case 2:
							return this.statsigMetadata.stableID = t, jS.default.setItemAsync(fm.STATSIG_STABLE_ID_KEY, t).catch(function() {}), [2, this]
					}
				})
			})
		}, e.prototype.getSDKType = function() {
			return this.sdkType
		}, e.prototype.getSDKVersion = function() {
			return this.sdkVersion
		}, e.prototype.getStatsigMetadata = function() {
			return this.statsigMetadata.sdkType = this.sdkType, this.statsigMetadata.sdkVersion = this.sdkVersion, this.statsigMetadata
		}, e.prototype.getUser = function() {
			return this.user
		}, e.prototype.updateUser = function(t) {
			this.user = t
		}, e.prototype.setSDKPackageInfo = function(t) {
			this.sdkType = t.sdkType, this.sdkVersion = t.sdkVersion
		}, e.prototype.setPlatform = function(t) {
			this.platform = t, this.updateMetadataFromNativeModules()
		}, e.prototype.setNativeModules = function(t) {
			this.nativeModules = t, this.updateMetadataFromNativeModules()
		}, e.prototype.updateMetadataFromNativeModules = function() {
			var t, n, r, i, o, a, s;
			this.platform == null || this.nativeModules == null || (((t = this.platform.OS) === null || t === void 0 ? void 0 : t.toLocaleLowerCase()) === "android" ? this.statsigMetadata.locale = (n = this.nativeModules.I18nManager) === null || n === void 0 ? void 0 : n.localeIdentifier : ((r = this.platform.OS) === null || r === void 0 ? void 0 : r.toLocaleLowerCase()) === "ios" && (this.statsigMetadata.locale = ((o = (i = this.nativeModules.SettingsManager) === null || i === void 0 ? void 0 : i.settings) === null || o === void 0 ? void 0 : o.AppleLocale) || ((s = (a = this.nativeModules.SettingsManager) === null || a === void 0 ? void 0 : a.settings) === null || s === void 0 ? void 0 : s.AppleLanguages[0])))
		}, e.prototype.getUUID = function() {
			var t, n;
			return (n = (t = this.reactNativeUUID) === null || t === void 0 ? void 0 : t.v4()) !== null && n !== void 0 ? n : (0, ule.v4)()
		}, e.prototype.setRNDeviceInfo = function(t) {
			var n, r, i, o, a;
			this.statsigMetadata.appVersion = (n = t.getVersion()) !== null && n !== void 0 ? n : "", this.statsigMetadata.systemVersion = (r = t.getSystemVersion()) !== null && r !== void 0 ? r : "", this.statsigMetadata.systemName = (i = t.getSystemName()) !== null && i !== void 0 ? i : "", this.statsigMetadata.deviceModelName = (o = t.getModel()) !== null && o !== void 0 ? o : "", this.statsigMetadata.deviceModel = (a = t.getDeviceId()) !== null && a !== void 0 ? a : ""
		}, e.prototype.setExpoConstants = function(t) {
			var n, r;
			this.statsigMetadata.appVersion = (r = (n = t.nativeAppVersion) !== null && n !== void 0 ? n : t.nativeBuildVersion) !== null && r !== void 0 ? r : ""
		}, e.prototype.setExpoDevice = function(t) {
			var n, r, i, o;
			this.statsigMetadata.systemVersion = (n = t.osVersion) !== null && n !== void 0 ? n : "", this.statsigMetadata.systemName = (r = t.osName) !== null && r !== void 0 ? r : "", this.statsigMetadata.deviceModelName = (i = t.modelName) !== null && i !== void 0 ? i : "", this.statsigMetadata.deviceModel = (o = t.modelId) !== null && o !== void 0 ? o : ""
		}, e
	}();
P6.default = cle;
var L6 = {},
	N6 = {},
	A_ = {};
Object.defineProperty(A_, "__esModule", {
	value: !0
});
var fle = function() {
	function e() {}
	return e.encodeInitializeCall = !0, e
}();
A_.default = fle;
(function(e) {
	var t = me && me.__assign || function() {
			return t = Object.assign || function(p) {
				for (var g, m = 1, _ = arguments.length; m < _; m++) {
					g = arguments[m];
					for (var S in g) Object.prototype.hasOwnProperty.call(g, S) && (p[S] = g[S])
				}
				return p
			}, t.apply(this, arguments)
		},
		n = me && me.__awaiter || function(p, g, m, _) {
			function S(y) {
				return y instanceof m ? y : new m(function(w) {
					w(y)
				})
			}
			return new(m || (m = Promise))(function(y, w) {
				function b(O) {
					try {
						T(_.next(O))
					} catch (R) {
						w(R)
					}
				}

				function E(O) {
					try {
						T(_.throw(O))
					} catch (R) {
						w(R)
					}
				}

				function T(O) {
					O.done ? y(O.value) : S(O.value).then(b, E)
				}
				T((_ = _.apply(p, g || [])).next())
			})
		},
		r = me && me.__generator || function(p, g) {
			var m = {
					label: 0,
					sent: function() {
						if (y[0] & 1) throw y[1];
						return y[1]
					},
					trys: [],
					ops: []
				},
				_, S, y, w;
			return w = {
				next: b(0),
				throw: b(1),
				return: b(2)
			}, typeof Symbol == "function" && (w[Symbol.iterator] = function() {
				return this
			}), w;

			function b(T) {
				return function(O) {
					return E([T, O])
				}
			}

			function E(T) {
				if (_) throw new TypeError("Generator is already executing.");
				for (; w && (w = 0, T[0] && (m = 0)), m;) try {
					if (_ = 1, S && (y = T[0] & 2 ? S.return : T[0] ? S.throw || ((y = S.return) && y.call(S), 0) : S.next) && !(y = y.call(S, T[1])).done) return y;
					switch (S = 0, y && (T = [T[0] & 2, y.value]), T[0]) {
						case 0:
						case 1:
							y = T;
							break;
						case 4:
							return m.label++, {
								value: T[1],
								done: !1
							};
						case 5:
							m.label++, S = T[1], T = [0];
							continue;
						case 7:
							T = m.ops.pop(), m.trys.pop();
							continue;
						default:
							if (y = m.trys, !(y = y.length > 0 && y[y.length - 1]) && (T[0] === 6 || T[0] === 2)) {
								m = 0;
								continue
							}
							if (T[0] === 3 && (!y || T[1] > y[0] && T[1] < y[3])) {
								m.label = T[1];
								break
							}
							if (T[0] === 6 && m.label < y[1]) {
								m.label = y[1], y = T;
								break
							}
							if (y && m.label < y[2]) {
								m.label = y[2], m.ops.push(T);
								break
							}
							y[2] && m.ops.pop(), m.trys.pop();
							continue
					}
					T = g.call(p, m)
				} catch (O) {
					T = [6, O], S = 0
				} finally {
					_ = y = 0
				}
				if (T[0] & 5) throw T[1];
				return {
					value: T[0] ? T[1] : void 0,
					done: !0
				}
			}
		},
		i = me && me.__importDefault || function(p) {
			return p && p.__esModule ? p : {
				default: p
			}
		};
	Object.defineProperty(e, "__esModule", {
		value: !0
	}), e.StatsigEndpoint = void 0;
	var o = gi,
		a = i(A_),
		s = i(Tl),
		u = i(vf),
		l;
	(function(p) {
		p.Initialize = "initialize", p.Rgstr = "rgstr", p.LogEventBeacon = "rgstr_b"
	})(l = e.StatsigEndpoint || (e.StatsigEndpoint = {}));
	var c = 204,
		d = function() {
			function p(g) {
				this.retryCodes = {
					408: !0,
					500: !0,
					502: !0,
					503: !0,
					504: !0,
					522: !0,
					524: !0,
					599: !0
				}, this.canUseKeepalive = !1, this.sdkInternal = g, this.leakyBucket = {}, this.init()
			}
			return p.prototype.init = function() {
				if (!this.sdkInternal.getOptions().getDisableNetworkKeepalive()) try {
					this.canUseKeepalive = "keepalive" in new Request("")
				} catch (g) {
					this.canUseKeepalive = !1
				}
			}, p.prototype.fetchValues = function(g) {
				var m = g.user,
					_ = g.sinceTime,
					S = g.timeout,
					y = g.useDeltas,
					w = g.prefetchUsers,
					b = g.previousDerivedFields,
					E = g.hadBadDeltaChecksum,
					T = g.badChecksum,
					O = g.badMergedConfigs,
					R = g.badFullResponse,
					k = {
						user: m,
						prefetchUsers: w,
						statsigMetadata: this.sdkInternal.getStatsigMetadata(),
						sinceTime: _ != null ? _ : void 0,
						deltasResponseRequested: y,
						hash: this.sdkInternal.getOptions().getDisableHashing() ? "none" : "djb2",
						previousDerivedFields: b,
						hadBadDeltaChecksum: E,
						badChecksum: T,
						badMergedConfigs: O,
						badFullResponse: R
					};
				return this.postWithTimeout(l.Initialize, k, {
					timeout: S,
					retries: this.sdkInternal.getOptions().getInitRequestRetries(),
					diagnostics: s.default.mark.initialize.networkRequest
				})
			}, p.prototype.postWithTimeout = function(g, m, _) {
				var S = this,
					y = _ != null ? _ : {},
					w = y.timeout,
					b = w === void 0 ? 0 : w,
					E = y.retries,
					T = E === void 0 ? 0 : E,
					O = y.backoff,
					R = O === void 0 ? 1e3 : O,
					k = y.diagnostics,
					M = k === void 0 ? null : k,
					D = !1,
					P = null,
					U, H = null,
					G = [],
					K = function(F) {
						return function(j) {
							return D && H ? j(H) : G.push(j), F
						}
					};
				b != 0 && (P = new Promise(function(F, j) {
					U = setTimeout(function() {
						D = !0, j(new o.StatsigInitializationTimeoutError(b))
					}, b)
				}));
				var ee, te = this.postToEndpoint(g, m, {
						retryOptions: {
							retryLimit: T,
							backoff: R
						},
						diagnostics: M
					}).then(function(F) {
						if (ee = F, !ee.ok) {
							var j = "Request to ".concat(g, " failed with status ").concat(ee.status);
							return u.default.error(j), Promise.reject(new Error(j))
						}
						if (typeof ee.data != "object") {
							var j = "Request to ".concat(g, " received invalid response type. Expected 'object' but got '").concat(typeof ee.data, "'");
							u.default.error(j);
							var B = new Error(j);
							return S.sdkInternal.getErrorBoundary().logError("postWithTimeoutInvalidRes", B, {
								getExtraData: function() {
									return S.getErrorData(g, m, T, R, ee)
								}
							}), Promise.reject(B)
						}
						var Z = ee.data;
						return S.sdkInternal.getErrorBoundary().capture("postWithTimeout", function() {
							return n(S, void 0, void 0, function() {
								return r(this, function(z) {
									return H = Z, D && (G.forEach(function(Q) {
										return Q(Z)
									}), G = []), [2, Promise.resolve(Z)]
								})
							})
						}, function() {
							return Promise.resolve({})
						}, {
							getExtraData: function() {
								return S.getErrorData(g, m, T, R, ee)
							}
						})
					}).catch(function(F) {
						return Promise.reject(F)
					}).finally(function() {
						clearTimeout(U)
					}),
					q = P ? Promise.race([te, P]) : te;
				return q.eventually = K(q), q
			}, p.prototype.sendLogBeacon = function(g) {
				var m = this.sdkInternal.getOptions();
				if (m.getLocalModeEnabled()) return !0;
				var _ = new URL(m.getEventLoggingApi() + l.LogEventBeacon);
				_.searchParams.append("k", this.sdkInternal.getSDKKey()), g.clientTime = Date.now() + "";
				var S = null;
				try {
					S = JSON.stringify(g)
				} catch (y) {
					return !1
				}
				return navigator.sendBeacon(_.toString(), S)
			}, p.prototype.postToEndpoint = function(g, m, _) {
				var S;
				return n(this, void 0, void 0, function() {
					var y, w, b, E, T, O, R, k, M, D, P, U, H, G, K, ee, te, q, F, j, B, Z, z = this;
					return r(this, function(Q) {
						if (y = _ != null ? _ : {}, w = y.useKeepalive, b = w === void 0 ? !1 : w, E = y.diagnostics, T = E === void 0 ? null : E, O = (S = _ == null ? void 0 : _.retryOptions) !== null && S !== void 0 ? S : {}, R = O.retryLimit, k = R === void 0 ? 0 : R, M = O.attempt, D = M === void 0 ? 1 : M, P = O.backoff, U = P === void 0 ? 1e3 : P, H = this.sdkInternal.getOptions(), H.getLocalModeEnabled()) return [2, Promise.reject("no network requests in localMode")];
						if (typeof fetch != "function") return [2, Promise.reject("fetch is not defined")];
						if (typeof window > "u" && !H.getIgnoreWindowUndefined()) return [2, Promise.reject("window is not defined")];
						if (G = [l.Initialize].includes(g) ? H.getApi() : H.getEventLoggingApi(), K = G + g, ee = this.leakyBucket[K], ee != null && ee >= 30) return [2, Promise.reject(new Error("Request failed because you are making the same request too frequently."))];
						if (ee == null ? this.leakyBucket[K] = 1 : this.leakyBucket[K] = ee + 1, te = g === l.Initialize && a.default.encodeInitializeCall && typeof window < "u" && typeof(window == null ? void 0 : window.btoa) == "function", q = JSON.stringify(m), te) try {
							F = window.btoa(q).split("").reverse().join(""), q = F
						} catch (ie) {
							te = !1
						}
						return j = {
							method: "POST",
							body: q,
							headers: t({
								"Content-type": "application/json; charset=UTF-8",
								"STATSIG-API-KEY": this.sdkInternal.getSDKKey(),
								"STATSIG-CLIENT-TIME": Date.now() + "",
								"STATSIG-SDK-TYPE": this.sdkInternal.getSDKType(),
								"STATSIG-SDK-VERSION": this.sdkInternal.getSDKVersion(),
								"STATSIG-ENCODED": te ? "1" : "0"
							}, _ == null ? void 0 : _.additionalHeaders)
						}, this.canUseKeepalive && b && (j.keepalive = !0), T == null || T.start({
							attempt: D
						}), Z = !0, [2, fetch(K, j).then(function(ie) {
							return n(z, void 0, void 0, function() {
								var le, pe, Ee;
								return r(this, function(be) {
									switch (be.label) {
										case 0:
											return B = ie, B.ok ? (le = B, B.status !== c ? [3, 1] : (le.data = {
												has_updates: !1,
												is_no_content: !0
											}, [3, 3])) : [3, 4];
										case 1:
											return [4, B.text()];
										case 2:
											pe = be.sent(), le.data = JSON.parse(pe), be.label = 3;
										case 3:
											return T == null || T.end(this.getDiagnosticsData(B, D)), [2, Promise.resolve(le)];
										case 4:
											return this.retryCodes[B.status] || (Z = !1), [4, B.text()];
										case 5:
											return Ee = be.sent(), [2, Promise.reject(new Error("".concat(B.status, ": ").concat(Ee)))]
									}
								})
							})
						}).catch(function(ie) {
							T == null || T.end(z.getDiagnosticsData(B, D, ie));
							var le = "Error occurred while posting to endpoint: ".concat(ie.message, "\n") + "Error Details: ".concat(JSON.stringify(ie), "\n") + "Endpoint: ".concat(g, "\n") + "Attempt: ".concat(D, "\n") + "Retry Limit: ".concat(k, "\n") + "Backoff: ".concat(U);
							return u.default.error(le), D < k && Z ? new Promise(function(pe, Ee) {
								setTimeout(function() {
									z.leakyBucket[K] = Math.max(z.leakyBucket[K] - 1, 0), z.postToEndpoint(g, m, {
										retryOptions: {
											retryLimit: k,
											attempt: D + 1,
											backoff: U * 2
										},
										useKeepalive: b,
										diagnostics: T
									}).then(pe).catch(Ee)
								}, U)
							}) : Promise.reject(ie)
						}).finally(function() {
							z.leakyBucket[K] = Math.max(z.leakyBucket[K] - 1, 0)
						})]
					})
				})
			}, p.prototype.supportsKeepalive = function() {
				return this.canUseKeepalive
			}, p.prototype.getDiagnosticsData = function(g, m, _) {
				var S, y;
				return {
					success: (g == null ? void 0 : g.ok) === !0,
					statusCode: g == null ? void 0 : g.status,
					sdkRegion: (S = g == null ? void 0 : g.headers) === null || S === void 0 ? void 0 : S.get("x-statsig-region"),
					isDelta: ((y = g == null ? void 0 : g.data) === null || y === void 0 ? void 0 : y.is_delta) === !0,
					attempt: m,
					error: s.default.formatError(_)
				}
			}, p.prototype.getErrorData = function(g, m, _, S, y) {
				var w;
				try {
					var b = {};
					return ((w = y.headers) !== null && w !== void 0 ? w : []).forEach(function(E, T) {
						b[T] = E
					}), {
						responseInfo: {
							headers: b,
							status: y.status,
							statusText: y.statusText,
							type: y.type,
							url: y.url,
							redirected: y.redirected,
							bodySnippet: y.data ? JSON.stringify(y.data).slice(0, 500) : null
						},
						requestInfo: {
							endpointName: g,
							bodySnippet: JSON.stringify(m).slice(0, 500),
							retries: _,
							backoff: S
						}
					}
				} catch (E) {
					return {
						statusText: "statsig::failed to extract extra data"
					}
				}
			}, p
		}();
	e.default = d
})(N6);
var OE = me && me.__assign || function() {
		return OE = Object.assign || function(e) {
			for (var t, n = 1, r = arguments.length; n < r; n++) {
				t = arguments[n];
				for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
			}
			return e
		}, OE.apply(this, arguments)
	},
	dle = me && me.__awaiter || function(e, t, n, r) {
		function i(o) {
			return o instanceof n ? o : new n(function(a) {
				a(o)
			})
		}
		return new(n || (n = Promise))(function(o, a) {
			function s(c) {
				try {
					l(r.next(c))
				} catch (d) {
					a(d)
				}
			}

			function u(c) {
				try {
					l(r.throw(c))
				} catch (d) {
					a(d)
				}
			}

			function l(c) {
				c.done ? o(c.value) : i(c.value).then(s, u)
			}
			l((r = r.apply(e, t || [])).next())
		})
	},
	ple = me && me.__generator || function(e, t) {
		var n = {
				label: 0,
				sent: function() {
					if (o[0] & 1) throw o[1];
					return o[1]
				},
				trys: [],
				ops: []
			},
			r, i, o, a;
		return a = {
			next: s(0),
			throw: s(1),
			return: s(2)
		}, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
			return this
		}), a;

		function s(l) {
			return function(c) {
				return u([l, c])
			}
		}

		function u(l) {
			if (r) throw new TypeError("Generator is already executing.");
			for (; a && (a = 0, l[0] && (n = 0)), n;) try {
				if (r = 1, i && (o = l[0] & 2 ? i.return : l[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, l[1])).done) return o;
				switch (i = 0, o && (l = [l[0] & 2, o.value]), l[0]) {
					case 0:
					case 1:
						o = l;
						break;
					case 4:
						return n.label++, {
							value: l[1],
							done: !1
						};
					case 5:
						n.label++, i = l[1], l = [0];
						continue;
					case 7:
						l = n.ops.pop(), n.trys.pop();
						continue;
					default:
						if (o = n.trys, !(o = o.length > 0 && o[o.length - 1]) && (l[0] === 6 || l[0] === 2)) {
							n = 0;
							continue
						}
						if (l[0] === 3 && (!o || l[1] > o[0] && l[1] < o[3])) {
							n.label = l[1];
							break
						}
						if (l[0] === 6 && n.label < o[1]) {
							n.label = o[1], o = l;
							break
						}
						if (o && n.label < o[2]) {
							n.label = o[2], n.ops.push(l);
							break
						}
						o[2] && n.ops.pop(), n.trys.pop();
						continue
				}
				l = t.call(e, n)
			} catch (c) {
				l = [6, c], i = 0
			} finally {
				r = o = 0
			}
			if (l[0] & 5) throw l[1];
			return {
				value: l[0] ? l[1] : void 0,
				done: !0
			}
		}
	},
	x1 = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(L6, "__esModule", {
	value: !0
});
var hle = k6,
	ed = x1(I_),
	$k = N6,
	td = zn,
	c0 = x1(Tl),
	Fk = x1(vf),
	nd = x1(gf),
	US = x1(sh),
	To = "statsig::",
	vle = To + "config_exposure",
	gle = To + "layer_exposure",
	mle = To + "gate_exposure",
	yle = To + "log_event_failed",
	wle = To + "app_error",
	_le = To + "app_metrics::page_load_time",
	ble = To + "app_metrics::dom_interactive_time",
	Sle = To + "app_metrics::scroll_depth",
	xle = To + "app_metrics::time_on_page_ms",
	Ele = To + "diagnostics",
	Cle = To + "default_value_type_mismatch",
	Ole = To + "non_exposed_checks",
	Tle = 5 * 24 * 60 * 60 * 1e3,
	Rle = 100,
	Hj = 1e3,
	jk = 1024 * Hj,
	Ile = 10,
	kle = function() {
		function e(t) {
			this.failedLogEventCount = 0, this.debugInfo = void 0, this.sdkInternal = t, this.queue = [], this.nonExposedChecks = {}, this.flushInterval = null, this.loggedErrors = new Set, this.failedLogEvents = [], this.exposureDedupeKeys = {}, this.failedLogEventCount = 0, this.init()
		}
		return e.prototype.init = function() {
			var t = this;
			typeof window < "u" && typeof window.addEventListener == "function" && (window.addEventListener("blur", function() {
				return t.flush(!0)
			}), window.addEventListener("beforeunload", function() {
				return t.flush(!0)
			}), window.addEventListener("load", function() {
				setTimeout(function() {
					return t.flush()
				}, 100), setTimeout(function() {
					return t.flush()
				}, 1e3)
			})), typeof document < "u" && typeof document.addEventListener == "function" && document.addEventListener("visibilitychange", function() {
				t.flush(document.visibilityState !== "visible")
			}), !(!this.sdkInternal.getOptions().getIgnoreWindowUndefined() && (typeof window > "u" || window == null)) && (this.sdkInternal.getOptions().getLocalModeEnabled() || (this.flushInterval = setInterval(function() {
				t.flush()
			}, this.sdkInternal.getOptions().getLoggingIntervalMillis()), setTimeout(function() {
				return t.flush()
			}, 100), setTimeout(function() {
				return t.flush()
			}, 1e3)))
		}, e.prototype.log = function(t) {
			if (!this.sdkInternal.getOptions().isAllLoggingDisabled()) {
				try {
					if (!this.sdkInternal.getOptions().getDisableCurrentPageLogging() && typeof window < "u" && window != null && typeof window.location == "object" && typeof window.location.href == "string") {
						var n = window.location.href.split(/[?#]/);
						(n == null ? void 0 : n.length) > 0 && t.addStatsigMetadata("currentPage", n[0])
					}
				} catch (r) {}
				this.queue.push(t.toJsonObject()), this.queue.length >= this.sdkInternal.getOptions().getLoggingBufferMaxSize() && this.flush()
			}
		}, e.prototype.resetDedupeKeys = function() {
			this.exposureDedupeKeys = {}
		}, e.prototype.setDebugInfo = function(t) {
			this.debugInfo = t
		}, e.prototype.shouldLogExposure = function(t) {
			var n = this.exposureDedupeKeys[t],
				r = Date.now();
			return n == null ? (this.exposureDedupeKeys[t] = r, !0) : n >= r - 600 * 1e3 ? !1 : (this.exposureDedupeKeys[t] = r, !0)
		}, e.prototype.addNonExposedCheck = function(t) {
			this.nonExposedChecks[t] == null ? this.nonExposedChecks[t] = 1 : this.nonExposedChecks[t]++
		}, e.prototype.logGateExposure = function(t, n, r, i, o, a, s) {
			var u = n + String(r) + i + a.reason;
			if (this.shouldLogExposure(u)) {
				var l = {
					gate: n,
					gateValue: String(r),
					ruleID: i,
					reason: a.reason,
					time: a.time,
					debugInfo: this.debugInfo
				};
				s && (l.isManualExposure = "true");
				var c = new ed.default(mle);
				c.setUser(t), c.setMetadata(l), c.setSecondaryExposures(o), this.log(c)
			}
		}, e.prototype.logConfigExposure = function(t, n, r, i, o, a) {
			var s = n + r + o.reason;
			if (this.shouldLogExposure(s)) {
				var u = {
					config: n,
					ruleID: r,
					reason: o.reason,
					time: o.time,
					debugInfo: this.debugInfo
				};
				a && (u.isManualExposure = "true");
				var l = new ed.default(vle);
				l.setUser(t), l.setMetadata(u), l.setSecondaryExposures(i), this.log(l)
			}
		}, e.prototype.logLayerExposure = function(t, n, r, i, o, a, s, u, l) {
			var c = [n, r, o, a, String(s), u.reason].join("|");
			if (this.shouldLogExposure(c)) {
				var d = {
					config: n,
					ruleID: r,
					allocatedExperiment: o,
					parameterName: a,
					isExplicitParameter: String(s),
					reason: u.reason,
					time: u.time,
					debugInfo: this.debugInfo
				};
				l && (d.isManualExposure = "true");
				var p = new ed.default(gle);
				p.setUser(t), p.setMetadata(d), p.setSecondaryExposures(i), this.log(p)
			}
		}, e.prototype.logConfigDefaultValueFallback = function(t, n, r) {
			this.logGenericEvent(Cle, t, n, r), this.loggedErrors.add(n), Fk.default.error(n)
		}, e.prototype.logAppError = function(t, n, r) {
			var i = n.substring(0, 128);
			this.loggedErrors.has(i) || this.loggedErrors.size > Ile || (this.logGenericEvent(wle, t, i, r), this.loggedErrors.add(i))
		}, e.prototype.logDiagnostics = function(t, n) {
			var r = c0.default.getMarkers(n);
			if (!(r.length <= 0)) {
				c0.default.clearContext(n);
				var i = this.makeDiagnosticsEvent(t, {
					markers: r,
					context: n,
					statsigOptions: this.sdkInternal.getOptions().getLoggingCopy()
				});
				this.log(i)
			}
		}, e.prototype.logAppMetrics = function(t) {
			var n = this,
				r;
			if (typeof((r = window == null ? void 0 : window.performance) === null || r === void 0 ? void 0 : r.getEntriesByType) == "function") {
				var i = window.performance.getEntriesByType("navigation");
				if (!(!i || i.length < 1)) {
					var o = i[0],
						a = {
							url: o.name
						};
					if (o instanceof PerformanceNavigationTiming && (this.logGenericEvent(_le, t, o.duration, a), this.logGenericEvent(ble, t, o.domInteractive - o.startTime, a)), typeof(window == null ? void 0 : window.addEventListener) == "function" && (document != null && document.body)) {
						var s = 0,
							u = !1;
						window.addEventListener("scroll", function() {
							if ((document == null ? void 0 : document.body) != null) try {
								var l = document.body.scrollHeight || 1,
									c = Math.min(100, Math.round((window.scrollY + window.innerHeight) / l * 100));
								c > s && (s = c), u = !0
							} catch (d) {}
						}), window.addEventListener("beforeunload", function() {
							u && n.logGenericEvent(Sle, t, s, a), n.logGenericEvent(xle, t, window.performance.now(), a)
						})
					}
				}
			}
		}, e.prototype.logGenericEvent = function(t, n, r, i) {
			var o = new ed.default(t);
			return o.setUser(n), o.setValue(r), o.setMetadata(i), this.log(o), o
		}, e.prototype.shutdown = function() {
			this.flushInterval && (clearInterval(this.flushInterval), this.flushInterval = null), this.flush(!0)
		}, e.prototype.flush = function(t) {
			var n = this;
			if (t === void 0 && (t = !1), this.addErrorBoundaryDiagnostics(), this.addNonExposedChecksEvent(), this.queue.length === 0) {
				t && this.saveFailedRequests();
				return
			}
			var r = this.sdkInternal.getStatsigMetadata();
			r.sessionID == null && (r.sessionID = (0, hle.v4)());
			var i = this.queue;
			if (this.queue = [], t && !this.sdkInternal.getNetwork().supportsKeepalive() && typeof navigator < "u" && (navigator == null ? void 0 : navigator.sendBeacon) != null) {
				var o = this.sdkInternal.getNetwork().sendLogBeacon({
					events: i,
					statsigMetadata: this.sdkInternal.getStatsigMetadata()
				});
				o || (this.queue = i.concat(this.queue), this.queue.length > 0 && (this.addFailedRequest({
					events: this.queue,
					statsigMetadata: this.sdkInternal.getStatsigMetadata(),
					time: Date.now()
				}), this.queue = [])), this.saveFailedRequests();
				return
			}
			this.sdkInternal.getNetwork().postToEndpoint($k.StatsigEndpoint.Rgstr, {
				events: i,
				statsigMetadata: this.sdkInternal.getStatsigMetadata()
			}, {
				retryOptions: {
					retryLimit: 3,
					backoff: 1e3
				},
				useKeepalive: t,
				additionalHeaders: {
					"STATSIG-EVENT-COUNT": String(i.length)
				}
			}).then(function(a) {
				if (!a.ok) throw a
			}).catch(function(a) {
				n.addFailedRequest({
					events: i,
					statsigMetadata: n.sdkInternal.getStatsigMetadata(),
					time: Date.now()
				})
			}).finally(function() {
				t && n.saveFailedRequests()
			})
		}, e.prototype.saveFailedRequests = function() {
			var t = this;
			if (this.failedLogEvents.length > 0) {
				var n = JSON.stringify(this.failedLogEvents);
				if (n.length > jk) {
					this.logDroppedLogEventsException(this.failedLogEventCount, "Exceeds local storage size");
					return
				}
				if (nd.default.asyncStorage) {
					nd.default.setItemAsync(td.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY, n).catch(function(r) {
						return t.sdkInternal.getErrorBoundary().logError("saveFailedRequests", r)
					});
					return
				}
				US.default.setItem(td.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY, n)
			}
		}, e.prototype.sendSavedRequests = function() {
			return dle(this, void 0, void 0, function() {
				var t, n, r, i, o, a, s, u, l = this;
				return ple(this, function(c) {
					switch (c.label) {
						case 0:
							return n = !1, nd.default.asyncStorage ? [4, nd.default.getItemAsync(td.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY)] : [3, 2];
						case 1:
							return t = c.sent(), [3, 3];
						case 2:
							t = US.default.getItem(td.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY), c.label = 3;
						case 3:
							if (t == null) return [2];
							t.length > jk && (n = !0), r = [];
							try {
								for (r = JSON.parse(t), i = function(d) {
										d != null && d.events && Array.isArray(d.events) && o.sdkInternal.getNetwork().postToEndpoint($k.StatsigEndpoint.Rgstr, d, {
											additionalHeaders: {
												"STATSIG-EVENT-COUNT": String(d.events.length)
											}
										}).then(function(p) {
											if (!p.ok) throw Error(p.status + "")
										}).catch(function() {
											if (n) {
												l.logDroppedLogEventsException(d.events.length, "Flush while shutting down");
												return
											}
											l.addFailedRequest(d)
										})
									}, o = this, a = 0, s = r; a < s.length; a++) u = s[a], i(u)
							} catch (d) {
								Fk.default.error("sendSavedRequests ", d), this.sdkInternal.getErrorBoundary().logError("sendSavedRequests", d)
							} finally {
								this.clearLocalStorageRequests()
							}
							return [2]
					}
				})
			})
		}, e.prototype.addFailedRequest = function(t) {
			var n = t.events.length;
			if (t.time < Date.now() - Tle) {
				this.logDroppedLogEventsException(n, "Events too old");
				return
			}
			if (this.failedLogEvents.length > Rle) {
				this.logDroppedLogEventsException(n, "Exceed max batches to retry");
				return
			}
			var r = t.events.length;
			if (this.failedLogEventCount + r > Hj) {
				this.logDroppedLogEventsException(n, "Exceeds max failed events");
				return
			}
			this.failedLogEvents.push(t), this.failedLogEventCount += r
		}, e.prototype.clearLocalStorageRequests = function() {
			var t = this;
			nd.default.asyncStorage ? nd.default.removeItemAsync(td.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY).catch(function(n) {
				return t.sdkInternal.getErrorBoundary().logError("clearLocalStorageRequests", n)
			}) : US.default.removeItem(td.STATSIG_LOCAL_STORAGE_LOGGING_REQUEST_KEY)
		}, e.prototype.makeDiagnosticsEvent = function(t, n) {
			var r = new ed.default(Ele);
			return r.setUser(t), r.setMetadata(n), r
		}, e.prototype.addErrorBoundaryDiagnostics = function() {
			if (c0.default.getMarkerCount("api_call") !== 0) {
				var t = this.makeDiagnosticsEvent(this.sdkInternal.getCurrentUser(), {
					context: "api_call",
					markers: c0.default.getMarkers("api_call")
				});
				this.queue.push(t), c0.default.clearContext("api_call")
			}
		}, e.prototype.addNonExposedChecksEvent = function() {
			if (Object.keys(this.nonExposedChecks).length !== 0) {
				var t = new ed.default(Ole);
				t.setMetadata({
					checks: OE({}, this.nonExposedChecks)
				}), this.queue.push(t), this.nonExposedChecks = {}
			}
		}, e.prototype.logDroppedLogEventsException = function(t, n) {
			this.sdkInternal.getErrorBoundary().logError(yle, new Error(n), {
				getExtraData: function() {
					return {
						eventCount: t
					}
				}
			})
		}, e
	}();
L6.default = kle;
var D6 = {},
	$6 = {},
	M_ = {},
	Mn = {},
	Vj = {
		exports: {}
	};
const Ale = {},
	Mle = Object.freeze(Object.defineProperty({
		__proto__: null,
		default: Ale
	}, Symbol.toStringTag, {
		value: "Module"
	})),
	Uk = hj(Mle);
/**
 * [js-sha256]{@link https://github.com/emn178/js-sha256}
 *
 * @version 0.11.0
 * @author Chen, Yi-Cyuan [emn178@gmail.com]
 * @copyright Chen, Yi-Cyuan 2014-2024
 * @license MIT
 */
(function(e) {
	(function() {
		var t = "input is invalid type",
			n = typeof window == "object",
			r = n ? window : {};
		r.JS_SHA256_NO_WINDOW && (n = !1);
		var i = !n && typeof self == "object",
			o = !r.JS_SHA256_NO_NODE_JS && typeof process == "object" && process.versions && process.versions.node;
		o ? r = window : i && (r = self);
		var a = !r.JS_SHA256_NO_COMMON_JS && !0 && e.exports,
			s = !r.JS_SHA256_NO_ARRAY_BUFFER && typeof ArrayBuffer < "u",
			u = "0123456789abcdef".split(""),
			l = [-2147483648, 8388608, 32768, 128],
			c = [24, 16, 8, 0],
			d = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298],
			p = ["hex", "array", "digest", "arrayBuffer"],
			g = [];
		(r.JS_SHA256_NO_NODE_JS || !Array.isArray) && (Array.isArray = function(O) {
			return Object.prototype.toString.call(O) === "[object Array]"
		}), s && (r.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW || !ArrayBuffer.isView) && (ArrayBuffer.isView = function(O) {
			return typeof O == "object" && O.buffer && O.buffer.constructor === ArrayBuffer
		});
		var m = function(O, R) {
				return function(k) {
					return new b(R, !0).update(k)[O]()
				}
			},
			_ = function(O) {
				var R = m("hex", O);
				o && (R = S(R, O)), R.create = function() {
					return new b(O)
				}, R.update = function(D) {
					return R.create().update(D)
				};
				for (var k = 0; k < p.length; ++k) {
					var M = p[k];
					R[M] = m(M, O)
				}
				return R
			},
			S = function(O, R) {
				var k = Uk,
					M = Uk.Buffer,
					D = R ? "sha224" : "sha256",
					P;
				M.from && !r.JS_SHA256_NO_BUFFER_FROM ? P = M.from : P = function(H) {
					return new M(H)
				};
				var U = function(H) {
					if (typeof H == "string") return k.createHash(D).update(H, "utf8").digest("hex");
					if (H == null) throw new Error(t);
					return H.constructor === ArrayBuffer && (H = new Uint8Array(H)), Array.isArray(H) || ArrayBuffer.isView(H) || H.constructor === M ? k.createHash(D).update(P(H)).digest("hex") : O(H)
				};
				return U
			},
			y = function(O, R) {
				return function(k, M) {
					return new E(k, R, !0).update(M)[O]()
				}
			},
			w = function(O) {
				var R = y("hex", O);
				R.create = function(D) {
					return new E(D, O)
				}, R.update = function(D, P) {
					return R.create(D).update(P)
				};
				for (var k = 0; k < p.length; ++k) {
					var M = p[k];
					R[M] = y(M, O)
				}
				return R
			};

		function b(O, R) {
			R ? (g[0] = g[16] = g[1] = g[2] = g[3] = g[4] = g[5] = g[6] = g[7] = g[8] = g[9] = g[10] = g[11] = g[12] = g[13] = g[14] = g[15] = 0, this.blocks = g) : this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], O ? (this.h0 = 3238371032, this.h1 = 914150663, this.h2 = 812702999, this.h3 = 4144912697, this.h4 = 4290775857, this.h5 = 1750603025, this.h6 = 1694076839, this.h7 = 3204075428) : (this.h0 = 1779033703, this.h1 = 3144134277, this.h2 = 1013904242, this.h3 = 2773480762, this.h4 = 1359893119, this.h5 = 2600822924, this.h6 = 528734635, this.h7 = 1541459225), this.block = this.start = this.bytes = this.hBytes = 0, this.finalized = this.hashed = !1, this.first = !0, this.is224 = O
		}
		b.prototype.update = function(O) {
			if (!this.finalized) {
				var R, k = typeof O;
				if (k !== "string") {
					if (k === "object") {
						if (O === null) throw new Error(t);
						if (s && O.constructor === ArrayBuffer) O = new Uint8Array(O);
						else if (!Array.isArray(O) && (!s || !ArrayBuffer.isView(O))) throw new Error(t)
					} else throw new Error(t);
					R = !0
				}
				for (var M, D = 0, P, U = O.length, H = this.blocks; D < U;) {
					if (this.hashed && (this.hashed = !1, H[0] = this.block, this.block = H[16] = H[1] = H[2] = H[3] = H[4] = H[5] = H[6] = H[7] = H[8] = H[9] = H[10] = H[11] = H[12] = H[13] = H[14] = H[15] = 0), R)
						for (P = this.start; D < U && P < 64; ++D) H[P >>> 2] |= O[D] << c[P++ & 3];
					else
						for (P = this.start; D < U && P < 64; ++D) M = O.charCodeAt(D), M < 128 ? H[P >>> 2] |= M << c[P++ & 3] : M < 2048 ? (H[P >>> 2] |= (192 | M >>> 6) << c[P++ & 3], H[P >>> 2] |= (128 | M & 63) << c[P++ & 3]) : M < 55296 || M >= 57344 ? (H[P >>> 2] |= (224 | M >>> 12) << c[P++ & 3], H[P >>> 2] |= (128 | M >>> 6 & 63) << c[P++ & 3], H[P >>> 2] |= (128 | M & 63) << c[P++ & 3]) : (M = 65536 + ((M & 1023) << 10 | O.charCodeAt(++D) & 1023), H[P >>> 2] |= (240 | M >>> 18) << c[P++ & 3], H[P >>> 2] |= (128 | M >>> 12 & 63) << c[P++ & 3], H[P >>> 2] |= (128 | M >>> 6 & 63) << c[P++ & 3], H[P >>> 2] |= (128 | M & 63) << c[P++ & 3]);
					this.lastByteIndex = P, this.bytes += P - this.start, P >= 64 ? (this.block = H[16], this.start = P - 64, this.hash(), this.hashed = !0) : this.start = P
				}
				return this.bytes > 4294967295 && (this.hBytes += this.bytes / 4294967296 << 0, this.bytes = this.bytes % 4294967296), this
			}
		}, b.prototype.finalize = function() {
			if (!this.finalized) {
				this.finalized = !0;
				var O = this.blocks,
					R = this.lastByteIndex;
				O[16] = this.block, O[R >>> 2] |= l[R & 3], this.block = O[16], R >= 56 && (this.hashed || this.hash(), O[0] = this.block, O[16] = O[1] = O[2] = O[3] = O[4] = O[5] = O[6] = O[7] = O[8] = O[9] = O[10] = O[11] = O[12] = O[13] = O[14] = O[15] = 0), O[14] = this.hBytes << 3 | this.bytes >>> 29, O[15] = this.bytes << 3, this.hash()
			}
		}, b.prototype.hash = function() {
			var O = this.h0,
				R = this.h1,
				k = this.h2,
				M = this.h3,
				D = this.h4,
				P = this.h5,
				U = this.h6,
				H = this.h7,
				G = this.blocks,
				K, ee, te, q, F, j, B, Z, z, Q, ie;
			for (K = 16; K < 64; ++K) F = G[K - 15], ee = (F >>> 7 | F << 25) ^ (F >>> 18 | F << 14) ^ F >>> 3, F = G[K - 2], te = (F >>> 17 | F << 15) ^ (F >>> 19 | F << 13) ^ F >>> 10, G[K] = G[K - 16] + ee + G[K - 7] + te << 0;
			for (ie = R & k, K = 0; K < 64; K += 4) this.first ? (this.is224 ? (Z = 300032, F = G[0] - 1413257819, H = F - 150054599 << 0, M = F + 24177077 << 0) : (Z = 704751109, F = G[0] - 210244248, H = F - 1521486534 << 0, M = F + 143694565 << 0), this.first = !1) : (ee = (O >>> 2 | O << 30) ^ (O >>> 13 | O << 19) ^ (O >>> 22 | O << 10), te = (D >>> 6 | D << 26) ^ (D >>> 11 | D << 21) ^ (D >>> 25 | D << 7), Z = O & R, q = Z ^ O & k ^ ie, B = D & P ^ ~D & U, F = H + te + B + d[K] + G[K], j = ee + q, H = M + F << 0, M = F + j << 0), ee = (M >>> 2 | M << 30) ^ (M >>> 13 | M << 19) ^ (M >>> 22 | M << 10), te = (H >>> 6 | H << 26) ^ (H >>> 11 | H << 21) ^ (H >>> 25 | H << 7), z = M & O, q = z ^ M & R ^ Z, B = H & D ^ ~H & P, F = U + te + B + d[K + 1] + G[K + 1], j = ee + q, U = k + F << 0, k = F + j << 0, ee = (k >>> 2 | k << 30) ^ (k >>> 13 | k << 19) ^ (k >>> 22 | k << 10), te = (U >>> 6 | U << 26) ^ (U >>> 11 | U << 21) ^ (U >>> 25 | U << 7), Q = k & M, q = Q ^ k & O ^ z, B = U & H ^ ~U & D, F = P + te + B + d[K + 2] + G[K + 2], j = ee + q, P = R + F << 0, R = F + j << 0, ee = (R >>> 2 | R << 30) ^ (R >>> 13 | R << 19) ^ (R >>> 22 | R << 10), te = (P >>> 6 | P << 26) ^ (P >>> 11 | P << 21) ^ (P >>> 25 | P << 7), ie = R & k, q = ie ^ R & M ^ Q, B = P & U ^ ~P & H, F = D + te + B + d[K + 3] + G[K + 3], j = ee + q, D = O + F << 0, O = F + j << 0, this.chromeBugWorkAround = !0;
			this.h0 = this.h0 + O << 0, this.h1 = this.h1 + R << 0, this.h2 = this.h2 + k << 0, this.h3 = this.h3 + M << 0, this.h4 = this.h4 + D << 0, this.h5 = this.h5 + P << 0, this.h6 = this.h6 + U << 0, this.h7 = this.h7 + H << 0
		}, b.prototype.hex = function() {
			this.finalize();
			var O = this.h0,
				R = this.h1,
				k = this.h2,
				M = this.h3,
				D = this.h4,
				P = this.h5,
				U = this.h6,
				H = this.h7,
				G = u[O >>> 28 & 15] + u[O >>> 24 & 15] + u[O >>> 20 & 15] + u[O >>> 16 & 15] + u[O >>> 12 & 15] + u[O >>> 8 & 15] + u[O >>> 4 & 15] + u[O & 15] + u[R >>> 28 & 15] + u[R >>> 24 & 15] + u[R >>> 20 & 15] + u[R >>> 16 & 15] + u[R >>> 12 & 15] + u[R >>> 8 & 15] + u[R >>> 4 & 15] + u[R & 15] + u[k >>> 28 & 15] + u[k >>> 24 & 15] + u[k >>> 20 & 15] + u[k >>> 16 & 15] + u[k >>> 12 & 15] + u[k >>> 8 & 15] + u[k >>> 4 & 15] + u[k & 15] + u[M >>> 28 & 15] + u[M >>> 24 & 15] + u[M >>> 20 & 15] + u[M >>> 16 & 15] + u[M >>> 12 & 15] + u[M >>> 8 & 15] + u[M >>> 4 & 15] + u[M & 15] + u[D >>> 28 & 15] + u[D >>> 24 & 15] + u[D >>> 20 & 15] + u[D >>> 16 & 15] + u[D >>> 12 & 15] + u[D >>> 8 & 15] + u[D >>> 4 & 15] + u[D & 15] + u[P >>> 28 & 15] + u[P >>> 24 & 15] + u[P >>> 20 & 15] + u[P >>> 16 & 15] + u[P >>> 12 & 15] + u[P >>> 8 & 15] + u[P >>> 4 & 15] + u[P & 15] + u[U >>> 28 & 15] + u[U >>> 24 & 15] + u[U >>> 20 & 15] + u[U >>> 16 & 15] + u[U >>> 12 & 15] + u[U >>> 8 & 15] + u[U >>> 4 & 15] + u[U & 15];
			return this.is224 || (G += u[H >>> 28 & 15] + u[H >>> 24 & 15] + u[H >>> 20 & 15] + u[H >>> 16 & 15] + u[H >>> 12 & 15] + u[H >>> 8 & 15] + u[H >>> 4 & 15] + u[H & 15]), G
		}, b.prototype.toString = b.prototype.hex, b.prototype.digest = function() {
			this.finalize();
			var O = this.h0,
				R = this.h1,
				k = this.h2,
				M = this.h3,
				D = this.h4,
				P = this.h5,
				U = this.h6,
				H = this.h7,
				G = [O >>> 24 & 255, O >>> 16 & 255, O >>> 8 & 255, O & 255, R >>> 24 & 255, R >>> 16 & 255, R >>> 8 & 255, R & 255, k >>> 24 & 255, k >>> 16 & 255, k >>> 8 & 255, k & 255, M >>> 24 & 255, M >>> 16 & 255, M >>> 8 & 255, M & 255, D >>> 24 & 255, D >>> 16 & 255, D >>> 8 & 255, D & 255, P >>> 24 & 255, P >>> 16 & 255, P >>> 8 & 255, P & 255, U >>> 24 & 255, U >>> 16 & 255, U >>> 8 & 255, U & 255];
			return this.is224 || G.push(H >>> 24 & 255, H >>> 16 & 255, H >>> 8 & 255, H & 255), G
		}, b.prototype.array = b.prototype.digest, b.prototype.arrayBuffer = function() {
			this.finalize();
			var O = new ArrayBuffer(this.is224 ? 28 : 32),
				R = new DataView(O);
			return R.setUint32(0, this.h0), R.setUint32(4, this.h1), R.setUint32(8, this.h2), R.setUint32(12, this.h3), R.setUint32(16, this.h4), R.setUint32(20, this.h5), R.setUint32(24, this.h6), this.is224 || R.setUint32(28, this.h7), O
		};

		function E(O, R, k) {
			var M, D = typeof O;
			if (D === "string") {
				var P = [],
					U = O.length,
					H = 0,
					G;
				for (M = 0; M < U; ++M) G = O.charCodeAt(M), G < 128 ? P[H++] = G : G < 2048 ? (P[H++] = 192 | G >>> 6, P[H++] = 128 | G & 63) : G < 55296 || G >= 57344 ? (P[H++] = 224 | G >>> 12, P[H++] = 128 | G >>> 6 & 63, P[H++] = 128 | G & 63) : (G = 65536 + ((G & 1023) << 10 | O.charCodeAt(++M) & 1023), P[H++] = 240 | G >>> 18, P[H++] = 128 | G >>> 12 & 63, P[H++] = 128 | G >>> 6 & 63, P[H++] = 128 | G & 63);
				O = P
			} else if (D === "object") {
				if (O === null) throw new Error(t);
				if (s && O.constructor === ArrayBuffer) O = new Uint8Array(O);
				else if (!Array.isArray(O) && (!s || !ArrayBuffer.isView(O))) throw new Error(t)
			} else throw new Error(t);
			O.length > 64 && (O = new b(R, !0).update(O).array());
			var K = [],
				ee = [];
			for (M = 0; M < 64; ++M) {
				var te = O[M] || 0;
				K[M] = 92 ^ te, ee[M] = 54 ^ te
			}
			b.call(this, R, k), this.update(ee), this.oKeyPad = K, this.inner = !0, this.sharedMemory = k
		}
		E.prototype = new b, E.prototype.finalize = function() {
			if (b.prototype.finalize.call(this), this.inner) {
				this.inner = !1;
				var O = this.array();
				b.call(this, this.is224, this.sharedMemory), this.update(this.oKeyPad), this.update(O), b.prototype.finalize.call(this)
			}
		};
		var T = _();
		T.sha256 = T, T.sha224 = _(!0), T.sha256.hmac = w(), T.sha224.hmac = w(!0), a ? e.exports = T : (r.sha256 = T.sha256, r.sha224 = T.sha224)
	})()
})(Vj);
var Ple = Vj.exports,
	Bj = {};
(function(e) {
	Object.defineProperty(e, "__esModule", {
		value: !0
	}), e.Base64 = void 0, e.Base64 = {
		_keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
		_encodeBinary: function(t) {
			for (var n = "", r, i, o, a, s, u, l, c = 0; c < t.length;) r = t.charCodeAt(c++), i = t.charCodeAt(c++), o = t.charCodeAt(c++), a = r >> 2, s = (r & 3) << 4 | i >> 4, u = (i & 15) << 2 | o >> 6, l = o & 63, isNaN(i) ? u = l = 64 : isNaN(o) && (l = 64), n = n + this._keyStr.charAt(a) + this._keyStr.charAt(s) + this._keyStr.charAt(u) + this._keyStr.charAt(l);
			return n
		},
		encodeArrayBuffer: function(t) {
			for (var n = "", r = new Uint8Array(t), i = r.byteLength, o = 0; o < i; o++) n += String.fromCharCode(r[o]);
			return e.Base64._encodeBinary(n)
		}
	}
})(Bj);
Object.defineProperty(Mn, "__esModule", {
	value: !0
});
Mn.getUserCacheKey = Mn.getSortedObject = Mn.djb2HashForObject = Mn.sha256Hash = Mn.djb2Hash = Mn.memoizedUserCacheKeyHash = Mn.fasthash = void 0;
var Lle = Ple,
	Nle = Bj,
	C2 = {};

function F6(e) {
	for (var t = 0, n = 0; n < e.length; n++) {
		var r = e.charCodeAt(n);
		t = (t << 5) - t + r, t = t & t
	}
	return t
}
Mn.fasthash = F6;

function Ny(e) {
	var t = C2[e];
	if (t) return t;
	var n = String(F6(e));
	return C2[e] = n, n
}
Mn.memoizedUserCacheKeyHash = Ny;

function zj(e) {
	return String(F6(e) >>> 0)
}
Mn.djb2Hash = zj;

function Dle(e) {
	var t = C2[e];
	if (t) return t;
	var n = Lle.sha256.create().update(e).arrayBuffer(),
		r = Nle.Base64.encodeArrayBuffer(n);
	return C2[e] = r, r
}
Mn.sha256Hash = Dle;

function $le(e) {
	return zj(JSON.stringify(j6(e)))
}
Mn.djb2HashForObject = $le;

function j6(e) {
	if (e == null) return null;
	var t = Object.keys(e).sort(),
		n = {};
	return t.forEach(function(r) {
		var i = e[r];
		i instanceof Object && (i = j6(i)), n[r] = i
	}), n
}
Mn.getSortedObject = j6;

function Fle(e, t, n) {
	var r, i = ["userID:".concat(String((r = t == null ? void 0 : t.userID) !== null && r !== void 0 ? r : ""))],
		o = t == null ? void 0 : t.customIDs;
	if (o != null)
		for (var a = 0, s = Object.entries(o); a < s.length; a++) {
			var u = s[a],
				l = u[0],
				c = u[1];
			i.push("".concat(l, ":").concat(c))
		}
	var d = Ny(i.join(";")),
		p = Ny(i.join(";") + ";sdkKey:".concat(n));
	i.splice(1, 0, "stableID:".concat(e));
	var g = Ny(i.join(";"));
	return {
		v1: g,
		v2: d,
		v3: p
	}
}
Mn.getUserCacheKey = Fle;
var Q0 = me && me.__assign || function() {
		return Q0 = Object.assign || function(e) {
			for (var t, n = 1, r = arguments.length; n < r; n++) {
				t = arguments[n];
				for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
			}
			return e
		}, Q0.apply(this, arguments)
	},
	jle = me && me.__rest || function(e, t) {
		var n = {};
		for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
		if (e != null && typeof Object.getOwnPropertySymbols == "function")
			for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
		return n
	};
Object.defineProperty(M_, "__esModule", {
	value: !0
});
M_.getUserHashWithoutStableID = void 0;
var Ule = Mn;

function Hle(e) {
	var t = e.customIDs,
		n = jle(e, ["customIDs"]),
		r = Q0({}, t);
	return delete r.stableID, (0, Ule.djb2HashForObject)(Q0(Q0({}, n), {
		customIDs: r
	}))
}
M_.getUserHashWithoutStableID = Hle;
var Sp = {};
(function(e) {
	Object.defineProperty(e, "__esModule", {
			value: !0
		}), e.EvaluationReason = void 0,
		function(t) {
			t.Network = "Network", t.Bootstrap = "Bootstrap", t.InvalidBootstrap = "InvalidBootstrap", t.Cache = "Cache", t.Prefetch = "Prefetch", t.Sticky = "Sticky", t.LocalOverride = "LocalOverride", t.Unrecognized = "Unrecognized", t.Uninitialized = "Uninitialized", t.Error = "Error", t.NetworkNotModified = "NetworkNotModified", t.BootstrapStableIDMismatch = "BootstrapStableIDMismatch"
		}(e.EvaluationReason || (e.EvaluationReason = {}))
})(Sp);
var ev = me && me.__assign || function() {
	return ev = Object.assign || function(e) {
		for (var t, n = 1, r = arguments.length; n < r; n++) {
			t = arguments[n];
			for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
		}
		return e
	}, ev.apply(this, arguments)
};
Object.defineProperty($6, "__esModule", {
	value: !0
});
var Vle = M_,
	HS = Sp,
	Ble = Mn,
	zle = function() {
		function e() {}
		return e.getEvaluationReasonForBootstrap = function(t, n, r) {
			var i = !0,
				o = !1;
			try {
				var a = n.evaluated_keys;
				if (a && typeof a == "object") {
					var s = this.copyObject(a),
						u = t == null ? null : this.copyObject(t);
					i = i && e.validate(s, u) && e.validate(u, s);
					var l = a.customIDs;
					r != (l == null ? void 0 : l.stableID) && (o = !0)
				}
				var c = n.user_hash;
				if (c && typeof c == "string" && t != null) {
					var d = c === (0, Vle.getUserHashWithoutStableID)(t) || c === (0, Ble.djb2HashForObject)(ev(ev({}, t), {
						stableID: r
					}));
					i = i && d
				}
			} catch (p) {}
			return i ? o ? HS.EvaluationReason.BootstrapStableIDMismatch : HS.EvaluationReason.Bootstrap : HS.EvaluationReason.InvalidBootstrap
		}, e.validate = function(t, n) {
			if (t == null) return n == null;
			if (n == null) return !1;
			for (var r = 0, i = Object.entries(t); r < i.length; r++) {
				var o = i[r],
					a = o[0],
					s = o[1];
				if (a !== "stableID") {
					if (typeof s != typeof n[a]) return !1;
					if (typeof s == "string") {
						if (s !== n[a]) return !1
					} else return typeof s == "object" ? this.validate(s, n[a]) : !1
				}
			}
			return !0
		}, e.copyObject = function(t) {
			if (t == null) return null;
			var n = {};
			if (t != null && t.userID && (n.userID = t == null ? void 0 : t.userID), t != null && t.customIDs) {
				var r = ev({}, t.customIDs);
				delete r.stableID, Object.keys(r).length !== 0 && (n.customIDs = r)
			}
			return n
		}, e
	}();
$6.default = zle;
var E1 = {};
Object.defineProperty(E1, "__esModule", {
	value: !0
});
E1.verifySDKKeyUsed = void 0;
var Gle = gi,
	Wle = Mn;

function Kle(e, t, n) {
	var r = e == null ? void 0 : e.hashed_sdk_key_used;
	return r != null && r !== (0, Wle.djb2Hash)(t != null ? t : "") ? (n.logError("verifySDKKeyUsed", new Gle.StatsigSDKKeyMismatchError("The SDK key provided does not match the one used to generate values.")), !1) : !0
}
E1.verifySDKKeyUsed = Kle;
var Tr = me && me.__assign || function() {
		return Tr = Object.assign || function(e) {
			for (var t, n = 1, r = arguments.length; n < r; n++) {
				t = arguments[n];
				for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
			}
			return e
		}, Tr.apply(this, arguments)
	},
	ec = me && me.__awaiter || function(e, t, n, r) {
		function i(o) {
			return o instanceof n ? o : new n(function(a) {
				a(o)
			})
		}
		return new(n || (n = Promise))(function(o, a) {
			function s(c) {
				try {
					l(r.next(c))
				} catch (d) {
					a(d)
				}
			}

			function u(c) {
				try {
					l(r.throw(c))
				} catch (d) {
					a(d)
				}
			}

			function l(c) {
				c.done ? o(c.value) : i(c.value).then(s, u)
			}
			l((r = r.apply(e, t || [])).next())
		})
	},
	tc = me && me.__generator || function(e, t) {
		var n = {
				label: 0,
				sent: function() {
					if (o[0] & 1) throw o[1];
					return o[1]
				},
				trys: [],
				ops: []
			},
			r, i, o, a;
		return a = {
			next: s(0),
			throw: s(1),
			return: s(2)
		}, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
			return this
		}), a;

		function s(l) {
			return function(c) {
				return u([l, c])
			}
		}

		function u(l) {
			if (r) throw new TypeError("Generator is already executing.");
			for (; a && (a = 0, l[0] && (n = 0)), n;) try {
				if (r = 1, i && (o = l[0] & 2 ? i.return : l[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, l[1])).done) return o;
				switch (i = 0, o && (l = [l[0] & 2, o.value]), l[0]) {
					case 0:
					case 1:
						o = l;
						break;
					case 4:
						return n.label++, {
							value: l[1],
							done: !1
						};
					case 5:
						n.label++, i = l[1], l = [0];
						continue;
					case 7:
						l = n.ops.pop(), n.trys.pop();
						continue;
					default:
						if (o = n.trys, !(o = o.length > 0 && o[o.length - 1]) && (l[0] === 6 || l[0] === 2)) {
							n = 0;
							continue
						}
						if (l[0] === 3 && (!o || l[1] > o[0] && l[1] < o[3])) {
							n.label = l[1];
							break
						}
						if (l[0] === 6 && n.label < o[1]) {
							n.label = o[1], o = l;
							break
						}
						if (o && n.label < o[2]) {
							n.label = o[2], n.ops.push(l);
							break
						}
						o[2] && n.ops.pop(), n.trys.pop();
						continue
				}
				l = t.call(e, n)
			} catch (c) {
				l = [6, c], i = 0
			} finally {
				r = o = 0
			}
			if (l[0] & 5) throw l[1];
			return {
				value: l[0] ? l[1] : void 0,
				done: !0
			}
		}
	},
	uh = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(D6, "__esModule", {
	value: !0
});
var dm = uh(b1),
	Hk = uh(S1),
	Zle = uh($6),
	Ni = zn,
	Hr = Sp,
	ai = Mn,
	f0 = uh(vf),
	qle = E1,
	hu = uh(gf),
	vu = uh(sh),
	Yle = 10,
	Xle = function() {
		function e(t, n) {
			this.overrides = {
				gates: {},
				configs: {},
				layers: {}
			}, this.sdkInternal = t, this.userCacheKey = this.sdkInternal.getCurrentUserCacheKey(), this.values = {}, this.userValues = {
				feature_gates: {},
				dynamic_configs: {},
				sticky_experiments: {},
				layer_configs: {},
				has_updates: !1,
				time: 0,
				evaluation_time: 0,
				derived_fields: {}
			}, this.stickyDeviceExperiments = {}, this.loaded = !1, this.reason = Hr.EvaluationReason.Uninitialized, this.userPersistentStorageAdapter = this.sdkInternal.getOptions().getUserPersistentStorage(), this.userPersistentStorageData = {
				experiments: {}
			}, n ? this.bootstrap(n) : this.load()
		}
		return e.prototype.load = function() {
			this.loadFromLocalStorage(), this.partialLoadFromPersistentStorageAdapter()
		}, e.prototype.loadAsync = function() {
			return ec(this, void 0, void 0, function() {
				return tc(this, function(t) {
					switch (t.label) {
						case 0:
							return [4, this.loadFromAsyncStorage()];
						case 1:
							return t.sent(), this.partialLoadFromPersistentStorageAdapter(), [2]
					}
				})
			})
		}, e.prototype.updateUser = function(t) {
			this.userCacheKey = this.sdkInternal.getCurrentUserCacheKey();
			var n = this.setUserValueFromCache(t);
			return this.partialLoadFromPersistentStorageAdapter(), n
		}, e.prototype.getInitializeResponseJson = function() {
			return JSON.stringify(this.userValues)
		}, e.prototype.loadFromAsyncStorage = function() {
			return ec(this, void 0, void 0, function() {
				var t, n;
				return tc(this, function(r) {
					switch (r.label) {
						case 0:
							return t = this.parseCachedValues, [4, hu.default.getItemAsync(Ni.INTERNAL_STORE_KEY)];
						case 1:
							return n = [r.sent()], [4, hu.default.getItemAsync(Ni.STICKY_DEVICE_EXPERIMENTS_KEY)];
						case 2:
							return t.apply(this, n.concat([r.sent()])), this.userCacheKey = this.sdkInternal.getCurrentUserCacheKey(), this.loaded = !0, [2]
					}
				})
			})
		}, e.prototype.bootstrap = function(t) {
			var n, r, i, o, a, s, u = this.sdkInternal.getCurrentUserCacheKey(),
				l = this.sdkInternal.getCurrentUser(),
				c = (i = (r = (n = l == null ? void 0 : l.customIDs) === null || n === void 0 ? void 0 : n.stableID) !== null && r !== void 0 ? r : this.sdkInternal.getStatsigMetadata().stableID) !== null && i !== void 0 ? i : null,
				d = Zle.default.getEvaluationReasonForBootstrap(l, t, c);
			this.loaded = !0;
			try {
				var p = t;
				this.userValues.feature_gates = (o = p.feature_gates) !== null && o !== void 0 ? o : {}, this.userValues.dynamic_configs = (a = p.dynamic_configs) !== null && a !== void 0 ? a : {}, this.userValues.layer_configs = (s = p.layer_configs) !== null && s !== void 0 ? s : {}, this.userValues.evaluation_time = Date.now(), this.userValues.time = Date.now(), this.userValues.hash_used = p.hash_used, this.values[u.v3] = this.userValues, this.reason = d, this.loadOverrides()
			} catch (g) {
				return
			}
		}, e.prototype.loadFromLocalStorage = function() {
			hu.default.asyncStorage || (this.parseCachedValues(vu.default.getItem(Ni.INTERNAL_STORE_KEY), vu.default.getItem(Ni.STICKY_DEVICE_EXPERIMENTS_KEY)), this.loaded = !0)
		}, e.prototype.partialLoadFromPersistentStorageAdapter = function() {
			var t;
			if (this.userPersistentStorageAdapter) {
				var n = (t = this.userPersistentStorageAdapter.userIDType) !== null && t !== void 0 ? t : "userID",
					r = this.sdkInternal.getCurrentUserUnitID(n);
				if (r) {
					try {
						this.userPersistentStorageData = JSON.parse(this.userPersistentStorageAdapter.load("".concat(r, ":").concat(n)))
					} catch (i) {
						f0.default.warn("Failed to load from user persistent storage.", i)
					}
					this.userValues.sticky_experiments = this.userPersistentStorageData.experiments
				}
			}
		}, e.prototype.saveStickyExperimentsToPersistentStorageAdapter = function() {
			var t;
			if (this.userPersistentStorageAdapter) {
				var n = (t = this.userPersistentStorageAdapter.userIDType) !== null && t !== void 0 ? t : "userID",
					r = this.sdkInternal.getCurrentUserUnitID(n);
				if (r) {
					var i = Tr(Tr({}, this.userPersistentStorageData), {
						experiments: this.userValues.sticky_experiments
					});
					try {
						this.userPersistentStorageAdapter.save("".concat(r, ":").concat(n), JSON.stringify(i))
					} catch (o) {
						f0.default.warn("Failed to save user experiment values to persistent storage.", o)
					}
				}
			}
		}, e.prototype.isLoaded = function() {
			return this.loaded
		}, e.prototype.getLastUpdateTime = function(t, n) {
			var r = (0, ai.getUserCacheKey)(n, t, this.sdkInternal.getSDKKey()),
				i = this.getUserValues(r),
				o = (0, ai.djb2HashForObject)(Tr(Tr({}, t), {
					stableID: n
				}));
			return (i == null ? void 0 : i.user_hash) == o ? this.userValues.time : null
		}, e.prototype.getPreviousDerivedFields = function(t, n) {
			var r = (0, ai.getUserCacheKey)(n, t, this.sdkInternal.getSDKKey()),
				i = this.getUserValues(r),
				o = (0, ai.djb2HashForObject)(Tr(Tr({}, t), {
					stableID: n
				}));
			if ((i == null ? void 0 : i.user_hash) == o) return this.userValues.derived_fields
		}, e.prototype.getPreviousHashUsed = function(t, n) {
			var r = (0, ai.getUserCacheKey)(n, t, this.sdkInternal.getSDKKey()),
				i = this.getUserValues(r);
			return i == null ? void 0 : i.hash_used
		}, e.prototype.parseCachedValues = function(t, n) {
			try {
				this.values = t ? JSON.parse(t) : this.values, this.setUserValueFromCache()
			} catch (i) {
				this.removeFromStorage(Ni.INTERNAL_STORE_KEY)
			}
			try {
				var r = n ? JSON.parse(n) : null;
				r && (this.stickyDeviceExperiments = r)
			} catch (i) {
				this.removeFromStorage(Ni.STICKY_DEVICE_EXPERIMENTS_KEY)
			}
			this.loadOverrides()
		}, e.prototype.getUserValues = function(t) {
			var n, r;
			return (r = (n = this.values[t.v3]) !== null && n !== void 0 ? n : this.values[t.v2]) !== null && r !== void 0 ? r : this.values[t.v1]
		}, e.prototype.setUserValueFromCache = function(t) {
			var n, r;
			t === void 0 && (t = !1);
			var i = this.getUserValues(this.userCacheKey);
			return i == null ? (this.resetUserValues(), this.reason = Hr.EvaluationReason.Uninitialized, null) : (i.stableIDUsed != null && i.stableIDUsed !== this.getStableID() && this.sdkInternal.getErrorBoundary().logError("stableIDChanged", new Error("StableID changed from ".concat(i.stableIDUsed, " to ").concat(this.getStableID(), ",\n            override stableID ").concat((n = this.sdkInternal.getOptions().getOverrideStableID()) !== null && n !== void 0 ? n : ""))), this.userValues = i, this.reason = t ? Hr.EvaluationReason.Prefetch : Hr.EvaluationReason.Cache, (r = i.evaluation_time) !== null && r !== void 0 ? r : 0)
		}, e.prototype.removeFromStorage = function(t) {
			var n = this;
			hu.default.removeItemAsync(t).catch(function(r) {
				return n.sdkInternal.getErrorBoundary().logError("removeFromStorage", r)
			}), vu.default.removeItem(t)
		}, e.prototype.loadOverrides = function() {
			if (!this.sdkInternal.getOptions().getDisableLocalOverrides()) {
				var t = vu.default.getItem(Ni.OVERRIDES_STORE_KEY);
				if (t != null) try {
					this.overrides = JSON.parse(t)
				} catch (n) {
					vu.default.removeItem(Ni.OVERRIDES_STORE_KEY)
				}
			}
		}, e.prototype.setEvaluationReason = function(t) {
			this.reason = t
		}, e.prototype.save = function(t, n, r, i) {
			return ec(this, void 0, void 0, function() {
				var o, a, s, u;
				return tc(this, function(l) {
					switch (l.label) {
						case 0:
							return o = (0, ai.getUserCacheKey)(r, t, this.sdkInternal.getSDKKey()), a = n, a.is_delta ? [2, this.saveInitDeltas(t, n, !0, r, i)] : (this.mergeInitializeResponseIntoUserMap(a, this.values, o, t, function(c) {
								return c
							}, r, i), s = this.getUserValues(o), s && o && o.v3 === this.userCacheKey.v3 && (this.userValues = s, this.reason = Hr.EvaluationReason.Network), u = this, [4, this.writeValuesToStorage(this.values)]);
						case 1:
							return u.values = l.sent(), [2]
					}
				})
			})
		}, e.prototype.saveWithoutUpdatingClientState = function(t, n, r, i) {
			return ec(this, void 0, void 0, function() {
				var o, a, s;
				return tc(this, function(u) {
					switch (u.label) {
						case 0:
							return o = (0, ai.getUserCacheKey)(r, t, this.sdkInternal.getSDKKey()), a = n, a.is_delta ? [2, this.saveInitDeltas(t, n, !1, r, i)] : (s = JSON.parse(JSON.stringify(this.values)), this.mergeInitializeResponseIntoUserMap(a, s, o, t, function(l) {
								return l
							}, r, i), [4, this.writeValuesToStorage(s)]);
						case 1:
							return u.sent(), [2]
					}
				})
			})
		}, e.prototype.getDeltasMergeFunction = function(t) {
			var n = this;
			return function(r, i) {
				var o, a, s, u = (s = (a = (o = t[i.v3]) !== null && o !== void 0 ? o : t[i.v2]) !== null && a !== void 0 ? a : t[i.v1]) !== null && s !== void 0 ? s : n.getDefaultUserCacheValues();
				return n.mergeUserCacheValues(u, r)
			}
		}, e.prototype.saveInitDeltas = function(t, n, r, i, o) {
			var a, s, u;
			return ec(this, void 0, void 0, function() {
				var l, c, d, p, g, m, _, S, y, w, b, E, T = this;
				return tc(this, function(O) {
					switch (O.label) {
						case 0:
							return l = (0, ai.getUserCacheKey)(i, t, this.sdkInternal.getSDKKey()), c = n, d = JSON.parse(JSON.stringify(this.values)), this.mergeInitializeResponseIntoUserMap(c, d, l, t, this.getDeltasMergeFunction(d), i, o), p = !1, g = void 0, m = !1, _ = Object.keys((a = c.prefetched_user_values) !== null && a !== void 0 ? a : {}), _.forEach(function(R) {
								var k, M = d[R],
									D = (k = c.prefetched_user_values) === null || k === void 0 ? void 0 : k[R];
								if (M && D) {
									Vk(D, M);
									var P = D.checksum,
										U = (0, ai.djb2HashForObject)({
											feature_gates: d[R].feature_gates,
											dynamic_configs: d[R].dynamic_configs,
											layer_configs: d[R].layer_configs
										});
									P && P !== U && (p = !0, g = U), S.hash_used !== c.hash_used && (m = !0)
								}
							}), S = (u = (s = d[l.v3]) !== null && s !== void 0 ? s : d[l.v2]) !== null && u !== void 0 ? u : d[l.v1], Vk(c, S), y = c.checksum, w = {
								feature_gates: S.feature_gates,
								dynamic_configs: S.dynamic_configs,
								layer_configs: S.layer_configs
							}, b = (0, ai.djb2HashForObject)(w), y && y !== b && (p = !0, g = b), S.hash_used !== c.hash_used && (m = !0), p || m ? c.deltas_full_response != null ? (this.refetchAndSaveValues(t, i, o, void 0, g, p, w, c.deltas_full_response).catch(function(R) {
								return T.sdkInternal.getErrorBoundary().logError("refetchAndSaveValues", R)
							}), [2]) : (this.refetchAndSaveValues(t, i, o, void 0, g, p).catch(function(R) {
								return T.sdkInternal.getErrorBoundary().logError("refetchAndSaveValues", R)
							}), [2]) : r ? (S && l.v3 === this.userCacheKey.v3 && (this.userValues = S, this.reason = Hr.EvaluationReason.Network), E = this, [4, this.writeValuesToStorage(d)]) : [3, 2];
						case 1:
							return E.values = O.sent(), [3, 4];
						case 2:
							return [4, this.writeValuesToStorage(d)];
						case 3:
							O.sent(), O.label = 4;
						case 4:
							return [2]
					}
				})
			})
		}, e.prototype.refetchAndSaveValues = function(t, n, r, i, o, a, s, u) {
			return i === void 0 && (i = this.sdkInternal.getOptions().getInitTimeoutMs()), ec(this, void 0, void 0, function() {
				var l, c, d = this;
				return tc(this, function(p) {
					return l = this.getLastUpdateTime(t, n), c = this.getPreviousDerivedFields(t, n), [2, this.sdkInternal.getNetwork().fetchValues({
						user: t,
						sinceTime: l,
						timeout: i,
						useDeltas: !1,
						prefetchUsers: r,
						previousDerivedFields: c,
						hadBadDeltaChecksum: a,
						badChecksum: o,
						badMergedConfigs: s,
						badFullResponse: u
					}).then(function(g) {
						(0, qle.verifySDKKeyUsed)(g, d.sdkInternal.getSDKKey(), d.sdkInternal.getErrorBoundary()) && g != null && g.has_updates && d.saveWithoutUpdatingClientState(t, g, n, r).catch(function(m) {
							return d.sdkInternal.getErrorBoundary().logError("refetchAndSaveValues:then", m)
						})
					}).catch(function(g) {
						return d.sdkInternal.getErrorBoundary().logError("refetchAndSaveValues", g)
					})]
				})
			})
		}, e.prototype.getStableID = function() {
			return this.sdkInternal.getStableID()
		}, e.prototype.mergeInitializeResponseIntoUserMap = function(t, n, r, i, o, a, s) {
			if (t.prefetched_user_values)
				for (var u = Object.keys(t.prefetched_user_values), l = 0, c = u; l < c.length; l++) {
					var d = c[l],
						p = t.prefetched_user_values[d],
						g = o(this.convertAPIDataToCacheValues(p, d), {
							v1: d,
							v2: d,
							v3: d
						});
					if (s) {
						var m = (0, ai.djb2HashForObject)(s[d]);
						g.user_hash = m, g.stableIDUsed = a
					}
					n[d] = g
				}
			if (r) {
				var _ = this.convertAPIDataToCacheValues(t, r.v3),
					m = (0, ai.djb2HashForObject)(Tr(Tr({}, i), {
						stableID: a
					}));
				_.user_hash = m, _.stableIDUsed = a, n[r.v3] = o(_, r)
			}
		}, e.prototype.getDefaultUserCacheValues = function() {
			return {
				feature_gates: {},
				layer_configs: {},
				dynamic_configs: {},
				sticky_experiments: {},
				time: 0,
				evaluation_time: 0,
				derived_fields: {}
			}
		}, e.prototype.mergeUserCacheValues = function(t, n) {
			return {
				feature_gates: Tr(Tr({}, t.feature_gates), n.feature_gates),
				layer_configs: Tr(Tr({}, t.layer_configs), n.layer_configs),
				dynamic_configs: Tr(Tr({}, t.dynamic_configs), n.dynamic_configs),
				sticky_experiments: t.sticky_experiments,
				time: n.time,
				evaluation_time: n.evaluation_time,
				derived_fields: n.derived_fields,
				hash_used: n.hash_used,
				user_hash: n.user_hash,
				stableIDUsed: n.stableIDUsed
			}
		}, e.prototype.writeValuesToStorage = function(t) {
			return ec(this, void 0, void 0, function() {
				var n;
				return tc(this, function(r) {
					switch (r.label) {
						case 0:
							return t[this.userCacheKey.v3] ? (delete t[this.userCacheKey.v2], delete t[this.userCacheKey.v1]) : t[this.userCacheKey.v2] && delete t[this.userCacheKey.v1], n = Object.entries(t).sort(function(i, o) {
								var a, s, u = i[1],
									l = o[1];
								return u == null ? 1 : l == null ? -1 : ((a = l == null ? void 0 : l.evaluation_time) !== null && a !== void 0 ? a : l == null ? void 0 : l.time) - ((s = u == null ? void 0 : u.evaluation_time) !== null && s !== void 0 ? s : u == null ? void 0 : u.time)
							}).slice(0, Yle), t = Object.fromEntries(n), hu.default.asyncStorage ? [4, hu.default.setItemAsync(Ni.INTERNAL_STORE_KEY, JSON.stringify(t))] : [3, 2];
						case 1:
							return r.sent(), [3, 3];
						case 2:
							vu.default.setItem(Ni.INTERNAL_STORE_KEY, JSON.stringify(t)), r.label = 3;
						case 3:
							return [2, t]
					}
				})
			})
		}, e.prototype.checkGate = function(t, n) {
			var r;
			n === void 0 && (n = !1);
			var i = this.getHashedSpecName(t),
				o = {
					name: t,
					value: !1,
					rule_id: "",
					secondary_exposures: []
				},
				a;
			if (!n && this.overrides.gates[t] != null) o = {
				name: t,
				value: this.overrides.gates[t],
				rule_id: "override",
				secondary_exposures: []
			}, a = this.getEvaluationDetails(!1, Hr.EvaluationReason.LocalOverride);
			else {
				var s = (r = this.userValues) === null || r === void 0 ? void 0 : r.feature_gates[i];
				s && (o = s), a = this.getEvaluationDetails(s != null)
			}
			return {
				evaluationDetails: a,
				gate: o
			}
		}, e.prototype.getConfig = function(t, n) {
			var r, i;
			n === void 0 && (n = !1);
			var o = this.getHashedSpecName(t),
				a, s;
			if (!n && this.overrides.configs[t] != null) s = this.getEvaluationDetails(!1, Hr.EvaluationReason.LocalOverride), a = new dm.default(t, this.overrides.configs[t], "override", s, [], "", this.makeOnConfigDefaultValueFallback(this.sdkInternal.getCurrentUser()));
			else if (((r = this.userValues) === null || r === void 0 ? void 0 : r.dynamic_configs[o]) != null) {
				var u = (i = this.userValues) === null || i === void 0 ? void 0 : i.dynamic_configs[o];
				s = this.getEvaluationDetails(!0), a = this.createDynamicConfig(t, u, s)
			} else s = this.getEvaluationDetails(!1), a = new dm.default(t, {}, "", s);
			return a
		}, e.prototype.getExperiment = function(t, n, r) {
			n === void 0 && (n = !1), r === void 0 && (r = !1);
			var i, o;
			if (!r && this.overrides.configs[t] != null) o = this.getEvaluationDetails(!1, Hr.EvaluationReason.LocalOverride), i = new dm.default(t, this.overrides.configs[t], "override", o);
			else {
				var a = this.getLatestValue(t, "dynamic_configs");
				o = this.getEvaluationDetails(a != null);
				var s = this.getPossiblyStickyValue(t, a, n, !1, o);
				i = this.createDynamicConfig(t, s, o)
			}
			return i
		}, e.prototype.getLayer = function(t, n, r) {
			var i, o, a, s;
			if (this.overrides.layers[n] != null) {
				var u = this.getEvaluationDetails(!1, Hr.EvaluationReason.LocalOverride);
				return Hk.default._create(n, (i = this.overrides.layers[n]) !== null && i !== void 0 ? i : {}, "override", u, t)
			}
			var l = this.getLatestValue(n, "layer_configs"),
				c = this.getEvaluationDetails(l != null),
				d = this.getPossiblyStickyValue(n, l, r, !0, c);
			return Hk.default._create(n, (o = d == null ? void 0 : d.value) !== null && o !== void 0 ? o : {}, (a = d == null ? void 0 : d.rule_id) !== null && a !== void 0 ? a : "", c, t, d == null ? void 0 : d.secondary_exposures, d == null ? void 0 : d.undelegated_secondary_exposures, (s = d == null ? void 0 : d.allocated_experiment_name) !== null && s !== void 0 ? s : "", d == null ? void 0 : d.explicit_parameters, d == null ? void 0 : d.group_name)
		}, e.prototype.overrideConfig = function(t, n) {
			try {
				JSON.stringify(n)
			} catch (r) {
				f0.default.warn("Failed to stringify given config override.  Dropping", r);
				return
			}
			this.overrides.configs[t] = n, this.saveOverrides()
		}, e.prototype.overrideLayer = function(t, n) {
			try {
				JSON.stringify(n)
			} catch (r) {
				f0.default.warn("Failed to stringify given layer override.  Dropping", r);
				return
			}
			this.overrides.layers[t] = n, this.saveOverrides()
		}, e.prototype.overrideGate = function(t, n) {
			this.overrides.gates[t] = n, this.saveOverrides()
		}, e.prototype.removeGateOverride = function(t) {
			t == null ? this.overrides.gates = {} : delete this.overrides.gates[t], this.saveOverrides()
		}, e.prototype.removeConfigOverride = function(t) {
			t == null ? this.overrides.configs = {} : delete this.overrides.configs[t], this.saveOverrides()
		}, e.prototype.removeLayerOverride = function(t) {
			t == null ? this.overrides.layers = {} : delete this.overrides.layers[t], this.saveOverrides()
		}, e.prototype.getAllOverrides = function() {
			return this.overrides
		}, e.prototype.saveOverrides = function() {
			try {
				vu.default.setItem(Ni.OVERRIDES_STORE_KEY, JSON.stringify(this.overrides))
			} catch (t) {
				f0.default.warn("Failed to persist gate/config overrides")
			}
		}, e.prototype.getLatestValue = function(t, n) {
			var r, i, o, a, s, u = this.getHashedSpecName(t);
			return (o = (i = (r = this.userValues) === null || r === void 0 ? void 0 : r[n]) === null || i === void 0 ? void 0 : i[u]) !== null && o !== void 0 ? o : (s = (a = this.userValues) === null || a === void 0 ? void 0 : a[n]) === null || s === void 0 ? void 0 : s[t]
		}, e.prototype.getPossiblyStickyValue = function(t, n, r, i, o) {
			var a, s = this.getHashedSpecName(t);
			if (!r) return this.removeStickyValue(s), n;
			var u = this.getStickyValue(s);
			if (!u) return this.attemptToSaveStickyValue(s, n), n;
			var l = null;
			return i ? l = this.getLatestValue((a = u == null ? void 0 : u.allocated_experiment_name) !== null && a !== void 0 ? a : "", "dynamic_configs") : l = n, (l == null ? void 0 : l.is_experiment_active) == !0 ? (o.reason = Hr.EvaluationReason.Sticky, u) : ((n == null ? void 0 : n.is_experiment_active) == !0 ? this.attemptToSaveStickyValue(s, n) : this.removeStickyValue(s), n)
		}, e.prototype.createDynamicConfig = function(t, n, r) {
			var i, o, a;
			return new dm.default(t, (i = n == null ? void 0 : n.value) !== null && i !== void 0 ? i : {}, (o = n == null ? void 0 : n.rule_id) !== null && o !== void 0 ? o : "", r, n == null ? void 0 : n.secondary_exposures, (a = n == null ? void 0 : n.allocated_experiment_name) !== null && a !== void 0 ? a : "", this.makeOnConfigDefaultValueFallback(this.sdkInternal.getCurrentUser()), n == null ? void 0 : n.group_name, n == null ? void 0 : n.id_type, n == null ? void 0 : n.is_experiment_active)
		}, e.prototype.getStickyValue = function(t) {
			var n, r;
			return (r = (n = this.userValues) === null || n === void 0 ? void 0 : n.sticky_experiments[t]) !== null && r !== void 0 ? r : this.stickyDeviceExperiments[t]
		}, e.prototype.attemptToSaveStickyValue = function(t, n) {
			var r;
			!n || !n.is_user_in_experiment || !n.is_experiment_active || (n.is_device_based === !0 ? this.stickyDeviceExperiments[t] = n : !((r = this.userValues) === null || r === void 0) && r.sticky_experiments && (this.userValues.sticky_experiments[t] = n), this.saveStickyValuesToStorage())
		}, e.prototype.removeStickyValue = function(t) {
			var n, r, i, o;
			Object.keys((r = (n = this.userValues) === null || n === void 0 ? void 0 : n.sticky_experiments) !== null && r !== void 0 ? r : {}).length === 0 && Object.keys((i = this.stickyDeviceExperiments) !== null && i !== void 0 ? i : {}).length === 0 || ((o = this.userValues) === null || o === void 0 || delete o.sticky_experiments[t], delete this.stickyDeviceExperiments[t], this.saveStickyValuesToStorage())
		}, e.prototype.saveStickyValuesToStorage = function() {
			this.userPersistentStorageAdapter ? this.saveStickyExperimentsToPersistentStorageAdapter() : (this.values[this.userCacheKey.v3] = this.userValues, this.setItemToStorage(Ni.INTERNAL_STORE_KEY, JSON.stringify(this.values)), this.setItemToStorage(Ni.STICKY_DEVICE_EXPERIMENTS_KEY, JSON.stringify(this.stickyDeviceExperiments)))
		}, e.prototype.getGlobalEvaluationDetails = function() {
			var t, n;
			return {
				reason: (t = this.reason) !== null && t !== void 0 ? t : Hr.EvaluationReason.Uninitialized,
				time: (n = this.userValues.evaluation_time) !== null && n !== void 0 ? n : 0
			}
		}, e.prototype.getEvaluationDetails = function(t, n) {
			var r;
			return t ? {
				reason: this.reason,
				time: (r = this.userValues.evaluation_time) !== null && r !== void 0 ? r : Date.now()
			} : {
				reason: n != null ? n : this.reason == Hr.EvaluationReason.Uninitialized ? Hr.EvaluationReason.Uninitialized : Hr.EvaluationReason.Unrecognized,
				time: Date.now()
			}
		}, e.prototype.resetUserValues = function() {
			this.userValues = {
				feature_gates: {},
				dynamic_configs: {},
				sticky_experiments: {},
				layer_configs: {},
				time: 0,
				evaluation_time: 0,
				derived_fields: {}
			}
		}, e.prototype.getHashedSpecName = function(t) {
			switch (this.userValues.hash_used) {
				case "djb2":
					return (0, ai.djb2Hash)(t);
				case "none":
					return t;
				default:
					return (0, ai.sha256Hash)(t)
			}
		}, e.prototype.convertAPIDataToCacheValues = function(t, n) {
			var r, i;
			return {
				feature_gates: t.feature_gates,
				layer_configs: t.layer_configs,
				dynamic_configs: t.dynamic_configs,
				sticky_experiments: (i = (r = this.values[n]) === null || r === void 0 ? void 0 : r.sticky_experiments) !== null && i !== void 0 ? i : {},
				time: t.time == null || isNaN(t.time) ? 0 : t.time,
				evaluation_time: Date.now(),
				hash_used: t.hash_used,
				derived_fields: t.derived_fields
			}
		}, e.prototype.setItemToStorage = function(t, n) {
			var r = this;
			hu.default.asyncStorage ? hu.default.setItemAsync(t, n).catch(function(i) {
				r.sdkInternal.getErrorBoundary().logError("setItemToStorage", i)
			}) : vu.default.setItem(t, n)
		}, e.prototype.makeOnConfigDefaultValueFallback = function(t) {
			var n = this;
			return function(r, i, o, a) {
				n.isLoaded() && n.sdkInternal.getLogger().logConfigDefaultValueFallback(t, "Parameter ".concat(i, " is a value of type ").concat(a, ".\n          Returning requested defaultValue type ").concat(o), {
					name: r.getName(),
					ruleID: r.getRuleID(),
					parameter: i,
					defaultValueType: o,
					valueType: a
				})
			}
		}, e
	}();
D6.default = Xle;

function Vk(e, t) {
	var n, r, i;
	((n = e.deleted_configs) !== null && n !== void 0 ? n : []).forEach(function(o) {
		delete t.dynamic_configs[o]
	}), ((r = e.deleted_gates) !== null && r !== void 0 ? r : []).forEach(function(o) {
		delete t.feature_gates[o]
	}), ((i = e.deleted_layers) !== null && i !== void 0 ? i : []).forEach(function(o) {
		delete t.layer_configs[o]
	})
}
var O2 = me && me.__assign || function() {
		return O2 = Object.assign || function(e) {
			for (var t, n = 1, r = arguments.length; n < r; n++) {
				t = arguments[n];
				for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
			}
			return e
		}, O2.apply(this, arguments)
	},
	nc = me && me.__awaiter || function(e, t, n, r) {
		function i(o) {
			return o instanceof n ? o : new n(function(a) {
				a(o)
			})
		}
		return new(n || (n = Promise))(function(o, a) {
			function s(c) {
				try {
					l(r.next(c))
				} catch (d) {
					a(d)
				}
			}

			function u(c) {
				try {
					l(r.throw(c))
				} catch (d) {
					a(d)
				}
			}

			function l(c) {
				c.done ? o(c.value) : i(c.value).then(s, u)
			}
			l((r = r.apply(e, t || [])).next())
		})
	},
	rc = me && me.__generator || function(e, t) {
		var n = {
				label: 0,
				sent: function() {
					if (o[0] & 1) throw o[1];
					return o[1]
				},
				trys: [],
				ops: []
			},
			r, i, o, a;
		return a = {
			next: s(0),
			throw: s(1),
			return: s(2)
		}, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
			return this
		}), a;

		function s(l) {
			return function(c) {
				return u([l, c])
			}
		}

		function u(l) {
			if (r) throw new TypeError("Generator is already executing.");
			for (; a && (a = 0, l[0] && (n = 0)), n;) try {
				if (r = 1, i && (o = l[0] & 2 ? i.return : l[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, l[1])).done) return o;
				switch (i = 0, o && (l = [l[0] & 2, o.value]), l[0]) {
					case 0:
					case 1:
						o = l;
						break;
					case 4:
						return n.label++, {
							value: l[1],
							done: !1
						};
					case 5:
						n.label++, i = l[1], l = [0];
						continue;
					case 7:
						l = n.ops.pop(), n.trys.pop();
						continue;
					default:
						if (o = n.trys, !(o = o.length > 0 && o[o.length - 1]) && (l[0] === 6 || l[0] === 2)) {
							n = 0;
							continue
						}
						if (l[0] === 3 && (!o || l[1] > o[0] && l[1] < o[3])) {
							n.label = l[1];
							break
						}
						if (l[0] === 6 && n.label < o[1]) {
							n.label = o[1], o = l;
							break
						}
						if (o && n.label < o[2]) {
							n.label = o[2], n.ops.push(l);
							break
						}
						o[2] && n.ops.pop(), n.trys.pop();
						continue
				}
				l = t.call(e, n)
			} catch (c) {
				l = [6, c], i = 0
			} finally {
				r = o = 0
			}
			if (l[0] & 5) throw l[1];
			return {
				value: l[0] ? l[1] : void 0,
				done: !0
			}
		}
	},
	Ri = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(x2, "__esModule", {
	value: !0
});
var Jle = Ri(b1),
	Qle = Ri(Mj),
	Po = gi,
	pm = Ri(R_),
	Bk = Ri(S1),
	ece = Ri(I_),
	tce = Ri(P6),
	nce = Ri(L6),
	rce = Ri(N6),
	ice = Ri(A6),
	oce = Ri(D6),
	ds = Ri(Tl),
	rd = Sp,
	zk = Mn,
	ba = Ri(vf),
	Gk = E1,
	VS = Ri(gf),
	Wk = Ri(sh),
	d0 = qc,
	ps = 64,
	BS = 2048,
	ace = function() {
		function e(t, n, r) {
			var i = this;
			if (this.appState = null, this.currentAppState = null, this.appStateChangeSubscription = null, this.onCacheLoadedForReact = null, this.initCalled = !1, this.pendingInitPromise = null, this.optionalLoggingSetup = !1, this.prefetchedUsersByCacheKey = {}, this.logLayerParameterExposureForLayer = function(a, s, u) {
					u === void 0 && (u = !1);
					var l = "",
						c = a._getUndelegatedSecondaryExposures(),
						d = a._getExplicitParameters().includes(s);
					d && (l = a._getAllocatedExperimentName(), c = a._getSecondaryExposures()), i.logger.logLayerExposure(i.getCurrentUser(), a.getName(), a.getRuleID(), c, l, s, d, a._getEvaluationDetails(), u)
				}, (r == null ? void 0 : r.localMode) !== !0 && (typeof t != "string" || !t.startsWith("client-"))) throw new Po.StatsigInvalidArgumentError("Invalid key provided.  You must use a Client SDK Key from the Statsig console to initialize the sdk");
			if (this.startTime = (0, d0.now)(), this.options = new ice.default(r), this.logger = new nce.default(this), ds.default.initialize({
					options: this.options
				}), this.errorBoundary = new Qle.default(t, this.options), this.ready = !1, this.sdkKey = t, ba.default.setLogger(this.options.getOutputLogger()), ba.default.setLogLevel(this.options.getLogLevel()), Wk.default.disabled = this.options.getDisableLocalStorage(), this.identity = new tce.default(this.normalizeUser(n != null ? n : null), this.options.getOverrideStableID(), e.reactNativeUUID), this.errorBoundary.setStatsigMetadata(this.getStatsigMetadata()), this.network = new rce.default(this), this.store = new oce.default(this, this.options.getInitializeValues()), this.options.getInitializeValues() != null) {
				var o = this.options.getInitCompletionCallback();
				this.ready = !0, this.initCalled = !0, setTimeout(function() {
					return i.delayedSetup()
				}, 20), this.handleOptionalLogging(), o && o((0, d0.now)() - this.startTime, !0, null)
			}
		}
		return e.prototype.getErrorBoundary = function() {
			return this.errorBoundary
		}, e.prototype.getNetwork = function() {
			return this.network
		}, e.prototype.getStore = function() {
			return this.store
		}, e.prototype.getLogger = function() {
			return this.logger
		}, e.prototype.getOptions = function() {
			return this.options
		}, e.prototype.getSDKKey = function() {
			var t = this;
			return this.errorBoundary.capture("getSDKKey", function() {
				var n;
				return (n = t.sdkKey) !== null && n !== void 0 ? n : ""
			}, function() {
				return ""
			})
		}, e.prototype.getCurrentUser = function() {
			var t = this;
			return this.errorBoundary.capture("getCurrentUser", function() {
				return t.identity.getUser()
			}, function() {
				return null
			})
		}, e.prototype.getCurrentUserCacheKey = function() {
			var t = this;
			return this.errorBoundary.capture("getCurrentUserCacheKey", function() {
				return (0, zk.getUserCacheKey)(t.getStableID(), t.getCurrentUser(), t.getSDKKey())
			}, function() {
				return {
					v1: "",
					v2: "",
					v3: ""
				}
			})
		}, e.prototype.getCurrentUserUnitID = function(t) {
			var n = this;
			return this.errorBoundary.capture("getCurrentUserUnitID", function() {
				return n.getUnitID(n.getCurrentUser(), t)
			}, function() {
				return ""
			})
		}, e.prototype.getCurrentUserID = function() {
			var t = this;
			return this.errorBoundary.capture("getCurrentUserID", function() {
				return t.getUnitID(t.getCurrentUser(), "userid")
			}, function() {
				return ""
			})
		}, e.prototype.getUnitID = function(t, n) {
			var r, i, o;
			return t ? n.toLowerCase() === "userid" ? (i = (r = t.userID) === null || r === void 0 ? void 0 : r.toString()) !== null && i !== void 0 ? i : null : t.customIDs ? (o = t.customIDs[n]) !== null && o !== void 0 ? o : t.customIDs[n.toLowerCase()] : null : null
		}, e.prototype.getStatsigMetadata = function() {
			var t = this;
			return this.errorBoundary.capture("getStatsigMetadata", function() {
				return t.identity.getStatsigMetadata()
			}, function() {
				return {}
			})
		}, e.prototype.getSDKType = function() {
			var t = this;
			return this.errorBoundary.capture("getSDKType", function() {
				return t.identity.getSDKType()
			}, function() {
				return ""
			})
		}, e.prototype.getSDKVersion = function() {
			var t = this;
			return this.errorBoundary.capture("getSDKVersion", function() {
				return t.identity.getSDKVersion()
			}, function() {
				return ""
			})
		}, e.prototype.delayedSetup = function() {
			var t = this;
			this.errorBoundary.swallow("delayedSetup", function() {
				t.options.getInitializeValues() != null && t.fireAndForgetPrefechUsers(), t.identity.saveStableID(), t.logger.sendSavedRequests().catch(function(n) {
					return t.errorBoundary.logError("sendSavedRequests:delayedSetup", n)
				})
			})
		}, e.prototype.setInitializeValues = function(t) {
			var n = this;
			this.errorBoundary.capture("setInitializeValues", function() {
				n.store.bootstrap(t);
				var r = null;
				n.ready || (n.ready = !0, n.initCalled = !0, r = n.options.getInitCompletionCallback()), n.handleOptionalLogging(), n.logger.sendSavedRequests().catch(function(i) {
					return n.errorBoundary.logError("sendSavedRequests:setInitializeValues", i)
				}), r && r((0, d0.now)() - n.startTime, !0, null)
			}, function() {
				n.ready = !0, n.initCalled = !0;
				var r = n.options.getInitCompletionCallback();
				r && r((0, d0.now)() - n.startTime, !1, "Caught an exception during setInitializeValues")
			})
		}, e.prototype.initializeAsync = function() {
			return nc(this, void 0, void 0, function() {
				var t = this;
				return rc(this, function(n) {
					return [2, this.errorBoundary.capture("initializeAsync", function() {
						return nc(t, void 0, void 0, function() {
							var r, i, o, a = this,
								s;
							return rc(this, function(u) {
								switch (u.label) {
									case 0:
										return this.pendingInitPromise != null ? [2, this.pendingInitPromise] : this.ready ? [2, Promise.resolve()] : (ds.default.mark.overall.start({}), this.initCalled = !0, VS.default.asyncStorage ? [4, this.identity.initAsync()] : [3, 3]);
									case 1:
										return u.sent(), [4, this.store.loadAsync()];
									case 2:
										u.sent(), u.label = 3;
									case 3:
										return (s = this.onCacheLoadedForReact) === null || s === void 0 || s.call(this), this.appState != null && (r = this.appState, r.addEventListener && typeof r.addEventListener == "function" && (this.currentAppState = r.currentState, i = r.addEventListener("change", this.handleAppStateChange.bind(this)), this.appStateChangeSubscription = i)), this.options.getLocalModeEnabled() ? [2, Promise.resolve()] : (o = this.identity.getUser(), this.pendingInitPromise = this.fetchAndSaveValues({
											user: o,
											prefetchUsers: this.options.getPrefetchUsers(),
											timeout: this.options.getInitTimeoutMs()
										}).then(function() {
											return ds.default.mark.overall.end({
												success: !0,
												evaluationDetails: a.store.getGlobalEvaluationDetails()
											}), {
												success: !0,
												message: null
											}
										}).catch(function(l) {
											var c;
											return a.errorBoundary.logError("initializeAsync:fetchAndSaveValues", l), ds.default.mark.overall.end({
												success: !1,
												error: ds.default.formatError(l),
												evaluationDetails: a.store.getGlobalEvaluationDetails()
											}), {
												success: !1,
												message: (c = l.message) !== null && c !== void 0 ? c : null
											}
										}).then(function(l) {
											var c = l.success,
												d = l.message,
												p = a.options.getInitCompletionCallback();
											p && p((0, d0.now)() - a.startTime, c, d)
										}).finally(function() {
											a.pendingInitPromise = null, a.ready = !0, a.delayedSetup(), a.logger.logDiagnostics(o, "initialize")
										}), this.handleOptionalLogging(), [2, this.pendingInitPromise])
								}
							})
						})
					}, function() {
						return t.ready = !0, t.initCalled = !0, Promise.resolve()
					})]
				})
			})
		}, e.prototype.prefetchUsers = function(t) {
			return nc(this, void 0, void 0, function() {
				var n = this;
				return rc(this, function(r) {
					return [2, this.errorBoundary.capture("prefetchUsers", function() {
						if (!(!t || t.length == 0)) return n.fetchAndSaveValues({
							user: null,
							prefetchUsers: t,
							timeout: 0
						})
					}, function() {
						return Promise.resolve()
					})]
				})
			})
		}, e.prototype.getEvaluationDetails = function() {
			var t = this;
			return this.errorBoundary.capture("getEvaluationDetails", function() {
				return t.store.getGlobalEvaluationDetails()
			}, function() {
				return {
					time: Date.now(),
					reason: rd.EvaluationReason.Error
				}
			})
		}, e.prototype.checkGate = function(t, n) {
			var r = this;
			return n === void 0 && (n = !1), this.errorBoundary.capture("checkGate", function() {
				var i, o, a, s = r.checkGateImpl(t, n);
				r.logGateExposureImpl(t, s);
				var u = r.options.getGateEvaluationCallback();
				u && u(t, s.gate.value, {
					withExposureLoggingDisabled: !1
				});
				var l = r.options.getEvaluationCallback();
				if (l) {
					var c = new pm.default(t, s.gate.value, s.gate.rule_id, s.evaluationDetails, (i = s.gate.group_name) !== null && i !== void 0 ? i : null, (o = s.gate.id_type) !== null && o !== void 0 ? o : null, (a = s.gate.secondary_exposures) !== null && a !== void 0 ? a : []);
					l({
						type: "gate",
						gate: c
					})
				}
				return s.gate.value === !0
			}, function() {
				return !1
			}, {
				configName: t
			})
		}, e.prototype.getFeatureGate = function(t, n) {
			var r = this;
			return n === void 0 && (n = null), this.errorBoundary.capture("getFeatureGate", function() {
				var i, o, a, s, u, l = r.checkGateImpl(t, (i = n == null ? void 0 : n.ignoreOverrides) !== null && i !== void 0 ? i : !1);
				n != null && n.disableExposureLogging ? r.logger.addNonExposedCheck(t) : r.logGateExposureImpl(t, l);
				var c = r.options.getGateEvaluationCallback();
				c && c(t, l.gate.value, {
					withExposureLoggingDisabled: (o = n == null ? void 0 : n.disableExposureLogging) !== null && o !== void 0 ? o : !1
				});
				var d = new pm.default(t, l.gate.value, l.gate.rule_id, l.evaluationDetails, (a = l.gate.group_name) !== null && a !== void 0 ? a : null, (s = l.gate.id_type) !== null && s !== void 0 ? s : null, (u = l.gate.secondary_exposures) !== null && u !== void 0 ? u : []),
					p = r.options.getEvaluationCallback();
				return p && p({
					type: "gate",
					gate: d
				}), d
			}, function() {
				return new pm.default(t, !1, "", {
					reason: rd.EvaluationReason.Error,
					time: Date.now()
				})
			}, {
				configName: t
			})
		}, e.prototype.checkGateWithExposureLoggingDisabled = function(t, n) {
			var r = this;
			return n === void 0 && (n = !1), this.errorBoundary.capture("checkGateWithExposureLoggingDisabled", function() {
				var i, o, a;
				r.logger.addNonExposedCheck(t);
				var s = r.checkGateImpl(t, n),
					u = r.options.getGateEvaluationCallback();
				u && u(t, s.gate.value, {
					withExposureLoggingDisabled: !0
				});
				var l = r.options.getEvaluationCallback();
				if (l) {
					var c = new pm.default(t, s.gate.value, s.gate.rule_id, s.evaluationDetails, (i = s.gate.group_name) !== null && i !== void 0 ? i : null, (o = s.gate.id_type) !== null && o !== void 0 ? o : null, (a = s.gate.secondary_exposures) !== null && a !== void 0 ? a : []);
					l({
						type: "gate",
						gate: c
					})
				}
				return s.gate.value === !0
			}, function() {
				return !1
			})
		}, e.prototype.logGateExposure = function(t) {
			var n = this;
			this.errorBoundary.swallow("logGateExposure", function() {
				n.logGateExposureImpl(t)
			})
		}, e.prototype.getConfig = function(t, n) {
			var r = this;
			return n === void 0 && (n = !1), this.errorBoundary.capture("getConfig", function() {
				var i = r.getConfigImpl(t, n);
				r.logConfigExposureImpl(t, i);
				var o = r.options.getEvaluationCallback();
				return o && o({
					type: "config",
					config: i
				}), i
			}, function() {
				return r.getEmptyConfig(t)
			}, {
				configName: t
			})
		}, e.prototype.getConfigWithExposureLoggingDisabled = function(t, n) {
			var r = this;
			return n === void 0 && (n = !1), this.errorBoundary.capture("getConfig", function() {
				r.logger.addNonExposedCheck(t);
				var i = r.getConfigImpl(t, n),
					o = r.options.getEvaluationCallback();
				return o && o({
					type: "config",
					config: i
				}), i
			}, function() {
				return r.getEmptyConfig(t)
			})
		}, e.prototype.logConfigExposure = function(t) {
			var n = this;
			this.errorBoundary.swallow("logConfigExposure", function() {
				n.logConfigExposureImpl(t)
			})
		}, e.prototype.getExperiment = function(t, n, r) {
			var i = this;
			return n === void 0 && (n = !1), r === void 0 && (r = !1), this.errorBoundary.capture("getExperiment", function() {
				var o = i.getExperimentImpl(t, n, r);
				i.logExperimentExposureImpl(t, n, o);
				var a = i.options.getEvaluationCallback();
				return a && a({
					type: "experiment",
					config: o
				}), o
			}, function() {
				return i.getEmptyConfig(t)
			}, {
				configName: t
			})
		}, e.prototype.getExperimentWithExposureLoggingDisabled = function(t, n, r) {
			var i = this;
			return n === void 0 && (n = !1), r === void 0 && (r = !1), this.errorBoundary.capture("getExperimentWithExposureLoggingDisabled", function() {
				i.logger.addNonExposedCheck(t);
				var o = i.getExperimentImpl(t, n, r),
					a = i.options.getEvaluationCallback();
				return a && a({
					type: "experiment",
					config: o
				}), o
			}, function() {
				return i.getEmptyConfig(t)
			})
		}, e.prototype.logExperimentExposure = function(t, n) {
			var r = this;
			this.errorBoundary.swallow("logExperimentExposure", function() {
				r.logExperimentExposureImpl(t, n)
			})
		}, e.prototype.getLayer = function(t, n) {
			var r = this;
			return n === void 0 && (n = !1), this.errorBoundary.capture("getLayer", function() {
				var i = r.getLayerImpl(r.logLayerParameterExposureForLayer, t, n),
					o = r.options.getEvaluationCallback();
				return o && o({
					type: "layer",
					layer: i
				}), i
			}, function() {
				return Bk.default._create(t, {}, "", r.getEvalutionDetailsForError())
			}, {
				configName: t
			})
		}, e.prototype.getLayerWithExposureLoggingDisabled = function(t, n) {
			var r = this;
			return n === void 0 && (n = !1), this.errorBoundary.capture("getLayerWithExposureLoggingDisabled", function() {
				r.logger.addNonExposedCheck(t);
				var i = r.getLayerImpl(null, t, n),
					o = r.options.getEvaluationCallback();
				return o && o({
					type: "layer",
					layer: i
				}), i
			}, function() {
				return Bk.default._create(t, {}, "", r.getEvalutionDetailsForError())
			})
		}, e.prototype.logLayerParameterExposure = function(t, n, r) {
			var i = this;
			r === void 0 && (r = !1), this.errorBoundary.swallow("logLayerParameterExposure", function() {
				var o = i.getLayerImpl(null, t, r);
				i.logLayerParameterExposureForLayer(o, n, !0)
			})
		}, e.prototype.logEvent = function(t, n, r) {
			var i = this;
			n === void 0 && (n = null), r === void 0 && (r = null), this.errorBoundary.swallow("logEvent", function() {
				if (!i.logger || !i.sdkKey) throw new Po.StatsigUninitializedError("Must initialize() before logging events.");
				if (typeof t != "string" || t.length === 0) {
					ba.default.error("Event not logged. No valid eventName passed.");
					return
				}
				i.shouldTrimParam(t, ps) && (ba.default.info("eventName is too long, trimming to " + ps + " characters."), t = t.substring(0, ps)), typeof n == "string" && i.shouldTrimParam(n, ps) && (ba.default.info("value is too long, trimming to " + ps + "."), n = n.substring(0, ps)), i.shouldTrimParam(r, BS) && (ba.default.info("metadata is too big. Dropping the metadata."), r = {
					error: "not logged due to size too large"
				});
				var o = new ece.default(t);
				o.setValue(n), o.setMetadata(r), o.setUser(i.getCurrentUser()), i.logger.log(o)
			})
		}, e.prototype.updateUserWithValues = function(t, n) {
			var r = this,
				i;
			return this.errorBoundary.capture("updateUserWithValues", function() {
				var o = Date.now();
				if (!r.initializeCalled()) throw new Po.StatsigUninitializedError("Call initialize() first.");
				return i = function(a, s) {
					var u = r.options.getUpdateUserCompletionCallback();
					u == null || u(Date.now() - o, a, s)
				}, r.identity.updateUser(r.normalizeUser(t)), r.store.bootstrap(n), i(!0, null), !0
			}, function() {
				return i == null || i(!1, "Failed to update user. An unexpected error occured."), !1
			})
		}, e.prototype.updateUser = function(t) {
			return nc(this, void 0, void 0, function() {
				var n, r = this;
				return rc(this, function(i) {
					return [2, this.errorBoundary.capture("updateUser", function() {
						return nc(r, void 0, void 0, function() {
							var o, a, s, u, l, c = this,
								d;
							return rc(this, function(p) {
								switch (p.label) {
									case 0:
										if (o = Date.now(), !this.initializeCalled()) throw new Po.StatsigUninitializedError("Call initialize() first.");
										return n = function(g, m) {
											var _ = c.options.getUpdateUserCompletionCallback();
											_ == null || _(Date.now() - o, g, m)
										}, VS.default.asyncStorage && ((d = this.identity.getStatsigMetadata().stableID) !== null && d !== void 0 ? d : "") == "" ? [4, this.identity.initAsync()] : [3, 2];
									case 1:
										p.sent(), p.label = 2;
									case 2:
										return this.identity.updateUser(this.normalizeUser(t)), a = this.getCurrentUserCacheKey(), s = !!this.prefetchedUsersByCacheKey[a.v3], u = this.store.updateUser(s), ds.default.clearContext("api_call"), this.logger.resetDedupeKeys(), u != null && (s || this.isCacheValidForFetchMode(u)) ? (n(!0, null), [2, Promise.resolve(!0)]) : this.pendingInitPromise == null ? [3, 4] : [4, this.pendingInitPromise];
									case 3:
										p.sent(), p.label = 4;
									case 4:
										return this.options.getLocalModeEnabled() ? (n(!0, null), [2, Promise.resolve(!0)]) : (l = this.identity.getUser(), this.pendingInitPromise = this.fetchAndSaveValues({
											user: l,
											prefetchUsers: [],
											timeout: void 0
										}).finally(function() {
											c.pendingInitPromise = null
										}), [2, this.pendingInitPromise.then(function() {
											return n(!0, null), Promise.resolve(!0)
										}).catch(function(g) {
											return n(!1, "Failed to update user: ".concat(g.message)), Promise.resolve(!1)
										})])
								}
							})
						})
					}, function() {
						return n == null || n(!1, "Failed to update user. An unexpected error occured."), Promise.resolve(!1)
					})]
				})
			})
		}, e.prototype.shutdown = function() {
			var t = this;
			this.errorBoundary.swallow("shutdown", function() {
				if (t.logger.shutdown(), t.appStateChangeSubscription != null) {
					var n = t.appStateChangeSubscription;
					typeof n.remove == "function" && n.remove()
				}
				Wk.default.cleanup()
			})
		}, e.prototype.getInitializeResponseJson = function() {
			var t = this;
			return this.errorBoundary.capture("getInitializeResponseJson", function() {
				var n;
				return {
					values: t.store.getInitializeResponseJson(),
					evaluationDetails: (n = t.getEvaluationDetails()) !== null && n !== void 0 ? n : {
						reason: rd.EvaluationReason.Uninitialized,
						time: 0
					}
				}
			}, function() {
				var n;
				return {
					values: "",
					evaluationDetails: (n = t.getEvaluationDetails()) !== null && n !== void 0 ? n : {
						reason: rd.EvaluationReason.Uninitialized,
						time: 0
					}
				}
			})
		}, e.prototype.overrideGate = function(t, n) {
			var r = this;
			this.errorBoundary.swallow("overrideGate", function() {
				r.ensureStoreLoaded(), r.store.overrideGate(t, n)
			})
		}, e.prototype.overrideConfig = function(t, n) {
			var r = this;
			this.errorBoundary.swallow("overrideConfig", function() {
				r.ensureStoreLoaded(), r.store.overrideConfig(t, n)
			})
		}, e.prototype.overrideLayer = function(t, n) {
			var r = this;
			this.errorBoundary.swallow("overrideLayer", function() {
				r.ensureStoreLoaded(), r.store.overrideLayer(t, n)
			})
		}, e.prototype.removeGateOverride = function(t) {
			var n = this;
			this.errorBoundary.swallow("removeGateOverride", function() {
				n.ensureStoreLoaded(), n.store.removeGateOverride(t)
			})
		}, e.prototype.removeConfigOverride = function(t) {
			var n = this;
			this.errorBoundary.swallow("removeConfigOverride", function() {
				n.ensureStoreLoaded(), n.store.removeConfigOverride(t)
			})
		}, e.prototype.removeLayerOverride = function(t) {
			var n = this;
			this.errorBoundary.swallow("removeLayerOverride", function() {
				n.ensureStoreLoaded(), n.store.removeLayerOverride(t)
			})
		}, e.prototype.removeOverride = function(t) {
			var n = this;
			this.errorBoundary.swallow("removeOverride", function() {
				n.ensureStoreLoaded(), n.store.removeGateOverride(t)
			})
		}, e.prototype.getOverrides = function() {
			var t = this;
			return this.errorBoundary.capture("getOverrides", function() {
				return t.ensureStoreLoaded(), t.store.getAllOverrides().gates
			}, function() {
				return {}
			})
		}, e.prototype.getAllOverrides = function() {
			var t = this;
			return this.errorBoundary.capture("getAllOverrides", function() {
				return t.ensureStoreLoaded(), t.store.getAllOverrides()
			}, function() {
				return {
					gates: {},
					configs: {},
					layers: {}
				}
			})
		}, e.prototype.getStableID = function() {
			var t = this;
			return this.errorBoundary.capture("getStableID", function() {
				return t.identity.getStatsigMetadata().stableID
			}, function() {
				return ""
			})
		}, e.prototype.initializeCalled = function() {
			return this.initCalled
		}, e.prototype.setSDKPackageInfo = function(t) {
			t != null && (this.identity.setSDKPackageInfo(t), this.errorBoundary.setStatsigMetadata(this.getStatsigMetadata()))
		}, e.prototype.setDebugInfo = function(t) {
			var n = this;
			this.errorBoundary.capture("setDebuggingInfo", function() {
				if (!n.initializeCalled()) throw new Po.StatsigUninitializedError("Call initialize() first.");
				n.logger.setDebugInfo(t)
			}, function() {})
		}, e.setAsyncStorage = function(t) {
			t != null && (VS.default.asyncStorage = t)
		}, e.prototype.setOnCacheLoadedReactCallback = function(t) {
			this.onCacheLoadedForReact = t != null ? t : null
		}, e.setReactNativeUUID = function(t) {
			t != null && (e.reactNativeUUID = t)
		}, e.prototype.setAppState = function(t) {
			t != null && (this.appState = t)
		}, e.prototype.setNativeModules = function(t) {
			t != null && this.identity.setNativeModules(t)
		}, e.prototype.setPlatform = function(t) {
			t != null && this.identity.setPlatform(t)
		}, e.prototype.setRNDeviceInfo = function(t) {
			t != null && this.identity.setRNDeviceInfo(t)
		}, e.prototype.setExpoConstants = function(t) {
			t != null && this.identity.setExpoConstants(t)
		}, e.prototype.setExpoDevice = function(t) {
			t != null && this.identity.setExpoDevice(t)
		}, e.prototype.flushEvents = function() {
			this.logger.flush()
		}, e.prototype.reenableAllLogging = function() {
			this.getOptions().reenableAllLogging()
		}, e.prototype.isCacheValidForFetchMode = function(t) {
			return this.options.getFetchMode() !== "cache-or-network" ? !1 : t > this.startTime
		}, e.prototype.handleOptionalLogging = function() {
			var t = this,
				n = this.options.getDisableErrorLogging(),
				r = this.options.getDisableAutoMetricsLogging();
			if (!(n && r) && !(this.optionalLoggingSetup || typeof window > "u" || !window || !window.addEventListener)) {
				var i = this.identity.getUser();
				if (n || window.addEventListener("error", function(a) {
						var s, u = a.error;
						if (u != null && typeof u == "object") try {
							u = JSON.stringify(u)
						} catch (l) {
							u = "Failed to stringify Error"
						}
						t.logger.logAppError(i, (s = a.message) !== null && s !== void 0 ? s : "", {
							filename: a.filename,
							lineno: a.lineno,
							colno: a.colno,
							error_obj: u
						})
					}), !r) {
					if (typeof document > "u" || !document || typeof setTimeout > "u" || !setTimeout) return;
					var o = function() {
						setTimeout(function() {
							t.logger.logAppMetrics(i)
						}, 1e3)
					};
					document.readyState === "complete" ? o() : window.addEventListener("load", function() {
						return o()
					})
				}
				this.optionalLoggingSetup = !0
			}
		}, e.prototype.handleAppStateChange = function(t) {
			var n = this;
			this.currentAppState === "active" && t.match(/inactive|background/) ? this.logger.flush(!0) : this.currentAppState != null && this.currentAppState.match(/inactive|background/) && t === "active" && this.logger.sendSavedRequests().catch(function(r) {
				return n.errorBoundary.logError("sendSavedRequests:handleAppStateChange", r)
			}), this.currentAppState = t
		}, e.prototype.shouldTrimParam = function(t, n) {
			return t == null ? !1 : typeof t == "string" ? t.length > n : typeof t == "object" ? JSON.stringify(t).length > n : typeof t == "number" ? t.toString().length > n : !1
		}, e.prototype.normalizePrefetchUsers = function(t) {
			var n = this;
			return t == null ? [] : t.map(function(r) {
				return n.normalizeUser(r)
			})
		}, e.prototype.normalizeUser = function(t) {
			var n = {};
			try {
				n = JSON.parse(JSON.stringify(t))
			} catch (r) {
				throw new Po.StatsigInvalidArgumentError("User object must be convertable to JSON string.")
			}
			return n = this.trimUserObjIfNeeded(n), this.options.getEnvironment() != null && (n.statsigEnvironment = this.options.getEnvironment()), n
		}, e.prototype.trimUserObjIfNeeded = function(t) {
			var n, r;
			return t == null ? {} : (this.shouldTrimParam((n = t.userID) !== null && n !== void 0 ? n : null, ps) && (ba.default.info("User ID is too large, trimming to " + ps + "characters"), t.userID = (r = t.userID) === null || r === void 0 ? void 0 : r.toString().substring(0, ps)), this.shouldTrimParam(t, BS) && (t.custom = {}, this.shouldTrimParam(t, BS) ? (ba.default.info("User object is too large, only keeping the user ID."), t = {
				userID: t.userID
			}) : ba.default.info("User object is too large, dropping the custom property.")), t)
		}, e.prototype.ensureStoreLoaded = function() {
			if (!this.store.isLoaded()) throw new Po.StatsigUninitializedError("Call and wait for initialize() to finish first.")
		}, e.prototype.getEvalutionDetailsForError = function() {
			return {
				time: Date.now(),
				reason: rd.EvaluationReason.Error
			}
		}, e.prototype.fetchAndSaveValues = function(t) {
			var n, r, i, o;
			return nc(this, void 0, void 0, function() {
				var a, s, u, l, c, d, p, g, m = this;
				return rc(this, function(_) {
					return a = t.user, s = (n = t.prefetchUsers) !== null && n !== void 0 ? n : [], u = (r = t.timeout) !== null && r !== void 0 ? r : this.options.getInitTimeoutMs(), s.length > 5 && ba.default.info("Cannot prefetch more than 5 users."), l = this.normalizePrefetchUsers(s).slice(0, 5).reduce(function(S, y) {
						return S[(0, zk.getUserCacheKey)(m.getStableID(), y, m.getSDKKey()).v3] = y, S
					}, {}), c = String((o = (i = this.getStatsigMetadata()) === null || i === void 0 ? void 0 : i.stableID) !== null && o !== void 0 ? o : ""), d = null, s.length === 0 && (d = this.store.getLastUpdateTime(a, c)), p = this.store.getPreviousHashUsed(a, c), g = this.store.getPreviousDerivedFields(a, c), [2, this.network.fetchValues({
						user: a,
						sinceTime: d,
						timeout: u,
						useDeltas: d != null && p === (this.getOptions().getDisableHashing() ? "none" : "djb2"),
						prefetchUsers: s.length > 0 ? l : void 0,
						previousDerivedFields: g
					}).eventually(function(S) {
						var y;
						(0, Gk.verifySDKKeyUsed)(S, (y = m.sdkKey) !== null && y !== void 0 ? y : "", m.errorBoundary) && S != null && S.has_updates && m.store.saveWithoutUpdatingClientState(a, S, c, s.length > 0 ? l : void 0).catch(function(w) {
							return m.errorBoundary.logError("fetchAndSaveValues:eventually", w)
						})
					}).then(function(S) {
						return m.errorBoundary.swallow("fetchAndSaveValues", function() {
							return nc(m, void 0, void 0, function() {
								var y;
								return rc(this, function(w) {
									switch (w.label) {
										case 0:
											return ds.default.mark.initialize.process.start({}), (0, Gk.verifySDKKeyUsed)(S, (y = this.sdkKey) !== null && y !== void 0 ? y : "", this.errorBoundary) ? S != null && S.has_updates ? [4, this.store.save(a, S, c, s.length > 0 ? l : void 0)] : [3, 2] : (ds.default.mark.initialize.process.end({
												success: !1
											}), [2]);
										case 1:
											return w.sent(), [3, 3];
										case 2:
											S != null && S.is_no_content && this.store.setEvaluationReason(rd.EvaluationReason.NetworkNotModified), w.label = 3;
										case 3:
											return this.prefetchedUsersByCacheKey = O2(O2({}, this.prefetchedUsersByCacheKey), l), ds.default.mark.initialize.process.end({
												success: !0
											}), [2]
									}
								})
							})
						})
					})]
				})
			})
		}, e.prototype.checkGateImpl = function(t, n) {
			if (this.ensureStoreLoaded(), typeof t != "string" || t.length === 0) throw new Po.StatsigInvalidArgumentError("Must pass a valid string as the gateName.");
			return this.store.checkGate(t, n)
		}, e.prototype.logGateExposureImpl = function(t, n) {
			var r = !n,
				i = n != null ? n : this.checkGateImpl(t, !1),
				o = i.gate;
			this.logger.logGateExposure(this.getCurrentUser(), t, o.value, o.rule_id, o.secondary_exposures, i.evaluationDetails, r)
		}, e.prototype.getConfigImpl = function(t, n) {
			if (this.ensureStoreLoaded(), typeof t != "string" || t.length === 0) throw new Po.StatsigInvalidArgumentError("Must pass a valid string as the configName.");
			return this.store.getConfig(t, n)
		}, e.prototype.logConfigExposureImpl = function(t, n) {
			var r = !n,
				i = n != null ? n : this.getConfigImpl(t, !1);
			this.logger.logConfigExposure(this.getCurrentUser(), t, i.getRuleID(), i._getSecondaryExposures(), i.getEvaluationDetails(), r)
		}, e.prototype.getExperimentImpl = function(t, n, r) {
			if (this.ensureStoreLoaded(), typeof t != "string" || t.length === 0) throw new Po.StatsigInvalidArgumentError("Must pass a valid string as the experimentName.");
			return this.store.getExperiment(t, n, r)
		}, e.prototype.logExperimentExposureImpl = function(t, n, r) {
			var i = !r,
				o = r != null ? r : this.getExperimentImpl(t, n, !1);
			this.logger.logConfigExposure(this.getCurrentUser(), t, o.getRuleID(), o._getSecondaryExposures(), o.getEvaluationDetails(), i)
		}, e.prototype.getLayerImpl = function(t, n, r) {
			if (this.ensureStoreLoaded(), typeof n != "string" || n.length === 0) throw new Po.StatsigInvalidArgumentError("Must pass a valid string as the layerName.");
			return this.store.getLayer(t, n, r)
		}, e.prototype.getEmptyConfig = function(t) {
			return new Jle.default(t, {}, "", this.getEvalutionDetailsForError())
		}, e.prototype.fireAndForgetPrefechUsers = function() {
			this.prefetchUsers(this.options.getPrefetchUsers()).catch(function() {})
		}, e
	}();
x2.default = ace;
var U6 = {};
Object.defineProperty(U6, "__esModule", {
	value: !0
});

function sce() {
	Object.entries || (Object.entries = function(e) {
		for (var t = Object.keys(e), n = t.length, r = new Array(n); n--;) r[n] = [t[n], e[t[n]]];
		return r
	})
}
U6.default = sce;
var H6 = {};
Object.defineProperty(H6, "__esModule", {
	value: !0
});

function uce() {
	Object.fromEntries || (Object.fromEntries = function(e) {
		for (var t = {}, n = 0, r = e; n < r.length; n++) {
			var i = r[n];
			if (Object(i) !== i) throw new TypeError("iterable for fromEntries should yield objects");
			var o = i[0],
				a = i[1];
			Object.defineProperty(t, o, {
				configurable: !0,
				enumerable: !0,
				writable: !0,
				value: a
			})
		}
		return t
	})
}
H6.default = uce;
var V6 = {};
Object.defineProperty(V6, "__esModule", {
	value: !0
});

function lce() {
	Promise.prototype.finally = Promise.prototype.finally || function(e) {
		var t = function(n) {
			return Promise.resolve(e()).then(n)
		};
		return this.then(function(n) {
			return t(function() {
				return n
			})
		}, function(n) {
			return t(function() {
				return Promise.reject(n)
			})
		})
	}
}
V6.default = lce;
(function(e) {
	var t = me && me.__awaiter || function(w, b, E, T) {
			function O(R) {
				return R instanceof E ? R : new E(function(k) {
					k(R)
				})
			}
			return new(E || (E = Promise))(function(R, k) {
				function M(U) {
					try {
						P(T.next(U))
					} catch (H) {
						k(H)
					}
				}

				function D(U) {
					try {
						P(T.throw(U))
					} catch (H) {
						k(H)
					}
				}

				function P(U) {
					U.done ? R(U.value) : O(U.value).then(M, D)
				}
				P((T = T.apply(w, b || [])).next())
			})
		},
		n = me && me.__generator || function(w, b) {
			var E = {
					label: 0,
					sent: function() {
						if (R[0] & 1) throw R[1];
						return R[1]
					},
					trys: [],
					ops: []
				},
				T, O, R, k;
			return k = {
				next: M(0),
				throw: M(1),
				return: M(2)
			}, typeof Symbol == "function" && (k[Symbol.iterator] = function() {
				return this
			}), k;

			function M(P) {
				return function(U) {
					return D([P, U])
				}
			}

			function D(P) {
				if (T) throw new TypeError("Generator is already executing.");
				for (; k && (k = 0, P[0] && (E = 0)), E;) try {
					if (T = 1, O && (R = P[0] & 2 ? O.return : P[0] ? O.throw || ((R = O.return) && R.call(O), 0) : O.next) && !(R = R.call(O, P[1])).done) return R;
					switch (O = 0, R && (P = [P[0] & 2, R.value]), P[0]) {
						case 0:
						case 1:
							R = P;
							break;
						case 4:
							return E.label++, {
								value: P[1],
								done: !1
							};
						case 5:
							E.label++, O = P[1], P = [0];
							continue;
						case 7:
							P = E.ops.pop(), E.trys.pop();
							continue;
						default:
							if (R = E.trys, !(R = R.length > 0 && R[R.length - 1]) && (P[0] === 6 || P[0] === 2)) {
								E = 0;
								continue
							}
							if (P[0] === 3 && (!R || P[1] > R[0] && P[1] < R[3])) {
								E.label = P[1];
								break
							}
							if (P[0] === 6 && E.label < R[1]) {
								E.label = R[1], R = P;
								break
							}
							if (R && E.label < R[2]) {
								E.label = R[2], E.ops.push(P);
								break
							}
							R[2] && E.ops.pop(), E.trys.pop();
							continue
					}
					P = b.call(w, E)
				} catch (U) {
					P = [6, U], O = 0
				} finally {
					T = R = 0
				}
				if (P[0] & 5) throw P[1];
				return {
					value: P[0] ? P[1] : void 0,
					done: !0
				}
			}
		},
		r = me && me.__importDefault || function(w) {
			return w && w.__esModule ? w : {
				default: w
			}
		};
	Object.defineProperty(e, "__esModule", {
		value: !0
	}), e.StatsigAsyncStorage = e.EvaluationReason = e.StatsigClient = e.Layer = e.DynamicConfig = e.FeatureGate = void 0;
	var i = gi,
		o = r(x2),
		a = r(A_),
		s = Sp,
		u = r(U6),
		l = r(H6),
		c = r(V6),
		d = R_;
	Object.defineProperty(e, "FeatureGate", {
		enumerable: !0,
		get: function() {
			return r(d).default
		}
	});
	var p = b1;
	Object.defineProperty(e, "DynamicConfig", {
		enumerable: !0,
		get: function() {
			return r(p).default
		}
	});
	var g = S1;
	Object.defineProperty(e, "Layer", {
		enumerable: !0,
		get: function() {
			return r(g).default
		}
	});
	var m = x2;
	Object.defineProperty(e, "StatsigClient", {
		enumerable: !0,
		get: function() {
			return r(m).default
		}
	});
	var _ = Sp;
	Object.defineProperty(e, "EvaluationReason", {
		enumerable: !0,
		get: function() {
			return _.EvaluationReason
		}
	});
	var S = gf;
	Object.defineProperty(e, "StatsigAsyncStorage", {
		enumerable: !0,
		get: function() {
			return r(S).default
		}
	}), (0, u.default)(), (0, l.default)(), (0, c.default)();
	var y = function() {
		function w() {}
		return Object.defineProperty(w, "encodeIntializeCall", {
			get: function() {
				return a.default.encodeInitializeCall
			},
			set: function(b) {
				a.default.encodeInitializeCall = b
			},
			enumerable: !1,
			configurable: !0
		}), w.initialize = function(b, E, T) {
			var O;
			return t(this, void 0, void 0, function() {
				var R;
				return n(this, function(k) {
					return R = (O = w.instance) !== null && O !== void 0 ? O : new o.default(b, E, T), w.instance || (w.instance = R), [2, R.initializeAsync()]
				})
			})
		}, w.prefetchUsers = function(b) {
			return t(this, void 0, void 0, function() {
				return n(this, function(E) {
					switch (E.label) {
						case 0:
							return [4, w.getClientX().prefetchUsers(b)];
						case 1:
							return [2, E.sent()]
					}
				})
			})
		}, w.setInitializeValues = function(b) {
			w.getClientX().setInitializeValues(b)
		}, w.checkGate = function(b, E) {
			return E === void 0 && (E = !1), w.getClientX().checkGate(b, E)
		}, w.checkGateWithExposureLoggingDisabled = function(b, E) {
			return E === void 0 && (E = !1), w.getClientX().checkGateWithExposureLoggingDisabled(b, E)
		}, w.getFeatureGate = function(b, E) {
			return E === void 0 && (E = null), w.getClientX().getFeatureGate(b, E)
		}, w.manuallyLogGateExposure = function(b) {
			w.getClientX().logGateExposure(b)
		}, w.getConfig = function(b, E) {
			return E === void 0 && (E = !1), w.getClientX().getConfig(b, E)
		}, w.getConfigWithExposureLoggingDisabled = function(b, E) {
			return E === void 0 && (E = !1), w.getClientX().getConfigWithExposureLoggingDisabled(b, E)
		}, w.manuallyLogConfigExposure = function(b) {
			w.getClientX().logConfigExposure(b)
		}, w.getExperiment = function(b, E, T) {
			return E === void 0 && (E = !1), T === void 0 && (T = !1), w.getClientX().getExperiment(b, E, T)
		}, w.getExperimentWithExposureLoggingDisabled = function(b, E, T) {
			return E === void 0 && (E = !1), T === void 0 && (T = !1), w.getClientX().getExperimentWithExposureLoggingDisabled(b, E, T)
		}, w.manuallyLogExperimentExposure = function(b, E) {
			E === void 0 && (E = !1), w.getClientX().logExperimentExposure(b, E)
		}, w.getLayer = function(b, E) {
			return E === void 0 && (E = !1), w.getClientX().getLayer(b, E)
		}, w.getLayerWithExposureLoggingDisabled = function(b, E) {
			return E === void 0 && (E = !1), w.getClientX().getLayerWithExposureLoggingDisabled(b, E)
		}, w.manuallyLogLayerParameterExposure = function(b, E, T) {
			T === void 0 && (T = !1), w.getClientX().logLayerParameterExposure(b, E, T)
		}, w.logEvent = function(b, E, T) {
			return E === void 0 && (E = null), T === void 0 && (T = null), w.getClientX().logEvent(b, E, T)
		}, w.updateUser = function(b) {
			return w.getClientX().updateUser(b)
		}, w.updateUserWithValues = function(b, E) {
			return w.getClientX().updateUserWithValues(b, E)
		}, w.shutdown = function() {
			w.getClientX().shutdown(), w.instance = null
		}, w.overrideGate = function(b, E) {
			w.getClientX().overrideGate(b, E)
		}, w.overrideConfig = function(b, E) {
			w.getClientX().overrideConfig(b, E)
		}, w.overrideLayer = function(b, E) {
			w.getClientX().overrideLayer(b, E)
		}, w.removeGateOverride = function(b) {
			w.getClientX().removeGateOverride(b)
		}, w.removeConfigOverride = function(b) {
			w.getClientX().removeConfigOverride(b)
		}, w.removeLayerOverride = function(b) {
			w.getClientX().removeLayerOverride(b)
		}, w.getAllOverrides = function() {
			return w.getClientX().getAllOverrides()
		}, w.getStableID = function() {
			return w.getClientX().getStableID()
		}, w.getEvaluationDetails = function() {
			var b, E;
			return (E = (b = w.instance) === null || b === void 0 ? void 0 : b.getEvaluationDetails()) !== null && E !== void 0 ? E : {
				reason: s.EvaluationReason.Uninitialized,
				time: 0
			}
		}, w.getInitializeResponseJson = function() {
			return w.getClientX().getInitializeResponseJson()
		}, w.removeOverride = function(b) {
			w.getClientX().removeOverride(b)
		}, w.getOverrides = function() {
			return w.getClientX().getOverrides()
		}, w.initializeCalled = function() {
			return w.instance != null && w.instance.initializeCalled()
		}, w.flushEvents = function() {
			w.getClientX().flushEvents()
		}, w.setDebugInfo = function(b) {
			w.getClientX().setDebugInfo(b)
		}, w.reenableAllLogging = function() {
			w.getClientX().reenableAllLogging()
		}, w.getClientX = function() {
			if (!w.instance) throw new i.StatsigUninitializedError;
			return w.instance
		}, w.instance = null, w
	}();
	e.default = y
})(Aj);
const id = Et(Aj);
class Ev {
	static init(t) {
		let n = "development";
		return n = "production", id.initialize("client-szGQzTeJi9S7McyQgmiuvyuQQaPxU3Ed9SDREVVOlPI", {
			customIDs: {
				stableID: t
			}
		}, {
			environment: {
				tier: n
			},
			overrideStableID: t
		})
	}
	static async updateUser(t) {
		const n = {
			userID: t.id,
			email: t.email
		};
		await id.updateUser(n)
	}
	static logEvent(t, n, r) {
		return id.logEvent(t, n, r)
	}
	static checkGate(t, n) {
		if (!id.initializeCalled()) return console.error("Statsig client not initialized. Using default value '".concat(n, "' for gate '").concat(t, "'")), n;
		try {
			return id.checkGate(t)
		} catch (r) {
			return console.error("Unable to retrieve feature gate: ".concat(t, ". Using default value: ").concat(n, "."), r), n
		}
	}
	static getAuthApiConfig() {
		return id.getConfig("platform_use_authapi_flow_config").value
	}
}
var Xu = {
		DEBUG: !1,
		LIB_VERSION: "2.45.0"
	},
	Pr;
if (typeof window > "u") {
	var Kk = {
		hostname: ""
	};
	Pr = {
		navigator: {
			userAgent: ""
		},
		document: {
			location: Kk,
			referrer: ""
		},
		screen: {
			width: 0,
			height: 0
		},
		location: Kk
	}
} else Pr = window;
var P_ = Array.prototype,
	cce = Function.prototype,
	Gj = Object.prototype,
	Gu = P_.slice,
	C1 = Gj.toString,
	L_ = Gj.hasOwnProperty,
	In = Pr.console,
	xs = Pr.navigator,
	Bt = Pr.document,
	p0 = Pr.opera,
	T2 = Pr.screen,
	Uo = xs.userAgent,
	zS = cce.bind,
	Zk = P_.forEach,
	qk = P_.indexOf,
	Yk = P_.map,
	fce = Array.isArray,
	TE = {},
	N = {
		trim: function(e) {
			return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "")
		}
	},
	Ut = {
		log: function() {
			if (Xu.DEBUG && !N.isUndefined(In) && In) try {
				In.log.apply(In, arguments)
			} catch (e) {
				N.each(arguments, function(t) {
					In.log(t)
				})
			}
		},
		warn: function() {
			if (Xu.DEBUG && !N.isUndefined(In) && In) {
				var e = ["Mixpanel warning:"].concat(N.toArray(arguments));
				try {
					In.warn.apply(In, e)
				} catch (t) {
					N.each(e, function(n) {
						In.warn(n)
					})
				}
			}
		},
		error: function() {
			if (Xu.DEBUG && !N.isUndefined(In) && In) {
				var e = ["Mixpanel error:"].concat(N.toArray(arguments));
				try {
					In.error.apply(In, e)
				} catch (t) {
					N.each(e, function(n) {
						In.error(n)
					})
				}
			}
		},
		critical: function() {
			if (!N.isUndefined(In) && In) {
				var e = ["Mixpanel error:"].concat(N.toArray(arguments));
				try {
					In.error.apply(In, e)
				} catch (t) {
					N.each(e, function(n) {
						In.error(n)
					})
				}
			}
		}
	},
	GS = function(e, t) {
		return function() {
			return arguments[0] = "[" + t + "] " + arguments[0], e.apply(Ut, arguments)
		}
	},
	B6 = function(e) {
		return {
			log: GS(Ut.log, e),
			error: GS(Ut.error, e),
			critical: GS(Ut.critical, e)
		}
	};
N.bind = function(e, t) {
	var n, r;
	if (zS && e.bind === zS) return zS.apply(e, Gu.call(arguments, 1));
	if (!N.isFunction(e)) throw new TypeError;
	return n = Gu.call(arguments, 2), r = function() {
		if (!(this instanceof r)) return e.apply(t, n.concat(Gu.call(arguments)));
		var i = {};
		i.prototype = e.prototype;
		var o = new i;
		i.prototype = null;
		var a = e.apply(o, n.concat(Gu.call(arguments)));
		return Object(a) === a ? a : o
	}, r
};
N.each = function(e, t, n) {
	if (e != null) {
		if (Zk && e.forEach === Zk) e.forEach(t, n);
		else if (e.length === +e.length) {
			for (var r = 0, i = e.length; r < i; r++)
				if (r in e && t.call(n, e[r], r, e) === TE) return
		} else
			for (var o in e)
				if (L_.call(e, o) && t.call(n, e[o], o, e) === TE) return
	}
};
N.extend = function(e) {
	return N.each(Gu.call(arguments, 1), function(t) {
		for (var n in t) t[n] !== void 0 && (e[n] = t[n])
	}), e
};
N.isArray = fce || function(e) {
	return C1.call(e) === "[object Array]"
};
N.isFunction = function(e) {
	try {
		return /^\s*\bfunction\b/.test(e)
	} catch (t) {
		return !1
	}
};
N.isArguments = function(e) {
	return !!(e && L_.call(e, "callee"))
};
N.toArray = function(e) {
	return e ? e.toArray ? e.toArray() : N.isArray(e) || N.isArguments(e) ? Gu.call(e) : N.values(e) : []
};
N.map = function(e, t, n) {
	if (Yk && e.map === Yk) return e.map(t, n);
	var r = [];
	return N.each(e, function(i) {
		r.push(t.call(n, i))
	}), r
};
N.keys = function(e) {
	var t = [];
	return e === null || N.each(e, function(n, r) {
		t[t.length] = r
	}), t
};
N.values = function(e) {
	var t = [];
	return e === null || N.each(e, function(n) {
		t[t.length] = n
	}), t
};
N.include = function(e, t) {
	var n = !1;
	return e === null ? n : qk && e.indexOf === qk ? e.indexOf(t) != -1 : (N.each(e, function(r) {
		if (n || (n = r === t)) return TE
	}), n)
};
N.includes = function(e, t) {
	return e.indexOf(t) !== -1
};
N.inherit = function(e, t) {
	return e.prototype = new t, e.prototype.constructor = e, e.superclass = t.prototype, e
};
N.isObject = function(e) {
	return e === Object(e) && !N.isArray(e)
};
N.isEmptyObject = function(e) {
	if (N.isObject(e)) {
		for (var t in e)
			if (L_.call(e, t)) return !1;
		return !0
	}
	return !1
};
N.isUndefined = function(e) {
	return e === void 0
};
N.isString = function(e) {
	return C1.call(e) == "[object String]"
};
N.isDate = function(e) {
	return C1.call(e) == "[object Date]"
};
N.isNumber = function(e) {
	return C1.call(e) == "[object Number]"
};
N.isElement = function(e) {
	return !!(e && e.nodeType === 1)
};
N.encodeDates = function(e) {
	return N.each(e, function(t, n) {
		N.isDate(t) ? e[n] = N.formatDate(t) : N.isObject(t) && (e[n] = N.encodeDates(t))
	}), e
};
N.timestamp = function() {
	return Date.now = Date.now || function() {
		return +new Date
	}, Date.now()
};
N.formatDate = function(e) {
	function t(n) {
		return n < 10 ? "0" + n : n
	}
	return e.getUTCFullYear() + "-" + t(e.getUTCMonth() + 1) + "-" + t(e.getUTCDate()) + "T" + t(e.getUTCHours()) + ":" + t(e.getUTCMinutes()) + ":" + t(e.getUTCSeconds())
};
N.strip_empty_properties = function(e) {
	var t = {};
	return N.each(e, function(n, r) {
		N.isString(n) && n.length > 0 && (t[r] = n)
	}), t
};
N.truncate = function(e, t) {
	var n;
	return typeof e == "string" ? n = e.slice(0, t) : N.isArray(e) ? (n = [], N.each(e, function(r) {
		n.push(N.truncate(r, t))
	})) : N.isObject(e) ? (n = {}, N.each(e, function(r, i) {
		n[i] = N.truncate(r, t)
	})) : n = e, n
};
N.JSONEncode = function() {
	return function(e) {
		var t = e,
			n = function(i) {
				var o = /[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
					a = {
						"\b": "\\b",
						"	": "\\t",
						"\n": "\\n",
						"\f": "\\f",
						"\r": "\\r",
						'"': '\\"',
						"\\": "\\\\"
					};
				return o.lastIndex = 0, o.test(i) ? '"' + i.replace(o, function(s) {
					var u = a[s];
					return typeof u == "string" ? u : "\\u" + ("0000" + s.charCodeAt(0).toString(16)).slice(-4)
				}) + '"' : '"' + i + '"'
			},
			r = function(i, o) {
				var a = "",
					s = "    ",
					u = 0,
					l = "",
					c = "",
					d = 0,
					p = a,
					g = [],
					m = o[i];
				switch (m && typeof m == "object" && typeof m.toJSON == "function" && (m = m.toJSON(i)), typeof m) {
					case "string":
						return n(m);
					case "number":
						return isFinite(m) ? String(m) : "null";
					case "boolean":
					case "null":
						return String(m);
					case "object":
						if (!m) return "null";
						if (a += s, g = [], C1.apply(m) === "[object Array]") {
							for (d = m.length, u = 0; u < d; u += 1) g[u] = r(u, m) || "null";
							return c = g.length === 0 ? "[]" : a ? "[\n" + a + g.join(",\n" + a) + "\n" + p + "]" : "[" + g.join(",") + "]", a = p, c
						}
						for (l in m) L_.call(m, l) && (c = r(l, m), c && g.push(n(l) + (a ? ": " : ":") + c));
						return c = g.length === 0 ? "{}" : a ? "{" + g.join(",") + p + "}" : "{" + g.join(",") + "}", a = p, c
				}
			};
		return r("", {
			"": t
		})
	}
}();
N.JSONDecode = function() {
	var e, t, n = {
			'"': '"',
			"\\": "\\",
			"/": "/",
			b: "\b",
			f: "\f",
			n: "\n",
			r: "\r",
			t: "	"
		},
		r, i = function(g) {
			var m = new SyntaxError(g);
			throw m.at = e, m.text = r, m
		},
		o = function(g) {
			return g && g !== t && i("Expected '" + g + "' instead of '" + t + "'"), t = r.charAt(e), e += 1, t
		},
		a = function() {
			var g, m = "";
			for (t === "-" && (m = "-", o("-")); t >= "0" && t <= "9";) m += t, o();
			if (t === ".")
				for (m += "."; o() && t >= "0" && t <= "9";) m += t;
			if (t === "e" || t === "E")
				for (m += t, o(), (t === "-" || t === "+") && (m += t, o()); t >= "0" && t <= "9";) m += t, o();
			if (g = +m, !isFinite(g)) i("Bad number");
			else return g
		},
		s = function() {
			var g, m, _ = "",
				S;
			if (t === '"')
				for (; o();) {
					if (t === '"') return o(), _;
					if (t === "\\")
						if (o(), t === "u") {
							for (S = 0, m = 0; m < 4 && (g = parseInt(o(), 16), !!isFinite(g)); m += 1) S = S * 16 + g;
							_ += String.fromCharCode(S)
						} else if (typeof n[t] == "string") _ += n[t];
					else break;
					else _ += t
				}
			i("Bad string")
		},
		u = function() {
			for (; t && t <= " ";) o()
		},
		l = function() {
			switch (t) {
				case "t":
					return o("t"), o("r"), o("u"), o("e"), !0;
				case "f":
					return o("f"), o("a"), o("l"), o("s"), o("e"), !1;
				case "n":
					return o("n"), o("u"), o("l"), o("l"), null
			}
			i('Unexpected "' + t + '"')
		},
		c, d = function() {
			var g = [];
			if (t === "[") {
				if (o("["), u(), t === "]") return o("]"), g;
				for (; t;) {
					if (g.push(c()), u(), t === "]") return o("]"), g;
					o(","), u()
				}
			}
			i("Bad array")
		},
		p = function() {
			var g, m = {};
			if (t === "{") {
				if (o("{"), u(), t === "}") return o("}"), m;
				for (; t;) {
					if (g = s(), u(), o(":"), Object.hasOwnProperty.call(m, g) && i('Duplicate key "' + g + '"'), m[g] = c(), u(), t === "}") return o("}"), m;
					o(","), u()
				}
			}
			i("Bad object")
		};
	return c = function() {
			switch (u(), t) {
				case "{":
					return p();
				case "[":
					return d();
				case '"':
					return s();
				case "-":
					return a();
				default:
					return t >= "0" && t <= "9" ? a() : l()
			}
		},
		function(g) {
			var m;
			return r = g, e = 0, t = " ", m = c(), u(), t && i("Syntax error"), m
		}
}();
N.base64Encode = function(e) {
	var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
		n, r, i, o, a, s, u, l, c = 0,
		d = 0,
		p = "",
		g = [];
	if (!e) return e;
	e = N.utf8Encode(e);
	do n = e.charCodeAt(c++), r = e.charCodeAt(c++), i = e.charCodeAt(c++), l = n << 16 | r << 8 | i, o = l >> 18 & 63, a = l >> 12 & 63, s = l >> 6 & 63, u = l & 63, g[d++] = t.charAt(o) + t.charAt(a) + t.charAt(s) + t.charAt(u); while (c < e.length);
	switch (p = g.join(""), e.length % 3) {
		case 1:
			p = p.slice(0, -2) + "==";
			break;
		case 2:
			p = p.slice(0, -1) + "=";
			break
	}
	return p
};
N.utf8Encode = function(e) {
	e = (e + "").replace(/\r\n/g, "\n").replace(/\r/g, "\n");
	var t = "",
		n, r, i = 0,
		o;
	for (n = r = 0, i = e.length, o = 0; o < i; o++) {
		var a = e.charCodeAt(o),
			s = null;
		a < 128 ? r++ : a > 127 && a < 2048 ? s = String.fromCharCode(a >> 6 | 192, a & 63 | 128) : s = String.fromCharCode(a >> 12 | 224, a >> 6 & 63 | 128, a & 63 | 128), s !== null && (r > n && (t += e.substring(n, r)), t += s, n = r = o + 1)
	}
	return r > n && (t += e.substring(n, e.length)), t
};
N.UUID = function() {
	var e = function() {
			for (var r = 1 * new Date, i = 0; r == 1 * new Date;) i++;
			return r.toString(16) + i.toString(16)
		},
		t = function() {
			return Math.random().toString(16).replace(".", "")
		},
		n = function() {
			var r = Uo,
				i, o, a = [],
				s = 0;

			function u(l, c) {
				var d, p = 0;
				for (d = 0; d < c.length; d++) p |= a[d] << d * 8;
				return l ^ p
			}
			for (i = 0; i < r.length; i++) o = r.charCodeAt(i), a.unshift(o & 255), a.length >= 4 && (s = u(s, a), a = []);
			return a.length > 0 && (s = u(s, a)), s.toString(16)
		};
	return function() {
		var r = (T2.height * T2.width).toString(16);
		return e() + "-" + t() + "-" + n() + "-" + r + "-" + e()
	}
}();
var Xk = ["ahrefsbot", "baiduspider", "bingbot", "bingpreview", "facebookexternal", "petalbot", "pinterest", "screaming frog", "yahoo! slurp", "yandexbot", "adsbot-google", "apis-google", "duplexweb-google", "feedfetcher-google", "google favicon", "google web preview", "google-read-aloud", "googlebot", "googleweblight", "mediapartners-google", "storebot-google"];
N.isBlockedUA = function(e) {
	var t;
	for (e = e.toLowerCase(), t = 0; t < Xk.length; t++)
		if (e.indexOf(Xk[t]) !== -1) return !0;
	return !1
};
N.HTTPBuildQuery = function(e, t) {
	var n, r, i = [];
	return N.isUndefined(t) && (t = "&"), N.each(e, function(o, a) {
		n = encodeURIComponent(o.toString()), r = encodeURIComponent(a), i[i.length] = r + "=" + n
	}), i.join(t)
};
N.getQueryParam = function(e, t) {
	t = t.replace(/[[]/, "\\[").replace(/[\]]/, "\\]");
	var n = "[\\?&]" + t + "=([^&#]*)",
		r = new RegExp(n),
		i = r.exec(e);
	if (i === null || i && typeof i[1] != "string" && i[1].length) return "";
	var o = i[1];
	try {
		o = decodeURIComponent(o)
	} catch (a) {
		Ut.error("Skipping decoding for malformed query param: " + o)
	}
	return o.replace(/\+/g, " ")
};
N.cookie = {
	get: function(e) {
		for (var t = e + "=", n = Bt.cookie.split(";"), r = 0; r < n.length; r++) {
			for (var i = n[r]; i.charAt(0) == " ";) i = i.substring(1, i.length);
			if (i.indexOf(t) === 0) return decodeURIComponent(i.substring(t.length, i.length))
		}
		return null
	},
	parse: function(e) {
		var t;
		try {
			t = N.JSONDecode(N.cookie.get(e)) || {}
		} catch (n) {}
		return t
	},
	set_seconds: function(e, t, n, r, i, o, a) {
		var s = "",
			u = "",
			l = "";
		if (a) s = "; domain=" + a;
		else if (r) {
			var c = Jk(Bt.location.hostname);
			s = c ? "; domain=." + c : ""
		}
		if (n) {
			var d = new Date;
			d.setTime(d.getTime() + n * 1e3), u = "; expires=" + d.toGMTString()
		}
		o && (i = !0, l = "; SameSite=None"), i && (l += "; secure"), Bt.cookie = e + "=" + encodeURIComponent(t) + u + "; path=/" + s + l
	},
	set: function(e, t, n, r, i, o, a) {
		var s = "",
			u = "",
			l = "";
		if (a) s = "; domain=" + a;
		else if (r) {
			var c = Jk(Bt.location.hostname);
			s = c ? "; domain=." + c : ""
		}
		if (n) {
			var d = new Date;
			d.setTime(d.getTime() + n * 24 * 60 * 60 * 1e3), u = "; expires=" + d.toGMTString()
		}
		o && (i = !0, l = "; SameSite=None"), i && (l += "; secure");
		var p = e + "=" + encodeURIComponent(t) + u + "; path=/" + s + l;
		return Bt.cookie = p, p
	},
	remove: function(e, t, n) {
		N.cookie.set(e, "", -1, t, !1, !1, n)
	}
};
var WS = null,
	R2 = function(e, t) {
		if (WS !== null && !t) return WS;
		var n = !0;
		try {
			e = e || window.localStorage;
			var r = "__mplss_" + z6(8),
				i = "xyz";
			e.setItem(r, i), e.getItem(r) !== i && (n = !1), e.removeItem(r)
		} catch (o) {
			n = !1
		}
		return WS = n, n
	};
N.localStorage = {
	is_supported: function(e) {
		var t = R2(null, e);
		return t || Ut.error("localStorage unsupported; falling back to cookie store"), t
	},
	error: function(e) {
		Ut.error("localStorage error: " + e)
	},
	get: function(e) {
		try {
			return window.localStorage.getItem(e)
		} catch (t) {
			N.localStorage.error(t)
		}
		return null
	},
	parse: function(e) {
		try {
			return N.JSONDecode(N.localStorage.get(e)) || {}
		} catch (t) {}
		return null
	},
	set: function(e, t) {
		try {
			window.localStorage.setItem(e, t)
		} catch (n) {
			N.localStorage.error(n)
		}
	},
	remove: function(e) {
		try {
			window.localStorage.removeItem(e)
		} catch (t) {
			N.localStorage.error(t)
		}
	}
};
N.register_event = function() {
	var e = function(r, i, o, a, s) {
		if (!r) {
			Ut.error("No valid element provided to register_event");
			return
		}
		if (r.addEventListener && !a) r.addEventListener(i, o, !!s);
		else {
			var u = "on" + i,
				l = r[u];
			r[u] = t(r, o, l)
		}
	};

	function t(r, i, o) {
		var a = function(s) {
			if (s = s || n(window.event), !!s) {
				var u = !0,
					l, c;
				return N.isFunction(o) && (l = o(s)), c = i.call(r, s), (l === !1 || c === !1) && (u = !1), u
			}
		};
		return a
	}

	function n(r) {
		return r && (r.preventDefault = n.preventDefault, r.stopPropagation = n.stopPropagation), r
	}
	return n.preventDefault = function() {
		this.returnValue = !1
	}, n.stopPropagation = function() {
		this.cancelBubble = !0
	}, e
}();
var dce = new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');
N.dom_query = function() {
	function e(i) {
		return i.all ? i.all : i.getElementsByTagName("*")
	}
	var t = /[\t\r\n]/g;

	function n(i, o) {
		var a = " " + o + " ";
		return (" " + i.className + " ").replace(t, " ").indexOf(a) >= 0
	}

	function r(i) {
		if (!Bt.getElementsByTagName) return [];
		var o = i.split(" "),
			a, s, u, l, c, d, p, g, m, _, S = [Bt];
		for (d = 0; d < o.length; d++) {
			if (a = o[d].replace(/^\s+/, "").replace(/\s+$/, ""), a.indexOf("#") > -1) {
				s = a.split("#"), u = s[0];
				var y = s[1],
					w = Bt.getElementById(y);
				if (!w || u && w.nodeName.toLowerCase() != u) return [];
				S = [w];
				continue
			}
			if (a.indexOf(".") > -1) {
				s = a.split("."), u = s[0];
				var b = s[1];
				for (u || (u = "*"), l = [], c = 0, p = 0; p < S.length; p++)
					for (u == "*" ? m = e(S[p]) : m = S[p].getElementsByTagName(u), g = 0; g < m.length; g++) l[c++] = m[g];
				for (S = [], _ = 0, p = 0; p < l.length; p++) l[p].className && N.isString(l[p].className) && n(l[p], b) && (S[_++] = l[p]);
				continue
			}
			var E = a.match(dce);
			if (E) {
				u = E[1];
				var T = E[2],
					O = E[3],
					R = E[4];
				for (u || (u = "*"), l = [], c = 0, p = 0; p < S.length; p++)
					for (u == "*" ? m = e(S[p]) : m = S[p].getElementsByTagName(u), g = 0; g < m.length; g++) l[c++] = m[g];
				S = [], _ = 0;
				var k;
				switch (O) {
					case "=":
						k = function(M) {
							return M.getAttribute(T) == R
						};
						break;
					case "~":
						k = function(M) {
							return M.getAttribute(T).match(new RegExp("\\b" + R + "\\b"))
						};
						break;
					case "|":
						k = function(M) {
							return M.getAttribute(T).match(new RegExp("^" + R + "-?"))
						};
						break;
					case "^":
						k = function(M) {
							return M.getAttribute(T).indexOf(R) === 0
						};
						break;
					case "$":
						k = function(M) {
							return M.getAttribute(T).lastIndexOf(R) == M.getAttribute(T).length - R.length
						};
						break;
					case "*":
						k = function(M) {
							return M.getAttribute(T).indexOf(R) > -1
						};
						break;
					default:
						k = function(M) {
							return M.getAttribute(T)
						}
				}
				for (S = [], _ = 0, p = 0; p < l.length; p++) k(l[p]) && (S[_++] = l[p]);
				continue
			}
			for (u = a, l = [], c = 0, p = 0; p < S.length; p++)
				for (m = S[p].getElementsByTagName(u), g = 0; g < m.length; g++) l[c++] = m[g];
			S = l
		}
		return S
	}
	return function(i) {
		return N.isElement(i) ? [i] : N.isObject(i) && !N.isUndefined(i.length) ? i : r.call(this, i)
	}
}();
N.info = {
	campaignParams: function() {
		var e = "utm_source utm_medium utm_campaign utm_content utm_term".split(" "),
			t = "",
			n = {};
		return N.each(e, function(r) {
			t = N.getQueryParam(Bt.URL, r), t.length && (n[r] = t)
		}), n
	},
	searchEngine: function(e) {
		return e.search("https?://(.*)google.([^/?]*)") === 0 ? "google" : e.search("https?://(.*)bing.com") === 0 ? "bing" : e.search("https?://(.*)yahoo.com") === 0 ? "yahoo" : e.search("https?://(.*)duckduckgo.com") === 0 ? "duckduckgo" : null
	},
	searchInfo: function(e) {
		var t = N.info.searchEngine(e),
			n = t != "yahoo" ? "q" : "p",
			r = {};
		if (t !== null) {
			r.$search_engine = t;
			var i = N.getQueryParam(e, n);
			i.length && (r.mp_keyword = i)
		}
		return r
	},
	browser: function(e, t, n) {
		return t = t || "", n || N.includes(e, " OPR/") ? N.includes(e, "Mini") ? "Opera Mini" : "Opera" : /(BlackBerry|PlayBook|BB10)/i.test(e) ? "BlackBerry" : N.includes(e, "IEMobile") || N.includes(e, "WPDesktop") ? "Internet Explorer Mobile" : N.includes(e, "SamsungBrowser/") ? "Samsung Internet" : N.includes(e, "Edge") || N.includes(e, "Edg/") ? "Microsoft Edge" : N.includes(e, "FBIOS") ? "Facebook Mobile" : N.includes(e, "Chrome") ? "Chrome" : N.includes(e, "CriOS") ? "Chrome iOS" : N.includes(e, "UCWEB") || N.includes(e, "UCBrowser") ? "UC Browser" : N.includes(e, "FxiOS") ? "Firefox iOS" : N.includes(t, "Apple") ? N.includes(e, "Mobile") ? "Mobile Safari" : "Safari" : N.includes(e, "Android") ? "Android Mobile" : N.includes(e, "Konqueror") ? "Konqueror" : N.includes(e, "Firefox") ? "Firefox" : N.includes(e, "MSIE") || N.includes(e, "Trident/") ? "Internet Explorer" : N.includes(e, "Gecko") ? "Mozilla" : ""
	},
	browserVersion: function(e, t, n) {
		var r = N.info.browser(e, t, n),
			i = {
				"Internet Explorer Mobile": /rv:(\d+(\.\d+)?)/,
				"Microsoft Edge": /Edge?\/(\d+(\.\d+)?)/,
				Chrome: /Chrome\/(\d+(\.\d+)?)/,
				"Chrome iOS": /CriOS\/(\d+(\.\d+)?)/,
				"UC Browser": /(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,
				Safari: /Version\/(\d+(\.\d+)?)/,
				"Mobile Safari": /Version\/(\d+(\.\d+)?)/,
				Opera: /(Opera|OPR)\/(\d+(\.\d+)?)/,
				Firefox: /Firefox\/(\d+(\.\d+)?)/,
				"Firefox iOS": /FxiOS\/(\d+(\.\d+)?)/,
				Konqueror: /Konqueror:(\d+(\.\d+)?)/,
				BlackBerry: /BlackBerry (\d+(\.\d+)?)/,
				"Android Mobile": /android\s(\d+(\.\d+)?)/,
				"Samsung Internet": /SamsungBrowser\/(\d+(\.\d+)?)/,
				"Internet Explorer": /(rv:|MSIE )(\d+(\.\d+)?)/,
				Mozilla: /rv:(\d+(\.\d+)?)/
			},
			o = i[r];
		if (o === void 0) return null;
		var a = e.match(o);
		return a ? parseFloat(a[a.length - 2]) : null
	},
	os: function() {
		var e = Uo;
		return /Windows/i.test(e) ? /Phone/.test(e) || /WPDesktop/.test(e) ? "Windows Phone" : "Windows" : /(iPhone|iPad|iPod)/.test(e) ? "iOS" : /Android/.test(e) ? "Android" : /(BlackBerry|PlayBook|BB10)/i.test(e) ? "BlackBerry" : /Mac/i.test(e) ? "Mac OS X" : /Linux/.test(e) ? "Linux" : /CrOS/.test(e) ? "Chrome OS" : ""
	},
	device: function(e) {
		return /Windows Phone/i.test(e) || /WPDesktop/.test(e) ? "Windows Phone" : /iPad/.test(e) ? "iPad" : /iPod/.test(e) ? "iPod Touch" : /iPhone/.test(e) ? "iPhone" : /(BlackBerry|PlayBook|BB10)/i.test(e) ? "BlackBerry" : /Android/.test(e) ? "Android" : ""
	},
	referringDomain: function(e) {
		var t = e.split("/");
		return t.length >= 3 ? t[2] : ""
	},
	properties: function() {
		return N.extend(N.strip_empty_properties({
			$os: N.info.os(),
			$browser: N.info.browser(Uo, xs.vendor, p0),
			$referrer: Bt.referrer,
			$referring_domain: N.info.referringDomain(Bt.referrer),
			$device: N.info.device(Uo)
		}), {
			$current_url: Pr.location.href,
			$browser_version: N.info.browserVersion(Uo, xs.vendor, p0),
			$screen_height: T2.height,
			$screen_width: T2.width,
			mp_lib: "web",
			$lib_version: Xu.LIB_VERSION,
			$insert_id: z6(),
			time: N.timestamp() / 1e3
		})
	},
	people_properties: function() {
		return N.extend(N.strip_empty_properties({
			$os: N.info.os(),
			$browser: N.info.browser(Uo, xs.vendor, p0)
		}), {
			$browser_version: N.info.browserVersion(Uo, xs.vendor, p0)
		})
	},
	pageviewInfo: function(e) {
		return N.strip_empty_properties({
			mp_page: e,
			mp_referrer: Bt.referrer,
			mp_browser: N.info.browser(Uo, xs.vendor, p0),
			mp_platform: N.info.os()
		})
	}
};
var z6 = function(e) {
		var t = Math.random().toString(36).substring(2, 10) + Math.random().toString(36).substring(2, 10);
		return e ? t.substring(0, e) : t
	},
	pce = /[a-z0-9][a-z0-9-]*\.[a-z]+$/i,
	hce = /[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,
	Jk = function(e) {
		var t = hce,
			n = e.split("."),
			r = n[n.length - 1];
		(r.length > 4 || r === "com" || r === "org") && (t = pce);
		var i = e.match(t);
		return i ? i[0] : ""
	},
	I2 = null,
	k2 = null;
typeof JSON < "u" && (I2 = JSON.stringify, k2 = JSON.parse);
I2 = I2 || N.JSONEncode;
k2 = k2 || N.JSONDecode;
N.toArray = N.toArray;
N.isObject = N.isObject;
N.JSONEncode = N.JSONEncode;
N.JSONDecode = N.JSONDecode;
N.isBlockedUA = N.isBlockedUA;
N.isEmptyObject = N.isEmptyObject;
N.info = N.info;
N.info.device = N.info.device;
N.info.browser = N.info.browser;
N.info.browserVersion = N.info.browserVersion;
N.info.properties = N.info.properties;
var Ks = function() {};
Ks.prototype.create_properties = function() {};
Ks.prototype.event_handler = function() {};
Ks.prototype.after_track_handler = function() {};
Ks.prototype.init = function(e) {
	return this.mp = e, this
};
Ks.prototype.track = function(e, t, n, r) {
	var i = this,
		o = N.dom_query(e);
	if (o.length === 0) {
		Ut.error("The DOM query (" + e + ") returned 0 elements");
		return
	}
	return N.each(o, function(a) {
		N.register_event(a, this.override_event, function(s) {
			var u = {},
				l = i.create_properties(n, this),
				c = i.mp.get_config("track_links_timeout");
			i.event_handler(s, this, u), window.setTimeout(i.track_callback(r, l, u, !0), c), i.mp.track(t, l, i.track_callback(r, l, u))
		})
	}, this), !0
};
Ks.prototype.track_callback = function(e, t, n, r) {
	r = r || !1;
	var i = this;
	return function() {
		n.callback_fired || (n.callback_fired = !0, !(e && e(r, t) === !1) && i.after_track_handler(t, n, r))
	}
};
Ks.prototype.create_properties = function(e, t) {
	var n;
	return typeof e == "function" ? n = e(t) : n = N.extend({}, e), n
};
var xp = function() {
	this.override_event = "click"
};
N.inherit(xp, Ks);
xp.prototype.create_properties = function(e, t) {
	var n = xp.superclass.create_properties.apply(this, arguments);
	return t.href && (n.url = t.href), n
};
xp.prototype.event_handler = function(e, t, n) {
	n.new_tab = e.which === 2 || e.metaKey || e.ctrlKey || t.target === "_blank", n.href = t.href, n.new_tab || e.preventDefault()
};
xp.prototype.after_track_handler = function(e, t) {
	t.new_tab || setTimeout(function() {
		window.location = t.href
	}, 0)
};
var N_ = function() {
	this.override_event = "submit"
};
N.inherit(N_, Ks);
N_.prototype.event_handler = function(e, t, n) {
	n.element = t, e.preventDefault()
};
N_.prototype.after_track_handler = function(e, t) {
	setTimeout(function() {
		t.element.submit()
	}, 0)
};
var vce = B6("lock"),
	Wj = function(e, t) {
		t = t || {}, this.storageKey = e, this.storage = t.storage || window.localStorage, this.pollIntervalMS = t.pollIntervalMS || 100, this.timeoutMS = t.timeoutMS || 2e3
	};
Wj.prototype.withLock = function(e, t, n) {
	!n && typeof t != "function" && (n = t, t = null);
	var r = n || new Date().getTime() + "|" + Math.random(),
		i = new Date().getTime(),
		o = this.storageKey,
		a = this.pollIntervalMS,
		s = this.timeoutMS,
		u = this.storage,
		l = o + ":X",
		c = o + ":Y",
		d = o + ":Z",
		p = function(w) {
			t && t(w)
		},
		g = function(w) {
			if (new Date().getTime() - i > s) {
				vce.error("Timeout waiting for mutex on " + o + "; clearing lock. [" + r + "]"), u.removeItem(d), u.removeItem(c), S();
				return
			}
			setTimeout(function() {
				try {
					w()
				} catch (b) {
					p(b)
				}
			}, a * (Math.random() + .1))
		},
		m = function(w, b) {
			w() ? b() : g(function() {
				m(w, b)
			})
		},
		_ = function() {
			var w = u.getItem(c);
			if (w && w !== r) return !1;
			if (u.setItem(c, r), u.getItem(c) === r) return !0;
			if (!R2(u, !0)) throw new Error("localStorage support dropped while acquiring lock");
			return !1
		},
		S = function() {
			u.setItem(l, r), m(_, function() {
				if (u.getItem(l) === r) {
					y();
					return
				}
				g(function() {
					if (u.getItem(c) !== r) {
						S();
						return
					}
					m(function() {
						return !u.getItem(d)
					}, y)
				})
			})
		},
		y = function() {
			u.setItem(d, "1");
			try {
				e()
			} finally {
				u.removeItem(d), u.getItem(c) === r && u.removeItem(c), u.getItem(l) === r && u.removeItem(l)
			}
		};
	try {
		if (R2(u, !0)) S();
		else throw new Error("localStorage support check failed")
	} catch (w) {
		p(w)
	}
};
var Qk = B6("batch"),
	Rl = function(e, t) {
		t = t || {}, this.storageKey = e, this.storage = t.storage || window.localStorage, this.reportError = t.errorReporter || N.bind(Qk.error, Qk), this.lock = new Wj(e, {
			storage: this.storage
		}), this.pid = t.pid || null, this.memQueue = []
	};
Rl.prototype.enqueue = function(e, t, n) {
	var r = {
		id: z6(),
		flushAfter: new Date().getTime() + t * 2,
		payload: e
	};
	this.lock.withLock(N.bind(function() {
		var o;
		try {
			var a = this.readFromStorage();
			a.push(r), o = this.saveToStorage(a), o && this.memQueue.push(r)
		} catch (s) {
			this.reportError("Error enqueueing item", e), o = !1
		}
		n && n(o)
	}, this), N.bind(function(o) {
		this.reportError("Error acquiring storage lock", o), n && n(!1)
	}, this), this.pid)
};
Rl.prototype.fillBatch = function(e) {
	var t = this.memQueue.slice(0, e);
	if (t.length < e) {
		var n = this.readFromStorage();
		if (n.length) {
			var r = {};
			N.each(t, function(a) {
				r[a.id] = !0
			});
			for (var i = 0; i < n.length; i++) {
				var o = n[i];
				if (new Date().getTime() > o.flushAfter && !r[o.id] && (o.orphaned = !0, t.push(o), t.length >= e)) break
			}
		}
	}
	return t
};
var eA = function(e, t) {
	var n = [];
	return N.each(e, function(r) {
		r.id && !t[r.id] && n.push(r)
	}), n
};
Rl.prototype.removeItemsByID = function(e, t) {
	var n = {};
	N.each(e, function(i) {
		n[i] = !0
	}), this.memQueue = eA(this.memQueue, n);
	var r = N.bind(function() {
		var i;
		try {
			var o = this.readFromStorage();
			if (o = eA(o, n), i = this.saveToStorage(o), i) {
				o = this.readFromStorage();
				for (var a = 0; a < o.length; a++) {
					var s = o[a];
					if (s.id && n[s.id]) return this.reportError("Item not removed from storage"), !1
				}
			}
		} catch (u) {
			this.reportError("Error removing items", e), i = !1
		}
		return i
	}, this);
	this.lock.withLock(function() {
		var o = r();
		t && t(o)
	}, N.bind(function(o) {
		var a = !1;
		if (this.reportError("Error acquiring storage lock", o), !R2(this.storage, !0) && (a = r(), !a)) try {
			this.storage.removeItem(this.storageKey)
		} catch (s) {
			this.reportError("Error clearing queue", s)
		}
		t && t(a)
	}, this), this.pid)
};
var tA = function(e, t) {
	var n = [];
	return N.each(e, function(r) {
		var i = r.id;
		if (i in t) {
			var o = t[i];
			o !== null && (r.payload = o, n.push(r))
		} else n.push(r)
	}), n
};
Rl.prototype.updatePayloads = function(e, t) {
	this.memQueue = tA(this.memQueue, e), this.lock.withLock(N.bind(function() {
		var r;
		try {
			var i = this.readFromStorage();
			i = tA(i, e), r = this.saveToStorage(i)
		} catch (o) {
			this.reportError("Error updating items", e), r = !1
		}
		t && t(r)
	}, this), N.bind(function(r) {
		this.reportError("Error acquiring storage lock", r), t && t(!1)
	}, this), this.pid)
};
Rl.prototype.readFromStorage = function() {
	var e;
	try {
		e = this.storage.getItem(this.storageKey), e && (e = k2(e), N.isArray(e) || (this.reportError("Invalid storage entry:", e), e = null))
	} catch (t) {
		this.reportError("Error retrieving queue", t), e = null
	}
	return e || []
};
Rl.prototype.saveToStorage = function(e) {
	try {
		return this.storage.setItem(this.storageKey, I2(e)), !0
	} catch (t) {
		return this.reportError("Error saving queue", t), !1
	}
};
Rl.prototype.clear = function() {
	this.memQueue = [], this.storage.removeItem(this.storageKey)
};
var gce = 10 * 60 * 1e3,
	tv = B6("batch"),
	Ya = function(e, t) {
		this.errorReporter = t.errorReporter, this.queue = new Rl(e, {
			errorReporter: N.bind(this.reportError, this),
			storage: t.storage
		}), this.libConfig = t.libConfig, this.sendRequest = t.sendRequestFunc, this.beforeSendHook = t.beforeSendHook, this.stopAllBatching = t.stopAllBatchingFunc, this.batchSize = this.libConfig.batch_size, this.flushInterval = this.libConfig.batch_flush_interval_ms, this.stopped = !this.libConfig.batch_autostart, this.consecutiveRemovalFailures = 0
	};
Ya.prototype.enqueue = function(e, t) {
	this.queue.enqueue(e, this.flushInterval, t)
};
Ya.prototype.start = function() {
	this.stopped = !1, this.consecutiveRemovalFailures = 0, this.flush()
};
Ya.prototype.stop = function() {
	this.stopped = !0, this.timeoutID && (clearTimeout(this.timeoutID), this.timeoutID = null)
};
Ya.prototype.clear = function() {
	this.queue.clear()
};
Ya.prototype.resetBatchSize = function() {
	this.batchSize = this.libConfig.batch_size
};
Ya.prototype.resetFlush = function() {
	this.scheduleFlush(this.libConfig.batch_flush_interval_ms)
};
Ya.prototype.scheduleFlush = function(e) {
	this.flushInterval = e, this.stopped || (this.timeoutID = setTimeout(N.bind(this.flush, this), this.flushInterval))
};
Ya.prototype.flush = function(e) {
	try {
		if (this.requestInProgress) {
			tv.log("Flush: Request already in progress");
			return
		}
		e = e || {};
		var t = this.libConfig.batch_request_timeout_ms,
			n = new Date().getTime(),
			r = this.batchSize,
			i = this.queue.fillBatch(r),
			o = [],
			a = {};
		if (N.each(i, function(l) {
				var c = l.payload;
				this.beforeSendHook && !l.orphaned && (c = this.beforeSendHook(c)), c && o.push(c), a[l.id] = c
			}, this), o.length < 1) {
			this.resetFlush();
			return
		}
		this.requestInProgress = !0;
		var s = N.bind(function(l) {
				this.requestInProgress = !1;
				try {
					var c = !1;
					if (e.unloading) this.queue.updatePayloads(a);
					else if (N.isObject(l) && l.error === "timeout" && new Date().getTime() - n >= t) this.reportError("Network timeout; retrying"), this.flush();
					else if (N.isObject(l) && l.xhr_req && (l.xhr_req.status >= 500 || l.xhr_req.status === 429 || l.error === "timeout")) {
						var d = this.flushInterval * 2,
							p = l.xhr_req.responseHeaders;
						if (p) {
							var g = p["Retry-After"];
							g && (d = parseInt(g, 10) * 1e3 || d)
						}
						d = Math.min(gce, d), this.reportError("Error; retry in " + d + " ms"), this.scheduleFlush(d)
					} else if (N.isObject(l) && l.xhr_req && l.xhr_req.status === 413)
						if (i.length > 1) {
							var m = Math.max(1, Math.floor(r / 2));
							this.batchSize = Math.min(this.batchSize, m, i.length - 1), this.reportError("413 response; reducing batch size to " + this.batchSize), this.resetFlush()
						} else this.reportError("Single-event request too large; dropping", i), this.resetBatchSize(), c = !0;
					else c = !0;
					c && this.queue.removeItemsByID(N.map(i, function(_) {
						return _.id
					}), N.bind(function(_) {
						_ ? (this.consecutiveRemovalFailures = 0, this.flush()) : (this.reportError("Failed to remove items from queue"), ++this.consecutiveRemovalFailures > 5 ? (this.reportError("Too many queue failures; disabling batching system."), this.stopAllBatching()) : this.resetFlush())
					}, this))
				} catch (_) {
					this.reportError("Error handling API response", _), this.resetFlush()
				}
			}, this),
			u = {
				method: "POST",
				verbose: !0,
				ignore_json_errors: !0,
				timeout_ms: t
			};
		e.unloading && (u.transport = "sendBeacon"), tv.log("MIXPANEL REQUEST:", o), this.sendRequest(o, u, s)
	} catch (l) {
		this.reportError("Error flushing request queue", l), this.resetFlush()
	}
};
Ya.prototype.reportError = function(e, t) {
	if (tv.error.apply(tv.error, arguments), this.errorReporter) try {
		t instanceof Error || (t = new Error(e)), this.errorReporter(e, t)
	} catch (n) {
		tv.error(n)
	}
};
var mce = "__mp_opt_in_out_";

function yce(e, t) {
	qj(!0, e, t)
}

function wce(e, t) {
	qj(!1, e, t)
}

function _ce(e, t) {
	return Zj(e, t) === "1"
}

function Kj(e, t) {
	if (Sce(t)) return Ut.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'), !0;
	var n = Zj(e, t) === "0";
	return n && Ut.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."), n
}

function O1(e) {
	return K6(e, function(t) {
		return this.get_config(t)
	})
}

function Il(e) {
	return K6(e, function(t) {
		return this._get_config(t)
	})
}

function lh(e) {
	return K6(e, function(t) {
		return this._get_config(t)
	})
}

function bce(e, t) {
	t = t || {}, G6(t).remove(W6(e, t), !!t.crossSubdomainCookie, t.cookieDomain)
}

function G6(e) {
	return e = e || {}, e.persistenceType === "localStorage" ? N.localStorage : N.cookie
}

function W6(e, t) {
	return t = t || {}, (t.persistencePrefix || mce) + e
}

function Zj(e, t) {
	return G6(t).get(W6(e, t))
}

function Sce(e) {
	if (e && e.ignoreDnt) return !1;
	var t = e && e.window || Pr,
		n = t.navigator || {},
		r = !1;
	return N.each([n.doNotTrack, n.msDoNotTrack, t.doNotTrack], function(i) {
		N.includes([!0, 1, "1", "yes"], i) && (r = !0)
	}), r
}

function qj(e, t, n) {
	if (!N.isString(t) || !t.length) {
		Ut.error("gdpr." + (e ? "optIn" : "optOut") + " called with an invalid token");
		return
	}
	n = n || {}, G6(n).set(W6(t, n), e ? 1 : 0, N.isNumber(n.cookieExpiration) ? n.cookieExpiration : null, !!n.crossSubdomainCookie, !!n.secureCookie, !!n.crossSiteCookie, n.cookieDomain), n.track && e && n.track(n.trackEventName || "$opt_in", n.trackProperties, {
		send_immediately: !0
	})
}

function K6(e, t) {
	return function() {
		var n = !1;
		try {
			var r = t.call(this, "token"),
				i = t.call(this, "ignore_dnt"),
				o = t.call(this, "opt_out_tracking_persistence_type"),
				a = t.call(this, "opt_out_tracking_cookie_prefix"),
				s = t.call(this, "window");
			r && (n = Kj(r, {
				ignoreDnt: i,
				persistenceType: o,
				persistencePrefix: a,
				window: s
			}))
		} catch (l) {
			Ut.error("Unexpected error when checking tracking opt-out status: " + l)
		}
		if (!n) return e.apply(this, arguments);
		var u = arguments[arguments.length - 1];
		typeof u == "function" && u(0)
	}
}
var cl = "$set",
	Ep = "$set_once",
	Vo = "$unset",
	Yc = "$add",
	Ls = "$append",
	Xc = "$union",
	fl = "$remove",
	xce = "$delete",
	Yj = {
		set_action: function(e, t) {
			var n = {},
				r = {};
			return N.isObject(e) ? N.each(e, function(i, o) {
				this._is_reserved_property(o) || (r[o] = i)
			}, this) : r[e] = t, n[cl] = r, n
		},
		unset_action: function(e) {
			var t = {},
				n = [];
			return N.isArray(e) || (e = [e]), N.each(e, function(r) {
				this._is_reserved_property(r) || n.push(r)
			}, this), t[Vo] = n, t
		},
		set_once_action: function(e, t) {
			var n = {},
				r = {};
			return N.isObject(e) ? N.each(e, function(i, o) {
				this._is_reserved_property(o) || (r[o] = i)
			}, this) : r[e] = t, n[Ep] = r, n
		},
		union_action: function(e, t) {
			var n = {},
				r = {};
			return N.isObject(e) ? N.each(e, function(i, o) {
				this._is_reserved_property(o) || (r[o] = N.isArray(i) ? i : [i])
			}, this) : r[e] = N.isArray(t) ? t : [t], n[Xc] = r, n
		},
		append_action: function(e, t) {
			var n = {},
				r = {};
			return N.isObject(e) ? N.each(e, function(i, o) {
				this._is_reserved_property(o) || (r[o] = i)
			}, this) : r[e] = t, n[Ls] = r, n
		},
		remove_action: function(e, t) {
			var n = {},
				r = {};
			return N.isObject(e) ? N.each(e, function(i, o) {
				this._is_reserved_property(o) || (r[o] = i)
			}, this) : r[e] = t, n[fl] = r, n
		},
		delete_action: function() {
			var e = {};
			return e[xce] = "", e
		}
	},
	tn = function() {};
N.extend(tn.prototype, Yj);
tn.prototype._init = function(e, t, n) {
	this._mixpanel = e, this._group_key = t, this._group_id = n
};
tn.prototype.set = lh(function(e, t, n) {
	var r = this.set_action(e, t);
	return N.isObject(e) && (n = t), this._send_request(r, n)
});
tn.prototype.set_once = lh(function(e, t, n) {
	var r = this.set_once_action(e, t);
	return N.isObject(e) && (n = t), this._send_request(r, n)
});
tn.prototype.unset = lh(function(e, t) {
	var n = this.unset_action(e);
	return this._send_request(n, t)
});
tn.prototype.union = lh(function(e, t, n) {
	N.isObject(e) && (n = t);
	var r = this.union_action(e, t);
	return this._send_request(r, n)
});
tn.prototype.delete = lh(function(e) {
	var t = this.delete_action();
	return this._send_request(t, e)
});
tn.prototype.remove = lh(function(e, t, n) {
	var r = this.remove_action(e, t);
	return this._send_request(r, n)
});
tn.prototype._send_request = function(e, t) {
	e.$group_key = this._group_key, e.$group_id = this._group_id, e.$token = this._get_config("token");
	var n = N.encodeDates(e);
	return this._mixpanel._track_or_batch({
		type: "groups",
		data: n,
		endpoint: this._get_config("api_host") + "/groups/",
		batcher: this._mixpanel.request_batchers.groups
	}, t)
};
tn.prototype._is_reserved_property = function(e) {
	return e === "$group_key" || e === "$group_id"
};
tn.prototype._get_config = function(e) {
	return this._mixpanel.get_config(e)
};
tn.prototype.toString = function() {
	return this._mixpanel.toString() + ".group." + this._group_key + "." + this._group_id
};
tn.prototype.remove = tn.prototype.remove;
tn.prototype.set = tn.prototype.set;
tn.prototype.set_once = tn.prototype.set_once;
tn.prototype.union = tn.prototype.union;
tn.prototype.unset = tn.prototype.unset;
tn.prototype.toString = tn.prototype.toString;
var Ye = function() {};
N.extend(Ye.prototype, Yj);
Ye.prototype._init = function(e) {
	this._mixpanel = e
};
Ye.prototype.set = Il(function(e, t, n) {
	var r = this.set_action(e, t);
	return N.isObject(e) && (n = t), this._get_config("save_referrer") && this._mixpanel.persistence.update_referrer_info(document.referrer), r[cl] = N.extend({}, N.info.people_properties(), this._mixpanel.persistence.get_referrer_info(), r[cl]), this._send_request(r, n)
});
Ye.prototype.set_once = Il(function(e, t, n) {
	var r = this.set_once_action(e, t);
	return N.isObject(e) && (n = t), this._send_request(r, n)
});
Ye.prototype.unset = Il(function(e, t) {
	var n = this.unset_action(e);
	return this._send_request(n, t)
});
Ye.prototype.increment = Il(function(e, t, n) {
	var r = {},
		i = {};
	return N.isObject(e) ? (N.each(e, function(o, a) {
		if (!this._is_reserved_property(a))
			if (isNaN(parseFloat(o))) {
				Ut.error("Invalid increment value passed to mixpanel.people.increment - must be a number");
				return
			} else i[a] = o
	}, this), n = t) : (N.isUndefined(t) && (t = 1), i[e] = t), r[Yc] = i, this._send_request(r, n)
});
Ye.prototype.append = Il(function(e, t, n) {
	N.isObject(e) && (n = t);
	var r = this.append_action(e, t);
	return this._send_request(r, n)
});
Ye.prototype.remove = Il(function(e, t, n) {
	N.isObject(e) && (n = t);
	var r = this.remove_action(e, t);
	return this._send_request(r, n)
});
Ye.prototype.union = Il(function(e, t, n) {
	N.isObject(e) && (n = t);
	var r = this.union_action(e, t);
	return this._send_request(r, n)
});
Ye.prototype.track_charge = Il(function(e, t, n) {
	if (!N.isNumber(e) && (e = parseFloat(e), isNaN(e))) {
		Ut.error("Invalid value passed to mixpanel.people.track_charge - must be a number");
		return
	}
	return this.append("$transactions", N.extend({
		$amount: e
	}, t), n)
});
Ye.prototype.clear_charges = function(e) {
	return this.set("$transactions", [], e)
};
Ye.prototype.delete_user = function() {
	if (!this._identify_called()) {
		Ut.error("mixpanel.people.delete_user() requires you to call identify() first");
		return
	}
	var e = {
		$delete: this._mixpanel.get_distinct_id()
	};
	return this._send_request(e)
};
Ye.prototype.toString = function() {
	return this._mixpanel.toString() + ".people"
};
Ye.prototype._send_request = function(e, t) {
	e.$token = this._get_config("token"), e.$distinct_id = this._mixpanel.get_distinct_id();
	var n = this._mixpanel.get_property("$device_id"),
		r = this._mixpanel.get_property("$user_id"),
		i = this._mixpanel.get_property("$had_persisted_distinct_id");
	n && (e.$device_id = n), r && (e.$user_id = r), i && (e.$had_persisted_distinct_id = i);
	var o = N.encodeDates(e);
	return this._identify_called() ? this._mixpanel._track_or_batch({
		type: "people",
		data: o,
		endpoint: this._get_config("api_host") + "/engage/",
		batcher: this._mixpanel.request_batchers.people
	}, t) : (this._enqueue(e), N.isUndefined(t) || (this._get_config("verbose") ? t({
		status: -1,
		error: null
	}) : t(-1)), N.truncate(o, 255))
};
Ye.prototype._get_config = function(e) {
	return this._mixpanel.get_config(e)
};
Ye.prototype._identify_called = function() {
	return this._mixpanel._flags.identify_called === !0
};
Ye.prototype._enqueue = function(e) {
	cl in e ? this._mixpanel.persistence._add_to_people_queue(cl, e) : Ep in e ? this._mixpanel.persistence._add_to_people_queue(Ep, e) : Vo in e ? this._mixpanel.persistence._add_to_people_queue(Vo, e) : Yc in e ? this._mixpanel.persistence._add_to_people_queue(Yc, e) : Ls in e ? this._mixpanel.persistence._add_to_people_queue(Ls, e) : fl in e ? this._mixpanel.persistence._add_to_people_queue(fl, e) : Xc in e ? this._mixpanel.persistence._add_to_people_queue(Xc, e) : Ut.error("Invalid call to _enqueue():", e)
};
Ye.prototype._flush_one_queue = function(e, t, n, r) {
	var i = this,
		o = N.extend({}, this._mixpanel.persistence._get_queue(e)),
		a = o;
	!N.isUndefined(o) && N.isObject(o) && !N.isEmptyObject(o) && (i._mixpanel.persistence._pop_from_people_queue(e, o), r && (a = r(o)), t.call(i, a, function(s, u) {
		s === 0 && i._mixpanel.persistence._add_to_people_queue(e, o), N.isUndefined(n) || n(s, u)
	}))
};
Ye.prototype._flush = function(e, t, n, r, i, o, a) {
	var s = this,
		u = this._mixpanel.persistence._get_queue(Ls),
		l = this._mixpanel.persistence._get_queue(fl);
	if (this._flush_one_queue(cl, this.set, e), this._flush_one_queue(Ep, this.set_once, r), this._flush_one_queue(Vo, this.unset, o, function(S) {
			return N.keys(S)
		}), this._flush_one_queue(Yc, this.increment, t), this._flush_one_queue(Xc, this.union, i), !N.isUndefined(u) && N.isArray(u) && u.length) {
		for (var c, d = function(S, y) {
				S === 0 && s._mixpanel.persistence._add_to_people_queue(Ls, c), N.isUndefined(n) || n(S, y)
			}, p = u.length - 1; p >= 0; p--) c = u.pop(), N.isEmptyObject(c) || s.append(c, d);
		s._mixpanel.persistence.save()
	}
	if (!N.isUndefined(l) && N.isArray(l) && l.length) {
		for (var g, m = function(S, y) {
				S === 0 && s._mixpanel.persistence._add_to_people_queue(fl, g), N.isUndefined(a) || a(S, y)
			}, _ = l.length - 1; _ >= 0; _--) g = l.pop(), N.isEmptyObject(g) || s.remove(g, m);
		s._mixpanel.persistence.save()
	}
};
Ye.prototype._is_reserved_property = function(e) {
	return e === "$distinct_id" || e === "$token" || e === "$device_id" || e === "$user_id" || e === "$had_persisted_distinct_id"
};
Ye.prototype.set = Ye.prototype.set;
Ye.prototype.set_once = Ye.prototype.set_once;
Ye.prototype.unset = Ye.prototype.unset;
Ye.prototype.increment = Ye.prototype.increment;
Ye.prototype.append = Ye.prototype.append;
Ye.prototype.remove = Ye.prototype.remove;
Ye.prototype.union = Ye.prototype.union;
Ye.prototype.track_charge = Ye.prototype.track_charge;
Ye.prototype.clear_charges = Ye.prototype.clear_charges;
Ye.prototype.delete_user = Ye.prototype.delete_user;
Ye.prototype.toString = Ye.prototype.toString;
var Z6 = "__mps",
	q6 = "__mpso",
	Y6 = "__mpus",
	X6 = "__mpa",
	J6 = "__mpap",
	Q6 = "__mpr",
	eO = "__mpu",
	Xj = "$people_distinct_id",
	A2 = "__alias",
	Cv = "__timers",
	Ece = [Z6, q6, Y6, X6, J6, Q6, eO, Xj, A2, Cv],
	at = function(e) {
		this.props = {}, this.campaign_params_saved = !1, e.persistence_name ? this.name = "mp_" + e.persistence_name : this.name = "mp_" + e.token + "_mixpanel";
		var t = e.persistence;
		t !== "cookie" && t !== "localStorage" && (Ut.critical("Unknown persistence type " + t + "; falling back to cookie"), t = e.persistence = "cookie"), t === "localStorage" && N.localStorage.is_supported() ? this.storage = N.localStorage : this.storage = N.cookie, this.load(), this.update_config(e), this.upgrade(e), this.save()
	};
at.prototype.properties = function() {
	var e = {};
	return N.each(this.props, function(t, n) {
		N.include(Ece, n) || (e[n] = t)
	}), e
};
at.prototype.load = function() {
	if (!this.disabled) {
		var e = this.storage.parse(this.name);
		e && (this.props = N.extend({}, e))
	}
};
at.prototype.upgrade = function(e) {
	var t = e.upgrade,
		n, r;
	t && (n = "mp_super_properties", typeof t == "string" && (n = t), r = this.storage.parse(n), this.storage.remove(n), this.storage.remove(n, !0), r && (this.props = N.extend(this.props, r.all, r.events))), !e.cookie_name && e.name !== "mixpanel" && (n = "mp_" + e.token + "_" + e.name, r = this.storage.parse(n), r && (this.storage.remove(n), this.storage.remove(n, !0), this.register_once(r))), this.storage === N.localStorage && (r = N.cookie.parse(this.name), N.cookie.remove(this.name), N.cookie.remove(this.name, !0), r && this.register_once(r))
};
at.prototype.save = function() {
	this.disabled || this.storage.set(this.name, N.JSONEncode(this.props), this.expire_days, this.cross_subdomain, this.secure, this.cross_site, this.cookie_domain)
};
at.prototype.remove = function() {
	this.storage.remove(this.name, !1, this.cookie_domain), this.storage.remove(this.name, !0, this.cookie_domain)
};
at.prototype.clear = function() {
	this.remove(), this.props = {}
};
at.prototype.register_once = function(e, t, n) {
	return N.isObject(e) ? (typeof t > "u" && (t = "None"), this.expire_days = typeof n > "u" ? this.default_expiry : n, N.each(e, function(r, i) {
		(!this.props.hasOwnProperty(i) || this.props[i] === t) && (this.props[i] = r)
	}, this), this.save(), !0) : !1
};
at.prototype.register = function(e, t) {
	return N.isObject(e) ? (this.expire_days = typeof t > "u" ? this.default_expiry : t, N.extend(this.props, e), this.save(), !0) : !1
};
at.prototype.unregister = function(e) {
	e in this.props && (delete this.props[e], this.save())
};
at.prototype.update_campaign_params = function() {
	this.campaign_params_saved || (this.register_once(N.info.campaignParams()), this.campaign_params_saved = !0)
};
at.prototype.update_search_keyword = function(e) {
	this.register(N.info.searchInfo(e))
};
at.prototype.update_referrer_info = function(e) {
	this.register_once({
		$initial_referrer: e || "$direct",
		$initial_referring_domain: N.info.referringDomain(e) || "$direct"
	}, "")
};
at.prototype.get_referrer_info = function() {
	return N.strip_empty_properties({
		$initial_referrer: this.props.$initial_referrer,
		$initial_referring_domain: this.props.$initial_referring_domain
	})
};
at.prototype.safe_merge = function(e) {
	return N.each(this.props, function(t, n) {
		n in e || (e[n] = t)
	}), e
};
at.prototype.update_config = function(e) {
	this.default_expiry = this.expire_days = e.cookie_expiration, this.set_disabled(e.disable_persistence), this.set_cookie_domain(e.cookie_domain), this.set_cross_site(e.cross_site_cookie), this.set_cross_subdomain(e.cross_subdomain_cookie), this.set_secure(e.secure_cookie)
};
at.prototype.set_disabled = function(e) {
	this.disabled = e, this.disabled ? this.remove() : this.save()
};
at.prototype.set_cookie_domain = function(e) {
	e !== this.cookie_domain && (this.remove(), this.cookie_domain = e, this.save())
};
at.prototype.set_cross_site = function(e) {
	e !== this.cross_site && (this.cross_site = e, this.remove(), this.save())
};
at.prototype.set_cross_subdomain = function(e) {
	e !== this.cross_subdomain && (this.cross_subdomain = e, this.remove(), this.save())
};
at.prototype.get_cross_subdomain = function() {
	return this.cross_subdomain
};
at.prototype.set_secure = function(e) {
	e !== this.secure && (this.secure = !!e, this.remove(), this.save())
};
at.prototype._add_to_people_queue = function(e, t) {
	var n = this._get_queue_key(e),
		r = t[e],
		i = this._get_or_create_queue(cl),
		o = this._get_or_create_queue(Ep),
		a = this._get_or_create_queue(Vo),
		s = this._get_or_create_queue(Yc),
		u = this._get_or_create_queue(Xc),
		l = this._get_or_create_queue(fl, []),
		c = this._get_or_create_queue(Ls, []);
	n === Z6 ? (N.extend(i, r), this._pop_from_people_queue(Yc, r), this._pop_from_people_queue(Xc, r), this._pop_from_people_queue(Vo, r)) : n === q6 ? (N.each(r, function(d, p) {
		p in o || (o[p] = d)
	}), this._pop_from_people_queue(Vo, r)) : n === Y6 ? N.each(r, function(d) {
		N.each([i, o, s, u], function(p) {
			d in p && delete p[d]
		}), N.each(c, function(p) {
			d in p && delete p[d]
		}), a[d] = !0
	}) : n === X6 ? (N.each(r, function(d, p) {
		p in i ? i[p] += d : (p in s || (s[p] = 0), s[p] += d)
	}, this), this._pop_from_people_queue(Vo, r)) : n === eO ? (N.each(r, function(d, p) {
		N.isArray(d) && (p in u || (u[p] = []), u[p] = u[p].concat(d))
	}), this._pop_from_people_queue(Vo, r)) : n === Q6 ? (l.push(r), this._pop_from_people_queue(Ls, r)) : n === J6 && (c.push(r), this._pop_from_people_queue(Vo, r)), Ut.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"), Ut.log(t), this.save()
};
at.prototype._pop_from_people_queue = function(e, t) {
	var n = this._get_queue(e);
	N.isUndefined(n) || (N.each(t, function(r, i) {
		e === Ls || e === fl ? N.each(n, function(o) {
			o[i] === r && delete o[i]
		}) : delete n[i]
	}, this), this.save())
};
at.prototype._get_queue_key = function(e) {
	if (e === cl) return Z6;
	if (e === Ep) return q6;
	if (e === Vo) return Y6;
	if (e === Yc) return X6;
	if (e === Ls) return J6;
	if (e === fl) return Q6;
	if (e === Xc) return eO;
	Ut.error("Invalid queue:", e)
};
at.prototype._get_queue = function(e) {
	return this.props[this._get_queue_key(e)]
};
at.prototype._get_or_create_queue = function(e, t) {
	var n = this._get_queue_key(e);
	return t = N.isUndefined(t) ? {} : t, this.props[n] || (this.props[n] = t)
};
at.prototype.set_event_timer = function(e, t) {
	var n = this.props[Cv] || {};
	n[e] = t, this.props[Cv] = n, this.save()
};
at.prototype.remove_event_timer = function(e) {
	var t = this.props[Cv] || {},
		n = t[e];
	return N.isUndefined(n) || (delete this.props[Cv][e], this.save()), n
};
var tO, Rr, Jj = 0,
	Cce = 1,
	Oce = function(e) {
		return e
	},
	Ov = function() {},
	mo = "mixpanel",
	Qj = "base64",
	Tce = "json",
	Yd = Pr.XMLHttpRequest && "withCredentials" in new XMLHttpRequest,
	eU = !Yd && Uo.indexOf("MSIE") === -1 && Uo.indexOf("Mozilla") === -1,
	M2 = null;
xs.sendBeacon && (M2 = function() {
	return xs.sendBeacon.apply(xs, arguments)
});
var nA = {
		api_host: "https://api-js.mixpanel.com",
		api_method: "POST",
		api_transport: "XHR",
		api_payload_format: Qj,
		app_host: "https://mixpanel.com",
		cdn: "https://cdn.mxpnl.com",
		cross_site_cookie: !1,
		cross_subdomain_cookie: !0,
		error_reporter: Ov,
		persistence: "cookie",
		persistence_name: "",
		cookie_domain: "",
		cookie_name: "",
		loaded: Ov,
		store_google: !0,
		save_referrer: !0,
		test: !1,
		verbose: !1,
		img: !1,
		debug: !1,
		track_links_timeout: 300,
		cookie_expiration: 365,
		upgrade: !1,
		disable_persistence: !1,
		disable_cookie: !1,
		secure_cookie: !1,
		ip: !0,
		opt_out_tracking_by_default: !1,
		opt_out_persistence_by_default: !1,
		opt_out_tracking_persistence_type: "localStorage",
		opt_out_tracking_cookie_prefix: null,
		property_blacklist: [],
		xhr_headers: {},
		ignore_dnt: !1,
		batch_requests: !0,
		batch_size: 50,
		batch_flush_interval_ms: 5e3,
		batch_request_timeout_ms: 9e4,
		batch_autostart: !0,
		hooks: {}
	},
	tU = !1,
	ae = function() {},
	RE = function(e, t, n) {
		var r, i = n === mo ? Rr : Rr[n];
		if (i && tO === Jj) r = i;
		else {
			if (i && !N.isArray(i)) {
				Ut.error("You have already initialized " + n);
				return
			}
			r = new ae
		}
		return r._cached_groups = {}, r._init(e, t, n), r.people = new Ye, r.people._init(r), Xu.DEBUG = Xu.DEBUG || r.get_config("debug"), !N.isUndefined(i) && N.isArray(i) && (r._execute_array.call(r.people, i.people), r._execute_array(i)), r
	};
ae.prototype.init = function(e, t, n) {
	if (N.isUndefined(n)) {
		this.report_error("You must name your new library: init(token, config, name)");
		return
	}
	if (n === mo) {
		this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet");
		return
	}
	var r = RE(e, t, n);
	return Rr[n] = r, r._loaded(), r
};
ae.prototype._init = function(e, t, n) {
	t = t || {}, this.__loaded = !0, this.config = {};
	var r = {};
	if (!("api_payload_format" in t)) {
		var i = t.api_host || nA.api_host;
		i.match(/\.mixpanel\.com$/) && (r.api_payload_format = Tce)
	}
	if (this.set_config(N.extend({}, nA, r, t, {
			name: n,
			token: e,
			callback_fn: (n === mo ? n : mo + "." + n) + "._jsc"
		})), this._jsc = Ov, this.__dom_loaded_queue = [], this.__request_queue = [], this.__disabled_events = [], this._flags = {
			disable_all_events: !1,
			identify_called: !1
		}, this.request_batchers = {}, this._batch_requests = this.get_config("batch_requests"), this._batch_requests) {
		if (!N.localStorage.is_supported(!0) || !Yd) this._batch_requests = !1, Ut.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support");
		else if (this.init_batchers(), M2 && Pr.addEventListener) {
			var o = N.bind(function() {
				this.request_batchers.events.stopped || this.request_batchers.events.flush({
					unloading: !0
				})
			}, this);
			Pr.addEventListener("pagehide", function(s) {
				s.persisted && o()
			}), Pr.addEventListener("visibilitychange", function() {
				Bt.visibilityState === "hidden" && o()
			})
		}
	}
	this.persistence = this.cookie = new at(this.config), this.unpersisted_superprops = {}, this._gdpr_init();
	var a = N.UUID();
	this.get_distinct_id() || this.register_once({
		distinct_id: a,
		$device_id: a
	}, "")
};
ae.prototype._loaded = function() {
	this.get_config("loaded")(this), this._set_default_superprops()
};
ae.prototype._set_default_superprops = function() {
	this.persistence.update_search_keyword(Bt.referrer), this.get_config("store_google") && this.persistence.update_campaign_params(), this.get_config("save_referrer") && this.persistence.update_referrer_info(Bt.referrer)
};
ae.prototype._dom_loaded = function() {
	N.each(this.__dom_loaded_queue, function(e) {
		this._track_dom.apply(this, e)
	}, this), this.has_opted_out_tracking() || N.each(this.__request_queue, function(e) {
		this._send_request.apply(this, e)
	}, this), delete this.__dom_loaded_queue, delete this.__request_queue
};
ae.prototype._track_dom = function(e, t) {
	if (this.get_config("img")) return this.report_error("You can't use DOM tracking functions with img = true."), !1;
	if (!tU) return this.__dom_loaded_queue.push([e, t]), !1;
	var n = new e().init(this);
	return n.track.apply(n, t)
};
ae.prototype._prepare_callback = function(e, t) {
	if (N.isUndefined(e)) return null;
	if (Yd) {
		var n = function(a) {
			e(a, t)
		};
		return n
	} else {
		var r = this._jsc,
			i = "" + Math.floor(Math.random() * 1e8),
			o = this.get_config("callback_fn") + "[" + i + "]";
		return r[i] = function(a) {
			delete r[i], e(a, t)
		}, o
	}
};
ae.prototype._send_request = function(e, t, n, r) {
	var i = !0;
	if (eU) return this.__request_queue.push(arguments), i;
	var o = {
			method: this.get_config("api_method"),
			transport: this.get_config("api_transport"),
			verbose: this.get_config("verbose")
		},
		a = null;
	!r && (N.isFunction(n) || typeof n == "string") && (r = n, n = null), n = N.extend(o, n || {}), Yd || (n.method = "GET");
	var s = n.method === "POST",
		u = M2 && s && n.transport.toLowerCase() === "sendbeacon",
		l = n.verbose;
	t.verbose && (l = !0), this.get_config("test") && (t.test = 1), l && (t.verbose = 1), this.get_config("img") && (t.img = 1), Yd || (r ? t.callback = r : (l || this.get_config("test")) && (t.callback = "(function(){})")), t.ip = this.get_config("ip") ? 1 : 0, t._ = new Date().getTime().toString(), s && (a = "data=" + encodeURIComponent(t.data), delete t.data), e += "?" + N.HTTPBuildQuery(t);
	var c = this;
	if ("img" in t) {
		var d = Bt.createElement("img");
		d.src = e, Bt.body.appendChild(d)
	} else if (u) {
		try {
			i = M2(e, a)
		} catch (y) {
			c.report_error(y), i = !1
		}
		try {
			r && r(i ? 1 : 0)
		} catch (y) {
			c.report_error(y)
		}
	} else if (Yd) try {
		var p = new XMLHttpRequest;
		p.open(n.method, e, !0);
		var g = this.get_config("xhr_headers");
		if (s && (g["Content-Type"] = "application/x-www-form-urlencoded"), N.each(g, function(y, w) {
				p.setRequestHeader(w, y)
			}), n.timeout_ms && typeof p.timeout < "u") {
			p.timeout = n.timeout_ms;
			var m = new Date().getTime()
		}
		p.withCredentials = !0, p.onreadystatechange = function() {
			if (p.readyState === 4)
				if (p.status === 200) {
					if (r)
						if (l) {
							var y;
							try {
								y = N.JSONDecode(p.responseText)
							} catch (b) {
								if (c.report_error(b), n.ignore_json_errors) y = p.responseText;
								else return
							}
							r(y)
						} else r(Number(p.responseText))
				} else {
					var w;
					p.timeout && !p.status && new Date().getTime() - m >= p.timeout ? w = "timeout" : w = "Bad HTTP status: " + p.status + " " + p.statusText, c.report_error(w), r && r(l ? {
						status: 0,
						error: w,
						xhr_req: p
					} : 0)
				}
		}, p.send(a)
	} catch (y) {
		c.report_error(y), i = !1
	} else {
		var _ = Bt.createElement("script");
		_.type = "text/javascript", _.async = !0, _.defer = !0, _.src = e;
		var S = Bt.getElementsByTagName("script")[0];
		S.parentNode.insertBefore(_, S)
	}
	return i
};
ae.prototype._execute_array = function(e) {
	var t, n = [],
		r = [],
		i = [];
	N.each(e, function(a) {
		a && (t = a[0], N.isArray(t) ? i.push(a) : typeof a == "function" ? a.call(this) : N.isArray(a) && t === "alias" ? n.push(a) : N.isArray(a) && t.indexOf("track") !== -1 && typeof this[t] == "function" ? i.push(a) : r.push(a))
	}, this);
	var o = function(a, s) {
		N.each(a, function(u) {
			if (N.isArray(u[0])) {
				var l = s;
				N.each(u, function(c) {
					l = l[c[0]].apply(l, c.slice(1))
				})
			} else this[u[0]].apply(this, u.slice(1))
		}, s)
	};
	o(n, this), o(r, this), o(i, this)
};
ae.prototype.are_batchers_initialized = function() {
	return !!this.request_batchers.events
};
ae.prototype.init_batchers = function() {
	var e = this.get_config("token");
	if (!this.are_batchers_initialized()) {
		var t = N.bind(function(n) {
			return new Ya("__mpq_" + e + n.queue_suffix, {
				libConfig: this.config,
				sendRequestFunc: N.bind(function(r, i, o) {
					this._send_request(this.get_config("api_host") + n.endpoint, this._encode_data_for_request(r), i, this._prepare_callback(o, r))
				}, this),
				beforeSendHook: N.bind(function(r) {
					return this._run_hook("before_send_" + n.type, r)
				}, this),
				errorReporter: this.get_config("error_reporter"),
				stopAllBatchingFunc: N.bind(this.stop_batch_senders, this)
			})
		}, this);
		this.request_batchers = {
			events: t({
				type: "events",
				endpoint: "/track/",
				queue_suffix: "_ev"
			}),
			people: t({
				type: "people",
				endpoint: "/engage/",
				queue_suffix: "_pp"
			}),
			groups: t({
				type: "groups",
				endpoint: "/groups/",
				queue_suffix: "_gr"
			})
		}
	}
	this.get_config("batch_autostart") && this.start_batch_senders()
};
ae.prototype.start_batch_senders = function() {
	this.are_batchers_initialized() && (this._batch_requests = !0, N.each(this.request_batchers, function(e) {
		e.start()
	}))
};
ae.prototype.stop_batch_senders = function() {
	this._batch_requests = !1, N.each(this.request_batchers, function(e) {
		e.stop(), e.clear()
	})
};
ae.prototype.push = function(e) {
	this._execute_array([e])
};
ae.prototype.disable = function(e) {
	typeof e > "u" ? this._flags.disable_all_events = !0 : this.__disabled_events = this.__disabled_events.concat(e)
};
ae.prototype._encode_data_for_request = function(e) {
	var t = N.JSONEncode(e);
	return this.get_config("api_payload_format") === Qj && (t = N.base64Encode(t)), {
		data: t
	}
};
ae.prototype._track_or_batch = function(e, t) {
	var n = N.truncate(e.data, 255),
		r = e.endpoint,
		i = e.batcher,
		o = e.should_send_immediately,
		a = e.send_request_options || {};
	t = t || Ov;
	var s = !0,
		u = N.bind(function() {
			return a.skip_hooks || (n = this._run_hook("before_send_" + e.type, n)), n ? (Ut.log("MIXPANEL REQUEST:"), Ut.log(n), this._send_request(r, this._encode_data_for_request(n), a, this._prepare_callback(t, n))) : null
		}, this);
	return this._batch_requests && !o ? i.enqueue(n, function(l) {
		l ? t(1, n) : u()
	}) : s = u(), s && n
};
ae.prototype.track = O1(function(e, t, n, r) {
	!r && typeof n == "function" && (r = n, n = null), n = n || {};
	var i = n.transport;
	i && (n.transport = i);
	var o = n.send_immediately;
	if (typeof r != "function" && (r = Ov), N.isUndefined(e)) {
		this.report_error("No event name provided to mixpanel.track");
		return
	}
	if (this._event_is_disabled(e)) {
		r(0);
		return
	}
	t = t || {}, t.token = this.get_config("token");
	var a = this.persistence.remove_event_timer(e);
	if (!N.isUndefined(a)) {
		var s = new Date().getTime() - a;
		t.$duration = parseFloat((s / 1e3).toFixed(3))
	}
	this._set_default_superprops(), t = N.extend({}, N.info.properties(), this.persistence.properties(), this.unpersisted_superprops, t);
	var u = this.get_config("property_blacklist");
	N.isArray(u) ? N.each(u, function(d) {
		delete t[d]
	}) : this.report_error("Invalid value for property_blacklist config: " + u);
	var l = {
			event: e,
			properties: t
		},
		c = this._track_or_batch({
			type: "events",
			data: l,
			endpoint: this.get_config("api_host") + "/track/",
			batcher: this.request_batchers.events,
			should_send_immediately: o,
			send_request_options: n
		}, r);
	return c
});
ae.prototype.set_group = O1(function(e, t, n) {
	N.isArray(t) || (t = [t]);
	var r = {};
	return r[e] = t, this.register(r), this.people.set(e, t, n)
});
ae.prototype.add_group = O1(function(e, t, n) {
	var r = this.get_property(e);
	if (r === void 0) {
		var i = {};
		i[e] = [t], this.register(i)
	} else r.indexOf(t) === -1 && (r.push(t), this.register(i));
	return this.people.union(e, t, n)
});
ae.prototype.remove_group = O1(function(e, t, n) {
	var r = this.get_property(e);
	if (r !== void 0) {
		var i = r.indexOf(t);
		i > -1 && (r.splice(i, 1), this.register({
			group_key: r
		})), r.length === 0 && this.unregister(e)
	}
	return this.people.remove(e, t, n)
});
ae.prototype.track_with_groups = O1(function(e, t, n, r) {
	var i = N.extend({}, t || {});
	return N.each(n, function(o, a) {
		o != null && (i[a] = o)
	}), this.track(e, i, r)
});
ae.prototype._create_map_key = function(e, t) {
	return e + "_" + JSON.stringify(t)
};
ae.prototype._remove_group_from_cache = function(e, t) {
	delete this._cached_groups[this._create_map_key(e, t)]
};
ae.prototype.get_group = function(e, t) {
	var n = this._create_map_key(e, t),
		r = this._cached_groups[n];
	return (r === void 0 || r._group_key !== e || r._group_id !== t) && (r = new tn, r._init(this, e, t), this._cached_groups[n] = r), r
};
ae.prototype.track_pageview = function(e) {
	N.isUndefined(e) && (e = Bt.location.href), this.track("mp_page_view", N.info.pageviewInfo(e))
};
ae.prototype.track_links = function() {
	return this._track_dom.call(this, xp, arguments)
};
ae.prototype.track_forms = function() {
	return this._track_dom.call(this, N_, arguments)
};
ae.prototype.time_event = function(e) {
	if (N.isUndefined(e)) {
		this.report_error("No event name provided to mixpanel.time_event");
		return
	}
	this._event_is_disabled(e) || this.persistence.set_event_timer(e, new Date().getTime())
};
var Rce = {
		persistent: !0
	},
	nO = function(e) {
		var t;
		return N.isObject(e) ? t = e : N.isUndefined(e) ? t = {} : t = {
			days: e
		}, N.extend({}, Rce, t)
	};
ae.prototype.register = function(e, t) {
	var n = nO(t);
	n.persistent ? this.persistence.register(e, n.days) : N.extend(this.unpersisted_superprops, e)
};
ae.prototype.register_once = function(e, t, n) {
	var r = nO(n);
	r.persistent ? this.persistence.register_once(e, t, r.days) : (typeof t > "u" && (t = "None"), N.each(e, function(i, o) {
		(!this.unpersisted_superprops.hasOwnProperty(o) || this.unpersisted_superprops[o] === t) && (this.unpersisted_superprops[o] = i)
	}, this))
};
ae.prototype.unregister = function(e, t) {
	t = nO(t), t.persistent ? this.persistence.unregister(e) : delete this.unpersisted_superprops[e]
};
ae.prototype._register_single = function(e, t) {
	var n = {};
	n[e] = t, this.register(n)
};
ae.prototype.identify = function(e, t, n, r, i, o, a, s) {
	var u = this.get_distinct_id();
	if (this.register({
			$user_id: e
		}), !this.get_property("$device_id")) {
		var l = u;
		this.register_once({
			$had_persisted_distinct_id: !0,
			$device_id: l
		}, "")
	}
	e !== u && e !== this.get_property(A2) && (this.unregister(A2), this.register({
		distinct_id: e
	})), this._flags.identify_called = !0, this.people._flush(t, n, r, i, o, a, s), e !== u && this.track("$identify", {
		distinct_id: e,
		$anon_distinct_id: u
	}, {
		skip_hooks: !0
	})
};
ae.prototype.reset = function() {
	this.persistence.clear(), this._flags.identify_called = !1;
	var e = N.UUID();
	this.register_once({
		distinct_id: e,
		$device_id: e
	}, "")
};
ae.prototype.get_distinct_id = function() {
	return this.get_property("distinct_id")
};
ae.prototype.alias = function(e, t) {
	if (e === this.get_property(Xj)) return this.report_error("Attempting to create alias for existing People user - aborting."), -2;
	var n = this;
	return N.isUndefined(t) && (t = this.get_distinct_id()), e !== t ? (this._register_single(A2, e), this.track("$create_alias", {
		alias: e,
		distinct_id: t
	}, {
		skip_hooks: !0
	}, function() {
		n.identify(e)
	})) : (this.report_error("alias matches current distinct_id - skipping api call."), this.identify(e), -1)
};
ae.prototype.name_tag = function(e) {
	this._register_single("mp_name_tag", e)
};
ae.prototype.set_config = function(e) {
	if (N.isObject(e)) {
		N.extend(this.config, e);
		var t = e.batch_size;
		t && N.each(this.request_batchers, function(n) {
			n.resetBatchSize()
		}), this.get_config("persistence_name") || (this.config.persistence_name = this.config.cookie_name), this.get_config("disable_persistence") || (this.config.disable_persistence = this.config.disable_cookie), this.persistence && this.persistence.update_config(this.config), Xu.DEBUG = Xu.DEBUG || this.get_config("debug")
	}
};
ae.prototype.get_config = function(e) {
	return this.config[e]
};
ae.prototype._run_hook = function(e) {
	var t = (this.config.hooks[e] || Oce).apply(this, Gu.call(arguments, 1));
	return typeof t > "u" && (this.report_error(e + " hook did not return a value"), t = null), t
};
ae.prototype.get_property = function(e) {
	return this.persistence.props[e]
};
ae.prototype.toString = function() {
	var e = this.get_config("name");
	return e !== mo && (e = mo + "." + e), e
};
ae.prototype._event_is_disabled = function(e) {
	return N.isBlockedUA(Uo) || this._flags.disable_all_events || N.include(this.__disabled_events, e)
};
ae.prototype._gdpr_init = function() {
	var e = this.get_config("opt_out_tracking_persistence_type") === "localStorage";
	e && N.localStorage.is_supported() && (!this.has_opted_in_tracking() && this.has_opted_in_tracking({
		persistence_type: "cookie"
	}) && this.opt_in_tracking({
		enable_persistence: !1
	}), !this.has_opted_out_tracking() && this.has_opted_out_tracking({
		persistence_type: "cookie"
	}) && this.opt_out_tracking({
		clear_persistence: !1
	}), this.clear_opt_in_out_tracking({
		persistence_type: "cookie",
		enable_persistence: !1
	})), this.has_opted_out_tracking() ? this._gdpr_update_persistence({
		clear_persistence: !0
	}) : !this.has_opted_in_tracking() && (this.get_config("opt_out_tracking_by_default") || N.cookie.get("mp_optout")) && (N.cookie.remove("mp_optout"), this.opt_out_tracking({
		clear_persistence: this.get_config("opt_out_persistence_by_default")
	}))
};
ae.prototype._gdpr_update_persistence = function(e) {
	var t;
	if (e && e.clear_persistence) t = !0;
	else if (e && e.enable_persistence) t = !1;
	else return;
	!this.get_config("disable_persistence") && this.persistence.disabled !== t && this.persistence.set_disabled(t), t && N.each(this.request_batchers, function(n) {
		n.clear()
	})
};
ae.prototype._gdpr_call_func = function(e, t) {
	return t = N.extend({
		track: N.bind(this.track, this),
		persistence_type: this.get_config("opt_out_tracking_persistence_type"),
		cookie_prefix: this.get_config("opt_out_tracking_cookie_prefix"),
		cookie_expiration: this.get_config("cookie_expiration"),
		cross_site_cookie: this.get_config("cross_site_cookie"),
		cross_subdomain_cookie: this.get_config("cross_subdomain_cookie"),
		cookie_domain: this.get_config("cookie_domain"),
		secure_cookie: this.get_config("secure_cookie"),
		ignore_dnt: this.get_config("ignore_dnt")
	}, t), N.localStorage.is_supported() || (t.persistence_type = "cookie"), e(this.get_config("token"), {
		track: t.track,
		trackEventName: t.track_event_name,
		trackProperties: t.track_properties,
		persistenceType: t.persistence_type,
		persistencePrefix: t.cookie_prefix,
		cookieDomain: t.cookie_domain,
		cookieExpiration: t.cookie_expiration,
		crossSiteCookie: t.cross_site_cookie,
		crossSubdomainCookie: t.cross_subdomain_cookie,
		secureCookie: t.secure_cookie,
		ignoreDnt: t.ignore_dnt
	})
};
ae.prototype.opt_in_tracking = function(e) {
	e = N.extend({
		enable_persistence: !0
	}, e), this._gdpr_call_func(yce, e), this._gdpr_update_persistence(e)
};
ae.prototype.opt_out_tracking = function(e) {
	e = N.extend({
		clear_persistence: !0,
		delete_user: !0
	}, e), e.delete_user && this.people && this.people._identify_called() && (this.people.delete_user(), this.people.clear_charges()), this._gdpr_call_func(wce, e), this._gdpr_update_persistence(e)
};
ae.prototype.has_opted_in_tracking = function(e) {
	return this._gdpr_call_func(_ce, e)
};
ae.prototype.has_opted_out_tracking = function(e) {
	return this._gdpr_call_func(Kj, e)
};
ae.prototype.clear_opt_in_out_tracking = function(e) {
	e = N.extend({
		enable_persistence: !0
	}, e), this._gdpr_call_func(bce, e), this._gdpr_update_persistence(e)
};
ae.prototype.report_error = function(e, t) {
	Ut.error.apply(Ut.error, arguments);
	try {
		!t && !(e instanceof Error) && (e = new Error(e)), this.get_config("error_reporter")(e, t)
	} catch (n) {
		Ut.error(n)
	}
};
ae.prototype.init = ae.prototype.init;
ae.prototype.reset = ae.prototype.reset;
ae.prototype.disable = ae.prototype.disable;
ae.prototype.time_event = ae.prototype.time_event;
ae.prototype.track = ae.prototype.track;
ae.prototype.track_links = ae.prototype.track_links;
ae.prototype.track_forms = ae.prototype.track_forms;
ae.prototype.track_pageview = ae.prototype.track_pageview;
ae.prototype.register = ae.prototype.register;
ae.prototype.register_once = ae.prototype.register_once;
ae.prototype.unregister = ae.prototype.unregister;
ae.prototype.identify = ae.prototype.identify;
ae.prototype.alias = ae.prototype.alias;
ae.prototype.name_tag = ae.prototype.name_tag;
ae.prototype.set_config = ae.prototype.set_config;
ae.prototype.get_config = ae.prototype.get_config;
ae.prototype.get_property = ae.prototype.get_property;
ae.prototype.get_distinct_id = ae.prototype.get_distinct_id;
ae.prototype.toString = ae.prototype.toString;
ae.prototype.opt_out_tracking = ae.prototype.opt_out_tracking;
ae.prototype.opt_in_tracking = ae.prototype.opt_in_tracking;
ae.prototype.has_opted_out_tracking = ae.prototype.has_opted_out_tracking;
ae.prototype.has_opted_in_tracking = ae.prototype.has_opted_in_tracking;
ae.prototype.clear_opt_in_out_tracking = ae.prototype.clear_opt_in_out_tracking;
ae.prototype.get_group = ae.prototype.get_group;
ae.prototype.set_group = ae.prototype.set_group;
ae.prototype.add_group = ae.prototype.add_group;
ae.prototype.remove_group = ae.prototype.remove_group;
ae.prototype.track_with_groups = ae.prototype.track_with_groups;
ae.prototype.start_batch_senders = ae.prototype.start_batch_senders;
ae.prototype.stop_batch_senders = ae.prototype.stop_batch_senders;
at.prototype.properties = at.prototype.properties;
at.prototype.update_search_keyword = at.prototype.update_search_keyword;
at.prototype.update_referrer_info = at.prototype.update_referrer_info;
at.prototype.get_cross_subdomain = at.prototype.get_cross_subdomain;
at.prototype.clear = at.prototype.clear;
var Id = {},
	Ice = function() {
		N.each(Id, function(e, t) {
			t !== mo && (Rr[t] = e)
		}), Rr._ = N
	},
	kce = function() {
		Rr.init = function(e, t, n) {
			if (n) return Rr[n] || (Rr[n] = Id[n] = RE(e, t, n), Rr[n]._loaded()), Rr[n];
			var r = Rr;
			Id[mo] ? r = Id[mo] : e && (r = RE(e, t, mo), r._loaded(), Id[mo] = r), Rr = r, tO === Cce && (Pr[mo] = Rr), Ice()
		}
	},
	Ace = function() {
		function e() {
			e.done || (e.done = !0, tU = !0, eU = !1, N.each(Id, function(r) {
				r._dom_loaded()
			}))
		}

		function t() {
			try {
				Bt.documentElement.doScroll("left")
			} catch (r) {
				setTimeout(t, 1);
				return
			}
			e()
		}
		if (Bt.addEventListener) Bt.readyState === "complete" ? e() : Bt.addEventListener("DOMContentLoaded", e, !1);
		else if (Bt.attachEvent) {
			Bt.attachEvent("onreadystatechange", e);
			var n = !1;
			try {
				n = Pr.frameElement === null
			} catch (r) {}
			Bt.documentElement.doScroll && n && t()
		}
		N.register_event(Pr, "load", e, !0)
	};

function Mce() {
	return tO = Jj, Rr = new ae, kce(), Rr.init(), Ace(), Rr
}
var Pce = Mce(),
	Lce = Pce;
const gu = Et(Lce);
var P2;
(function(e) {
	e.LoggedOut = "logged_out", e.LoggedIn = "logged_in"
})(P2 || (P2 = {}));
const Nce = "modulepreload",
	Dce = function(e) {
		return "/" + e
	},
	rA = {},
	Re = function(t, n, r) {
		let i = Promise.resolve();
		if (n && n.length > 0) {
			document.getElementsByTagName("link");
			const o = document.querySelector("meta[property=csp-nonce]"),
				a = (o == null ? void 0 : o.nonce) || (o == null ? void 0 : o.getAttribute("nonce"));
			i = Promise.all(n.map(s => {
				if (s = Dce(s), s in rA) return;
				rA[s] = !0;
				const u = s.endsWith(".css"),
					l = u ? '[rel="stylesheet"]' : "";
				if (document.querySelector('link[href="'.concat(s, '"]').concat(l))) return;
				const c = document.createElement("link");
				if (c.rel = u ? "stylesheet" : Nce, u || (c.as = "script", c.crossOrigin = ""), c.href = s, a && c.setAttribute("nonce", a), document.head.appendChild(c), u) return new Promise((d, p) => {
					c.addEventListener("load", d), c.addEventListener("error", () => p(new Error("Unable to preload CSS for ".concat(s))))
				})
			}))
		}
		return i.then(() => t()).catch(o => {
			const a = new Event("vite:preloadError", {
				cancelable: !0
			});
			if (a.payload = o, window.dispatchEvent(a), !a.defaultPrevented) throw o
		})
	};
var IE = function(e, t) {
	return IE = Object.setPrototypeOf || {
		__proto__: []
	}
	instanceof Array && function(n, r) {
		n.__proto__ = r
	} || function(n, r) {
		for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i])
	}, IE(e, t)
};

function fa(e, t) {
	if (typeof t != "function" && t !== null) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
	IE(e, t);

	function n() {
		this.constructor = e
	}
	e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n)
}
var ve = function() {
	return ve = Object.assign || function(t) {
		for (var n, r = 1, i = arguments.length; r < i; r++) {
			n = arguments[r];
			for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o])
		}
		return t
	}, ve.apply(this, arguments)
};

function nU(e, t) {
	var n = {};
	for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
	if (e != null && typeof Object.getOwnPropertySymbols == "function")
		for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
	return n
}

function ke(e, t, n, r) {
	function i(o) {
		return o instanceof n ? o : new n(function(a) {
			a(o)
		})
	}
	return new(n || (n = Promise))(function(o, a) {
		function s(c) {
			try {
				l(r.next(c))
			} catch (d) {
				a(d)
			}
		}

		function u(c) {
			try {
				l(r.throw(c))
			} catch (d) {
				a(d)
			}
		}

		function l(c) {
			c.done ? o(c.value) : i(c.value).then(s, u)
		}
		l((r = r.apply(e, t || [])).next())
	})
}

function Ae(e, t) {
	var n = {
			label: 0,
			sent: function() {
				if (o[0] & 1) throw o[1];
				return o[1]
			},
			trys: [],
			ops: []
		},
		r, i, o, a;
	return a = {
		next: s(0),
		throw: s(1),
		return: s(2)
	}, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
		return this
	}), a;

	function s(l) {
		return function(c) {
			return u([l, c])
		}
	}

	function u(l) {
		if (r) throw new TypeError("Generator is already executing.");
		for (; a && (a = 0, l[0] && (n = 0)), n;) try {
			if (r = 1, i && (o = l[0] & 2 ? i.return : l[0] ? i.throw || ((o = i.return) && o.call(i), 0) : i.next) && !(o = o.call(i, l[1])).done) return o;
			switch (i = 0, o && (l = [l[0] & 2, o.value]), l[0]) {
				case 0:
				case 1:
					o = l;
					break;
				case 4:
					return n.label++, {
						value: l[1],
						done: !1
					};
				case 5:
					n.label++, i = l[1], l = [0];
					continue;
				case 7:
					l = n.ops.pop(), n.trys.pop();
					continue;
				default:
					if (o = n.trys, !(o = o.length > 0 && o[o.length - 1]) && (l[0] === 6 || l[0] === 2)) {
						n = 0;
						continue
					}
					if (l[0] === 3 && (!o || l[1] > o[0] && l[1] < o[3])) {
						n.label = l[1];
						break
					}
					if (l[0] === 6 && n.label < o[1]) {
						n.label = o[1], o = l;
						break
					}
					if (o && n.label < o[2]) {
						n.label = o[2], n.ops.push(l);
						break
					}
					o[2] && n.ops.pop(), n.trys.pop();
					continue
			}
			l = t.call(e, n)
		} catch (c) {
			l = [6, c], i = 0
		} finally {
			r = o = 0
		}
		if (l[0] & 5) throw l[1];
		return {
			value: l[0] ? l[1] : void 0,
			done: !0
		}
	}
}

function Sot(e, t) {
	var n = typeof Symbol == "function" && e[Symbol.iterator];
	if (!n) return e;
	var r = n.call(e),
		i, o = [],
		a;
	try {
		for (;
			(t === void 0 || t-- > 0) && !(i = r.next()).done;) o.push(i.value)
	} catch (s) {
		a = {
			error: s
		}
	} finally {
		try {
			i && !i.done && (n = r.return) && n.call(r)
		} finally {
			if (a) throw a.error
		}
	}
	return o
}

function Qn(e, t, n) {
	if (n || arguments.length === 2)
		for (var r = 0, i = t.length, o; r < i; r++)(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
	return e.concat(o || Array.prototype.slice.call(t))
}
var rO = function() {
	function e() {
		this.callbacks = {}
	}
	return e.prototype.on = function(t, n) {
		return this.callbacks[t] ? this.callbacks[t].push(n) : this.callbacks[t] = [n], this
	}, e.prototype.once = function(t, n) {
		var r = this,
			i = function() {
				for (var o = [], a = 0; a < arguments.length; a++) o[a] = arguments[a];
				r.off(t, i), n.apply(r, o)
			};
		return this.on(t, i), this
	}, e.prototype.off = function(t, n) {
		var r, i = (r = this.callbacks[t]) !== null && r !== void 0 ? r : [],
			o = i.filter(function(a) {
				return a !== n
			});
		return this.callbacks[t] = o, this
	}, e.prototype.emit = function(t) {
		for (var n = this, r, i = [], o = 1; o < arguments.length; o++) i[o - 1] = arguments[o];
		var a = (r = this.callbacks[t]) !== null && r !== void 0 ? r : [];
		return a.forEach(function(s) {
			s.apply(n, i)
		}), this
	}, e
}();

function L2(e, t, n) {
	t.split && (t = t.split("."));
	for (var r = 0, i = t.length, o = e, a, s; r < i && (s = t[r++], !(s === "__proto__" || s === "constructor" || s === "prototype"));) o = o[s] = r === i ? n : typeof(a = o[s]) == typeof t ? a : t[r] * 0 !== 0 || ~("" + t[r]).indexOf(".") ? {} : []
}
const xot = Object.freeze(Object.defineProperty({
	__proto__: null,
	dset: L2
}, Symbol.toStringTag, {
	value: "Module"
}));
var Jc = function(e) {
	fa(t, e);

	function t(n, r) {
		var i = e.call(this, "".concat(n, " ").concat(r)) || this;
		return i.field = n, i
	}
	return t
}(Error);

function mf(e) {
	return typeof e == "string"
}

function kE(e) {
	return typeof e == "number"
}

function Xd(e) {
	return typeof e == "function"
}

function rU(e) {
	return e != null
}

function Wo(e) {
	return Object.prototype.toString.call(e).slice(8, -1).toLowerCase() === "object"
}
var iO = "is not a string",
	$ce = "is not an object",
	iU = "is nil";

function Fce(e) {
	var t = ".userId/anonymousId/previousId/groupId",
		n = function(i) {
			var o, a, s;
			return (s = (a = (o = i.userId) !== null && o !== void 0 ? o : i.anonymousId) !== null && a !== void 0 ? a : i.groupId) !== null && s !== void 0 ? s : i.previousId
		},
		r = n(e);
	if (rU(r)) {
		if (!mf(r)) throw new Jc(t, iO)
	} else throw new Jc(t, iU)
}

function jce(e) {
	if (!rU(e)) throw new Jc("Event", iU);
	if (typeof e != "object") throw new Jc("Event", $ce)
}

function Uce(e) {
	if (!mf(e.type)) throw new Jc(".type", iO)
}

function Hce(e) {
	if (!mf(e.event)) throw new Jc(".event", iO)
}

function Vce(e, t) {
	return new Promise(function(n, r) {
		var i = setTimeout(function() {
			r(Error("Promise timed out"))
		}, t);
		e.then(function(o) {
			return clearTimeout(i), n(o)
		}).catch(r)
	})
}

function Bce(e) {
	return new Promise(function(t) {
		return setTimeout(t, e)
	})
}

function zce(e, t, n) {
	var r = function() {
		try {
			return Promise.resolve(t(e))
		} catch (i) {
			return Promise.reject(i)
		}
	};
	return Bce(n).then(function() {
		return Vce(r(), 1e3)
	}).catch(function(i) {
		e == null || e.log("warn", "Callback Error", {
			error: i
		}), e == null || e.stats.increment("callback_error")
	}).then(function() {
		return e
	})
}

function Gce(e) {
	var t = Math.random() + 1,
		n = e.minTimeout,
		r = n === void 0 ? 500 : n,
		i = e.factor,
		o = i === void 0 ? 2 : i,
		a = e.attempt,
		s = e.maxTimeout,
		u = s === void 0 ? 1 / 0 : s;
	return Math.min(t * r * Math.pow(o, a), u)
}
var oU = "onRemoveFromFuture",
	oO = function(e) {
		fa(t, e);

		function t(n, r, i) {
			var o = e.call(this) || this;
			return o.future = [], o.maxAttempts = n, o.queue = r, o.seen = i != null ? i : {}, o
		}
		return t.prototype.push = function() {
			for (var n = this, r = [], i = 0; i < arguments.length; i++) r[i] = arguments[i];
			var o = r.map(function(a) {
				var s = n.updateAttempts(a);
				return s > n.maxAttempts || n.includes(a) ? !1 : (n.queue.push(a), !0)
			});
			return this.queue = this.queue.sort(function(a, s) {
				return n.getAttempts(a) - n.getAttempts(s)
			}), o
		}, t.prototype.pushWithBackoff = function(n) {
			var r = this;
			if (this.getAttempts(n) === 0) return this.push(n)[0];
			var i = this.updateAttempts(n);
			if (i > this.maxAttempts || this.includes(n)) return !1;
			var o = Gce({
				attempt: i - 1
			});
			return setTimeout(function() {
				r.queue.push(n), r.future = r.future.filter(function(a) {
					return a.id !== n.id
				}), r.emit(oU)
			}, o), this.future.push(n), !0
		}, t.prototype.getAttempts = function(n) {
			var r;
			return (r = this.seen[n.id]) !== null && r !== void 0 ? r : 0
		}, t.prototype.updateAttempts = function(n) {
			return this.seen[n.id] = this.getAttempts(n) + 1, this.getAttempts(n)
		}, t.prototype.includes = function(n) {
			return this.queue.includes(n) || this.future.includes(n) || !!this.queue.find(function(r) {
				return r.id === n.id
			}) || !!this.future.find(function(r) {
				return r.id === n.id
			})
		}, t.prototype.pop = function() {
			return this.queue.shift()
		}, Object.defineProperty(t.prototype, "length", {
			get: function() {
				return this.queue.length
			},
			enumerable: !1,
			configurable: !0
		}), Object.defineProperty(t.prototype, "todo", {
			get: function() {
				return this.queue.length + this.future.length
			},
			enumerable: !1,
			configurable: !0
		}), t
	}(rO),
	Cc = 256,
	Dy = [],
	hm;
for (; Cc--;) Dy[Cc] = (Cc + 256).toString(16).substring(1);

function aO() {
	var e = 0,
		t, n = "";
	if (!hm || Cc + 16 > 256) {
		for (hm = Array(e = 256); e--;) hm[e] = 256 * Math.random() | 0;
		e = Cc = 0
	}
	for (; e < 16; e++) t = hm[Cc + e], e == 6 ? n += Dy[t & 15 | 64] : e == 8 ? n += Dy[t & 63 | 128] : n += Dy[t], e & 1 && e > 1 && e < 11 && (n += "-");
	return Cc++, n
}
var Wce = function() {
		function e() {
			this._logs = []
		}
		return e.prototype.log = function(t, n, r) {
			var i = new Date;
			this._logs.push({
				level: t,
				message: n,
				time: i,
				extras: r
			})
		}, Object.defineProperty(e.prototype, "logs", {
			get: function() {
				return this._logs
			},
			enumerable: !1,
			configurable: !0
		}), e.prototype.flush = function() {
			if (this.logs.length > 1) {
				var t = this._logs.reduce(function(n, r) {
					var i, o, a, s = ve(ve({}, r), {
						json: JSON.stringify(r.extras, null, " "),
						extras: r.extras
					});
					delete s.time;
					var u = (a = (o = r.time) === null || o === void 0 ? void 0 : o.toISOString()) !== null && a !== void 0 ? a : "";
					return n[u] && (u = "".concat(u, "-").concat(Math.random())), ve(ve({}, n), (i = {}, i[u] = s, i))
				}, {});
				console.table ? console.table(t) : console.log(t)
			} else this.logs.forEach(function(n) {
				var r = n.level,
					i = n.message,
					o = n.extras;
				r === "info" || r === "debug" ? console.log(i, o != null ? o : "") : console[r](i, o != null ? o : "")
			});
			this._logs = []
		}, e
	}(),
	Kce = function(e) {
		var t = {
			gauge: "g",
			counter: "c"
		};
		return t[e]
	},
	aU = function() {
		function e() {
			this.metrics = []
		}
		return e.prototype.increment = function(t, n, r) {
			n === void 0 && (n = 1), this.metrics.push({
				metric: t,
				value: n,
				tags: r != null ? r : [],
				type: "counter",
				timestamp: Date.now()
			})
		}, e.prototype.gauge = function(t, n, r) {
			this.metrics.push({
				metric: t,
				value: n,
				tags: r != null ? r : [],
				type: "gauge",
				timestamp: Date.now()
			})
		}, e.prototype.flush = function() {
			var t = this.metrics.map(function(n) {
				return ve(ve({}, n), {
					tags: n.tags.join(",")
				})
			});
			console.table ? console.table(t) : console.log(t), this.metrics = []
		}, e.prototype.serialize = function() {
			return this.metrics.map(function(t) {
				return {
					m: t.metric,
					v: t.value,
					t: t.tags,
					k: Kce(t.type),
					e: t.timestamp
				}
			})
		}, e
	}(),
	Zce = function(e) {
		fa(t, e);

		function t() {
			return e !== null && e.apply(this, arguments) || this
		}
		return t.prototype.gauge = function() {}, t.prototype.increment = function() {}, t.prototype.flush = function() {}, t.prototype.serialize = function() {
			return []
		}, t
	}(aU),
	Cp = function() {
		function e(t) {
			var n, r, i;
			this.retry = (n = t.retry) !== null && n !== void 0 ? n : !0, this.type = (r = t.type) !== null && r !== void 0 ? r : "plugin Error", this.reason = (i = t.reason) !== null && i !== void 0 ? i : ""
		}
		return e
	}(),
	N2 = function() {
		function e(t, n, r, i) {
			n === void 0 && (n = aO()), r === void 0 && (r = new Zce), i === void 0 && (i = new Wce), this.attempts = 0, this.event = t, this._id = n, this.logger = i, this.stats = r
		}
		return e.system = function() {}, e.prototype.isSame = function(t) {
			return t.id === this.id
		}, e.prototype.cancel = function(t) {
			throw t || new Cp({
				reason: "Context Cancel"
			})
		}, e.prototype.log = function(t, n, r) {
			this.logger.log(t, n, r)
		}, Object.defineProperty(e.prototype, "id", {
			get: function() {
				return this._id
			},
			enumerable: !1,
			configurable: !0
		}), e.prototype.updateEvent = function(t, n) {
			var r;
			if (t.split(".")[0] === "integrations") {
				var i = t.split(".")[1];
				if (((r = this.event.integrations) === null || r === void 0 ? void 0 : r[i]) === !1) return this.event
			}
			return L2(this.event, t, n), this.event
		}, e.prototype.failedDelivery = function() {
			return this._failedDelivery
		}, e.prototype.setFailedDelivery = function(t) {
			this._failedDelivery = t
		}, e.prototype.logs = function() {
			return this.logger.logs
		}, e.prototype.flush = function() {
			this.logger.flush(), this.stats.flush()
		}, e.prototype.toJSON = function() {
			return {
				id: this._id,
				event: this.event,
				logs: this.logger.logs,
				metrics: this.stats.metrics
			}
		}, e
	}();

function qce(e, t) {
	var n = {};
	return e.forEach(function(r) {
		var i, o = void 0; {
			var a = r[t];
			o = typeof a != "string" ? JSON.stringify(a) : a
		}
		o !== void 0 && (n[o] = Qn(Qn([], (i = n[o]) !== null && i !== void 0 ? i : [], !0), [r], !1))
	}), n
}
var Yce = function(e) {
		return typeof e == "object" && e !== null && "then" in e && typeof e.then == "function"
	},
	Xce = function() {
		var e, t, n = 0;
		return {
			done: function() {
				return e
			},
			run: function(r) {
				var i = r();
				return Yce(i) && (++n === 1 && (e = new Promise(function(o) {
					return t = o
				})), i.finally(function() {
					return --n === 0 && t()
				})), i
			}
		}
	};

function Jce(e) {
	return ke(this, void 0, void 0, function() {
		var t;
		return Ae(this, function(n) {
			switch (n.label) {
				case 0:
					return n.trys.push([0, 2, , 3]), [4, e()];
				case 1:
					return [2, n.sent()];
				case 2:
					return t = n.sent(), [2, Promise.reject(t)];
				case 3:
					return [2]
			}
		})
	})
}

function nv(e, t) {
	e.log("debug", "plugin", {
		plugin: t.name
	});
	var n = new Date().getTime(),
		r = t[e.event.type];
	if (r === void 0) return Promise.resolve(e);
	var i = Jce(function() {
		return r.apply(t, [e])
	}).then(function(o) {
		var a = new Date().getTime() - n;
		return o.stats.gauge("plugin_time", a, ["plugin:".concat(t.name)]), o
	}).catch(function(o) {
		if (o instanceof Cp && o.type === "middleware_cancellation") throw o;
		return o instanceof Cp ? (e.log("warn", o.type, {
			plugin: t.name,
			error: o
		}), o) : (e.log("error", "plugin Error", {
			plugin: t.name,
			error: o
		}), e.stats.increment("plugin_error", 1, ["plugin:".concat(t.name)]), o)
	});
	return i
}

function Qce(e, t) {
	return nv(e, t).then(function(n) {
		if (n instanceof N2) return n;
		e.log("debug", "Context canceled"), e.stats.increment("context_canceled"), e.cancel(n)
	})
}
var efe = function(e) {
		fa(t, e);

		function t(n) {
			var r = e.call(this) || this;
			return r.criticalTasks = Xce(), r.plugins = [], r.failedInitializations = [], r.flushing = !1, r.queue = n, r.queue.on(oU, function() {
				r.scheduleFlush(0)
			}), r
		}
		return t.prototype.register = function(n, r, i) {
			return ke(this, void 0, void 0, function() {
				var o = this;
				return Ae(this, function(a) {
					switch (a.label) {
						case 0:
							return [4, Promise.resolve(r.load(n, i)).then(function() {
								o.plugins.push(r)
							}).catch(function(s) {
								if (r.type === "destination") {
									o.failedInitializations.push(r.name), console.warn(r.name, s), n.log("warn", "Failed to load destination", {
										plugin: r.name,
										error: s
									});
									return
								}
								throw s
							})];
						case 1:
							return a.sent(), [2]
					}
				})
			})
		}, t.prototype.deregister = function(n, r, i) {
			return ke(this, void 0, void 0, function() {
				var o;
				return Ae(this, function(a) {
					switch (a.label) {
						case 0:
							return a.trys.push([0, 3, , 4]), r.unload ? [4, Promise.resolve(r.unload(n, i))] : [3, 2];
						case 1:
							a.sent(), a.label = 2;
						case 2:
							return this.plugins = this.plugins.filter(function(s) {
								return s.name !== r.name
							}), [3, 4];
						case 3:
							return o = a.sent(), n.log("warn", "Failed to unload destination", {
								plugin: r.name,
								error: o
							}), [3, 4];
						case 4:
							return [2]
					}
				})
			})
		}, t.prototype.dispatch = function(n) {
			return ke(this, void 0, void 0, function() {
				var r;
				return Ae(this, function(i) {
					return n.log("debug", "Dispatching"), n.stats.increment("message_dispatched"), this.queue.push(n), r = this.subscribeToDelivery(n), this.scheduleFlush(0), [2, r]
				})
			})
		}, t.prototype.subscribeToDelivery = function(n) {
			return ke(this, void 0, void 0, function() {
				var r = this;
				return Ae(this, function(i) {
					return [2, new Promise(function(o) {
						var a = function(s, u) {
							s.isSame(n) && (r.off("flush", a), o(s))
						};
						r.on("flush", a)
					})]
				})
			})
		}, t.prototype.dispatchSingle = function(n) {
			return ke(this, void 0, void 0, function() {
				var r = this;
				return Ae(this, function(i) {
					return n.log("debug", "Dispatching"), n.stats.increment("message_dispatched"), this.queue.updateAttempts(n), n.attempts = 1, [2, this.deliver(n).catch(function(o) {
						var a = r.enqueuRetry(o, n);
						return a ? r.subscribeToDelivery(n) : (n.setFailedDelivery({
							reason: o
						}), n)
					})]
				})
			})
		}, t.prototype.isEmpty = function() {
			return this.queue.length === 0
		}, t.prototype.scheduleFlush = function(n) {
			var r = this;
			n === void 0 && (n = 500), !this.flushing && (this.flushing = !0, setTimeout(function() {
				r.flush().then(function() {
					setTimeout(function() {
						r.flushing = !1, r.queue.length && r.scheduleFlush(0)
					}, 0)
				})
			}, n))
		}, t.prototype.deliver = function(n) {
			return ke(this, void 0, void 0, function() {
				var r, i, o, a;
				return Ae(this, function(s) {
					switch (s.label) {
						case 0:
							return [4, this.criticalTasks.done()];
						case 1:
							s.sent(), r = Date.now(), s.label = 2;
						case 2:
							return s.trys.push([2, 4, , 5]), [4, this.flushOne(n)];
						case 3:
							return n = s.sent(), i = Date.now() - r, this.emit("delivery_success", n), n.stats.gauge("delivered", i), n.log("debug", "Delivered", n.event), [2, n];
						case 4:
							throw o = s.sent(), a = o, n.log("error", "Failed to deliver", a), this.emit("delivery_failure", n, a), n.stats.increment("delivery_failed"), o;
						case 5:
							return [2]
					}
				})
			})
		}, t.prototype.enqueuRetry = function(n, r) {
			var i = !(n instanceof Cp) || n.retry;
			return i ? this.queue.pushWithBackoff(r) : !1
		}, t.prototype.flush = function() {
			return ke(this, void 0, void 0, function() {
				var n, r, i;
				return Ae(this, function(o) {
					switch (o.label) {
						case 0:
							if (this.queue.length === 0) return [2, []];
							if (n = this.queue.pop(), !n) return [2, []];
							n.attempts = this.queue.getAttempts(n), o.label = 1;
						case 1:
							return o.trys.push([1, 3, , 4]), [4, this.deliver(n)];
						case 2:
							return n = o.sent(), this.emit("flush", n, !0), [3, 4];
						case 3:
							return r = o.sent(), i = this.enqueuRetry(r, n), i || (n.setFailedDelivery({
								reason: r
							}), this.emit("flush", n, !1)), [2, []];
						case 4:
							return [2, [n]]
					}
				})
			})
		}, t.prototype.isReady = function() {
			return !0
		}, t.prototype.availableExtensions = function(n) {
			var r = this.plugins.filter(function(g) {
					var m, _, S;
					if (g.type !== "destination" && g.name !== "Segment.io") return !0;
					var y = void 0;
					return (m = g.alternativeNames) === null || m === void 0 || m.forEach(function(w) {
						n[w] !== void 0 && (y = n[w])
					}), (S = (_ = n[g.name]) !== null && _ !== void 0 ? _ : y) !== null && S !== void 0 ? S : (g.name === "Segment.io" ? !0 : n.All) !== !1
				}),
				i = qce(r, "type"),
				o = i.before,
				a = o === void 0 ? [] : o,
				s = i.enrichment,
				u = s === void 0 ? [] : s,
				l = i.destination,
				c = l === void 0 ? [] : l,
				d = i.after,
				p = d === void 0 ? [] : d;
			return {
				before: a,
				enrichment: u,
				destinations: c,
				after: p
			}
		}, t.prototype.flushOne = function(n) {
			var r, i;
			return ke(this, void 0, void 0, function() {
				var o, a, s, u, l, c, m, d, p, g, m, _, S, y, w;
				return Ae(this, function(b) {
					switch (b.label) {
						case 0:
							if (!this.isReady()) throw new Error("Not ready");
							n.attempts > 1 && this.emit("delivery_retry", n), o = this.availableExtensions((r = n.event.integrations) !== null && r !== void 0 ? r : {}), a = o.before, s = o.enrichment, u = 0, l = a, b.label = 1;
						case 1:
							return u < l.length ? (c = l[u], [4, Qce(n, c)]) : [3, 4];
						case 2:
							m = b.sent(), m instanceof N2 && (n = m), this.emit("message_enriched", n, c), b.label = 3;
						case 3:
							return u++, [3, 1];
						case 4:
							d = 0, p = s, b.label = 5;
						case 5:
							return d < p.length ? (g = p[d], [4, nv(n, g)]) : [3, 8];
						case 6:
							m = b.sent(), m instanceof N2 && (n = m), this.emit("message_enriched", n, g), b.label = 7;
						case 7:
							return d++, [3, 5];
						case 8:
							return _ = this.availableExtensions((i = n.event.integrations) !== null && i !== void 0 ? i : {}), S = _.destinations, y = _.after, [4, new Promise(function(E, T) {
								setTimeout(function() {
									var O = S.map(function(R) {
										return nv(n, R)
									});
									Promise.all(O).then(E).catch(T)
								}, 0)
							})];
						case 9:
							return b.sent(), n.stats.increment("message_delivered"), this.emit("message_delivered", n), w = y.map(function(E) {
								return nv(n, E)
							}), [4, Promise.all(w)];
						case 10:
							return b.sent(), [2, n]
					}
				})
			})
		}, t
	}(rO),
	tfe = function(e, t) {
		var n = Date.now() - e;
		return Math.max((t != null ? t : 300) - n, 0)
	};

function nfe(e, t, n, r) {
	return ke(this, void 0, void 0, function() {
		var i, o;
		return Ae(this, function(a) {
			switch (a.label) {
				case 0:
					return n.emit("dispatch_start", e), i = Date.now(), t.isEmpty() ? [4, t.dispatchSingle(e)] : [3, 2];
				case 1:
					return o = a.sent(), [3, 4];
				case 2:
					return [4, t.dispatch(e)];
				case 3:
					o = a.sent(), a.label = 4;
				case 4:
					return r != null && r.callback ? [4, zce(o, r.callback, tfe(i, r.timeout))] : [3, 6];
				case 5:
					o = a.sent(), a.label = 6;
				case 6:
					return r != null && r.debug && o.flush(), [2, o]
			}
		})
	})
}

function rfe(e, t, n, r) {
	var i, o = [e, t, n, r],
		a = Wo(e) ? e.event : e;
	if (!a || !mf(a)) throw new Error("Event missing");
	var s = Wo(e) ? (i = e.properties) !== null && i !== void 0 ? i : {} : Wo(t) ? t : {},
		u = {};
	Xd(n) || (u = n != null ? n : {}), Wo(e) && !Xd(t) && (u = t != null ? t : {});
	var l = o.find(Xd);
	return [a, s, u, l]
}

function iA(e, t, n, r, i) {
	var o, a, s = null,
		u = null,
		l = [e, t, n, r, i],
		c = l.filter(mf);
	c[0] !== void 0 && c[1] !== void 0 && (s = c[0], u = c[1]), c.length === 1 && (s = null, u = c[0]);
	var d = l.find(Xd),
		p = l.filter(function(_) {
			return u === null ? Wo(_) : Wo(_) || _ === null
		}),
		g = (o = p[0]) !== null && o !== void 0 ? o : {},
		m = (a = p[1]) !== null && a !== void 0 ? a : {};
	return [s, u, g, m, d]
}
var oA = function(e) {
	return function() {
		for (var t, n, r, i, o, a = [], s = 0; s < arguments.length; s++) a[s] = arguments[s];
		var u = null;
		u = (r = (t = a.find(mf)) !== null && t !== void 0 ? t : (n = a.find(kE)) === null || n === void 0 ? void 0 : n.toString()) !== null && r !== void 0 ? r : e.id();
		var l = a.filter(function(g) {
				return u === null ? Wo(g) : Wo(g) || g === null
			}),
			c = (i = l[0]) !== null && i !== void 0 ? i : {},
			d = (o = l[1]) !== null && o !== void 0 ? o : {},
			p = a.find(Xd);
		return [u, c, d, p]
	}
};

function ife(e, t, n, r) {
	kE(e) && (e = e.toString()), kE(t) && (t = t.toString());
	var i = [e, t, n, r],
		o = i.filter(mf),
		a = o[0],
		s = a === void 0 ? e : a,
		u = o[1],
		l = u === void 0 ? null : u,
		c = i.filter(Wo)[0],
		d = c === void 0 ? {} : c,
		p = i.find(Xd);
	return [s, l, d, p]
}

function sO() {
	return typeof window < "u"
}

function Eot() {
	return !sO()
}

function ofe() {
	return sO() ? window.navigator.onLine : !0
}

function Tv() {
	return !ofe()
}

function afe(e, t) {
	return t = t || {}, new Promise(function(n, r) {
		var i = new XMLHttpRequest,
			o = [],
			a = [],
			s = {},
			u = function() {
				return {
					ok: (i.status / 100 | 0) == 2,
					statusText: i.statusText,
					status: i.status,
					url: i.responseURL,
					text: function() {
						return Promise.resolve(i.responseText)
					},
					json: function() {
						return Promise.resolve(i.responseText).then(JSON.parse)
					},
					blob: function() {
						return Promise.resolve(new Blob([i.response]))
					},
					clone: u,
					headers: {
						keys: function() {
							return o
						},
						entries: function() {
							return a
						},
						get: function(c) {
							return s[c.toLowerCase()]
						},
						has: function(c) {
							return c.toLowerCase() in s
						}
					}
				}
			};
		for (var l in i.open(t.method || "get", e, !0), i.onload = function() {
				i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(c, d, p) {
					o.push(d = d.toLowerCase()), a.push([d, p]), s[d] = s[d] ? s[d] + "," + p : p
				}), n(u())
			}, i.onerror = r, i.withCredentials = t.credentials == "include", t.headers) i.setRequestHeader(l, t.headers[l]);
		i.send(t.body || null)
	})
}
var uO = function() {
		return typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" || typeof window < "u" ? window : null
	},
	D_ = function() {
		for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
		var n = uO();
		return (n && n.fetch || afe).apply(void 0, e)
	},
	$_ = "1.58.0",
	sU = "api.segment.io/v1",
	sfe = function(e, t, n) {
		var r = t.reduce(function(i, o) {
			var a = o.split(":"),
				s = a[0],
				u = a[1];
			return i[s] = u, i
		}, {});
		return {
			type: "Counter",
			metric: e,
			value: 1,
			tags: ve(ve({}, r), {
				library: "analytics.js",
				library_version: "npm:next-".concat($_)
			})
		}
	};

function KS(e) {
	console.error("Error sending segment performance metrics", e)
}
var ufe = function() {
		function e(t) {
			var n = this,
				r, i, o, a;
			if (this.host = (r = t == null ? void 0 : t.host) !== null && r !== void 0 ? r : sU, this.sampleRate = (i = t == null ? void 0 : t.sampleRate) !== null && i !== void 0 ? i : 1, this.flushTimer = (o = t == null ? void 0 : t.flushTimer) !== null && o !== void 0 ? o : 30 * 1e3, this.maxQueueSize = (a = t == null ? void 0 : t.maxQueueSize) !== null && a !== void 0 ? a : 20, this.queue = [], this.sampleRate > 0) {
				var s = !1,
					u = function() {
						s || (s = !0, n.flush().catch(KS), s = !1, setTimeout(u, n.flushTimer))
					};
				u()
			}
		}
		return e.prototype.increment = function(t, n) {
			if (t.includes("analytics_js.") && n.length !== 0 && !(Math.random() > this.sampleRate) && !(this.queue.length >= this.maxQueueSize)) {
				var r = sfe(t, n);
				this.queue.push(r), t.includes("error") && this.flush().catch(KS)
			}
		}, e.prototype.flush = function() {
			return ke(this, void 0, void 0, function() {
				var t = this;
				return Ae(this, function(n) {
					switch (n.label) {
						case 0:
							return this.queue.length <= 0 ? [2] : [4, this.send().catch(function(r) {
								KS(r), t.sampleRate = 0
							})];
						case 1:
							return n.sent(), [2]
					}
				})
			})
		}, e.prototype.send = function() {
			return ke(this, void 0, void 0, function() {
				var t, n, r;
				return Ae(this, function(i) {
					return t = {
						series: this.queue
					}, this.queue = [], n = {
						"Content-Type": "text/plain"
					}, r = "https://".concat(this.host, "/m"), [2, D_(r, {
						headers: n,
						body: JSON.stringify(t),
						method: "POST"
					})]
				})
			})
		}, e
	}(),
	vm, uU = function(e) {
		fa(t, e);

		function t() {
			return e !== null && e.apply(this, arguments) || this
		}
		return t.initRemoteMetrics = function(n) {
			vm = new ufe(n)
		}, t.prototype.increment = function(n, r, i) {
			e.prototype.increment.call(this, n, r, i), vm == null || vm.increment(n, i != null ? i : [])
		}, t
	}(aU),
	Jd = function(e) {
		fa(t, e);

		function t(n, r) {
			return e.call(this, n, r, new uU) || this
		}
		return t.system = function() {
			return new this({
				type: "track",
				event: "system"
			})
		}, t
	}(N2),
	lU = {
		exports: {}
	};
(function(e, t) {
	(function(n) {
		e.exports = n()
	})(function(n) {
		var r = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"];

		function i(y, w) {
			var b = y[0],
				E = y[1],
				T = y[2],
				O = y[3];
			b += (E & T | ~E & O) + w[0] - 680876936 | 0, b = (b << 7 | b >>> 25) + E | 0, O += (b & E | ~b & T) + w[1] - 389564586 | 0, O = (O << 12 | O >>> 20) + b | 0, T += (O & b | ~O & E) + w[2] + 606105819 | 0, T = (T << 17 | T >>> 15) + O | 0, E += (T & O | ~T & b) + w[3] - 1044525330 | 0, E = (E << 22 | E >>> 10) + T | 0, b += (E & T | ~E & O) + w[4] - 176418897 | 0, b = (b << 7 | b >>> 25) + E | 0, O += (b & E | ~b & T) + w[5] + 1200080426 | 0, O = (O << 12 | O >>> 20) + b | 0, T += (O & b | ~O & E) + w[6] - 1473231341 | 0, T = (T << 17 | T >>> 15) + O | 0, E += (T & O | ~T & b) + w[7] - 45705983 | 0, E = (E << 22 | E >>> 10) + T | 0, b += (E & T | ~E & O) + w[8] + 1770035416 | 0, b = (b << 7 | b >>> 25) + E | 0, O += (b & E | ~b & T) + w[9] - 1958414417 | 0, O = (O << 12 | O >>> 20) + b | 0, T += (O & b | ~O & E) + w[10] - 42063 | 0, T = (T << 17 | T >>> 15) + O | 0, E += (T & O | ~T & b) + w[11] - 1990404162 | 0, E = (E << 22 | E >>> 10) + T | 0, b += (E & T | ~E & O) + w[12] + 1804603682 | 0, b = (b << 7 | b >>> 25) + E | 0, O += (b & E | ~b & T) + w[13] - 40341101 | 0, O = (O << 12 | O >>> 20) + b | 0, T += (O & b | ~O & E) + w[14] - 1502002290 | 0, T = (T << 17 | T >>> 15) + O | 0, E += (T & O | ~T & b) + w[15] + 1236535329 | 0, E = (E << 22 | E >>> 10) + T | 0, b += (E & O | T & ~O) + w[1] - 165796510 | 0, b = (b << 5 | b >>> 27) + E | 0, O += (b & T | E & ~T) + w[6] - 1069501632 | 0, O = (O << 9 | O >>> 23) + b | 0, T += (O & E | b & ~E) + w[11] + 643717713 | 0, T = (T << 14 | T >>> 18) + O | 0, E += (T & b | O & ~b) + w[0] - 373897302 | 0, E = (E << 20 | E >>> 12) + T | 0, b += (E & O | T & ~O) + w[5] - 701558691 | 0, b = (b << 5 | b >>> 27) + E | 0, O += (b & T | E & ~T) + w[10] + 38016083 | 0, O = (O << 9 | O >>> 23) + b | 0, T += (O & E | b & ~E) + w[15] - 660478335 | 0, T = (T << 14 | T >>> 18) + O | 0, E += (T & b | O & ~b) + w[4] - 405537848 | 0, E = (E << 20 | E >>> 12) + T | 0, b += (E & O | T & ~O) + w[9] + 568446438 | 0, b = (b << 5 | b >>> 27) + E | 0, O += (b & T | E & ~T) + w[14] - 1019803690 | 0, O = (O << 9 | O >>> 23) + b | 0, T += (O & E | b & ~E) + w[3] - 187363961 | 0, T = (T << 14 | T >>> 18) + O | 0, E += (T & b | O & ~b) + w[8] + 1163531501 | 0, E = (E << 20 | E >>> 12) + T | 0, b += (E & O | T & ~O) + w[13] - 1444681467 | 0, b = (b << 5 | b >>> 27) + E | 0, O += (b & T | E & ~T) + w[2] - 51403784 | 0, O = (O << 9 | O >>> 23) + b | 0, T += (O & E | b & ~E) + w[7] + 1735328473 | 0, T = (T << 14 | T >>> 18) + O | 0, E += (T & b | O & ~b) + w[12] - 1926607734 | 0, E = (E << 20 | E >>> 12) + T | 0, b += (E ^ T ^ O) + w[5] - 378558 | 0, b = (b << 4 | b >>> 28) + E | 0, O += (b ^ E ^ T) + w[8] - 2022574463 | 0, O = (O << 11 | O >>> 21) + b | 0, T += (O ^ b ^ E) + w[11] + 1839030562 | 0, T = (T << 16 | T >>> 16) + O | 0, E += (T ^ O ^ b) + w[14] - 35309556 | 0, E = (E << 23 | E >>> 9) + T | 0, b += (E ^ T ^ O) + w[1] - 1530992060 | 0, b = (b << 4 | b >>> 28) + E | 0, O += (b ^ E ^ T) + w[4] + 1272893353 | 0, O = (O << 11 | O >>> 21) + b | 0, T += (O ^ b ^ E) + w[7] - 155497632 | 0, T = (T << 16 | T >>> 16) + O | 0, E += (T ^ O ^ b) + w[10] - 1094730640 | 0, E = (E << 23 | E >>> 9) + T | 0, b += (E ^ T ^ O) + w[13] + 681279174 | 0, b = (b << 4 | b >>> 28) + E | 0, O += (b ^ E ^ T) + w[0] - 358537222 | 0, O = (O << 11 | O >>> 21) + b | 0, T += (O ^ b ^ E) + w[3] - 722521979 | 0, T = (T << 16 | T >>> 16) + O | 0, E += (T ^ O ^ b) + w[6] + 76029189 | 0, E = (E << 23 | E >>> 9) + T | 0, b += (E ^ T ^ O) + w[9] - 640364487 | 0, b = (b << 4 | b >>> 28) + E | 0, O += (b ^ E ^ T) + w[12] - 421815835 | 0, O = (O << 11 | O >>> 21) + b | 0, T += (O ^ b ^ E) + w[15] + 530742520 | 0, T = (T << 16 | T >>> 16) + O | 0, E += (T ^ O ^ b) + w[2] - 995338651 | 0, E = (E << 23 | E >>> 9) + T | 0, b += (T ^ (E | ~O)) + w[0] - 198630844 | 0, b = (b << 6 | b >>> 26) + E | 0, O += (E ^ (b | ~T)) + w[7] + 1126891415 | 0, O = (O << 10 | O >>> 22) + b | 0, T += (b ^ (O | ~E)) + w[14] - 1416354905 | 0, T = (T << 15 | T >>> 17) + O | 0, E += (O ^ (T | ~b)) + w[5] - 57434055 | 0, E = (E << 21 | E >>> 11) + T | 0, b += (T ^ (E | ~O)) + w[12] + 1700485571 | 0, b = (b << 6 | b >>> 26) + E | 0, O += (E ^ (b | ~T)) + w[3] - 1894986606 | 0, O = (O << 10 | O >>> 22) + b | 0, T += (b ^ (O | ~E)) + w[10] - 1051523 | 0, T = (T << 15 | T >>> 17) + O | 0, E += (O ^ (T | ~b)) + w[1] - 2054922799 | 0, E = (E << 21 | E >>> 11) + T | 0, b += (T ^ (E | ~O)) + w[8] + 1873313359 | 0, b = (b << 6 | b >>> 26) + E | 0, O += (E ^ (b | ~T)) + w[15] - 30611744 | 0, O = (O << 10 | O >>> 22) + b | 0, T += (b ^ (O | ~E)) + w[6] - 1560198380 | 0, T = (T << 15 | T >>> 17) + O | 0, E += (O ^ (T | ~b)) + w[13] + 1309151649 | 0, E = (E << 21 | E >>> 11) + T | 0, b += (T ^ (E | ~O)) + w[4] - 145523070 | 0, b = (b << 6 | b >>> 26) + E | 0, O += (E ^ (b | ~T)) + w[11] - 1120210379 | 0, O = (O << 10 | O >>> 22) + b | 0, T += (b ^ (O | ~E)) + w[2] + 718787259 | 0, T = (T << 15 | T >>> 17) + O | 0, E += (O ^ (T | ~b)) + w[9] - 343485551 | 0, E = (E << 21 | E >>> 11) + T | 0, y[0] = b + y[0] | 0, y[1] = E + y[1] | 0, y[2] = T + y[2] | 0, y[3] = O + y[3] | 0
		}

		function o(y) {
			var w = [],
				b;
			for (b = 0; b < 64; b += 4) w[b >> 2] = y.charCodeAt(b) + (y.charCodeAt(b + 1) << 8) + (y.charCodeAt(b + 2) << 16) + (y.charCodeAt(b + 3) << 24);
			return w
		}

		function a(y) {
			var w = [],
				b;
			for (b = 0; b < 64; b += 4) w[b >> 2] = y[b] + (y[b + 1] << 8) + (y[b + 2] << 16) + (y[b + 3] << 24);
			return w
		}

		function s(y) {
			var w = y.length,
				b = [1732584193, -271733879, -1732584194, 271733878],
				E, T, O, R, k, M;
			for (E = 64; E <= w; E += 64) i(b, o(y.substring(E - 64, E)));
			for (y = y.substring(E - 64), T = y.length, O = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], E = 0; E < T; E += 1) O[E >> 2] |= y.charCodeAt(E) << (E % 4 << 3);
			if (O[E >> 2] |= 128 << (E % 4 << 3), E > 55)
				for (i(b, O), E = 0; E < 16; E += 1) O[E] = 0;
			return R = w * 8, R = R.toString(16).match(/(.*?)(.{0,8})$/), k = parseInt(R[2], 16), M = parseInt(R[1], 16) || 0, O[14] = k, O[15] = M, i(b, O), b
		}

		function u(y) {
			var w = y.length,
				b = [1732584193, -271733879, -1732584194, 271733878],
				E, T, O, R, k, M;
			for (E = 64; E <= w; E += 64) i(b, a(y.subarray(E - 64, E)));
			for (y = E - 64 < w ? y.subarray(E - 64) : new Uint8Array(0), T = y.length, O = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], E = 0; E < T; E += 1) O[E >> 2] |= y[E] << (E % 4 << 3);
			if (O[E >> 2] |= 128 << (E % 4 << 3), E > 55)
				for (i(b, O), E = 0; E < 16; E += 1) O[E] = 0;
			return R = w * 8, R = R.toString(16).match(/(.*?)(.{0,8})$/), k = parseInt(R[2], 16), M = parseInt(R[1], 16) || 0, O[14] = k, O[15] = M, i(b, O), b
		}

		function l(y) {
			var w = "",
				b;
			for (b = 0; b < 4; b += 1) w += r[y >> b * 8 + 4 & 15] + r[y >> b * 8 & 15];
			return w
		}

		function c(y) {
			var w;
			for (w = 0; w < y.length; w += 1) y[w] = l(y[w]);
			return y.join("")
		}
		c(s("hello")), typeof ArrayBuffer < "u" && !ArrayBuffer.prototype.slice && function() {
			function y(w, b) {
				return w = w | 0 || 0, w < 0 ? Math.max(w + b, 0) : Math.min(w, b)
			}
			ArrayBuffer.prototype.slice = function(w, b) {
				var E = this.byteLength,
					T = y(w, E),
					O = E,
					R, k, M, D;
				return b !== n && (O = y(b, E)), T > O ? new ArrayBuffer(0) : (R = O - T, k = new ArrayBuffer(R), M = new Uint8Array(k), D = new Uint8Array(this, T, R), M.set(D), k)
			}
		}();

		function d(y) {
			return /[\u0080-\uFFFF]/.test(y) && (y = unescape(encodeURIComponent(y))), y
		}

		function p(y, w) {
			var b = y.length,
				E = new ArrayBuffer(b),
				T = new Uint8Array(E),
				O;
			for (O = 0; O < b; O += 1) T[O] = y.charCodeAt(O);
			return w ? T : E
		}

		function g(y) {
			return String.fromCharCode.apply(null, new Uint8Array(y))
		}

		function m(y, w, b) {
			var E = new Uint8Array(y.byteLength + w.byteLength);
			return E.set(new Uint8Array(y)), E.set(new Uint8Array(w), y.byteLength), E
		}

		function _(y) {
			var w = [],
				b = y.length,
				E;
			for (E = 0; E < b - 1; E += 2) w.push(parseInt(y.substr(E, 2), 16));
			return String.fromCharCode.apply(String, w)
		}

		function S() {
			this.reset()
		}
		return S.prototype.append = function(y) {
			return this.appendBinary(d(y)), this
		}, S.prototype.appendBinary = function(y) {
			this._buff += y, this._length += y.length;
			var w = this._buff.length,
				b;
			for (b = 64; b <= w; b += 64) i(this._hash, o(this._buff.substring(b - 64, b)));
			return this._buff = this._buff.substring(b - 64), this
		}, S.prototype.end = function(y) {
			var w = this._buff,
				b = w.length,
				E, T = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
				O;
			for (E = 0; E < b; E += 1) T[E >> 2] |= w.charCodeAt(E) << (E % 4 << 3);
			return this._finish(T, b), O = c(this._hash), y && (O = _(O)), this.reset(), O
		}, S.prototype.reset = function() {
			return this._buff = "", this._length = 0, this._hash = [1732584193, -271733879, -1732584194, 271733878], this
		}, S.prototype.getState = function() {
			return {
				buff: this._buff,
				length: this._length,
				hash: this._hash.slice()
			}
		}, S.prototype.setState = function(y) {
			return this._buff = y.buff, this._length = y.length, this._hash = y.hash, this
		}, S.prototype.destroy = function() {
			delete this._hash, delete this._buff, delete this._length
		}, S.prototype._finish = function(y, w) {
			var b = w,
				E, T, O;
			if (y[b >> 2] |= 128 << (b % 4 << 3), b > 55)
				for (i(this._hash, y), b = 0; b < 16; b += 1) y[b] = 0;
			E = this._length * 8, E = E.toString(16).match(/(.*?)(.{0,8})$/), T = parseInt(E[2], 16), O = parseInt(E[1], 16) || 0, y[14] = T, y[15] = O, i(this._hash, y)
		}, S.hash = function(y, w) {
			return S.hashBinary(d(y), w)
		}, S.hashBinary = function(y, w) {
			var b = s(y),
				E = c(b);
			return w ? _(E) : E
		}, S.ArrayBuffer = function() {
			this.reset()
		}, S.ArrayBuffer.prototype.append = function(y) {
			var w = m(this._buff.buffer, y),
				b = w.length,
				E;
			for (this._length += y.byteLength, E = 64; E <= b; E += 64) i(this._hash, a(w.subarray(E - 64, E)));
			return this._buff = E - 64 < b ? new Uint8Array(w.buffer.slice(E - 64)) : new Uint8Array(0), this
		}, S.ArrayBuffer.prototype.end = function(y) {
			var w = this._buff,
				b = w.length,
				E = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
				T, O;
			for (T = 0; T < b; T += 1) E[T >> 2] |= w[T] << (T % 4 << 3);
			return this._finish(E, b), O = c(this._hash), y && (O = _(O)), this.reset(), O
		}, S.ArrayBuffer.prototype.reset = function() {
			return this._buff = new Uint8Array(0), this._length = 0, this._hash = [1732584193, -271733879, -1732584194, 271733878], this
		}, S.ArrayBuffer.prototype.getState = function() {
			var y = S.prototype.getState.call(this);
			return y.buff = g(y.buff), y
		}, S.ArrayBuffer.prototype.setState = function(y) {
			return y.buff = p(y.buff, !0), S.prototype.setState.call(this, y)
		}, S.ArrayBuffer.prototype.destroy = S.prototype.destroy, S.ArrayBuffer.prototype._finish = S.prototype._finish, S.ArrayBuffer.hash = function(y, w) {
			var b = u(new Uint8Array(y)),
				E = c(b);
			return w ? _(E) : E
		}, S
	})
})(lU);
var lfe = lU.exports;
const cfe = Et(lfe);
var cU = "bpc",
	fU = function(e, t, n, r, i, o) {
		return {
			__t: cU,
			c: t,
			p: r,
			u: e,
			s: n,
			t: i,
			r: o
		}
	},
	ffe = Object.keys(fU("", "", "", "", "", ""));

function dfe(e) {
	if (!Wo(e) || e.__t !== cU) return !1;
	for (var t in e)
		if (!ffe.includes(t)) return !1;
	return !0
}
var pfe = function(e, t) {
		return e.indexOf("?") > -1 ? e : e + t
	},
	hfe = function(e) {
		var t = e.indexOf("#");
		return t === -1 ? e : e.slice(0, t)
	},
	vfe = function(e) {
		try {
			return new URL(e).pathname
		} catch (t) {
			return e[0] === "/" ? e : "/" + e
		}
	},
	dU = function(e) {
		var t = e.c,
			n = e.p,
			r = e.s,
			i = e.u,
			o = e.r,
			a = e.t,
			s = t ? vfe(t) : n,
			u = t ? pfe(t, r) : hfe(i);
		return {
			path: s,
			referrer: o,
			search: r,
			title: a,
			url: u
		}
	},
	pU = function() {
		var e = document.querySelector("link[rel='canonical']");
		return fU(location.href, e && e.getAttribute("href") || void 0, location.search, location.pathname, document.title, document.referrer)
	},
	gfe = function() {
		return dU(pU())
	};

function mfe(e, t) {
	return Object.assign.apply(Object, Qn([{}], t.map(function(n) {
		var r;
		if (e && Object.prototype.hasOwnProperty.call(e, n)) return r = {}, r[n] = e[n], r
	}), !1))
}
var yfe = function(e, t) {
		t === void 0 && (t = gfe());
		var n = e.context,
			r;
		e.type === "page" && (r = e.properties && mfe(e.properties, Object.keys(t)), e.properties = ve(ve(ve({}, t), e.properties), e.name ? {
			name: e.name
		} : {})), n.page = ve(ve(ve({}, t), r), n.page)
	},
	wfe = function() {
		function e(t) {
			this.user = t
		}
		return e.prototype.track = function(t, n, r, i, o) {
			return this.normalize(ve(ve({}, this.baseEvent()), {
				event: t,
				type: "track",
				properties: n,
				options: ve({}, r),
				integrations: ve({}, i)
			}), o)
		}, e.prototype.page = function(t, n, r, i, o, a) {
			var s, u = {
				type: "page",
				properties: ve({}, r),
				options: ve({}, i),
				integrations: ve({}, o)
			};
			return t !== null && (u.category = t, u.properties = (s = u.properties) !== null && s !== void 0 ? s : {}, u.properties.category = t), n !== null && (u.name = n), this.normalize(ve(ve({}, this.baseEvent()), u), a)
		}, e.prototype.screen = function(t, n, r, i, o, a) {
			var s = {
				type: "screen",
				properties: ve({}, r),
				options: ve({}, i),
				integrations: ve({}, o)
			};
			return t !== null && (s.category = t), n !== null && (s.name = n), this.normalize(ve(ve({}, this.baseEvent()), s), a)
		}, e.prototype.identify = function(t, n, r, i, o) {
			return this.normalize(ve(ve({}, this.baseEvent()), {
				type: "identify",
				userId: t,
				traits: n,
				options: ve({}, r),
				integrations: ve({}, i)
			}), o)
		}, e.prototype.group = function(t, n, r, i, o) {
			return this.normalize(ve(ve({}, this.baseEvent()), {
				type: "group",
				traits: n,
				options: ve({}, r),
				integrations: ve({}, i),
				groupId: t
			}), o)
		}, e.prototype.alias = function(t, n, r, i, o) {
			var a = {
				userId: t,
				type: "alias",
				options: ve({}, r),
				integrations: ve({}, i)
			};
			return n !== null && (a.previousId = n), t === void 0 ? this.normalize(ve(ve({}, a), this.baseEvent())) : this.normalize(ve(ve({}, this.baseEvent()), a), o)
		}, e.prototype.baseEvent = function() {
			var t = {
					integrations: {},
					options: {}
				},
				n = this.user;
			return n.id() && (t.userId = n.id()), n.anonymousId() && (t.anonymousId = n.anonymousId()), t
		}, e.prototype.context = function(t) {
			var n, r, i, o = ["integrations", "anonymousId", "timestamp", "userId"],
				a = (n = t.options) !== null && n !== void 0 ? n : {};
			delete a.integrations;
			var s = Object.keys(a),
				u = (i = (r = t.options) === null || r === void 0 ? void 0 : r.context) !== null && i !== void 0 ? i : {},
				l = {};
			return s.forEach(function(c) {
				c !== "context" && (o.includes(c) ? L2(l, c, a[c]) : L2(u, c, a[c]))
			}), [u, l]
		}, e.prototype.normalize = function(t, n) {
			var r, i, o;
			!((r = t.options) === null || r === void 0) && r.anonymousId && this.user.anonymousId(t.options.anonymousId);
			var a = Object.keys((i = t.integrations) !== null && i !== void 0 ? i : {}).reduce(function(g, m) {
					var _, S;
					return ve(ve({}, g), (_ = {}, _[m] = !!(!((S = t.integrations) === null || S === void 0) && S[m]), _))
				}, {}),
				s = ve(ve({}, a), (o = t.options) === null || o === void 0 ? void 0 : o.integrations),
				u = this.context(t),
				l = u[0],
				c = u[1];
			t.options;
			var d = nU(t, ["options"]),
				p = ve(ve(ve(ve({
					timestamp: new Date
				}, d), {
					context: l,
					integrations: s
				}), c), {
					messageId: "ajs-next-" + cfe.hash(JSON.stringify(t) + aO())
				});
			return yfe(p, n), p
		}, e
	}(),
	Ua = {
		getItem: function() {},
		setItem: function() {},
		removeItem: function() {}
	};
try {
	Ua = sO() && window.localStorage ? window.localStorage : Ua
} catch (e) {
	console.warn("Unable to access localStorage", e)
}

function hU(e) {
	var t = Ua.getItem(e);
	return (t ? JSON.parse(t) : []).map(function(n) {
		return new Jd(n.event, n.id)
	})
}

function _fe(e, t) {
	var n = hU(e),
		r = Qn(Qn([], t, !0), n, !0),
		i = r.reduce(function(o, a) {
			var s;
			return ve(ve({}, o), (s = {}, s[a.id] = a, s))
		}, {});
	Ua.setItem(e, JSON.stringify(Object.values(i)))
}

function vU(e) {
	var t = Ua.getItem(e);
	return t ? JSON.parse(t) : {}
}

function bfe(e, t) {
	var n = vU(e);
	Ua.setItem(e, JSON.stringify(ve(ve({}, n), t)))
}

function aA(e) {
	Ua.removeItem(e)
}
var Sfe = function() {
	return new Date().getTime()
};

function AE(e, t, n) {
	n === void 0 && (n = 0);
	var r = 50,
		i = "persisted-queue:v1:".concat(e, ":lock"),
		o = function(l) {
			return new Date().getTime() > l
		},
		a = Ua.getItem(i),
		s = a ? JSON.parse(a) : null,
		u = s === null || o(s);
	if (u) {
		Ua.setItem(i, JSON.stringify(Sfe() + r)), t(), Ua.removeItem(i);
		return
	}!u && n < 3 ? setTimeout(function() {
		AE(e, t, n + 1)
	}, r) : console.error("Unable to retrieve lock")
}
var lO = function(e) {
		fa(t, e);

		function t(n, r) {
			var i = e.call(this, n, []) || this,
				o = "persisted-queue:v1:".concat(r, ":items"),
				a = "persisted-queue:v1:".concat(r, ":seen"),
				s = [],
				u = {};
			return AE(r, function() {
				try {
					s = hU(o), u = vU(a), aA(o), aA(a), i.queue = Qn(Qn([], s, !0), i.queue, !0), i.seen = ve(ve({}, u), i.seen)
				} catch (l) {
					console.error(l)
				}
			}), window.addEventListener("pagehide", function() {
				if (i.todo > 0) {
					var l = Qn(Qn([], i.queue, !0), i.future, !0);
					try {
						AE(r, function() {
							_fe(o, l), bfe(a, i.seen)
						})
					} catch (c) {
						console.error(c)
					}
				}
			}), i
		}
		return t
	}(oO),
	xfe = function(e) {
		fa(t, e);

		function t(n) {
			return e.call(this, typeof n == "string" ? new lO(4, n) : n) || this
		}
		return t.prototype.flush = function() {
			return ke(this, void 0, void 0, function() {
				return Ae(this, function(n) {
					return Tv() ? [2, []] : [2, e.prototype.flush.call(this)]
				})
			})
		}, t
	}(efe);

function cO(e) {
	for (var t = e.constructor.prototype, n = 0, r = Object.getOwnPropertyNames(t); n < r.length; n++) {
		var i = r[n];
		if (i !== "constructor") {
			var o = Object.getOwnPropertyDescriptor(e.constructor.prototype, i);
			o && typeof o.value == "function" && (e[i] = e[i].bind(e))
		}
	}
	return e
} /*! js-cookie v3.0.1 | MIT */
function gm(e) {
	for (var t = 1; t < arguments.length; t++) {
		var n = arguments[t];
		for (var r in n) e[r] = n[r]
	}
	return e
}
var Efe = {
	read: function(e) {
		return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent)
	},
	write: function(e) {
		return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent)
	}
};

function ME(e, t) {
	function n(i, o, a) {
		if (!(typeof document > "u")) {
			a = gm({}, t, a), typeof a.expires == "number" && (a.expires = new Date(Date.now() + a.expires * 864e5)), a.expires && (a.expires = a.expires.toUTCString()), i = encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
			var s = "";
			for (var u in a) a[u] && (s += "; " + u, a[u] !== !0 && (s += "=" + a[u].split(";")[0]));
			return document.cookie = i + "=" + e.write(o, i) + s
		}
	}

	function r(i) {
		if (!(typeof document > "u" || arguments.length && !i)) {
			for (var o = document.cookie ? document.cookie.split("; ") : [], a = {}, s = 0; s < o.length; s++) {
				var u = o[s].split("="),
					l = u.slice(1).join("=");
				try {
					var c = decodeURIComponent(u[0]);
					if (a[c] = e.read(l, c), i === c) break
				} catch (d) {}
			}
			return i ? a[i] : a
		}
	}
	return Object.create({
		set: n,
		get: r,
		remove: function(i, o) {
			n(i, "", gm({}, o, {
				expires: -1
			}))
		},
		withAttributes: function(i) {
			return ME(this.converter, gm({}, this.attributes, i))
		},
		withConverter: function(i) {
			return ME(gm({}, this.converter, i), this.attributes)
		}
	}, {
		attributes: {
			value: Object.freeze(t)
		},
		converter: {
			value: Object.freeze(e)
		}
	})
}
var Es = ME(Efe, {
	path: "/"
});

function Cfe(e) {
	var t = e.hostname,
		n = t.split("."),
		r = n[n.length - 1],
		i = [];
	if (n.length === 4 && parseInt(r, 10) > 0 || n.length <= 1) return i;
	for (var o = n.length - 2; o >= 0; --o) i.push(n.slice(o).join("."));
	return i
}

function Ofe(e) {
	try {
		return new URL(e)
	} catch (t) {
		return
	}
}

function gU(e) {
	var t = Ofe(e);
	if (t)
		for (var n = Cfe(t), r = 0; r < n.length; ++r) {
			var i = "__tld__",
				o = n[r],
				a = {
					domain: "." + o
				};
			try {
				if (Es.set(i, "1", a), Es.get(i)) return Es.remove(i, a), o
			} catch (s) {
				return
			}
		}
}
var Tfe = 365,
	mU = function() {
		function e(t) {
			t === void 0 && (t = e.defaults), this.options = ve(ve({}, e.defaults), t)
		}
		return Object.defineProperty(e, "defaults", {
			get: function() {
				return {
					maxage: Tfe,
					domain: gU(window.location.href),
					path: "/",
					sameSite: "Lax"
				}
			},
			enumerable: !1,
			configurable: !0
		}), e.prototype.opts = function() {
			return {
				sameSite: this.options.sameSite,
				expires: this.options.maxage,
				domain: this.options.domain,
				path: this.options.path,
				secure: this.options.secure
			}
		}, e.prototype.get = function(t) {
			var n;
			try {
				var r = Es.get(t);
				if (r == null) return null;
				try {
					return (n = JSON.parse(r)) !== null && n !== void 0 ? n : null
				} catch (i) {
					return r != null ? r : null
				}
			} catch (i) {
				return null
			}
		}, e.prototype.set = function(t, n) {
			typeof n == "string" ? Es.set(t, n, this.opts()) : n === null ? Es.remove(t, this.opts()) : Es.set(t, JSON.stringify(n), this.opts())
		}, e.prototype.remove = function(t) {
			return Es.remove(t, this.opts())
		}, e
	}(),
	Rfe = function() {
		function e() {}
		return e.prototype.localStorageWarning = function(t, n) {
			console.warn("Unable to access ".concat(t, ", localStorage may be ").concat(n))
		}, e.prototype.get = function(t) {
			var n;
			try {
				var r = localStorage.getItem(t);
				if (r === null) return null;
				try {
					return (n = JSON.parse(r)) !== null && n !== void 0 ? n : null
				} catch (i) {
					return r != null ? r : null
				}
			} catch (i) {
				return this.localStorageWarning(t, "unavailable"), null
			}
		}, e.prototype.set = function(t, n) {
			try {
				localStorage.setItem(t, JSON.stringify(n))
			} catch (r) {
				this.localStorageWarning(t, "full")
			}
		}, e.prototype.remove = function(t) {
			try {
				return localStorage.removeItem(t)
			} catch (n) {
				this.localStorageWarning(t, "unavailable")
			}
		}, e
	}(),
	fO = function() {
		function e() {
			this.cache = {}
		}
		return e.prototype.get = function(t) {
			var n;
			return (n = this.cache[t]) !== null && n !== void 0 ? n : null
		}, e.prototype.set = function(t, n) {
			this.cache[t] = n
		}, e.prototype.remove = function(t) {
			delete this.cache[t]
		}, e
	}(),
	di = {
		Cookie: "cookie",
		LocalStorage: "localStorage",
		Memory: "memory"
	};

function yU(e) {
	return e && e.stores && Array.isArray(e.stores) && e.stores.every(function(t) {
		return Object.values(di).includes(t)
	})
}

function Ife(e) {
	return typeof e == "object" && e.name !== void 0
}
var ZS = function(e, t, n, r) {
		console.warn("".concat(e.constructor.name, ": Can't ").concat(t, ' key "').concat(n, '" | Err: ').concat(r))
	},
	$c = function() {
		function e(t) {
			this.stores = t
		}
		return e.prototype.get = function(t) {
			for (var n = null, r = 0, i = this.stores; r < i.length; r++) {
				var o = i[r];
				try {
					if (n = o.get(t), n != null) return n
				} catch (a) {
					ZS(o, "get", t, a)
				}
			}
			return null
		}, e.prototype.set = function(t, n) {
			this.stores.forEach(function(r) {
				try {
					r.set(t, n)
				} catch (i) {
					ZS(r, "set", t, i)
				}
			})
		}, e.prototype.clear = function(t) {
			this.stores.forEach(function(n) {
				try {
					n.remove(t)
				} catch (r) {
					ZS(n, "remove", t, r)
				}
			})
		}, e.prototype.getAndSync = function(t) {
			var n = this.get(t),
				r = typeof n == "number" ? n.toString() : n;
			return this.set(t, r), r
		}, e
	}();

function PE(e) {
	var t = e.map(function(n) {
		var r, i;
		switch (Ife(n) ? (r = n.name, i = n.settings) : r = n, r) {
			case di.Cookie:
				return new mU(i);
			case di.LocalStorage:
				return new Rfe;
			case di.Memory:
				return new fO;
			default:
				throw new Error("Unknown Store Type: ".concat(n))
		}
	});
	return t
}

function wU(e, t) {
	return e.map(function(n) {
		return t && n === di.Cookie ? {
			name: n,
			settings: t
		} : n
	})
}
var ic = {
		persist: !0,
		cookie: {
			key: "ajs_user_id",
			oldKey: "ajs_user"
		},
		localStorage: {
			key: "ajs_user_traits"
		}
	},
	_U = function() {
		function e(t, n) {
			t === void 0 && (t = ic);
			var r = this,
				i, o, a, s;
			this.options = {}, this.id = function(l) {
				if (r.options.disable) return null;
				var c = r.identityStore.getAndSync(r.idKey);
				if (l !== void 0) {
					r.identityStore.set(r.idKey, l);
					var d = l !== c && c !== null && l !== null;
					d && r.anonymousId(null)
				}
				var p = r.identityStore.getAndSync(r.idKey);
				if (p) return p;
				var g = r.legacyUserStore.get(ic.cookie.oldKey);
				return g ? typeof g == "object" ? g.id : g : null
			}, this.anonymousId = function(l) {
				var c, d;
				if (r.options.disable) return null;
				if (l === void 0) {
					var p = (c = r.identityStore.getAndSync(r.anonKey)) !== null && c !== void 0 ? c : (d = r.legacySIO()) === null || d === void 0 ? void 0 : d[0];
					if (p) return p
				}
				return l === null ? (r.identityStore.set(r.anonKey, null), r.identityStore.getAndSync(r.anonKey)) : (r.identityStore.set(r.anonKey, l != null ? l : aO()), r.identityStore.getAndSync(r.anonKey))
			}, this.traits = function(l) {
				var c;
				if (!r.options.disable) return l === null && (l = {}), l && r.traitsStore.set(r.traitsKey, l != null ? l : {}), (c = r.traitsStore.get(r.traitsKey)) !== null && c !== void 0 ? c : {}
			}, this.options = ve(ve({}, ic), t), this.cookieOptions = n, this.idKey = (o = (i = t.cookie) === null || i === void 0 ? void 0 : i.key) !== null && o !== void 0 ? o : ic.cookie.key, this.traitsKey = (s = (a = t.localStorage) === null || a === void 0 ? void 0 : a.key) !== null && s !== void 0 ? s : ic.localStorage.key, this.anonKey = "ajs_anonymous_id", this.identityStore = this.createStorage(this.options, n), this.legacyUserStore = this.createStorage(this.options, n, function(l) {
				return l === di.Cookie
			}), this.traitsStore = this.createStorage(this.options, n, function(l) {
				return l !== di.Cookie
			});
			var u = this.legacyUserStore.get(ic.cookie.oldKey);
			u && typeof u == "object" && (u.id && this.id(u.id), u.traits && this.traits(u.traits)), cO(this)
		}
		return e.prototype.legacySIO = function() {
			var t = this.legacyUserStore.get("_sio");
			if (!t) return null;
			var n = t.split("----"),
				r = n[0],
				i = n[1];
			return [r, i]
		}, e.prototype.identify = function(t, n) {
			if (!this.options.disable) {
				n = n != null ? n : {};
				var r = this.id();
				(r === null || r === t) && (n = ve(ve({}, this.traits()), n)), t && this.id(t), this.traits(n)
			}
		}, e.prototype.logout = function() {
			this.anonymousId(null), this.id(null), this.traits({})
		}, e.prototype.reset = function() {
			this.logout(), this.identityStore.clear(this.idKey), this.identityStore.clear(this.anonKey), this.traitsStore.clear(this.traitsKey)
		}, e.prototype.load = function() {
			return new e(this.options, this.cookieOptions)
		}, e.prototype.save = function() {
			return !0
		}, e.prototype.createStorage = function(t, n, r) {
			var i = [di.LocalStorage, di.Cookie, di.Memory];
			return t.disable ? new $c([]) : t.persist ? (t.storage !== void 0 && t.storage !== null && yU(t.storage) && (i = t.storage.stores), t.localStorageFallbackDisabled && (i = i.filter(function(o) {
				return o !== di.LocalStorage
			})), r && (i = i.filter(r)), new $c(PE(wU(i, n)))) : new $c([new fO])
		}, e.defaults = ic, e
	}(),
	sA = {
		persist: !0,
		cookie: {
			key: "ajs_group_id"
		},
		localStorage: {
			key: "ajs_group_properties"
		}
	},
	kfe = function(e) {
		fa(t, e);

		function t(n, r) {
			n === void 0 && (n = sA);
			var i = e.call(this, ve(ve({}, sA), n), r) || this;
			return i.anonymousId = function(o) {}, cO(i), i
		}
		return t
	}(_U),
	dO = "analytics";

function pO() {
	return window[dO]
}

function Afe(e) {
	dO = e
}

function Mfe(e) {
	window[dO] = e
}
var Pfe = function(e) {
		return typeof e == "object" && e !== null && "then" in e && typeof e.then == "function"
	},
	bU = function(e, t, n) {
		n.getCalls(e).forEach(function(r) {
			hO(t, r).catch(console.error)
		})
	},
	Lfe = function(e, t) {
		return ke(void 0, void 0, void 0, function() {
			var n, r, i;
			return Ae(this, function(o) {
				switch (o.label) {
					case 0:
						n = 0, r = t.getCalls("addSourceMiddleware"), o.label = 1;
					case 1:
						return n < r.length ? (i = r[n], [4, hO(e, i).catch(console.error)]) : [3, 4];
					case 2:
						o.sent(), o.label = 3;
					case 3:
						return n++, [3, 1];
					case 4:
						return [2]
				}
			})
		})
	},
	Nfe = bU.bind(void 0, "on"),
	Dfe = bU.bind(void 0, "setAnonymousId"),
	$fe = function(e, t) {
		t.toArray().forEach(function(n) {
			setTimeout(function() {
				hO(e, n).catch(console.error)
			}, 0)
		})
	},
	od = function(e) {
		if (SU(e)) {
			var t = e.pop();
			return dU(t)
		}
	},
	SU = function(e) {
		var t = e[e.length - 1];
		return dfe(t)
	},
	LE = function() {
		function e(t, n, r, i) {
			r === void 0 && (r = function() {}), i === void 0 && (i = console.error), this.method = t, this.resolve = r, this.reject = i, this.called = !1, this.args = n
		}
		return e
	}(),
	Ffe = function() {
		function e() {
			for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n];
			this._callMap = {}, this.push.apply(this, t)
		}
		return Object.defineProperty(e.prototype, "calls", {
			get: function() {
				return this._pushSnippetWindowBuffer(), this._callMap
			},
			set: function(t) {
				this._callMap = t
			},
			enumerable: !1,
			configurable: !0
		}), e.prototype.getCalls = function(t) {
			var n;
			return (n = this.calls[t]) !== null && n !== void 0 ? n : []
		}, e.prototype.push = function() {
			for (var t = this, n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			n.forEach(function(i) {
				var o = ["track", "screen", "alias", "group", "page", "identify"];
				o.includes(i.method) && !SU(i.args) && (i.args = Qn(Qn([], i.args, !0), [pU()], !1)), t.calls[i.method] ? t.calls[i.method].push(i) : t.calls[i.method] = [i]
			})
		}, e.prototype.clear = function() {
			this._pushSnippetWindowBuffer(), this.calls = {}
		}, e.prototype.toArray = function() {
			var t;
			return (t = []).concat.apply(t, Object.values(this.calls))
		}, e.prototype._pushSnippetWindowBuffer = function() {
			var t = pO();
			if (Array.isArray(t)) {
				var n = t.splice(0, t.length),
					r = n.map(function(i) {
						var o = i[0],
							a = i.slice(1);
						return new LE(o, a)
					});
				this.push.apply(this, r)
			}
		}, e
	}();

function hO(e, t) {
	return ke(this, void 0, void 0, function() {
		var n, r;
		return Ae(this, function(i) {
			switch (i.label) {
				case 0:
					return i.trys.push([0, 3, , 4]), t.called ? [2, void 0] : (t.called = !0, n = e[t.method].apply(e, t.args), Pfe(n) ? [4, n] : [3, 2]);
				case 1:
					i.sent(), i.label = 2;
				case 2:
					return t.resolve(n), [3, 4];
				case 3:
					return r = i.sent(), t.reject(r), [3, 4];
				case 4:
					return [2]
			}
		})
	})
}
var jfe = function() {
		function e(t) {
			var n = this;
			this.trackSubmit = this._createMethod("trackSubmit"), this.trackClick = this._createMethod("trackClick"), this.trackLink = this._createMethod("trackLink"), this.pageView = this._createMethod("pageview"), this.identify = this._createMethod("identify"), this.reset = this._createMethod("reset"), this.group = this._createMethod("group"), this.track = this._createMethod("track"), this.ready = this._createMethod("ready"), this.alias = this._createMethod("alias"), this.debug = this._createChainableMethod("debug"), this.page = this._createMethod("page"), this.once = this._createChainableMethod("once"), this.off = this._createChainableMethod("off"), this.on = this._createChainableMethod("on"), this.addSourceMiddleware = this._createMethod("addSourceMiddleware"), this.setAnonymousId = this._createMethod("setAnonymousId"), this.addDestinationMiddleware = this._createMethod("addDestinationMiddleware"), this.screen = this._createMethod("screen"), this.register = this._createMethod("register"), this.deregister = this._createMethod("deregister"), this.user = this._createMethod("user"), this.VERSION = $_, this._preInitBuffer = new Ffe, this._promise = t(this._preInitBuffer), this._promise.then(function(r) {
				var i = r[0],
					o = r[1];
				n.instance = i, n.ctx = o
			}).catch(function() {})
		}
		return e.prototype.then = function() {
			for (var t, n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return (t = this._promise).then.apply(t, n)
		}, e.prototype.catch = function() {
			for (var t, n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return (t = this._promise).catch.apply(t, n)
		}, e.prototype.finally = function() {
			for (var t, n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return (t = this._promise).finally.apply(t, n)
		}, e.prototype._createMethod = function(t) {
			var n = this;
			return function() {
				for (var r, i = [], o = 0; o < arguments.length; o++) i[o] = arguments[o];
				if (n.instance) {
					var a = (r = n.instance)[t].apply(r, i);
					return Promise.resolve(a)
				}
				return new Promise(function(s, u) {
					n._preInitBuffer.push(new LE(t, i, s, u))
				})
			}
		}, e.prototype._createChainableMethod = function(t) {
			var n = this;
			return function() {
				for (var r, i = [], o = 0; o < arguments.length; o++) i[o] = arguments[o];
				return n.instance ? ((r = n.instance)[t].apply(r, i), n) : (n._preInitBuffer.push(new LE(t, i)), n)
			}
		}, e
	}(),
	Cu = "This is being deprecated and will be not be available in future releases of Analytics JS",
	qS = uO(),
	YS = qS == null ? void 0 : qS.analytics;

function Ufe(e, t, n) {
	t === void 0 && (t = !1), n === void 0 && (n = !1);
	var r = t ? 4 : 1,
		i = n ? new oO(r, []) : new lO(r, e);
	return new xfe(i)
}

function Sa() {
	console.warn(Cu)
}
var Hfe = function(e) {
		fa(t, e);

		function t(n, r, i, o, a) {
			var s = this,
				u, l, c;
			s = e.call(this) || this, s._debug = !1, s.initialized = !1, s.user = function() {
				return s._user
			}, s.init = s.initialize.bind(s), s.log = Sa, s.addIntegrationMiddleware = Sa, s.listeners = Sa, s.addEventListener = Sa, s.removeAllListeners = Sa, s.removeListener = Sa, s.removeEventListener = Sa, s.hasListeners = Sa, s.add = Sa, s.addIntegration = Sa;
			var d = r == null ? void 0 : r.cookie,
				p = (u = r == null ? void 0 : r.disableClientPersistence) !== null && u !== void 0 ? u : !1;
			s.settings = n, s.settings.timeout = (l = s.settings.timeout) !== null && l !== void 0 ? l : 300, s.queue = i != null ? i : Ufe("".concat(n.writeKey, ":event-queue"), r == null ? void 0 : r.retryQueue, p);
			var g = r == null ? void 0 : r.storage;
			return s._universalStorage = s.createStore(p, g, d), s._user = o != null ? o : new _U(ve({
				persist: !p,
				storage: r == null ? void 0 : r.storage
			}, r == null ? void 0 : r.user), d).load(), s._group = a != null ? a : new kfe(ve({
				persist: !p,
				storage: r == null ? void 0 : r.storage
			}, r == null ? void 0 : r.group), d).load(), s.eventFactory = new wfe(s._user), s.integrations = (c = r == null ? void 0 : r.integrations) !== null && c !== void 0 ? c : {}, s.options = r != null ? r : {}, cO(s), s
		}
		return t.prototype.createStore = function(n, r, i) {
			return n ? new $c([new fO]) : r && yU(r) ? new $c(PE(wU(r.stores, i))) : new $c(PE([di.LocalStorage, {
				name: di.Cookie,
				settings: i
			}, di.Memory]))
		}, Object.defineProperty(t.prototype, "storage", {
			get: function() {
				return this._universalStorage
			},
			enumerable: !1,
			configurable: !0
		}), t.prototype.track = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o, a, s, u, l, c, d = this;
				return Ae(this, function(p) {
					return i = od(n), o = rfe.apply(void 0, n), a = o[0], s = o[1], u = o[2], l = o[3], c = this.eventFactory.track(a, s, u, this.integrations, i), [2, this._dispatch(c, l).then(function(g) {
						return d.emit("track", a, g.event.properties, g.event.options), g
					})]
				})
			})
		}, t.prototype.page = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o, a, s, u, l, c, d, p = this;
				return Ae(this, function(g) {
					return i = od(n), o = iA.apply(void 0, n), a = o[0], s = o[1], u = o[2], l = o[3], c = o[4], d = this.eventFactory.page(a, s, u, l, this.integrations, i), [2, this._dispatch(d, c).then(function(m) {
						return p.emit("page", a, s, m.event.properties, m.event.options), m
					})]
				})
			})
		}, t.prototype.identify = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o, a, s, u, l, c, d = this;
				return Ae(this, function(p) {
					return i = od(n), o = oA(this._user).apply(void 0, n), a = o[0], s = o[1], u = o[2], l = o[3], this._user.identify(a, s), c = this.eventFactory.identify(this._user.id(), this._user.traits(), u, this.integrations, i), [2, this._dispatch(c, l).then(function(g) {
						return d.emit("identify", g.event.userId, g.event.traits, g.event.options), g
					})]
				})
			})
		}, t.prototype.group = function() {
			for (var n = this, r = [], i = 0; i < arguments.length; i++) r[i] = arguments[i];
			var o = od(r);
			if (r.length === 0) return this._group;
			var a = oA(this._group).apply(void 0, r),
				s = a[0],
				u = a[1],
				l = a[2],
				c = a[3];
			this._group.identify(s, u);
			var d = this._group.id(),
				p = this._group.traits(),
				g = this.eventFactory.group(d, p, l, this.integrations, o);
			return this._dispatch(g, c).then(function(m) {
				return n.emit("group", m.event.groupId, m.event.traits, m.event.options), m
			})
		}, t.prototype.alias = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o, a, s, u, l, c, d = this;
				return Ae(this, function(p) {
					return i = od(n), o = ife.apply(void 0, n), a = o[0], s = o[1], u = o[2], l = o[3], c = this.eventFactory.alias(a, s, u, this.integrations, i), [2, this._dispatch(c, l).then(function(g) {
						return d.emit("alias", a, s, g.event.options), g
					})]
				})
			})
		}, t.prototype.screen = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o, a, s, u, l, c, d, p = this;
				return Ae(this, function(g) {
					return i = od(n), o = iA.apply(void 0, n), a = o[0], s = o[1], u = o[2], l = o[3], c = o[4], d = this.eventFactory.screen(a, s, u, l, this.integrations, i), [2, this._dispatch(d, c).then(function(m) {
						return p.emit("screen", a, s, m.event.properties, m.event.options), m
					})]
				})
			})
		}, t.prototype.trackClick = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o;
				return Ae(this, function(a) {
					switch (a.label) {
						case 0:
							return [4, Re(() => import("https://platform.openai.com/BilW6I3O96.js"), [])];
						case 1:
							return i = a.sent(), [2, (o = i.link).call.apply(o, Qn([this], n, !1))]
					}
				})
			})
		}, t.prototype.trackLink = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o;
				return Ae(this, function(a) {
					switch (a.label) {
						case 0:
							return [4, Re(() => import("https://platform.openai.com/BilW6I3O96.js"), [])];
						case 1:
							return i = a.sent(), [2, (o = i.link).call.apply(o, Qn([this], n, !1))]
					}
				})
			})
		}, t.prototype.trackSubmit = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o;
				return Ae(this, function(a) {
					switch (a.label) {
						case 0:
							return [4, Re(() => import("https://platform.openai.com/BilW6I3O96.js"), [])];
						case 1:
							return i = a.sent(), [2, (o = i.form).call.apply(o, Qn([this], n, !1))]
					}
				})
			})
		}, t.prototype.trackForm = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o;
				return Ae(this, function(a) {
					switch (a.label) {
						case 0:
							return [4, Re(() => import("https://platform.openai.com/BilW6I3O96.js"), [])];
						case 1:
							return i = a.sent(), [2, (o = i.form).call.apply(o, Qn([this], n, !1))]
					}
				})
			})
		}, t.prototype.register = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o, a = this;
				return Ae(this, function(s) {
					switch (s.label) {
						case 0:
							return i = Jd.system(), o = n.map(function(u) {
								return a.queue.register(i, u, a)
							}), [4, Promise.all(o)];
						case 1:
							return s.sent(), [2, i]
					}
				})
			})
		}, t.prototype.deregister = function() {
			for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
			return ke(this, void 0, void 0, function() {
				var i, o, a = this;
				return Ae(this, function(s) {
					switch (s.label) {
						case 0:
							return i = Jd.system(), o = n.map(function(u) {
								var l = a.queue.plugins.find(function(c) {
									return c.name === u
								});
								if (l) return a.queue.deregister(i, l, a);
								i.log("warn", "plugin ".concat(u, " not found"))
							}), [4, Promise.all(o)];
						case 1:
							return s.sent(), [2, i]
					}
				})
			})
		}, t.prototype.debug = function(n) {
			return n === !1 && localStorage.getItem("debug") && localStorage.removeItem("debug"), this._debug = n, this
		}, t.prototype.reset = function() {
			this._user.reset(), this._group.reset(), this.emit("reset")
		}, t.prototype.timeout = function(n) {
			this.settings.timeout = n
		}, t.prototype._dispatch = function(n, r) {
			return ke(this, void 0, void 0, function() {
				var i;
				return Ae(this, function(o) {
					return i = new Jd(n), Tv() && !this.options.retryQueue ? [2, i] : [2, nfe(i, this.queue, this, {
						callback: r,
						debug: this._debug,
						timeout: this.settings.timeout
					})]
				})
			})
		}, t.prototype.addSourceMiddleware = function(n) {
			return ke(this, void 0, void 0, function() {
				var r = this;
				return Ae(this, function(i) {
					switch (i.label) {
						case 0:
							return [4, this.queue.criticalTasks.run(function() {
								return ke(r, void 0, void 0, function() {
									var o, a, s;
									return Ae(this, function(u) {
										switch (u.label) {
											case 0:
												return [4, Re(() => Promise.resolve().then(() => Bde), void 0)];
											case 1:
												return o = u.sent().sourceMiddlewarePlugin, a = {}, this.queue.plugins.forEach(function(l) {
													if (l.type === "destination") return a[l.name] = !0
												}), s = o(n, a), [4, this.register(s)];
											case 2:
												return u.sent(), [2]
										}
									})
								})
							})];
						case 1:
							return i.sent(), [2, this]
					}
				})
			})
		}, t.prototype.addDestinationMiddleware = function(n) {
			for (var r = [], i = 1; i < arguments.length; i++) r[i - 1] = arguments[i];
			var o = this.queue.plugins.filter(function(a) {
				return a.name.toLowerCase() === n.toLowerCase()
			});
			return o.forEach(function(a) {
				a.addMiddleware.apply(a, r)
			}), Promise.resolve(this)
		}, t.prototype.setAnonymousId = function(n) {
			return this._user.anonymousId(n)
		}, t.prototype.queryString = function(n) {
			return ke(this, void 0, void 0, function() {
				var r;
				return Ae(this, function(i) {
					switch (i.label) {
						case 0:
							return this.options.useQueryString === !1 ? [2, []] : [4, Re(() => import("https://platform.openai.com/BJX_489_bf.js"), [])];
						case 1:
							return r = i.sent().queryString, [2, r(this, n)]
					}
				})
			})
		}, t.prototype.use = function(n) {
			return n(this), this
		}, t.prototype.ready = function(n) {
			return n === void 0 && (n = function(r) {
				return r
			}), ke(this, void 0, void 0, function() {
				return Ae(this, function(r) {
					return [2, Promise.all(this.queue.plugins.map(function(i) {
						return i.ready ? i.ready() : Promise.resolve()
					})).then(function(i) {
						return n(i), i
					})]
				})
			})
		}, t.prototype.noConflict = function() {
			return console.warn(Cu), Mfe(YS != null ? YS : this), this
		}, t.prototype.normalize = function(n) {
			return console.warn(Cu), this.eventFactory.normalize(n)
		}, Object.defineProperty(t.prototype, "failedInitializations", {
			get: function() {
				return console.warn(Cu), this.queue.failedInitializations
			},
			enumerable: !1,
			configurable: !0
		}), Object.defineProperty(t.prototype, "VERSION", {
			get: function() {
				return $_
			},
			enumerable: !1,
			configurable: !0
		}), t.prototype.initialize = function(n, r) {
			return ke(this, void 0, void 0, function() {
				return Ae(this, function(i) {
					return console.warn(Cu), [2, Promise.resolve(this)]
				})
			})
		}, t.prototype.pageview = function(n) {
			return ke(this, void 0, void 0, function() {
				return Ae(this, function(r) {
					switch (r.label) {
						case 0:
							return console.warn(Cu), [4, this.page({
								path: n
							})];
						case 1:
							return r.sent(), [2, this]
					}
				})
			})
		}, Object.defineProperty(t.prototype, "plugins", {
			get: function() {
				var n;
				return console.warn(Cu), (n = this._plugins) !== null && n !== void 0 ? n : {}
			},
			enumerable: !1,
			configurable: !0
		}), Object.defineProperty(t.prototype, "Integrations", {
			get: function() {
				console.warn(Cu);
				var n = this.queue.plugins.filter(function(r) {
					return r.type === "destination"
				}).reduce(function(r, i) {
					var o = "".concat(i.name.toLowerCase().replace(".", "").split(" ").join("-"), "Integration"),
						a = window[o];
					if (!a) return r;
					var s = a.Integration;
					return s ? (r[i.name] = s, r) : (r[i.name] = a, r)
				}, {});
				return n
			},
			enumerable: !1,
			configurable: !0
		}), t.prototype.push = function(n) {
			var r = this,
				i = n.shift();
			i && !r[i] || r[i].apply(this, n)
		}, t
	}(rO),
	uA = {};

function xU() {
	return typeof process > "u" || !uA ? {} : uA
}
var Vfe = /(https:\/\/.*)\/analytics\.js\/v1\/(?:.*?)\/(?:platform|analytics.*)?/,
	Bfe = function() {
		var e, t = Array.prototype.slice.call(document.querySelectorAll("script"));
		return t.forEach(function(n) {
			var r, i = (r = n.getAttribute("src")) !== null && r !== void 0 ? r : "",
				o = Vfe.exec(i);
			o && o[1] && (e = o[1])
		}), e
	},
	$y, zfe = function() {
		var e, t = $y != null ? $y : (e = pO()) === null || e === void 0 ? void 0 : e._cdn;
		return t
	},
	Gfe = function(e) {
		var t = pO();
		t && (t._cdn = e), $y = e
	},
	vO = function() {
		var e = zfe();
		if (e) return e;
		var t = Bfe();
		return t || "https://cdn.segment.com"
	},
	Cot = function() {
		var e = vO();
		return "".concat(e, "/next-integrations")
	};

function Wfe(e, t) {
	var n, r = Object.entries((n = t.integrations) !== null && n !== void 0 ? n : {}).reduce(function(i, o) {
		var a, s, u = o[0],
			l = o[1];
		return typeof l == "object" ? ve(ve({}, i), (a = {}, a[u] = l, a)) : ve(ve({}, i), (s = {}, s[u] = {}, s))
	}, {});
	return Object.entries(e.integrations).reduce(function(i, o) {
		var a, s = o[0],
			u = o[1];
		return ve(ve({}, i), (a = {}, a[s] = ve(ve({}, u), r[s]), a))
	}, {})
}
var Kfe = function() {
	var e, t, n = new Promise(function(r, i) {
		e = r, t = i
	});
	return {
		resolve: e,
		reject: t,
		promise: n
	}
};

function Zfe(e) {
	try {
		return decodeURIComponent(e.replace(/\+/g, " "))
	} catch (t) {
		return e
	}
}

function qfe(e) {
	return ke(this, void 0, void 0, function() {
		var t;
		return Ae(this, function(n) {
			return t = navigator.userAgentData, t ? e ? [2, t.getHighEntropyValues(e).catch(function() {
				return t.toJSON()
			})] : [2, t.toJSON()] : [2, void 0]
		})
	})
}
var h0;

function Yfe() {
	if (h0) return h0;
	var e = gU(window.location.href);
	return h0 = {
		expires: 31536e6,
		secure: !1,
		path: "/"
	}, e && (h0.domain = e), h0
}

function Xfe(e) {
	var t = {
		btid: "dataxu",
		urid: "millennial-media"
	};
	e.startsWith("?") && (e = e.substring(1)), e = e.replace(/\?/g, "&");
	for (var n = e.split("&"), r = 0, i = n; r < i.length; r++) {
		var o = i[r],
			a = o.split("="),
			s = a[0],
			u = a[1];
		if (t[s]) return {
			id: u,
			type: t[s]
		}
	}
}

function Jfe(e) {
	return e.startsWith("?") && (e = e.substring(1)), e = e.replace(/\?/g, "&"), e.split("&").reduce(function(t, n) {
		var r = n.split("="),
			i = r[0],
			o = r[1],
			a = o === void 0 ? "" : o;
		if (i.includes("utm_") && i.length > 4) {
			var s = i.slice(4);
			s === "campaign" && (s = "name"), t[s] = Zfe(a)
		}
		return t
	}, {})
}

function Qfe() {
	var e = Es.get("_ga");
	if (e && e.startsWith("amp")) return e
}

function ede(e, t, n) {
	var r, i = new $c(n ? [] : [new mU(Yfe())]),
		o = i.get("s:context.referrer"),
		a = (r = Xfe(e)) !== null && r !== void 0 ? r : o;
	a && (t && (t.referrer = ve(ve({}, t.referrer), a)), i.set("s:context.referrer", a))
}
var tde = function(e) {
		try {
			var t = new URLSearchParams;
			return Object.entries(e).forEach(function(n) {
				var r = n[0],
					i = n[1];
				Array.isArray(i) ? i.forEach(function(o) {
					return t.append(r, o)
				}) : t.append(r, i)
			}), t.toString()
		} catch (n) {
			return ""
		}
	},
	nde = function() {
		function e() {
			var t = this;
			this.name = "Page Enrichment", this.type = "before", this.version = "0.1.0", this.isLoaded = function() {
				return !0
			}, this.load = function(n, r) {
				return ke(t, void 0, void 0, function() {
					var i;
					return Ae(this, function(o) {
						switch (o.label) {
							case 0:
								this.instance = r, o.label = 1;
							case 1:
								return o.trys.push([1, 3, , 4]), i = this, [4, qfe(this.instance.options.highEntropyValuesClientHints)];
							case 2:
								return i.userAgentData = o.sent(), [3, 4];
							case 3:
								return o.sent(), [3, 4];
							case 4:
								return [2, Promise.resolve()]
						}
					})
				})
			}, this.enrich = function(n) {
				var r, i, o = n.event.context,
					a = o.page.search || "",
					s = typeof a == "object" ? tde(a) : a;
				o.userAgent = navigator.userAgent, o.userAgentData = t.userAgentData;
				var u = navigator.userLanguage || navigator.language;
				typeof o.locale > "u" && typeof u < "u" && (o.locale = u), (r = o.library) !== null && r !== void 0 || (o.library = {
					name: "analytics.js",
					version: "".concat("npm:next", "-").concat($_)
				}), s && !o.campaign && (o.campaign = Jfe(s));
				var l = Qfe();
				l && (o.amp = {
					id: l
				}), ede(s, o, (i = t.instance.options.disableClientPersistence) !== null && i !== void 0 ? i : !1);
				try {
					o.timezone = Intl.DateTimeFormat().resolvedOptions().timeZone
				} catch (c) {}
				return n
			}, this.track = this.enrich, this.identify = this.enrich, this.page = this.enrich, this.group = this.enrich, this.alias = this.enrich, this.screen = this.enrich
		}
		return e
	}(),
	rde = new nde;

function EU(e) {
	var t = Array.prototype.slice.call(window.document.querySelectorAll("script"));
	return t.find(function(n) {
		return n.src === e
	})
}

function XS(e, t) {
	var n = EU(e);
	if (n !== void 0) {
		var r = n == null ? void 0 : n.getAttribute("status");
		if (r === "loaded") return Promise.resolve(n);
		if (r === "loading") return new Promise(function(i, o) {
			n.addEventListener("load", function() {
				return i(n)
			}), n.addEventListener("error", function(a) {
				return o(a)
			})
		})
	}
	return new Promise(function(i, o) {
		var a, s = window.document.createElement("script");
		s.type = "text/javascript", s.src = e, s.async = !0, s.setAttribute("status", "loading");
		for (var u = 0, l = Object.entries({}); u < l.length; u++) {
			var c = l[u],
				d = c[0],
				p = c[1];
			s.setAttribute(d, p)
		}
		s.onload = function() {
			s.onerror = s.onload = null, s.setAttribute("status", "loaded"), i(s)
		}, s.onerror = function() {
			s.onerror = s.onload = null, s.setAttribute("status", "error"), o(new Error("Failed to load ".concat(e)))
		};
		var g = window.document.getElementsByTagName("script")[0];
		(a = g.parentElement) === null || a === void 0 || a.insertBefore(s, g)
	})
}

function Oot(e) {
	var t = EU(e);
	return t !== void 0 && t.remove(), Promise.resolve()
}
var Ou = {},
	Xa = {},
	gO = {},
	CU = {
		exports: {}
	};
(function(e) {
	e.exports = t(n), e.exports.find = e.exports, e.exports.replace = function(s, u, l, c) {
		return t(i).call(this, s, u, l, c), s
	}, e.exports.del = function(s, u, l) {
		return t(r).call(this, s, u, null, l), s
	};

	function t(s) {
		return function(u, l, c, d) {
			var p = d && a(d.normalizer) ? d.normalizer : o;
			l = p(l);
			for (var g, m = !1; !m;) _();

			function _() {
				for (g in u) {
					var S = p(g);
					if (l.indexOf(S) === 0) {
						var y = l.substr(S.length);
						if (y.charAt(0) === "." || y.length === 0) {
							l = y.substr(1);
							var w = u[g];
							if (w == null) {
								m = !0;
								return
							}
							if (!l.length) {
								m = !0;
								return
							}
							u = w;
							return
						}
					}
				}
				g = void 0, m = !0
			}
			if (g) return u == null ? u : s(u, g, c)
		}
	}

	function n(s, u) {
		if (s.hasOwnProperty(u)) return s[u]
	}

	function r(s, u) {
		return s.hasOwnProperty(u) && delete s[u], s
	}

	function i(s, u, l) {
		return s.hasOwnProperty(u) && (s[u] = l), s
	}

	function o(s) {
		return s.replace(/[^a-zA-Z0-9\.]+/g, "").toLowerCase()
	}

	function a(s) {
		return typeof s == "function"
	}
})(CU);
var F_ = CU.exports,
	ide = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(gO, "__esModule", {
	value: !0
});
var mu = ide(F_);

function ad(e, t) {
	return function() {
		var n = this.traits(),
			r = this.properties ? this.properties() : {};
		return mu.default(n, "address." + e) || mu.default(n, e) || (t ? mu.default(n, "address." + t) : null) || (t ? mu.default(n, t) : null) || mu.default(r, "address." + e) || mu.default(r, e) || (t ? mu.default(r, "address." + t) : null) || (t ? mu.default(r, t) : null)
	}
}

function ode(e) {
	e.zip = ad("postalCode", "zip"), e.country = ad("country"), e.street = ad("street"), e.state = ad("state"), e.city = ad("city"), e.region = ad("region")
}
gO.default = ode;
var j_ = {};
Object.defineProperty(j_, "__esModule", {
	value: !0
});
j_.clone = void 0;

function NE(e) {
	if (typeof e != "object") return e;
	if (Object.prototype.toString.call(e) === "[object Object]") {
		var t = {};
		for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = NE(e[n]));
		return t
	} else return Array.isArray(e) ? e.map(NE) : e
}
j_.clone = NE;
var mO = {};
Object.defineProperty(mO, "__esModule", {
	value: !0
});
var ade = {
	Salesforce: !0
};

function sde(e) {
	return !ade[e]
}
mO.default = sde;
var U_ = {},
	OU = /^(\d{4})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:([ T])(\d{2}):?(\d{2})(?::?(\d{2})(?:[,\.](\d{1,}))?)?(?:(Z)|([+\-])(\d{2})(?::?(\d{2}))?)?)?$/;
U_.parse = function(e) {
	var t = [1, 5, 6, 7, 11, 12],
		n = OU.exec(e),
		r = 0;
	if (!n) return new Date(e);
	for (var i = 0, o; o = t[i]; i++) n[o] = parseInt(n[o], 10) || 0;
	n[2] = parseInt(n[2], 10) || 1, n[3] = parseInt(n[3], 10) || 1, n[2]--, n[8] = n[8] ? (n[8] + "00").substring(0, 3) : 0, n[4] === " " ? r = new Date().getTimezoneOffset() : n[9] !== "Z" && n[10] && (r = n[11] * 60 + n[12], n[10] === "+" && (r = 0 - r));
	var a = Date.UTC(n[1], n[2], n[3], n[5], n[6] + r, n[7], n[8]);
	return new Date(a)
};
U_.is = function(e, t) {
	return typeof e != "string" || t && /^\d{4}-\d{2}-\d{2}/.test(e) === !1 ? !1 : OU.test(e)
};
var yO = {},
	ude = /\d{13}/;
yO.is = function(e) {
	return ude.test(e)
};
yO.parse = function(e) {
	return e = parseInt(e, 10), new Date(e)
};
var wO = {},
	lde = /\d{10}/;
wO.is = function(e) {
	return lde.test(e)
};
wO.parse = function(e) {
	var t = parseInt(e, 10) * 1e3;
	return new Date(t)
};
var lA = U_,
	cA = yO,
	fA = wO,
	cde = Object.prototype,
	TU = cde.toString;

function fde(e) {
	return TU.call(e) === "[object Date]"
}

function dde(e) {
	return TU.call(e) === "[object Number]"
}
var _O = function(t) {
	return fde(t) ? t : dde(t) ? new Date(pde(t)) : lA.is(t) ? lA.parse(t) : cA.is(t) ? cA.parse(t) : fA.is(t) ? fA.parse(t) : new Date(t)
};

function pde(e) {
	return e < 315576e5 ? e * 1e3 : e
}
var dA = U_,
	hde = bO;

function bO(e, t) {
	return t === void 0 && (t = !0), e && typeof e == "object" ? vde(e, t) : Array.isArray(e) ? gde(e, t) : dA.is(e, t) ? dA.parse(e) : e
}

function vde(e, t) {
	return Object.keys(e).forEach(function(n) {
		e[n] = bO(e[n], t)
	}), e
}

function gde(e, t) {
	return e.forEach(function(n, r) {
		e[r] = bO(n, t)
	}), e
}
var T1 = me && me.__importDefault || function(e) {
	return e && e.__esModule ? e : {
		default: e
	}
};
Object.defineProperty(Xa, "__esModule", {
	value: !0
});
Xa.Facade = void 0;
var mde = T1(gO),
	Op = j_,
	yde = T1(mO),
	wde = T1(_O),
	DE = T1(F_),
	_de = T1(hde);

function Wi(e, t) {
	t = t || {}, this.raw = Op.clone(e), "clone" in t || (t.clone = !0), t.clone && (e = Op.clone(e)), "traverse" in t || (t.traverse = !0), "timestamp" in e ? e.timestamp = wde.default(e.timestamp) : e.timestamp = new Date, t.traverse && _de.default(e), this.opts = t, this.obj = e
}
Xa.Facade = Wi;
var sn = Wi.prototype;
sn.proxy = function(e) {
	var t = e.split(".");
	e = t.shift();
	var n = this[e] || this.obj[e];
	return n && (typeof n == "function" && (n = n.call(this) || {}), t.length === 0 ? this.opts.clone ? $E(n) : n : (n = DE.default(n, t.join(".")), this.opts.clone ? $E(n) : n))
};
sn.field = function(e) {
	var t = this.obj[e];
	return this.opts.clone ? $E(t) : t
};
Wi.proxy = function(e) {
	return function() {
		return this.proxy(e)
	}
};
Wi.field = function(e) {
	return function() {
		return this.field(e)
	}
};
Wi.multi = function(e) {
	return function() {
		var t = this.proxy(e + "s");
		if (Array.isArray(t)) return t;
		var n = this.proxy(e);
		return n && (n = [this.opts.clone ? Op.clone(n) : n]), n || []
	}
};
Wi.one = function(e) {
	return function() {
		var t = this.proxy(e);
		if (t) return t;
		var n = this.proxy(e + "s");
		if (Array.isArray(n)) return n[0]
	}
};
sn.json = function() {
	var e = this.opts.clone ? Op.clone(this.obj) : this.obj;
	return this.type && (e.type = this.type()), e
};
sn.rawEvent = function() {
	return this.raw
};
sn.options = function(e) {
	var t = this.obj.options || this.obj.context || {},
		n = this.opts.clone ? Op.clone(t) : t;
	if (!e) return n;
	if (this.enabled(e)) {
		var r = this.integrations(),
			i = r[e] || DE.default(r, e);
		return typeof i != "object" && (i = DE.default(this.options(), e)), typeof i == "object" ? i : {}
	}
};
sn.context = sn.options;
sn.enabled = function(e) {
	var t = this.proxy("options.providers.all");
	typeof t != "boolean" && (t = this.proxy("options.all")), typeof t != "boolean" && (t = this.proxy("integrations.all")), typeof t != "boolean" && (t = !0);
	var n = t && yde.default(e),
		r = this.integrations();
	if (r.providers && r.providers.hasOwnProperty(e) && (n = r.providers[e]), r.hasOwnProperty(e)) {
		var i = r[e];
		typeof i == "boolean" ? n = i : n = !0
	}
	return !!n
};
sn.integrations = function() {
	return this.obj.integrations || this.proxy("options.providers") || this.options()
};
sn.active = function() {
	var e = this.proxy("options.active");
	return e == null && (e = !0), e
};
sn.anonymousId = function() {
	return this.field("anonymousId") || this.field("sessionId")
};
sn.sessionId = sn.anonymousId;
sn.groupId = Wi.proxy("options.groupId");
sn.traits = function(e) {
	var t = this.proxy("options.traits") || {},
		n = this.userId();
	e = e || {}, n && (t.id = n);
	for (var r in e)
		if (Object.prototype.hasOwnProperty.call(e, r)) {
			var i = this[r] == null ? this.proxy("options.traits." + r) : this[r]();
			if (i == null) continue;
			t[e[r]] = i, delete t[r]
		} return t
};
sn.library = function() {
	var e = this.proxy("options.library");
	return e ? typeof e == "string" ? {
		name: e,
		version: null
	} : e : {
		name: "unknown",
		version: null
	}
};
sn.device = function() {
	var e = this.proxy("context.device");
	(typeof e != "object" || e === null) && (e = {});
	var t = this.library().name;
	return e.type || (t.indexOf("ios") > -1 && (e.type = "ios"), t.indexOf("android") > -1 && (e.type = "android")), e
};
sn.userAgent = Wi.proxy("context.userAgent");
sn.timezone = Wi.proxy("context.timezone");
sn.timestamp = Wi.field("timestamp");
sn.channel = Wi.field("channel");
sn.ip = Wi.proxy("context.ip");
sn.userId = Wi.field("userId");
mde.default(sn);

function $E(e) {
	return Op.clone(e)
}
var H_ = {},
	FE = {
		exports: {}
	};
typeof Object.create == "function" ? FE.exports = function(t, n) {
	n && (t.super_ = n, t.prototype = Object.create(n.prototype, {
		constructor: {
			value: t,
			enumerable: !1,
			writable: !0,
			configurable: !0
		}
	}))
} : FE.exports = function(t, n) {
	if (n) {
		t.super_ = n;
		var r = function() {};
		r.prototype = n.prototype, t.prototype = new r, t.prototype.constructor = t
	}
};
var yf = FE.exports,
	bde = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(H_, "__esModule", {
	value: !0
});
H_.Alias = void 0;
var Sde = bde(yf),
	RU = Xa;

function ea(e, t) {
	RU.Facade.call(this, e, t)
}
H_.Alias = ea;
Sde.default(ea, RU.Facade);
ea.prototype.action = function() {
	return "alias"
};
ea.prototype.type = ea.prototype.action;
ea.prototype.previousId = function() {
	return this.field("previousId") || this.field("from")
};
ea.prototype.from = ea.prototype.previousId;
ea.prototype.userId = function() {
	return this.field("userId") || this.field("to")
};
ea.prototype.to = ea.prototype.userId;
var V_ = {},
	ch = {};
Object.defineProperty(ch, "__esModule", {
	value: !0
});
var xde = /.+\@.+\..+/;

function Ede(e) {
	return xde.test(e)
}
ch.default = Ede;
var SO = me && me.__importDefault || function(e) {
	return e && e.__esModule ? e : {
		default: e
	}
};
Object.defineProperty(V_, "__esModule", {
	value: !0
});
V_.Group = void 0;
var Cde = SO(yf),
	Ode = SO(ch),
	Tde = SO(_O),
	fh = Xa;

function xO(e, t) {
	fh.Facade.call(this, e, t)
}
V_.Group = xO;
Cde.default(xO, fh.Facade);
var ta = xO.prototype;
ta.action = function() {
	return "group"
};
ta.type = ta.action;
ta.groupId = fh.Facade.field("groupId");
ta.created = function() {
	var e = this.proxy("traits.createdAt") || this.proxy("traits.created") || this.proxy("properties.createdAt") || this.proxy("properties.created");
	if (e) return Tde.default(e)
};
ta.email = function() {
	var e = this.proxy("traits.email");
	if (e) return e;
	var t = this.groupId();
	if (Ode.default(t)) return t
};
ta.traits = function(e) {
	var t = this.properties(),
		n = this.groupId();
	e = e || {}, n && (t.id = n);
	for (var r in e)
		if (Object.prototype.hasOwnProperty.call(e, r)) {
			var i = this[r] == null ? this.proxy("traits." + r) : this[r]();
			if (i == null) continue;
			t[e[r]] = i, delete t[r]
		} return t
};
ta.name = fh.Facade.proxy("traits.name");
ta.industry = fh.Facade.proxy("traits.industry");
ta.employees = fh.Facade.proxy("traits.employees");
ta.properties = function() {
	return this.field("traits") || this.field("properties") || {}
};
var R1 = {},
	B_ = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(R1, "__esModule", {
	value: !0
});
R1.Identify = void 0;
var Ja = Xa,
	Qd = B_(F_),
	Rde = B_(yf),
	Ide = B_(ch),
	IU = B_(_O),
	Fc = function(e) {
		return e.trim()
	};

function EO(e, t) {
	Ja.Facade.call(this, e, t)
}
R1.Identify = EO;
Rde.default(EO, Ja.Facade);
var un = EO.prototype;
un.action = function() {
	return "identify"
};
un.type = un.action;
un.traits = function(e) {
	var t = this.field("traits") || {},
		n = this.userId();
	e = e || {}, n && (t.id = n);
	for (var r in e) {
		var i = this[r] == null ? this.proxy("traits." + r) : this[r]();
		i != null && (t[e[r]] = i, r !== e[r] && delete t[r])
	}
	return t
};
un.email = function() {
	var e = this.proxy("traits.email");
	if (e) return e;
	var t = this.userId();
	if (Ide.default(t)) return t
};
un.created = function() {
	var e = this.proxy("traits.created") || this.proxy("traits.createdAt");
	if (e) return IU.default(e)
};
un.companyCreated = function() {
	var e = this.proxy("traits.company.created") || this.proxy("traits.company.createdAt");
	if (e) return IU.default(e)
};
un.companyName = function() {
	return this.proxy("traits.company.name")
};
un.name = function() {
	var e = this.proxy("traits.name");
	if (typeof e == "string") return Fc(e);
	var t = this.firstName(),
		n = this.lastName();
	if (t && n) return Fc(t + " " + n)
};
un.firstName = function() {
	var e = this.proxy("traits.firstName");
	if (typeof e == "string") return Fc(e);
	var t = this.proxy("traits.name");
	if (typeof t == "string") return Fc(t).split(" ")[0]
};
un.lastName = function() {
	var e = this.proxy("traits.lastName");
	if (typeof e == "string") return Fc(e);
	var t = this.proxy("traits.name");
	if (typeof t == "string") {
		var n = Fc(t).indexOf(" ");
		if (n !== -1) return Fc(t.substr(n + 1))
	}
};
un.uid = function() {
	return this.userId() || this.username() || this.email()
};
un.description = function() {
	return this.proxy("traits.description") || this.proxy("traits.background")
};
un.age = function() {
	var e = this.birthday(),
		t = Qd.default(this.traits(), "age");
	if (t != null) return t;
	if (e instanceof Date) {
		var n = new Date;
		return n.getFullYear() - e.getFullYear()
	}
};
un.avatar = function() {
	var e = this.traits();
	return Qd.default(e, "avatar") || Qd.default(e, "photoUrl") || Qd.default(e, "avatarUrl")
};
un.position = function() {
	var e = this.traits();
	return Qd.default(e, "position") || Qd.default(e, "jobTitle")
};
un.username = Ja.Facade.proxy("traits.username");
un.website = Ja.Facade.one("traits.website");
un.websites = Ja.Facade.multi("traits.website");
un.phone = Ja.Facade.one("traits.phone");
un.phones = Ja.Facade.multi("traits.phone");
un.address = Ja.Facade.proxy("traits.address");
un.gender = Ja.Facade.proxy("traits.gender");
un.birthday = Ja.Facade.proxy("traits.birthday");
var dh = {},
	CO = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(dh, "__esModule", {
	value: !0
});
dh.Track = void 0;
var kde = CO(yf),
	ar = Xa,
	Ade = R1,
	Mde = CO(ch),
	kU = CO(F_);

function OO(e, t) {
	ar.Facade.call(this, e, t)
}
dh.Track = OO;
kde.default(OO, ar.Facade);
var tt = OO.prototype;
tt.action = function() {
	return "track"
};
tt.type = tt.action;
tt.event = ar.Facade.field("event");
tt.value = ar.Facade.proxy("properties.value");
tt.category = ar.Facade.proxy("properties.category");
tt.id = ar.Facade.proxy("properties.id");
tt.productId = function() {
	return this.proxy("properties.product_id") || this.proxy("properties.productId")
};
tt.promotionId = function() {
	return this.proxy("properties.promotion_id") || this.proxy("properties.promotionId")
};
tt.cartId = function() {
	return this.proxy("properties.cart_id") || this.proxy("properties.cartId")
};
tt.checkoutId = function() {
	return this.proxy("properties.checkout_id") || this.proxy("properties.checkoutId")
};
tt.paymentId = function() {
	return this.proxy("properties.payment_id") || this.proxy("properties.paymentId")
};
tt.couponId = function() {
	return this.proxy("properties.coupon_id") || this.proxy("properties.couponId")
};
tt.wishlistId = function() {
	return this.proxy("properties.wishlist_id") || this.proxy("properties.wishlistId")
};
tt.reviewId = function() {
	return this.proxy("properties.review_id") || this.proxy("properties.reviewId")
};
tt.orderId = function() {
	return this.proxy("properties.id") || this.proxy("properties.order_id") || this.proxy("properties.orderId")
};
tt.sku = ar.Facade.proxy("properties.sku");
tt.tax = ar.Facade.proxy("properties.tax");
tt.name = ar.Facade.proxy("properties.name");
tt.price = ar.Facade.proxy("properties.price");
tt.total = ar.Facade.proxy("properties.total");
tt.repeat = ar.Facade.proxy("properties.repeat");
tt.coupon = ar.Facade.proxy("properties.coupon");
tt.shipping = ar.Facade.proxy("properties.shipping");
tt.discount = ar.Facade.proxy("properties.discount");
tt.shippingMethod = function() {
	return this.proxy("properties.shipping_method") || this.proxy("properties.shippingMethod")
};
tt.paymentMethod = function() {
	return this.proxy("properties.payment_method") || this.proxy("properties.paymentMethod")
};
tt.description = ar.Facade.proxy("properties.description");
tt.plan = ar.Facade.proxy("properties.plan");
tt.subtotal = function() {
	var e = kU.default(this.properties(), "subtotal"),
		t = this.total() || this.revenue();
	if (e) return e;
	if (!t) return 0;
	if (this.total()) {
		var n = this.tax();
		n && (t -= n), n = this.shipping(), n && (t -= n), n = this.discount(), n && (t += n)
	}
	return t
};
tt.products = function() {
	var e = this.properties(),
		t = kU.default(e, "products");
	return Array.isArray(t) ? t.filter(function(n) {
		return n !== null
	}) : []
};
tt.quantity = function() {
	var e = this.obj.properties || {};
	return e.quantity || 1
};
tt.currency = function() {
	var e = this.obj.properties || {};
	return e.currency || "USD"
};
tt.referrer = function() {
	return this.proxy("context.referrer.url") || this.proxy("context.page.referrer") || this.proxy("properties.referrer")
};
tt.query = ar.Facade.proxy("options.query");
tt.properties = function(e) {
	var t = this.field("properties") || {};
	e = e || {};
	for (var n in e)
		if (Object.prototype.hasOwnProperty.call(e, n)) {
			var r = this[n] == null ? this.proxy("properties." + n) : this[n]();
			if (r == null) continue;
			t[e[n]] = r, delete t[n]
		} return t
};
tt.username = function() {
	return this.proxy("traits.username") || this.proxy("properties.username") || this.userId() || this.sessionId()
};
tt.email = function() {
	var e = this.proxy("traits.email") || this.proxy("properties.email") || this.proxy("options.traits.email");
	if (e) return e;
	var t = this.userId();
	if (Mde.default(t)) return t
};
tt.revenue = function() {
	var e = this.proxy("properties.revenue"),
		t = this.event(),
		n = /^[ _]?completed[ _]?order[ _]?|^[ _]?order[ _]?completed[ _]?$/i;
	return !e && t && t.match(n) && (e = this.proxy("properties.total")), Pde(e)
};
tt.cents = function() {
	var e = this.revenue();
	return typeof e != "number" ? this.value() || 0 : e * 100
};
tt.identify = function() {
	var e = this.json();
	return e.traits = this.traits(), new Ade.Identify(e, this.opts)
};

function Pde(e) {
	if (e) {
		if (typeof e == "number") return e;
		if (typeof e == "string" && (e = e.replace(/\$/g, ""), e = parseFloat(e), !isNaN(e))) return e
	}
}
var I1 = {},
	AU = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(I1, "__esModule", {
	value: !0
});
I1.Page = void 0;
var Lde = AU(yf),
	wf = Xa,
	Nde = dh,
	Dde = AU(ch);

function TO(e, t) {
	wf.Facade.call(this, e, t)
}
I1.Page = TO;
Lde.default(TO, wf.Facade);
var xi = TO.prototype;
xi.action = function() {
	return "page"
};
xi.type = xi.action;
xi.category = wf.Facade.field("category");
xi.name = wf.Facade.field("name");
xi.title = wf.Facade.proxy("properties.title");
xi.path = wf.Facade.proxy("properties.path");
xi.url = wf.Facade.proxy("properties.url");
xi.referrer = function() {
	return this.proxy("context.referrer.url") || this.proxy("context.page.referrer") || this.proxy("properties.referrer")
};
xi.properties = function(e) {
	var t = this.field("properties") || {},
		n = this.category(),
		r = this.name();
	e = e || {}, n && (t.category = n), r && (t.name = r);
	for (var i in e)
		if (Object.prototype.hasOwnProperty.call(e, i)) {
			var o = this[i] == null ? this.proxy("properties." + i) : this[i]();
			if (o == null) continue;
			t[e[i]] = o, i !== e[i] && delete t[i]
		} return t
};
xi.email = function() {
	var e = this.proxy("context.traits.email") || this.proxy("properties.email");
	if (e) return e;
	var t = this.userId();
	if (Dde.default(t)) return t
};
xi.fullName = function() {
	var e = this.category(),
		t = this.name();
	return t && e ? e + " " + t : t
};
xi.event = function(e) {
	return e ? "Viewed " + e + " Page" : "Loaded a Page"
};
xi.track = function(e) {
	var t = this.json();
	return t.event = this.event(e), t.timestamp = this.timestamp(), t.properties = this.properties(), new Nde.Track(t, this.opts)
};
var z_ = {},
	$de = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(z_, "__esModule", {
	value: !0
});
z_.Screen = void 0;
var Fde = $de(yf),
	MU = I1,
	jde = dh;

function Qc(e, t) {
	MU.Page.call(this, e, t)
}
z_.Screen = Qc;
Fde.default(Qc, MU.Page);
Qc.prototype.action = function() {
	return "screen"
};
Qc.prototype.type = Qc.prototype.action;
Qc.prototype.event = function(e) {
	return e ? "Viewed " + e + " Screen" : "Loaded a Screen"
};
Qc.prototype.track = function(e) {
	var t = this.json();
	return t.event = this.event(e), t.timestamp = this.timestamp(), t.properties = this.properties(), new jde.Track(t, this.opts)
};
var G_ = {},
	Ude = me && me.__importDefault || function(e) {
		return e && e.__esModule ? e : {
			default: e
		}
	};
Object.defineProperty(G_, "__esModule", {
	value: !0
});
G_.Delete = void 0;
var Hde = Ude(yf),
	PU = Xa;

function RO(e, t) {
	PU.Facade.call(this, e, t)
}
G_.Delete = RO;
Hde.default(RO, PU.Facade);
RO.prototype.type = function() {
	return "delete"
};
(function(e) {
	var t = me && me.__assign || function() {
		return t = Object.assign || function(c) {
			for (var d, p = 1, g = arguments.length; p < g; p++) {
				d = arguments[p];
				for (var m in d) Object.prototype.hasOwnProperty.call(d, m) && (c[m] = d[m])
			}
			return c
		}, t.apply(this, arguments)
	};
	Object.defineProperty(e, "__esModule", {
		value: !0
	}), e.Delete = e.Screen = e.Page = e.Track = e.Identify = e.Group = e.Alias = e.Facade = void 0;
	var n = Xa;
	Object.defineProperty(e, "Facade", {
		enumerable: !0,
		get: function() {
			return n.Facade
		}
	});
	var r = H_;
	Object.defineProperty(e, "Alias", {
		enumerable: !0,
		get: function() {
			return r.Alias
		}
	});
	var i = V_;
	Object.defineProperty(e, "Group", {
		enumerable: !0,
		get: function() {
			return i.Group
		}
	});
	var o = R1;
	Object.defineProperty(e, "Identify", {
		enumerable: !0,
		get: function() {
			return o.Identify
		}
	});
	var a = dh;
	Object.defineProperty(e, "Track", {
		enumerable: !0,
		get: function() {
			return a.Track
		}
	});
	var s = I1;
	Object.defineProperty(e, "Page", {
		enumerable: !0,
		get: function() {
			return s.Page
		}
	});
	var u = z_;
	Object.defineProperty(e, "Screen", {
		enumerable: !0,
		get: function() {
			return u.Screen
		}
	});
	var l = G_;
	Object.defineProperty(e, "Delete", {
		enumerable: !0,
		get: function() {
			return l.Delete
		}
	}), e.default = t(t({}, n.Facade), {
		Alias: r.Alias,
		Group: i.Group,
		Identify: o.Identify,
		Track: a.Track,
		Page: s.Page,
		Screen: u.Screen,
		Delete: l.Delete
	})
})(Ou);

function D2(e, t) {
	var n = new Ou.Facade(e, t);
	return e.type === "track" && (n = new Ou.Track(e, t)), e.type === "identify" && (n = new Ou.Identify(e, t)), e.type === "page" && (n = new Ou.Page(e, t)), e.type === "alias" && (n = new Ou.Alias(e, t)), e.type === "group" && (n = new Ou.Group(e, t)), e.type === "screen" && (n = new Ou.Screen(e, t)), Object.defineProperty(n, "obj", {
		value: e,
		writable: !0
	}), n
}

function LU(e, t, n) {
	return ke(this, void 0, void 0, function() {
		function r(l, c) {
			return ke(this, void 0, void 0, function() {
				var d, p, g;
				return Ae(this, function(m) {
					switch (m.label) {
						case 0:
							return d = !1, p = null, [4, c({
								payload: D2(l, {
									clone: !0,
									traverse: !1
								}),
								integration: e,
								next: function(_) {
									d = !0, _ === null && (p = null), _ && (p = _.obj)
								}
							})];
						case 1:
							return m.sent(), !d && p !== null && (p = p, p.integrations = ve(ve({}, l.integrations), (g = {}, g[e] = !1, g))), [2, p]
					}
				})
			})
		}
		var i, o, a, s, u;
		return Ae(this, function(l) {
			switch (l.label) {
				case 0:
					i = D2(t, {
						clone: !0,
						traverse: !1
					}).rawEvent(), o = 0, a = n, l.label = 1;
				case 1:
					return o < a.length ? (s = a[o], [4, r(i, s)]) : [3, 4];
				case 2:
					if (u = l.sent(), u === null) return [2, null];
					i = u, l.label = 3;
				case 3:
					return o++, [3, 1];
				case 4:
					return [2, i]
			}
		})
	})
}

function Vde(e, t) {
	function n(r) {
		return ke(this, void 0, void 0, function() {
			var i;
			return Ae(this, function(o) {
				switch (o.label) {
					case 0:
						return i = !1, [4, e({
							payload: D2(r.event, {
								clone: !0,
								traverse: !1
							}),
							integrations: t != null ? t : {},
							next: function(a) {
								i = !0, a && (r.event = a.obj)
							}
						})];
					case 1:
						if (o.sent(), !i) throw new Cp({
							retry: !1,
							type: "middleware_cancellation",
							reason: "Middleware `next` function skipped"
						});
						return [2, r]
				}
			})
		})
	}
	return {
		name: "Source Middleware ".concat(e.name),
		type: "before",
		version: "0.1.0",
		isLoaded: function() {
			return !0
		},
		load: function(r) {
			return Promise.resolve(r)
		},
		track: n,
		page: n,
		identify: n,
		alias: n,
		group: n
	}
}
const Bde = Object.freeze(Object.defineProperty({
	__proto__: null,
	applyDestinationMiddleware: LU,
	sourceMiddlewarePlugin: Vde
}, Symbol.toStringTag, {
	value: "Module"
}));
var zde = function() {
	function e(t, n) {
		this.version = "1.0.0", this.alternativeNames = [], this.middleware = [], this.alias = this._createMethod("alias"), this.group = this._createMethod("group"), this.identify = this._createMethod("identify"), this.page = this._createMethod("page"), this.screen = this._createMethod("screen"), this.track = this._createMethod("track"), this.action = n, this.name = t, this.type = n.type, this.alternativeNames.push(n.name)
	}
	return e.prototype.addMiddleware = function() {
		for (var t, n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
		this.type === "destination" && (t = this.middleware).push.apply(t, n)
	}, e.prototype.transform = function(t) {
		return ke(this, void 0, void 0, function() {
			var n;
			return Ae(this, function(r) {
				switch (r.label) {
					case 0:
						return [4, LU(this.name, t.event, this.middleware)];
					case 1:
						return n = r.sent(), n === null && t.cancel(new Cp({
							retry: !1,
							reason: "dropped by destination middleware"
						})), [2, new Jd(n)]
				}
			})
		})
	}, e.prototype._createMethod = function(t) {
		var n = this;
		return function(r) {
			return ke(n, void 0, void 0, function() {
				var i;
				return Ae(this, function(o) {
					switch (o.label) {
						case 0:
							return this.action[t] ? (i = r, this.type !== "destination" ? [3, 2] : [4, this.transform(r)]) : [2, r];
						case 1:
							i = o.sent(), o.label = 2;
						case 2:
							return [4, this.action[t](i)];
						case 3:
							return o.sent(), [2, r]
					}
				})
			})
		}
	}, e.prototype.isLoaded = function() {
		return this.action.isLoaded()
	}, e.prototype.ready = function() {
		return this.action.ready ? this.action.ready() : Promise.resolve()
	}, e.prototype.load = function(t, n) {
		return this.action.load(t, n)
	}, e.prototype.unload = function(t, n) {
		var r, i;
		return (i = (r = this.action).unload) === null || i === void 0 ? void 0 : i.call(r, t, n)
	}, e
}();

function Gde(e) {
	if (!Array.isArray(e)) throw new Error("Not a valid list of plugins");
	var t = ["load", "isLoaded", "name", "version", "type"];
	return e.forEach(function(n) {
		t.forEach(function(r) {
			var i;
			if (n[r] === void 0) throw new Error("Plugin: ".concat((i = n.name) !== null && i !== void 0 ? i : "unknown", " missing required function ").concat(r))
		})
	}), !0
}

function Wde(e, t) {
	var n = e[t.creationName],
		r = e[t.name];
	return e.All === !1 && !n && !r || n === !1 || r === !1
}

function Kde(e, t) {
	return ke(this, void 0, void 0, function() {
		var n, r, i, o, a;
		return Ae(this, function(s) {
			switch (s.label) {
				case 0:
					if (n = new RegExp("https://cdn.segment.(com|build)"), r = vO(), !t) return [3, 6];
					i = e.url.split("/"), o = i[i.length - 2], a = e.url.replace(o, btoa(o).replace(/=/g, "")), s.label = 1;
				case 1:
					return s.trys.push([1, 3, , 5]), [4, XS(a.replace(n, r))];
				case 2:
					return s.sent(), [3, 5];
				case 3:
					return s.sent(), [4, XS(e.url.replace(n, r))];
				case 4:
					return s.sent(), [3, 5];
				case 5:
					return [3, 8];
				case 6:
					return [4, XS(e.url.replace(n, r))];
				case 7:
					s.sent(), s.label = 8;
				case 8:
					return typeof window[e.libraryName] == "function" ? [2, window[e.libraryName]] : [2]
			}
		})
	})
}

function Zde(e, t, n, r, i, o) {
	var a, s, u;
	return ke(this, void 0, void 0, function() {
		var l, c, d, p = this;
		return Ae(this, function(g) {
			switch (g.label) {
				case 0:
					return l = [], c = (s = (a = e.middlewareSettings) === null || a === void 0 ? void 0 : a.routingRules) !== null && s !== void 0 ? s : [], d = ((u = e.remotePlugins) !== null && u !== void 0 ? u : []).map(function(m) {
						return ke(p, void 0, void 0, function() {
							var _, S, y, w, b, E;
							return Ae(this, function(T) {
								switch (T.label) {
									case 0:
										if (Wde(t, m)) return [2];
										T.label = 1;
									case 1:
										return T.trys.push([1, 6, , 7]), S = o == null ? void 0 : o.find(function(O) {
											var R = O.pluginName;
											return R === m.name
										}), S ? [3, 3] : [4, Kde(m, r)];
									case 2:
										S = T.sent(), T.label = 3;
									case 3:
										return _ = S, _ ? [4, _(ve(ve({}, m.settings), n[m.name]))] : [3, 5];
									case 4:
										y = T.sent(), w = Array.isArray(y) ? y : [y], Gde(w), b = c.filter(function(O) {
											return O.destinationName === m.creationName
										}), w.forEach(function(O) {
											var R = new zde(m.creationName, O);
											b.length && i && O.type === "destination" && R.addMiddleware(i), l.push(R)
										}), T.label = 5;
									case 5:
										return [3, 7];
									case 6:
										return E = T.sent(), console.warn("Failed to load Remote Plugin", E), [3, 7];
									case 7:
										return [2]
								}
							})
						})
					}), [4, Promise.all(d)];
				case 1:
					return g.sent(), [2, l.filter(Boolean)]
			}
		})
	})
}
var qde = function(e) {
		var t = !1;
		window.addEventListener("pagehide", function() {
			t || (t = !0, e(t))
		}), document.addEventListener("visibilitychange", function() {
			if (document.visibilityState == "hidden") {
				if (t) return;
				t = !0
			} else t = !1;
			e(t)
		})
	},
	Yde = 500;

function NU(e) {
	var t = encodeURI(JSON.stringify(e)).split(/%..|./).length - 1;
	return t / 1024
}

function Xde(e) {
	return NU(e) >= Yde - 50
}

function Jde(e) {
	var t = [],
		n = 0;
	return e.forEach(function(r) {
		var i = NU(t[n]);
		i >= 64 && n++, t[n] ? t[n].push(r) : t[n] = [r]
	}), t
}

function Qde(e, t) {
	var n, r, i = [],
		o = !1,
		a = (n = t == null ? void 0 : t.size) !== null && n !== void 0 ? n : 10,
		s = (r = t == null ? void 0 : t.timeout) !== null && r !== void 0 ? r : 5e3;

	function u(g) {
		var m;
		if (g.length !== 0) {
			var _ = (m = g[0]) === null || m === void 0 ? void 0 : m.writeKey,
				S = g.map(function(y) {
					var w = y;
					w.sentAt;
					var b = nU(w, ["sentAt"]);
					return b
				});
			return D_("https://".concat(e, "/b"), {
				keepalive: o,
				headers: {
					"Content-Type": "text/plain"
				},
				method: "post",
				body: JSON.stringify({
					writeKey: _,
					batch: S,
					sentAt: new Date().toISOString()
				})
			})
		}
	}

	function l() {
		return ke(this, void 0, void 0, function() {
			var g;
			return Ae(this, function(m) {
				return i.length ? (g = i, i = [], [2, u(g)]) : [2]
			})
		})
	}
	var c;

	function d() {
		c || (c = setTimeout(function() {
			c = void 0, l().catch(console.error)
		}, s))
	}
	qde(function(g) {
		if (o = g, o && i.length) {
			var m = Jde(i).map(u);
			Promise.all(m).catch(console.error)
		}
	});

	function p(g, m) {
		return ke(this, void 0, void 0, function() {
			var _;
			return Ae(this, function(S) {
				return i.push(m), _ = i.length >= a || Xde(i), [2, _ || o ? l() : d()]
			})
		})
	}
	return {
		dispatch: p
	}
}

function epe(e) {
	function t(n, r) {
		return D_(n, {
			keepalive: e == null ? void 0 : e.keepalive,
			headers: {
				"Content-Type": "text/plain"
			},
			method: "post",
			body: JSON.stringify(r)
		})
	}
	return {
		dispatch: t
	}
}

function tpe(e, t, n, r) {
	var i, o = e.user();
	delete t.options, t.writeKey = n == null ? void 0 : n.apiKey, t.userId = t.userId || o.id(), t.anonymousId = t.anonymousId || o.anonymousId(), t.sentAt = new Date;
	var a = e.queue.failedInitializations || [];
	a.length > 0 && (t._metadata = {
		failedInitializations: a
	});
	var s = [],
		u = [];
	for (var l in r) {
		var c = r[l];
		l === "Segment.io" && s.push(l), c.bundlingStatus === "bundled" && s.push(l), c.bundlingStatus === "unbundled" && u.push(l)
	}
	for (var d = 0, p = (n == null ? void 0 : n.unbundledIntegrations) || []; d < p.length; d++) {
		var g = p[d];
		u.includes(g) || u.push(g)
	}
	var m = (i = n == null ? void 0 : n.maybeBundledConfigIds) !== null && i !== void 0 ? i : {},
		_ = [];
	return s.sort().forEach(function(S) {
		var y;
		((y = m[S]) !== null && y !== void 0 ? y : []).forEach(function(w) {
			_.push(w)
		})
	}), (n == null ? void 0 : n.addBundledMetadata) !== !1 && (t._metadata = ve(ve({}, t._metadata), {
		bundled: s.sort(),
		unbundled: u.sort(),
		bundledIds: _
	})), t
}
var npe = function(e, t) {
	return ke(void 0, void 0, void 0, function() {
		var n;
		return Ae(this, function(r) {
			return n = function(i) {
				return ke(void 0, void 0, void 0, function() {
					var o;
					return Ae(this, function(a) {
						switch (a.label) {
							case 0:
								return e(i) ? (o = n, [4, t()]) : [3, 2];
							case 1:
								return [2, o.apply(void 0, [a.sent()])];
							case 2:
								return [2]
						}
					})
				})
			}, [2, n(void 0)]
		})
	})
};

function rpe(e, t) {
	return ke(this, void 0, void 0, function() {
		var n, r = this;
		return Ae(this, function(i) {
			switch (i.label) {
				case 0:
					return n = [], Tv() ? [2, t] : [4, npe(function() {
						return t.length > 0 && !Tv()
					}, function() {
						return ke(r, void 0, void 0, function() {
							var o, a, s;
							return Ae(this, function(u) {
								switch (u.label) {
									case 0:
										return o = t.pop(), o ? [4, nv(o, e)] : [2];
									case 1:
										return a = u.sent(), s = a instanceof Jd, s || n.push(o), [2]
								}
							})
						})
					})];
				case 1:
					return i.sent(), n.map(function(o) {
						return t.pushWithBackoff(o)
					}), [2, t]
			}
		})
	})
}

function sd(e, t, n, r) {
	var i = this;
	e || setTimeout(function() {
		return ke(i, void 0, void 0, function() {
			var o, a;
			return Ae(this, function(s) {
				switch (s.label) {
					case 0:
						return o = !0, [4, rpe(n, t)];
					case 1:
						return a = s.sent(), o = !1, t.todo > 0 && r(o, a, n, r), [2]
				}
			})
		})
	}, Math.random() * 5e3)
}

function ipe(e, t) {
	var n, r, i, o, a = e.user();
	return t.previousId = (i = (r = (n = t.previousId) !== null && n !== void 0 ? n : t.from) !== null && r !== void 0 ? r : a.id()) !== null && i !== void 0 ? i : a.anonymousId(), t.userId = (o = t.userId) !== null && o !== void 0 ? o : t.to, delete t.from, delete t.to, t
}

function ope(e, t, n) {
	var r, i, o;
	window.addEventListener("pagehide", function() {
		s.push.apply(s, Array.from(u)), u.clear()
	});
	var a = (r = t == null ? void 0 : t.apiKey) !== null && r !== void 0 ? r : "",
		s = e.options.disableClientPersistence ? new oO(e.queue.queue.maxAttempts, []) : new lO(e.queue.queue.maxAttempts, "".concat(a, ":dest-Segment.io")),
		u = new Set,
		l = !1,
		c = (i = t == null ? void 0 : t.apiHost) !== null && i !== void 0 ? i : sU,
		d = (o = t == null ? void 0 : t.protocol) !== null && o !== void 0 ? o : "https",
		p = "".concat(d, "://").concat(c),
		g = t == null ? void 0 : t.deliveryStrategy,
		m = (g == null ? void 0 : g.strategy) === "batching" ? Qde(c, g.config) : epe(g == null ? void 0 : g.config);

	function _(y) {
		return ke(this, void 0, void 0, function() {
			var w, b;
			return Ae(this, function(E) {
				return Tv() ? (s.push(y), sd(l, s, S, sd), [2, y]) : (u.add(y), w = y.event.type.charAt(0), b = D2(y.event).json(), y.event.type === "track" && delete b.traits, y.event.type === "alias" && (b = ipe(e, b)), [2, m.dispatch("".concat(p, "/").concat(w), tpe(e, b, t, n)).then(function() {
					return y
				}).catch(function() {
					return s.pushWithBackoff(y), sd(l, s, S, sd), y
				}).finally(function() {
					u.delete(y)
				})])
			})
		})
	}
	var S = {
		name: "Segment.io",
		type: "after",
		version: "0.1.0",
		isLoaded: function() {
			return !0
		},
		load: function() {
			return Promise.resolve()
		},
		track: _,
		identify: _,
		page: _,
		alias: _,
		group: _,
		screen: _
	};
	return s.todo && sd(l, s, S, sd), S
}

function ud(e) {
	var t, n = e.event;
	jce(n), Uce(n), n.type === "track" && Hce(n);
	var r = (t = n.properties) !== null && t !== void 0 ? t : n.traits;
	if (n.type !== "alias" && !Wo(r)) throw new Jc(".properties", "is not an object");
	return Fce(n), e
}
var ape = {
		name: "Event Validation",
		type: "before",
		version: "1.0.0",
		isLoaded: function() {
			return !0
		},
		load: function() {
			return Promise.resolve()
		},
		track: ud,
		identify: ud,
		page: ud,
		alias: ud,
		group: ud,
		screen: ud
	},
	JS, pA, spe = uO(),
	hA = (JS = (pA = spe).__SEGMENT_INSPECTOR__) !== null && JS !== void 0 ? JS : pA.__SEGMENT_INSPECTOR__ = {},
	upe = function(e) {
		var t;
		return (t = hA.attach) === null || t === void 0 ? void 0 : t.call(hA, e)
	};

function lpe(e, t) {
	var n = t != null ? t : vO();
	return D_("".concat(n, "/v1/projects/").concat(e, "/settings")).then(function(r) {
		return r.ok ? r.json() : r.text().then(function(i) {
			throw new Error(i)
		})
	}).catch(function(r) {
		throw console.error(r.message), r
	})
}

function cpe(e) {
	return xU().NODE_ENV !== "test" && Object.keys(e.integrations).length > 1
}

function fpe(e) {
	var t, n, r;
	return xU().NODE_ENV !== "test" && ((r = (n = (t = e.middlewareSettings) === null || t === void 0 ? void 0 : t.routingRules) === null || n === void 0 ? void 0 : n.length) !== null && r !== void 0 ? r : 0) > 0
}

function dpe(e, t) {
	Dfe(e, t), Nfe(e, t)
}

function ppe(e, t) {
	return ke(this, void 0, void 0, function() {
		return Ae(this, function(n) {
			switch (n.label) {
				case 0:
					return [4, Lfe(e, t)];
				case 1:
					return n.sent(), $fe(e, t), t.clear(), [2]
			}
		})
	})
}

function hpe(e, t, n, r, i, o, a) {
	var s, u, l;
	return o === void 0 && (o = []), ke(this, void 0, void 0, function() {
		var c, d, p, g, m, _, S, y, w, b, E, T, O, R, k, M = this;
		return Ae(this, function(D) {
			switch (D.label) {
				case 0:
					return c = o == null ? void 0 : o.filter(function(P) {
						return typeof P == "object"
					}), d = o == null ? void 0 : o.filter(function(P) {
						return typeof P == "function" && typeof P.pluginName == "string"
					}), fpe(t) ? [4, Re(() => import("https://platform.openai.com/CAlbemWfOz.js"), []).then(function(P) {
						return P.tsubMiddleware(t.middlewareSettings.routingRules)
					})] : [3, 2];
				case 1:
					return g = D.sent(), [3, 3];
				case 2:
					g = void 0, D.label = 3;
				case 3:
					return p = g, cpe(t) || a.length > 0 ? [4, Re(() => import("https://platform.openai.com/DdtZUR-MmT.js"), __vite__mapDeps([0, 1])).then(function(P) {
						return P.ajsDestinations(e, t, n.integrations, r, p, a)
					})] : [3, 5];
				case 4:
					return _ = D.sent(), [3, 6];
				case 5:
					_ = [], D.label = 6;
				case 6:
					return m = _, t.legacyVideoPluginsEnabled ? [4, Re(() => import("https://platform.openai.com/BInyWExqcc.js"), []).then(function(P) {
						return P.loadLegacyVideoPlugins(n)
					})] : [3, 8];
				case 7:
					D.sent(), D.label = 8;
				case 8:
					return !((s = r.plan) === null || s === void 0) && s.track ? [4, Re(() => import("https://platform.openai.com/C_kC1clfSK.js"), __vite__mapDeps([2, 1])).then(function(P) {
						var U;
						return P.schemaFilter((U = r.plan) === null || U === void 0 ? void 0 : U.track, t)
					})] : [3, 10];
				case 9:
					return y = D.sent(), [3, 11];
				case 10:
					y = void 0, D.label = 11;
				case 11:
					return S = y, w = Wfe(t, i), [4, Zde(t, n.integrations, w, i.obfuscate, p, d).catch(function() {
						return []
					})];
				case 12:
					return b = D.sent(), E = Qn(Qn(Qn([ape, rde], c, !0), m, !0), b, !0), S && E.push(S), T = ((u = r.integrations) === null || u === void 0 ? void 0 : u.All) === !1 && !r.integrations["Segment.io"] || r.integrations && r.integrations["Segment.io"] === !1, T ? [3, 14] : (R = (O = E).push, [4, ope(n, w["Segment.io"], t.integrations)]);
				case 13:
					R.apply(O, [D.sent()]), D.label = 14;
				case 14:
					return [4, n.register.apply(n, E)];
				case 15:
					return k = D.sent(), Object.entries((l = t.enabledMiddleware) !== null && l !== void 0 ? l : {}).some(function(P) {
						var U = P[1];
						return U
					}) ? [4, Re(() => import("https://platform.openai.com/CUCkQEVOD8.js"), []).then(function(P) {
						var U = P.remoteMiddlewares;
						return ke(M, void 0, void 0, function() {
							var H, G;
							return Ae(this, function(K) {
								switch (K.label) {
									case 0:
										return [4, U(k, t, i.obfuscate)];
									case 1:
										return H = K.sent(), G = H.map(function(ee) {
											return n.addSourceMiddleware(ee)
										}), [2, Promise.all(G)]
								}
							})
						})
					})] : [3, 17];
				case 16:
					D.sent(), D.label = 17;
				case 17:
					return [2, k]
			}
		})
	})
}

function vpe(e, t, n) {
	var r, i, o, a, s, u, l;
	return t === void 0 && (t = {}), ke(this, void 0, void 0, function() {
		var c, d, p, g, m, _, S, y, w, b, E;
		return Ae(this, function(T) {
			switch (T.label) {
				case 0:
					return t.globalAnalyticsKey && Afe(t.globalAnalyticsKey), e.cdnURL && Gfe(e.cdnURL), (r = e.cdnSettings) !== null && r !== void 0 ? (d = r, [3, 3]) : [3, 1];
				case 1:
					return [4, lpe(e.writeKey, e.cdnURL)];
				case 2:
					d = T.sent(), T.label = 3;
				case 3:
					return c = d, t.updateCDNSettings && (c = t.updateCDNSettings(c)), p = (o = (i = c.integrations["Segment.io"]) === null || i === void 0 ? void 0 : i.retryQueue) !== null && o !== void 0 ? o : !0, g = ve({
						retryQueue: p
					}, t), m = new Hfe(e, g), upe(m), _ = (a = e.plugins) !== null && a !== void 0 ? a : [], S = (s = e.classicIntegrations) !== null && s !== void 0 ? s : [], uU.initRemoteMetrics(c.metrics), dpe(m, n), [4, hpe(e.writeKey, c, m, g, t, _, S)];
				case 4:
					return y = T.sent(), w = (u = window.location.search) !== null && u !== void 0 ? u : "", b = (l = window.location.hash) !== null && l !== void 0 ? l : "", E = w.length ? w : b.replace(/(?=#).*(?=\?)/, ""), E.includes("ajs_") ? [4, m.queryString(E).catch(console.error)] : [3, 6];
				case 5:
					T.sent(), T.label = 6;
				case 6:
					return m.initialized = !0, m.emit("initialize", e, t), t.initialPageview && m.page().catch(console.error), [4, ppe(m, n)];
				case 7:
					return T.sent(), [2, [m, y]]
			}
		})
	})
}
var gpe = function(e) {
	fa(t, e);

	function t() {
		var n = this,
			r = Kfe(),
			i = r.promise,
			o = r.resolve;
		return n = e.call(this, function(a) {
			return i.then(function(s) {
				var u = s[0],
					l = s[1];
				return vpe(u, l, a)
			})
		}) || this, n._resolveLoadStart = function(a, s) {
			return o([a, s])
		}, n
	}
	return t.prototype.load = function(n, r) {
		return r === void 0 && (r = {}), this._resolveLoadStart(n, r), this
	}, t.load = function(n, r) {
		return r === void 0 && (r = {}), new t().load(n, r)
	}, t.standalone = function(n, r) {
		return t.load({
			writeKey: n
		}, r).then(function(i) {
			return i[0]
		})
	}, t
}(jfe);
const mpe = "chatgpt.com/ces",
	jE = mpe,
	UE = "https",
	ype = {
		writeKey: "oai",
		cdnURL: "".concat(UE, "://").concat(jE)
	},
	wpe = {
		strategy: "batching",
		config: {
			size: 10,
			timeout: 15
		}
	},
	_pe = {
		disableClientPersistence: !0,
		integrations: {
			"Segment.io": {
				apiHost: "".concat(jE, "/v1"),
				host: "".concat(UE, "://").concat(jE),
				protocol: UE,
				deliveryStrategy: {
					...wpe
				}
			}
		}
	};
class bpe {
	constructor() {
		this._identified = !1, this._appName = "onboard"
	}
	setExtraContext({
		deviceId: t
	}) {
		this._deviceId = t
	}
	getExtraContext() {
		return {
			app_name: this._appName,
			device_id: this._deviceId,
			auth_status: this._identified ? P2.LoggedIn : P2.LoggedOut
		}
	}
	identifyUser(t) {
		var n;
		this.getAnalytics(), (n = this._analytics) == null || n.identify(t.id, {
			$email: t.email,
			$user_id: t.id,
			name: t.name,
			created_at: t.created
		}), this._identified = !0
	}
	identifyAnon(t) {
		var n;
		this.getAnalytics(), (n = this._analytics) == null || n.identify(t)
	}
	identifyAuth0(t) {
		this.getAnalytics(), this.identifyAnon({
			$email: t.email,
			uid: t.sub,
			email_verified: t.email_verified,
			name: t.name,
			nickname: t.nickname,
			avatar: t.picture,
			updated_at: t.updated_at
		})
	}
	init() {
		this.getAnalytics()
	}
	getAnalytics() {
		var t;
		return !this._analytics && !Oj && (this._analytics = gpe.load(ype, _pe), (t = this._analytics) == null || t.addSourceMiddleware(Spe(this))), this._analytics
	}
	track(t, n) {
		var r;
		(r = this.getAnalytics()) == null || r.track(t, n)
	}
	page(t, n) {
		var r;
		(r = this.getAnalytics()) == null || r.page(t, n)
	}
}
const oc = new bpe;

function Spe(e) {
	return ({
		payload: t,
		next: n
	}) => {
		t.obj.context = {
			...t.obj.context,
			...e.getExtraContext()
		}, n(t)
	}
}
var HE;
(function(e) {
	e.apiKeyGenerateKeyArkoseTokenLoaded = "API Key: Generate Key Arkose Token Loaded", e.apiKeyResendGenerateKeyArkoseTokenLoaded = "API Key: Resend Generate Key Arkose Token Loaded", e.ageVerificationCancelAgeVerificationAccountDeactivation = "Age Verification: Cancel Age Verification: Account Deactivation", e.ageVerificationCancelAgeVerificationComplete = "Age Verification: Cancel Age Verification: Complete", e.ageVerificationCancelAgeVerificationPage = "Age Verification: Cancel Age Verification Page", e.ageVerificationCancelAgeVerificationShowCloseButton = "Age Verification: Cancel Age Verification: Show Close Button", e.ageVerificationProcessAgeVerificationAccountDeactivated = "Age Verification: Process Age Verification: Account Deactivated", e.ageVerificationProcessAgeVerificationClose = "Age Verification: Process Age Verification: Close", e.ageVerificationProcessAgeVerificationComplete = "Age Verification: Process Age Verification: Complete", e.ageVerificationProcessAgeVerificationIncomplete = "Age Verification: Process Age Verification: Incomplete", e.ageVerificationProcessAgeVerificationPage = "Age Verification: Process Age Verification Page", e.ageVerificationProcessAgeVerificationProcessingError = "Age Verification: Process Age Verification: Processing Error", e.ageVerificationVerifyAgePage = "Age Verification: Verify Age Page", e.ageVerificationVerifyAgeRedirectToProvider = "Age Verification: Verify Age: Redirect To Provider", e.ageVerificationVerifyAgeRequirementsNotMetError = "Age Verification: Verify Age: Requirements Not Met Error", e.ageVerificationVerifyAgeSessionCreated = "Age Verification: Verify Age: Session Created", e.ageVerificationVerifyAgeSessionCreationError = "Age Verification: Verify Age: Session Creation Error", e.ageVerificationVerifyAgeSessionCreationInitiated = "Age Verification: Verify Age: Session Creation Initiated", e.arkoseScriptCallback = "Arkose: Script callback", e.arkosePendingDataAppliedOnLoad = "Arkose: Pending data applied on load", e.arkoseDataSetBeforeLoaded = "Arkose: Data set before loaded", e.arkoseScriptOnload = "Arkose: Script onload", e.arkoseScriptOnerror = "Arkose: Script onerror", e.onboardingAuthError = "Onboarding: Auth Error", e.onboardingCreateAccountError = "Onboarding: Create Account: Error", e.onboardingCreateAccountIDVerification = "Onboarding: Create Account: ID Verification", e.onboardingCreateAccountSuccess = "Onboarding: Create Account: Success", e.onboardingGenerateKeyArkoseTokenLoaded = "Onboarding: Generate Key Arkose Token Loaded", e.onboardingPhoneCodeCheck = "Onboarding: Phone Code: Check", e.onboardingPhoneCodeError = "Onboarding: Phone Code: Error", e.onboardingPhoneCodeGoBack = "Onboarding: Phone Code: Go Back", e.onboardingPhoneCodeResent = "Onboarding: Phone Code: Resent", e.onboardingPhoneCodeResendError = "Onboarding: Phone Code: Resend Error", e.onboardingPhoneCodeSuccess = "Onboarding: Phone Code: Success", e.onboardingPhoneInputError = "Onboarding: Phone Input: Error", e.onboardingPhoneInputPageArkoseTokenLoaded = "Onboarding: Phone Input Page Arkose Token Loaded", e.onboardingPhoneInputSent = "Onboarding: Phone Input: Sent", e.onboardingResendPhoneInputArkoseTokenLoaded = "Onboarding: Resend Phone Input Arkose Token Loaded", e.onboardingUserInfoComplete = "Onboarding: User Info: Complete", e.onboardingUserInfoIncompleteForm = "Onboarding: User Info: Incomplete Form", e.onboardingUserInfoPage = "Onboarding: User Info Page", e.onboardingVerifyEmailPage = "Onboarding: Verify Email Page", e.onboardingVerifyEmailSend = "Onboarding: Verify Email: Send", e.onboardingVerifyEmailResend = "Onboarding: Verify Email: Resend", e.onboardingVerifyEmailCheckError = "Onboarding: Verify Email: Check Error", e.onboardingVerifyEmailSendError = "Onboarding: Verify Email: Send Error", e.onboardingVerifyEmailResendError = "Onboarding: Verify Email: Resend Error", e.onboardingVerifyIdPage = "Onboarding: Verify Id Page", e.platformPhoneVerifyCodeCheck = "Platform: Phon Verify: Code Check", e.platformPhoneVerifyPhoneInput = "Platform: Phone Verify: Phone Input"
})(HE || (HE = {}));
var qo;
(function(e) {
	e[e.authorizationApiKeyRefresh = 0] = "authorizationApiKeyRefresh", e[e.apiKeyCreateProject = 1] = "apiKeyCreateProject", e[e.apiKeyCreateUser = 2] = "apiKeyCreateUser", e[e.apiKeyCreateOrganization = 3] = "apiKeyCreateOrganization", e[e.apiKeyCreateAdmin = 4] = "apiKeyCreateAdmin", e[e.apiKeyUpdateProject = 5] = "apiKeyUpdateProject", e[e.apiKeyUpdateUser = 6] = "apiKeyUpdateUser", e[e.apiKeyUpdateOrganization = 7] = "apiKeyUpdateOrganization", e[e.apiKeyUpdateAdmin = 8] = "apiKeyUpdateAdmin", e[e.apiKeyRevokeProject = 9] = "apiKeyRevokeProject", e[e.apiKeyRevokeUser = 10] = "apiKeyRevokeUser", e[e.apiKeyRevokeOrganization = 11] = "apiKeyRevokeOrganization", e[e.apiKeyRevokeAdmin = 12] = "apiKeyRevokeAdmin", e[e.accountOrganizationInvite = 13] = "accountOrganizationInvite", e[e.accountOrganizationUpgrade = 14] = "accountOrganizationUpgrade", e[e.billingAutoReachargeUpdate = 15] = "billingAutoReachargeUpdate", e[e.billingLimitsUpdate = 16] = "billingLimitsUpdate", e[e.billingPayment = 17] = "billingPayment", e[e.billingPaymentAuth = 18] = "billingPaymentAuth", e[e.billingPaymentMethodDelete = 19] = "billingPaymentMethodDelete", e[e.billingPaymentMethodUpdate = 20] = "billingPaymentMethodUpdate", e[e.billingPlanCancel = 21] = "billingPlanCancel", e[e.billingPlanSetDefault = 22] = "billingPlanSetDefault", e[e.billingPlanUpdate = 23] = "billingPlanUpdate", e[e.billingPreferencesUpdate = 24] = "billingPreferencesUpdate", e[e.billingPurchaseCredits = 25] = "billingPurchaseCredits", e[e.docsOpenExampleDetails = 26] = "docsOpenExampleDetails", e[e.docsOpenDeepDive = 27] = "docsOpenDeepDive", e[e.noticeAlertDismiss = 28] = "noticeAlertDismiss", e[e.usageError = 29] = "usageError", e[e.usageDownloadCost = 30] = "usageDownloadCost", e[e.usageDownloadActivity = 31] = "usageDownloadActivity", e[e.localStorageError = 32] = "localStorageError", e[e.localStorageFull = 33] = "localStorageFull", e[e.moderationEvent = 34] = "moderationEvent", e[e.assistantsCreateAssistant = 35] = "assistantsCreateAssistant", e[e.assistantsUpdateAssistant = 36] = "assistantsUpdateAssistant", e[e.assistantsCreateJsonSchema = 37] = "assistantsCreateJsonSchema", e[e.assistantsUpdateJsonSchema = 38] = "assistantsUpdateJsonSchema", e[e.assistantsAssistantSwitchAPIVersion = 39] = "assistantsAssistantSwitchAPIVersion", e[e.assistantsVectorStoreCreate = 40] = "assistantsVectorStoreCreate", e[e.threadsViewThread = 41] = "threadsViewThread", e[e.fineTuningCreateJob = 42] = "fineTuningCreateJob", e[e.batchCreateBatch = 43] = "batchCreateBatch", e[e.evalsCreateEvalRun = 44] = "evalsCreateEvalRun", e[e.vectorStoresCreateAssistant = 45] = "vectorStoresCreateAssistant", e[e.vectorStoresCreateVectorStore = 46] = "vectorStoresCreateVectorStore", e[e.filesUploadFile = 47] = "filesUploadFile", e[e.playgroundAssistantsFunctionSubmitResponse = 48] = "playgroundAssistantsFunctionSubmitResponse", e[e.playgroundAssistantsAddMessage = 49] = "playgroundAssistantsAddMessage", e[e.playgroundAssistantsAddFunction = 50] = "playgroundAssistantsAddFunction", e[e.playgroundAssistantsUpdateFunction = 51] = "playgroundAssistantsUpdateFunction", e[e.playgroundAssistantsCreateJsonSchema = 52] = "playgroundAssistantsCreateJsonSchema", e[e.playgroundAssistantsUpdateJsonSchema = 53] = "playgroundAssistantsUpdateJsonSchema", e[e.playgroundAssistantsCreateAssistant = 54] = "playgroundAssistantsCreateAssistant", e[e.playgroundAssistantsUpdateAssistant = 55] = "playgroundAssistantsUpdateAssistant", e[e.playgroundAssistantsAssistantVectorStoreCreate = 56] = "playgroundAssistantsAssistantVectorStoreCreate", e[e.playgroundAssistantsThreadVectorStoreCreate = 57] = "playgroundAssistantsThreadVectorStoreCreate", e[e.playgroundAssistantsClearThread = 58] = "playgroundAssistantsClearThread", e[e.playgroundAssistantsCreateThread = 59] = "playgroundAssistantsCreateThread", e[e.playgroundAssistantsRun = 60] = "playgroundAssistantsRun", e[e.playgroundAssistantsRunCancel = 61] = "playgroundAssistantsRunCancel", e[e.playgroundAssistantsSwitchAPIVersion = 62] = "playgroundAssistantsSwitchAPIVersion", e[e.playgroundAssistantsViewLogs = 63] = "playgroundAssistantsViewLogs", e[e.playgroundAssistantsHideLogs = 64] = "playgroundAssistantsHideLogs", e[e.playgroundChatAddFunction = 65] = "playgroundChatAddFunction", e[e.playgroundChatUpdateFunction = 66] = "playgroundChatUpdateFunction", e[e.playgroundChatCreateJsonSchema = 67] = "playgroundChatCreateJsonSchema", e[e.playgroundChatUpdateJsonSchema = 68] = "playgroundChatUpdateJsonSchema", e[e.playgroundChatAddMessage = 69] = "playgroundChatAddMessage", e[e.playgroundChatRun = 70] = "playgroundChatRun", e[e.playgroundChatShowHistory = 71] = "playgroundChatShowHistory", e[e.playgroundChatViewCode = 72] = "playgroundChatViewCode", e[e.playgroundChatUpdatePreset = 73] = "playgroundChatUpdatePreset", e[e.playgroundChatCreatePreset = 74] = "playgroundChatCreatePreset", e[e.playgroundChatCopyPresetLink = 75] = "playgroundChatCopyPresetLink", e[e.playgroundChatLoadPreset = 76] = "playgroundChatLoadPreset", e[e.playgroundChatStreamError = 77] = "playgroundChatStreamError", e[e.playgroundCompletionsCancelCompletion = 78] = "playgroundCompletionsCancelCompletion", e[e.playgroundCompletionsCreateCompletion = 79] = "playgroundCompletionsCreateCompletion", e[e.playgroundCompletionsCompletionFinish = 80] = "playgroundCompletionsCompletionFinish", e[e.playgroundCompletionsCompletionFeedback = 81] = "playgroundCompletionsCompletionFeedback", e[e.playgroundCompletionsCompletionRegenerate = 82] = "playgroundCompletionsCompletionRegenerate", e[e.playgroundCompletionsCompletionUndo = 83] = "playgroundCompletionsCompletionUndo", e[e.playgroundCompletionsUnsafeWarningToggle = 84] = "playgroundCompletionsUnsafeWarningToggle", e[e.playgroundCompletionsPublishPreset = 85] = "playgroundCompletionsPublishPreset", e[e.playgroundCompletionsUpdatePreset = 86] = "playgroundCompletionsUpdatePreset", e[e.playgroundCompletionsCreatePreset = 87] = "playgroundCompletionsCreatePreset", e[e.playgroundCompletionsCopyPresetLink = 88] = "playgroundCompletionsCopyPresetLink", e[e.playgroundCompletionsLoadPreset = 89] = "playgroundCompletionsLoadPreset", e[e.playgroundCompletionsClearSettings = 90] = "playgroundCompletionsClearSettings", e[e.playgroundCompletionsUpdateSettings = 91] = "playgroundCompletionsUpdateSettings", e[e.playgroundCompletionsRestoreHistory = 92] = "playgroundCompletionsRestoreHistory", e[e.playgroundTTSRun = 93] = "playgroundTTSRun", e[e.playgroundTTSToggleAutoplay = 94] = "playgroundTTSToggleAutoplay", e[e.playgroundMiniCompletion = 95] = "playgroundMiniCompletion", e[e.playgroundChangeModel = 96] = "playgroundChangeModel", e[e.playgroundOpenExample = 97] = "playgroundOpenExample", e[e.ssoCreate = 98] = "ssoCreate", e[e.ssoUpdate = 99] = "ssoUpdate", e[e.ssoDelete = 100] = "ssoDelete", e[e.ssoEnable = 101] = "ssoEnable", e[e.ssoDisable = 102] = "ssoDisable", e[e.navigationHelpClick = 103] = "navigationHelpClick"
})(qo || (qo = {}));
var vA;
(function(e) {
	e.account = "account", e.apiKeys = "api-keys", e.billing = "billing", e.docs = "docs", e.playground = "playground", e.sso = "sso", e.dashboard = "dashboard", e.navigation = "navigation"
})(vA || (vA = {}));
var gA;
(function(e) {
	e.project = "project", e.user = "user", e.organization = "organization", e.autoRecharge = "auto-recharge", e.limits = "limits", e.payment = "payment", e.paymentMethod = "payment-method", e.plan = "plan", e.preferences = "preferences", e.credits = "credits", e.alert = "alert", e.localStorage = "local-storage", e.moderation = "moderation", e.assistants = "assistants", e.chat = "chat", e.completions = "completions", e.mini = "mini", e.storage = "storage", e.tts = "tts", e.threads = "threads", e.fineTuning = "fine-tuning", e.batch = "batch", e.evals = "evals", e.usage = "usage", e.sidepanel = "sidepanel"
})(gA || (gA = {}));
var mA;
(function(e) {
	e.exampleDetails = "example-details", e.deepDive = "deep-dive", e.thread = "thread", e.assistant = "assistant", e.settings = "settings", e.history = "history", e.files = "files", e.vectorStores = "vector-stores", e.logs = "logs"
})(mA || (mA = {}));
var yA;
(function(e) {
	e.apiKey = "api-key", e.message = "message", e.function = "function", e.run = "run", e.preset = "preset", e.stream = "stream", e.completion = "completion", e.model = "model", e.example = "example", e.unsafeWarnings = "unsafe-warnings", e.history = "history", e.code = "code", e.assistant = "assistant", e.tool = "tool", e.file = "file", e.apiVersion = "api-version", e.autoPlay = "autoplay", e.job = "job", e.vectorStore = "vectorStore", e.activity = "activity", e.cost = "cost", e.help = "help", e.jsonSchema = "json-schema"
})(yA || (yA = {}));
var wA;
(function(e) {
	e.auth = "auth", e.cancel = "cancel", e.revoke = "revoke", e.refresh = "refresh", e.invite = "invite", e.create = "create", e.update = "update", e.delete = "delete", e.upgrade = "upgrade", e.process = "process", e.setDefault = "set-default", e.purchase = "purchase", e.open = "open", e.dismiss = "dismiss", e.error = "error", e.full = "full", e.response = "response", e.submitResponse = "submit-response", e.add = "add", e.clear = "clear", e.change = "change", e.copyLink = "copy-link", e.load = "load", e.finish = "finish", e.feedback = "feedback", e.regenerate = "regenerate", e.undo = "undo", e.publish = "publish", e.restore = "restore", e.enable = "enable", e.disable = "disable", e.view = "view", e.hide = "hide", e.toggle = "toggle", e.download = "download", e.click = "click"
})(wA || (wA = {}));

function fe(e, t, n, r, i) {
	return "".concat(e != null ? e : "", ":").concat(t != null ? t : "", ":").concat(n != null ? n : "", ":").concat(r != null ? r : "", ":").concat(i != null ? i : "")
}
const _A = {
	98: fe("sso", void 0, void 0, void 0, "create"),
	99: fe("sso", void 0, void 0, void 0, "update"),
	100: fe("sso", void 0, void 0, void 0, "delete"),
	102: fe("sso", void 0, void 0, void 0, "disable"),
	101: fe("sso", void 0, void 0, void 0, "enable"),
	0: fe(void 0, void 0, void 0, "api-key", "refresh"),
	1: fe("api-keys", "project", void 0, void 0, "create"),
	2: fe("api-keys", "user", void 0, void 0, "create"),
	3: fe("api-keys", "organization", void 0, void 0, "create"),
	4: fe("api-keys", "organization", void 0, void 0, "create"),
	5: fe("api-keys", "project", void 0, void 0, "update"),
	6: fe("api-keys", "user", void 0, void 0, "update"),
	7: fe("api-keys", "organization", void 0, void 0, "update"),
	8: fe("api-keys", "organization", void 0, void 0, "update"),
	9: fe("api-keys", "project", void 0, void 0, "revoke"),
	10: fe("api-keys", "user", void 0, void 0, "revoke"),
	11: fe("api-keys", "organization", void 0, void 0, "revoke"),
	12: fe("api-keys", "organization", void 0, void 0, "revoke"),
	13: fe("account", "organization", void 0, void 0, "invite"),
	14: fe("account", "organization", void 0, void 0, "upgrade"),
	15: fe("billing", "auto-recharge", void 0, void 0, "update"),
	16: fe("billing", "limits", void 0, void 0, "update"),
	17: fe("billing", "payment", void 0, void 0, "process"),
	18: fe("billing", "payment", void 0, void 0, "auth"),
	19: fe("billing", "payment-method", void 0, void 0, "delete"),
	20: fe("billing", "payment-method", void 0, void 0, "update"),
	21: fe("billing", "plan", void 0, void 0, "cancel"),
	22: fe("billing", "plan", void 0, void 0, "set-default"),
	23: fe("billing", "plan", void 0, void 0, "update"),
	24: fe("billing", "preferences", void 0, void 0, "update"),
	25: fe("billing", "credits", void 0, void 0, "purchase"),
	26: fe("docs", void 0, "example-details", void 0, "open"),
	27: fe("docs", void 0, "deep-dive", void 0, "open"),
	28: fe(void 0, "alert", void 0, void 0, "dismiss"),
	29: fe("dashboard", "usage", void 0, void 0, "error"),
	31: fe("dashboard", "usage", void 0, "activity", "download"),
	30: fe("dashboard", "usage", void 0, "cost", "download"),
	32: fe(void 0, "local-storage", void 0, void 0, "error"),
	33: fe(void 0, "local-storage", void 0, void 0, "full"),
	34: fe("playground", "moderation", void 0, void 0, "response"),
	42: fe("dashboard", "fine-tuning", void 0, "job", "create"),
	43: fe("dashboard", "batch", void 0, "job", "create"),
	44: fe("dashboard", "evals", void 0, "run", "create"),
	45: fe("dashboard", "storage", "vector-stores", "assistant", "create"),
	46: fe("dashboard", "storage", "vector-stores", "vectorStore", "create"),
	47: fe("dashboard", "storage", "files", "file", "create"),
	41: fe("dashboard", "threads", "thread", void 0, "view"),
	35: fe("dashboard", "assistants", "assistant", void 0, "create"),
	36: fe("dashboard", "assistants", "assistant", void 0, "update"),
	39: fe("dashboard", "assistants", "assistant", "api-version", "update"),
	40: fe("dashboard", "assistants", "assistant", "vectorStore", "create"),
	37: fe("dashboard", "assistants", "assistant", "json-schema", "create"),
	38: fe("dashboard", "assistants", "assistant", "json-schema", "update"),
	56: fe("playground", "assistants", "assistant", "vectorStore", "create"),
	54: fe("playground", "assistants", "assistant", void 0, "create"),
	55: fe("playground", "assistants", "assistant", void 0, "update"),
	62: fe("playground", "assistants", "assistant", "api-version", "update"),
	63: fe("playground", "assistants", "logs", void 0, "view"),
	64: fe("playground", "assistants", "logs", void 0, "hide"),
	50: fe("playground", "assistants", "assistant", "function", "add"),
	51: fe("playground", "assistants", "assistant", "function", "update"),
	52: fe("playground", "assistants", "assistant", "json-schema", "create"),
	53: fe("playground", "assistants", "assistant", "json-schema", "update"),
	48: fe("playground", "assistants", "thread", "function", "submit-response"),
	49: fe("playground", "assistants", "thread", "message", "add"),
	57: fe("playground", "assistants", "thread", "vectorStore", "create"),
	58: fe("playground", "assistants", "thread", void 0, "clear"),
	59: fe("playground", "assistants", "thread", void 0, "create"),
	60: fe("playground", "assistants", "thread", "run", "create"),
	61: fe("playground", "assistants", "thread", "run", "cancel"),
	65: fe("playground", "chat", void 0, "function", "add"),
	66: fe("playground", "chat", void 0, "function", "update"),
	67: fe("playground", "chat", void 0, "json-schema", "create"),
	68: fe("playground", "chat", void 0, "json-schema", "update"),
	69: fe("playground", "chat", void 0, "message", "add"),
	70: fe("playground", "chat", void 0, "run", "create"),
	71: fe("playground", "chat", void 0, "history", "view"),
	72: fe("playground", "chat", void 0, "code", "view"),
	73: fe("playground", "chat", void 0, "preset", "update"),
	74: fe("playground", "chat", void 0, "preset", "create"),
	75: fe("playground", "chat", void 0, "preset", "copy-link"),
	76: fe("playground", "chat", void 0, "preset", "load"),
	77: fe("playground", "chat", void 0, "stream", "error"),
	78: fe("playground", "completions", void 0, "completion", "cancel"),
	79: fe("playground", "completions", void 0, "completion", "create"),
	80: fe("playground", "completions", void 0, "completion", "finish"),
	81: fe("playground", "completions", void 0, "completion", "feedback"),
	82: fe("playground", "completions", void 0, "completion", "regenerate"),
	83: fe("playground", "completions", void 0, "completion", "undo"),
	84: fe("playground", "completions", void 0, "unsafe-warnings", "update"),
	85: fe("playground", "completions", void 0, "preset", "publish"),
	86: fe("playground", "completions", void 0, "preset", "update"),
	87: fe("playground", "completions", void 0, "preset", "create"),
	88: fe("playground", "completions", void 0, "preset", "copy-link"),
	89: fe("playground", "completions", void 0, "preset", "load"),
	90: fe("playground", "completions", "settings", void 0, "clear"),
	91: fe("playground", "completions", "settings", void 0, "update"),
	92: fe("playground", "completions", "history", void 0, "restore"),
	93: fe("playground", "tts", void 0, "completion", "create"),
	94: fe("playground", "tts", void 0, "autoplay", "toggle"),
	95: fe("playground", "mini", void 0, "completion", "create"),
	96: fe("playground", void 0, void 0, "model", "change"),
	97: fe("playground", void 0, void 0, "example", "open"),
	103: fe("navigation", "sidepanel", void 0, "help", "click")
};

function xpe(e) {
	let t = 0;
	for (let i = 0, o = e.length; i < o; i++) {
		const a = e.charCodeAt(i);
		t = (t << 5) - t + a, t |= 0
	}
	const n = 2147483647,
		r = -2147483647;
	return (t - r) / (n - r)
}
const Epe = 1,
	DU = "17a324b9a66d8716fc3273948551013c";
var wp, Lc, _p, Yn, Nc, w1, fo, Dc;
class Cpe {
	constructor() {
		_a(this, wp, !1);
		_a(this, Lc, !0);
		_a(this, _p, !1);
		_a(this, Yn, !0);
		_a(this, Nc, {
			orgId: null,
			projectId: null
		});
		_a(this, w1, !1);
		_a(this, fo, H0);
		_a(this, Dc, H0)
	}
	optOut() {
		oi(this, Lc, !0), oi(this, fo, !0), oi(this, Dc, !0), oi(this, Yn, !0), pt(this, wp) && (gu.clear_opt_in_out_tracking(), gu.opt_out_tracking({
			delete_user: !0
		}), gu.reset(), gu.disable())
	}
	optIn() {
		oi(this, fo, H0), oi(this, Dc, H0), oi(this, Yn, !1)
	}
	dashboardEvent({
		name: t,
		data: n
	}) {
		const r = _A[t];
		this._sendMixpanelEvent(r, n), this._sendClientEventsServiceEvent(r, n)
	}
	onboardingEvent(t, n) {
		this._sendClientEventsServiceEvent(t, n), this._sendStatsigEvent(t, n)
	}
	publicDashboardEvent({
		name: t,
		data: n
	}) {
		const r = _A[t];
		this._sendMixpanelEvent(r, n, !1), !pt(this, fo) && !pt(this, Yn) && (this._initializeClientEventsService(), this._sendClientEventsServiceEvent(r, n, !1))
	}
	publicAuthEvent(t, n) {
		!pt(this, fo) && !pt(this, Yn) && (this._initializeClientEventsService(), this._sendClientEventsServiceEvent(t, n, !1)), this._sendStatsigEvent(t, n)
	}
	pageview(t, n) {
		this._sendMixpanelEvent("page_view", {
			page: t,
			...n
		}, !1), this._pageViewedClientEventsService(t, {
			page: t,
			...n
		})
	}
	publicCesPageview(t, n) {
		this._pageViewedClientEventsService(t, {
			page: t,
			...n
		})
	}
	setUserMetadata(t) {
		!pt(this, fo) && !pt(this, Yn) && (this._initializeClientEventsService(), oc.identifyAnon(t))
	}
	setAuth0User(t) {
		const n = (t.email || "").toLowerCase();
		oi(this, Lc, xpe(n) > Epe), !pt(this, fo) && !pt(this, Yn) && (this._initializeClientEventsService(), oc.identifyAuth0(t))
	}
	setLoggerExtraContext({
		deviceId: t
	}) {
		oc.setExtraContext({
			deviceId: t
		})
	}
	setUserInfo(t) {
		oi(this, Nc, {
			...pt(this, Nc),
			...t
		})
	}
	async setBackendUser(t) {
		const n = t.orgs.data.map(r => r.name);
		!pt(this, Lc) && !pt(this, Yn) && (this._initializeMixpanel(), gu.identify(t.id), gu.people.set({
			$email: t.email,
			$user_id: t.id,
			name: t.name,
			organizations: n
		})), !pt(this, fo) && !pt(this, Yn) && (this._initializeClientEventsService(), oc.identifyUser(t)), !pt(this, Dc) && !pt(this, Yn) && await Ev.updateUser(t), oi(this, _p, !0)
	}
	_initializeMixpanel() {
		!pt(this, wp) && !pt(this, Yn) && (gu.init(DU, {
			cross_subdomain_cookie: !1
		}), oi(this, wp, !0))
	}
	_initializeClientEventsService() {
		!pt(this, w1) && !pt(this, Yn) && (oc.init(), oi(this, w1, !0))
	}
	_sendMixpanelEvent(t, n, r = !0) {
		n = {
			...n,
			openai_app: "API",
			...pt(this, Nc)
		}, !(r && !pt(this, _p)) && (pt(this, Lc) || pt(this, Yn) || (this._initializeMixpanel(), gu.track(t, n)))
	}
	_pageViewedClientEventsService(t, n) {
		pt(this, fo) || pt(this, Yn) || (this._initializeClientEventsService(), oc.page(t, n))
	}
	_sendClientEventsServiceEvent(t, n, r = !0) {
		pt(this, fo) || pt(this, Yn) || (n = {
			...n,
			openai_app: "PLATFORM",
			...pt(this, Nc)
		}, !(r && !pt(this, _p)) && (this._initializeClientEventsService(), oc.track(t, n)))
	}
	_sendStatsigEvent(t, n) {
		pt(this, Dc) || pt(this, Yn) || (n = {
			...n,
			openai_app: "PLATFORM"
		}, Ev.logEvent(t, null, n))
	}
}
wp = new WeakMap, Lc = new WeakMap, _p = new WeakMap, Yn = new WeakMap, Nc = new WeakMap, w1 = new WeakMap, fo = new WeakMap, Dc = new WeakMap;
const Tn = new Cpe;
class k1 {
	constructor() {
		this.listeners = new Set, this.subscribe = this.subscribe.bind(this)
	}
	subscribe(t) {
		const n = {
			listener: t
		};
		return this.listeners.add(n), this.onSubscribe(), () => {
			this.listeners.delete(n), this.onUnsubscribe()
		}
	}
	hasListeners() {
		return this.listeners.size > 0
	}
	onSubscribe() {}
	onUnsubscribe() {}
}
const Rv = typeof window > "u" || "Deno" in window;

function po() {}

function Ope(e, t) {
	return typeof e == "function" ? e(t) : e
}

function VE(e) {
	return typeof e == "number" && e >= 0 && e !== 1 / 0
}

function $U(e, t) {
	return Math.max(e + (t || 0) - Date.now(), 0)
}

function V0(e, t, n) {
	return A1(e) ? typeof t == "function" ? {
		...n,
		queryKey: e,
		queryFn: t
	} : {
		...t,
		queryKey: e
	} : e
}

function Tot(e, t, n) {
	return A1(e) ? {
		...t,
		mutationKey: e
	} : typeof e == "function" ? {
		...t,
		mutationFn: e
	} : {
		...e
	}
}

function Iu(e, t, n) {
	return A1(e) ? [{
		...t,
		queryKey: e
	}, n] : [e || {}, t]
}

function bA(e, t) {
	const {
		type: n = "all",
		exact: r,
		fetchStatus: i,
		predicate: o,
		queryKey: a,
		stale: s
	} = e;
	if (A1(a)) {
		if (r) {
			if (t.queryHash !== IO(a, t.options)) return !1
		} else if (!$2(t.queryKey, a)) return !1
	}
	if (n !== "all") {
		const u = t.isActive();
		if (n === "active" && !u || n === "inactive" && u) return !1
	}
	return !(typeof s == "boolean" && t.isStale() !== s || typeof i < "u" && i !== t.state.fetchStatus || o && !o(t))
}

function SA(e, t) {
	const {
		exact: n,
		fetching: r,
		predicate: i,
		mutationKey: o
	} = e;
	if (A1(o)) {
		if (!t.options.mutationKey) return !1;
		if (n) {
			if (Oc(t.options.mutationKey) !== Oc(o)) return !1
		} else if (!$2(t.options.mutationKey, o)) return !1
	}
	return !(typeof r == "boolean" && t.state.status === "loading" !== r || i && !i(t))
}

function IO(e, t) {
	return ((t == null ? void 0 : t.queryKeyHashFn) || Oc)(e)
}

function Oc(e) {
	return JSON.stringify(e, (t, n) => zE(n) ? Object.keys(n).sort().reduce((r, i) => (r[i] = n[i], r), {}) : n)
}

function $2(e, t) {
	return FU(e, t)
}

function FU(e, t) {
	return e === t ? !0 : typeof e != typeof t ? !1 : e && t && typeof e == "object" && typeof t == "object" ? !Object.keys(t).some(n => !FU(e[n], t[n])) : !1
}

function jU(e, t) {
	if (e === t) return e;
	const n = xA(e) && xA(t);
	if (n || zE(e) && zE(t)) {
		const r = n ? e.length : Object.keys(e).length,
			i = n ? t : Object.keys(t),
			o = i.length,
			a = n ? [] : {};
		let s = 0;
		for (let u = 0; u < o; u++) {
			const l = n ? u : i[u];
			a[l] = jU(e[l], t[l]), a[l] === e[l] && s++
		}
		return r === o && s === r ? e : a
	}
	return t
}

function BE(e, t) {
	if (e && !t || t && !e) return !1;
	for (const n in e)
		if (e[n] !== t[n]) return !1;
	return !0
}

function xA(e) {
	return Array.isArray(e) && e.length === Object.keys(e).length
}

function zE(e) {
	if (!EA(e)) return !1;
	const t = e.constructor;
	if (typeof t > "u") return !0;
	const n = t.prototype;
	return !(!EA(n) || !n.hasOwnProperty("isPrototypeOf"))
}

function EA(e) {
	return Object.prototype.toString.call(e) === "[object Object]"
}

function A1(e) {
	return Array.isArray(e)
}

function UU(e) {
	return new Promise(t => {
		setTimeout(t, e)
	})
}

function CA(e) {
	UU(0).then(e)
}

function Tpe() {
	if (typeof AbortController == "function") return new AbortController
}

function GE(e, t, n) {
	return n.isDataEqual != null && n.isDataEqual(e, t) ? e : typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing !== !1 ? jU(e, t) : t
}
class Rpe extends k1 {
	constructor() {
		super(), this.setup = t => {
			if (!Rv && window.addEventListener) {
				const n = () => t();
				return window.addEventListener("visibilitychange", n, !1), window.addEventListener("focus", n, !1), () => {
					window.removeEventListener("visibilitychange", n), window.removeEventListener("focus", n)
				}
			}
		}
	}
	onSubscribe() {
		this.cleanup || this.setEventListener(this.setup)
	}
	onUnsubscribe() {
		if (!this.hasListeners()) {
			var t;
			(t = this.cleanup) == null || t.call(this), this.cleanup = void 0
		}
	}
	setEventListener(t) {
		var n;
		this.setup = t, (n = this.cleanup) == null || n.call(this), this.cleanup = t(r => {
			typeof r == "boolean" ? this.setFocused(r) : this.onFocus()
		})
	}
	setFocused(t) {
		this.focused !== t && (this.focused = t, this.onFocus())
	}
	onFocus() {
		this.listeners.forEach(({
			listener: t
		}) => {
			t()
		})
	}
	isFocused() {
		return typeof this.focused == "boolean" ? this.focused : typeof document > "u" ? !0 : [void 0, "visible", "prerender"].includes(document.visibilityState)
	}
}
const F2 = new Rpe,
	OA = ["online", "offline"];
class Ipe extends k1 {
	constructor() {
		super(), this.setup = t => {
			if (!Rv && window.addEventListener) {
				const n = () => t();
				return OA.forEach(r => {
					window.addEventListener(r, n, !1)
				}), () => {
					OA.forEach(r => {
						window.removeEventListener(r, n)
					})
				}
			}
		}
	}
	onSubscribe() {
		this.cleanup || this.setEventListener(this.setup)
	}
	onUnsubscribe() {
		if (!this.hasListeners()) {
			var t;
			(t = this.cleanup) == null || t.call(this), this.cleanup = void 0
		}
	}
	setEventListener(t) {
		var n;
		this.setup = t, (n = this.cleanup) == null || n.call(this), this.cleanup = t(r => {
			typeof r == "boolean" ? this.setOnline(r) : this.onOnline()
		})
	}
	setOnline(t) {
		this.online !== t && (this.online = t, this.onOnline())
	}
	onOnline() {
		this.listeners.forEach(({
			listener: t
		}) => {
			t()
		})
	}
	isOnline() {
		return typeof this.online == "boolean" ? this.online : typeof navigator > "u" || typeof navigator.onLine > "u" ? !0 : navigator.onLine
	}
}
const j2 = new Ipe;

function kpe(e) {
	return Math.min(1e3 * 2 ** e, 3e4)
}

function W_(e) {
	return (e != null ? e : "online") === "online" ? j2.isOnline() : !0
}
class HU {
	constructor(t) {
		this.revert = t == null ? void 0 : t.revert, this.silent = t == null ? void 0 : t.silent
	}
}

function Fy(e) {
	return e instanceof HU
}

function VU(e) {
	let t = !1,
		n = 0,
		r = !1,
		i, o, a;
	const s = new Promise((S, y) => {
			o = S, a = y
		}),
		u = S => {
			r || (g(new HU(S)), e.abort == null || e.abort())
		},
		l = () => {
			t = !0
		},
		c = () => {
			t = !1
		},
		d = () => !F2.isFocused() || e.networkMode !== "always" && !j2.isOnline(),
		p = S => {
			r || (r = !0, e.onSuccess == null || e.onSuccess(S), i == null || i(), o(S))
		},
		g = S => {
			r || (r = !0, e.onError == null || e.onError(S), i == null || i(), a(S))
		},
		m = () => new Promise(S => {
			i = y => {
				const w = r || !d();
				return w && S(y), w
			}, e.onPause == null || e.onPause()
		}).then(() => {
			i = void 0, r || e.onContinue == null || e.onContinue()
		}),
		_ = () => {
			if (r) return;
			let S;
			try {
				S = e.fn()
			} catch (y) {
				S = Promise.reject(y)
			}
			Promise.resolve(S).then(p).catch(y => {
				var w, b;
				if (r) return;
				const E = (w = e.retry) != null ? w : 3,
					T = (b = e.retryDelay) != null ? b : kpe,
					O = typeof T == "function" ? T(n, y) : T,
					R = E === !0 || typeof E == "number" && n < E || typeof E == "function" && E(n, y);
				if (t || !R) {
					g(y);
					return
				}
				n++, e.onFail == null || e.onFail(n, y), UU(O).then(() => {
					if (d()) return m()
				}).then(() => {
					t ? g(y) : _()
				})
			})
		};
	return W_(e.networkMode) ? _() : m().then(_), {
		promise: s,
		cancel: u,
		continue: () => (i == null ? void 0 : i()) ? s : Promise.resolve(),
		cancelRetry: l,
		continueRetry: c
	}
}
const kO = console;

function Ape() {
	let e = [],
		t = 0,
		n = c => {
			c()
		},
		r = c => {
			c()
		};
	const i = c => {
			let d;
			t++;
			try {
				d = c()
			} finally {
				t--, t || s()
			}
			return d
		},
		o = c => {
			t ? e.push(c) : CA(() => {
				n(c)
			})
		},
		a = c => (...d) => {
			o(() => {
				c(...d)
			})
		},
		s = () => {
			const c = e;
			e = [], c.length && CA(() => {
				r(() => {
					c.forEach(d => {
						n(d)
					})
				})
			})
		};
	return {
		batch: i,
		batchCalls: a,
		schedule: o,
		setNotifyFunction: c => {
			n = c
		},
		setBatchNotifyFunction: c => {
			r = c
		}
	}
}
const Pn = Ape();
class BU {
	destroy() {
		this.clearGcTimeout()
	}
	scheduleGc() {
		this.clearGcTimeout(), VE(this.cacheTime) && (this.gcTimeout = setTimeout(() => {
			this.optionalRemove()
		}, this.cacheTime))
	}
	updateCacheTime(t) {
		this.cacheTime = Math.max(this.cacheTime || 0, t != null ? t : Rv ? 1 / 0 : 5 * 60 * 1e3)
	}
	clearGcTimeout() {
		this.gcTimeout && (clearTimeout(this.gcTimeout), this.gcTimeout = void 0)
	}
}
class Mpe extends BU {
	constructor(t) {
		super(), this.abortSignalConsumed = !1, this.defaultOptions = t.defaultOptions, this.setOptions(t.options), this.observers = [], this.cache = t.cache, this.logger = t.logger || kO, this.queryKey = t.queryKey, this.queryHash = t.queryHash, this.initialState = t.state || Ppe(this.options), this.state = this.initialState, this.scheduleGc()
	}
	get meta() {
		return this.options.meta
	}
	setOptions(t) {
		this.options = {
			...this.defaultOptions,
			...t
		}, this.updateCacheTime(this.options.cacheTime)
	}
	optionalRemove() {
		!this.observers.length && this.state.fetchStatus === "idle" && this.cache.remove(this)
	}
	setData(t, n) {
		const r = GE(this.state.data, t, this.options);
		return this.dispatch({
			data: r,
			type: "success",
			dataUpdatedAt: n == null ? void 0 : n.updatedAt,
			manual: n == null ? void 0 : n.manual
		}), r
	}
	setState(t, n) {
		this.dispatch({
			type: "setState",
			state: t,
			setStateOptions: n
		})
	}
	cancel(t) {
		var n;
		const r = this.promise;
		return (n = this.retryer) == null || n.cancel(t), r ? r.then(po).catch(po) : Promise.resolve()
	}
	destroy() {
		super.destroy(), this.cancel({
			silent: !0
		})
	}
	reset() {
		this.destroy(), this.setState(this.initialState)
	}
	isActive() {
		return this.observers.some(t => t.options.enabled !== !1)
	}
	isDisabled() {
		return this.getObserversCount() > 0 && !this.isActive()
	}
	isStale() {
		return this.state.isInvalidated || !this.state.dataUpdatedAt || this.observers.some(t => t.getCurrentResult().isStale)
	}
	isStaleByTime(t = 0) {
		return this.state.isInvalidated || !this.state.dataUpdatedAt || !$U(this.state.dataUpdatedAt, t)
	}
	onFocus() {
		var t;
		const n = this.observers.find(r => r.shouldFetchOnWindowFocus());
		n && n.refetch({
			cancelRefetch: !1
		}), (t = this.retryer) == null || t.continue()
	}
	onOnline() {
		var t;
		const n = this.observers.find(r => r.shouldFetchOnReconnect());
		n && n.refetch({
			cancelRefetch: !1
		}), (t = this.retryer) == null || t.continue()
	}
	addObserver(t) {
		this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), this.cache.notify({
			type: "observerAdded",
			query: this,
			observer: t
		}))
	}
	removeObserver(t) {
		this.observers.includes(t) && (this.observers = this.observers.filter(n => n !== t), this.observers.length || (this.retryer && (this.abortSignalConsumed ? this.retryer.cancel({
			revert: !0
		}) : this.retryer.cancelRetry()), this.scheduleGc()), this.cache.notify({
			type: "observerRemoved",
			query: this,
			observer: t
		}))
	}
	getObserversCount() {
		return this.observers.length
	}
	invalidate() {
		this.state.isInvalidated || this.dispatch({
			type: "invalidate"
		})
	}
	fetch(t, n) {
		var r, i;
		if (this.state.fetchStatus !== "idle") {
			if (this.state.dataUpdatedAt && n != null && n.cancelRefetch) this.cancel({
				silent: !0
			});
			else if (this.promise) {
				var o;
				return (o = this.retryer) == null || o.continueRetry(), this.promise
			}
		}
		if (t && this.setOptions(t), !this.options.queryFn) {
			const g = this.observers.find(m => m.options.queryFn);
			g && this.setOptions(g.options)
		}
		Array.isArray(this.options.queryKey);
		const a = Tpe(),
			s = {
				queryKey: this.queryKey,
				pageParam: void 0,
				meta: this.meta
			},
			u = g => {
				Object.defineProperty(g, "signal", {
					enumerable: !0,
					get: () => {
						if (a) return this.abortSignalConsumed = !0, a.signal
					}
				})
			};
		u(s);
		const l = () => this.options.queryFn ? (this.abortSignalConsumed = !1, this.options.queryFn(s)) : Promise.reject("Missing queryFn for queryKey '" + this.options.queryHash + "'"),
			c = {
				fetchOptions: n,
				options: this.options,
				queryKey: this.queryKey,
				state: this.state,
				fetchFn: l
			};
		if (u(c), (r = this.options.behavior) == null || r.onFetch(c), this.revertState = this.state, this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((i = c.fetchOptions) == null ? void 0 : i.meta)) {
			var d;
			this.dispatch({
				type: "fetch",
				meta: (d = c.fetchOptions) == null ? void 0 : d.meta
			})
		}
		const p = g => {
			if (Fy(g) && g.silent || this.dispatch({
					type: "error",
					error: g
				}), !Fy(g)) {
				var m, _, S, y;
				(m = (_ = this.cache.config).onError) == null || m.call(_, g, this), (S = (y = this.cache.config).onSettled) == null || S.call(y, this.state.data, g, this)
			}
			this.isFetchingOptimistic || this.scheduleGc(), this.isFetchingOptimistic = !1
		};
		return this.retryer = VU({
			fn: c.fetchFn,
			abort: a == null ? void 0 : a.abort.bind(a),
			onSuccess: g => {
				var m, _, S, y;
				if (typeof g > "u") {
					p(new Error(this.queryHash + " data is undefined"));
					return
				}
				this.setData(g), (m = (_ = this.cache.config).onSuccess) == null || m.call(_, g, this), (S = (y = this.cache.config).onSettled) == null || S.call(y, g, this.state.error, this), this.isFetchingOptimistic || this.scheduleGc(), this.isFetchingOptimistic = !1
			},
			onError: p,
			onFail: (g, m) => {
				this.dispatch({
					type: "failed",
					failureCount: g,
					error: m
				})
			},
			onPause: () => {
				this.dispatch({
					type: "pause"
				})
			},
			onContinue: () => {
				this.dispatch({
					type: "continue"
				})
			},
			retry: c.options.retry,
			retryDelay: c.options.retryDelay,
			networkMode: c.options.networkMode
		}), this.promise = this.retryer.promise, this.promise
	}
	dispatch(t) {
		const n = r => {
			var i, o;
			switch (t.type) {
				case "failed":
					return {
						...r, fetchFailureCount: t.failureCount, fetchFailureReason: t.error
					};
				case "pause":
					return {
						...r, fetchStatus: "paused"
					};
				case "continue":
					return {
						...r, fetchStatus: "fetching"
					};
				case "fetch":
					return {
						...r, fetchFailureCount: 0, fetchFailureReason: null, fetchMeta: (i = t.meta) != null ? i : null, fetchStatus: W_(this.options.networkMode) ? "fetching" : "paused", ...!r.dataUpdatedAt && {
							error: null,
							status: "loading"
						}
					};
				case "success":
					return {
						...r, data: t.data, dataUpdateCount: r.dataUpdateCount + 1, dataUpdatedAt: (o = t.dataUpdatedAt) != null ? o : Date.now(), error: null, isInvalidated: !1, status: "success", ...!t.manual && {
							fetchStatus: "idle",
							fetchFailureCount: 0,
							fetchFailureReason: null
						}
					};
				case "error":
					const a = t.error;
					return Fy(a) && a.revert && this.revertState ? {
						...this.revertState
					} : {
						...r,
						error: a,
						errorUpdateCount: r.errorUpdateCount + 1,
						errorUpdatedAt: Date.now(),
						fetchFailureCount: r.fetchFailureCount + 1,
						fetchFailureReason: a,
						fetchStatus: "idle",
						status: "error"
					};
				case "invalidate":
					return {
						...r, isInvalidated: !0
					};
				case "setState":
					return {
						...r, ...t.state
					}
			}
		};
		this.state = n(this.state), Pn.batch(() => {
			this.observers.forEach(r => {
				r.onQueryUpdate(t)
			}), this.cache.notify({
				query: this,
				type: "updated",
				action: t
			})
		})
	}
}

function Ppe(e) {
	const t = typeof e.initialData == "function" ? e.initialData() : e.initialData,
		n = typeof t < "u",
		r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
	return {
		data: t,
		dataUpdateCount: 0,
		dataUpdatedAt: n ? r != null ? r : Date.now() : 0,
		error: null,
		errorUpdateCount: 0,
		errorUpdatedAt: 0,
		fetchFailureCount: 0,
		fetchFailureReason: null,
		fetchMeta: null,
		isInvalidated: !1,
		status: n ? "success" : "loading",
		fetchStatus: "idle"
	}
}
class Lpe extends k1 {
	constructor(t) {
		super(), this.config = t || {}, this.queries = [], this.queriesMap = {}
	}
	build(t, n, r) {
		var i;
		const o = n.queryKey,
			a = (i = n.queryHash) != null ? i : IO(o, n);
		let s = this.get(a);
		return s || (s = new Mpe({
			cache: this,
			logger: t.getLogger(),
			queryKey: o,
			queryHash: a,
			options: t.defaultQueryOptions(n),
			state: r,
			defaultOptions: t.getQueryDefaults(o)
		}), this.add(s)), s
	}
	add(t) {
		this.queriesMap[t.queryHash] || (this.queriesMap[t.queryHash] = t, this.queries.push(t), this.notify({
			type: "added",
			query: t
		}))
	}
	remove(t) {
		const n = this.queriesMap[t.queryHash];
		n && (t.destroy(), this.queries = this.queries.filter(r => r !== t), n === t && delete this.queriesMap[t.queryHash], this.notify({
			type: "removed",
			query: t
		}))
	}
	clear() {
		Pn.batch(() => {
			this.queries.forEach(t => {
				this.remove(t)
			})
		})
	}
	get(t) {
		return this.queriesMap[t]
	}
	getAll() {
		return this.queries
	}
	find(t, n) {
		const [r] = Iu(t, n);
		return typeof r.exact > "u" && (r.exact = !0), this.queries.find(i => bA(r, i))
	}
	findAll(t, n) {
		const [r] = Iu(t, n);
		return Object.keys(r).length > 0 ? this.queries.filter(i => bA(r, i)) : this.queries
	}
	notify(t) {
		Pn.batch(() => {
			this.listeners.forEach(({
				listener: n
			}) => {
				n(t)
			})
		})
	}
	onFocus() {
		Pn.batch(() => {
			this.queries.forEach(t => {
				t.onFocus()
			})
		})
	}
	onOnline() {
		Pn.batch(() => {
			this.queries.forEach(t => {
				t.onOnline()
			})
		})
	}
}
class Npe extends BU {
	constructor(t) {
		super(), this.defaultOptions = t.defaultOptions, this.mutationId = t.mutationId, this.mutationCache = t.mutationCache, this.logger = t.logger || kO, this.observers = [], this.state = t.state || Dpe(), this.setOptions(t.options), this.scheduleGc()
	}
	setOptions(t) {
		this.options = {
			...this.defaultOptions,
			...t
		}, this.updateCacheTime(this.options.cacheTime)
	}
	get meta() {
		return this.options.meta
	}
	setState(t) {
		this.dispatch({
			type: "setState",
			state: t
		})
	}
	addObserver(t) {
		this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), this.mutationCache.notify({
			type: "observerAdded",
			mutation: this,
			observer: t
		}))
	}
	removeObserver(t) {
		this.observers = this.observers.filter(n => n !== t), this.scheduleGc(), this.mutationCache.notify({
			type: "observerRemoved",
			mutation: this,
			observer: t
		})
	}
	optionalRemove() {
		this.observers.length || (this.state.status === "loading" ? this.scheduleGc() : this.mutationCache.remove(this))
	}
	continue () {
		var t, n;
		return (t = (n = this.retryer) == null ? void 0 : n.continue()) != null ? t : this.execute()
	}
	async execute() {
		const t = () => {
				var R;
				return this.retryer = VU({
					fn: () => this.options.mutationFn ? this.options.mutationFn(this.state.variables) : Promise.reject("No mutationFn found"),
					onFail: (k, M) => {
						this.dispatch({
							type: "failed",
							failureCount: k,
							error: M
						})
					},
					onPause: () => {
						this.dispatch({
							type: "pause"
						})
					},
					onContinue: () => {
						this.dispatch({
							type: "continue"
						})
					},
					retry: (R = this.options.retry) != null ? R : 0,
					retryDelay: this.options.retryDelay,
					networkMode: this.options.networkMode
				}), this.retryer.promise
			},
			n = this.state.status === "loading";
		try {
			var r, i, o, a, s, u, l, c;
			if (!n) {
				var d, p, g, m;
				this.dispatch({
					type: "loading",
					variables: this.options.variables
				}), await ((d = (p = this.mutationCache.config).onMutate) == null ? void 0 : d.call(p, this.state.variables, this));
				const k = await ((g = (m = this.options).onMutate) == null ? void 0 : g.call(m, this.state.variables));
				k !== this.state.context && this.dispatch({
					type: "loading",
					context: k,
					variables: this.state.variables
				})
			}
			const R = await t();
			return await ((r = (i = this.mutationCache.config).onSuccess) == null ? void 0 : r.call(i, R, this.state.variables, this.state.context, this)), await ((o = (a = this.options).onSuccess) == null ? void 0 : o.call(a, R, this.state.variables, this.state.context)), await ((s = (u = this.mutationCache.config).onSettled) == null ? void 0 : s.call(u, R, null, this.state.variables, this.state.context, this)), await ((l = (c = this.options).onSettled) == null ? void 0 : l.call(c, R, null, this.state.variables, this.state.context)), this.dispatch({
				type: "success",
				data: R
			}), R
		} catch (R) {
			try {
				var _, S, y, w, b, E, T, O;
				throw await ((_ = (S = this.mutationCache.config).onError) == null ? void 0 : _.call(S, R, this.state.variables, this.state.context, this)), await ((y = (w = this.options).onError) == null ? void 0 : y.call(w, R, this.state.variables, this.state.context)), await ((b = (E = this.mutationCache.config).onSettled) == null ? void 0 : b.call(E, void 0, R, this.state.variables, this.state.context, this)), await ((T = (O = this.options).onSettled) == null ? void 0 : T.call(O, void 0, R, this.state.variables, this.state.context)), R
			} finally {
				this.dispatch({
					type: "error",
					error: R
				})
			}
		}
	}
	dispatch(t) {
		const n = r => {
			switch (t.type) {
				case "failed":
					return {
						...r, failureCount: t.failureCount, failureReason: t.error
					};
				case "pause":
					return {
						...r, isPaused: !0
					};
				case "continue":
					return {
						...r, isPaused: !1
					};
				case "loading":
					return {
						...r, context: t.context, data: void 0, failureCount: 0, failureReason: null, error: null, isPaused: !W_(this.options.networkMode), status: "loading", variables: t.variables
					};
				case "success":
					return {
						...r, data: t.data, failureCount: 0, failureReason: null, error: null, status: "success", isPaused: !1
					};
				case "error":
					return {
						...r, data: void 0, error: t.error, failureCount: r.failureCount + 1, failureReason: t.error, isPaused: !1, status: "error"
					};
				case "setState":
					return {
						...r, ...t.state
					}
			}
		};
		this.state = n(this.state), Pn.batch(() => {
			this.observers.forEach(r => {
				r.onMutationUpdate(t)
			}), this.mutationCache.notify({
				mutation: this,
				type: "updated",
				action: t
			})
		})
	}
}

function Dpe() {
	return {
		context: void 0,
		data: void 0,
		error: null,
		failureCount: 0,
		failureReason: null,
		isPaused: !1,
		status: "idle",
		variables: void 0
	}
}
class $pe extends k1 {
	constructor(t) {
		super(), this.config = t || {}, this.mutations = [], this.mutationId = 0
	}
	build(t, n, r) {
		const i = new Npe({
			mutationCache: this,
			logger: t.getLogger(),
			mutationId: ++this.mutationId,
			options: t.defaultMutationOptions(n),
			state: r,
			defaultOptions: n.mutationKey ? t.getMutationDefaults(n.mutationKey) : void 0
		});
		return this.add(i), i
	}
	add(t) {
		this.mutations.push(t), this.notify({
			type: "added",
			mutation: t
		})
	}
	remove(t) {
		this.mutations = this.mutations.filter(n => n !== t), this.notify({
			type: "removed",
			mutation: t
		})
	}
	clear() {
		Pn.batch(() => {
			this.mutations.forEach(t => {
				this.remove(t)
			})
		})
	}
	getAll() {
		return this.mutations
	}
	find(t) {
		return typeof t.exact > "u" && (t.exact = !0), this.mutations.find(n => SA(t, n))
	}
	findAll(t) {
		return this.mutations.filter(n => SA(t, n))
	}
	notify(t) {
		Pn.batch(() => {
			this.listeners.forEach(({
				listener: n
			}) => {
				n(t)
			})
		})
	}
	resumePausedMutations() {
		var t;
		return this.resuming = ((t = this.resuming) != null ? t : Promise.resolve()).then(() => {
			const n = this.mutations.filter(r => r.state.isPaused);
			return Pn.batch(() => n.reduce((r, i) => r.then(() => i.continue().catch(po)), Promise.resolve()))
		}).then(() => {
			this.resuming = void 0
		}), this.resuming
	}
}

function Fpe() {
	return {
		onFetch: e => {
			e.fetchFn = () => {
				var t, n, r, i, o, a;
				const s = (t = e.fetchOptions) == null || (n = t.meta) == null ? void 0 : n.refetchPage,
					u = (r = e.fetchOptions) == null || (i = r.meta) == null ? void 0 : i.fetchMore,
					l = u == null ? void 0 : u.pageParam,
					c = (u == null ? void 0 : u.direction) === "forward",
					d = (u == null ? void 0 : u.direction) === "backward",
					p = ((o = e.state.data) == null ? void 0 : o.pages) || [],
					g = ((a = e.state.data) == null ? void 0 : a.pageParams) || [];
				let m = g,
					_ = !1;
				const S = O => {
						Object.defineProperty(O, "signal", {
							enumerable: !0,
							get: () => {
								var R;
								if ((R = e.signal) != null && R.aborted) _ = !0;
								else {
									var k;
									(k = e.signal) == null || k.addEventListener("abort", () => {
										_ = !0
									})
								}
								return e.signal
							}
						})
					},
					y = e.options.queryFn || (() => Promise.reject("Missing queryFn for queryKey '" + e.options.queryHash + "'")),
					w = (O, R, k, M) => (m = M ? [R, ...m] : [...m, R], M ? [k, ...O] : [...O, k]),
					b = (O, R, k, M) => {
						if (_) return Promise.reject("Cancelled");
						if (typeof k > "u" && !R && O.length) return Promise.resolve(O);
						const D = {
							queryKey: e.queryKey,
							pageParam: k,
							meta: e.options.meta
						};
						S(D);
						const P = y(D);
						return Promise.resolve(P).then(H => w(O, k, H, M))
					};
				let E;
				if (!p.length) E = b([]);
				else if (c) {
					const O = typeof l < "u",
						R = O ? l : WE(e.options, p);
					E = b(p, O, R)
				} else if (d) {
					const O = typeof l < "u",
						R = O ? l : zU(e.options, p);
					E = b(p, O, R, !0)
				} else {
					m = [];
					const O = typeof e.options.getNextPageParam > "u";
					E = (s && p[0] ? s(p[0], 0, p) : !0) ? b([], O, g[0]) : Promise.resolve(w([], g[0], p[0]));
					for (let k = 1; k < p.length; k++) E = E.then(M => {
						if (s && p[k] ? s(p[k], k, p) : !0) {
							const P = O ? g[k] : WE(e.options, M);
							return b(M, O, P)
						}
						return Promise.resolve(w(M, g[k], p[k]))
					})
				}
				return E.then(O => ({
					pages: O,
					pageParams: m
				}))
			}
		}
	}
}

function WE(e, t) {
	return e.getNextPageParam == null ? void 0 : e.getNextPageParam(t[t.length - 1], t)
}

function zU(e, t) {
	return e.getPreviousPageParam == null ? void 0 : e.getPreviousPageParam(t[0], t)
}

function Rot(e, t) {
	if (e.getNextPageParam && Array.isArray(t)) {
		const n = WE(e, t);
		return typeof n < "u" && n !== null && n !== !1
	}
}

function Iot(e, t) {
	if (e.getPreviousPageParam && Array.isArray(t)) {
		const n = zU(e, t);
		return typeof n < "u" && n !== null && n !== !1
	}
}
class jpe {
	constructor(t = {}) {
		this.queryCache = t.queryCache || new Lpe, this.mutationCache = t.mutationCache || new $pe, this.logger = t.logger || kO, this.defaultOptions = t.defaultOptions || {}, this.queryDefaults = [], this.mutationDefaults = [], this.mountCount = 0
	}
	mount() {
		this.mountCount++, this.mountCount === 1 && (this.unsubscribeFocus = F2.subscribe(() => {
			F2.isFocused() && (this.resumePausedMutations(), this.queryCache.onFocus())
		}), this.unsubscribeOnline = j2.subscribe(() => {
			j2.isOnline() && (this.resumePausedMutations(), this.queryCache.onOnline())
		}))
	}
	unmount() {
		var t, n;
		this.mountCount--, this.mountCount === 0 && ((t = this.unsubscribeFocus) == null || t.call(this), this.unsubscribeFocus = void 0, (n = this.unsubscribeOnline) == null || n.call(this), this.unsubscribeOnline = void 0)
	}
	isFetching(t, n) {
		const [r] = Iu(t, n);
		return r.fetchStatus = "fetching", this.queryCache.findAll(r).length
	}
	isMutating(t) {
		return this.mutationCache.findAll({
			...t,
			fetching: !0
		}).length
	}
	getQueryData(t, n) {
		var r;
		return (r = this.queryCache.find(t, n)) == null ? void 0 : r.state.data
	}
	ensureQueryData(t, n, r) {
		const i = V0(t, n, r),
			o = this.getQueryData(i.queryKey);
		return o ? Promise.resolve(o) : this.fetchQuery(i)
	}
	getQueriesData(t) {
		return this.getQueryCache().findAll(t).map(({
			queryKey: n,
			state: r
		}) => {
			const i = r.data;
			return [n, i]
		})
	}
	setQueryData(t, n, r) {
		const i = this.queryCache.find(t),
			o = i == null ? void 0 : i.state.data,
			a = Ope(n, o);
		if (typeof a > "u") return;
		const s = V0(t),
			u = this.defaultQueryOptions(s);
		return this.queryCache.build(this, u).setData(a, {
			...r,
			manual: !0
		})
	}
	setQueriesData(t, n, r) {
		return Pn.batch(() => this.getQueryCache().findAll(t).map(({
			queryKey: i
		}) => [i, this.setQueryData(i, n, r)]))
	}
	getQueryState(t, n) {
		var r;
		return (r = this.queryCache.find(t, n)) == null ? void 0 : r.state
	}
	removeQueries(t, n) {
		const [r] = Iu(t, n), i = this.queryCache;
		Pn.batch(() => {
			i.findAll(r).forEach(o => {
				i.remove(o)
			})
		})
	}
	resetQueries(t, n, r) {
		const [i, o] = Iu(t, n, r), a = this.queryCache, s = {
			type: "active",
			...i
		};
		return Pn.batch(() => (a.findAll(i).forEach(u => {
			u.reset()
		}), this.refetchQueries(s, o)))
	}
	cancelQueries(t, n, r) {
		const [i, o = {}] = Iu(t, n, r);
		typeof o.revert > "u" && (o.revert = !0);
		const a = Pn.batch(() => this.queryCache.findAll(i).map(s => s.cancel(o)));
		return Promise.all(a).then(po).catch(po)
	}
	invalidateQueries(t, n, r) {
		const [i, o] = Iu(t, n, r);
		return Pn.batch(() => {
			var a, s;
			if (this.queryCache.findAll(i).forEach(l => {
					l.invalidate()
				}), i.refetchType === "none") return Promise.resolve();
			const u = {
				...i,
				type: (a = (s = i.refetchType) != null ? s : i.type) != null ? a : "active"
			};
			return this.refetchQueries(u, o)
		})
	}
	refetchQueries(t, n, r) {
		const [i, o] = Iu(t, n, r), a = Pn.batch(() => this.queryCache.findAll(i).filter(u => !u.isDisabled()).map(u => {
			var l;
			return u.fetch(void 0, {
				...o,
				cancelRefetch: (l = o == null ? void 0 : o.cancelRefetch) != null ? l : !0,
				meta: {
					refetchPage: i.refetchPage
				}
			})
		}));
		let s = Promise.all(a).then(po);
		return o != null && o.throwOnError || (s = s.catch(po)), s
	}
	fetchQuery(t, n, r) {
		const i = V0(t, n, r),
			o = this.defaultQueryOptions(i);
		typeof o.retry > "u" && (o.retry = !1);
		const a = this.queryCache.build(this, o);
		return a.isStaleByTime(o.staleTime) ? a.fetch(o) : Promise.resolve(a.state.data)
	}
	prefetchQuery(t, n, r) {
		return this.fetchQuery(t, n, r).then(po).catch(po)
	}
	fetchInfiniteQuery(t, n, r) {
		const i = V0(t, n, r);
		return i.behavior = Fpe(), this.fetchQuery(i)
	}
	prefetchInfiniteQuery(t, n, r) {
		return this.fetchInfiniteQuery(t, n, r).then(po).catch(po)
	}
	resumePausedMutations() {
		return this.mutationCache.resumePausedMutations()
	}
	getQueryCache() {
		return this.queryCache
	}
	getMutationCache() {
		return this.mutationCache
	}
	getLogger() {
		return this.logger
	}
	getDefaultOptions() {
		return this.defaultOptions
	}
	setDefaultOptions(t) {
		this.defaultOptions = t
	}
	setQueryDefaults(t, n) {
		const r = this.queryDefaults.find(i => Oc(t) === Oc(i.queryKey));
		r ? r.defaultOptions = n : this.queryDefaults.push({
			queryKey: t,
			defaultOptions: n
		})
	}
	getQueryDefaults(t) {
		if (!t) return;
		const n = this.queryDefaults.find(r => $2(t, r.queryKey));
		return n == null ? void 0 : n.defaultOptions
	}
	setMutationDefaults(t, n) {
		const r = this.mutationDefaults.find(i => Oc(t) === Oc(i.mutationKey));
		r ? r.defaultOptions = n : this.mutationDefaults.push({
			mutationKey: t,
			defaultOptions: n
		})
	}
	getMutationDefaults(t) {
		if (!t) return;
		const n = this.mutationDefaults.find(r => $2(t, r.mutationKey));
		return n == null ? void 0 : n.defaultOptions
	}
	defaultQueryOptions(t) {
		if (t != null && t._defaulted) return t;
		const n = {
			...this.defaultOptions.queries,
			...this.getQueryDefaults(t == null ? void 0 : t.queryKey),
			...t,
			_defaulted: !0
		};
		return !n.queryHash && n.queryKey && (n.queryHash = IO(n.queryKey, n)), typeof n.refetchOnReconnect > "u" && (n.refetchOnReconnect = n.networkMode !== "always"), typeof n.useErrorBoundary > "u" && (n.useErrorBoundary = !!n.suspense), n
	}
	defaultMutationOptions(t) {
		return t != null && t._defaulted ? t : {
			...this.defaultOptions.mutations,
			...this.getMutationDefaults(t == null ? void 0 : t.mutationKey),
			...t,
			_defaulted: !0
		}
	}
	clear() {
		this.queryCache.clear(), this.mutationCache.clear()
	}
}
class Upe extends k1 {
	constructor(t, n) {
		super(), this.client = t, this.options = n, this.trackedProps = new Set, this.selectError = null, this.bindMethods(), this.setOptions(n)
	}
	bindMethods() {
		this.remove = this.remove.bind(this), this.refetch = this.refetch.bind(this)
	}
	onSubscribe() {
		this.listeners.size === 1 && (this.currentQuery.addObserver(this), TA(this.currentQuery, this.options) && this.executeFetch(), this.updateTimers())
	}
	onUnsubscribe() {
		this.hasListeners() || this.destroy()
	}
	shouldFetchOnReconnect() {
		return KE(this.currentQuery, this.options, this.options.refetchOnReconnect)
	}
	shouldFetchOnWindowFocus() {
		return KE(this.currentQuery, this.options, this.options.refetchOnWindowFocus)
	}
	destroy() {
		this.listeners = new Set, this.clearStaleTimeout(), this.clearRefetchInterval(), this.currentQuery.removeObserver(this)
	}
	setOptions(t, n) {
		const r = this.options,
			i = this.currentQuery;
		if (this.options = this.client.defaultQueryOptions(t), BE(r, this.options) || this.client.getQueryCache().notify({
				type: "observerOptionsUpdated",
				query: this.currentQuery,
				observer: this
			}), typeof this.options.enabled < "u" && typeof this.options.enabled != "boolean") throw new Error("Expected enabled to be a boolean");
		this.options.queryKey || (this.options.queryKey = r.queryKey), this.updateQuery();
		const o = this.hasListeners();
		o && RA(this.currentQuery, i, this.options, r) && this.executeFetch(), this.updateResult(n), o && (this.currentQuery !== i || this.options.enabled !== r.enabled || this.options.staleTime !== r.staleTime) && this.updateStaleTimeout();
		const a = this.computeRefetchInterval();
		o && (this.currentQuery !== i || this.options.enabled !== r.enabled || a !== this.currentRefetchInterval) && this.updateRefetchInterval(a)
	}
	getOptimisticResult(t) {
		const n = this.client.getQueryCache().build(this.client, t),
			r = this.createResult(n, t);
		return Vpe(this, r, t) && (this.currentResult = r, this.currentResultOptions = this.options, this.currentResultState = this.currentQuery.state), r
	}
	getCurrentResult() {
		return this.currentResult
	}
	trackResult(t) {
		const n = {};
		return Object.keys(t).forEach(r => {
			Object.defineProperty(n, r, {
				configurable: !1,
				enumerable: !0,
				get: () => (this.trackedProps.add(r), t[r])
			})
		}), n
	}
	getCurrentQuery() {
		return this.currentQuery
	}
	remove() {
		this.client.getQueryCache().remove(this.currentQuery)
	}
	refetch({
		refetchPage: t,
		...n
	} = {}) {
		return this.fetch({
			...n,
			meta: {
				refetchPage: t
			}
		})
	}
	fetchOptimistic(t) {
		const n = this.client.defaultQueryOptions(t),
			r = this.client.getQueryCache().build(this.client, n);
		return r.isFetchingOptimistic = !0, r.fetch().then(() => this.createResult(r, n))
	}
	fetch(t) {
		var n;
		return this.executeFetch({
			...t,
			cancelRefetch: (n = t.cancelRefetch) != null ? n : !0
		}).then(() => (this.updateResult(), this.currentResult))
	}
	executeFetch(t) {
		this.updateQuery();
		let n = this.currentQuery.fetch(this.options, t);
		return t != null && t.throwOnError || (n = n.catch(po)), n
	}
	updateStaleTimeout() {
		if (this.clearStaleTimeout(), Rv || this.currentResult.isStale || !VE(this.options.staleTime)) return;
		const n = $U(this.currentResult.dataUpdatedAt, this.options.staleTime) + 1;
		this.staleTimeoutId = setTimeout(() => {
			this.currentResult.isStale || this.updateResult()
		}, n)
	}
	computeRefetchInterval() {
		var t;
		return typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.currentResult.data, this.currentQuery) : (t = this.options.refetchInterval) != null ? t : !1
	}
	updateRefetchInterval(t) {
		this.clearRefetchInterval(), this.currentRefetchInterval = t, !(Rv || this.options.enabled === !1 || !VE(this.currentRefetchInterval) || this.currentRefetchInterval === 0) && (this.refetchIntervalId = setInterval(() => {
			(this.options.refetchIntervalInBackground || F2.isFocused()) && this.executeFetch()
		}, this.currentRefetchInterval))
	}
	updateTimers() {
		this.updateStaleTimeout(), this.updateRefetchInterval(this.computeRefetchInterval())
	}
	clearStaleTimeout() {
		this.staleTimeoutId && (clearTimeout(this.staleTimeoutId), this.staleTimeoutId = void 0)
	}
	clearRefetchInterval() {
		this.refetchIntervalId && (clearInterval(this.refetchIntervalId), this.refetchIntervalId = void 0)
	}
	createResult(t, n) {
		const r = this.currentQuery,
			i = this.options,
			o = this.currentResult,
			a = this.currentResultState,
			s = this.currentResultOptions,
			u = t !== r,
			l = u ? t.state : this.currentQueryInitialState,
			c = u ? this.currentResult : this.previousQueryResult,
			{
				state: d
			} = t;
		let {
			dataUpdatedAt: p,
			error: g,
			errorUpdatedAt: m,
			fetchStatus: _,
			status: S
		} = d, y = !1, w = !1, b;
		if (n._optimisticResults) {
			const k = this.hasListeners(),
				M = !k && TA(t, n),
				D = k && RA(t, r, n, i);
			(M || D) && (_ = W_(t.options.networkMode) ? "fetching" : "paused", p || (S = "loading")), n._optimisticResults === "isRestoring" && (_ = "idle")
		}
		if (n.keepPreviousData && !d.dataUpdatedAt && c != null && c.isSuccess && S !== "error") b = c.data, p = c.dataUpdatedAt, S = c.status, y = !0;
		else if (n.select && typeof d.data < "u")
			if (o && d.data === (a == null ? void 0 : a.data) && n.select === this.selectFn) b = this.selectResult;
			else try {
				this.selectFn = n.select, b = n.select(d.data), b = GE(o == null ? void 0 : o.data, b, n), this.selectResult = b, this.selectError = null
			} catch (k) {
				this.selectError = k
			} else b = d.data;
		if (typeof n.placeholderData < "u" && typeof b > "u" && S === "loading") {
			let k;
			if (o != null && o.isPlaceholderData && n.placeholderData === (s == null ? void 0 : s.placeholderData)) k = o.data;
			else if (k = typeof n.placeholderData == "function" ? n.placeholderData() : n.placeholderData, n.select && typeof k < "u") try {
				k = n.select(k), this.selectError = null
			} catch (M) {
				this.selectError = M
			}
			typeof k < "u" && (S = "success", b = GE(o == null ? void 0 : o.data, k, n), w = !0)
		}
		this.selectError && (g = this.selectError, b = this.selectResult, m = Date.now(), S = "error");
		const E = _ === "fetching",
			T = S === "loading",
			O = S === "error";
		return {
			status: S,
			fetchStatus: _,
			isLoading: T,
			isSuccess: S === "success",
			isError: O,
			isInitialLoading: T && E,
			data: b,
			dataUpdatedAt: p,
			error: g,
			errorUpdatedAt: m,
			failureCount: d.fetchFailureCount,
			failureReason: d.fetchFailureReason,
			errorUpdateCount: d.errorUpdateCount,
			isFetched: d.dataUpdateCount > 0 || d.errorUpdateCount > 0,
			isFetchedAfterMount: d.dataUpdateCount > l.dataUpdateCount || d.errorUpdateCount > l.errorUpdateCount,
			isFetching: E,
			isRefetching: E && !T,
			isLoadingError: O && d.dataUpdatedAt === 0,
			isPaused: _ === "paused",
			isPlaceholderData: w,
			isPreviousData: y,
			isRefetchError: O && d.dataUpdatedAt !== 0,
			isStale: AO(t, n),
			refetch: this.refetch,
			remove: this.remove
		}
	}
	updateResult(t) {
		const n = this.currentResult,
			r = this.createResult(this.currentQuery, this.options);
		if (this.currentResultState = this.currentQuery.state, this.currentResultOptions = this.options, BE(r, n)) return;
		this.currentResult = r;
		const i = {
				cache: !0
			},
			o = () => {
				if (!n) return !0;
				const {
					notifyOnChangeProps: a
				} = this.options, s = typeof a == "function" ? a() : a;
				if (s === "all" || !s && !this.trackedProps.size) return !0;
				const u = new Set(s != null ? s : this.trackedProps);
				return this.options.useErrorBoundary && u.add("error"), Object.keys(this.currentResult).some(l => {
					const c = l;
					return this.currentResult[c] !== n[c] && u.has(c)
				})
			};
		(t == null ? void 0 : t.listeners) !== !1 && o() && (i.listeners = !0), this.notify({
			...i,
			...t
		})
	}
	updateQuery() {
		const t = this.client.getQueryCache().build(this.client, this.options);
		if (t === this.currentQuery) return;
		const n = this.currentQuery;
		this.currentQuery = t, this.currentQueryInitialState = t.state, this.previousQueryResult = this.currentResult, this.hasListeners() && (n == null || n.removeObserver(this), t.addObserver(this))
	}
	onQueryUpdate(t) {
		const n = {};
		t.type === "success" ? n.onSuccess = !t.manual : t.type === "error" && !Fy(t.error) && (n.onError = !0), this.updateResult(n), this.hasListeners() && this.updateTimers()
	}
	notify(t) {
		Pn.batch(() => {
			if (t.onSuccess) {
				var n, r, i, o;
				(n = (r = this.options).onSuccess) == null || n.call(r, this.currentResult.data), (i = (o = this.options).onSettled) == null || i.call(o, this.currentResult.data, null)
			} else if (t.onError) {
				var a, s, u, l;
				(a = (s = this.options).onError) == null || a.call(s, this.currentResult.error), (u = (l = this.options).onSettled) == null || u.call(l, void 0, this.currentResult.error)
			}
			t.listeners && this.listeners.forEach(({
				listener: c
			}) => {
				c(this.currentResult)
			}), t.cache && this.client.getQueryCache().notify({
				query: this.currentQuery,
				type: "observerResultsUpdated"
			})
		})
	}
}

function Hpe(e, t) {
	return t.enabled !== !1 && !e.state.dataUpdatedAt && !(e.state.status === "error" && t.retryOnMount === !1)
}

function TA(e, t) {
	return Hpe(e, t) || e.state.dataUpdatedAt > 0 && KE(e, t, t.refetchOnMount)
}

function KE(e, t, n) {
	if (t.enabled !== !1) {
		const r = typeof n == "function" ? n(e) : n;
		return r === "always" || r !== !1 && AO(e, t)
	}
	return !1
}

function RA(e, t, n, r) {
	return n.enabled !== !1 && (e !== t || r.enabled === !1) && (!n.suspense || e.state.status !== "error") && AO(e, n)
}

function AO(e, t) {
	return e.isStaleByTime(t.staleTime)
}

function Vpe(e, t, n) {
	return n.keepPreviousData ? !1 : n.placeholderData !== void 0 ? t.isPlaceholderData : !BE(e.getCurrentResult(), t)
}
var GU = {
		exports: {}
	},
	Ki = {},
	WU = {
		exports: {}
	},
	KU = {};
/**
 * @license React
 * scheduler.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
(function(e) {
	function t(q, F) {
		var j = q.length;
		q.push(F);
		e: for (; 0 < j;) {
			var B = j - 1 >>> 1,
				Z = q[B];
			if (0 < i(Z, F)) q[B] = F, q[j] = Z, j = B;
			else break e
		}
	}

	function n(q) {
		return q.length === 0 ? null : q[0]
	}

	function r(q) {
		if (q.length === 0) return null;
		var F = q[0],
			j = q.pop();
		if (j !== F) {
			q[0] = j;
			e: for (var B = 0, Z = q.length, z = Z >>> 1; B < z;) {
				var Q = 2 * (B + 1) - 1,
					ie = q[Q],
					le = Q + 1,
					pe = q[le];
				if (0 > i(ie, j)) le < Z && 0 > i(pe, ie) ? (q[B] = pe, q[le] = j, B = le) : (q[B] = ie, q[Q] = j, B = Q);
				else if (le < Z && 0 > i(pe, j)) q[B] = pe, q[le] = j, B = le;
				else break e
			}
		}
		return F
	}

	function i(q, F) {
		var j = q.sortIndex - F.sortIndex;
		return j !== 0 ? j : q.id - F.id
	}
	if (typeof performance == "object" && typeof performance.now == "function") {
		var o = performance;
		e.unstable_now = function() {
			return o.now()
		}
	} else {
		var a = Date,
			s = a.now();
		e.unstable_now = function() {
			return a.now() - s
		}
	}
	var u = [],
		l = [],
		c = 1,
		d = null,
		p = 3,
		g = !1,
		m = !1,
		_ = !1,
		S = typeof setTimeout == "function" ? setTimeout : null,
		y = typeof clearTimeout == "function" ? clearTimeout : null,
		w = typeof setImmediate < "u" ? setImmediate : null;
	typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);

	function b(q) {
		for (var F = n(l); F !== null;) {
			if (F.callback === null) r(l);
			else if (F.startTime <= q) r(l), F.sortIndex = F.expirationTime, t(u, F);
			else break;
			F = n(l)
		}
	}

	function E(q) {
		if (_ = !1, b(q), !m)
			if (n(u) !== null) m = !0, ee(T);
			else {
				var F = n(l);
				F !== null && te(E, F.startTime - q)
			}
	}

	function T(q, F) {
		m = !1, _ && (_ = !1, y(k), k = -1), g = !0;
		var j = p;
		try {
			for (b(F), d = n(u); d !== null && (!(d.expirationTime > F) || q && !P());) {
				var B = d.callback;
				if (typeof B == "function") {
					d.callback = null, p = d.priorityLevel;
					var Z = B(d.expirationTime <= F);
					F = e.unstable_now(), typeof Z == "function" ? d.callback = Z : d === n(u) && r(u), b(F)
				} else r(u);
				d = n(u)
			}
			if (d !== null) var z = !0;
			else {
				var Q = n(l);
				Q !== null && te(E, Q.startTime - F), z = !1
			}
			return z
		} finally {
			d = null, p = j, g = !1
		}
	}
	var O = !1,
		R = null,
		k = -1,
		M = 5,
		D = -1;

	function P() {
		return !(e.unstable_now() - D < M)
	}

	function U() {
		if (R !== null) {
			var q = e.unstable_now();
			D = q;
			var F = !0;
			try {
				F = R(!0, q)
			} finally {
				F ? H() : (O = !1, R = null)
			}
		} else O = !1
	}
	var H;
	if (typeof w == "function") H = function() {
		w(U)
	};
	else if (typeof MessageChannel < "u") {
		var G = new MessageChannel,
			K = G.port2;
		G.port1.onmessage = U, H = function() {
			K.postMessage(null)
		}
	} else H = function() {
		S(U, 0)
	};

	function ee(q) {
		R = q, O || (O = !0, H())
	}

	function te(q, F) {
		k = S(function() {
			q(e.unstable_now())
		}, F)
	}
	e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(q) {
		q.callback = null
	}, e.unstable_continueExecution = function() {
		m || g || (m = !0, ee(T))
	}, e.unstable_forceFrameRate = function(q) {
		0 > q || 125 < q ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : M = 0 < q ? Math.floor(1e3 / q) : 5
	}, e.unstable_getCurrentPriorityLevel = function() {
		return p
	}, e.unstable_getFirstCallbackNode = function() {
		return n(u)
	}, e.unstable_next = function(q) {
		switch (p) {
			case 1:
			case 2:
			case 3:
				var F = 3;
				break;
			default:
				F = p
		}
		var j = p;
		p = F;
		try {
			return q()
		} finally {
			p = j
		}
	}, e.unstable_pauseExecution = function() {}, e.unstable_requestPaint = function() {}, e.unstable_runWithPriority = function(q, F) {
		switch (q) {
			case 1:
			case 2:
			case 3:
			case 4:
			case 5:
				break;
			default:
				q = 3
		}
		var j = p;
		p = q;
		try {
			return F()
		} finally {
			p = j
		}
	}, e.unstable_scheduleCallback = function(q, F, j) {
		var B = e.unstable_now();
		switch (typeof j == "object" && j !== null ? (j = j.delay, j = typeof j == "number" && 0 < j ? B + j : B) : j = B, q) {
			case 1:
				var Z = -1;
				break;
			case 2:
				Z = 250;
				break;
			case 5:
				Z = 1073741823;
				break;
			case 4:
				Z = 1e4;
				break;
			default:
				Z = 5e3
		}
		return Z = j + Z, q = {
			id: c++,
			callback: F,
			priorityLevel: q,
			startTime: j,
			expirationTime: Z,
			sortIndex: -1
		}, j > B ? (q.sortIndex = j, t(l, q), n(u) === null && q === n(l) && (_ ? (y(k), k = -1) : _ = !0, te(E, j - B))) : (q.sortIndex = Z, t(u, q), m || g || (m = !0, ee(T))), q
	}, e.unstable_shouldYield = P, e.unstable_wrapCallback = function(q) {
		var F = p;
		return function() {
			var j = p;
			p = F;
			try {
				return q.apply(this, arguments)
			} finally {
				p = j
			}
		}
	}
})(KU);
WU.exports = KU;
var Bpe = WU.exports;
/**
 * @license React
 * react-dom.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var zpe = h,
	Gi = Bpe;

function he(e) {
	for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);
	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 ZU = new Set,
	Iv = {};

function _f(e, t) {
	Tp(e, t), Tp(e + "Capture", t)
}

function Tp(e, t) {
	for (Iv[e] = t, e = 0; e < t.length; e++) ZU.add(t[e])
}
var Ns = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"),
	ZE = Object.prototype.hasOwnProperty,
	Gpe = /^[: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]*$/,
	IA = {},
	kA = {};

function Wpe(e) {
	return ZE.call(kA, e) ? !0 : ZE.call(IA, e) ? !1 : Gpe.test(e) ? kA[e] = !0 : (IA[e] = !0, !1)
}

function Kpe(e, t, n, r) {
	if (n !== null && n.type === 0) return !1;
	switch (typeof t) {
		case "function":
		case "symbol":
			return !0;
		case "boolean":
			return r ? !1 : n !== null ? !n.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-");
		default:
			return !1
	}
}

function Zpe(e, t, n, r) {
	if (t === null || typeof t > "u" || Kpe(e, t, n, r)) return !0;
	if (r) return !1;
	if (n !== null) switch (n.type) {
		case 3:
			return !t;
		case 4:
			return t === !1;
		case 5:
			return isNaN(t);
		case 6:
			return isNaN(t) || 1 > t
	}
	return !1
}

function Yr(e, t, n, r, i, o, a) {
	this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = i, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = o, this.removeEmptyString = a
}
var gr = {};
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e) {
	gr[e] = new Yr(e, 0, !1, e, null, !1, !1)
});
[
	["acceptCharset", "accept-charset"],
	["className", "class"],
	["htmlFor", "for"],
	["httpEquiv", "http-equiv"]
].forEach(function(e) {
	var t = e[0];
	gr[t] = new Yr(t, 1, !1, e[1], null, !1, !1)
});
["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) {
	gr[e] = new Yr(e, 2, !1, e.toLowerCase(), null, !1, !1)
});
["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) {
	gr[e] = new Yr(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) {
	gr[e] = new Yr(e, 3, !1, e.toLowerCase(), null, !1, !1)
});
["checked", "multiple", "muted", "selected"].forEach(function(e) {
	gr[e] = new Yr(e, 3, !0, e, null, !1, !1)
});
["capture", "download"].forEach(function(e) {
	gr[e] = new Yr(e, 4, !1, e, null, !1, !1)
});
["cols", "rows", "size", "span"].forEach(function(e) {
	gr[e] = new Yr(e, 6, !1, e, null, !1, !1)
});
["rowSpan", "start"].forEach(function(e) {
	gr[e] = new Yr(e, 5, !1, e.toLowerCase(), null, !1, !1)
});
var MO = /[\-:]([a-z])/g;

function PO(e) {
	return e[1].toUpperCase()
}
"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(MO, PO);
	gr[t] = new Yr(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(MO, PO);
	gr[t] = new Yr(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(MO, PO);
	gr[t] = new Yr(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1)
});
["tabIndex", "crossOrigin"].forEach(function(e) {
	gr[e] = new Yr(e, 1, !1, e.toLowerCase(), null, !1, !1)
});
gr.xlinkHref = new Yr("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1);
["src", "href", "action", "formAction"].forEach(function(e) {
	gr[e] = new Yr(e, 1, !1, e.toLowerCase(), null, !0, !0)
});

function LO(e, t, n, r) {
	var i = gr.hasOwnProperty(t) ? gr[t] : null;
	(i !== null ? i.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (Zpe(t, n, i, r) && (n = null), r || i === null ? Wpe(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : i.mustUseProperty ? e[i.propertyName] = n === null ? i.type === 3 ? !1 : "" : n : (t = i.attributeName, r = i.attributeNamespace, n === null ? e.removeAttribute(t) : (i = i.type, n = i === 3 || i === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n))))
}
var Zs = zpe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
	mm = Symbol.for("react.element"),
	kd = Symbol.for("react.portal"),
	Ad = Symbol.for("react.fragment"),
	NO = Symbol.for("react.strict_mode"),
	qE = Symbol.for("react.profiler"),
	qU = Symbol.for("react.provider"),
	YU = Symbol.for("react.context"),
	DO = Symbol.for("react.forward_ref"),
	YE = Symbol.for("react.suspense"),
	XE = Symbol.for("react.suspense_list"),
	$O = Symbol.for("react.memo"),
	ku = Symbol.for("react.lazy"),
	XU = Symbol.for("react.offscreen"),
	AA = Symbol.iterator;

function v0(e) {
	return e === null || typeof e != "object" ? null : (e = AA && e[AA] || e["@@iterator"], typeof e == "function" ? e : null)
}
var hn = Object.assign,
	QS;

function B0(e) {
	if (QS === void 0) try {
		throw Error()
	} catch (n) {
		var t = n.stack.trim().match(/\n( *(at )?)/);
		QS = t && t[1] || ""
	}
	return "\n" + QS + e
}
var e3 = !1;

function t3(e, t) {
	if (!e || e3) return "";
	e3 = !0;
	var n = Error.prepareStackTrace;
	Error.prepareStackTrace = void 0;
	try {
		if (t)
			if (t = function() {
					throw Error()
				}, Object.defineProperty(t.prototype, "props", {
					set: function() {
						throw Error()
					}
				}), typeof Reflect == "object" && Reflect.construct) {
				try {
					Reflect.construct(t, [])
				} catch (l) {
					var r = l
				}
				Reflect.construct(e, [], t)
			} else {
				try {
					t.call()
				} catch (l) {
					r = l
				}
				e.call(t.prototype)
			}
		else {
			try {
				throw Error()
			} catch (l) {
				r = l
			}
			e()
		}
	} catch (l) {
		if (l && r && typeof l.stack == "string") {
			for (var i = l.stack.split("\n"), o = r.stack.split("\n"), a = i.length - 1, s = o.length - 1; 1 <= a && 0 <= s && i[a] !== o[s];) s--;
			for (; 1 <= a && 0 <= s; a--, s--)
				if (i[a] !== o[s]) {
					if (a !== 1 || s !== 1)
						do
							if (a--, s--, 0 > s || i[a] !== o[s]) {
								var u = "\n" + i[a].replace(" at new ", " at ");
								return e.displayName && u.includes("<anonymous>") && (u = u.replace("<anonymous>", e.displayName)), u
							} while (1 <= a && 0 <= s);
					break
				}
		}
	} finally {
		e3 = !1, Error.prepareStackTrace = n
	}
	return (e = e ? e.displayName || e.name : "") ? B0(e) : ""
}

function qpe(e) {
	switch (e.tag) {
		case 5:
			return B0(e.type);
		case 16:
			return B0("Lazy");
		case 13:
			return B0("Suspense");
		case 19:
			return B0("SuspenseList");
		case 0:
		case 2:
		case 15:
			return e = t3(e.type, !1), e;
		case 11:
			return e = t3(e.type.render, !1), e;
		case 1:
			return e = t3(e.type, !0), e;
		default:
			return ""
	}
}

function JE(e) {
	if (e == null) return null;
	if (typeof e == "function") return e.displayName || e.name || null;
	if (typeof e == "string") return e;
	switch (e) {
		case Ad:
			return "Fragment";
		case kd:
			return "Portal";
		case qE:
			return "Profiler";
		case NO:
			return "StrictMode";
		case YE:
			return "Suspense";
		case XE:
			return "SuspenseList"
	}
	if (typeof e == "object") switch (e.$$typeof) {
		case YU:
			return (e.displayName || "Context") + ".Consumer";
		case qU:
			return (e._context.displayName || "Context") + ".Provider";
		case DO:
			var t = e.render;
			return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
		case $O:
			return t = e.displayName || null, t !== null ? t : JE(e.type) || "Memo";
		case ku:
			t = e._payload, e = e._init;
			try {
				return JE(e(t))
			} catch (n) {}
	}
	return null
}

function Ype(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 = t.render, e = e.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 JE(t);
		case 8:
			return t === NO ? "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 (typeof t == "function") return t.displayName || t.name || null;
			if (typeof t == "string") return t
	}
	return null
}

function dl(e) {
	switch (typeof e) {
		case "boolean":
		case "number":
		case "string":
		case "undefined":
			return e;
		case "object":
			return e;
		default:
			return ""
	}
}

function JU(e) {
	var t = e.type;
	return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio")
}

function Xpe(e) {
	var t = JU(e) ? "checked" : "value",
		n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t),
		r = "" + e[t];
	if (!e.hasOwnProperty(t) && typeof n < "u" && typeof n.get == "function" && typeof n.set == "function") {
		var i = n.get,
			o = n.set;
		return Object.defineProperty(e, t, {
			configurable: !0,
			get: function() {
				return i.call(this)
			},
			set: function(a) {
				r = "" + a, o.call(this, a)
			}
		}), Object.defineProperty(e, t, {
			enumerable: n.enumerable
		}), {
			getValue: function() {
				return r
			},
			setValue: function(a) {
				r = "" + a
			},
			stopTracking: function() {
				e._valueTracker = null, delete e[t]
			}
		}
	}
}

function ym(e) {
	e._valueTracker || (e._valueTracker = Xpe(e))
}

function QU(e) {
	if (!e) return !1;
	var t = e._valueTracker;
	if (!t) return !0;
	var n = t.getValue(),
		r = "";
	return e && (r = JU(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n ? (t.setValue(e), !0) : !1
}

function U2(e) {
	if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null;
	try {
		return e.activeElement || e.body
	} catch (t) {
		return e.body
	}
}

function QE(e, t) {
	var n = t.checked;
	return hn({}, t, {
		defaultChecked: void 0,
		defaultValue: void 0,
		value: void 0,
		checked: n != null ? n : e._wrapperState.initialChecked
	})
}

function MA(e, t) {
	var n = t.defaultValue == null ? "" : t.defaultValue,
		r = t.checked != null ? t.checked : t.defaultChecked;
	n = dl(t.value != null ? t.value : n), e._wrapperState = {
		initialChecked: r,
		initialValue: n,
		controlled: t.type === "checkbox" || t.type === "radio" ? t.checked != null : t.value != null
	}
}

function eH(e, t) {
	t = t.checked, t != null && LO(e, "checked", t, !1)
}

function e5(e, t) {
	eH(e, t);
	var n = dl(t.value),
		r = t.type;
	if (n != null) r === "number" ? (n === 0 && e.value === "" || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n);
	else if (r === "submit" || r === "reset") {
		e.removeAttribute("value");
		return
	}
	t.hasOwnProperty("value") ? t5(e, t.type, n) : t.hasOwnProperty("defaultValue") && t5(e, t.type, dl(t.defaultValue)), t.checked == null && t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked)
}

function PA(e, t, n) {
	if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) {
		var r = t.type;
		if (!(r !== "submit" && r !== "reset" || t.value !== void 0 && t.value !== null)) return;
		t = "" + e._wrapperState.initialValue, n || t === e.value || (e.value = t), e.defaultValue = t
	}
	n = e.name, n !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, n !== "" && (e.name = n)
}

function t5(e, t, n) {
	(t !== "number" || U2(e.ownerDocument) !== e) && (n == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n))
}
var z0 = Array.isArray;

function ep(e, t, n, r) {
	if (e = e.options, t) {
		t = {};
		for (var i = 0; i < n.length; i++) t["$" + n[i]] = !0;
		for (n = 0; n < e.length; n++) i = t.hasOwnProperty("$" + e[n].value), e[n].selected !== i && (e[n].selected = i), i && r && (e[n].defaultSelected = !0)
	} else {
		for (n = "" + dl(n), t = null, i = 0; i < e.length; i++) {
			if (e[i].value === n) {
				e[i].selected = !0, r && (e[i].defaultSelected = !0);
				return
			}
			t !== null || e[i].disabled || (t = e[i])
		}
		t !== null && (t.selected = !0)
	}
}

function n5(e, t) {
	if (t.dangerouslySetInnerHTML != null) throw Error(he(91));
	return hn({}, t, {
		value: void 0,
		defaultValue: void 0,
		children: "" + e._wrapperState.initialValue
	})
}

function LA(e, t) {
	var n = t.value;
	if (n == null) {
		if (n = t.children, t = t.defaultValue, n != null) {
			if (t != null) throw Error(he(92));
			if (z0(n)) {
				if (1 < n.length) throw Error(he(93));
				n = n[0]
			}
			t = n
		}
		t == null && (t = ""), n = t
	}
	e._wrapperState = {
		initialValue: dl(n)
	}
}

function tH(e, t) {
	var n = dl(t.value),
		r = dl(t.defaultValue);
	n != null && (n = "" + n, n !== e.value && (e.value = n), t.defaultValue == null && e.defaultValue !== n && (e.defaultValue = n)), r != null && (e.defaultValue = "" + r)
}

function NA(e) {
	var t = e.textContent;
	t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t)
}

function nH(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 r5(e, t) {
	return e == null || e === "http://www.w3.org/1999/xhtml" ? nH(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : e
}
var wm, rH = function(e) {
	return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, n, r, i) {
		MSApp.execUnsafeLocalFunction(function() {
			return e(t, n, r, i)
		})
	} : e
}(function(e, t) {
	if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t;
	else {
		for (wm = wm || document.createElement("div"), wm.innerHTML = "<svg>" + t.valueOf().toString() + "</svg>", t = wm.firstChild; e.firstChild;) e.removeChild(e.firstChild);
		for (; t.firstChild;) e.appendChild(t.firstChild)
	}
});

function kv(e, t) {
	if (t) {
		var n = e.firstChild;
		if (n && n === e.lastChild && n.nodeType === 3) {
			n.nodeValue = t;
			return
		}
	}
	e.textContent = t
}
var rv = {
		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
	},
	Jpe = ["Webkit", "ms", "Moz", "O"];
Object.keys(rv).forEach(function(e) {
	Jpe.forEach(function(t) {
		t = t + e.charAt(0).toUpperCase() + e.substring(1), rv[t] = rv[e]
	})
});

function iH(e, t, n) {
	return t == null || typeof t == "boolean" || t === "" ? "" : n || typeof t != "number" || t === 0 || rv.hasOwnProperty(e) && rv[e] ? ("" + t).trim() : t + "px"
}

function oH(e, t) {
	e = e.style;
	for (var n in t)
		if (t.hasOwnProperty(n)) {
			var r = n.indexOf("--") === 0,
				i = iH(n, t[n], r);
			n === "float" && (n = "cssFloat"), r ? e.setProperty(n, i) : e[n] = i
		}
}
var Qpe = hn({
	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 i5(e, t) {
	if (t) {
		if (Qpe[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(he(137, e));
		if (t.dangerouslySetInnerHTML != null) {
			if (t.children != null) throw Error(he(60));
			if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error(he(61))
		}
		if (t.style != null && typeof t.style != "object") throw Error(he(62))
	}
}

function o5(e, t) {
	if (e.indexOf("-") === -1) return typeof t.is == "string";
	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 a5 = null;

function FO(e) {
	return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e
}
var s5 = null,
	tp = null,
	np = null;

function DA(e) {
	if (e = L1(e)) {
		if (typeof s5 != "function") throw Error(he(280));
		var t = e.stateNode;
		t && (t = X_(t), s5(e.stateNode, e.type, t))
	}
}

function aH(e) {
	tp ? np ? np.push(e) : np = [e] : tp = e
}

function sH() {
	if (tp) {
		var e = tp,
			t = np;
		if (np = tp = null, DA(e), t)
			for (e = 0; e < t.length; e++) DA(t[e])
	}
}

function uH(e, t) {
	return e(t)
}

function lH() {}
var n3 = !1;

function cH(e, t, n) {
	if (n3) return e(t, n);
	n3 = !0;
	try {
		return uH(e, t, n)
	} finally {
		n3 = !1, (tp !== null || np !== null) && (lH(), sH())
	}
}

function Av(e, t) {
	var n = e.stateNode;
	if (n === null) return null;
	var r = X_(n);
	if (r === null) return null;
	n = r[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":
			(r = !r.disabled) || (e = e.type, r = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !r;
			break e;
		default:
			e = !1
	}
	if (e) return null;
	if (n && typeof n != "function") throw Error(he(231, t, typeof n));
	return n
}
var u5 = !1;
if (Ns) try {
	var g0 = {};
	Object.defineProperty(g0, "passive", {
		get: function() {
			u5 = !0
		}
	}), window.addEventListener("test", g0, g0), window.removeEventListener("test", g0, g0)
} catch (e) {
	u5 = !1
}

function ehe(e, t, n, r, i, o, a, s, u) {
	var l = Array.prototype.slice.call(arguments, 3);
	try {
		t.apply(n, l)
	} catch (c) {
		this.onError(c)
	}
}
var iv = !1,
	H2 = null,
	V2 = !1,
	l5 = null,
	the = {
		onError: function(e) {
			iv = !0, H2 = e
		}
	};

function nhe(e, t, n, r, i, o, a, s, u) {
	iv = !1, H2 = null, ehe.apply(the, arguments)
}

function rhe(e, t, n, r, i, o, a, s, u) {
	if (nhe.apply(this, arguments), iv) {
		if (iv) {
			var l = H2;
			iv = !1, H2 = null
		} else throw Error(he(198));
		V2 || (V2 = !0, l5 = l)
	}
}

function bf(e) {
	var t = e,
		n = e;
	if (e.alternate)
		for (; t.return;) t = t.return;
	else {
		e = t;
		do t = e, t.flags & 4098 && (n = t.return), e = t.return; while (e)
	}
	return t.tag === 3 ? n : null
}

function fH(e) {
	if (e.tag === 13) {
		var t = e.memoizedState;
		if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated
	}
	return null
}

function $A(e) {
	if (bf(e) !== e) throw Error(he(188))
}

function ihe(e) {
	var t = e.alternate;
	if (!t) {
		if (t = bf(e), t === null) throw Error(he(188));
		return t !== e ? null : e
	}
	for (var n = e, r = t;;) {
		var i = n.return;
		if (i === null) break;
		var o = i.alternate;
		if (o === null) {
			if (r = i.return, r !== null) {
				n = r;
				continue
			}
			break
		}
		if (i.child === o.child) {
			for (o = i.child; o;) {
				if (o === n) return $A(i), e;
				if (o === r) return $A(i), t;
				o = o.sibling
			}
			throw Error(he(188))
		}
		if (n.return !== r.return) n = i, r = o;
		else {
			for (var a = !1, s = i.child; s;) {
				if (s === n) {
					a = !0, n = i, r = o;
					break
				}
				if (s === r) {
					a = !0, r = i, n = o;
					break
				}
				s = s.sibling
			}
			if (!a) {
				for (s = o.child; s;) {
					if (s === n) {
						a = !0, n = o, r = i;
						break
					}
					if (s === r) {
						a = !0, r = o, n = i;
						break
					}
					s = s.sibling
				}
				if (!a) throw Error(he(189))
			}
		}
		if (n.alternate !== r) throw Error(he(190))
	}
	if (n.tag !== 3) throw Error(he(188));
	return n.stateNode.current === n ? e : t
}

function dH(e) {
	return e = ihe(e), e !== null ? pH(e) : null
}

function pH(e) {
	if (e.tag === 5 || e.tag === 6) return e;
	for (e = e.child; e !== null;) {
		var t = pH(e);
		if (t !== null) return t;
		e = e.sibling
	}
	return null
}
var hH = Gi.unstable_scheduleCallback,
	FA = Gi.unstable_cancelCallback,
	ohe = Gi.unstable_shouldYield,
	ahe = Gi.unstable_requestPaint,
	Cn = Gi.unstable_now,
	she = Gi.unstable_getCurrentPriorityLevel,
	jO = Gi.unstable_ImmediatePriority,
	vH = Gi.unstable_UserBlockingPriority,
	B2 = Gi.unstable_NormalPriority,
	uhe = Gi.unstable_LowPriority,
	gH = Gi.unstable_IdlePriority,
	K_ = null,
	Ha = null;

function lhe(e) {
	if (Ha && typeof Ha.onCommitFiberRoot == "function") try {
		Ha.onCommitFiberRoot(K_, e, void 0, (e.current.flags & 128) === 128)
	} catch (t) {}
}
var Yo = Math.clz32 ? Math.clz32 : dhe,
	che = Math.log,
	fhe = Math.LN2;

function dhe(e) {
	return e >>>= 0, e === 0 ? 32 : 31 - (che(e) / fhe | 0) | 0
}
var _m = 64,
	bm = 4194304;

function G0(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 e & 4194240;
		case 4194304:
		case 8388608:
		case 16777216:
		case 33554432:
		case 67108864:
			return e & 130023424;
		case 134217728:
			return 134217728;
		case 268435456:
			return 268435456;
		case 536870912:
			return 536870912;
		case 1073741824:
			return 1073741824;
		default:
			return e
	}
}

function z2(e, t) {
	var n = e.pendingLanes;
	if (n === 0) return 0;
	var r = 0,
		i = e.suspendedLanes,
		o = e.pingedLanes,
		a = n & 268435455;
	if (a !== 0) {
		var s = a & ~i;
		s !== 0 ? r = G0(s) : (o &= a, o !== 0 && (r = G0(o)))
	} else a = n & ~i, a !== 0 ? r = G0(a) : o !== 0 && (r = G0(o));
	if (r === 0) return 0;
	if (t !== 0 && t !== r && !(t & i) && (i = r & -r, o = t & -t, i >= o || i === 16 && (o & 4194240) !== 0)) return t;
	if (r & 4 && (r |= n & 16), t = e.entangledLanes, t !== 0)
		for (e = e.entanglements, t &= r; 0 < t;) n = 31 - Yo(t), i = 1 << n, r |= e[n], t &= ~i;
	return r
}

function phe(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;
		case 4194304:
		case 8388608:
		case 16777216:
		case 33554432:
		case 67108864:
			return -1;
		case 134217728:
		case 268435456:
		case 536870912:
		case 1073741824:
			return -1;
		default:
			return -1
	}
}

function hhe(e, t) {
	for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, o = e.pendingLanes; 0 < o;) {
		var a = 31 - Yo(o),
			s = 1 << a,
			u = i[a];
		u === -1 ? (!(s & n) || s & r) && (i[a] = phe(s, t)) : u <= t && (e.expiredLanes |= s), o &= ~s
	}
}

function c5(e) {
	return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0
}

function mH() {
	var e = _m;
	return _m <<= 1, !(_m & 4194240) && (_m = 64), e
}

function r3(e) {
	for (var t = [], n = 0; 31 > n; n++) t.push(e);
	return t
}

function M1(e, t, n) {
	e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - Yo(t), e[t] = n
}

function vhe(e, t) {
	var n = 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 r = e.eventTimes;
	for (e = e.expirationTimes; 0 < n;) {
		var i = 31 - Yo(n),
			o = 1 << i;
		t[i] = 0, r[i] = -1, e[i] = -1, n &= ~o
	}
}

function UO(e, t) {
	var n = e.entangledLanes |= t;
	for (e = e.entanglements; n;) {
		var r = 31 - Yo(n),
			i = 1 << r;
		i & t | e[r] & t && (e[r] |= t), n &= ~i
	}
}
var Dt = 0;

function yH(e) {
	return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1
}
var wH, HO, _H, bH, SH, f5 = !1,
	Sm = [],
	Ju = null,
	Qu = null,
	el = null,
	Mv = new Map,
	Pv = new Map,
	Nu = [],
	ghe = "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 jA(e, t) {
	switch (e) {
		case "focusin":
		case "focusout":
			Ju = null;
			break;
		case "dragenter":
		case "dragleave":
			Qu = null;
			break;
		case "mouseover":
		case "mouseout":
			el = null;
			break;
		case "pointerover":
		case "pointerout":
			Mv.delete(t.pointerId);
			break;
		case "gotpointercapture":
		case "lostpointercapture":
			Pv.delete(t.pointerId)
	}
}

function m0(e, t, n, r, i, o) {
	return e === null || e.nativeEvent !== o ? (e = {
		blockedOn: t,
		domEventName: n,
		eventSystemFlags: r,
		nativeEvent: o,
		targetContainers: [i]
	}, t !== null && (t = L1(t), t !== null && HO(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e)
}

function mhe(e, t, n, r, i) {
	switch (t) {
		case "focusin":
			return Ju = m0(Ju, e, t, n, r, i), !0;
		case "dragenter":
			return Qu = m0(Qu, e, t, n, r, i), !0;
		case "mouseover":
			return el = m0(el, e, t, n, r, i), !0;
		case "pointerover":
			var o = i.pointerId;
			return Mv.set(o, m0(Mv.get(o) || null, e, t, n, r, i)), !0;
		case "gotpointercapture":
			return o = i.pointerId, Pv.set(o, m0(Pv.get(o) || null, e, t, n, r, i)), !0
	}
	return !1
}

function xH(e) {
	var t = Tc(e.target);
	if (t !== null) {
		var n = bf(t);
		if (n !== null) {
			if (t = n.tag, t === 13) {
				if (t = fH(n), t !== null) {
					e.blockedOn = t, SH(e.priority, function() {
						_H(n)
					});
					return
				}
			} else if (t === 3 && n.stateNode.current.memoizedState.isDehydrated) {
				e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null;
				return
			}
		}
	}
	e.blockedOn = null
}

function jy(e) {
	if (e.blockedOn !== null) return !1;
	for (var t = e.targetContainers; 0 < t.length;) {
		var n = d5(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent);
		if (n === null) {
			n = e.nativeEvent;
			var r = new n.constructor(n.type, n);
			a5 = r, n.target.dispatchEvent(r), a5 = null
		} else return t = L1(n), t !== null && HO(t), e.blockedOn = n, !1;
		t.shift()
	}
	return !0
}

function UA(e, t, n) {
	jy(e) && n.delete(t)
}

function yhe() {
	f5 = !1, Ju !== null && jy(Ju) && (Ju = null), Qu !== null && jy(Qu) && (Qu = null), el !== null && jy(el) && (el = null), Mv.forEach(UA), Pv.forEach(UA)
}

function y0(e, t) {
	e.blockedOn === t && (e.blockedOn = null, f5 || (f5 = !0, Gi.unstable_scheduleCallback(Gi.unstable_NormalPriority, yhe)))
}

function Lv(e) {
	function t(i) {
		return y0(i, e)
	}
	if (0 < Sm.length) {
		y0(Sm[0], e);
		for (var n = 1; n < Sm.length; n++) {
			var r = Sm[n];
			r.blockedOn === e && (r.blockedOn = null)
		}
	}
	for (Ju !== null && y0(Ju, e), Qu !== null && y0(Qu, e), el !== null && y0(el, e), Mv.forEach(t), Pv.forEach(t), n = 0; n < Nu.length; n++) r = Nu[n], r.blockedOn === e && (r.blockedOn = null);
	for (; 0 < Nu.length && (n = Nu[0], n.blockedOn === null);) xH(n), n.blockedOn === null && Nu.shift()
}
var rp = Zs.ReactCurrentBatchConfig,
	G2 = !0;

function whe(e, t, n, r) {
	var i = Dt,
		o = rp.transition;
	rp.transition = null;
	try {
		Dt = 1, VO(e, t, n, r)
	} finally {
		Dt = i, rp.transition = o
	}
}

function _he(e, t, n, r) {
	var i = Dt,
		o = rp.transition;
	rp.transition = null;
	try {
		Dt = 4, VO(e, t, n, r)
	} finally {
		Dt = i, rp.transition = o
	}
}

function VO(e, t, n, r) {
	if (G2) {
		var i = d5(e, t, n, r);
		if (i === null) p3(e, t, r, W2, n), jA(e, r);
		else if (mhe(i, e, t, n, r)) r.stopPropagation();
		else if (jA(e, r), t & 4 && -1 < ghe.indexOf(e)) {
			for (; i !== null;) {
				var o = L1(i);
				if (o !== null && wH(o), o = d5(e, t, n, r), o === null && p3(e, t, r, W2, n), o === i) break;
				i = o
			}
			i !== null && r.stopPropagation()
		} else p3(e, t, r, null, n)
	}
}
var W2 = null;

function d5(e, t, n, r) {
	if (W2 = null, e = FO(r), e = Tc(e), e !== null)
		if (t = bf(e), t === null) e = null;
		else if (n = t.tag, n === 13) {
		if (e = fH(t), e !== null) return e;
		e = null
	} else if (n === 3) {
		if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null;
		e = null
	} else t !== e && (e = null);
	return W2 = e, null
}

function EH(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 (she()) {
				case jO:
					return 1;
				case vH:
					return 4;
				case B2:
				case uhe:
					return 16;
				case gH:
					return 536870912;
				default:
					return 16
			}
			default:
				return 16
	}
}
var Wu = null,
	BO = null,
	Uy = null;

function CH() {
	if (Uy) return Uy;
	var e, t = BO,
		n = t.length,
		r, i = "value" in Wu ? Wu.value : Wu.textContent,
		o = i.length;
	for (e = 0; e < n && t[e] === i[e]; e++);
	var a = n - e;
	for (r = 1; r <= a && t[n - r] === i[o - r]; r++);
	return Uy = i.slice(e, 1 < r ? 1 - r : void 0)
}

function Hy(e) {
	var t = e.keyCode;
	return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0
}

function xm() {
	return !0
}

function HA() {
	return !1
}

function Zi(e) {
	function t(n, r, i, o, a) {
		this._reactName = n, this._targetInst = i, this.type = r, this.nativeEvent = o, this.target = a, this.currentTarget = null;
		for (var s in e) e.hasOwnProperty(s) && (n = e[s], this[s] = n ? n(o) : o[s]);
		return this.isDefaultPrevented = (o.defaultPrevented != null ? o.defaultPrevented : o.returnValue === !1) ? xm : HA, this.isPropagationStopped = HA, this
	}
	return hn(t.prototype, {
		preventDefault: function() {
			this.defaultPrevented = !0;
			var n = this.nativeEvent;
			n && (n.preventDefault ? n.preventDefault() : typeof n.returnValue != "unknown" && (n.returnValue = !1), this.isDefaultPrevented = xm)
		},
		stopPropagation: function() {
			var n = this.nativeEvent;
			n && (n.stopPropagation ? n.stopPropagation() : typeof n.cancelBubble != "unknown" && (n.cancelBubble = !0), this.isPropagationStopped = xm)
		},
		persist: function() {},
		isPersistent: xm
	}), t
}
var ph = {
		eventPhase: 0,
		bubbles: 0,
		cancelable: 0,
		timeStamp: function(e) {
			return e.timeStamp || Date.now()
		},
		defaultPrevented: 0,
		isTrusted: 0
	},
	zO = Zi(ph),
	P1 = hn({}, ph, {
		view: 0,
		detail: 0
	}),
	bhe = Zi(P1),
	i3, o3, w0, Z_ = hn({}, P1, {
		screenX: 0,
		screenY: 0,
		clientX: 0,
		clientY: 0,
		pageX: 0,
		pageY: 0,
		ctrlKey: 0,
		shiftKey: 0,
		altKey: 0,
		metaKey: 0,
		getModifierState: GO,
		button: 0,
		buttons: 0,
		relatedTarget: function(e) {
			return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget
		},
		movementX: function(e) {
			return "movementX" in e ? e.movementX : (e !== w0 && (w0 && e.type === "mousemove" ? (i3 = e.screenX - w0.screenX, o3 = e.screenY - w0.screenY) : o3 = i3 = 0, w0 = e), i3)
		},
		movementY: function(e) {
			return "movementY" in e ? e.movementY : o3
		}
	}),
	VA = Zi(Z_),
	She = hn({}, Z_, {
		dataTransfer: 0
	}),
	xhe = Zi(She),
	Ehe = hn({}, P1, {
		relatedTarget: 0
	}),
	a3 = Zi(Ehe),
	Che = hn({}, ph, {
		animationName: 0,
		elapsedTime: 0,
		pseudoElement: 0
	}),
	Ohe = Zi(Che),
	The = hn({}, ph, {
		clipboardData: function(e) {
			return "clipboardData" in e ? e.clipboardData : window.clipboardData
		}
	}),
	Rhe = Zi(The),
	Ihe = hn({}, ph, {
		data: 0
	}),
	BA = Zi(Ihe),
	khe = {
		Esc: "Escape",
		Spacebar: " ",
		Left: "ArrowLeft",
		Up: "ArrowUp",
		Right: "ArrowRight",
		Down: "ArrowDown",
		Del: "Delete",
		Win: "OS",
		Menu: "ContextMenu",
		Apps: "ContextMenu",
		Scroll: "ScrollLock",
		MozPrintableKey: "Unidentified"
	},
	Ahe = {
		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"
	},
	Mhe = {
		Alt: "altKey",
		Control: "ctrlKey",
		Meta: "metaKey",
		Shift: "shiftKey"
	};

function Phe(e) {
	var t = this.nativeEvent;
	return t.getModifierState ? t.getModifierState(e) : (e = Mhe[e]) ? !!t[e] : !1
}

function GO() {
	return Phe
}
var Lhe = hn({}, P1, {
		key: function(e) {
			if (e.key) {
				var t = khe[e.key] || e.key;
				if (t !== "Unidentified") return t
			}
			return e.type === "keypress" ? (e = Hy(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? Ahe[e.keyCode] || "Unidentified" : ""
		},
		code: 0,
		location: 0,
		ctrlKey: 0,
		shiftKey: 0,
		altKey: 0,
		metaKey: 0,
		repeat: 0,
		locale: 0,
		getModifierState: GO,
		charCode: function(e) {
			return e.type === "keypress" ? Hy(e) : 0
		},
		keyCode: function(e) {
			return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0
		},
		which: function(e) {
			return e.type === "keypress" ? Hy(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0
		}
	}),
	Nhe = Zi(Lhe),
	Dhe = hn({}, Z_, {
		pointerId: 0,
		width: 0,
		height: 0,
		pressure: 0,
		tangentialPressure: 0,
		tiltX: 0,
		tiltY: 0,
		twist: 0,
		pointerType: 0,
		isPrimary: 0
	}),
	zA = Zi(Dhe),
	$he = hn({}, P1, {
		touches: 0,
		targetTouches: 0,
		changedTouches: 0,
		altKey: 0,
		metaKey: 0,
		ctrlKey: 0,
		shiftKey: 0,
		getModifierState: GO
	}),
	Fhe = Zi($he),
	jhe = hn({}, ph, {
		propertyName: 0,
		elapsedTime: 0,
		pseudoElement: 0
	}),
	Uhe = Zi(jhe),
	Hhe = hn({}, Z_, {
		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
	}),
	Vhe = Zi(Hhe),
	Bhe = [9, 13, 27, 32],
	WO = Ns && "CompositionEvent" in window,
	ov = null;
Ns && "documentMode" in document && (ov = document.documentMode);
var zhe = Ns && "TextEvent" in window && !ov,
	OH = Ns && (!WO || ov && 8 < ov && 11 >= ov),
	GA = " ",
	WA = !1;

function TH(e, t) {
	switch (e) {
		case "keyup":
			return Bhe.indexOf(t.keyCode) !== -1;
		case "keydown":
			return t.keyCode !== 229;
		case "keypress":
		case "mousedown":
		case "focusout":
			return !0;
		default:
			return !1
	}
}

function RH(e) {
	return e = e.detail, typeof e == "object" && "data" in e ? e.data : null
}
var Md = !1;

function Ghe(e, t) {
	switch (e) {
		case "compositionend":
			return RH(t);
		case "keypress":
			return t.which !== 32 ? null : (WA = !0, GA);
		case "textInput":
			return e = t.data, e === GA && WA ? null : e;
		default:
			return null
	}
}

function Whe(e, t) {
	if (Md) return e === "compositionend" || !WO && TH(e, t) ? (e = CH(), Uy = BO = Wu = null, Md = !1, e) : null;
	switch (e) {
		case "paste":
			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 OH && t.locale !== "ko" ? null : t.data;
		default:
			return null
	}
}
var Khe = {
	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 KA(e) {
	var t = e && e.nodeName && e.nodeName.toLowerCase();
	return t === "input" ? !!Khe[e.type] : t === "textarea"
}

function IH(e, t, n, r) {
	aH(r), t = K2(t, "onChange"), 0 < t.length && (n = new zO("onChange", "change", null, n, r), e.push({
		event: n,
		listeners: t
	}))
}
var av = null,
	Nv = null;

function Zhe(e) {
	UH(e, 0)
}

function q_(e) {
	var t = Nd(e);
	if (QU(t)) return e
}

function qhe(e, t) {
	if (e === "change") return t
}
var kH = !1;
if (Ns) {
	var s3;
	if (Ns) {
		var u3 = "oninput" in document;
		if (!u3) {
			var ZA = document.createElement("div");
			ZA.setAttribute("oninput", "return;"), u3 = typeof ZA.oninput == "function"
		}
		s3 = u3
	} else s3 = !1;
	kH = s3 && (!document.documentMode || 9 < document.documentMode)
}

function qA() {
	av && (av.detachEvent("onpropertychange", AH), Nv = av = null)
}

function AH(e) {
	if (e.propertyName === "value" && q_(Nv)) {
		var t = [];
		IH(t, Nv, e, FO(e)), cH(Zhe, t)
	}
}

function Yhe(e, t, n) {
	e === "focusin" ? (qA(), av = t, Nv = n, av.attachEvent("onpropertychange", AH)) : e === "focusout" && qA()
}

function Xhe(e) {
	if (e === "selectionchange" || e === "keyup" || e === "keydown") return q_(Nv)
}

function Jhe(e, t) {
	if (e === "click") return q_(t)
}

function Qhe(e, t) {
	if (e === "input" || e === "change") return q_(t)
}

function e0e(e, t) {
	return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t
}
var na = typeof Object.is == "function" ? Object.is : e0e;

function Dv(e, t) {
	if (na(e, t)) return !0;
	if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1;
	var n = Object.keys(e),
		r = Object.keys(t);
	if (n.length !== r.length) return !1;
	for (r = 0; r < n.length; r++) {
		var i = n[r];
		if (!ZE.call(t, i) || !na(e[i], t[i])) return !1
	}
	return !0
}

function YA(e) {
	for (; e && e.firstChild;) e = e.firstChild;
	return e
}

function XA(e, t) {
	var n = YA(e);
	e = 0;
	for (var r; n;) {
		if (n.nodeType === 3) {
			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 = YA(n)
	}
}

function MH(e, t) {
	return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? MH(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1
}

function PH() {
	for (var e = window, t = U2(); t instanceof e.HTMLIFrameElement;) {
		try {
			var n = typeof t.contentWindow.location.href == "string"
		} catch (r) {
			n = !1
		}
		if (n) e = t.contentWindow;
		else break;
		t = U2(e.document)
	}
	return t
}

function KO(e) {
	var t = e && e.nodeName && e.nodeName.toLowerCase();
	return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true")
}

function t0e(e) {
	var t = PH(),
		n = e.focusedElem,
		r = e.selectionRange;
	if (t !== n && n && n.ownerDocument && MH(n.ownerDocument.documentElement, n)) {
		if (r !== null && KO(n)) {
			if (t = r.start, e = r.end, e === void 0 && (e = t), "selectionStart" in n) n.selectionStart = t, n.selectionEnd = Math.min(e, n.value.length);
			else if (e = (t = n.ownerDocument || document) && t.defaultView || window, e.getSelection) {
				e = e.getSelection();
				var i = n.textContent.length,
					o = Math.min(r.start, i);
				r = r.end === void 0 ? o : Math.min(r.end, i), !e.extend && o > r && (i = r, r = o, o = i), i = XA(n, o);
				var a = XA(n, r);
				i && a && (e.rangeCount !== 1 || e.anchorNode !== i.node || e.anchorOffset !== i.offset || e.focusNode !== a.node || e.focusOffset !== a.offset) && (t = t.createRange(), t.setStart(i.node, i.offset), e.removeAllRanges(), o > r ? (e.addRange(t), e.extend(a.node, a.offset)) : (t.setEnd(a.node, a.offset), e.addRange(t)))
			}
		}
		for (t = [], e = n; e = e.parentNode;) e.nodeType === 1 && t.push({
			element: e,
			left: e.scrollLeft,
			top: e.scrollTop
		});
		for (typeof n.focus == "function" && n.focus(), n = 0; n < t.length; n++) e = t[n], e.element.scrollLeft = e.left, e.element.scrollTop = e.top
	}
}
var n0e = Ns && "documentMode" in document && 11 >= document.documentMode,
	Pd = null,
	p5 = null,
	sv = null,
	h5 = !1;

function JA(e, t, n) {
	var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
	h5 || Pd == null || Pd !== U2(r) || (r = Pd, "selectionStart" in r && KO(r) ? r = {
		start: r.selectionStart,
		end: r.selectionEnd
	} : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {
		anchorNode: r.anchorNode,
		anchorOffset: r.anchorOffset,
		focusNode: r.focusNode,
		focusOffset: r.focusOffset
	}), sv && Dv(sv, r) || (sv = r, r = K2(p5, "onSelect"), 0 < r.length && (t = new zO("onSelect", "select", null, t, n), e.push({
		event: t,
		listeners: r
	}), t.target = Pd)))
}

function Em(e, t) {
	var n = {};
	return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n
}
var Ld = {
		animationend: Em("Animation", "AnimationEnd"),
		animationiteration: Em("Animation", "AnimationIteration"),
		animationstart: Em("Animation", "AnimationStart"),
		transitionend: Em("Transition", "TransitionEnd")
	},
	l3 = {},
	LH = {};
Ns && (LH = document.createElement("div").style, "AnimationEvent" in window || (delete Ld.animationend.animation, delete Ld.animationiteration.animation, delete Ld.animationstart.animation), "TransitionEvent" in window || delete Ld.transitionend.transition);

function Y_(e) {
	if (l3[e]) return l3[e];
	if (!Ld[e]) return e;
	var t = Ld[e],
		n;
	for (n in t)
		if (t.hasOwnProperty(n) && n in LH) return l3[e] = t[n];
	return e
}
var NH = Y_("animationend"),
	DH = Y_("animationiteration"),
	$H = Y_("animationstart"),
	FH = Y_("transitionend"),
	jH = new Map,
	QA = "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 kl(e, t) {
	jH.set(e, t), _f(t, [e])
}
for (var c3 = 0; c3 < QA.length; c3++) {
	var f3 = QA[c3],
		r0e = f3.toLowerCase(),
		i0e = f3[0].toUpperCase() + f3.slice(1);
	kl(r0e, "on" + i0e)
}
kl(NH, "onAnimationEnd");
kl(DH, "onAnimationIteration");
kl($H, "onAnimationStart");
kl("dblclick", "onDoubleClick");
kl("focusin", "onFocus");
kl("focusout", "onBlur");
kl(FH, "onTransitionEnd");
Tp("onMouseEnter", ["mouseout", "mouseover"]);
Tp("onMouseLeave", ["mouseout", "mouseover"]);
Tp("onPointerEnter", ["pointerout", "pointerover"]);
Tp("onPointerLeave", ["pointerout", "pointerover"]);
_f("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" "));
_f("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));
_f("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
_f("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" "));
_f("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" "));
_f("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));
var W0 = "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(" "),
	o0e = new Set("cancel close invalid load scroll toggle".split(" ").concat(W0));

function eM(e, t, n) {
	var r = e.type || "unknown-event";
	e.currentTarget = n, rhe(r, t, void 0, e), e.currentTarget = null
}

function UH(e, t) {
	t = (t & 4) !== 0;
	for (var n = 0; n < e.length; n++) {
		var r = e[n],
			i = r.event;
		r = r.listeners;
		e: {
			var o = void 0;
			if (t)
				for (var a = r.length - 1; 0 <= a; a--) {
					var s = r[a],
						u = s.instance,
						l = s.currentTarget;
					if (s = s.listener, u !== o && i.isPropagationStopped()) break e;
					eM(i, s, l), o = u
				} else
					for (a = 0; a < r.length; a++) {
						if (s = r[a], u = s.instance, l = s.currentTarget, s = s.listener, u !== o && i.isPropagationStopped()) break e;
						eM(i, s, l), o = u
					}
		}
	}
	if (V2) throw e = l5, V2 = !1, l5 = null, e
}

function Xt(e, t) {
	var n = t[w5];
	n === void 0 && (n = t[w5] = new Set);
	var r = e + "__bubble";
	n.has(r) || (HH(t, e, 2, !1), n.add(r))
}

function d3(e, t, n) {
	var r = 0;
	t && (r |= 4), HH(n, e, r, t)
}
var Cm = "_reactListening" + Math.random().toString(36).slice(2);

function $v(e) {
	if (!e[Cm]) {
		e[Cm] = !0, ZU.forEach(function(n) {
			n !== "selectionchange" && (o0e.has(n) || d3(n, !1, e), d3(n, !0, e))
		});
		var t = e.nodeType === 9 ? e : e.ownerDocument;
		t === null || t[Cm] || (t[Cm] = !0, d3("selectionchange", !1, t))
	}
}

function HH(e, t, n, r) {
	switch (EH(t)) {
		case 1:
			var i = whe;
			break;
		case 4:
			i = _he;
			break;
		default:
			i = VO
	}
	n = i.bind(null, t, n, e), i = void 0, !u5 || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (i = !0), r ? i !== void 0 ? e.addEventListener(t, n, {
		capture: !0,
		passive: i
	}) : e.addEventListener(t, n, !0) : i !== void 0 ? e.addEventListener(t, n, {
		passive: i
	}) : e.addEventListener(t, n, !1)
}

function p3(e, t, n, r, i) {
	var o = r;
	if (!(t & 1) && !(t & 2) && r !== null) e: for (;;) {
		if (r === null) return;
		var a = r.tag;
		if (a === 3 || a === 4) {
			var s = r.stateNode.containerInfo;
			if (s === i || s.nodeType === 8 && s.parentNode === i) break;
			if (a === 4)
				for (a = r.return; a !== null;) {
					var u = a.tag;
					if ((u === 3 || u === 4) && (u = a.stateNode.containerInfo, u === i || u.nodeType === 8 && u.parentNode === i)) return;
					a = a.return
				}
			for (; s !== null;) {
				if (a = Tc(s), a === null) return;
				if (u = a.tag, u === 5 || u === 6) {
					r = o = a;
					continue e
				}
				s = s.parentNode
			}
		}
		r = r.return
	}
	cH(function() {
		var l = o,
			c = FO(n),
			d = [];
		e: {
			var p = jH.get(e);
			if (p !== void 0) {
				var g = zO,
					m = e;
				switch (e) {
					case "keypress":
						if (Hy(n) === 0) break e;
					case "keydown":
					case "keyup":
						g = Nhe;
						break;
					case "focusin":
						m = "focus", g = a3;
						break;
					case "focusout":
						m = "blur", g = a3;
						break;
					case "beforeblur":
					case "afterblur":
						g = a3;
						break;
					case "click":
						if (n.button === 2) break e;
					case "auxclick":
					case "dblclick":
					case "mousedown":
					case "mousemove":
					case "mouseup":
					case "mouseout":
					case "mouseover":
					case "contextmenu":
						g = VA;
						break;
					case "drag":
					case "dragend":
					case "dragenter":
					case "dragexit":
					case "dragleave":
					case "dragover":
					case "dragstart":
					case "drop":
						g = xhe;
						break;
					case "touchcancel":
					case "touchend":
					case "touchmove":
					case "touchstart":
						g = Fhe;
						break;
					case NH:
					case DH:
					case $H:
						g = Ohe;
						break;
					case FH:
						g = Uhe;
						break;
					case "scroll":
						g = bhe;
						break;
					case "wheel":
						g = Vhe;
						break;
					case "copy":
					case "cut":
					case "paste":
						g = Rhe;
						break;
					case "gotpointercapture":
					case "lostpointercapture":
					case "pointercancel":
					case "pointerdown":
					case "pointermove":
					case "pointerout":
					case "pointerover":
					case "pointerup":
						g = zA
				}
				var _ = (t & 4) !== 0,
					S = !_ && e === "scroll",
					y = _ ? p !== null ? p + "Capture" : null : p;
				_ = [];
				for (var w = l, b; w !== null;) {
					b = w;
					var E = b.stateNode;
					if (b.tag === 5 && E !== null && (b = E, y !== null && (E = Av(w, y), E != null && _.push(Fv(w, E, b)))), S) break;
					w = w.return
				}
				0 < _.length && (p = new g(p, m, null, n, c), d.push({
					event: p,
					listeners: _
				}))
			}
		}
		if (!(t & 7)) {
			e: {
				if (p = e === "mouseover" || e === "pointerover", g = e === "mouseout" || e === "pointerout", p && n !== a5 && (m = n.relatedTarget || n.fromElement) && (Tc(m) || m[Ds])) break e;
				if ((g || p) && (p = c.window === c ? c : (p = c.ownerDocument) ? p.defaultView || p.parentWindow : window, g ? (m = n.relatedTarget || n.toElement, g = l, m = m ? Tc(m) : null, m !== null && (S = bf(m), m !== S || m.tag !== 5 && m.tag !== 6) && (m = null)) : (g = null, m = l), g !== m)) {
					if (_ = VA, E = "onMouseLeave", y = "onMouseEnter", w = "mouse", (e === "pointerout" || e === "pointerover") && (_ = zA, E = "onPointerLeave", y = "onPointerEnter", w = "pointer"), S = g == null ? p : Nd(g), b = m == null ? p : Nd(m), p = new _(E, w + "leave", g, n, c), p.target = S, p.relatedTarget = b, E = null, Tc(c) === l && (_ = new _(y, w + "enter", m, n, c), _.target = b, _.relatedTarget = S, E = _), S = E, g && m) t: {
						for (_ = g, y = m, w = 0, b = _; b; b = ld(b)) w++;
						for (b = 0, E = y; E; E = ld(E)) b++;
						for (; 0 < w - b;) _ = ld(_),
						w--;
						for (; 0 < b - w;) y = ld(y),
						b--;
						for (; w--;) {
							if (_ === y || y !== null && _ === y.alternate) break t;
							_ = ld(_), y = ld(y)
						}
						_ = null
					}
					else _ = null;
					g !== null && tM(d, p, g, _, !1), m !== null && S !== null && tM(d, S, m, _, !0)
				}
			}
			e: {
				if (p = l ? Nd(l) : window, g = p.nodeName && p.nodeName.toLowerCase(), g === "select" || g === "input" && p.type === "file") var T = qhe;
				else if (KA(p))
					if (kH) T = Qhe;
					else {
						T = Xhe;
						var O = Yhe
					}
				else(g = p.nodeName) && g.toLowerCase() === "input" && (p.type === "checkbox" || p.type === "radio") && (T = Jhe);
				if (T && (T = T(e, l))) {
					IH(d, T, n, c);
					break e
				}
				O && O(e, p, l),
				e === "focusout" && (O = p._wrapperState) && O.controlled && p.type === "number" && t5(p, "number", p.value)
			}
			switch (O = l ? Nd(l) : window, e) {
				case "focusin":
					(KA(O) || O.contentEditable === "true") && (Pd = O, p5 = l, sv = null);
					break;
				case "focusout":
					sv = p5 = Pd = null;
					break;
				case "mousedown":
					h5 = !0;
					break;
				case "contextmenu":
				case "mouseup":
				case "dragend":
					h5 = !1, JA(d, n, c);
					break;
				case "selectionchange":
					if (n0e) break;
				case "keydown":
				case "keyup":
					JA(d, n, c)
			}
			var R;
			if (WO) e: {
				switch (e) {
					case "compositionstart":
						var k = "onCompositionStart";
						break e;
					case "compositionend":
						k = "onCompositionEnd";
						break e;
					case "compositionupdate":
						k = "onCompositionUpdate";
						break e
				}
				k = void 0
			}
			else Md ? TH(e, n) && (k = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (k = "onCompositionStart");k && (OH && n.locale !== "ko" && (Md || k !== "onCompositionStart" ? k === "onCompositionEnd" && Md && (R = CH()) : (Wu = c, BO = "value" in Wu ? Wu.value : Wu.textContent, Md = !0)), O = K2(l, k), 0 < O.length && (k = new BA(k, e, null, n, c), d.push({
				event: k,
				listeners: O
			}), R ? k.data = R : (R = RH(n), R !== null && (k.data = R)))),
			(R = zhe ? Ghe(e, n) : Whe(e, n)) && (l = K2(l, "onBeforeInput"), 0 < l.length && (c = new BA("onBeforeInput", "beforeinput", null, n, c), d.push({
				event: c,
				listeners: l
			}), c.data = R))
		}
		UH(d, t)
	})
}

function Fv(e, t, n) {
	return {
		instance: e,
		listener: t,
		currentTarget: n
	}
}

function K2(e, t) {
	for (var n = t + "Capture", r = []; e !== null;) {
		var i = e,
			o = i.stateNode;
		i.tag === 5 && o !== null && (i = o, o = Av(e, n), o != null && r.unshift(Fv(e, o, i)), o = Av(e, t), o != null && r.push(Fv(e, o, i))), e = e.return
	}
	return r
}

function ld(e) {
	if (e === null) return null;
	do e = e.return; while (e && e.tag !== 5);
	return e || null
}

function tM(e, t, n, r, i) {
	for (var o = t._reactName, a = []; n !== null && n !== r;) {
		var s = n,
			u = s.alternate,
			l = s.stateNode;
		if (u !== null && u === r) break;
		s.tag === 5 && l !== null && (s = l, i ? (u = Av(n, o), u != null && a.unshift(Fv(n, u, s))) : i || (u = Av(n, o), u != null && a.push(Fv(n, u, s)))), n = n.return
	}
	a.length !== 0 && e.push({
		event: t,
		listeners: a
	})
}
var a0e = /\r\n?/g,
	s0e = /\u0000|\uFFFD/g;

function nM(e) {
	return (typeof e == "string" ? e : "" + e).replace(a0e, "\n").replace(s0e, "")
}

function Om(e, t, n) {
	if (t = nM(t), nM(e) !== t && n) throw Error(he(425))
}

function Z2() {}
var v5 = null,
	g5 = null;

function m5(e, t) {
	return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null
}
var y5 = typeof setTimeout == "function" ? setTimeout : void 0,
	u0e = typeof clearTimeout == "function" ? clearTimeout : void 0,
	rM = typeof Promise == "function" ? Promise : void 0,
	l0e = typeof queueMicrotask == "function" ? queueMicrotask : typeof rM < "u" ? function(e) {
		return rM.resolve(null).then(e).catch(c0e)
	} : y5;

function c0e(e) {
	setTimeout(function() {
		throw e
	})
}

function h3(e, t) {
	var n = t,
		r = 0;
	do {
		var i = n.nextSibling;
		if (e.removeChild(n), i && i.nodeType === 8)
			if (n = i.data, n === "/$") {
				if (r === 0) {
					e.removeChild(i), Lv(t);
					return
				}
				r--
			} else n !== "$" && n !== "$?" && n !== "$!" || r++;
		n = i
	} while (n);
	Lv(t)
}

function tl(e) {
	for (; e != null; e = e.nextSibling) {
		var t = e.nodeType;
		if (t === 1 || t === 3) break;
		if (t === 8) {
			if (t = e.data, t === "$" || t === "$!" || t === "$?") break;
			if (t === "/$") return null
		}
	}
	return e
}

function iM(e) {
	e = e.previousSibling;
	for (var t = 0; e;) {
		if (e.nodeType === 8) {
			var n = e.data;
			if (n === "$" || n === "$!" || n === "$?") {
				if (t === 0) return e;
				t--
			} else n === "/$" && t++
		}
		e = e.previousSibling
	}
	return null
}
var hh = Math.random().toString(36).slice(2),
	Aa = "__reactFiber$" + hh,
	jv = "__reactProps$" + hh,
	Ds = "__reactContainer$" + hh,
	w5 = "__reactEvents$" + hh,
	f0e = "__reactListeners$" + hh,
	d0e = "__reactHandles$" + hh;

function Tc(e) {
	var t = e[Aa];
	if (t) return t;
	for (var n = e.parentNode; n;) {
		if (t = n[Ds] || n[Aa]) {
			if (n = t.alternate, t.child !== null || n !== null && n.child !== null)
				for (e = iM(e); e !== null;) {
					if (n = e[Aa]) return n;
					e = iM(e)
				}
			return t
		}
		e = n, n = e.parentNode
	}
	return null
}

function L1(e) {
	return e = e[Aa] || e[Ds], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e
}

function Nd(e) {
	if (e.tag === 5 || e.tag === 6) return e.stateNode;
	throw Error(he(33))
}

function X_(e) {
	return e[jv] || null
}
var _5 = [],
	Dd = -1;

function Al(e) {
	return {
		current: e
	}
}

function en(e) {
	0 > Dd || (e.current = _5[Dd], _5[Dd] = null, Dd--)
}

function Kt(e, t) {
	Dd++, _5[Dd] = e.current, e.current = t
}
var pl = {},
	Nr = Al(pl),
	wi = Al(!1),
	ef = pl;

function Rp(e, t) {
	var n = e.type.contextTypes;
	if (!n) return pl;
	var r = e.stateNode;
	if (r && r.__reactInternalMemoizedUnmaskedChildContext === t) return r.__reactInternalMemoizedMaskedChildContext;
	var i = {},
		o;
	for (o in n) i[o] = t[o];
	return r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = i), i
}

function _i(e) {
	return e = e.childContextTypes, e != null
}

function q2() {
	en(wi), en(Nr)
}

function oM(e, t, n) {
	if (Nr.current !== pl) throw Error(he(168));
	Kt(Nr, t), Kt(wi, n)
}

function VH(e, t, n) {
	var r = e.stateNode;
	if (t = t.childContextTypes, typeof r.getChildContext != "function") return n;
	r = r.getChildContext();
	for (var i in r)
		if (!(i in t)) throw Error(he(108, Ype(e) || "Unknown", i));
	return hn({}, n, r)
}

function Y2(e) {
	return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || pl, ef = Nr.current, Kt(Nr, e), Kt(wi, wi.current), !0
}

function aM(e, t, n) {
	var r = e.stateNode;
	if (!r) throw Error(he(169));
	n ? (e = VH(e, t, ef), r.__reactInternalMemoizedMergedChildContext = e, en(wi), en(Nr), Kt(Nr, e)) : en(wi), Kt(wi, n)
}
var bs = null,
	J_ = !1,
	v3 = !1;

function BH(e) {
	bs === null ? bs = [e] : bs.push(e)
}

function p0e(e) {
	J_ = !0, BH(e)
}

function Ml() {
	if (!v3 && bs !== null) {
		v3 = !0;
		var e = 0,
			t = Dt;
		try {
			var n = bs;
			for (Dt = 1; e < n.length; e++) {
				var r = n[e];
				do r = r(!0); while (r !== null)
			}
			bs = null, J_ = !1
		} catch (i) {
			throw bs !== null && (bs = bs.slice(e + 1)), hH(jO, Ml), i
		} finally {
			Dt = t, v3 = !1
		}
	}
	return null
}
var $d = [],
	Fd = 0,
	X2 = null,
	J2 = 0,
	ho = [],
	vo = 0,
	tf = null,
	Cs = 1,
	Os = "";

function dc(e, t) {
	$d[Fd++] = J2, $d[Fd++] = X2, X2 = e, J2 = t
}

function zH(e, t, n) {
	ho[vo++] = Cs, ho[vo++] = Os, ho[vo++] = tf, tf = e;
	var r = Cs;
	e = Os;
	var i = 32 - Yo(r) - 1;
	r &= ~(1 << i), n += 1;
	var o = 32 - Yo(t) + i;
	if (30 < o) {
		var a = i - i % 5;
		o = (r & (1 << a) - 1).toString(32), r >>= a, i -= a, Cs = 1 << 32 - Yo(t) + i | n << i | r, Os = o + e
	} else Cs = 1 << o | n << i | r, Os = e
}

function ZO(e) {
	e.return !== null && (dc(e, 1), zH(e, 1, 0))
}

function qO(e) {
	for (; e === X2;) X2 = $d[--Fd], $d[Fd] = null, J2 = $d[--Fd], $d[Fd] = null;
	for (; e === tf;) tf = ho[--vo], ho[vo] = null, Os = ho[--vo], ho[vo] = null, Cs = ho[--vo], ho[vo] = null
}
var ji = null,
	Fi = null,
	on = !1,
	Bo = null;

function GH(e, t) {
	var n = wo(5, null, null, 0);
	n.elementType = "DELETED", n.stateNode = t, n.return = e, t = e.deletions, t === null ? (e.deletions = [n], e.flags |= 16) : t.push(n)
}

function sM(e, t) {
	switch (e.tag) {
		case 5:
			var n = e.type;
			return t = t.nodeType !== 1 || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, ji = e, Fi = tl(t.firstChild), !0) : !1;
		case 6:
			return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, ji = e, Fi = null, !0) : !1;
		case 13:
			return t = t.nodeType !== 8 ? null : t, t !== null ? (n = tf !== null ? {
				id: Cs,
				overflow: Os
			} : null, e.memoizedState = {
				dehydrated: t,
				treeContext: n,
				retryLane: 1073741824
			}, n = wo(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, ji = e, Fi = null, !0) : !1;
		default:
			return !1
	}
}

function b5(e) {
	return (e.mode & 1) !== 0 && (e.flags & 128) === 0
}

function S5(e) {
	if (on) {
		var t = Fi;
		if (t) {
			var n = t;
			if (!sM(e, t)) {
				if (b5(e)) throw Error(he(418));
				t = tl(n.nextSibling);
				var r = ji;
				t && sM(e, t) ? GH(r, n) : (e.flags = e.flags & -4097 | 2, on = !1, ji = e)
			}
		} else {
			if (b5(e)) throw Error(he(418));
			e.flags = e.flags & -4097 | 2, on = !1, ji = e
		}
	}
}

function uM(e) {
	for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13;) e = e.return;
	ji = e
}

function Tm(e) {
	if (e !== ji) return !1;
	if (!on) return uM(e), on = !0, !1;
	var t;
	if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !m5(e.type, e.memoizedProps)), t && (t = Fi)) {
		if (b5(e)) throw WH(), Error(he(418));
		for (; t;) GH(e, t), t = tl(t.nextSibling)
	}
	if (uM(e), e.tag === 13) {
		if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(he(317));
		e: {
			for (e = e.nextSibling, t = 0; e;) {
				if (e.nodeType === 8) {
					var n = e.data;
					if (n === "/$") {
						if (t === 0) {
							Fi = tl(e.nextSibling);
							break e
						}
						t--
					} else n !== "$" && n !== "$!" && n !== "$?" || t++
				}
				e = e.nextSibling
			}
			Fi = null
		}
	} else Fi = ji ? tl(e.stateNode.nextSibling) : null;
	return !0
}

function WH() {
	for (var e = Fi; e;) e = tl(e.nextSibling)
}

function Ip() {
	Fi = ji = null, on = !1
}

function YO(e) {
	Bo === null ? Bo = [e] : Bo.push(e)
}
var h0e = Zs.ReactCurrentBatchConfig;

function _0(e, t, n) {
	if (e = n.ref, e !== null && typeof e != "function" && typeof e != "object") {
		if (n._owner) {
			if (n = n._owner, n) {
				if (n.tag !== 1) throw Error(he(309));
				var r = n.stateNode
			}
			if (!r) throw Error(he(147, e));
			var i = r,
				o = "" + e;
			return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === o ? t.ref : (t = function(a) {
				var s = i.refs;
				a === null ? delete s[o] : s[o] = a
			}, t._stringRef = o, t)
		}
		if (typeof e != "string") throw Error(he(284));
		if (!n._owner) throw Error(he(290, e))
	}
	return e
}

function Rm(e, t) {
	throw e = Object.prototype.toString.call(t), Error(he(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e))
}

function lM(e) {
	var t = e._init;
	return t(e._payload)
}

function KH(e) {
	function t(y, w) {
		if (e) {
			var b = y.deletions;
			b === null ? (y.deletions = [w], y.flags |= 16) : b.push(w)
		}
	}

	function n(y, w) {
		if (!e) return null;
		for (; w !== null;) t(y, w), w = w.sibling;
		return null
	}

	function r(y, w) {
		for (y = new Map; w !== null;) w.key !== null ? y.set(w.key, w) : y.set(w.index, w), w = w.sibling;
		return y
	}

	function i(y, w) {
		return y = ol(y, w), y.index = 0, y.sibling = null, y
	}

	function o(y, w, b) {
		return y.index = b, e ? (b = y.alternate, b !== null ? (b = b.index, b < w ? (y.flags |= 2, w) : b) : (y.flags |= 2, w)) : (y.flags |= 1048576, w)
	}

	function a(y) {
		return e && y.alternate === null && (y.flags |= 2), y
	}

	function s(y, w, b, E) {
		return w === null || w.tag !== 6 ? (w = S3(b, y.mode, E), w.return = y, w) : (w = i(w, b), w.return = y, w)
	}

	function u(y, w, b, E) {
		var T = b.type;
		return T === Ad ? c(y, w, b.props.children, E, b.key) : w !== null && (w.elementType === T || typeof T == "object" && T !== null && T.$$typeof === ku && lM(T) === w.type) ? (E = i(w, b.props), E.ref = _0(y, w, b), E.return = y, E) : (E = Zy(b.type, b.key, b.props, null, y.mode, E), E.ref = _0(y, w, b), E.return = y, E)
	}

	function l(y, w, b, E) {
		return w === null || w.tag !== 4 || w.stateNode.containerInfo !== b.containerInfo || w.stateNode.implementation !== b.implementation ? (w = x3(b, y.mode, E), w.return = y, w) : (w = i(w, b.children || []), w.return = y, w)
	}

	function c(y, w, b, E, T) {
		return w === null || w.tag !== 7 ? (w = Uc(b, y.mode, E, T), w.return = y, w) : (w = i(w, b), w.return = y, w)
	}

	function d(y, w, b) {
		if (typeof w == "string" && w !== "" || typeof w == "number") return w = S3("" + w, y.mode, b), w.return = y, w;
		if (typeof w == "object" && w !== null) {
			switch (w.$$typeof) {
				case mm:
					return b = Zy(w.type, w.key, w.props, null, y.mode, b), b.ref = _0(y, null, w), b.return = y, b;
				case kd:
					return w = x3(w, y.mode, b), w.return = y, w;
				case ku:
					var E = w._init;
					return d(y, E(w._payload), b)
			}
			if (z0(w) || v0(w)) return w = Uc(w, y.mode, b, null), w.return = y, w;
			Rm(y, w)
		}
		return null
	}

	function p(y, w, b, E) {
		var T = w !== null ? w.key : null;
		if (typeof b == "string" && b !== "" || typeof b == "number") return T !== null ? null : s(y, w, "" + b, E);
		if (typeof b == "object" && b !== null) {
			switch (b.$$typeof) {
				case mm:
					return b.key === T ? u(y, w, b, E) : null;
				case kd:
					return b.key === T ? l(y, w, b, E) : null;
				case ku:
					return T = b._init, p(y, w, T(b._payload), E)
			}
			if (z0(b) || v0(b)) return T !== null ? null : c(y, w, b, E, null);
			Rm(y, b)
		}
		return null
	}

	function g(y, w, b, E, T) {
		if (typeof E == "string" && E !== "" || typeof E == "number") return y = y.get(b) || null, s(w, y, "" + E, T);
		if (typeof E == "object" && E !== null) {
			switch (E.$$typeof) {
				case mm:
					return y = y.get(E.key === null ? b : E.key) || null, u(w, y, E, T);
				case kd:
					return y = y.get(E.key === null ? b : E.key) || null, l(w, y, E, T);
				case ku:
					var O = E._init;
					return g(y, w, b, O(E._payload), T)
			}
			if (z0(E) || v0(E)) return y = y.get(b) || null, c(w, y, E, T, null);
			Rm(w, E)
		}
		return null
	}

	function m(y, w, b, E) {
		for (var T = null, O = null, R = w, k = w = 0, M = null; R !== null && k < b.length; k++) {
			R.index > k ? (M = R, R = null) : M = R.sibling;
			var D = p(y, R, b[k], E);
			if (D === null) {
				R === null && (R = M);
				break
			}
			e && R && D.alternate === null && t(y, R), w = o(D, w, k), O === null ? T = D : O.sibling = D, O = D, R = M
		}
		if (k === b.length) return n(y, R), on && dc(y, k), T;
		if (R === null) {
			for (; k < b.length; k++) R = d(y, b[k], E), R !== null && (w = o(R, w, k), O === null ? T = R : O.sibling = R, O = R);
			return on && dc(y, k), T
		}
		for (R = r(y, R); k < b.length; k++) M = g(R, y, k, b[k], E), M !== null && (e && M.alternate !== null && R.delete(M.key === null ? k : M.key), w = o(M, w, k), O === null ? T = M : O.sibling = M, O = M);
		return e && R.forEach(function(P) {
			return t(y, P)
		}), on && dc(y, k), T
	}

	function _(y, w, b, E) {
		var T = v0(b);
		if (typeof T != "function") throw Error(he(150));
		if (b = T.call(b), b == null) throw Error(he(151));
		for (var O = T = null, R = w, k = w = 0, M = null, D = b.next(); R !== null && !D.done; k++, D = b.next()) {
			R.index > k ? (M = R, R = null) : M = R.sibling;
			var P = p(y, R, D.value, E);
			if (P === null) {
				R === null && (R = M);
				break
			}
			e && R && P.alternate === null && t(y, R), w = o(P, w, k), O === null ? T = P : O.sibling = P, O = P, R = M
		}
		if (D.done) return n(y, R), on && dc(y, k), T;
		if (R === null) {
			for (; !D.done; k++, D = b.next()) D = d(y, D.value, E), D !== null && (w = o(D, w, k), O === null ? T = D : O.sibling = D, O = D);
			return on && dc(y, k), T
		}
		for (R = r(y, R); !D.done; k++, D = b.next()) D = g(R, y, k, D.value, E), D !== null && (e && D.alternate !== null && R.delete(D.key === null ? k : D.key), w = o(D, w, k), O === null ? T = D : O.sibling = D, O = D);
		return e && R.forEach(function(U) {
			return t(y, U)
		}), on && dc(y, k), T
	}

	function S(y, w, b, E) {
		if (typeof b == "object" && b !== null && b.type === Ad && b.key === null && (b = b.props.children), typeof b == "object" && b !== null) {
			switch (b.$$typeof) {
				case mm:
					e: {
						for (var T = b.key, O = w; O !== null;) {
							if (O.key === T) {
								if (T = b.type, T === Ad) {
									if (O.tag === 7) {
										n(y, O.sibling), w = i(O, b.props.children), w.return = y, y = w;
										break e
									}
								} else if (O.elementType === T || typeof T == "object" && T !== null && T.$$typeof === ku && lM(T) === O.type) {
									n(y, O.sibling), w = i(O, b.props), w.ref = _0(y, O, b), w.return = y, y = w;
									break e
								}
								n(y, O);
								break
							} else t(y, O);
							O = O.sibling
						}
						b.type === Ad ? (w = Uc(b.props.children, y.mode, E, b.key), w.return = y, y = w) : (E = Zy(b.type, b.key, b.props, null, y.mode, E), E.ref = _0(y, w, b), E.return = y, y = E)
					}
					return a(y);
				case kd:
					e: {
						for (O = b.key; w !== null;) {
							if (w.key === O)
								if (w.tag === 4 && w.stateNode.containerInfo === b.containerInfo && w.stateNode.implementation === b.implementation) {
									n(y, w.sibling), w = i(w, b.children || []), w.return = y, y = w;
									break e
								} else {
									n(y, w);
									break
								}
							else t(y, w);
							w = w.sibling
						}
						w = x3(b, y.mode, E),
						w.return = y,
						y = w
					}
					return a(y);
				case ku:
					return O = b._init, S(y, w, O(b._payload), E)
			}
			if (z0(b)) return m(y, w, b, E);
			if (v0(b)) return _(y, w, b, E);
			Rm(y, b)
		}
		return typeof b == "string" && b !== "" || typeof b == "number" ? (b = "" + b, w !== null && w.tag === 6 ? (n(y, w.sibling), w = i(w, b), w.return = y, y = w) : (n(y, w), w = S3(b, y.mode, E), w.return = y, y = w), a(y)) : n(y, w)
	}
	return S
}
var kp = KH(!0),
	ZH = KH(!1),
	Q2 = Al(null),
	ew = null,
	jd = null,
	XO = null;

function JO() {
	XO = jd = ew = null
}

function QO(e) {
	var t = Q2.current;
	en(Q2), e._currentValue = t
}

function x5(e, t, n) {
	for (; e !== null;) {
		var r = e.alternate;
		if ((e.childLanes & t) !== t ? (e.childLanes |= t, r !== null && (r.childLanes |= t)) : r !== null && (r.childLanes & t) !== t && (r.childLanes |= t), e === n) break;
		e = e.return
	}
}

function ip(e, t) {
	ew = e, XO = jd = null, e = e.dependencies, e !== null && e.firstContext !== null && (e.lanes & t && (mi = !0), e.firstContext = null)
}

function Co(e) {
	var t = e._currentValue;
	if (XO !== e)
		if (e = {
				context: e,
				memoizedValue: t,
				next: null
			}, jd === null) {
			if (ew === null) throw Error(he(308));
			jd = e, ew.dependencies = {
				lanes: 0,
				firstContext: e
			}
		} else jd = jd.next = e;
	return t
}
var Rc = null;

function e7(e) {
	Rc === null ? Rc = [e] : Rc.push(e)
}

function qH(e, t, n, r) {
	var i = t.interleaved;
	return i === null ? (n.next = n, e7(t)) : (n.next = i.next, i.next = n), t.interleaved = n, $s(e, r)
}

function $s(e, t) {
	e.lanes |= t;
	var n = e.alternate;
	for (n !== null && (n.lanes |= t), n = e, e = e.return; e !== null;) e.childLanes |= t, n = e.alternate, n !== null && (n.childLanes |= t), n = e, e = e.return;
	return n.tag === 3 ? n.stateNode : null
}
var Au = !1;

function t7(e) {
	e.updateQueue = {
		baseState: e.memoizedState,
		firstBaseUpdate: null,
		lastBaseUpdate: null,
		shared: {
			pending: null,
			interleaved: null,
			lanes: 0
		},
		effects: null
	}
}

function YH(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 ks(e, t) {
	return {
		eventTime: e,
		lane: t,
		tag: 0,
		payload: null,
		callback: null,
		next: null
	}
}

function nl(e, t, n) {
	var r = e.updateQueue;
	if (r === null) return null;
	if (r = r.shared, wt & 2) {
		var i = r.pending;
		return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, $s(e, n)
	}
	return i = r.interleaved, i === null ? (t.next = t, e7(r)) : (t.next = i.next, i.next = t), r.interleaved = t, $s(e, n)
}

function Vy(e, t, n) {
	if (t = t.updateQueue, t !== null && (t = t.shared, (n & 4194240) !== 0)) {
		var r = t.lanes;
		r &= e.pendingLanes, n |= r, t.lanes = n, UO(e, n)
	}
}

function cM(e, t) {
	var n = e.updateQueue,
		r = e.alternate;
	if (r !== null && (r = r.updateQueue, n === r)) {
		var i = null,
			o = null;
		if (n = n.firstBaseUpdate, n !== null) {
			do {
				var a = {
					eventTime: n.eventTime,
					lane: n.lane,
					tag: n.tag,
					payload: n.payload,
					callback: n.callback,
					next: null
				};
				o === null ? i = o = a : o = o.next = a, n = n.next
			} while (n !== null);
			o === null ? i = o = t : o = o.next = t
		} else i = o = t;
		n = {
			baseState: r.baseState,
			firstBaseUpdate: i,
			lastBaseUpdate: o,
			shared: r.shared,
			effects: r.effects
		}, e.updateQueue = n;
		return
	}
	e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t
}

function tw(e, t, n, r) {
	var i = e.updateQueue;
	Au = !1;
	var o = i.firstBaseUpdate,
		a = i.lastBaseUpdate,
		s = i.shared.pending;
	if (s !== null) {
		i.shared.pending = null;
		var u = s,
			l = u.next;
		u.next = null, a === null ? o = l : a.next = l, a = u;
		var c = e.alternate;
		c !== null && (c = c.updateQueue, s = c.lastBaseUpdate, s !== a && (s === null ? c.firstBaseUpdate = l : s.next = l, c.lastBaseUpdate = u))
	}
	if (o !== null) {
		var d = i.baseState;
		a = 0, c = l = u = null, s = o;
		do {
			var p = s.lane,
				g = s.eventTime;
			if ((r & p) === p) {
				c !== null && (c = c.next = {
					eventTime: g,
					lane: 0,
					tag: s.tag,
					payload: s.payload,
					callback: s.callback,
					next: null
				});
				e: {
					var m = e,
						_ = s;
					switch (p = t, g = n, _.tag) {
						case 1:
							if (m = _.payload, typeof m == "function") {
								d = m.call(g, d, p);
								break e
							}
							d = m;
							break e;
						case 3:
							m.flags = m.flags & -65537 | 128;
						case 0:
							if (m = _.payload, p = typeof m == "function" ? m.call(g, d, p) : m, p == null) break e;
							d = hn({}, d, p);
							break e;
						case 2:
							Au = !0
					}
				}
				s.callback !== null && s.lane !== 0 && (e.flags |= 64, p = i.effects, p === null ? i.effects = [s] : p.push(s))
			} else g = {
				eventTime: g,
				lane: p,
				tag: s.tag,
				payload: s.payload,
				callback: s.callback,
				next: null
			}, c === null ? (l = c = g, u = d) : c = c.next = g, a |= p;
			if (s = s.next, s === null) {
				if (s = i.shared.pending, s === null) break;
				p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null
			}
		} while (!0);
		if (c === null && (u = d), i.baseState = u, i.firstBaseUpdate = l, i.lastBaseUpdate = c, t = i.shared.interleaved, t !== null) {
			i = t;
			do a |= i.lane, i = i.next; while (i !== t)
		} else o === null && (i.shared.lanes = 0);
		rf |= a, e.lanes = a, e.memoizedState = d
	}
}

function fM(e, t, n) {
	if (e = t.effects, t.effects = null, e !== null)
		for (t = 0; t < e.length; t++) {
			var r = e[t],
				i = r.callback;
			if (i !== null) {
				if (r.callback = null, r = n, typeof i != "function") throw Error(he(191, i));
				i.call(r)
			}
		}
}
var N1 = {},
	Va = Al(N1),
	Uv = Al(N1),
	Hv = Al(N1);

function Ic(e) {
	if (e === N1) throw Error(he(174));
	return e
}

function n7(e, t) {
	switch (Kt(Hv, t), Kt(Uv, e), Kt(Va, N1), e = t.nodeType, e) {
		case 9:
		case 11:
			t = (t = t.documentElement) ? t.namespaceURI : r5(null, "");
			break;
		default:
			e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = r5(t, e)
	}
	en(Va), Kt(Va, t)
}

function Ap() {
	en(Va), en(Uv), en(Hv)
}

function XH(e) {
	Ic(Hv.current);
	var t = Ic(Va.current),
		n = r5(t, e.type);
	t !== n && (Kt(Uv, e), Kt(Va, n))
}

function r7(e) {
	Uv.current === e && (en(Va), en(Uv))
}
var dn = Al(0);

function nw(e) {
	for (var t = e; t !== null;) {
		if (t.tag === 13) {
			var n = t.memoizedState;
			if (n !== null && (n = n.dehydrated, n === null || n.data === "$?" || n.data === "$!")) return t
		} else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) {
			if (t.flags & 128) return t
		} else if (t.child !== null) {
			t.child.return = t, t = t.child;
			continue
		}
		if (t === e) break;
		for (; t.sibling === null;) {
			if (t.return === null || t.return === e) return null;
			t = t.return
		}
		t.sibling.return = t.return, t = t.sibling
	}
	return null
}
var g3 = [];

function i7() {
	for (var e = 0; e < g3.length; e++) g3[e]._workInProgressVersionPrimary = null;
	g3.length = 0
}
var By = Zs.ReactCurrentDispatcher,
	m3 = Zs.ReactCurrentBatchConfig,
	nf = 0,
	pn = null,
	Bn = null,
	Jn = null,
	rw = !1,
	uv = !1,
	Vv = 0,
	v0e = 0;

function xr() {
	throw Error(he(321))
}

function o7(e, t) {
	if (t === null) return !1;
	for (var n = 0; n < t.length && n < e.length; n++)
		if (!na(e[n], t[n])) return !1;
	return !0
}

function a7(e, t, n, r, i, o) {
	if (nf = o, pn = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, By.current = e === null || e.memoizedState === null ? w0e : _0e, e = n(r, i), uv) {
		o = 0;
		do {
			if (uv = !1, Vv = 0, 25 <= o) throw Error(he(301));
			o += 1, Jn = Bn = null, t.updateQueue = null, By.current = b0e, e = n(r, i)
		} while (uv)
	}
	if (By.current = iw, t = Bn !== null && Bn.next !== null, nf = 0, Jn = Bn = pn = null, rw = !1, t) throw Error(he(300));
	return e
}

function s7() {
	var e = Vv !== 0;
	return Vv = 0, e
}

function Ca() {
	var e = {
		memoizedState: null,
		baseState: null,
		baseQueue: null,
		queue: null,
		next: null
	};
	return Jn === null ? pn.memoizedState = Jn = e : Jn = Jn.next = e, Jn
}

function Oo() {
	if (Bn === null) {
		var e = pn.alternate;
		e = e !== null ? e.memoizedState : null
	} else e = Bn.next;
	var t = Jn === null ? pn.memoizedState : Jn.next;
	if (t !== null) Jn = t, Bn = e;
	else {
		if (e === null) throw Error(he(310));
		Bn = e, e = {
			memoizedState: Bn.memoizedState,
			baseState: Bn.baseState,
			baseQueue: Bn.baseQueue,
			queue: Bn.queue,
			next: null
		}, Jn === null ? pn.memoizedState = Jn = e : Jn = Jn.next = e
	}
	return Jn
}

function Bv(e, t) {
	return typeof t == "function" ? t(e) : t
}

function y3(e) {
	var t = Oo(),
		n = t.queue;
	if (n === null) throw Error(he(311));
	n.lastRenderedReducer = e;
	var r = Bn,
		i = r.baseQueue,
		o = n.pending;
	if (o !== null) {
		if (i !== null) {
			var a = i.next;
			i.next = o.next, o.next = a
		}
		r.baseQueue = i = o, n.pending = null
	}
	if (i !== null) {
		o = i.next, r = r.baseState;
		var s = a = null,
			u = null,
			l = o;
		do {
			var c = l.lane;
			if ((nf & c) === c) u !== null && (u = u.next = {
				lane: 0,
				action: l.action,
				hasEagerState: l.hasEagerState,
				eagerState: l.eagerState,
				next: null
			}), r = l.hasEagerState ? l.eagerState : e(r, l.action);
			else {
				var d = {
					lane: c,
					action: l.action,
					hasEagerState: l.hasEagerState,
					eagerState: l.eagerState,
					next: null
				};
				u === null ? (s = u = d, a = r) : u = u.next = d, pn.lanes |= c, rf |= c
			}
			l = l.next
		} while (l !== null && l !== o);
		u === null ? a = r : u.next = s, na(r, t.memoizedState) || (mi = !0), t.memoizedState = r, t.baseState = a, t.baseQueue = u, n.lastRenderedState = r
	}
	if (e = n.interleaved, e !== null) {
		i = e;
		do o = i.lane, pn.lanes |= o, rf |= o, i = i.next; while (i !== e)
	} else i === null && (n.lanes = 0);
	return [t.memoizedState, n.dispatch]
}

function w3(e) {
	var t = Oo(),
		n = t.queue;
	if (n === null) throw Error(he(311));
	n.lastRenderedReducer = e;
	var r = n.dispatch,
		i = n.pending,
		o = t.memoizedState;
	if (i !== null) {
		n.pending = null;
		var a = i = i.next;
		do o = e(o, a.action), a = a.next; while (a !== i);
		na(o, t.memoizedState) || (mi = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o
	}
	return [o, r]
}

function JH() {}

function QH(e, t) {
	var n = pn,
		r = Oo(),
		i = t(),
		o = !na(r.memoizedState, i);
	if (o && (r.memoizedState = i, mi = !0), r = r.queue, u7(nV.bind(null, n, r, e), [e]), r.getSnapshot !== t || o || Jn !== null && Jn.memoizedState.tag & 1) {
		if (n.flags |= 2048, zv(9, tV.bind(null, n, r, i, t), void 0, null), nr === null) throw Error(he(349));
		nf & 30 || eV(n, t, i)
	}
	return i
}

function eV(e, t, n) {
	e.flags |= 16384, e = {
		getSnapshot: t,
		value: n
	}, t = pn.updateQueue, t === null ? (t = {
		lastEffect: null,
		stores: null
	}, pn.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e))
}

function tV(e, t, n, r) {
	t.value = n, t.getSnapshot = r, rV(t) && iV(e)
}

function nV(e, t, n) {
	return n(function() {
		rV(t) && iV(e)
	})
}

function rV(e) {
	var t = e.getSnapshot;
	e = e.value;
	try {
		var n = t();
		return !na(e, n)
	} catch (r) {
		return !0
	}
}

function iV(e) {
	var t = $s(e, 1);
	t !== null && Xo(t, e, 1, -1)
}

function dM(e) {
	var t = Ca();
	return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = {
		pending: null,
		interleaved: null,
		lanes: 0,
		dispatch: null,
		lastRenderedReducer: Bv,
		lastRenderedState: e
	}, t.queue = e, e = e.dispatch = y0e.bind(null, pn, e), [t.memoizedState, e]
}

function zv(e, t, n, r) {
	return e = {
		tag: e,
		create: t,
		destroy: n,
		deps: r,
		next: null
	}, t = pn.updateQueue, t === null ? (t = {
		lastEffect: null,
		stores: null
	}, pn.updateQueue = t, t.lastEffect = e.next = e) : (n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e)), e
}

function oV() {
	return Oo().memoizedState
}

function zy(e, t, n, r) {
	var i = Ca();
	pn.flags |= e, i.memoizedState = zv(1 | t, n, void 0, r === void 0 ? null : r)
}

function Q_(e, t, n, r) {
	var i = Oo();
	r = r === void 0 ? null : r;
	var o = void 0;
	if (Bn !== null) {
		var a = Bn.memoizedState;
		if (o = a.destroy, r !== null && o7(r, a.deps)) {
			i.memoizedState = zv(t, n, o, r);
			return
		}
	}
	pn.flags |= e, i.memoizedState = zv(1 | t, n, o, r)
}

function pM(e, t) {
	return zy(8390656, 8, e, t)
}

function u7(e, t) {
	return Q_(2048, 8, e, t)
}

function aV(e, t) {
	return Q_(4, 2, e, t)
}

function sV(e, t) {
	return Q_(4, 4, e, t)
}

function uV(e, t) {
	if (typeof t == "function") return e = e(), t(e),
		function() {
			t(null)
		};
	if (t != null) return e = e(), t.current = e,
		function() {
			t.current = null
		}
}

function lV(e, t, n) {
	return n = n != null ? n.concat([e]) : null, Q_(4, 4, uV.bind(null, t, e), n)
}

function l7() {}

function cV(e, t) {
	var n = Oo();
	t = t === void 0 ? null : t;
	var r = n.memoizedState;
	return r !== null && t !== null && o7(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e)
}

function fV(e, t) {
	var n = Oo();
	t = t === void 0 ? null : t;
	var r = n.memoizedState;
	return r !== null && t !== null && o7(t, r[1]) ? r[0] : (e = e(), n.memoizedState = [e, t], e)
}

function dV(e, t, n) {
	return nf & 21 ? (na(n, t) || (n = mH(), pn.lanes |= n, rf |= n, e.baseState = !0), t) : (e.baseState && (e.baseState = !1, mi = !0), e.memoizedState = n)
}

function g0e(e, t) {
	var n = Dt;
	Dt = n !== 0 && 4 > n ? n : 4, e(!0);
	var r = m3.transition;
	m3.transition = {};
	try {
		e(!1), t()
	} finally {
		Dt = n, m3.transition = r
	}
}

function pV() {
	return Oo().memoizedState
}

function m0e(e, t, n) {
	var r = il(e);
	if (n = {
			lane: r,
			action: n,
			hasEagerState: !1,
			eagerState: null,
			next: null
		}, hV(e)) vV(t, n);
	else if (n = qH(e, t, n, r), n !== null) {
		var i = Wr();
		Xo(n, e, r, i), gV(n, t, r)
	}
}

function y0e(e, t, n) {
	var r = il(e),
		i = {
			lane: r,
			action: n,
			hasEagerState: !1,
			eagerState: null,
			next: null
		};
	if (hV(e)) vV(t, i);
	else {
		var o = e.alternate;
		if (e.lanes === 0 && (o === null || o.lanes === 0) && (o = t.lastRenderedReducer, o !== null)) try {
			var a = t.lastRenderedState,
				s = o(a, n);
			if (i.hasEagerState = !0, i.eagerState = s, na(s, a)) {
				var u = t.interleaved;
				u === null ? (i.next = i, e7(t)) : (i.next = u.next, u.next = i), t.interleaved = i;
				return
			}
		} catch (l) {} finally {}
		n = qH(e, t, i, r), n !== null && (i = Wr(), Xo(n, e, r, i), gV(n, t, r))
	}
}

function hV(e) {
	var t = e.alternate;
	return e === pn || t !== null && t === pn
}

function vV(e, t) {
	uv = rw = !0;
	var n = e.pending;
	n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t
}

function gV(e, t, n) {
	if (n & 4194240) {
		var r = t.lanes;
		r &= e.pendingLanes, n |= r, t.lanes = n, UO(e, n)
	}
}
var iw = {
		readContext: Co,
		useCallback: xr,
		useContext: xr,
		useEffect: xr,
		useImperativeHandle: xr,
		useInsertionEffect: xr,
		useLayoutEffect: xr,
		useMemo: xr,
		useReducer: xr,
		useRef: xr,
		useState: xr,
		useDebugValue: xr,
		useDeferredValue: xr,
		useTransition: xr,
		useMutableSource: xr,
		useSyncExternalStore: xr,
		useId: xr,
		unstable_isNewReconciler: !1
	},
	w0e = {
		readContext: Co,
		useCallback: function(e, t) {
			return Ca().memoizedState = [e, t === void 0 ? null : t], e
		},
		useContext: Co,
		useEffect: pM,
		useImperativeHandle: function(e, t, n) {
			return n = n != null ? n.concat([e]) : null, zy(4194308, 4, uV.bind(null, t, e), n)
		},
		useLayoutEffect: function(e, t) {
			return zy(4194308, 4, e, t)
		},
		useInsertionEffect: function(e, t) {
			return zy(4, 2, e, t)
		},
		useMemo: function(e, t) {
			var n = Ca();
			return t = t === void 0 ? null : t, e = e(), n.memoizedState = [e, t], e
		},
		useReducer: function(e, t, n) {
			var r = Ca();
			return t = n !== void 0 ? n(t) : t, r.memoizedState = r.baseState = t, e = {
				pending: null,
				interleaved: null,
				lanes: 0,
				dispatch: null,
				lastRenderedReducer: e,
				lastRenderedState: t
			}, r.queue = e, e = e.dispatch = m0e.bind(null, pn, e), [r.memoizedState, e]
		},
		useRef: function(e) {
			var t = Ca();
			return e = {
				current: e
			}, t.memoizedState = e
		},
		useState: dM,
		useDebugValue: l7,
		useDeferredValue: function(e) {
			return Ca().memoizedState = e
		},
		useTransition: function() {
			var e = dM(!1),
				t = e[0];
			return e = g0e.bind(null, e[1]), Ca().memoizedState = e, [t, e]
		},
		useMutableSource: function() {},
		useSyncExternalStore: function(e, t, n) {
			var r = pn,
				i = Ca();
			if (on) {
				if (n === void 0) throw Error(he(407));
				n = n()
			} else {
				if (n = t(), nr === null) throw Error(he(349));
				nf & 30 || eV(r, t, n)
			}
			i.memoizedState = n;
			var o = {
				value: n,
				getSnapshot: t
			};
			return i.queue = o, pM(nV.bind(null, r, o, e), [e]), r.flags |= 2048, zv(9, tV.bind(null, r, o, n, t), void 0, null), n
		},
		useId: function() {
			var e = Ca(),
				t = nr.identifierPrefix;
			if (on) {
				var n = Os,
					r = Cs;
				n = (r & ~(1 << 32 - Yo(r) - 1)).toString(32) + n, t = ":" + t + "R" + n, n = Vv++, 0 < n && (t += "H" + n.toString(32)), t += ":"
			} else n = v0e++, t = ":" + t + "r" + n.toString(32) + ":";
			return e.memoizedState = t
		},
		unstable_isNewReconciler: !1
	},
	_0e = {
		readContext: Co,
		useCallback: cV,
		useContext: Co,
		useEffect: u7,
		useImperativeHandle: lV,
		useInsertionEffect: aV,
		useLayoutEffect: sV,
		useMemo: fV,
		useReducer: y3,
		useRef: oV,
		useState: function() {
			return y3(Bv)
		},
		useDebugValue: l7,
		useDeferredValue: function(e) {
			var t = Oo();
			return dV(t, Bn.memoizedState, e)
		},
		useTransition: function() {
			var e = y3(Bv)[0],
				t = Oo().memoizedState;
			return [e, t]
		},
		useMutableSource: JH,
		useSyncExternalStore: QH,
		useId: pV,
		unstable_isNewReconciler: !1
	},
	b0e = {
		readContext: Co,
		useCallback: cV,
		useContext: Co,
		useEffect: u7,
		useImperativeHandle: lV,
		useInsertionEffect: aV,
		useLayoutEffect: sV,
		useMemo: fV,
		useReducer: w3,
		useRef: oV,
		useState: function() {
			return w3(Bv)
		},
		useDebugValue: l7,
		useDeferredValue: function(e) {
			var t = Oo();
			return Bn === null ? t.memoizedState = e : dV(t, Bn.memoizedState, e)
		},
		useTransition: function() {
			var e = w3(Bv)[0],
				t = Oo().memoizedState;
			return [e, t]
		},
		useMutableSource: JH,
		useSyncExternalStore: QH,
		useId: pV,
		unstable_isNewReconciler: !1
	};

function jo(e, t) {
	if (e && e.defaultProps) {
		t = hn({}, t), e = e.defaultProps;
		for (var n in e) t[n] === void 0 && (t[n] = e[n]);
		return t
	}
	return t
}

function E5(e, t, n, r) {
	t = e.memoizedState, n = n(r, t), n = n == null ? t : hn({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n)
}
var eb = {
	isMounted: function(e) {
		return (e = e._reactInternals) ? bf(e) === e : !1
	},
	enqueueSetState: function(e, t, n) {
		e = e._reactInternals;
		var r = Wr(),
			i = il(e),
			o = ks(r, i);
		o.payload = t, n != null && (o.callback = n), t = nl(e, o, i), t !== null && (Xo(t, e, i, r), Vy(t, e, i))
	},
	enqueueReplaceState: function(e, t, n) {
		e = e._reactInternals;
		var r = Wr(),
			i = il(e),
			o = ks(r, i);
		o.tag = 1, o.payload = t, n != null && (o.callback = n), t = nl(e, o, i), t !== null && (Xo(t, e, i, r), Vy(t, e, i))
	},
	enqueueForceUpdate: function(e, t) {
		e = e._reactInternals;
		var n = Wr(),
			r = il(e),
			i = ks(n, r);
		i.tag = 2, t != null && (i.callback = t), t = nl(e, i, r), t !== null && (Xo(t, e, r, n), Vy(t, e, r))
	}
};

function hM(e, t, n, r, i, o, a) {
	return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, o, a) : t.prototype && t.prototype.isPureReactComponent ? !Dv(n, r) || !Dv(i, o) : !0
}

function mV(e, t, n) {
	var r = !1,
		i = pl,
		o = t.contextType;
	return typeof o == "object" && o !== null ? o = Co(o) : (i = _i(t) ? ef : Nr.current, r = t.contextTypes, o = (r = r != null) ? Rp(e, i) : pl), t = new t(n, o), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = eb, e.stateNode = t, t._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = i, e.__reactInternalMemoizedMaskedChildContext = o), t
}

function vM(e, t, n, r) {
	e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && eb.enqueueReplaceState(t, t.state, null)
}

function C5(e, t, n, r) {
	var i = e.stateNode;
	i.props = n, i.state = e.memoizedState, i.refs = {}, t7(e);
	var o = t.contextType;
	typeof o == "object" && o !== null ? i.context = Co(o) : (o = _i(t) ? ef : Nr.current, i.context = Rp(e, o)), i.state = e.memoizedState, o = t.getDerivedStateFromProps, typeof o == "function" && (E5(e, t, o, n), i.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof i.getSnapshotBeforeUpdate == "function" || typeof i.UNSAFE_componentWillMount != "function" && typeof i.componentWillMount != "function" || (t = i.state, typeof i.componentWillMount == "function" && i.componentWillMount(), typeof i.UNSAFE_componentWillMount == "function" && i.UNSAFE_componentWillMount(), t !== i.state && eb.enqueueReplaceState(i, i.state, null), tw(e, n, i, r), i.state = e.memoizedState), typeof i.componentDidMount == "function" && (e.flags |= 4194308)
}

function Mp(e, t) {
	try {
		var n = "",
			r = t;
		do n += qpe(r), r = r.return; while (r);
		var i = n
	} catch (o) {
		i = "\nError generating stack: " + o.message + "\n" + o.stack
	}
	return {
		value: e,
		source: t,
		stack: i,
		digest: null
	}
}

function _3(e, t, n) {
	return {
		value: e,
		source: null,
		stack: n != null ? n : null,
		digest: t != null ? t : null
	}
}

function O5(e, t) {
	try {
		console.error(t.value)
	} catch (n) {
		setTimeout(function() {
			throw n
		})
	}
}
var S0e = typeof WeakMap == "function" ? WeakMap : Map;

function yV(e, t, n) {
	n = ks(-1, n), n.tag = 3, n.payload = {
		element: null
	};
	var r = t.value;
	return n.callback = function() {
		aw || (aw = !0, D5 = r), O5(e, t)
	}, n
}

function wV(e, t, n) {
	n = ks(-1, n), n.tag = 3;
	var r = e.type.getDerivedStateFromError;
	if (typeof r == "function") {
		var i = t.value;
		n.payload = function() {
			return r(i)
		}, n.callback = function() {
			O5(e, t)
		}
	}
	var o = e.stateNode;
	return o !== null && typeof o.componentDidCatch == "function" && (n.callback = function() {
		O5(e, t), typeof r != "function" && (rl === null ? rl = new Set([this]) : rl.add(this));
		var a = t.stack;
		this.componentDidCatch(t.value, {
			componentStack: a !== null ? a : ""
		})
	}), n
}

function gM(e, t, n) {
	var r = e.pingCache;
	if (r === null) {
		r = e.pingCache = new S0e;
		var i = new Set;
		r.set(t, i)
	} else i = r.get(t), i === void 0 && (i = new Set, r.set(t, i));
	i.has(n) || (i.add(n), e = D0e.bind(null, e, t, n), t.then(e, e))
}

function mM(e) {
	do {
		var t;
		if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) return e;
		e = e.return
	} while (e !== null);
	return null
}

function yM(e, t, n, r, i) {
	return e.mode & 1 ? (e.flags |= 65536, e.lanes = i, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, n.flags |= 131072, n.flags &= -52805, n.tag === 1 && (n.alternate === null ? n.tag = 17 : (t = ks(-1, 1), t.tag = 2, nl(n, t, 1))), n.lanes |= 1), e)
}
var x0e = Zs.ReactCurrentOwner,
	mi = !1;

function Br(e, t, n, r) {
	t.child = e === null ? ZH(t, null, n, r) : kp(t, e.child, n, r)
}

function wM(e, t, n, r, i) {
	n = n.render;
	var o = t.ref;
	return ip(t, i), r = a7(e, t, n, r, o, i), n = s7(), e !== null && !mi ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~i, Fs(e, t, i)) : (on && n && ZO(t), t.flags |= 1, Br(e, t, r, i), t.child)
}

function _M(e, t, n, r, i) {
	if (e === null) {
		var o = n.type;
		return typeof o == "function" && !m7(o) && o.defaultProps === void 0 && n.compare === null && n.defaultProps === void 0 ? (t.tag = 15, t.type = o, _V(e, t, o, r, i)) : (e = Zy(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e)
	}
	if (o = e.child, !(e.lanes & i)) {
		var a = o.memoizedProps;
		if (n = n.compare, n = n !== null ? n : Dv, n(a, r) && e.ref === t.ref) return Fs(e, t, i)
	}
	return t.flags |= 1, e = ol(o, r), e.ref = t.ref, e.return = t, t.child = e
}

function _V(e, t, n, r, i) {
	if (e !== null) {
		var o = e.memoizedProps;
		if (Dv(o, r) && e.ref === t.ref)
			if (mi = !1, t.pendingProps = r = o, (e.lanes & i) !== 0) e.flags & 131072 && (mi = !0);
			else return t.lanes = e.lanes, Fs(e, t, i)
	}
	return T5(e, t, n, r, i)
}

function bV(e, t, n) {
	var r = t.pendingProps,
		i = r.children,
		o = e !== null ? e.memoizedState : null;
	if (r.mode === "hidden")
		if (!(t.mode & 1)) t.memoizedState = {
			baseLanes: 0,
			cachePool: null,
			transitions: null
		}, Kt(Hd, Di), Di |= n;
		else {
			if (!(n & 1073741824)) return e = o !== null ? o.baseLanes | n : n, t.lanes = t.childLanes = 1073741824, t.memoizedState = {
				baseLanes: e,
				cachePool: null,
				transitions: null
			}, t.updateQueue = null, Kt(Hd, Di), Di |= e, null;
			t.memoizedState = {
				baseLanes: 0,
				cachePool: null,
				transitions: null
			}, r = o !== null ? o.baseLanes : n, Kt(Hd, Di), Di |= r
		}
	else o !== null ? (r = o.baseLanes | n, t.memoizedState = null) : r = n, Kt(Hd, Di), Di |= r;
	return Br(e, t, i, n), t.child
}

function SV(e, t) {
	var n = t.ref;
	(e === null && n !== null || e !== null && e.ref !== n) && (t.flags |= 512, t.flags |= 2097152)
}

function T5(e, t, n, r, i) {
	var o = _i(n) ? ef : Nr.current;
	return o = Rp(t, o), ip(t, i), n = a7(e, t, n, r, o, i), r = s7(), e !== null && !mi ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~i, Fs(e, t, i)) : (on && r && ZO(t), t.flags |= 1, Br(e, t, n, i), t.child)
}

function bM(e, t, n, r, i) {
	if (_i(n)) {
		var o = !0;
		Y2(t)
	} else o = !1;
	if (ip(t, i), t.stateNode === null) Gy(e, t), mV(t, n, r), C5(t, n, r, i), r = !0;
	else if (e === null) {
		var a = t.stateNode,
			s = t.memoizedProps;
		a.props = s;
		var u = a.context,
			l = n.contextType;
		typeof l == "object" && l !== null ? l = Co(l) : (l = _i(n) ? ef : Nr.current, l = Rp(t, l));
		var c = n.getDerivedStateFromProps,
			d = typeof c == "function" || typeof a.getSnapshotBeforeUpdate == "function";
		d || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s !== r || u !== l) && vM(t, a, r, l), Au = !1;
		var p = t.memoizedState;
		a.state = p, tw(t, r, a, i), u = t.memoizedState, s !== r || p !== u || wi.current || Au ? (typeof c == "function" && (E5(t, n, c, r), u = t.memoizedState), (s = Au || hM(t, n, s, r, p, u, l)) ? (d || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = u), a.props = r, a.state = u, a.context = l, r = s) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1)
	} else {
		a = t.stateNode, YH(e, t), s = t.memoizedProps, l = t.type === t.elementType ? s : jo(t.type, s), a.props = l, d = t.pendingProps, p = a.context, u = n.contextType, typeof u == "object" && u !== null ? u = Co(u) : (u = _i(n) ? ef : Nr.current, u = Rp(t, u));
		var g = n.getDerivedStateFromProps;
		(c = typeof g == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (s !== d || p !== u) && vM(t, a, r, u), Au = !1, p = t.memoizedState, a.state = p, tw(t, r, a, i);
		var m = t.memoizedState;
		s !== d || p !== m || wi.current || Au ? (typeof g == "function" && (E5(t, n, g, r), m = t.memoizedState), (l = Au || hM(t, n, l, r, p, m, u) || !1) ? (c || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, m, u), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, m, u)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || s === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || s === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = m), a.props = r, a.state = m, a.context = u, r = l) : (typeof a.componentDidUpdate != "function" || s === e.memoizedProps && p === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || s === e.memoizedProps && p === e.memoizedState || (t.flags |= 1024), r = !1)
	}
	return R5(e, t, n, r, o, i)
}

function R5(e, t, n, r, i, o) {
	SV(e, t);
	var a = (t.flags & 128) !== 0;
	if (!r && !a) return i && aM(t, n, !1), Fs(e, t, o);
	r = t.stateNode, x0e.current = t;
	var s = a && typeof n.getDerivedStateFromError != "function" ? null : r.render();
	return t.flags |= 1, e !== null && a ? (t.child = kp(t, e.child, null, o), t.child = kp(t, null, s, o)) : Br(e, t, s, o), t.memoizedState = r.state, i && aM(t, n, !0), t.child
}

function xV(e) {
	var t = e.stateNode;
	t.pendingContext ? oM(e, t.pendingContext, t.pendingContext !== t.context) : t.context && oM(e, t.context, !1), n7(e, t.containerInfo)
}

function SM(e, t, n, r, i) {
	return Ip(), YO(i), t.flags |= 256, Br(e, t, n, r), t.child
}
var I5 = {
	dehydrated: null,
	treeContext: null,
	retryLane: 0
};

function k5(e) {
	return {
		baseLanes: e,
		cachePool: null,
		transitions: null
	}
}

function EV(e, t, n) {
	var r = t.pendingProps,
		i = dn.current,
		o = !1,
		a = (t.flags & 128) !== 0,
		s;
	if ((s = a) || (s = e !== null && e.memoizedState === null ? !1 : (i & 2) !== 0), s ? (o = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (i |= 1), Kt(dn, i & 1), e === null) return S5(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (a = r.children, e = r.fallback, o ? (r = t.mode, o = t.child, a = {
		mode: "hidden",
		children: a
	}, !(r & 1) && o !== null ? (o.childLanes = 0, o.pendingProps = a) : o = rb(a, r, 0, null), e = Uc(e, r, n, null), o.return = t, e.return = t, o.sibling = e, t.child = o, t.child.memoizedState = k5(n), t.memoizedState = I5, e) : c7(t, a));
	if (i = e.memoizedState, i !== null && (s = i.dehydrated, s !== null)) return E0e(e, t, a, r, s, i, n);
	if (o) {
		o = r.fallback, a = t.mode, i = e.child, s = i.sibling;
		var u = {
			mode: "hidden",
			children: r.children
		};
		return !(a & 1) && t.child !== i ? (r = t.child, r.childLanes = 0, r.pendingProps = u, t.deletions = null) : (r = ol(i, u), r.subtreeFlags = i.subtreeFlags & 14680064), s !== null ? o = ol(s, o) : (o = Uc(o, a, n, null), o.flags |= 2), o.return = t, r.return = t, r.sibling = o, t.child = r, r = o, o = t.child, a = e.child.memoizedState, a = a === null ? k5(n) : {
			baseLanes: a.baseLanes | n,
			cachePool: null,
			transitions: a.transitions
		}, o.memoizedState = a, o.childLanes = e.childLanes & ~n, t.memoizedState = I5, r
	}
	return o = e.child, e = o.sibling, r = ol(o, {
		mode: "visible",
		children: r.children
	}), !(t.mode & 1) && (r.lanes = n), r.return = t, r.sibling = null, e !== null && (n = t.deletions, n === null ? (t.deletions = [e], t.flags |= 16) : n.push(e)), t.child = r, t.memoizedState = null, r
}

function c7(e, t) {
	return t = rb({
		mode: "visible",
		children: t
	}, e.mode, 0, null), t.return = e, e.child = t
}

function Im(e, t, n, r) {
	return r !== null && YO(r), kp(t, e.child, null, n), e = c7(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e
}

function E0e(e, t, n, r, i, o, a) {
	if (n) return t.flags & 256 ? (t.flags &= -257, r = _3(Error(he(422))), Im(e, t, a, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (o = r.fallback, i = t.mode, r = rb({
		mode: "visible",
		children: r.children
	}, i, 0, null), o = Uc(o, i, a, null), o.flags |= 2, r.return = t, o.return = t, r.sibling = o, t.child = r, t.mode & 1 && kp(t, e.child, null, a), t.child.memoizedState = k5(a), t.memoizedState = I5, o);
	if (!(t.mode & 1)) return Im(e, t, a, null);
	if (i.data === "$!") {
		if (r = i.nextSibling && i.nextSibling.dataset, r) var s = r.dgst;
		return r = s, o = Error(he(419)), r = _3(o, r, void 0), Im(e, t, a, r)
	}
	if (s = (a & e.childLanes) !== 0, mi || s) {
		if (r = nr, r !== null) {
			switch (a & -a) {
				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
			}
			i = i & (r.suspendedLanes | a) ? 0 : i, i !== 0 && i !== o.retryLane && (o.retryLane = i, $s(e, i), Xo(r, e, i, -1))
		}
		return g7(), r = _3(Error(he(421))), Im(e, t, a, r)
	}
	return i.data === "$?" ? (t.flags |= 128, t.child = e.child, t = $0e.bind(null, e), i._reactRetry = t, null) : (e = o.treeContext, Fi = tl(i.nextSibling), ji = t, on = !0, Bo = null, e !== null && (ho[vo++] = Cs, ho[vo++] = Os, ho[vo++] = tf, Cs = e.id, Os = e.overflow, tf = t), t = c7(t, r.children), t.flags |= 4096, t)
}

function xM(e, t, n) {
	e.lanes |= t;
	var r = e.alternate;
	r !== null && (r.lanes |= t), x5(e.return, t, n)
}

function b3(e, t, n, r, i) {
	var o = e.memoizedState;
	o === null ? e.memoizedState = {
		isBackwards: t,
		rendering: null,
		renderingStartTime: 0,
		last: r,
		tail: n,
		tailMode: i
	} : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i)
}

function CV(e, t, n) {
	var r = t.pendingProps,
		i = r.revealOrder,
		o = r.tail;
	if (Br(e, t, r.children, n), r = dn.current, r & 2) r = r & 1 | 2, t.flags |= 128;
	else {
		if (e !== null && e.flags & 128) e: for (e = t.child; e !== null;) {
			if (e.tag === 13) e.memoizedState !== null && xM(e, n, t);
			else if (e.tag === 19) xM(e, n, t);
			else if (e.child !== null) {
				e.child.return = e, e = e.child;
				continue
			}
			if (e === t) break e;
			for (; e.sibling === null;) {
				if (e.return === null || e.return === t) break e;
				e = e.return
			}
			e.sibling.return = e.return, e = e.sibling
		}
		r &= 1
	}
	if (Kt(dn, r), !(t.mode & 1)) t.memoizedState = null;
	else switch (i) {
		case "forwards":
			for (n = t.child, i = null; n !== null;) e = n.alternate, e !== null && nw(e) === null && (i = n), n = n.sibling;
			n = i, n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), b3(t, !1, i, n, o);
			break;
		case "backwards":
			for (n = null, i = t.child, t.child = null; i !== null;) {
				if (e = i.alternate, e !== null && nw(e) === null) {
					t.child = i;
					break
				}
				e = i.sibling, i.sibling = n, n = i, i = e
			}
			b3(t, !0, n, null, o);
			break;
		case "together":
			b3(t, !1, null, null, void 0);
			break;
		default:
			t.memoizedState = null
	}
	return t.child
}

function Gy(e, t) {
	!(t.mode & 1) && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2)
}

function Fs(e, t, n) {
	if (e !== null && (t.dependencies = e.dependencies), rf |= t.lanes, !(n & t.childLanes)) return null;
	if (e !== null && t.child !== e.child) throw Error(he(153));
	if (t.child !== null) {
		for (e = t.child, n = ol(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = ol(e, e.pendingProps), n.return = t;
		n.sibling = null
	}
	return t.child
}

function C0e(e, t, n) {
	switch (t.tag) {
		case 3:
			xV(t), Ip();
			break;
		case 5:
			XH(t);
			break;
		case 1:
			_i(t.type) && Y2(t);
			break;
		case 4:
			n7(t, t.stateNode.containerInfo);
			break;
		case 10:
			var r = t.type._context,
				i = t.memoizedProps.value;
			Kt(Q2, r._currentValue), r._currentValue = i;
			break;
		case 13:
			if (r = t.memoizedState, r !== null) return r.dehydrated !== null ? (Kt(dn, dn.current & 1), t.flags |= 128, null) : n & t.child.childLanes ? EV(e, t, n) : (Kt(dn, dn.current & 1), e = Fs(e, t, n), e !== null ? e.sibling : null);
			Kt(dn, dn.current & 1);
			break;
		case 19:
			if (r = (n & t.childLanes) !== 0, e.flags & 128) {
				if (r) return CV(e, t, n);
				t.flags |= 128
			}
			if (i = t.memoizedState, i !== null && (i.rendering = null, i.tail = null, i.lastEffect = null), Kt(dn, dn.current), r) break;
			return null;
		case 22:
		case 23:
			return t.lanes = 0, bV(e, t, n)
	}
	return Fs(e, t, n)
}
var OV, A5, TV, RV;
OV = function(e, t) {
	for (var n = t.child; n !== null;) {
		if (n.tag === 5 || n.tag === 6) e.appendChild(n.stateNode);
		else if (n.tag !== 4 && n.child !== null) {
			n.child.return = n, n = n.child;
			continue
		}
		if (n === t) break;
		for (; n.sibling === null;) {
			if (n.return === null || n.return === t) return;
			n = n.return
		}
		n.sibling.return = n.return, n = n.sibling
	}
};
A5 = function() {};
TV = function(e, t, n, r) {
	var i = e.memoizedProps;
	if (i !== r) {
		e = t.stateNode, Ic(Va.current);
		var o = null;
		switch (n) {
			case "input":
				i = QE(e, i), r = QE(e, r), o = [];
				break;
			case "select":
				i = hn({}, i, {
					value: void 0
				}), r = hn({}, r, {
					value: void 0
				}), o = [];
				break;
			case "textarea":
				i = n5(e, i), r = n5(e, r), o = [];
				break;
			default:
				typeof i.onClick != "function" && typeof r.onClick == "function" && (e.onclick = Z2)
		}
		i5(n, r);
		var a;
		n = null;
		for (l in i)
			if (!r.hasOwnProperty(l) && i.hasOwnProperty(l) && i[l] != null)
				if (l === "style") {
					var s = i[l];
					for (a in s) s.hasOwnProperty(a) && (n || (n = {}), n[a] = "")
				} else l !== "dangerouslySetInnerHTML" && l !== "children" && l !== "suppressContentEditableWarning" && l !== "suppressHydrationWarning" && l !== "autoFocus" && (Iv.hasOwnProperty(l) ? o || (o = []) : (o = o || []).push(l, null));
		for (l in r) {
			var u = r[l];
			if (s = i != null ? i[l] : void 0, r.hasOwnProperty(l) && u !== s && (u != null || s != null))
				if (l === "style")
					if (s) {
						for (a in s) !s.hasOwnProperty(a) || u && u.hasOwnProperty(a) || (n || (n = {}), n[a] = "");
						for (a in u) u.hasOwnProperty(a) && s[a] !== u[a] && (n || (n = {}), n[a] = u[a])
					} else n || (o || (o = []), o.push(l, n)), n = u;
			else l === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, s = s ? s.__html : void 0, u != null && s !== u && (o = o || []).push(l, u)) : l === "children" ? typeof u != "string" && typeof u != "number" || (o = o || []).push(l, "" + u) : l !== "suppressContentEditableWarning" && l !== "suppressHydrationWarning" && (Iv.hasOwnProperty(l) ? (u != null && l === "onScroll" && Xt("scroll", e), o || s === u || (o = [])) : (o = o || []).push(l, u))
		}
		n && (o = o || []).push("style", n);
		var l = o;
		(t.updateQueue = l) && (t.flags |= 4)
	}
};
RV = function(e, t, n, r) {
	n !== r && (t.flags |= 4)
};

function b0(e, t) {
	if (!on) switch (e.tailMode) {
		case "hidden":
			t = e.tail;
			for (var n = null; t !== null;) t.alternate !== null && (n = t), t = t.sibling;
			n === null ? e.tail = null : n.sibling = null;
			break;
		case "collapsed":
			n = e.tail;
			for (var r = null; n !== null;) n.alternate !== null && (r = n), n = n.sibling;
			r === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : r.sibling = null
	}
}

function Er(e) {
	var t = e.alternate !== null && e.alternate.child === e.child,
		n = 0,
		r = 0;
	if (t)
		for (var i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags & 14680064, r |= i.flags & 14680064, i.return = e, i = i.sibling;
	else
		for (i = e.child; i !== null;) n |= i.lanes | i.childLanes, r |= i.subtreeFlags, r |= i.flags, i.return = e, i = i.sibling;
	return e.subtreeFlags |= r, e.childLanes = n, t
}

function O0e(e, t, n) {
	var r = t.pendingProps;
	switch (qO(t), t.tag) {
		case 2:
		case 16:
		case 15:
		case 0:
		case 11:
		case 7:
		case 8:
		case 12:
		case 9:
		case 14:
			return Er(t), null;
		case 1:
			return _i(t.type) && q2(), Er(t), null;
		case 3:
			return r = t.stateNode, Ap(), en(wi), en(Nr), i7(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (e === null || e.child === null) && (Tm(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, Bo !== null && (j5(Bo), Bo = null))), A5(e, t), Er(t), null;
		case 5:
			r7(t);
			var i = Ic(Hv.current);
			if (n = t.type, e !== null && t.stateNode != null) TV(e, t, n, r, i), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152);
			else {
				if (!r) {
					if (t.stateNode === null) throw Error(he(166));
					return Er(t), null
				}
				if (e = Ic(Va.current), Tm(t)) {
					r = t.stateNode, n = t.type;
					var o = t.memoizedProps;
					switch (r[Aa] = t, r[jv] = o, e = (t.mode & 1) !== 0, n) {
						case "dialog":
							Xt("cancel", r), Xt("close", r);
							break;
						case "iframe":
						case "object":
						case "embed":
							Xt("load", r);
							break;
						case "video":
						case "audio":
							for (i = 0; i < W0.length; i++) Xt(W0[i], r);
							break;
						case "source":
							Xt("error", r);
							break;
						case "img":
						case "image":
						case "link":
							Xt("error", r), Xt("load", r);
							break;
						case "details":
							Xt("toggle", r);
							break;
						case "input":
							MA(r, o), Xt("invalid", r);
							break;
						case "select":
							r._wrapperState = {
								wasMultiple: !!o.multiple
							}, Xt("invalid", r);
							break;
						case "textarea":
							LA(r, o), Xt("invalid", r)
					}
					i5(n, o), i = null;
					for (var a in o)
						if (o.hasOwnProperty(a)) {
							var s = o[a];
							a === "children" ? typeof s == "string" ? r.textContent !== s && (o.suppressHydrationWarning !== !0 && Om(r.textContent, s, e), i = ["children", s]) : typeof s == "number" && r.textContent !== "" + s && (o.suppressHydrationWarning !== !0 && Om(r.textContent, s, e), i = ["children", "" + s]) : Iv.hasOwnProperty(a) && s != null && a === "onScroll" && Xt("scroll", r)
						} switch (n) {
						case "input":
							ym(r), PA(r, o, !0);
							break;
						case "textarea":
							ym(r), NA(r);
							break;
						case "select":
						case "option":
							break;
						default:
							typeof o.onClick == "function" && (r.onclick = Z2)
					}
					r = i, t.updateQueue = r, r !== null && (t.flags |= 4)
				} else {
					a = i.nodeType === 9 ? i : i.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = nH(n)), e === "http://www.w3.org/1999/xhtml" ? n === "script" ? (e = a.createElement("div"), e.innerHTML = "<script><\/script>", e = e.removeChild(e.firstChild)) : typeof r.is == "string" ? e = a.createElement(n, {
						is: r.is
					}) : (e = a.createElement(n), n === "select" && (a = e, r.multiple ? a.multiple = !0 : r.size && (a.size = r.size))) : e = a.createElementNS(e, n), e[Aa] = t, e[jv] = r, OV(e, t, !1, !1), t.stateNode = e;
					e: {
						switch (a = o5(n, r), n) {
							case "dialog":
								Xt("cancel", e), Xt("close", e), i = r;
								break;
							case "iframe":
							case "object":
							case "embed":
								Xt("load", e), i = r;
								break;
							case "video":
							case "audio":
								for (i = 0; i < W0.length; i++) Xt(W0[i], e);
								i = r;
								break;
							case "source":
								Xt("error", e), i = r;
								break;
							case "img":
							case "image":
							case "link":
								Xt("error", e), Xt("load", e), i = r;
								break;
							case "details":
								Xt("toggle", e), i = r;
								break;
							case "input":
								MA(e, r), i = QE(e, r), Xt("invalid", e);
								break;
							case "option":
								i = r;
								break;
							case "select":
								e._wrapperState = {
									wasMultiple: !!r.multiple
								}, i = hn({}, r, {
									value: void 0
								}), Xt("invalid", e);
								break;
							case "textarea":
								LA(e, r), i = n5(e, r), Xt("invalid", e);
								break;
							default:
								i = r
						}
						i5(n, i),
						s = i;
						for (o in s)
							if (s.hasOwnProperty(o)) {
								var u = s[o];
								o === "style" ? oH(e, u) : o === "dangerouslySetInnerHTML" ? (u = u ? u.__html : void 0, u != null && rH(e, u)) : o === "children" ? typeof u == "string" ? (n !== "textarea" || u !== "") && kv(e, u) : typeof u == "number" && kv(e, "" + u) : o !== "suppressContentEditableWarning" && o !== "suppressHydrationWarning" && o !== "autoFocus" && (Iv.hasOwnProperty(o) ? u != null && o === "onScroll" && Xt("scroll", e) : u != null && LO(e, o, u, a))
							} switch (n) {
							case "input":
								ym(e), PA(e, r, !1);
								break;
							case "textarea":
								ym(e), NA(e);
								break;
							case "option":
								r.value != null && e.setAttribute("value", "" + dl(r.value));
								break;
							case "select":
								e.multiple = !!r.multiple, o = r.value, o != null ? ep(e, !!r.multiple, o, !1) : r.defaultValue != null && ep(e, !!r.multiple, r.defaultValue, !0);
								break;
							default:
								typeof i.onClick == "function" && (e.onclick = Z2)
						}
						switch (n) {
							case "button":
							case "input":
							case "select":
							case "textarea":
								r = !!r.autoFocus;
								break e;
							case "img":
								r = !0;
								break e;
							default:
								r = !1
						}
					}
					r && (t.flags |= 4)
				}
				t.ref !== null && (t.flags |= 512, t.flags |= 2097152)
			}
			return Er(t), null;
		case 6:
			if (e && t.stateNode != null) RV(e, t, e.memoizedProps, r);
			else {
				if (typeof r != "string" && t.stateNode === null) throw Error(he(166));
				if (n = Ic(Hv.current), Ic(Va.current), Tm(t)) {
					if (r = t.stateNode, n = t.memoizedProps, r[Aa] = t, (o = r.nodeValue !== n) && (e = ji, e !== null)) switch (e.tag) {
						case 3:
							Om(r.nodeValue, n, (e.mode & 1) !== 0);
							break;
						case 5:
							e.memoizedProps.suppressHydrationWarning !== !0 && Om(r.nodeValue, n, (e.mode & 1) !== 0)
					}
					o && (t.flags |= 4)
				} else r = (n.nodeType === 9 ? n : n.ownerDocument).createTextNode(r), r[Aa] = t, t.stateNode = r
			}
			return Er(t), null;
		case 13:
			if (en(dn), r = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
				if (on && Fi !== null && t.mode & 1 && !(t.flags & 128)) WH(), Ip(), t.flags |= 98560, o = !1;
				else if (o = Tm(t), r !== null && r.dehydrated !== null) {
					if (e === null) {
						if (!o) throw Error(he(318));
						if (o = t.memoizedState, o = o !== null ? o.dehydrated : null, !o) throw Error(he(317));
						o[Aa] = t
					} else Ip(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;
					Er(t), o = !1
				} else Bo !== null && (j5(Bo), Bo = null), o = !0;
				if (!o) return t.flags & 65536 ? t : null
			}
			return t.flags & 128 ? (t.lanes = n, t) : (r = r !== null, r !== (e !== null && e.memoizedState !== null) && r && (t.child.flags |= 8192, t.mode & 1 && (e === null || dn.current & 1 ? Wn === 0 && (Wn = 3) : g7())), t.updateQueue !== null && (t.flags |= 4), Er(t), null);
		case 4:
			return Ap(), A5(e, t), e === null && $v(t.stateNode.containerInfo), Er(t), null;
		case 10:
			return QO(t.type._context), Er(t), null;
		case 17:
			return _i(t.type) && q2(), Er(t), null;
		case 19:
			if (en(dn), o = t.memoizedState, o === null) return Er(t), null;
			if (r = (t.flags & 128) !== 0, a = o.rendering, a === null)
				if (r) b0(o, !1);
				else {
					if (Wn !== 0 || e !== null && e.flags & 128)
						for (e = t.child; e !== null;) {
							if (a = nw(e), a !== null) {
								for (t.flags |= 128, b0(o, !1), r = a.updateQueue, r !== null && (t.updateQueue = r, t.flags |= 4), t.subtreeFlags = 0, r = n, n = t.child; n !== null;) o = n, e = r, o.flags &= 14680066, a = o.alternate, a === null ? (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 = a.childLanes, o.lanes = a.lanes, o.child = a.child, o.subtreeFlags = 0, o.deletions = null, o.memoizedProps = a.memoizedProps, o.memoizedState = a.memoizedState, o.updateQueue = a.updateQueue, o.type = a.type, e = a.dependencies, o.dependencies = e === null ? null : {
									lanes: e.lanes,
									firstContext: e.firstContext
								}), n = n.sibling;
								return Kt(dn, dn.current & 1 | 2), t.child
							}
							e = e.sibling
						}
					o.tail !== null && Cn() > Pp && (t.flags |= 128, r = !0, b0(o, !1), t.lanes = 4194304)
				}
			else {
				if (!r)
					if (e = nw(a), e !== null) {
						if (t.flags |= 128, r = !0, n = e.updateQueue, n !== null && (t.updateQueue = n, t.flags |= 4), b0(o, !0), o.tail === null && o.tailMode === "hidden" && !a.alternate && !on) return Er(t), null
					} else 2 * Cn() - o.renderingStartTime > Pp && n !== 1073741824 && (t.flags |= 128, r = !0, b0(o, !1), t.lanes = 4194304);
				o.isBackwards ? (a.sibling = t.child, t.child = a) : (n = o.last, n !== null ? n.sibling = a : t.child = a, o.last = a)
			}
			return o.tail !== null ? (t = o.tail, o.rendering = t, o.tail = t.sibling, o.renderingStartTime = Cn(), t.sibling = null, n = dn.current, Kt(dn, r ? n & 1 | 2 : n & 1), t) : (Er(t), null);
		case 22:
		case 23:
			return v7(), r = t.memoizedState !== null, e !== null && e.memoizedState !== null !== r && (t.flags |= 8192), r && t.mode & 1 ? Di & 1073741824 && (Er(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : Er(t), null;
		case 24:
			return null;
		case 25:
			return null
	}
	throw Error(he(156, t.tag))
}

function T0e(e, t) {
	switch (qO(t), t.tag) {
		case 1:
			return _i(t.type) && q2(), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
		case 3:
			return Ap(), en(wi), en(Nr), i7(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;
		case 5:
			return r7(t), null;
		case 13:
			if (en(dn), e = t.memoizedState, e !== null && e.dehydrated !== null) {
				if (t.alternate === null) throw Error(he(340));
				Ip()
			}
			return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;
		case 19:
			return en(dn), null;
		case 4:
			return Ap(), null;
		case 10:
			return QO(t.type._context), null;
		case 22:
		case 23:
			return v7(), null;
		case 24:
			return null;
		default:
			return null
	}
}
var km = !1,
	Ir = !1,
	R0e = typeof WeakSet == "function" ? WeakSet : Set,
	Se = null;

function Ud(e, t) {
	var n = e.ref;
	if (n !== null)
		if (typeof n == "function") try {
			n(null)
		} catch (r) {
			wn(e, t, r)
		} else n.current = null
}

function M5(e, t, n) {
	try {
		n()
	} catch (r) {
		wn(e, t, r)
	}
}
var EM = !1;

function I0e(e, t) {
	if (v5 = G2, e = PH(), KO(e)) {
		if ("selectionStart" in e) var n = {
			start: e.selectionStart,
			end: e.selectionEnd
		};
		else e: {
			n = (n = e.ownerDocument) && n.defaultView || window;
			var r = n.getSelection && n.getSelection();
			if (r && r.rangeCount !== 0) {
				n = r.anchorNode;
				var i = r.anchorOffset,
					o = r.focusNode;
				r = r.focusOffset;
				try {
					n.nodeType, o.nodeType
				} catch (E) {
					n = null;
					break e
				}
				var a = 0,
					s = -1,
					u = -1,
					l = 0,
					c = 0,
					d = e,
					p = null;
				t: for (;;) {
					for (var g; d !== n || i !== 0 && d.nodeType !== 3 || (s = a + i), d !== o || r !== 0 && d.nodeType !== 3 || (u = a + r), d.nodeType === 3 && (a += d.nodeValue.length), (g = d.firstChild) !== null;) p = d, d = g;
					for (;;) {
						if (d === e) break t;
						if (p === n && ++l === i && (s = a), p === o && ++c === r && (u = a), (g = d.nextSibling) !== null) break;
						d = p, p = d.parentNode
					}
					d = g
				}
				n = s === -1 || u === -1 ? null : {
					start: s,
					end: u
				}
			} else n = null
		}
		n = n || {
			start: 0,
			end: 0
		}
	} else n = null;
	for (g5 = {
			focusedElem: e,
			selectionRange: n
		}, G2 = !1, Se = t; Se !== null;)
		if (t = Se, e = t.child, (t.subtreeFlags & 1028) !== 0 && e !== null) e.return = t, Se = e;
		else
			for (; Se !== null;) {
				t = Se;
				try {
					var m = t.alternate;
					if (t.flags & 1024) switch (t.tag) {
						case 0:
						case 11:
						case 15:
							break;
						case 1:
							if (m !== null) {
								var _ = m.memoizedProps,
									S = m.memoizedState,
									y = t.stateNode,
									w = y.getSnapshotBeforeUpdate(t.elementType === t.type ? _ : jo(t.type, _), S);
								y.__reactInternalSnapshotBeforeUpdate = w
							}
							break;
						case 3:
							var b = t.stateNode.containerInfo;
							b.nodeType === 1 ? b.textContent = "" : b.nodeType === 9 && b.documentElement && b.removeChild(b.documentElement);
							break;
						case 5:
						case 6:
						case 4:
						case 17:
							break;
						default:
							throw Error(he(163))
					}
				} catch (E) {
					wn(t, t.return, E)
				}
				if (e = t.sibling, e !== null) {
					e.return = t.return, Se = e;
					break
				}
				Se = t.return
			}
	return m = EM, EM = !1, m
}

function lv(e, t, n) {
	var r = t.updateQueue;
	if (r = r !== null ? r.lastEffect : null, r !== null) {
		var i = r = r.next;
		do {
			if ((i.tag & e) === e) {
				var o = i.destroy;
				i.destroy = void 0, o !== void 0 && M5(t, n, o)
			}
			i = i.next
		} while (i !== r)
	}
}

function tb(e, t) {
	if (t = t.updateQueue, t = t !== null ? t.lastEffect : null, t !== null) {
		var n = t = t.next;
		do {
			if ((n.tag & e) === e) {
				var r = n.create;
				n.destroy = r()
			}
			n = n.next
		} while (n !== t)
	}
}

function P5(e) {
	var t = e.ref;
	if (t !== null) {
		var n = e.stateNode;
		switch (e.tag) {
			case 5:
				e = n;
				break;
			default:
				e = n
		}
		typeof t == "function" ? t(e) : t.current = e
	}
}

function IV(e) {
	var t = e.alternate;
	t !== null && (e.alternate = null, IV(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && (delete t[Aa], delete t[jv], delete t[w5], delete t[f0e], delete t[d0e])), 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 kV(e) {
	return e.tag === 5 || e.tag === 3 || e.tag === 4
}

function CM(e) {
	e: for (;;) {
		for (; e.sibling === null;) {
			if (e.return === null || kV(e.return)) return null;
			e = e.return
		}
		for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18;) {
			if (e.flags & 2 || e.child === null || e.tag === 4) continue e;
			e.child.return = e, e = e.child
		}
		if (!(e.flags & 2)) return e.stateNode
	}
}

function L5(e, t, n) {
	var r = e.tag;
	if (r === 5 || r === 6) e = e.stateNode, t ? n.nodeType === 8 ? n.parentNode.insertBefore(e, t) : n.insertBefore(e, t) : (n.nodeType === 8 ? (t = n.parentNode, t.insertBefore(e, n)) : (t = n, t.appendChild(e)), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = Z2));
	else if (r !== 4 && (e = e.child, e !== null))
		for (L5(e, t, n), e = e.sibling; e !== null;) L5(e, t, n), e = e.sibling
}

function N5(e, t, n) {
	var r = e.tag;
	if (r === 5 || r === 6) e = e.stateNode, t ? n.insertBefore(e, t) : n.appendChild(e);
	else if (r !== 4 && (e = e.child, e !== null))
		for (N5(e, t, n), e = e.sibling; e !== null;) N5(e, t, n), e = e.sibling
}
var dr = null,
	Ho = !1;

function yu(e, t, n) {
	for (n = n.child; n !== null;) AV(e, t, n), n = n.sibling
}

function AV(e, t, n) {
	if (Ha && typeof Ha.onCommitFiberUnmount == "function") try {
		Ha.onCommitFiberUnmount(K_, n)
	} catch (s) {}
	switch (n.tag) {
		case 5:
			Ir || Ud(n, t);
		case 6:
			var r = dr,
				i = Ho;
			dr = null, yu(e, t, n), dr = r, Ho = i, dr !== null && (Ho ? (e = dr, n = n.stateNode, e.nodeType === 8 ? e.parentNode.removeChild(n) : e.removeChild(n)) : dr.removeChild(n.stateNode));
			break;
		case 18:
			dr !== null && (Ho ? (e = dr, n = n.stateNode, e.nodeType === 8 ? h3(e.parentNode, n) : e.nodeType === 1 && h3(e, n), Lv(e)) : h3(dr, n.stateNode));
			break;
		case 4:
			r = dr, i = Ho, dr = n.stateNode.containerInfo, Ho = !0, yu(e, t, n), dr = r, Ho = i;
			break;
		case 0:
		case 11:
		case 14:
		case 15:
			if (!Ir && (r = n.updateQueue, r !== null && (r = r.lastEffect, r !== null))) {
				i = r = r.next;
				do {
					var o = i,
						a = o.destroy;
					o = o.tag, a !== void 0 && (o & 2 || o & 4) && M5(n, t, a), i = i.next
				} while (i !== r)
			}
			yu(e, t, n);
			break;
		case 1:
			if (!Ir && (Ud(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function")) try {
				r.props = n.memoizedProps, r.state = n.memoizedState, r.componentWillUnmount()
			} catch (s) {
				wn(n, t, s)
			}
			yu(e, t, n);
			break;
		case 21:
			yu(e, t, n);
			break;
		case 22:
			n.mode & 1 ? (Ir = (r = Ir) || n.memoizedState !== null, yu(e, t, n), Ir = r) : yu(e, t, n);
			break;
		default:
			yu(e, t, n)
	}
}

function OM(e) {
	var t = e.updateQueue;
	if (t !== null) {
		e.updateQueue = null;
		var n = e.stateNode;
		n === null && (n = e.stateNode = new R0e), t.forEach(function(r) {
			var i = F0e.bind(null, e, r);
			n.has(r) || (n.add(r), r.then(i, i))
		})
	}
}

function Lo(e, t) {
	var n = t.deletions;
	if (n !== null)
		for (var r = 0; r < n.length; r++) {
			var i = n[r];
			try {
				var o = e,
					a = t,
					s = a;
				e: for (; s !== null;) {
					switch (s.tag) {
						case 5:
							dr = s.stateNode, Ho = !1;
							break e;
						case 3:
							dr = s.stateNode.containerInfo, Ho = !0;
							break e;
						case 4:
							dr = s.stateNode.containerInfo, Ho = !0;
							break e
					}
					s = s.return
				}
				if (dr === null) throw Error(he(160));
				AV(o, a, i), dr = null, Ho = !1;
				var u = i.alternate;
				u !== null && (u.return = null), i.return = null
			} catch (l) {
				wn(i, t, l)
			}
		}
	if (t.subtreeFlags & 12854)
		for (t = t.child; t !== null;) MV(t, e), t = t.sibling
}

function MV(e, t) {
	var n = e.alternate,
		r = e.flags;
	switch (e.tag) {
		case 0:
		case 11:
		case 14:
		case 15:
			if (Lo(t, e), xa(e), r & 4) {
				try {
					lv(3, e, e.return), tb(3, e)
				} catch (_) {
					wn(e, e.return, _)
				}
				try {
					lv(5, e, e.return)
				} catch (_) {
					wn(e, e.return, _)
				}
			}
			break;
		case 1:
			Lo(t, e), xa(e), r & 512 && n !== null && Ud(n, n.return);
			break;
		case 5:
			if (Lo(t, e), xa(e), r & 512 && n !== null && Ud(n, n.return), e.flags & 32) {
				var i = e.stateNode;
				try {
					kv(i, "")
				} catch (_) {
					wn(e, e.return, _)
				}
			}
			if (r & 4 && (i = e.stateNode, i != null)) {
				var o = e.memoizedProps,
					a = n !== null ? n.memoizedProps : o,
					s = e.type,
					u = e.updateQueue;
				if (e.updateQueue = null, u !== null) try {
					s === "input" && o.type === "radio" && o.name != null && eH(i, o), o5(s, a);
					var l = o5(s, o);
					for (a = 0; a < u.length; a += 2) {
						var c = u[a],
							d = u[a + 1];
						c === "style" ? oH(i, d) : c === "dangerouslySetInnerHTML" ? rH(i, d) : c === "children" ? kv(i, d) : LO(i, c, d, l)
					}
					switch (s) {
						case "input":
							e5(i, o);
							break;
						case "textarea":
							tH(i, o);
							break;
						case "select":
							var p = i._wrapperState.wasMultiple;
							i._wrapperState.wasMultiple = !!o.multiple;
							var g = o.value;
							g != null ? ep(i, !!o.multiple, g, !1) : p !== !!o.multiple && (o.defaultValue != null ? ep(i, !!o.multiple, o.defaultValue, !0) : ep(i, !!o.multiple, o.multiple ? [] : "", !1))
					}
					i[jv] = o
				} catch (_) {
					wn(e, e.return, _)
				}
			}
			break;
		case 6:
			if (Lo(t, e), xa(e), r & 4) {
				if (e.stateNode === null) throw Error(he(162));
				i = e.stateNode, o = e.memoizedProps;
				try {
					i.nodeValue = o
				} catch (_) {
					wn(e, e.return, _)
				}
			}
			break;
		case 3:
			if (Lo(t, e), xa(e), r & 4 && n !== null && n.memoizedState.isDehydrated) try {
				Lv(t.containerInfo)
			} catch (_) {
				wn(e, e.return, _)
			}
			break;
		case 4:
			Lo(t, e), xa(e);
			break;
		case 13:
			Lo(t, e), xa(e), i = e.child, i.flags & 8192 && (o = i.memoizedState !== null, i.stateNode.isHidden = o, !o || i.alternate !== null && i.alternate.memoizedState !== null || (p7 = Cn())), r & 4 && OM(e);
			break;
		case 22:
			if (c = n !== null && n.memoizedState !== null, e.mode & 1 ? (Ir = (l = Ir) || c, Lo(t, e), Ir = l) : Lo(t, e), xa(e), r & 8192) {
				if (l = e.memoizedState !== null, (e.stateNode.isHidden = l) && !c && e.mode & 1)
					for (Se = e, c = e.child; c !== null;) {
						for (d = Se = c; Se !== null;) {
							switch (p = Se, g = p.child, p.tag) {
								case 0:
								case 11:
								case 14:
								case 15:
									lv(4, p, p.return);
									break;
								case 1:
									Ud(p, p.return);
									var m = p.stateNode;
									if (typeof m.componentWillUnmount == "function") {
										r = p, n = p.return;
										try {
											t = r, m.props = t.memoizedProps, m.state = t.memoizedState, m.componentWillUnmount()
										} catch (_) {
											wn(r, n, _)
										}
									}
									break;
								case 5:
									Ud(p, p.return);
									break;
								case 22:
									if (p.memoizedState !== null) {
										RM(d);
										continue
									}
							}
							g !== null ? (g.return = p, Se = g) : RM(d)
						}
						c = c.sibling
					}
				e: for (c = null, d = e;;) {
					if (d.tag === 5) {
						if (c === null) {
							c = d;
							try {
								i = d.stateNode, l ? (o = i.style, typeof o.setProperty == "function" ? o.setProperty("display", "none", "important") : o.display = "none") : (s = d.stateNode, u = d.memoizedProps.style, a = u != null && u.hasOwnProperty("display") ? u.display : null, s.style.display = iH("display", a))
							} catch (_) {
								wn(e, e.return, _)
							}
						}
					} else if (d.tag === 6) {
						if (c === null) try {
							d.stateNode.nodeValue = l ? "" : d.memoizedProps
						} catch (_) {
							wn(e, e.return, _)
						}
					} else if ((d.tag !== 22 && d.tag !== 23 || d.memoizedState === null || d === e) && d.child !== null) {
						d.child.return = d, d = d.child;
						continue
					}
					if (d === e) break e;
					for (; d.sibling === null;) {
						if (d.return === null || d.return === e) break e;
						c === d && (c = null), d = d.return
					}
					c === d && (c = null), d.sibling.return = d.return, d = d.sibling
				}
			}
			break;
		case 19:
			Lo(t, e), xa(e), r & 4 && OM(e);
			break;
		case 21:
			break;
		default:
			Lo(t, e), xa(e)
	}
}

function xa(e) {
	var t = e.flags;
	if (t & 2) {
		try {
			e: {
				for (var n = e.return; n !== null;) {
					if (kV(n)) {
						var r = n;
						break e
					}
					n = n.return
				}
				throw Error(he(160))
			}
			switch (r.tag) {
				case 5:
					var i = r.stateNode;
					r.flags & 32 && (kv(i, ""), r.flags &= -33);
					var o = CM(e);
					N5(e, o, i);
					break;
				case 3:
				case 4:
					var a = r.stateNode.containerInfo,
						s = CM(e);
					L5(e, s, a);
					break;
				default:
					throw Error(he(161))
			}
		}
		catch (u) {
			wn(e, e.return, u)
		}
		e.flags &= -3
	}
	t & 4096 && (e.flags &= -4097)
}

function k0e(e, t, n) {
	Se = e, PV(e)
}

function PV(e, t, n) {
	for (var r = (e.mode & 1) !== 0; Se !== null;) {
		var i = Se,
			o = i.child;
		if (i.tag === 22 && r) {
			var a = i.memoizedState !== null || km;
			if (!a) {
				var s = i.alternate,
					u = s !== null && s.memoizedState !== null || Ir;
				s = km;
				var l = Ir;
				if (km = a, (Ir = u) && !l)
					for (Se = i; Se !== null;) a = Se, u = a.child, a.tag === 22 && a.memoizedState !== null ? IM(i) : u !== null ? (u.return = a, Se = u) : IM(i);
				for (; o !== null;) Se = o, PV(o), o = o.sibling;
				Se = i, km = s, Ir = l
			}
			TM(e)
		} else i.subtreeFlags & 8772 && o !== null ? (o.return = i, Se = o) : TM(e)
	}
}

function TM(e) {
	for (; Se !== null;) {
		var t = Se;
		if (t.flags & 8772) {
			var n = t.alternate;
			try {
				if (t.flags & 8772) switch (t.tag) {
					case 0:
					case 11:
					case 15:
						Ir || tb(5, t);
						break;
					case 1:
						var r = t.stateNode;
						if (t.flags & 4 && !Ir)
							if (n === null) r.componentDidMount();
							else {
								var i = t.elementType === t.type ? n.memoizedProps : jo(t.type, n.memoizedProps);
								r.componentDidUpdate(i, n.memoizedState, r.__reactInternalSnapshotBeforeUpdate)
							} var o = t.updateQueue;
						o !== null && fM(t, o, r);
						break;
					case 3:
						var a = t.updateQueue;
						if (a !== null) {
							if (n = null, t.child !== null) switch (t.child.tag) {
								case 5:
									n = t.child.stateNode;
									break;
								case 1:
									n = t.child.stateNode
							}
							fM(t, a, n)
						}
						break;
					case 5:
						var s = t.stateNode;
						if (n === null && t.flags & 4) {
							n = s;
							var u = t.memoizedProps;
							switch (t.type) {
								case "button":
								case "input":
								case "select":
								case "textarea":
									u.autoFocus && n.focus();
									break;
								case "img":
									u.src && (n.src = u.src)
							}
						}
						break;
					case 6:
						break;
					case 4:
						break;
					case 12:
						break;
					case 13:
						if (t.memoizedState === null) {
							var l = t.alternate;
							if (l !== null) {
								var c = l.memoizedState;
								if (c !== null) {
									var d = c.dehydrated;
									d !== null && Lv(d)
								}
							}
						}
						break;
					case 19:
					case 17:
					case 21:
					case 22:
					case 23:
					case 25:
						break;
					default:
						throw Error(he(163))
				}
				Ir || t.flags & 512 && P5(t)
			} catch (p) {
				wn(t, t.return, p)
			}
		}
		if (t === e) {
			Se = null;
			break
		}
		if (n = t.sibling, n !== null) {
			n.return = t.return, Se = n;
			break
		}
		Se = t.return
	}
}

function RM(e) {
	for (; Se !== null;) {
		var t = Se;
		if (t === e) {
			Se = null;
			break
		}
		var n = t.sibling;
		if (n !== null) {
			n.return = t.return, Se = n;
			break
		}
		Se = t.return
	}
}

function IM(e) {
	for (; Se !== null;) {
		var t = Se;
		try {
			switch (t.tag) {
				case 0:
				case 11:
				case 15:
					var n = t.return;
					try {
						tb(4, t)
					} catch (u) {
						wn(t, n, u)
					}
					break;
				case 1:
					var r = t.stateNode;
					if (typeof r.componentDidMount == "function") {
						var i = t.return;
						try {
							r.componentDidMount()
						} catch (u) {
							wn(t, i, u)
						}
					}
					var o = t.return;
					try {
						P5(t)
					} catch (u) {
						wn(t, o, u)
					}
					break;
				case 5:
					var a = t.return;
					try {
						P5(t)
					} catch (u) {
						wn(t, a, u)
					}
			}
		} catch (u) {
			wn(t, t.return, u)
		}
		if (t === e) {
			Se = null;
			break
		}
		var s = t.sibling;
		if (s !== null) {
			s.return = t.return, Se = s;
			break
		}
		Se = t.return
	}
}
var A0e = Math.ceil,
	ow = Zs.ReactCurrentDispatcher,
	f7 = Zs.ReactCurrentOwner,
	xo = Zs.ReactCurrentBatchConfig,
	wt = 0,
	nr = null,
	$n = null,
	vr = 0,
	Di = 0,
	Hd = Al(0),
	Wn = 0,
	Gv = null,
	rf = 0,
	nb = 0,
	d7 = 0,
	cv = null,
	pi = null,
	p7 = 0,
	Pp = 1 / 0,
	gs = null,
	aw = !1,
	D5 = null,
	rl = null,
	Am = !1,
	Ku = null,
	sw = 0,
	fv = 0,
	$5 = null,
	Wy = -1,
	Ky = 0;

function Wr() {
	return wt & 6 ? Cn() : Wy !== -1 ? Wy : Wy = Cn()
}

function il(e) {
	return e.mode & 1 ? wt & 2 && vr !== 0 ? vr & -vr : h0e.transition !== null ? (Ky === 0 && (Ky = mH()), Ky) : (e = Dt, e !== 0 || (e = window.event, e = e === void 0 ? 16 : EH(e.type)), e) : 1
}

function Xo(e, t, n, r) {
	if (50 < fv) throw fv = 0, $5 = null, Error(he(185));
	M1(e, n, r), (!(wt & 2) || e !== nr) && (e === nr && (!(wt & 2) && (nb |= n), Wn === 4 && Du(e, vr)), bi(e, r), n === 1 && wt === 0 && !(t.mode & 1) && (Pp = Cn() + 500, J_ && Ml()))
}

function bi(e, t) {
	var n = e.callbackNode;
	hhe(e, t);
	var r = z2(e, e === nr ? vr : 0);
	if (r === 0) n !== null && FA(n), e.callbackNode = null, e.callbackPriority = 0;
	else if (t = r & -r, e.callbackPriority !== t) {
		if (n != null && FA(n), t === 1) e.tag === 0 ? p0e(kM.bind(null, e)) : BH(kM.bind(null, e)), l0e(function() {
			!(wt & 6) && Ml()
		}), n = null;
		else {
			switch (yH(r)) {
				case 1:
					n = jO;
					break;
				case 4:
					n = vH;
					break;
				case 16:
					n = B2;
					break;
				case 536870912:
					n = gH;
					break;
				default:
					n = B2
			}
			n = HV(n, LV.bind(null, e))
		}
		e.callbackPriority = t, e.callbackNode = n
	}
}

function LV(e, t) {
	if (Wy = -1, Ky = 0, wt & 6) throw Error(he(327));
	var n = e.callbackNode;
	if (op() && e.callbackNode !== n) return null;
	var r = z2(e, e === nr ? vr : 0);
	if (r === 0) return null;
	if (r & 30 || r & e.expiredLanes || t) t = uw(e, r);
	else {
		t = r;
		var i = wt;
		wt |= 2;
		var o = DV();
		(nr !== e || vr !== t) && (gs = null, Pp = Cn() + 500, jc(e, t));
		do try {
			L0e();
			break
		} catch (s) {
			NV(e, s)
		}
		while (!0);
		JO(), ow.current = o, wt = i, $n !== null ? t = 0 : (nr = null, vr = 0, t = Wn)
	}
	if (t !== 0) {
		if (t === 2 && (i = c5(e), i !== 0 && (r = i, t = F5(e, i))), t === 1) throw n = Gv, jc(e, 0), Du(e, r), bi(e, Cn()), n;
		if (t === 6) Du(e, r);
		else {
			if (i = e.current.alternate, !(r & 30) && !M0e(i) && (t = uw(e, r), t === 2 && (o = c5(e), o !== 0 && (r = o, t = F5(e, o))), t === 1)) throw n = Gv, jc(e, 0), Du(e, r), bi(e, Cn()), n;
			switch (e.finishedWork = i, e.finishedLanes = r, t) {
				case 0:
				case 1:
					throw Error(he(345));
				case 2:
					pc(e, pi, gs);
					break;
				case 3:
					if (Du(e, r), (r & 130023424) === r && (t = p7 + 500 - Cn(), 10 < t)) {
						if (z2(e, 0) !== 0) break;
						if (i = e.suspendedLanes, (i & r) !== r) {
							Wr(), e.pingedLanes |= e.suspendedLanes & i;
							break
						}
						e.timeoutHandle = y5(pc.bind(null, e, pi, gs), t);
						break
					}
					pc(e, pi, gs);
					break;
				case 4:
					if (Du(e, r), (r & 4194240) === r) break;
					for (t = e.eventTimes, i = -1; 0 < r;) {
						var a = 31 - Yo(r);
						o = 1 << a, a = t[a], a > i && (i = a), r &= ~o
					}
					if (r = i, r = Cn() - r, r = (120 > r ? 120 : 480 > r ? 480 : 1080 > r ? 1080 : 1920 > r ? 1920 : 3e3 > r ? 3e3 : 4320 > r ? 4320 : 1960 * A0e(r / 1960)) - r, 10 < r) {
						e.timeoutHandle = y5(pc.bind(null, e, pi, gs), r);
						break
					}
					pc(e, pi, gs);
					break;
				case 5:
					pc(e, pi, gs);
					break;
				default:
					throw Error(he(329))
			}
		}
	}
	return bi(e, Cn()), e.callbackNode === n ? LV.bind(null, e) : null
}

function F5(e, t) {
	var n = cv;
	return e.current.memoizedState.isDehydrated && (jc(e, t).flags |= 256), e = uw(e, t), e !== 2 && (t = pi, pi = n, t !== null && j5(t)), e
}

function j5(e) {
	pi === null ? pi = e : pi.push.apply(pi, e)
}

function M0e(e) {
	for (var t = e;;) {
		if (t.flags & 16384) {
			var n = t.updateQueue;
			if (n !== null && (n = n.stores, n !== null))
				for (var r = 0; r < n.length; r++) {
					var i = n[r],
						o = i.getSnapshot;
					i = i.value;
					try {
						if (!na(o(), i)) return !1
					} catch (a) {
						return !1
					}
				}
		}
		if (n = t.child, t.subtreeFlags & 16384 && n !== null) n.return = t, t = n;
		else {
			if (t === e) break;
			for (; t.sibling === null;) {
				if (t.return === null || t.return === e) return !0;
				t = t.return
			}
			t.sibling.return = t.return, t = t.sibling
		}
	}
	return !0
}

function Du(e, t) {
	for (t &= ~d7, t &= ~nb, e.suspendedLanes |= t, e.pingedLanes &= ~t, e = e.expirationTimes; 0 < t;) {
		var n = 31 - Yo(t),
			r = 1 << n;
		e[n] = -1, t &= ~r
	}
}

function kM(e) {
	if (wt & 6) throw Error(he(327));
	op();
	var t = z2(e, 0);
	if (!(t & 1)) return bi(e, Cn()), null;
	var n = uw(e, t);
	if (e.tag !== 0 && n === 2) {
		var r = c5(e);
		r !== 0 && (t = r, n = F5(e, r))
	}
	if (n === 1) throw n = Gv, jc(e, 0), Du(e, t), bi(e, Cn()), n;
	if (n === 6) throw Error(he(345));
	return e.finishedWork = e.current.alternate, e.finishedLanes = t, pc(e, pi, gs), bi(e, Cn()), null
}

function h7(e, t) {
	var n = wt;
	wt |= 1;
	try {
		return e(t)
	} finally {
		wt = n, wt === 0 && (Pp = Cn() + 500, J_ && Ml())
	}
}

function of (e) {
	Ku !== null && Ku.tag === 0 && !(wt & 6) && op();
	var t = wt;
	wt |= 1;
	var n = xo.transition,
		r = Dt;
	try {
		if (xo.transition = null, Dt = 1, e) return e()
	} finally {
		Dt = r, xo.transition = n, wt = t, !(wt & 6) && Ml()
	}
}

function v7() {
	Di = Hd.current, en(Hd)
}

function jc(e, t) {
	e.finishedWork = null, e.finishedLanes = 0;
	var n = e.timeoutHandle;
	if (n !== -1 && (e.timeoutHandle = -1, u0e(n)), $n !== null)
		for (n = $n.return; n !== null;) {
			var r = n;
			switch (qO(r), r.tag) {
				case 1:
					r = r.type.childContextTypes, r != null && q2();
					break;
				case 3:
					Ap(), en(wi), en(Nr), i7();
					break;
				case 5:
					r7(r);
					break;
				case 4:
					Ap();
					break;
				case 13:
					en(dn);
					break;
				case 19:
					en(dn);
					break;
				case 10:
					QO(r.type._context);
					break;
				case 22:
				case 23:
					v7()
			}
			n = n.return
		}
	if (nr = e, $n = e = ol(e.current, null), vr = Di = t, Wn = 0, Gv = null, d7 = nb = rf = 0, pi = cv = null, Rc !== null) {
		for (t = 0; t < Rc.length; t++)
			if (n = Rc[t], r = n.interleaved, r !== null) {
				n.interleaved = null;
				var i = r.next,
					o = n.pending;
				if (o !== null) {
					var a = o.next;
					o.next = i, r.next = a
				}
				n.pending = r
			} Rc = null
	}
	return e
}

function NV(e, t) {
	do {
		var n = $n;
		try {
			if (JO(), By.current = iw, rw) {
				for (var r = pn.memoizedState; r !== null;) {
					var i = r.queue;
					i !== null && (i.pending = null), r = r.next
				}
				rw = !1
			}
			if (nf = 0, Jn = Bn = pn = null, uv = !1, Vv = 0, f7.current = null, n === null || n.return === null) {
				Wn = 1, Gv = t, $n = null;
				break
			}
			e: {
				var o = e,
					a = n.return,
					s = n,
					u = t;
				if (t = vr, s.flags |= 32768, u !== null && typeof u == "object" && typeof u.then == "function") {
					var l = u,
						c = s,
						d = c.tag;
					if (!(c.mode & 1) && (d === 0 || d === 11 || d === 15)) {
						var p = c.alternate;
						p ? (c.updateQueue = p.updateQueue, c.memoizedState = p.memoizedState, c.lanes = p.lanes) : (c.updateQueue = null, c.memoizedState = null)
					}
					var g = mM(a);
					if (g !== null) {
						g.flags &= -257, yM(g, a, s, o, t), g.mode & 1 && gM(o, l, t), t = g, u = l;
						var m = t.updateQueue;
						if (m === null) {
							var _ = new Set;
							_.add(u), t.updateQueue = _
						} else m.add(u);
						break e
					} else {
						if (!(t & 1)) {
							gM(o, l, t), g7();
							break e
						}
						u = Error(he(426))
					}
				} else if (on && s.mode & 1) {
					var S = mM(a);
					if (S !== null) {
						!(S.flags & 65536) && (S.flags |= 256), yM(S, a, s, o, t), YO(Mp(u, s));
						break e
					}
				}
				o = u = Mp(u, s),
				Wn !== 4 && (Wn = 2),
				cv === null ? cv = [o] : cv.push(o),
				o = a;do {
					switch (o.tag) {
						case 3:
							o.flags |= 65536, t &= -t, o.lanes |= t;
							var y = yV(o, u, t);
							cM(o, y);
							break e;
						case 1:
							s = u;
							var w = o.type,
								b = o.stateNode;
							if (!(o.flags & 128) && (typeof w.getDerivedStateFromError == "function" || b !== null && typeof b.componentDidCatch == "function" && (rl === null || !rl.has(b)))) {
								o.flags |= 65536, t &= -t, o.lanes |= t;
								var E = wV(o, s, t);
								cM(o, E);
								break e
							}
					}
					o = o.return
				} while (o !== null)
			}
			FV(n)
		} catch (T) {
			t = T, $n === n && n !== null && ($n = n = n.return);
			continue
		}
		break
	} while (!0)
}

function DV() {
	var e = ow.current;
	return ow.current = iw, e === null ? iw : e
}

function g7() {
	(Wn === 0 || Wn === 3 || Wn === 2) && (Wn = 4), nr === null || !(rf & 268435455) && !(nb & 268435455) || Du(nr, vr)
}

function uw(e, t) {
	var n = wt;
	wt |= 2;
	var r = DV();
	(nr !== e || vr !== t) && (gs = null, jc(e, t));
	do try {
		P0e();
		break
	} catch (i) {
		NV(e, i)
	}
	while (!0);
	if (JO(), wt = n, ow.current = r, $n !== null) throw Error(he(261));
	return nr = null, vr = 0, Wn
}

function P0e() {
	for (; $n !== null;) $V($n)
}

function L0e() {
	for (; $n !== null && !ohe();) $V($n)
}

function $V(e) {
	var t = UV(e.alternate, e, Di);
	e.memoizedProps = e.pendingProps, t === null ? FV(e) : $n = t, f7.current = null
}

function FV(e) {
	var t = e;
	do {
		var n = t.alternate;
		if (e = t.return, t.flags & 32768) {
			if (n = T0e(n, t), n !== null) {
				n.flags &= 32767, $n = n;
				return
			}
			if (e !== null) e.flags |= 32768, e.subtreeFlags = 0, e.deletions = null;
			else {
				Wn = 6, $n = null;
				return
			}
		} else if (n = O0e(n, t, Di), n !== null) {
			$n = n;
			return
		}
		if (t = t.sibling, t !== null) {
			$n = t;
			return
		}
		$n = t = e
	} while (t !== null);
	Wn === 0 && (Wn = 5)
}

function pc(e, t, n) {
	var r = Dt,
		i = xo.transition;
	try {
		xo.transition = null, Dt = 1, N0e(e, t, n, r)
	} finally {
		xo.transition = i, Dt = r
	}
	return null
}

function N0e(e, t, n, r) {
	do op(); while (Ku !== null);
	if (wt & 6) throw Error(he(327));
	n = e.finishedWork;
	var i = e.finishedLanes;
	if (n === null) return null;
	if (e.finishedWork = null, e.finishedLanes = 0, n === e.current) throw Error(he(177));
	e.callbackNode = null, e.callbackPriority = 0;
	var o = n.lanes | n.childLanes;
	if (vhe(e, o), e === nr && ($n = nr = null, vr = 0), !(n.subtreeFlags & 2064) && !(n.flags & 2064) || Am || (Am = !0, HV(B2, function() {
			return op(), null
		})), o = (n.flags & 15990) !== 0, n.subtreeFlags & 15990 || o) {
		o = xo.transition, xo.transition = null;
		var a = Dt;
		Dt = 1;
		var s = wt;
		wt |= 4, f7.current = null, I0e(e, n), MV(n, e), t0e(g5), G2 = !!v5, g5 = v5 = null, e.current = n, k0e(n), ahe(), wt = s, Dt = a, xo.transition = o
	} else e.current = n;
	if (Am && (Am = !1, Ku = e, sw = i), o = e.pendingLanes, o === 0 && (rl = null), lhe(n.stateNode), bi(e, Cn()), t !== null)
		for (r = e.onRecoverableError, n = 0; n < t.length; n++) i = t[n], r(i.value, {
			componentStack: i.stack,
			digest: i.digest
		});
	if (aw) throw aw = !1, e = D5, D5 = null, e;
	return sw & 1 && e.tag !== 0 && op(), o = e.pendingLanes, o & 1 ? e === $5 ? fv++ : (fv = 0, $5 = e) : fv = 0, Ml(), null
}

function op() {
	if (Ku !== null) {
		var e = yH(sw),
			t = xo.transition,
			n = Dt;
		try {
			if (xo.transition = null, Dt = 16 > e ? 16 : e, Ku === null) var r = !1;
			else {
				if (e = Ku, Ku = null, sw = 0, wt & 6) throw Error(he(331));
				var i = wt;
				for (wt |= 4, Se = e.current; Se !== null;) {
					var o = Se,
						a = o.child;
					if (Se.flags & 16) {
						var s = o.deletions;
						if (s !== null) {
							for (var u = 0; u < s.length; u++) {
								var l = s[u];
								for (Se = l; Se !== null;) {
									var c = Se;
									switch (c.tag) {
										case 0:
										case 11:
										case 15:
											lv(8, c, o)
									}
									var d = c.child;
									if (d !== null) d.return = c, Se = d;
									else
										for (; Se !== null;) {
											c = Se;
											var p = c.sibling,
												g = c.return;
											if (IV(c), c === l) {
												Se = null;
												break
											}
											if (p !== null) {
												p.return = g, Se = p;
												break
											}
											Se = g
										}
								}
							}
							var m = o.alternate;
							if (m !== null) {
								var _ = m.child;
								if (_ !== null) {
									m.child = null;
									do {
										var S = _.sibling;
										_.sibling = null, _ = S
									} while (_ !== null)
								}
							}
							Se = o
						}
					}
					if (o.subtreeFlags & 2064 && a !== null) a.return = o, Se = a;
					else e: for (; Se !== null;) {
						if (o = Se, o.flags & 2048) switch (o.tag) {
							case 0:
							case 11:
							case 15:
								lv(9, o, o.return)
						}
						var y = o.sibling;
						if (y !== null) {
							y.return = o.return, Se = y;
							break e
						}
						Se = o.return
					}
				}
				var w = e.current;
				for (Se = w; Se !== null;) {
					a = Se;
					var b = a.child;
					if (a.subtreeFlags & 2064 && b !== null) b.return = a, Se = b;
					else e: for (a = w; Se !== null;) {
						if (s = Se, s.flags & 2048) try {
							switch (s.tag) {
								case 0:
								case 11:
								case 15:
									tb(9, s)
							}
						} catch (T) {
							wn(s, s.return, T)
						}
						if (s === a) {
							Se = null;
							break e
						}
						var E = s.sibling;
						if (E !== null) {
							E.return = s.return, Se = E;
							break e
						}
						Se = s.return
					}
				}
				if (wt = i, Ml(), Ha && typeof Ha.onPostCommitFiberRoot == "function") try {
					Ha.onPostCommitFiberRoot(K_, e)
				} catch (T) {}
				r = !0
			}
			return r
		} finally {
			Dt = n, xo.transition = t
		}
	}
	return !1
}

function AM(e, t, n) {
	t = Mp(n, t), t = yV(e, t, 1), e = nl(e, t, 1), t = Wr(), e !== null && (M1(e, 1, t), bi(e, t))
}

function wn(e, t, n) {
	if (e.tag === 3) AM(e, e, n);
	else
		for (; t !== null;) {
			if (t.tag === 3) {
				AM(t, e, n);
				break
			} else if (t.tag === 1) {
				var r = t.stateNode;
				if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (rl === null || !rl.has(r))) {
					e = Mp(n, e), e = wV(t, e, 1), t = nl(t, e, 1), e = Wr(), t !== null && (M1(t, 1, e), bi(t, e));
					break
				}
			}
			t = t.return
		}
}

function D0e(e, t, n) {
	var r = e.pingCache;
	r !== null && r.delete(t), t = Wr(), e.pingedLanes |= e.suspendedLanes & n, nr === e && (vr & n) === n && (Wn === 4 || Wn === 3 && (vr & 130023424) === vr && 500 > Cn() - p7 ? jc(e, 0) : d7 |= n), bi(e, t)
}

function jV(e, t) {
	t === 0 && (e.mode & 1 ? (t = bm, bm <<= 1, !(bm & 130023424) && (bm = 4194304)) : t = 1);
	var n = Wr();
	e = $s(e, t), e !== null && (M1(e, t, n), bi(e, n))
}

function $0e(e) {
	var t = e.memoizedState,
		n = 0;
	t !== null && (n = t.retryLane), jV(e, n)
}

function F0e(e, t) {
	var n = 0;
	switch (e.tag) {
		case 13:
			var r = e.stateNode,
				i = e.memoizedState;
			i !== null && (n = i.retryLane);
			break;
		case 19:
			r = e.stateNode;
			break;
		default:
			throw Error(he(314))
	}
	r !== null && r.delete(t), jV(e, n)
}
var UV;
UV = function(e, t, n) {
	if (e !== null)
		if (e.memoizedProps !== t.pendingProps || wi.current) mi = !0;
		else {
			if (!(e.lanes & n) && !(t.flags & 128)) return mi = !1, C0e(e, t, n);
			mi = !!(e.flags & 131072)
		}
	else mi = !1, on && t.flags & 1048576 && zH(t, J2, t.index);
	switch (t.lanes = 0, t.tag) {
		case 2:
			var r = t.type;
			Gy(e, t), e = t.pendingProps;
			var i = Rp(t, Nr.current);
			ip(t, n), i = a7(null, t, r, e, i, n);
			var o = s7();
			return t.flags |= 1, typeof i == "object" && i !== null && typeof i.render == "function" && i.$$typeof === void 0 ? (t.tag = 1, t.memoizedState = null, t.updateQueue = null, _i(r) ? (o = !0, Y2(t)) : o = !1, t.memoizedState = i.state !== null && i.state !== void 0 ? i.state : null, t7(t), i.updater = eb, t.stateNode = i, i._reactInternals = t, C5(t, r, e, n), t = R5(null, t, r, !0, o, n)) : (t.tag = 0, on && o && ZO(t), Br(null, t, i, n), t = t.child), t;
		case 16:
			r = t.elementType;
			e: {
				switch (Gy(e, t), e = t.pendingProps, i = r._init, r = i(r._payload), t.type = r, i = t.tag = U0e(r), e = jo(r, e), i) {
					case 0:
						t = T5(null, t, r, e, n);
						break e;
					case 1:
						t = bM(null, t, r, e, n);
						break e;
					case 11:
						t = wM(null, t, r, e, n);
						break e;
					case 14:
						t = _M(null, t, r, jo(r.type, e), n);
						break e
				}
				throw Error(he(306, r, ""))
			}
			return t;
		case 0:
			return r = t.type, i = t.pendingProps, i = t.elementType === r ? i : jo(r, i), T5(e, t, r, i, n);
		case 1:
			return r = t.type, i = t.pendingProps, i = t.elementType === r ? i : jo(r, i), bM(e, t, r, i, n);
		case 3:
			e: {
				if (xV(t), e === null) throw Error(he(387));r = t.pendingProps,
				o = t.memoizedState,
				i = o.element,
				YH(e, t),
				tw(t, r, null, n);
				var a = t.memoizedState;
				if (r = a.element, o.isDehydrated)
					if (o = {
							element: r,
							isDehydrated: !1,
							cache: a.cache,
							pendingSuspenseBoundaries: a.pendingSuspenseBoundaries,
							transitions: a.transitions
						}, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {
						i = Mp(Error(he(423)), t), t = SM(e, t, r, n, i);
						break e
					} else if (r !== i) {
					i = Mp(Error(he(424)), t), t = SM(e, t, r, n, i);
					break e
				} else
					for (Fi = tl(t.stateNode.containerInfo.firstChild), ji = t, on = !0, Bo = null, n = ZH(t, null, r, n), t.child = n; n;) n.flags = n.flags & -3 | 4096, n = n.sibling;
				else {
					if (Ip(), r === i) {
						t = Fs(e, t, n);
						break e
					}
					Br(e, t, r, n)
				}
				t = t.child
			}
			return t;
		case 5:
			return XH(t), e === null && S5(t), r = t.type, i = t.pendingProps, o = e !== null ? e.memoizedProps : null, a = i.children, m5(r, i) ? a = null : o !== null && m5(r, o) && (t.flags |= 32), SV(e, t), Br(e, t, a, n), t.child;
		case 6:
			return e === null && S5(t), null;
		case 13:
			return EV(e, t, n);
		case 4:
			return n7(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = kp(t, null, r, n) : Br(e, t, r, n), t.child;
		case 11:
			return r = t.type, i = t.pendingProps, i = t.elementType === r ? i : jo(r, i), wM(e, t, r, i, n);
		case 7:
			return Br(e, t, t.pendingProps, n), t.child;
		case 8:
			return Br(e, t, t.pendingProps.children, n), t.child;
		case 12:
			return Br(e, t, t.pendingProps.children, n), t.child;
		case 10:
			e: {
				if (r = t.type._context, i = t.pendingProps, o = t.memoizedProps, a = i.value, Kt(Q2, r._currentValue), r._currentValue = a, o !== null)
					if (na(o.value, a)) {
						if (o.children === i.children && !wi.current) {
							t = Fs(e, t, n);
							break e
						}
					} else
						for (o = t.child, o !== null && (o.return = t); o !== null;) {
							var s = o.dependencies;
							if (s !== null) {
								a = o.child;
								for (var u = s.firstContext; u !== null;) {
									if (u.context === r) {
										if (o.tag === 1) {
											u = ks(-1, n & -n), u.tag = 2;
											var l = o.updateQueue;
											if (l !== null) {
												l = l.shared;
												var c = l.pending;
												c === null ? u.next = u : (u.next = c.next, c.next = u), l.pending = u
											}
										}
										o.lanes |= n, u = o.alternate, u !== null && (u.lanes |= n), x5(o.return, n, t), s.lanes |= n;
										break
									}
									u = u.next
								}
							} else if (o.tag === 10) a = o.type === t.type ? null : o.child;
							else if (o.tag === 18) {
								if (a = o.return, a === null) throw Error(he(341));
								a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), x5(a, n, t), a = o.sibling
							} else a = o.child;
							if (a !== null) a.return = o;
							else
								for (a = o; a !== null;) {
									if (a === t) {
										a = null;
										break
									}
									if (o = a.sibling, o !== null) {
										o.return = a.return, a = o;
										break
									}
									a = a.return
								}
							o = a
						}
				Br(e, t, i.children, n),
				t = t.child
			}
			return t;
		case 9:
			return i = t.type, r = t.pendingProps.children, ip(t, n), i = Co(i), r = r(i), t.flags |= 1, Br(e, t, r, n), t.child;
		case 14:
			return r = t.type, i = jo(r, t.pendingProps), i = jo(r.type, i), _M(e, t, r, i, n);
		case 15:
			return _V(e, t, t.type, t.pendingProps, n);
		case 17:
			return r = t.type, i = t.pendingProps, i = t.elementType === r ? i : jo(r, i), Gy(e, t), t.tag = 1, _i(r) ? (e = !0, Y2(t)) : e = !1, ip(t, n), mV(t, r, i), C5(t, r, i, n), R5(null, t, r, !0, e, n);
		case 19:
			return CV(e, t, n);
		case 22:
			return bV(e, t, n)
	}
	throw Error(he(156, t.tag))
};

function HV(e, t) {
	return hH(e, t)
}

function j0e(e, t, n, r) {
	this.tag = e, this.key = n, 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 = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null
}

function wo(e, t, n, r) {
	return new j0e(e, t, n, r)
}

function m7(e) {
	return e = e.prototype, !(!e || !e.isReactComponent)
}

function U0e(e) {
	if (typeof e == "function") return m7(e) ? 1 : 0;
	if (e != null) {
		if (e = e.$$typeof, e === DO) return 11;
		if (e === $O) return 14
	}
	return 2
}

function ol(e, t) {
	var n = e.alternate;
	return n === null ? (n = wo(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 14680064, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {
		lanes: t.lanes,
		firstContext: t.firstContext
	}, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n
}

function Zy(e, t, n, r, i, o) {
	var a = 2;
	if (r = e, typeof e == "function") m7(e) && (a = 1);
	else if (typeof e == "string") a = 5;
	else e: switch (e) {
		case Ad:
			return Uc(n.children, i, o, t);
		case NO:
			a = 8, i |= 8;
			break;
		case qE:
			return e = wo(12, n, t, i | 2), e.elementType = qE, e.lanes = o, e;
		case YE:
			return e = wo(13, n, t, i), e.elementType = YE, e.lanes = o, e;
		case XE:
			return e = wo(19, n, t, i), e.elementType = XE, e.lanes = o, e;
		case XU:
			return rb(n, i, o, t);
		default:
			if (typeof e == "object" && e !== null) switch (e.$$typeof) {
				case qU:
					a = 10;
					break e;
				case YU:
					a = 9;
					break e;
				case DO:
					a = 11;
					break e;
				case $O:
					a = 14;
					break e;
				case ku:
					a = 16, r = null;
					break e
			}
			throw Error(he(130, e == null ? e : typeof e, ""))
	}
	return t = wo(a, n, t, i), t.elementType = e, t.type = r, t.lanes = o, t
}

function Uc(e, t, n, r) {
	return e = wo(7, e, r, t), e.lanes = n, e
}

function rb(e, t, n, r) {
	return e = wo(22, e, r, t), e.elementType = XU, e.lanes = n, e.stateNode = {
		isHidden: !1
	}, e
}

function S3(e, t, n) {
	return e = wo(6, e, null, t), e.lanes = n, e
}

function x3(e, t, n) {
	return t = wo(4, e.children !== null ? e.children : [], e.key, t), t.lanes = n, t.stateNode = {
		containerInfo: e.containerInfo,
		pendingChildren: null,
		implementation: e.implementation
	}, t
}

function H0e(e, t, n, r, 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 = r3(0), this.expirationTimes = r3(-1), this.entangledLanes = this.finishedLanes = this.mutableReadLanes = this.expiredLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = r3(0), this.identifierPrefix = r, this.onRecoverableError = i, this.mutableSourceEagerHydrationData = null
}

function y7(e, t, n, r, i, o, a, s, u) {
	return e = new H0e(e, t, n, s, u), t === 1 ? (t = 1, o === !0 && (t |= 8)) : t = 0, o = wo(3, null, null, t), e.current = o, o.stateNode = e, o.memoizedState = {
		element: r,
		isDehydrated: n,
		cache: null,
		transitions: null,
		pendingSuspenseBoundaries: null
	}, t7(o), e
}

function V0e(e, t, n) {
	var r = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
	return {
		$$typeof: kd,
		key: r == null ? null : "" + r,
		children: e,
		containerInfo: t,
		implementation: n
	}
}

function VV(e) {
	if (!e) return pl;
	e = e._reactInternals;
	e: {
		if (bf(e) !== e || e.tag !== 1) throw Error(he(170));
		var t = e;do {
			switch (t.tag) {
				case 3:
					t = t.stateNode.context;
					break e;
				case 1:
					if (_i(t.type)) {
						t = t.stateNode.__reactInternalMemoizedMergedChildContext;
						break e
					}
			}
			t = t.return
		} while (t !== null);
		throw Error(he(171))
	}
	if (e.tag === 1) {
		var n = e.type;
		if (_i(n)) return VH(e, n, t)
	}
	return t
}

function BV(e, t, n, r, i, o, a, s, u) {
	return e = y7(n, r, !0, e, i, o, a, s, u), e.context = VV(null), n = e.current, r = Wr(), i = il(n), o = ks(r, i), o.callback = t != null ? t : null, nl(n, o, i), e.current.lanes = i, M1(e, i, r), bi(e, r), e
}

function ib(e, t, n, r) {
	var i = t.current,
		o = Wr(),
		a = il(i);
	return n = VV(n), t.context === null ? t.context = n : t.pendingContext = n, t = ks(o, a), t.payload = {
		element: e
	}, r = r === void 0 ? null : r, r !== null && (t.callback = r), e = nl(i, t, a), e !== null && (Xo(e, i, a, o), Vy(e, i, a)), a
}

function lw(e) {
	if (e = e.current, !e.child) return null;
	switch (e.child.tag) {
		case 5:
			return e.child.stateNode;
		default:
			return e.child.stateNode
	}
}

function MM(e, t) {
	if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
		var n = e.retryLane;
		e.retryLane = n !== 0 && n < t ? n : t
	}
}

function w7(e, t) {
	MM(e, t), (e = e.alternate) && MM(e, t)
}

function B0e() {
	return null
}
var zV = typeof reportError == "function" ? reportError : function(e) {
	console.error(e)
};

function _7(e) {
	this._internalRoot = e
}
ob.prototype.render = _7.prototype.render = function(e) {
	var t = this._internalRoot;
	if (t === null) throw Error(he(409));
	ib(e, t, null, null)
};
ob.prototype.unmount = _7.prototype.unmount = function() {
	var e = this._internalRoot;
	if (e !== null) {
		this._internalRoot = null;
		var t = e.containerInfo; of (function() {
			ib(null, e, null, null)
		}), t[Ds] = null
	}
};

function ob(e) {
	this._internalRoot = e
}
ob.prototype.unstable_scheduleHydration = function(e) {
	if (e) {
		var t = bH();
		e = {
			blockedOn: null,
			target: e,
			priority: t
		};
		for (var n = 0; n < Nu.length && t !== 0 && t < Nu[n].priority; n++);
		Nu.splice(n, 0, e), n === 0 && xH(e)
	}
};

function b7(e) {
	return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11)
}

function ab(e) {
	return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11 && (e.nodeType !== 8 || e.nodeValue !== " react-mount-point-unstable "))
}

function PM() {}

function z0e(e, t, n, r, i) {
	if (i) {
		if (typeof r == "function") {
			var o = r;
			r = function() {
				var l = lw(a);
				o.call(l)
			}
		}
		var a = BV(t, r, e, 0, null, !1, !1, "", PM);
		return e._reactRootContainer = a, e[Ds] = a.current, $v(e.nodeType === 8 ? e.parentNode : e), of (), a
	}
	for (; i = e.lastChild;) e.removeChild(i);
	if (typeof r == "function") {
		var s = r;
		r = function() {
			var l = lw(u);
			s.call(l)
		}
	}
	var u = y7(e, 0, !1, null, null, !1, !1, "", PM);
	return e._reactRootContainer = u, e[Ds] = u.current, $v(e.nodeType === 8 ? e.parentNode : e), of (function() {
		ib(t, u, n, r)
	}), u
}

function sb(e, t, n, r, i) {
	var o = n._reactRootContainer;
	if (o) {
		var a = o;
		if (typeof i == "function") {
			var s = i;
			i = function() {
				var u = lw(a);
				s.call(u)
			}
		}
		ib(t, a, e, i)
	} else a = z0e(n, t, e, i, r);
	return lw(a)
}
wH = function(e) {
	switch (e.tag) {
		case 3:
			var t = e.stateNode;
			if (t.current.memoizedState.isDehydrated) {
				var n = G0(t.pendingLanes);
				n !== 0 && (UO(t, n | 1), bi(t, Cn()), !(wt & 6) && (Pp = Cn() + 500, Ml()))
			}
			break;
		case 13:
			of (function() {
				var r = $s(e, 1);
				if (r !== null) {
					var i = Wr();
					Xo(r, e, 1, i)
				}
			}), w7(e, 1)
	}
};
HO = function(e) {
	if (e.tag === 13) {
		var t = $s(e, 134217728);
		if (t !== null) {
			var n = Wr();
			Xo(t, e, 134217728, n)
		}
		w7(e, 134217728)
	}
};
_H = function(e) {
	if (e.tag === 13) {
		var t = il(e),
			n = $s(e, t);
		if (n !== null) {
			var r = Wr();
			Xo(n, e, t, r)
		}
		w7(e, t)
	}
};
bH = function() {
	return Dt
};
SH = function(e, t) {
	var n = Dt;
	try {
		return Dt = e, t()
	} finally {
		Dt = n
	}
};
s5 = function(e, t, n) {
	switch (t) {
		case "input":
			if (e5(e, n), t = n.name, n.type === "radio" && t != null) {
				for (n = e; n.parentNode;) n = n.parentNode;
				for (n = n.querySelectorAll("input[name=" + JSON.stringify("" + t) + '][type="radio"]'), t = 0; t < n.length; t++) {
					var r = n[t];
					if (r !== e && r.form === e.form) {
						var i = X_(r);
						if (!i) throw Error(he(90));
						QU(r), e5(r, i)
					}
				}
			}
			break;
		case "textarea":
			tH(e, n);
			break;
		case "select":
			t = n.value, t != null && ep(e, !!n.multiple, t, !1)
	}
};
uH = h7;
lH = of ;
var G0e = {
		usingClientEntryPoint: !1,
		Events: [L1, Nd, X_, aH, sH, h7]
	},
	S0 = {
		findFiberByHostInstance: Tc,
		bundleType: 0,
		version: "18.3.1",
		rendererPackageName: "react-dom"
	},
	W0e = {
		bundleType: S0.bundleType,
		version: S0.version,
		rendererPackageName: S0.rendererPackageName,
		rendererConfig: S0.rendererConfig,
		overrideHookState: null,
		overrideHookStateDeletePath: null,
		overrideHookStateRenamePath: null,
		overrideProps: null,
		overridePropsDeletePath: null,
		overridePropsRenamePath: null,
		setErrorHandler: null,
		setSuspenseHandler: null,
		scheduleUpdate: null,
		currentDispatcherRef: Zs.ReactCurrentDispatcher,
		findHostInstanceByFiber: function(e) {
			return e = dH(e), e === null ? null : e.stateNode
		},
		findFiberByHostInstance: S0.findFiberByHostInstance || B0e,
		findHostInstancesForRefresh: null,
		scheduleRefresh: null,
		scheduleRoot: null,
		setRefreshHandler: null,
		getCurrentFiber: null,
		reconcilerVersion: "18.3.1-next-f1338f8080-20240426"
	};
if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
	var Mm = __REACT_DEVTOOLS_GLOBAL_HOOK__;
	if (!Mm.isDisabled && Mm.supportsFiber) try {
		K_ = Mm.inject(W0e), Ha = Mm
	} catch (e) {}
}
Ki.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = G0e;
Ki.createPortal = function(e, t) {
	var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
	if (!b7(t)) throw Error(he(200));
	return V0e(e, t, null, n)
};
Ki.createRoot = function(e, t) {
	if (!b7(e)) throw Error(he(299));
	var n = !1,
		r = "",
		i = zV;
	return t != null && (t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (r = t.identifierPrefix), t.onRecoverableError !== void 0 && (i = t.onRecoverableError)), t = y7(e, 1, !1, null, null, n, !1, r, i), e[Ds] = t.current, $v(e.nodeType === 8 ? e.parentNode : e), new _7(t)
};
Ki.findDOMNode = function(e) {
	if (e == null) return null;
	if (e.nodeType === 1) return e;
	var t = e._reactInternals;
	if (t === void 0) throw typeof e.render == "function" ? Error(he(188)) : (e = Object.keys(e).join(","), Error(he(268, e)));
	return e = dH(t), e = e === null ? null : e.stateNode, e
};
Ki.flushSync = function(e) {
	return of(e)
};
Ki.hydrate = function(e, t, n) {
	if (!ab(t)) throw Error(he(200));
	return sb(null, e, t, !0, n)
};
Ki.hydrateRoot = function(e, t, n) {
	if (!b7(e)) throw Error(he(405));
	var r = n != null && n.hydratedSources || null,
		i = !1,
		o = "",
		a = zV;
	if (n != null && (n.unstable_strictMode === !0 && (i = !0), n.identifierPrefix !== void 0 && (o = n.identifierPrefix), n.onRecoverableError !== void 0 && (a = n.onRecoverableError)), t = BV(t, null, e, 1, n != null ? n : null, i, !1, o, a), e[Ds] = t.current, $v(e), r)
		for (e = 0; e < r.length; e++) n = r[e], i = n._getVersion, i = i(n._source), t.mutableSourceEagerHydrationData == null ? t.mutableSourceEagerHydrationData = [n, i] : t.mutableSourceEagerHydrationData.push(n, i);
	return new ob(t)
};
Ki.render = function(e, t, n) {
	if (!ab(t)) throw Error(he(200));
	return sb(null, e, t, !1, n)
};
Ki.unmountComponentAtNode = function(e) {
	if (!ab(e)) throw Error(he(40));
	return e._reactRootContainer ? ( of (function() {
		sb(null, null, e, !1, function() {
			e._reactRootContainer = null, e[Ds] = null
		})
	}), !0) : !1
};
Ki.unstable_batchedUpdates = h7;
Ki.unstable_renderSubtreeIntoContainer = function(e, t, n, r) {
	if (!ab(n)) throw Error(he(200));
	if (e == null || e._reactInternals === void 0) throw Error(he(38));
	return sb(e, t, n, !1, r)
};
Ki.version = "18.3.1-next-f1338f8080-20240426";

function GV() {
	if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
		__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(GV)
	} catch (e) {
		console.error(e)
	}
}
GV(), GU.exports = Ki;
var Qa = GU.exports;
const hl = Et(Qa);
var WV = {
		exports: {}
	},
	KV = {};
/**
 * @license React
 * use-sync-external-store-shim.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var Lp = h;

function K0e(e, t) {
	return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t
}
var Z0e = typeof Object.is == "function" ? Object.is : K0e,
	q0e = Lp.useState,
	Y0e = Lp.useEffect,
	X0e = Lp.useLayoutEffect,
	J0e = Lp.useDebugValue;

function Q0e(e, t) {
	var n = t(),
		r = q0e({
			inst: {
				value: n,
				getSnapshot: t
			}
		}),
		i = r[0].inst,
		o = r[1];
	return X0e(function() {
		i.value = n, i.getSnapshot = t, E3(i) && o({
			inst: i
		})
	}, [e, n, t]), Y0e(function() {
		return E3(i) && o({
			inst: i
		}), e(function() {
			E3(i) && o({
				inst: i
			})
		})
	}, [e]), J0e(n), n
}

function E3(e) {
	var t = e.getSnapshot;
	e = e.value;
	try {
		var n = t();
		return !Z0e(e, n)
	} catch (r) {
		return !0
	}
}

function eve(e, t) {
	return t()
}
var tve = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? eve : Q0e;
KV.useSyncExternalStore = Lp.useSyncExternalStore !== void 0 ? Lp.useSyncExternalStore : tve;
WV.exports = KV;
var nve = WV.exports;
const rve = nve.useSyncExternalStore,
	LM = h.createContext(void 0),
	ZV = h.createContext(!1);

function qV(e, t) {
	return e || (t && typeof window < "u" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = LM), window.ReactQueryClientContext) : LM)
}
const ive = ({
		context: e
	} = {}) => {
		const t = h.useContext(qV(e, h.useContext(ZV)));
		if (!t) throw new Error("No QueryClient set, use QueryClientProvider to set one");
		return t
	},
	ove = ({
		client: e,
		children: t,
		context: n,
		contextSharing: r = !1
	}) => {
		h.useEffect(() => (e.mount(), () => {
			e.unmount()
		}), [e]);
		const i = qV(n, r);
		return h.createElement(ZV.Provider, {
			value: !n && r
		}, h.createElement(i.Provider, {
			value: e
		}, t))
	},
	YV = h.createContext(!1),
	ave = () => h.useContext(YV);
YV.Provider;

function sve() {
	let e = !1;
	return {
		clearReset: () => {
			e = !1
		},
		reset: () => {
			e = !0
		},
		isReset: () => e
	}
}
const uve = h.createContext(sve()),
	lve = () => h.useContext(uve);

function cve(e, t) {
	return typeof e == "function" ? e(...t) : !!e
}
const fve = (e, t) => {
		(e.suspense || e.useErrorBoundary) && (t.isReset() || (e.retryOnMount = !1))
	},
	dve = e => {
		h.useEffect(() => {
			e.clearReset()
		}, [e])
	},
	pve = ({
		result: e,
		errorResetBoundary: t,
		useErrorBoundary: n,
		query: r
	}) => e.isError && !t.isReset() && !e.isFetching && cve(n, [e.error, r]),
	hve = e => {
		e.suspense && typeof e.staleTime != "number" && (e.staleTime = 1e3)
	},
	vve = (e, t) => e.isLoading && e.isFetching && !t,
	gve = (e, t, n) => (e == null ? void 0 : e.suspense) && vve(t, n),
	mve = (e, t, n) => t.fetchOptimistic(e).then(({
		data: r
	}) => {
		e.onSuccess == null || e.onSuccess(r), e.onSettled == null || e.onSettled(r, null)
	}).catch(r => {
		n.clearReset(), e.onError == null || e.onError(r), e.onSettled == null || e.onSettled(void 0, r)
	});

function yve(e, t) {
	const n = ive({
			context: e.context
		}),
		r = ave(),
		i = lve(),
		o = n.defaultQueryOptions(e);
	o._optimisticResults = r ? "isRestoring" : "optimistic", o.onError && (o.onError = Pn.batchCalls(o.onError)), o.onSuccess && (o.onSuccess = Pn.batchCalls(o.onSuccess)), o.onSettled && (o.onSettled = Pn.batchCalls(o.onSettled)), hve(o), fve(o, i), dve(i);
	const [a] = h.useState(() => new t(n, o)), s = a.getOptimisticResult(o);
	if (rve(h.useCallback(u => {
			const l = r ? () => {} : a.subscribe(Pn.batchCalls(u));
			return a.updateResult(), l
		}, [a, r]), () => a.getCurrentResult(), () => a.getCurrentResult()), h.useEffect(() => {
			a.setOptions(o, {
				listeners: !1
			})
		}, [o, a]), gve(o, s, r)) throw mve(o, a, i);
	if (pve({
			result: s,
			errorResetBoundary: i,
			useErrorBoundary: o.useErrorBoundary,
			query: a.getCurrentQuery()
		})) throw s.error;
	return o.notifyOnChangeProps ? s : a.trackResult(s)
}

function S7(e, t, n) {
	const r = V0(e, t, n);
	return yve(r, Upe)
}

function XV(e) {
	var t, n, r = "";
	if (typeof e == "string" || typeof e == "number") r += e;
	else if (typeof e == "object")
		if (Array.isArray(e))
			for (t = 0; t < e.length; t++) e[t] && (n = XV(e[t])) && (r && (r += " "), r += n);
		else
			for (t in e) e[t] && (r && (r += " "), r += t);
	return r
}

function Pe() {
	for (var e = 0, t, n, r = ""; e < arguments.length;)(t = arguments[e++]) && (n = XV(t)) && (r && (r += " "), r += n);
	return r
}
var Zu;
(function(e) {
	e.info = "info", e.neutral = "neutral", e.success = "success", e.warning = "warning", e.danger = "danger"
})(Zu || (Zu = {}));
const JV = J.memo(J.forwardRef(function(t, n) {
	const {
		className: r,
		intent: i = "info",
		fullWidth: o,
		children: a,
		icon: s,
		onRemove: u,
		...l
	} = t, c = Pe({
		"alert-root": !0,
		"alert-full": o,
		"alert-info": i === "info",
		"alert-neutral": i === "neutral",
		"alert-success": i === "success",
		"alert-warning": i === "warning",
		"alert-danger": i === "danger"
	}, r);
	return C.jsxs("div", {
		className: c,
		role: "alert",
		ref: n,
		...l,
		children: [s && C.jsx("div", {
			className: "alert-icon",
			children: s
		}), C.jsx("div", {
			className: "alert-body",
			children: typeof a == "string" ? C.jsx("div", {
				className: "alert-title",
				children: a
			}) : a
		}), u ? C.jsx("div", {
			className: "alert-close",
			children: C.jsx("button", {
				onClick: u,
				"aria-label": "Close",
				children: "×"
			})
		}) : null]
	})
}));
class wve {
	constructor() {
		this.notifyHandler = null, this.getToastsHandler = null, this.closeAllHandler = null, this._bindNotify = t => {
			this.notifyHandler = t
		}, this._bindGetToasts = t => {
			this.getToastsHandler = t
		}, this._bindCloseAll = t => {
			this.closeAllHandler = t
		}, this.getToasts = () => this.getToastsHandler(), this.closeAll = () => this.closeAllHandler()
	}
	_callNotifyHandler(t, n) {
		return this.notifyHandler(t, n)
	}
	info(t, n = {}) {
		return this._callNotifyHandler(t, {
			...n,
			intent: Zu.info
		})
	}
	success(t, n = {}) {
		return this._callNotifyHandler(t, {
			...n,
			intent: Zu.success
		})
	}
	warning(t, n = {}) {
		return this._callNotifyHandler(t, {
			...n,
			intent: Zu.warning
		})
	}
	danger(t, n = {}) {
		return this._callNotifyHandler(t, {
			...n,
			intent: Zu.danger
		})
	}
}
const Ui = new wve;
class Sf extends Error {}
class _ve extends Sf {
	constructor(t) {
		super("Invalid DateTime: ".concat(t.toMessage()))
	}
}
class bve extends Sf {
	constructor(t) {
		super("Invalid Interval: ".concat(t.toMessage()))
	}
}
class Sve extends Sf {
	constructor(t) {
		super("Invalid Duration: ".concat(t.toMessage()))
	}
}
class K0 extends Sf {}
class QV extends Sf {
	constructor(t) {
		super("Invalid unit ".concat(t))
	}
}
class go extends Sf {}
class wu extends Sf {
	constructor() {
		super("Zone is an abstract class")
	}
}
const we = "numeric",
	ra = "short",
	Hi = "long",
	cw = {
		year: we,
		month: we,
		day: we
	},
	eB = {
		year: we,
		month: ra,
		day: we
	},
	xve = {
		year: we,
		month: ra,
		day: we,
		weekday: ra
	},
	tB = {
		year: we,
		month: Hi,
		day: we
	},
	nB = {
		year: we,
		month: Hi,
		day: we,
		weekday: Hi
	},
	rB = {
		hour: we,
		minute: we
	},
	iB = {
		hour: we,
		minute: we,
		second: we
	},
	oB = {
		hour: we,
		minute: we,
		second: we,
		timeZoneName: ra
	},
	aB = {
		hour: we,
		minute: we,
		second: we,
		timeZoneName: Hi
	},
	sB = {
		hour: we,
		minute: we,
		hourCycle: "h23"
	},
	uB = {
		hour: we,
		minute: we,
		second: we,
		hourCycle: "h23"
	},
	lB = {
		hour: we,
		minute: we,
		second: we,
		hourCycle: "h23",
		timeZoneName: ra
	},
	cB = {
		hour: we,
		minute: we,
		second: we,
		hourCycle: "h23",
		timeZoneName: Hi
	},
	fB = {
		year: we,
		month: we,
		day: we,
		hour: we,
		minute: we
	},
	dB = {
		year: we,
		month: we,
		day: we,
		hour: we,
		minute: we,
		second: we
	},
	pB = {
		year: we,
		month: ra,
		day: we,
		hour: we,
		minute: we
	},
	hB = {
		year: we,
		month: ra,
		day: we,
		hour: we,
		minute: we,
		second: we
	},
	Eve = {
		year: we,
		month: ra,
		day: we,
		weekday: ra,
		hour: we,
		minute: we
	},
	vB = {
		year: we,
		month: Hi,
		day: we,
		hour: we,
		minute: we,
		timeZoneName: ra
	},
	gB = {
		year: we,
		month: Hi,
		day: we,
		hour: we,
		minute: we,
		second: we,
		timeZoneName: ra
	},
	mB = {
		year: we,
		month: Hi,
		day: we,
		weekday: Hi,
		hour: we,
		minute: we,
		timeZoneName: Hi
	},
	yB = {
		year: we,
		month: Hi,
		day: we,
		weekday: Hi,
		hour: we,
		minute: we,
		second: we,
		timeZoneName: Hi
	};
class D1 {
	get type() {
		throw new wu
	}
	get name() {
		throw new wu
	}
	get ianaName() {
		return this.name
	}
	get isUniversal() {
		throw new wu
	}
	offsetName(t, n) {
		throw new wu
	}
	formatOffset(t, n) {
		throw new wu
	}
	offset(t) {
		throw new wu
	}
	equals(t) {
		throw new wu
	}
	get isValid() {
		throw new wu
	}
}
let C3 = null;
class ub extends D1 {
	static get instance() {
		return C3 === null && (C3 = new ub), C3
	}
	get type() {
		return "system"
	}
	get name() {
		return new Intl.DateTimeFormat().resolvedOptions().timeZone
	}
	get isUniversal() {
		return !1
	}
	offsetName(t, {
		format: n,
		locale: r
	}) {
		return _B(t, n, r)
	}
	formatOffset(t, n) {
		return pv(this.offset(t), n)
	}
	offset(t) {
		return -new Date(t).getTimezoneOffset()
	}
	equals(t) {
		return t.type === "system"
	}
	get isValid() {
		return !0
	}
}
let qy = {};

function Cve(e) {
	return qy[e] || (qy[e] = new Intl.DateTimeFormat("en-US", {
		hour12: !1,
		timeZone: e,
		year: "numeric",
		month: "2-digit",
		day: "2-digit",
		hour: "2-digit",
		minute: "2-digit",
		second: "2-digit",
		era: "short"
	})), qy[e]
}
const Ove = {
	year: 0,
	month: 1,
	day: 2,
	era: 3,
	hour: 4,
	minute: 5,
	second: 6
};

function Tve(e, t) {
	const n = e.format(t).replace(/\u200E/g, ""),
		r = /(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),
		[, i, o, a, s, u, l, c] = r;
	return [a, i, o, s, u, l, c]
}

function Rve(e, t) {
	const n = e.formatToParts(t),
		r = [];
	for (let i = 0; i < n.length; i++) {
		const {
			type: o,
			value: a
		} = n[i], s = Ove[o];
		o === "era" ? r[s] = a : ht(s) || (r[s] = parseInt(a, 10))
	}
	return r
}
let Pm = {};
class js extends D1 {
	static create(t) {
		return Pm[t] || (Pm[t] = new js(t)), Pm[t]
	}
	static resetCache() {
		Pm = {}, qy = {}
	}
	static isValidSpecifier(t) {
		return this.isValidZone(t)
	}
	static isValidZone(t) {
		if (!t) return !1;
		try {
			return new Intl.DateTimeFormat("en-US", {
				timeZone: t
			}).format(), !0
		} catch (n) {
			return !1
		}
	}
	constructor(t) {
		super(), this.zoneName = t, this.valid = js.isValidZone(t)
	}
	get type() {
		return "iana"
	}
	get name() {
		return this.zoneName
	}
	get isUniversal() {
		return !1
	}
	offsetName(t, {
		format: n,
		locale: r
	}) {
		return _B(t, n, r, this.name)
	}
	formatOffset(t, n) {
		return pv(this.offset(t), n)
	}
	offset(t) {
		const n = new Date(t);
		if (isNaN(n)) return NaN;
		const r = Cve(this.name);
		let [i, o, a, s, u, l, c] = r.formatToParts ? Rve(r, n) : Tve(r, n);
		s === "BC" && (i = -Math.abs(i) + 1);
		const p = C7({
			year: i,
			month: o,
			day: a,
			hour: u === 24 ? 0 : u,
			minute: l,
			second: c,
			millisecond: 0
		});
		let g = +n;
		const m = g % 1e3;
		return g -= m >= 0 ? m : 1e3 + m, (p - g) / (60 * 1e3)
	}
	equals(t) {
		return t.type === "iana" && t.name === this.name
	}
	get isValid() {
		return this.valid
	}
}
let NM = {};

function Ive(e, t = {}) {
	const n = JSON.stringify([e, t]);
	let r = NM[n];
	return r || (r = new Intl.ListFormat(e, t), NM[n] = r), r
}
let U5 = {};

function H5(e, t = {}) {
	const n = JSON.stringify([e, t]);
	let r = U5[n];
	return r || (r = new Intl.DateTimeFormat(e, t), U5[n] = r), r
}
let V5 = {};

function kve(e, t = {}) {
	const n = JSON.stringify([e, t]);
	let r = V5[n];
	return r || (r = new Intl.NumberFormat(e, t), V5[n] = r), r
}
let B5 = {};

function Ave(e, t = {}) {
	const {
		base: n,
		...r
	} = t, i = JSON.stringify([e, r]);
	let o = B5[i];
	return o || (o = new Intl.RelativeTimeFormat(e, t), B5[i] = o), o
}
let Z0 = null;

function Mve() {
	return Z0 || (Z0 = new Intl.DateTimeFormat().resolvedOptions().locale, Z0)
}

function Pve(e) {
	const t = e.indexOf("-x-");
	t !== -1 && (e = e.substring(0, t));
	const n = e.indexOf("-u-");
	if (n === -1) return [e]; {
		let r, i;
		try {
			r = H5(e).resolvedOptions(), i = e
		} catch (s) {
			const u = e.substring(0, n);
			r = H5(u).resolvedOptions(), i = u
		}
		const {
			numberingSystem: o,
			calendar: a
		} = r;
		return [i, o, a]
	}
}

function Lve(e, t, n) {
	return (n || t) && (e.includes("-u-") || (e += "-u"), n && (e += "-ca-".concat(n)), t && (e += "-nu-".concat(t))), e
}

function Nve(e) {
	const t = [];
	for (let n = 1; n <= 12; n++) {
		const r = Xe.utc(2016, n, 1);
		t.push(e(r))
	}
	return t
}

function Dve(e) {
	const t = [];
	for (let n = 1; n <= 7; n++) {
		const r = Xe.utc(2016, 11, 13 + n);
		t.push(e(r))
	}
	return t
}

function Lm(e, t, n, r, i) {
	const o = e.listingMode(n);
	return o === "error" ? null : o === "en" ? r(t) : i(t)
}

function $ve(e) {
	return e.numberingSystem && e.numberingSystem !== "latn" ? !1 : e.numberingSystem === "latn" || !e.locale || e.locale.startsWith("en") || new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem === "latn"
}
class Fve {
	constructor(t, n, r) {
		this.padTo = r.padTo || 0, this.floor = r.floor || !1;
		const {
			padTo: i,
			floor: o,
			...a
		} = r;
		if (!n || Object.keys(a).length > 0) {
			const s = {
				useGrouping: !1,
				...r
			};
			r.padTo > 0 && (s.minimumIntegerDigits = r.padTo), this.inf = kve(t, s)
		}
	}
	format(t) {
		if (this.inf) {
			const n = this.floor ? Math.floor(t) : t;
			return this.inf.format(n)
		} else {
			const n = this.floor ? Math.floor(t) : E7(t, 3);
			return An(n, this.padTo)
		}
	}
}
class jve {
	constructor(t, n, r) {
		this.opts = r, this.originalZone = void 0;
		let i;
		if (this.opts.timeZone) this.dt = t;
		else if (t.zone.type === "fixed") {
			const a = -1 * (t.offset / 60),
				s = a >= 0 ? "Etc/GMT+".concat(a) : "Etc/GMT".concat(a);
			t.offset !== 0 && js.create(s).valid ? (i = s, this.dt = t) : (i = "UTC", this.dt = t.offset === 0 ? t : t.setZone("UTC").plus({
				minutes: t.offset
			}), this.originalZone = t.zone)
		} else t.zone.type === "system" ? this.dt = t : t.zone.type === "iana" ? (this.dt = t, i = t.zone.name) : (i = "UTC", this.dt = t.setZone("UTC").plus({
			minutes: t.offset
		}), this.originalZone = t.zone);
		const o = {
			...this.opts
		};
		o.timeZone = o.timeZone || i, this.dtf = H5(n, o)
	}
	format() {
		return this.originalZone ? this.formatToParts().map(({
			value: t
		}) => t).join("") : this.dtf.format(this.dt.toJSDate())
	}
	formatToParts() {
		const t = this.dtf.formatToParts(this.dt.toJSDate());
		return this.originalZone ? t.map(n => {
			if (n.type === "timeZoneName") {
				const r = this.originalZone.offsetName(this.dt.ts, {
					locale: this.dt.locale,
					format: this.opts.timeZoneName
				});
				return {
					...n,
					value: r
				}
			} else return n
		}) : t
	}
	resolvedOptions() {
		return this.dtf.resolvedOptions()
	}
}
class Uve {
	constructor(t, n, r) {
		this.opts = {
			style: "long",
			...r
		}, !n && wB() && (this.rtf = Ave(t, r))
	}
	format(t, n) {
		return this.rtf ? this.rtf.format(t, n) : r1e(n, t, this.opts.numeric, this.opts.style !== "long")
	}
	formatToParts(t, n) {
		return this.rtf ? this.rtf.formatToParts(t, n) : []
	}
}
class Qt {
	static fromOpts(t) {
		return Qt.create(t.locale, t.numberingSystem, t.outputCalendar, t.defaultToEN)
	}
	static create(t, n, r, i = !1) {
		const o = t || kn.defaultLocale,
			a = o || (i ? "en-US" : Mve()),
			s = n || kn.defaultNumberingSystem,
			u = r || kn.defaultOutputCalendar;
		return new Qt(a, s, u, o)
	}
	static resetCache() {
		Z0 = null, U5 = {}, V5 = {}, B5 = {}
	}
	static fromObject({
		locale: t,
		numberingSystem: n,
		outputCalendar: r
	} = {}) {
		return Qt.create(t, n, r)
	}
	constructor(t, n, r, i) {
		const [o, a, s] = Pve(t);
		this.locale = o, this.numberingSystem = n || a || null, this.outputCalendar = r || s || null, this.intl = Lve(this.locale, this.numberingSystem, this.outputCalendar), this.weekdaysCache = {
			format: {},
			standalone: {}
		}, this.monthsCache = {
			format: {},
			standalone: {}
		}, this.meridiemCache = null, this.eraCache = {}, this.specifiedLocale = i, this.fastNumbersCached = null
	}
	get fastNumbers() {
		return this.fastNumbersCached == null && (this.fastNumbersCached = $ve(this)), this.fastNumbersCached
	}
	listingMode() {
		const t = this.isEnglish(),
			n = (this.numberingSystem === null || this.numberingSystem === "latn") && (this.outputCalendar === null || this.outputCalendar === "gregory");
		return t && n ? "en" : "intl"
	}
	clone(t) {
		return !t || Object.getOwnPropertyNames(t).length === 0 ? this : Qt.create(t.locale || this.specifiedLocale, t.numberingSystem || this.numberingSystem, t.outputCalendar || this.outputCalendar, t.defaultToEN || !1)
	}
	redefaultToEN(t = {}) {
		return this.clone({
			...t,
			defaultToEN: !0
		})
	}
	redefaultToSystem(t = {}) {
		return this.clone({
			...t,
			defaultToEN: !1
		})
	}
	months(t, n = !1, r = !0) {
		return Lm(this, t, r, xB, () => {
			const i = n ? {
					month: t,
					day: "numeric"
				} : {
					month: t
				},
				o = n ? "format" : "standalone";
			return this.monthsCache[o][t] || (this.monthsCache[o][t] = Nve(a => this.extract(a, i, "month"))), this.monthsCache[o][t]
		})
	}
	weekdays(t, n = !1, r = !0) {
		return Lm(this, t, r, OB, () => {
			const i = n ? {
					weekday: t,
					year: "numeric",
					month: "long",
					day: "numeric"
				} : {
					weekday: t
				},
				o = n ? "format" : "standalone";
			return this.weekdaysCache[o][t] || (this.weekdaysCache[o][t] = Dve(a => this.extract(a, i, "weekday"))), this.weekdaysCache[o][t]
		})
	}
	meridiems(t = !0) {
		return Lm(this, void 0, t, () => TB, () => {
			if (!this.meridiemCache) {
				const n = {
					hour: "numeric",
					hourCycle: "h12"
				};
				this.meridiemCache = [Xe.utc(2016, 11, 13, 9), Xe.utc(2016, 11, 13, 19)].map(r => this.extract(r, n, "dayperiod"))
			}
			return this.meridiemCache
		})
	}
	eras(t, n = !0) {
		return Lm(this, t, n, RB, () => {
			const r = {
				era: t
			};
			return this.eraCache[t] || (this.eraCache[t] = [Xe.utc(-40, 1, 1), Xe.utc(2017, 1, 1)].map(i => this.extract(i, r, "era"))), this.eraCache[t]
		})
	}
	extract(t, n, r) {
		const i = this.dtFormatter(t, n),
			o = i.formatToParts(),
			a = o.find(s => s.type.toLowerCase() === r);
		return a ? a.value : null
	}
	numberFormatter(t = {}) {
		return new Fve(this.intl, t.forceSimple || this.fastNumbers, t)
	}
	dtFormatter(t, n = {}) {
		return new jve(t, this.intl, n)
	}
	relFormatter(t = {}) {
		return new Uve(this.intl, this.isEnglish(), t)
	}
	listFormatter(t = {}) {
		return Ive(this.intl, t)
	}
	isEnglish() {
		return this.locale === "en" || this.locale.toLowerCase() === "en-us" || new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")
	}
	equals(t) {
		return this.locale === t.locale && this.numberingSystem === t.numberingSystem && this.outputCalendar === t.outputCalendar
	}
}
let O3 = null;
class zr extends D1 {
	static get utcInstance() {
		return O3 === null && (O3 = new zr(0)), O3
	}
	static instance(t) {
		return t === 0 ? zr.utcInstance : new zr(t)
	}
	static parseSpecifier(t) {
		if (t) {
			const n = t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);
			if (n) return new zr(cb(n[1], n[2]))
		}
		return null
	}
	constructor(t) {
		super(), this.fixed = t
	}
	get type() {
		return "fixed"
	}
	get name() {
		return this.fixed === 0 ? "UTC" : "UTC".concat(pv(this.fixed, "narrow"))
	}
	get ianaName() {
		return this.fixed === 0 ? "Etc/UTC" : "Etc/GMT".concat(pv(-this.fixed, "narrow"))
	}
	offsetName() {
		return this.name
	}
	formatOffset(t, n) {
		return pv(this.fixed, n)
	}
	get isUniversal() {
		return !0
	}
	offset() {
		return this.fixed
	}
	equals(t) {
		return t.type === "fixed" && t.fixed === this.fixed
	}
	get isValid() {
		return !0
	}
}
class Hve extends D1 {
	constructor(t) {
		super(), this.zoneName = t
	}
	get type() {
		return "invalid"
	}
	get name() {
		return this.zoneName
	}
	get isUniversal() {
		return !1
	}
	offsetName() {
		return null
	}
	formatOffset() {
		return ""
	}
	offset() {
		return NaN
	}
	equals() {
		return !1
	}
	get isValid() {
		return !1
	}
}

function $u(e, t) {
	if (ht(e) || e === null) return t;
	if (e instanceof D1) return e;
	if (Vve(e)) {
		const n = e.toLowerCase();
		return n === "default" ? t : n === "local" || n === "system" ? ub.instance : n === "utc" || n === "gmt" ? zr.utcInstance : zr.parseSpecifier(n) || js.create(e)
	} else return Hc(e) ? zr.instance(e) : typeof e == "object" && e.offset && typeof e.offset == "number" ? e : new Hve(e)
}
let DM = () => Date.now(),
	$M = "system",
	FM = null,
	jM = null,
	UM = null,
	HM = 60,
	VM;
class kn {
	static get now() {
		return DM
	}
	static set now(t) {
		DM = t
	}
	static set defaultZone(t) {
		$M = t
	}
	static get defaultZone() {
		return $u($M, ub.instance)
	}
	static get defaultLocale() {
		return FM
	}
	static set defaultLocale(t) {
		FM = t
	}
	static get defaultNumberingSystem() {
		return jM
	}
	static set defaultNumberingSystem(t) {
		jM = t
	}
	static get defaultOutputCalendar() {
		return UM
	}
	static set defaultOutputCalendar(t) {
		UM = t
	}
	static get twoDigitCutoffYear() {
		return HM
	}
	static set twoDigitCutoffYear(t) {
		HM = t % 100
	}
	static get throwOnInvalid() {
		return VM
	}
	static set throwOnInvalid(t) {
		VM = t
	}
	static resetCaches() {
		Qt.resetCache(), js.resetCache()
	}
}

function ht(e) {
	return typeof e > "u"
}

function Hc(e) {
	return typeof e == "number"
}

function lb(e) {
	return typeof e == "number" && e % 1 === 0
}

function Vve(e) {
	return typeof e == "string"
}

function Bve(e) {
	return Object.prototype.toString.call(e) === "[object Date]"
}

function wB() {
	try {
		return typeof Intl < "u" && !!Intl.RelativeTimeFormat
	} catch (e) {
		return !1
	}
}

function zve(e) {
	return Array.isArray(e) ? e : [e]
}

function BM(e, t, n) {
	if (e.length !== 0) return e.reduce((r, i) => {
		const o = [t(i), i];
		return r && n(r[0], o[0]) === r[0] ? r : o
	}, null)[1]
}

function Gve(e, t) {
	return t.reduce((n, r) => (n[r] = e[r], n), {})
}

function Np(e, t) {
	return Object.prototype.hasOwnProperty.call(e, t)
}

function Ts(e, t, n) {
	return lb(e) && e >= t && e <= n
}

function Wve(e, t) {
	return e - t * Math.floor(e / t)
}

function An(e, t = 2) {
	const n = e < 0;
	let r;
	return n ? r = "-" + ("" + -e).padStart(t, "0") : r = ("" + e).padStart(t, "0"), r
}

function Mu(e) {
	if (!(ht(e) || e === null || e === "")) return parseInt(e, 10)
}

function ac(e) {
	if (!(ht(e) || e === null || e === "")) return parseFloat(e)
}

function x7(e) {
	if (!(ht(e) || e === null || e === "")) {
		const t = parseFloat("0." + e) * 1e3;
		return Math.floor(t)
	}
}

function E7(e, t, n = !1) {
	const r = 10 ** t;
	return (n ? Math.trunc : Math.round)(e * r) / r
}

function $1(e) {
	return e % 4 === 0 && (e % 100 !== 0 || e % 400 === 0)
}

function dv(e) {
	return $1(e) ? 366 : 365
}

function fw(e, t) {
	const n = Wve(t - 1, 12) + 1,
		r = e + (t - n) / 12;
	return n === 2 ? $1(r) ? 29 : 28 : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][n - 1]
}

function C7(e) {
	let t = Date.UTC(e.year, e.month - 1, e.day, e.hour, e.minute, e.second, e.millisecond);
	return e.year < 100 && e.year >= 0 && (t = new Date(t), t.setUTCFullYear(e.year, e.month - 1, e.day)), +t
}

function dw(e) {
	const t = (e + Math.floor(e / 4) - Math.floor(e / 100) + Math.floor(e / 400)) % 7,
		n = e - 1,
		r = (n + Math.floor(n / 4) - Math.floor(n / 100) + Math.floor(n / 400)) % 7;
	return t === 4 || r === 3 ? 53 : 52
}

function z5(e) {
	return e > 99 ? e : e > kn.twoDigitCutoffYear ? 1900 + e : 2e3 + e
}

function _B(e, t, n, r = null) {
	const i = new Date(e),
		o = {
			hourCycle: "h23",
			year: "numeric",
			month: "2-digit",
			day: "2-digit",
			hour: "2-digit",
			minute: "2-digit"
		};
	r && (o.timeZone = r);
	const a = {
			timeZoneName: t,
			...o
		},
		s = new Intl.DateTimeFormat(n, a).formatToParts(i).find(u => u.type.toLowerCase() === "timezonename");
	return s ? s.value : null
}

function cb(e, t) {
	let n = parseInt(e, 10);
	Number.isNaN(n) && (n = 0);
	const r = parseInt(t, 10) || 0,
		i = n < 0 || Object.is(n, -0) ? -r : r;
	return n * 60 + i
}

function bB(e) {
	const t = Number(e);
	if (typeof e == "boolean" || e === "" || Number.isNaN(t)) throw new go("Invalid unit value ".concat(e));
	return t
}

function pw(e, t) {
	const n = {};
	for (const r in e)
		if (Np(e, r)) {
			const i = e[r];
			if (i == null) continue;
			n[t(r)] = bB(i)
		} return n
}

function pv(e, t) {
	const n = Math.trunc(Math.abs(e / 60)),
		r = Math.trunc(Math.abs(e % 60)),
		i = e >= 0 ? "+" : "-";
	switch (t) {
		case "short":
			return "".concat(i).concat(An(n, 2), ":").concat(An(r, 2));
		case "narrow":
			return "".concat(i).concat(n).concat(r > 0 ? ":".concat(r) : "");
		case "techie":
			return "".concat(i).concat(An(n, 2)).concat(An(r, 2));
		default:
			throw new RangeError("Value format ".concat(t, " is out of range for property format"))
	}
}

function fb(e) {
	return Gve(e, ["hour", "minute", "second", "millisecond"])
}
const Kve = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
	SB = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
	Zve = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"];

function xB(e) {
	switch (e) {
		case "narrow":
			return [...Zve];
		case "short":
			return [...SB];
		case "long":
			return [...Kve];
		case "numeric":
			return ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
		case "2-digit":
			return ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"];
		default:
			return null
	}
}
const EB = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
	CB = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
	qve = ["M", "T", "W", "T", "F", "S", "S"];

function OB(e) {
	switch (e) {
		case "narrow":
			return [...qve];
		case "short":
			return [...CB];
		case "long":
			return [...EB];
		case "numeric":
			return ["1", "2", "3", "4", "5", "6", "7"];
		default:
			return null
	}
}
const TB = ["AM", "PM"],
	Yve = ["Before Christ", "Anno Domini"],
	Xve = ["BC", "AD"],
	Jve = ["B", "A"];

function RB(e) {
	switch (e) {
		case "narrow":
			return [...Jve];
		case "short":
			return [...Xve];
		case "long":
			return [...Yve];
		default:
			return null
	}
}

function Qve(e) {
	return TB[e.hour < 12 ? 0 : 1]
}

function e1e(e, t) {
	return OB(t)[e.weekday - 1]
}

function t1e(e, t) {
	return xB(t)[e.month - 1]
}

function n1e(e, t) {
	return RB(t)[e.year < 0 ? 0 : 1]
}

function r1e(e, t, n = "always", r = !1) {
	const i = {
			years: ["year", "yr."],
			quarters: ["quarter", "qtr."],
			months: ["month", "mo."],
			weeks: ["week", "wk."],
			days: ["day", "day", "days"],
			hours: ["hour", "hr."],
			minutes: ["minute", "min."],
			seconds: ["second", "sec."]
		},
		o = ["hours", "minutes", "seconds"].indexOf(e) === -1;
	if (n === "auto" && o) {
		const d = e === "days";
		switch (t) {
			case 1:
				return d ? "tomorrow" : "next ".concat(i[e][0]);
			case -1:
				return d ? "yesterday" : "last ".concat(i[e][0]);
			case 0:
				return d ? "today" : "this ".concat(i[e][0])
		}
	}
	const a = Object.is(t, -0) || t < 0,
		s = Math.abs(t),
		u = s === 1,
		l = i[e],
		c = r ? u ? l[1] : l[2] || l[1] : u ? i[e][0] : e;
	return a ? "".concat(s, " ").concat(c, " ago") : "in ".concat(s, " ").concat(c)
}

function zM(e, t) {
	let n = "";
	for (const r of e) r.literal ? n += r.val : n += t(r.val);
	return n
}
const i1e = {
	D: cw,
	DD: eB,
	DDD: tB,
	DDDD: nB,
	t: rB,
	tt: iB,
	ttt: oB,
	tttt: aB,
	T: sB,
	TT: uB,
	TTT: lB,
	TTTT: cB,
	f: fB,
	ff: pB,
	fff: vB,
	ffff: mB,
	F: dB,
	FF: hB,
	FFF: gB,
	FFFF: yB
};
class Ar {
	static create(t, n = {}) {
		return new Ar(t, n)
	}
	static parseFormat(t) {
		let n = null,
			r = "",
			i = !1;
		const o = [];
		for (let a = 0; a < t.length; a++) {
			const s = t.charAt(a);
			s === "'" ? (r.length > 0 && o.push({
				literal: i || /^\s+$/.test(r),
				val: r
			}), n = null, r = "", i = !i) : i || s === n ? r += s : (r.length > 0 && o.push({
				literal: /^\s+$/.test(r),
				val: r
			}), r = s, n = s)
		}
		return r.length > 0 && o.push({
			literal: i || /^\s+$/.test(r),
			val: r
		}), o
	}
	static macroTokenToFormatOpts(t) {
		return i1e[t]
	}
	constructor(t, n) {
		this.opts = n, this.loc = t, this.systemLoc = null
	}
	formatWithSystemDefault(t, n) {
		return this.systemLoc === null && (this.systemLoc = this.loc.redefaultToSystem()), this.systemLoc.dtFormatter(t, {
			...this.opts,
			...n
		}).format()
	}
	formatDateTime(t, n = {}) {
		return this.loc.dtFormatter(t, {
			...this.opts,
			...n
		}).format()
	}
	formatDateTimeParts(t, n = {}) {
		return this.loc.dtFormatter(t, {
			...this.opts,
			...n
		}).formatToParts()
	}
	formatInterval(t, n = {}) {
		return this.loc.dtFormatter(t.start, {
			...this.opts,
			...n
		}).dtf.formatRange(t.start.toJSDate(), t.end.toJSDate())
	}
	resolvedOptions(t, n = {}) {
		return this.loc.dtFormatter(t, {
			...this.opts,
			...n
		}).resolvedOptions()
	}
	num(t, n = 0) {
		if (this.opts.forceSimple) return An(t, n);
		const r = {
			...this.opts
		};
		return n > 0 && (r.padTo = n), this.loc.numberFormatter(r).format(t)
	}
	formatDateTimeFromString(t, n) {
		const r = this.loc.listingMode() === "en",
			i = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory",
			o = (g, m) => this.loc.extract(t, g, m),
			a = g => t.isOffsetFixed && t.offset === 0 && g.allowZ ? "Z" : t.isValid ? t.zone.formatOffset(t.ts, g.format) : "",
			s = () => r ? Qve(t) : o({
				hour: "numeric",
				hourCycle: "h12"
			}, "dayperiod"),
			u = (g, m) => r ? t1e(t, g) : o(m ? {
				month: g
			} : {
				month: g,
				day: "numeric"
			}, "month"),
			l = (g, m) => r ? e1e(t, g) : o(m ? {
				weekday: g
			} : {
				weekday: g,
				month: "long",
				day: "numeric"
			}, "weekday"),
			c = g => {
				const m = Ar.macroTokenToFormatOpts(g);
				return m ? this.formatWithSystemDefault(t, m) : g
			},
			d = g => r ? n1e(t, g) : o({
				era: g
			}, "era"),
			p = g => {
				switch (g) {
					case "S":
						return this.num(t.millisecond);
					case "u":
					case "SSS":
						return this.num(t.millisecond, 3);
					case "s":
						return this.num(t.second);
					case "ss":
						return this.num(t.second, 2);
					case "uu":
						return this.num(Math.floor(t.millisecond / 10), 2);
					case "uuu":
						return this.num(Math.floor(t.millisecond / 100));
					case "m":
						return this.num(t.minute);
					case "mm":
						return this.num(t.minute, 2);
					case "h":
						return this.num(t.hour % 12 === 0 ? 12 : t.hour % 12);
					case "hh":
						return this.num(t.hour % 12 === 0 ? 12 : t.hour % 12, 2);
					case "H":
						return this.num(t.hour);
					case "HH":
						return this.num(t.hour, 2);
					case "Z":
						return a({
							format: "narrow",
							allowZ: this.opts.allowZ
						});
					case "ZZ":
						return a({
							format: "short",
							allowZ: this.opts.allowZ
						});
					case "ZZZ":
						return a({
							format: "techie",
							allowZ: this.opts.allowZ
						});
					case "ZZZZ":
						return t.zone.offsetName(t.ts, {
							format: "short",
							locale: this.loc.locale
						});
					case "ZZZZZ":
						return t.zone.offsetName(t.ts, {
							format: "long",
							locale: this.loc.locale
						});
					case "z":
						return t.zoneName;
					case "a":
						return s();
					case "d":
						return i ? o({
							day: "numeric"
						}, "day") : this.num(t.day);
					case "dd":
						return i ? o({
							day: "2-digit"
						}, "day") : this.num(t.day, 2);
					case "c":
						return this.num(t.weekday);
					case "ccc":
						return l("short", !0);
					case "cccc":
						return l("long", !0);
					case "ccccc":
						return l("narrow", !0);
					case "E":
						return this.num(t.weekday);
					case "EEE":
						return l("short", !1);
					case "EEEE":
						return l("long", !1);
					case "EEEEE":
						return l("narrow", !1);
					case "L":
						return i ? o({
							month: "numeric",
							day: "numeric"
						}, "month") : this.num(t.month);
					case "LL":
						return i ? o({
							month: "2-digit",
							day: "numeric"
						}, "month") : this.num(t.month, 2);
					case "LLL":
						return u("short", !0);
					case "LLLL":
						return u("long", !0);
					case "LLLLL":
						return u("narrow", !0);
					case "M":
						return i ? o({
							month: "numeric"
						}, "month") : this.num(t.month);
					case "MM":
						return i ? o({
							month: "2-digit"
						}, "month") : this.num(t.month, 2);
					case "MMM":
						return u("short", !1);
					case "MMMM":
						return u("long", !1);
					case "MMMMM":
						return u("narrow", !1);
					case "y":
						return i ? o({
							year: "numeric"
						}, "year") : this.num(t.year);
					case "yy":
						return i ? o({
							year: "2-digit"
						}, "year") : this.num(t.year.toString().slice(-2), 2);
					case "yyyy":
						return i ? o({
							year: "numeric"
						}, "year") : this.num(t.year, 4);
					case "yyyyyy":
						return i ? o({
							year: "numeric"
						}, "year") : this.num(t.year, 6);
					case "G":
						return d("short");
					case "GG":
						return d("long");
					case "GGGGG":
						return d("narrow");
					case "kk":
						return this.num(t.weekYear.toString().slice(-2), 2);
					case "kkkk":
						return this.num(t.weekYear, 4);
					case "W":
						return this.num(t.weekNumber);
					case "WW":
						return this.num(t.weekNumber, 2);
					case "o":
						return this.num(t.ordinal);
					case "ooo":
						return this.num(t.ordinal, 3);
					case "q":
						return this.num(t.quarter);
					case "qq":
						return this.num(t.quarter, 2);
					case "X":
						return this.num(Math.floor(t.ts / 1e3));
					case "x":
						return this.num(t.ts);
					default:
						return c(g)
				}
			};
		return zM(Ar.parseFormat(n), p)
	}
	formatDurationFromString(t, n) {
		const r = u => {
				switch (u[0]) {
					case "S":
						return "millisecond";
					case "s":
						return "second";
					case "m":
						return "minute";
					case "h":
						return "hour";
					case "d":
						return "day";
					case "w":
						return "week";
					case "M":
						return "month";
					case "y":
						return "year";
					default:
						return null
				}
			},
			i = u => l => {
				const c = r(l);
				return c ? this.num(u.get(c), l.length) : l
			},
			o = Ar.parseFormat(n),
			a = o.reduce((u, {
				literal: l,
				val: c
			}) => l ? u : u.concat(c), []),
			s = t.shiftTo(...a.map(r).filter(u => u));
		return zM(o, i(s))
	}
}
class Ko {
	constructor(t, n) {
		this.reason = t, this.explanation = n
	}
	toMessage() {
		return this.explanation ? "".concat(this.reason, ": ").concat(this.explanation) : this.reason
	}
}
const IB = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;

function vh(...e) {
	const t = e.reduce((n, r) => n + r.source, "");
	return RegExp("^".concat(t, "$"))
}

function gh(...e) {
	return t => e.reduce(([n, r, i], o) => {
		const [a, s, u] = o(t, i);
		return [{
			...n,
			...a
		}, s || r, u]
	}, [{}, null, 1]).slice(0, 2)
}

function mh(e, ...t) {
	if (e == null) return [null, null];
	for (const [n, r] of t) {
		const i = n.exec(e);
		if (i) return r(i)
	}
	return [null, null]
}

function kB(...e) {
	return (t, n) => {
		const r = {};
		let i;
		for (i = 0; i < e.length; i++) r[e[i]] = Mu(t[n + i]);
		return [r, null, n + i]
	}
}
const AB = /(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,
	o1e = "(?:".concat(AB.source, "?(?:\\[(").concat(IB.source, ")\\])?)?"),
	O7 = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,
	MB = RegExp("".concat(O7.source).concat(o1e)),
	T7 = RegExp("(?:T".concat(MB.source, ")?")),
	a1e = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,
	s1e = /(\d{4})-?W(\d\d)(?:-?(\d))?/,
	u1e = /(\d{4})-?(\d{3})/,
	l1e = kB("weekYear", "weekNumber", "weekDay"),
	c1e = kB("year", "ordinal"),
	f1e = /(\d{4})-(\d\d)-(\d\d)/,
	PB = RegExp("".concat(O7.source, " ?(?:").concat(AB.source, "|(").concat(IB.source, "))?")),
	d1e = RegExp("(?: ".concat(PB.source, ")?"));

function ap(e, t, n) {
	const r = e[t];
	return ht(r) ? n : Mu(r)
}

function p1e(e, t) {
	return [{
		year: ap(e, t),
		month: ap(e, t + 1, 1),
		day: ap(e, t + 2, 1)
	}, null, t + 3]
}

function yh(e, t) {
	return [{
		hours: ap(e, t, 0),
		minutes: ap(e, t + 1, 0),
		seconds: ap(e, t + 2, 0),
		milliseconds: x7(e[t + 3])
	}, null, t + 4]
}

function F1(e, t) {
	const n = !e[t] && !e[t + 1],
		r = cb(e[t + 1], e[t + 2]),
		i = n ? null : zr.instance(r);
	return [{}, i, t + 3]
}

function j1(e, t) {
	const n = e[t] ? js.create(e[t]) : null;
	return [{}, n, t + 1]
}
const h1e = RegExp("^T?".concat(O7.source, "$")),
	v1e = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;

function g1e(e) {
	const [t, n, r, i, o, a, s, u, l] = e, c = t[0] === "-", d = u && u[0] === "-", p = (g, m = !1) => g !== void 0 && (m || g && c) ? -g : g;
	return [{
		years: p(ac(n)),
		months: p(ac(r)),
		weeks: p(ac(i)),
		days: p(ac(o)),
		hours: p(ac(a)),
		minutes: p(ac(s)),
		seconds: p(ac(u), u === "-0"),
		milliseconds: p(x7(l), d)
	}]
}
const m1e = {
	GMT: 0,
	EDT: -4 * 60,
	EST: -5 * 60,
	CDT: -5 * 60,
	CST: -6 * 60,
	MDT: -6 * 60,
	MST: -7 * 60,
	PDT: -7 * 60,
	PST: -8 * 60
};

function R7(e, t, n, r, i, o, a) {
	const s = {
		year: t.length === 2 ? z5(Mu(t)) : Mu(t),
		month: SB.indexOf(n) + 1,
		day: Mu(r),
		hour: Mu(i),
		minute: Mu(o)
	};
	return a && (s.second = Mu(a)), e && (s.weekday = e.length > 3 ? EB.indexOf(e) + 1 : CB.indexOf(e) + 1), s
}
const y1e = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;

function w1e(e) {
	const [, t, n, r, i, o, a, s, u, l, c, d] = e, p = R7(t, i, r, n, o, a, s);
	let g;
	return u ? g = m1e[u] : l ? g = 0 : g = cb(c, d), [p, new zr(g)]
}

function _1e(e) {
	return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim()
}
const b1e = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,
	S1e = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,
	x1e = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;

function GM(e) {
	const [, t, n, r, i, o, a, s] = e;
	return [R7(t, i, r, n, o, a, s), zr.utcInstance]
}

function E1e(e) {
	const [, t, n, r, i, o, a, s] = e;
	return [R7(t, s, n, r, i, o, a), zr.utcInstance]
}
const C1e = vh(a1e, T7),
	O1e = vh(s1e, T7),
	T1e = vh(u1e, T7),
	R1e = vh(MB),
	LB = gh(p1e, yh, F1, j1),
	I1e = gh(l1e, yh, F1, j1),
	k1e = gh(c1e, yh, F1, j1),
	A1e = gh(yh, F1, j1);

function M1e(e) {
	return mh(e, [C1e, LB], [O1e, I1e], [T1e, k1e], [R1e, A1e])
}

function P1e(e) {
	return mh(_1e(e), [y1e, w1e])
}

function L1e(e) {
	return mh(e, [b1e, GM], [S1e, GM], [x1e, E1e])
}

function N1e(e) {
	return mh(e, [v1e, g1e])
}
const D1e = gh(yh);

function $1e(e) {
	return mh(e, [h1e, D1e])
}
const F1e = vh(f1e, d1e),
	j1e = vh(PB),
	U1e = gh(yh, F1, j1);

function H1e(e) {
	return mh(e, [F1e, LB], [j1e, U1e])
}
const V1e = "Invalid Duration",
	NB = {
		weeks: {
			days: 7,
			hours: 7 * 24,
			minutes: 7 * 24 * 60,
			seconds: 7 * 24 * 60 * 60,
			milliseconds: 7 * 24 * 60 * 60 * 1e3
		},
		days: {
			hours: 24,
			minutes: 24 * 60,
			seconds: 24 * 60 * 60,
			milliseconds: 24 * 60 * 60 * 1e3
		},
		hours: {
			minutes: 60,
			seconds: 60 * 60,
			milliseconds: 60 * 60 * 1e3
		},
		minutes: {
			seconds: 60,
			milliseconds: 60 * 1e3
		},
		seconds: {
			milliseconds: 1e3
		}
	},
	B1e = {
		years: {
			quarters: 4,
			months: 12,
			weeks: 52,
			days: 365,
			hours: 365 * 24,
			minutes: 365 * 24 * 60,
			seconds: 365 * 24 * 60 * 60,
			milliseconds: 365 * 24 * 60 * 60 * 1e3
		},
		quarters: {
			months: 3,
			weeks: 13,
			days: 91,
			hours: 91 * 24,
			minutes: 91 * 24 * 60,
			seconds: 91 * 24 * 60 * 60,
			milliseconds: 91 * 24 * 60 * 60 * 1e3
		},
		months: {
			weeks: 4,
			days: 30,
			hours: 30 * 24,
			minutes: 30 * 24 * 60,
			seconds: 30 * 24 * 60 * 60,
			milliseconds: 30 * 24 * 60 * 60 * 1e3
		},
		...NB
	},
	so = 146097 / 400,
	cd = 146097 / 4800,
	z1e = {
		years: {
			quarters: 4,
			months: 12,
			weeks: so / 7,
			days: so,
			hours: so * 24,
			minutes: so * 24 * 60,
			seconds: so * 24 * 60 * 60,
			milliseconds: so * 24 * 60 * 60 * 1e3
		},
		quarters: {
			months: 3,
			weeks: so / 28,
			days: so / 4,
			hours: so * 24 / 4,
			minutes: so * 24 * 60 / 4,
			seconds: so * 24 * 60 * 60 / 4,
			milliseconds: so * 24 * 60 * 60 * 1e3 / 4
		},
		months: {
			weeks: cd / 7,
			days: cd,
			hours: cd * 24,
			minutes: cd * 24 * 60,
			seconds: cd * 24 * 60 * 60,
			milliseconds: cd * 24 * 60 * 60 * 1e3
		},
		...NB
	},
	hc = ["years", "quarters", "months", "weeks", "days", "hours", "minutes", "seconds", "milliseconds"],
	G1e = hc.slice(0).reverse();

function _u(e, t, n = !1) {
	const r = {
		values: n ? t.values : {
			...e.values,
			...t.values || {}
		},
		loc: e.loc.clone(t.loc),
		conversionAccuracy: t.conversionAccuracy || e.conversionAccuracy,
		matrix: t.matrix || e.matrix
	};
	return new yt(r)
}

function W1e(e) {
	return e < 0 ? Math.floor(e) : Math.ceil(e)
}

function DB(e, t, n, r, i) {
	const o = e[i][n],
		a = t[n] / o,
		s = Math.sign(a) === Math.sign(r[i]),
		u = !s && r[i] !== 0 && Math.abs(a) <= 1 ? W1e(a) : Math.trunc(a);
	r[i] += u, t[n] -= u * o
}

function K1e(e, t) {
	G1e.reduce((n, r) => ht(t[r]) ? n : (n && DB(e, t, n, t, r), r), null)
}

function Z1e(e) {
	const t = {};
	for (const [n, r] of Object.entries(e)) r !== 0 && (t[n] = r);
	return t
}
class yt {
	constructor(t) {
		const n = t.conversionAccuracy === "longterm" || !1;
		let r = n ? z1e : B1e;
		t.matrix && (r = t.matrix), this.values = t.values, this.loc = t.loc || Qt.create(), this.conversionAccuracy = n ? "longterm" : "casual", this.invalid = t.invalid || null, this.matrix = r, this.isLuxonDuration = !0
	}
	static fromMillis(t, n) {
		return yt.fromObject({
			milliseconds: t
		}, n)
	}
	static fromObject(t, n = {}) {
		if (t == null || typeof t != "object") throw new go("Duration.fromObject: argument expected to be an object, got ".concat(t === null ? "null" : typeof t));
		return new yt({
			values: pw(t, yt.normalizeUnit),
			loc: Qt.fromObject(n),
			conversionAccuracy: n.conversionAccuracy,
			matrix: n.matrix
		})
	}
	static fromDurationLike(t) {
		if (Hc(t)) return yt.fromMillis(t);
		if (yt.isDuration(t)) return t;
		if (typeof t == "object") return yt.fromObject(t);
		throw new go("Unknown duration argument ".concat(t, " of type ").concat(typeof t))
	}
	static fromISO(t, n) {
		const [r] = N1e(t);
		return r ? yt.fromObject(r, n) : yt.invalid("unparsable", 'the input "'.concat(t, "\" can't be parsed as ISO 8601"))
	}
	static fromISOTime(t, n) {
		const [r] = $1e(t);
		return r ? yt.fromObject(r, n) : yt.invalid("unparsable", 'the input "'.concat(t, "\" can't be parsed as ISO 8601"))
	}
	static invalid(t, n = null) {
		if (!t) throw new go("need to specify a reason the Duration is invalid");
		const r = t instanceof Ko ? t : new Ko(t, n);
		if (kn.throwOnInvalid) throw new Sve(r);
		return new yt({
			invalid: r
		})
	}
	static normalizeUnit(t) {
		const n = {
			year: "years",
			years: "years",
			quarter: "quarters",
			quarters: "quarters",
			month: "months",
			months: "months",
			week: "weeks",
			weeks: "weeks",
			day: "days",
			days: "days",
			hour: "hours",
			hours: "hours",
			minute: "minutes",
			minutes: "minutes",
			second: "seconds",
			seconds: "seconds",
			millisecond: "milliseconds",
			milliseconds: "milliseconds"
		} [t && t.toLowerCase()];
		if (!n) throw new QV(t);
		return n
	}
	static isDuration(t) {
		return t && t.isLuxonDuration || !1
	}
	get locale() {
		return this.isValid ? this.loc.locale : null
	}
	get numberingSystem() {
		return this.isValid ? this.loc.numberingSystem : null
	}
	toFormat(t, n = {}) {
		const r = {
			...n,
			floor: n.round !== !1 && n.floor !== !1
		};
		return this.isValid ? Ar.create(this.loc, r).formatDurationFromString(this, t) : V1e
	}
	toHuman(t = {}) {
		const n = hc.map(r => {
			const i = this.values[r];
			return ht(i) ? null : this.loc.numberFormatter({
				style: "unit",
				unitDisplay: "long",
				...t,
				unit: r.slice(0, -1)
			}).format(i)
		}).filter(r => r);
		return this.loc.listFormatter({
			type: "conjunction",
			style: t.listStyle || "narrow",
			...t
		}).format(n)
	}
	toObject() {
		return this.isValid ? {
			...this.values
		} : {}
	}
	toISO() {
		if (!this.isValid) return null;
		let t = "P";
		return this.years !== 0 && (t += this.years + "Y"), (this.months !== 0 || this.quarters !== 0) && (t += this.months + this.quarters * 3 + "M"), this.weeks !== 0 && (t += this.weeks + "W"), this.days !== 0 && (t += this.days + "D"), (this.hours !== 0 || this.minutes !== 0 || this.seconds !== 0 || this.milliseconds !== 0) && (t += "T"), this.hours !== 0 && (t += this.hours + "H"), this.minutes !== 0 && (t += this.minutes + "M"), (this.seconds !== 0 || this.milliseconds !== 0) && (t += E7(this.seconds + this.milliseconds / 1e3, 3) + "S"), t === "P" && (t += "T0S"), t
	}
	toISOTime(t = {}) {
		if (!this.isValid) return null;
		const n = this.toMillis();
		if (n < 0 || n >= 864e5) return null;
		t = {
			suppressMilliseconds: !1,
			suppressSeconds: !1,
			includePrefix: !1,
			format: "extended",
			...t
		};
		const r = this.shiftTo("hours", "minutes", "seconds", "milliseconds");
		let i = t.format === "basic" ? "hhmm" : "hh:mm";
		(!t.suppressSeconds || r.seconds !== 0 || r.milliseconds !== 0) && (i += t.format === "basic" ? "ss" : ":ss", (!t.suppressMilliseconds || r.milliseconds !== 0) && (i += ".SSS"));
		let o = r.toFormat(i);
		return t.includePrefix && (o = "T" + o), o
	}
	toJSON() {
		return this.toISO()
	}
	toString() {
		return this.toISO()
	}
	toMillis() {
		return this.as("milliseconds")
	}
	valueOf() {
		return this.toMillis()
	}
	plus(t) {
		if (!this.isValid) return this;
		const n = yt.fromDurationLike(t),
			r = {};
		for (const i of hc)(Np(n.values, i) || Np(this.values, i)) && (r[i] = n.get(i) + this.get(i));
		return _u(this, {
			values: r
		}, !0)
	}
	minus(t) {
		if (!this.isValid) return this;
		const n = yt.fromDurationLike(t);
		return this.plus(n.negate())
	}
	mapUnits(t) {
		if (!this.isValid) return this;
		const n = {};
		for (const r of Object.keys(this.values)) n[r] = bB(t(this.values[r], r));
		return _u(this, {
			values: n
		}, !0)
	}
	get(t) {
		return this[yt.normalizeUnit(t)]
	}
	set(t) {
		if (!this.isValid) return this;
		const n = {
			...this.values,
			...pw(t, yt.normalizeUnit)
		};
		return _u(this, {
			values: n
		})
	}
	reconfigure({
		locale: t,
		numberingSystem: n,
		conversionAccuracy: r,
		matrix: i
	} = {}) {
		const a = {
			loc: this.loc.clone({
				locale: t,
				numberingSystem: n
			}),
			matrix: i,
			conversionAccuracy: r
		};
		return _u(this, a)
	}
	as(t) {
		return this.isValid ? this.shiftTo(t).get(t) : NaN
	}
	normalize() {
		if (!this.isValid) return this;
		const t = this.toObject();
		return K1e(this.matrix, t), _u(this, {
			values: t
		}, !0)
	}
	rescale() {
		if (!this.isValid) return this;
		const t = Z1e(this.normalize().shiftToAll().toObject());
		return _u(this, {
			values: t
		}, !0)
	}
	shiftTo(...t) {
		if (!this.isValid) return this;
		if (t.length === 0) return this;
		t = t.map(a => yt.normalizeUnit(a));
		const n = {},
			r = {},
			i = this.toObject();
		let o;
		for (const a of hc)
			if (t.indexOf(a) >= 0) {
				o = a;
				let s = 0;
				for (const l in r) s += this.matrix[l][a] * r[l], r[l] = 0;
				Hc(i[a]) && (s += i[a]);
				const u = Math.trunc(s);
				n[a] = u, r[a] = (s * 1e3 - u * 1e3) / 1e3;
				for (const l in i) hc.indexOf(l) > hc.indexOf(a) && DB(this.matrix, i, l, n, a)
			} else Hc(i[a]) && (r[a] = i[a]);
		for (const a in r) r[a] !== 0 && (n[o] += a === o ? r[a] : r[a] / this.matrix[o][a]);
		return _u(this, {
			values: n
		}, !0).normalize()
	}
	shiftToAll() {
		return this.isValid ? this.shiftTo("years", "months", "weeks", "days", "hours", "minutes", "seconds", "milliseconds") : this
	}
	negate() {
		if (!this.isValid) return this;
		const t = {};
		for (const n of Object.keys(this.values)) t[n] = this.values[n] === 0 ? 0 : -this.values[n];
		return _u(this, {
			values: t
		}, !0)
	}
	get years() {
		return this.isValid ? this.values.years || 0 : NaN
	}
	get quarters() {
		return this.isValid ? this.values.quarters || 0 : NaN
	}
	get months() {
		return this.isValid ? this.values.months || 0 : NaN
	}
	get weeks() {
		return this.isValid ? this.values.weeks || 0 : NaN
	}
	get days() {
		return this.isValid ? this.values.days || 0 : NaN
	}
	get hours() {
		return this.isValid ? this.values.hours || 0 : NaN
	}
	get minutes() {
		return this.isValid ? this.values.minutes || 0 : NaN
	}
	get seconds() {
		return this.isValid ? this.values.seconds || 0 : NaN
	}
	get milliseconds() {
		return this.isValid ? this.values.milliseconds || 0 : NaN
	}
	get isValid() {
		return this.invalid === null
	}
	get invalidReason() {
		return this.invalid ? this.invalid.reason : null
	}
	get invalidExplanation() {
		return this.invalid ? this.invalid.explanation : null
	}
	equals(t) {
		if (!this.isValid || !t.isValid || !this.loc.equals(t.loc)) return !1;

		function n(r, i) {
			return r === void 0 || r === 0 ? i === void 0 || i === 0 : r === i
		}
		for (const r of hc)
			if (!n(this.values[r], t.values[r])) return !1;
		return !0
	}
}
const fd = "Invalid Interval";

function q1e(e, t) {
	return !e || !e.isValid ? mn.invalid("missing or invalid start") : !t || !t.isValid ? mn.invalid("missing or invalid end") : t < e ? mn.invalid("end before start", "The end of an interval must be after its start, but you had start=".concat(e.toISO(), " and end=").concat(t.toISO())) : null
}
class mn {
	constructor(t) {
		this.s = t.start, this.e = t.end, this.invalid = t.invalid || null, this.isLuxonInterval = !0
	}
	static invalid(t, n = null) {
		if (!t) throw new go("need to specify a reason the Interval is invalid");
		const r = t instanceof Ko ? t : new Ko(t, n);
		if (kn.throwOnInvalid) throw new bve(r);
		return new mn({
			invalid: r
		})
	}
	static fromDateTimes(t, n) {
		const r = C0(t),
			i = C0(n),
			o = q1e(r, i);
		return o == null ? new mn({
			start: r,
			end: i
		}) : o
	}
	static after(t, n) {
		const r = yt.fromDurationLike(n),
			i = C0(t);
		return mn.fromDateTimes(i, i.plus(r))
	}
	static before(t, n) {
		const r = yt.fromDurationLike(n),
			i = C0(t);
		return mn.fromDateTimes(i.minus(r), i)
	}
	static fromISO(t, n) {
		const [r, i] = (t || "").split("/", 2);
		if (r && i) {
			let o, a;
			try {
				o = Xe.fromISO(r, n), a = o.isValid
			} catch (l) {
				a = !1
			}
			let s, u;
			try {
				s = Xe.fromISO(i, n), u = s.isValid
			} catch (l) {
				u = !1
			}
			if (a && u) return mn.fromDateTimes(o, s);
			if (a) {
				const l = yt.fromISO(i, n);
				if (l.isValid) return mn.after(o, l)
			} else if (u) {
				const l = yt.fromISO(r, n);
				if (l.isValid) return mn.before(s, l)
			}
		}
		return mn.invalid("unparsable", 'the input "'.concat(t, "\" can't be parsed as ISO 8601"))
	}
	static isInterval(t) {
		return t && t.isLuxonInterval || !1
	}
	get start() {
		return this.isValid ? this.s : null
	}
	get end() {
		return this.isValid ? this.e : null
	}
	get isValid() {
		return this.invalidReason === null
	}
	get invalidReason() {
		return this.invalid ? this.invalid.reason : null
	}
	get invalidExplanation() {
		return this.invalid ? this.invalid.explanation : null
	}
	length(t = "milliseconds") {
		return this.isValid ? this.toDuration(t).get(t) : NaN
	}
	count(t = "milliseconds") {
		if (!this.isValid) return NaN;
		const n = this.start.startOf(t),
			r = this.end.startOf(t);
		return Math.floor(r.diff(n, t).get(t)) + (r.valueOf() !== this.end.valueOf())
	}
	hasSame(t) {
		return this.isValid ? this.isEmpty() || this.e.minus(1).hasSame(this.s, t) : !1
	}
	isEmpty() {
		return this.s.valueOf() === this.e.valueOf()
	}
	isAfter(t) {
		return this.isValid ? this.s > t : !1
	}
	isBefore(t) {
		return this.isValid ? this.e <= t : !1
	}
	contains(t) {
		return this.isValid ? this.s <= t && this.e > t : !1
	}
	set({
		start: t,
		end: n
	} = {}) {
		return this.isValid ? mn.fromDateTimes(t || this.s, n || this.e) : this
	}
	splitAt(...t) {
		if (!this.isValid) return [];
		const n = t.map(C0).filter(a => this.contains(a)).sort(),
			r = [];
		let {
			s: i
		} = this, o = 0;
		for (; i < this.e;) {
			const a = n[o] || this.e,
				s = +a > +this.e ? this.e : a;
			r.push(mn.fromDateTimes(i, s)), i = s, o += 1
		}
		return r
	}
	splitBy(t) {
		const n = yt.fromDurationLike(t);
		if (!this.isValid || !n.isValid || n.as("milliseconds") === 0) return [];
		let {
			s: r
		} = this, i = 1, o;
		const a = [];
		for (; r < this.e;) {
			const s = this.start.plus(n.mapUnits(u => u * i));
			o = +s > +this.e ? this.e : s, a.push(mn.fromDateTimes(r, o)), r = o, i += 1
		}
		return a
	}
	divideEqually(t) {
		return this.isValid ? this.splitBy(this.length() / t).slice(0, t) : []
	}
	overlaps(t) {
		return this.e > t.s && this.s < t.e
	}
	abutsStart(t) {
		return this.isValid ? +this.e == +t.s : !1
	}
	abutsEnd(t) {
		return this.isValid ? +t.e == +this.s : !1
	}
	engulfs(t) {
		return this.isValid ? this.s <= t.s && this.e >= t.e : !1
	}
	equals(t) {
		return !this.isValid || !t.isValid ? !1 : this.s.equals(t.s) && this.e.equals(t.e)
	}
	intersection(t) {
		if (!this.isValid) return this;
		const n = this.s > t.s ? this.s : t.s,
			r = this.e < t.e ? this.e : t.e;
		return n >= r ? null : mn.fromDateTimes(n, r)
	}
	union(t) {
		if (!this.isValid) return this;
		const n = this.s < t.s ? this.s : t.s,
			r = this.e > t.e ? this.e : t.e;
		return mn.fromDateTimes(n, r)
	}
	static merge(t) {
		const [n, r] = t.sort((i, o) => i.s - o.s).reduce(([i, o], a) => o ? o.overlaps(a) || o.abutsStart(a) ? [i, o.union(a)] : [i.concat([o]), a] : [i, a], [
			[], null
		]);
		return r && n.push(r), n
	}
	static xor(t) {
		let n = null,
			r = 0;
		const i = [],
			o = t.map(u => [{
				time: u.s,
				type: "s"
			}, {
				time: u.e,
				type: "e"
			}]),
			a = Array.prototype.concat(...o),
			s = a.sort((u, l) => u.time - l.time);
		for (const u of s) r += u.type === "s" ? 1 : -1, r === 1 ? n = u.time : (n && +n != +u.time && i.push(mn.fromDateTimes(n, u.time)), n = null);
		return mn.merge(i)
	}
	difference(...t) {
		return mn.xor([this].concat(t)).map(n => this.intersection(n)).filter(n => n && !n.isEmpty())
	}
	toString() {
		return this.isValid ? "[".concat(this.s.toISO(), " – ").concat(this.e.toISO(), ")") : fd
	}
	toLocaleString(t = cw, n = {}) {
		return this.isValid ? Ar.create(this.s.loc.clone(n), t).formatInterval(this) : fd
	}
	toISO(t) {
		return this.isValid ? "".concat(this.s.toISO(t), "/").concat(this.e.toISO(t)) : fd
	}
	toISODate() {
		return this.isValid ? "".concat(this.s.toISODate(), "/").concat(this.e.toISODate()) : fd
	}
	toISOTime(t) {
		return this.isValid ? "".concat(this.s.toISOTime(t), "/").concat(this.e.toISOTime(t)) : fd
	}
	toFormat(t, {
		separator: n = " – "
	} = {}) {
		return this.isValid ? "".concat(this.s.toFormat(t)).concat(n).concat(this.e.toFormat(t)) : fd
	}
	toDuration(t, n) {
		return this.isValid ? this.e.diff(this.s, t, n) : yt.invalid(this.invalidReason)
	}
	mapEndpoints(t) {
		return mn.fromDateTimes(t(this.s), t(this.e))
	}
}
class Nm {
	static hasDST(t = kn.defaultZone) {
		const n = Xe.now().setZone(t).set({
			month: 12
		});
		return !t.isUniversal && n.offset !== n.set({
			month: 6
		}).offset
	}
	static isValidIANAZone(t) {
		return js.isValidZone(t)
	}
	static normalizeZone(t) {
		return $u(t, kn.defaultZone)
	}
	static months(t = "long", {
		locale: n = null,
		numberingSystem: r = null,
		locObj: i = null,
		outputCalendar: o = "gregory"
	} = {}) {
		return (i || Qt.create(n, r, o)).months(t)
	}
	static monthsFormat(t = "long", {
		locale: n = null,
		numberingSystem: r = null,
		locObj: i = null,
		outputCalendar: o = "gregory"
	} = {}) {
		return (i || Qt.create(n, r, o)).months(t, !0)
	}
	static weekdays(t = "long", {
		locale: n = null,
		numberingSystem: r = null,
		locObj: i = null
	} = {}) {
		return (i || Qt.create(n, r, null)).weekdays(t)
	}
	static weekdaysFormat(t = "long", {
		locale: n = null,
		numberingSystem: r = null,
		locObj: i = null
	} = {}) {
		return (i || Qt.create(n, r, null)).weekdays(t, !0)
	}
	static meridiems({
		locale: t = null
	} = {}) {
		return Qt.create(t).meridiems()
	}
	static eras(t = "short", {
		locale: n = null
	} = {}) {
		return Qt.create(n, null, "gregory").eras(t)
	}
	static features() {
		return {
			relative: wB()
		}
	}
}

function WM(e, t) {
	const n = i => i.toUTC(0, {
			keepLocalTime: !0
		}).startOf("day").valueOf(),
		r = n(t) - n(e);
	return Math.floor(yt.fromMillis(r).as("days"))
}

function Y1e(e, t, n) {
	const r = [
			["years", (u, l) => l.year - u.year],
			["quarters", (u, l) => l.quarter - u.quarter + (l.year - u.year) * 4],
			["months", (u, l) => l.month - u.month + (l.year - u.year) * 12],
			["weeks", (u, l) => {
				const c = WM(u, l);
				return (c - c % 7) / 7
			}],
			["days", WM]
		],
		i = {},
		o = e;
	let a, s;
	for (const [u, l] of r) n.indexOf(u) >= 0 && (a = u, i[u] = l(e, t), s = o.plus(i), s > t ? (i[u]--, e = o.plus(i)) : e = s);
	return [e, i, s, a]
}

function X1e(e, t, n, r) {
	let [i, o, a, s] = Y1e(e, t, n);
	const u = t - i,
		l = n.filter(d => ["hours", "minutes", "seconds", "milliseconds"].indexOf(d) >= 0);
	l.length === 0 && (a < t && (a = i.plus({
		[s]: 1
	})), a !== i && (o[s] = (o[s] || 0) + u / (a - i)));
	const c = yt.fromObject(o, r);
	return l.length > 0 ? yt.fromMillis(u, r).shiftTo(...l).plus(c) : c
}
const I7 = {
		arab: "[٠-٩]",
		arabext: "[۰-۹]",
		bali: "[᭐-᭙]",
		beng: "[০-৯]",
		deva: "[०-९]",
		fullwide: "[０-９]",
		gujr: "[૦-૯]",
		hanidec: "[〇|一|二|三|四|五|六|七|八|九]",
		khmr: "[០-៩]",
		knda: "[೦-೯]",
		laoo: "[໐-໙]",
		limb: "[᥆-᥏]",
		mlym: "[൦-൯]",
		mong: "[᠐-᠙]",
		mymr: "[၀-၉]",
		orya: "[୦-୯]",
		tamldec: "[௦-௯]",
		telu: "[౦-౯]",
		thai: "[๐-๙]",
		tibt: "[༠-༩]",
		latn: "\\d"
	},
	KM = {
		arab: [1632, 1641],
		arabext: [1776, 1785],
		bali: [6992, 7001],
		beng: [2534, 2543],
		deva: [2406, 2415],
		fullwide: [65296, 65303],
		gujr: [2790, 2799],
		khmr: [6112, 6121],
		knda: [3302, 3311],
		laoo: [3792, 3801],
		limb: [6470, 6479],
		mlym: [3430, 3439],
		mong: [6160, 6169],
		mymr: [4160, 4169],
		orya: [2918, 2927],
		tamldec: [3046, 3055],
		telu: [3174, 3183],
		thai: [3664, 3673],
		tibt: [3872, 3881]
	},
	J1e = I7.hanidec.replace(/[\[|\]]/g, "").split("");

function Q1e(e) {
	let t = parseInt(e, 10);
	if (isNaN(t)) {
		t = "";
		for (let n = 0; n < e.length; n++) {
			const r = e.charCodeAt(n);
			if (e[n].search(I7.hanidec) !== -1) t += J1e.indexOf(e[n]);
			else
				for (const i in KM) {
					const [o, a] = KM[i];
					r >= o && r <= a && (t += r - o)
				}
		}
		return parseInt(t, 10)
	} else return t
}

function No({
	numberingSystem: e
}, t = "") {
	return new RegExp("".concat(I7[e || "latn"]).concat(t))
}
const ege = "missing Intl.DateTimeFormat.formatToParts support";

function Tt(e, t = n => n) {
	return {
		regex: e,
		deser: ([n]) => t(Q1e(n))
	}
}
const tge = " ",
	$B = "[ ".concat(tge, "]"),
	FB = new RegExp($B, "g");

function nge(e) {
	return e.replace(/\./g, "\\.?").replace(FB, $B)
}

function ZM(e) {
	return e.replace(/\./g, "").replace(FB, " ").toLowerCase()
}

function Do(e, t) {
	return e === null ? null : {
		regex: RegExp(e.map(nge).join("|")),
		deser: ([n]) => e.findIndex(r => ZM(n) === ZM(r)) + t
	}
}

function qM(e, t) {
	return {
		regex: e,
		deser: ([, n, r]) => cb(n, r),
		groups: t
	}
}

function Dm(e) {
	return {
		regex: e,
		deser: ([t]) => t
	}
}

function rge(e) {
	return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&")
}

function ige(e, t) {
	const n = No(t),
		r = No(t, "{2}"),
		i = No(t, "{3}"),
		o = No(t, "{4}"),
		a = No(t, "{6}"),
		s = No(t, "{1,2}"),
		u = No(t, "{1,3}"),
		l = No(t, "{1,6}"),
		c = No(t, "{1,9}"),
		d = No(t, "{2,4}"),
		p = No(t, "{4,6}"),
		g = S => ({
			regex: RegExp(rge(S.val)),
			deser: ([y]) => y,
			literal: !0
		}),
		_ = (S => {
			if (e.literal) return g(S);
			switch (S.val) {
				case "G":
					return Do(t.eras("short", !1), 0);
				case "GG":
					return Do(t.eras("long", !1), 0);
				case "y":
					return Tt(l);
				case "yy":
					return Tt(d, z5);
				case "yyyy":
					return Tt(o);
				case "yyyyy":
					return Tt(p);
				case "yyyyyy":
					return Tt(a);
				case "M":
					return Tt(s);
				case "MM":
					return Tt(r);
				case "MMM":
					return Do(t.months("short", !0, !1), 1);
				case "MMMM":
					return Do(t.months("long", !0, !1), 1);
				case "L":
					return Tt(s);
				case "LL":
					return Tt(r);
				case "LLL":
					return Do(t.months("short", !1, !1), 1);
				case "LLLL":
					return Do(t.months("long", !1, !1), 1);
				case "d":
					return Tt(s);
				case "dd":
					return Tt(r);
				case "o":
					return Tt(u);
				case "ooo":
					return Tt(i);
				case "HH":
					return Tt(r);
				case "H":
					return Tt(s);
				case "hh":
					return Tt(r);
				case "h":
					return Tt(s);
				case "mm":
					return Tt(r);
				case "m":
					return Tt(s);
				case "q":
					return Tt(s);
				case "qq":
					return Tt(r);
				case "s":
					return Tt(s);
				case "ss":
					return Tt(r);
				case "S":
					return Tt(u);
				case "SSS":
					return Tt(i);
				case "u":
					return Dm(c);
				case "uu":
					return Dm(s);
				case "uuu":
					return Tt(n);
				case "a":
					return Do(t.meridiems(), 0);
				case "kkkk":
					return Tt(o);
				case "kk":
					return Tt(d, z5);
				case "W":
					return Tt(s);
				case "WW":
					return Tt(r);
				case "E":
				case "c":
					return Tt(n);
				case "EEE":
					return Do(t.weekdays("short", !1, !1), 1);
				case "EEEE":
					return Do(t.weekdays("long", !1, !1), 1);
				case "ccc":
					return Do(t.weekdays("short", !0, !1), 1);
				case "cccc":
					return Do(t.weekdays("long", !0, !1), 1);
				case "Z":
				case "ZZ":
					return qM(new RegExp("([+-]".concat(s.source, ")(?::(").concat(r.source, "))?")), 2);
				case "ZZZ":
					return qM(new RegExp("([+-]".concat(s.source, ")(").concat(r.source, ")?")), 2);
				case "z":
					return Dm(/[a-z_+-/]{1,256}?/i);
				case " ":
					return Dm(/[^\S\n\r]/);
				default:
					return g(S)
			}
		})(e) || {
			invalidReason: ege
		};
	return _.token = e, _
}
const oge = {
	year: {
		"2-digit": "yy",
		numeric: "yyyyy"
	},
	month: {
		numeric: "M",
		"2-digit": "MM",
		short: "MMM",
		long: "MMMM"
	},
	day: {
		numeric: "d",
		"2-digit": "dd"
	},
	weekday: {
		short: "EEE",
		long: "EEEE"
	},
	dayperiod: "a",
	dayPeriod: "a",
	hour: {
		numeric: "h",
		"2-digit": "hh"
	},
	minute: {
		numeric: "m",
		"2-digit": "mm"
	},
	second: {
		numeric: "s",
		"2-digit": "ss"
	},
	timeZoneName: {
		long: "ZZZZZ",
		short: "ZZZ"
	}
};

function age(e, t) {
	const {
		type: n,
		value: r
	} = e;
	if (n === "literal") {
		const a = /^\s+$/.test(r);
		return {
			literal: !a,
			val: a ? " " : r
		}
	}
	const i = t[n];
	let o = oge[n];
	if (typeof o == "object" && (o = o[i]), o) return {
		literal: !1,
		val: o
	}
}

function sge(e) {
	const t = e.map(n => n.regex).reduce((n, r) => "".concat(n, "(").concat(r.source, ")"), "");
	return ["^".concat(t, "$"), e]
}

function uge(e, t, n) {
	const r = e.match(t);
	if (r) {
		const i = {};
		let o = 1;
		for (const a in n)
			if (Np(n, a)) {
				const s = n[a],
					u = s.groups ? s.groups + 1 : 1;
				!s.literal && s.token && (i[s.token.val[0]] = s.deser(r.slice(o, o + u))), o += u
			} return [r, i]
	} else return [r, {}]
}

function lge(e) {
	const t = o => {
		switch (o) {
			case "S":
				return "millisecond";
			case "s":
				return "second";
			case "m":
				return "minute";
			case "h":
			case "H":
				return "hour";
			case "d":
				return "day";
			case "o":
				return "ordinal";
			case "L":
			case "M":
				return "month";
			case "y":
				return "year";
			case "E":
			case "c":
				return "weekday";
			case "W":
				return "weekNumber";
			case "k":
				return "weekYear";
			case "q":
				return "quarter";
			default:
				return null
		}
	};
	let n = null,
		r;
	return ht(e.z) || (n = js.create(e.z)), ht(e.Z) || (n || (n = new zr(e.Z)), r = e.Z), ht(e.q) || (e.M = (e.q - 1) * 3 + 1), ht(e.h) || (e.h < 12 && e.a === 1 ? e.h += 12 : e.h === 12 && e.a === 0 && (e.h = 0)), e.G === 0 && e.y && (e.y = -e.y), ht(e.u) || (e.S = x7(e.u)), [Object.keys(e).reduce((o, a) => {
		const s = t(a);
		return s && (o[s] = e[a]), o
	}, {}), n, r]
}
let T3 = null;

function cge() {
	return T3 || (T3 = Xe.fromMillis(1555555555555)), T3
}

function fge(e, t) {
	if (e.literal) return e;
	const n = Ar.macroTokenToFormatOpts(e.val),
		r = HB(n, t);
	return r == null || r.includes(void 0) ? e : r
}

function jB(e, t) {
	return Array.prototype.concat(...e.map(n => fge(n, t)))
}

function UB(e, t, n) {
	const r = jB(Ar.parseFormat(n), e),
		i = r.map(a => ige(a, e)),
		o = i.find(a => a.invalidReason);
	if (o) return {
		input: t,
		tokens: r,
		invalidReason: o.invalidReason
	}; {
		const [a, s] = sge(i), u = RegExp(a, "i"), [l, c] = uge(t, u, s), [d, p, g] = c ? lge(c) : [null, null, void 0];
		if (Np(c, "a") && Np(c, "H")) throw new K0("Can't include meridiem when specifying 24-hour format");
		return {
			input: t,
			tokens: r,
			regex: u,
			rawMatches: l,
			matches: c,
			result: d,
			zone: p,
			specificOffset: g
		}
	}
}

function dge(e, t, n) {
	const {
		result: r,
		zone: i,
		specificOffset: o,
		invalidReason: a
	} = UB(e, t, n);
	return [r, i, o, a]
}

function HB(e, t) {
	return e ? Ar.create(t, e).formatDateTimeParts(cge()).map(i => age(i, e)) : null
}
const VB = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334],
	BB = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];

function _o(e, t) {
	return new Ko("unit out of range", "you specified ".concat(t, " (of type ").concat(typeof t, ") as a ").concat(e, ", which is invalid"))
}

function zB(e, t, n) {
	const r = new Date(Date.UTC(e, t - 1, n));
	e < 100 && e >= 0 && r.setUTCFullYear(r.getUTCFullYear() - 1900);
	const i = r.getUTCDay();
	return i === 0 ? 7 : i
}

function GB(e, t, n) {
	return n + ($1(e) ? BB : VB)[t - 1]
}

function WB(e, t) {
	const n = $1(e) ? BB : VB,
		r = n.findIndex(o => o < t),
		i = t - n[r];
	return {
		month: r + 1,
		day: i
	}
}

function G5(e) {
	const {
		year: t,
		month: n,
		day: r
	} = e, i = GB(t, n, r), o = zB(t, n, r);
	let a = Math.floor((i - o + 10) / 7),
		s;
	return a < 1 ? (s = t - 1, a = dw(s)) : a > dw(t) ? (s = t + 1, a = 1) : s = t, {
		weekYear: s,
		weekNumber: a,
		weekday: o,
		...fb(e)
	}
}

function YM(e) {
	const {
		weekYear: t,
		weekNumber: n,
		weekday: r
	} = e, i = zB(t, 1, 4), o = dv(t);
	let a = n * 7 + r - i - 3,
		s;
	a < 1 ? (s = t - 1, a += dv(s)) : a > o ? (s = t + 1, a -= dv(t)) : s = t;
	const {
		month: u,
		day: l
	} = WB(s, a);
	return {
		year: s,
		month: u,
		day: l,
		...fb(e)
	}
}

function R3(e) {
	const {
		year: t,
		month: n,
		day: r
	} = e, i = GB(t, n, r);
	return {
		year: t,
		ordinal: i,
		...fb(e)
	}
}

function XM(e) {
	const {
		year: t,
		ordinal: n
	} = e, {
		month: r,
		day: i
	} = WB(t, n);
	return {
		year: t,
		month: r,
		day: i,
		...fb(e)
	}
}

function pge(e) {
	const t = lb(e.weekYear),
		n = Ts(e.weekNumber, 1, dw(e.weekYear)),
		r = Ts(e.weekday, 1, 7);
	return t ? n ? r ? !1 : _o("weekday", e.weekday) : _o("week", e.week) : _o("weekYear", e.weekYear)
}

function hge(e) {
	const t = lb(e.year),
		n = Ts(e.ordinal, 1, dv(e.year));
	return t ? n ? !1 : _o("ordinal", e.ordinal) : _o("year", e.year)
}

function KB(e) {
	const t = lb(e.year),
		n = Ts(e.month, 1, 12),
		r = Ts(e.day, 1, fw(e.year, e.month));
	return t ? n ? r ? !1 : _o("day", e.day) : _o("month", e.month) : _o("year", e.year)
}

function ZB(e) {
	const {
		hour: t,
		minute: n,
		second: r,
		millisecond: i
	} = e, o = Ts(t, 0, 23) || t === 24 && n === 0 && r === 0 && i === 0, a = Ts(n, 0, 59), s = Ts(r, 0, 59), u = Ts(i, 0, 999);
	return o ? a ? s ? u ? !1 : _o("millisecond", i) : _o("second", r) : _o("minute", n) : _o("hour", t)
}
const I3 = "Invalid DateTime",
	JM = 864e13;

function $m(e) {
	return new Ko("unsupported zone", 'the zone "'.concat(e.name, '" is not supported'))
}

function k3(e) {
	return e.weekData === null && (e.weekData = G5(e.c)), e.weekData
}

function x0(e, t) {
	const n = {
		ts: e.ts,
		zone: e.zone,
		c: e.c,
		o: e.o,
		loc: e.loc,
		invalid: e.invalid
	};
	return new Xe({
		...n,
		...t,
		old: n
	})
}

function qB(e, t, n) {
	let r = e - t * 60 * 1e3;
	const i = n.offset(r);
	if (t === i) return [r, t];
	r -= (i - t) * 60 * 1e3;
	const o = n.offset(r);
	return i === o ? [r, i] : [e - Math.min(i, o) * 60 * 1e3, Math.max(i, o)]
}

function QM(e, t) {
	e += t * 60 * 1e3;
	const n = new Date(e);
	return {
		year: n.getUTCFullYear(),
		month: n.getUTCMonth() + 1,
		day: n.getUTCDate(),
		hour: n.getUTCHours(),
		minute: n.getUTCMinutes(),
		second: n.getUTCSeconds(),
		millisecond: n.getUTCMilliseconds()
	}
}

function Yy(e, t, n) {
	return qB(C7(e), t, n)
}

function eP(e, t) {
	const n = e.o,
		r = e.c.year + Math.trunc(t.years),
		i = e.c.month + Math.trunc(t.months) + Math.trunc(t.quarters) * 3,
		o = {
			...e.c,
			year: r,
			month: i,
			day: Math.min(e.c.day, fw(r, i)) + Math.trunc(t.days) + Math.trunc(t.weeks) * 7
		},
		a = yt.fromObject({
			years: t.years - Math.trunc(t.years),
			quarters: t.quarters - Math.trunc(t.quarters),
			months: t.months - Math.trunc(t.months),
			weeks: t.weeks - Math.trunc(t.weeks),
			days: t.days - Math.trunc(t.days),
			hours: t.hours,
			minutes: t.minutes,
			seconds: t.seconds,
			milliseconds: t.milliseconds
		}).as("milliseconds"),
		s = C7(o);
	let [u, l] = qB(s, n, e.zone);
	return a !== 0 && (u += a, l = e.zone.offset(u)), {
		ts: u,
		o: l
	}
}

function E0(e, t, n, r, i, o) {
	const {
		setZone: a,
		zone: s
	} = n;
	if (e && Object.keys(e).length !== 0 || t) {
		const u = t || s,
			l = Xe.fromObject(e, {
				...n,
				zone: u,
				specificOffset: o
			});
		return a ? l : l.setZone(s)
	} else return Xe.invalid(new Ko("unparsable", 'the input "'.concat(i, "\" can't be parsed as ").concat(r)))
}

function Fm(e, t, n = !0) {
	return e.isValid ? Ar.create(Qt.create("en-US"), {
		allowZ: n,
		forceSimple: !0
	}).formatDateTimeFromString(e, t) : null
}

function A3(e, t) {
	const n = e.c.year > 9999 || e.c.year < 0;
	let r = "";
	return n && e.c.year >= 0 && (r += "+"), r += An(e.c.year, n ? 6 : 4), t ? (r += "-", r += An(e.c.month), r += "-", r += An(e.c.day)) : (r += An(e.c.month), r += An(e.c.day)), r
}

function tP(e, t, n, r, i, o) {
	let a = An(e.c.hour);
	return t ? (a += ":", a += An(e.c.minute), (e.c.second !== 0 || !n) && (a += ":")) : a += An(e.c.minute), (e.c.second !== 0 || !n) && (a += An(e.c.second), (e.c.millisecond !== 0 || !r) && (a += ".", a += An(e.c.millisecond, 3))), i && (e.isOffsetFixed && e.offset === 0 && !o ? a += "Z" : e.o < 0 ? (a += "-", a += An(Math.trunc(-e.o / 60)), a += ":", a += An(Math.trunc(-e.o % 60))) : (a += "+", a += An(Math.trunc(e.o / 60)), a += ":", a += An(Math.trunc(e.o % 60)))), o && (a += "[" + e.zone.ianaName + "]"), a
}
const YB = {
		month: 1,
		day: 1,
		hour: 0,
		minute: 0,
		second: 0,
		millisecond: 0
	},
	vge = {
		weekNumber: 1,
		weekday: 1,
		hour: 0,
		minute: 0,
		second: 0,
		millisecond: 0
	},
	gge = {
		ordinal: 1,
		hour: 0,
		minute: 0,
		second: 0,
		millisecond: 0
	},
	XB = ["year", "month", "day", "hour", "minute", "second", "millisecond"],
	mge = ["weekYear", "weekNumber", "weekday", "hour", "minute", "second", "millisecond"],
	yge = ["year", "ordinal", "hour", "minute", "second", "millisecond"];

function nP(e) {
	const t = {
		year: "year",
		years: "year",
		month: "month",
		months: "month",
		day: "day",
		days: "day",
		hour: "hour",
		hours: "hour",
		minute: "minute",
		minutes: "minute",
		quarter: "quarter",
		quarters: "quarter",
		second: "second",
		seconds: "second",
		millisecond: "millisecond",
		milliseconds: "millisecond",
		weekday: "weekday",
		weekdays: "weekday",
		weeknumber: "weekNumber",
		weeksnumber: "weekNumber",
		weeknumbers: "weekNumber",
		weekyear: "weekYear",
		weekyears: "weekYear",
		ordinal: "ordinal"
	} [e.toLowerCase()];
	if (!t) throw new QV(e);
	return t
}

function rP(e, t) {
	const n = $u(t.zone, kn.defaultZone),
		r = Qt.fromObject(t),
		i = kn.now();
	let o, a;
	if (ht(e.year)) o = i;
	else {
		for (const l of XB) ht(e[l]) && (e[l] = YB[l]);
		const s = KB(e) || ZB(e);
		if (s) return Xe.invalid(s);
		const u = n.offset(i);
		[o, a] = Yy(e, u, n)
	}
	return new Xe({
		ts: o,
		zone: n,
		loc: r,
		o: a
	})
}

function iP(e, t, n) {
	const r = ht(n.round) ? !0 : n.round,
		i = (a, s) => (a = E7(a, r || n.calendary ? 0 : 2, !0), t.loc.clone(n).relFormatter(n).format(a, s)),
		o = a => n.calendary ? t.hasSame(e, a) ? 0 : t.startOf(a).diff(e.startOf(a), a).get(a) : t.diff(e, a).get(a);
	if (n.unit) return i(o(n.unit), n.unit);
	for (const a of n.units) {
		const s = o(a);
		if (Math.abs(s) >= 1) return i(s, a)
	}
	return i(e > t ? -0 : 0, n.units[n.units.length - 1])
}

function oP(e) {
	let t = {},
		n;
	return e.length > 0 && typeof e[e.length - 1] == "object" ? (t = e[e.length - 1], n = Array.from(e).slice(0, e.length - 1)) : n = Array.from(e), [t, n]
}
class Xe {
	constructor(t) {
		const n = t.zone || kn.defaultZone;
		let r = t.invalid || (Number.isNaN(t.ts) ? new Ko("invalid input") : null) || (n.isValid ? null : $m(n));
		this.ts = ht(t.ts) ? kn.now() : t.ts;
		let i = null,
			o = null;
		if (!r)
			if (t.old && t.old.ts === this.ts && t.old.zone.equals(n))[i, o] = [t.old.c, t.old.o];
			else {
				const s = n.offset(this.ts);
				i = QM(this.ts, s), r = Number.isNaN(i.year) ? new Ko("invalid input") : null, i = r ? null : i, o = r ? null : s
			} this._zone = n, this.loc = t.loc || Qt.create(), this.invalid = r, this.weekData = null, this.c = i, this.o = o, this.isLuxonDateTime = !0
	}
	static now() {
		return new Xe({})
	}
	static local() {
		const [t, n] = oP(arguments), [r, i, o, a, s, u, l] = n;
		return rP({
			year: r,
			month: i,
			day: o,
			hour: a,
			minute: s,
			second: u,
			millisecond: l
		}, t)
	}
	static utc() {
		const [t, n] = oP(arguments), [r, i, o, a, s, u, l] = n;
		return t.zone = zr.utcInstance, rP({
			year: r,
			month: i,
			day: o,
			hour: a,
			minute: s,
			second: u,
			millisecond: l
		}, t)
	}
	static fromJSDate(t, n = {}) {
		const r = Bve(t) ? t.valueOf() : NaN;
		if (Number.isNaN(r)) return Xe.invalid("invalid input");
		const i = $u(n.zone, kn.defaultZone);
		return i.isValid ? new Xe({
			ts: r,
			zone: i,
			loc: Qt.fromObject(n)
		}) : Xe.invalid($m(i))
	}
	static fromMillis(t, n = {}) {
		if (Hc(t)) return t < -JM || t > JM ? Xe.invalid("Timestamp out of range") : new Xe({
			ts: t,
			zone: $u(n.zone, kn.defaultZone),
			loc: Qt.fromObject(n)
		});
		throw new go("fromMillis requires a numerical input, but received a ".concat(typeof t, " with value ").concat(t))
	}
	static fromSeconds(t, n = {}) {
		if (Hc(t)) return new Xe({
			ts: t * 1e3,
			zone: $u(n.zone, kn.defaultZone),
			loc: Qt.fromObject(n)
		});
		throw new go("fromSeconds requires a numerical input")
	}
	static fromObject(t, n = {}) {
		t = t || {};
		const r = $u(n.zone, kn.defaultZone);
		if (!r.isValid) return Xe.invalid($m(r));
		const i = kn.now(),
			o = ht(n.specificOffset) ? r.offset(i) : n.specificOffset,
			a = pw(t, nP),
			s = !ht(a.ordinal),
			u = !ht(a.year),
			l = !ht(a.month) || !ht(a.day),
			c = u || l,
			d = a.weekYear || a.weekNumber,
			p = Qt.fromObject(n);
		if ((c || s) && d) throw new K0("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
		if (l && s) throw new K0("Can't mix ordinal dates with month/day");
		const g = d || a.weekday && !c;
		let m, _, S = QM(i, o);
		g ? (m = mge, _ = vge, S = G5(S)) : s ? (m = yge, _ = gge, S = R3(S)) : (m = XB, _ = YB);
		let y = !1;
		for (const k of m) {
			const M = a[k];
			ht(M) ? y ? a[k] = _[k] : a[k] = S[k] : y = !0
		}
		const w = g ? pge(a) : s ? hge(a) : KB(a),
			b = w || ZB(a);
		if (b) return Xe.invalid(b);
		const E = g ? YM(a) : s ? XM(a) : a,
			[T, O] = Yy(E, o, r),
			R = new Xe({
				ts: T,
				zone: r,
				o: O,
				loc: p
			});
		return a.weekday && c && t.weekday !== R.weekday ? Xe.invalid("mismatched weekday", "you can't specify both a weekday of ".concat(a.weekday, " and a date of ").concat(R.toISO())) : R
	}
	static fromISO(t, n = {}) {
		const [r, i] = M1e(t);
		return E0(r, i, n, "ISO 8601", t)
	}
	static fromRFC2822(t, n = {}) {
		const [r, i] = P1e(t);
		return E0(r, i, n, "RFC 2822", t)
	}
	static fromHTTP(t, n = {}) {
		const [r, i] = L1e(t);
		return E0(r, i, n, "HTTP", n)
	}
	static fromFormat(t, n, r = {}) {
		if (ht(t) || ht(n)) throw new go("fromFormat requires an input string and a format");
		const {
			locale: i = null,
			numberingSystem: o = null
		} = r, a = Qt.fromOpts({
			locale: i,
			numberingSystem: o,
			defaultToEN: !0
		}), [s, u, l, c] = dge(a, t, n);
		return c ? Xe.invalid(c) : E0(s, u, r, "format ".concat(n), t, l)
	}
	static fromString(t, n, r = {}) {
		return Xe.fromFormat(t, n, r)
	}
	static fromSQL(t, n = {}) {
		const [r, i] = H1e(t);
		return E0(r, i, n, "SQL", t)
	}
	static invalid(t, n = null) {
		if (!t) throw new go("need to specify a reason the DateTime is invalid");
		const r = t instanceof Ko ? t : new Ko(t, n);
		if (kn.throwOnInvalid) throw new _ve(r);
		return new Xe({
			invalid: r
		})
	}
	static isDateTime(t) {
		return t && t.isLuxonDateTime || !1
	}
	static parseFormatForOpts(t, n = {}) {
		const r = HB(t, Qt.fromObject(n));
		return r ? r.map(i => i ? i.val : null).join("") : null
	}
	static expandFormat(t, n = {}) {
		return jB(Ar.parseFormat(t), Qt.fromObject(n)).map(i => i.val).join("")
	}
	get(t) {
		return this[t]
	}
	get isValid() {
		return this.invalid === null
	}
	get invalidReason() {
		return this.invalid ? this.invalid.reason : null
	}
	get invalidExplanation() {
		return this.invalid ? this.invalid.explanation : null
	}
	get locale() {
		return this.isValid ? this.loc.locale : null
	}
	get numberingSystem() {
		return this.isValid ? this.loc.numberingSystem : null
	}
	get outputCalendar() {
		return this.isValid ? this.loc.outputCalendar : null
	}
	get zone() {
		return this._zone
	}
	get zoneName() {
		return this.isValid ? this.zone.name : null
	}
	get year() {
		return this.isValid ? this.c.year : NaN
	}
	get quarter() {
		return this.isValid ? Math.ceil(this.c.month / 3) : NaN
	}
	get month() {
		return this.isValid ? this.c.month : NaN
	}
	get day() {
		return this.isValid ? this.c.day : NaN
	}
	get hour() {
		return this.isValid ? this.c.hour : NaN
	}
	get minute() {
		return this.isValid ? this.c.minute : NaN
	}
	get second() {
		return this.isValid ? this.c.second : NaN
	}
	get millisecond() {
		return this.isValid ? this.c.millisecond : NaN
	}
	get weekYear() {
		return this.isValid ? k3(this).weekYear : NaN
	}
	get weekNumber() {
		return this.isValid ? k3(this).weekNumber : NaN
	}
	get weekday() {
		return this.isValid ? k3(this).weekday : NaN
	}
	get ordinal() {
		return this.isValid ? R3(this.c).ordinal : NaN
	}
	get monthShort() {
		return this.isValid ? Nm.months("short", {
			locObj: this.loc
		})[this.month - 1] : null
	}
	get monthLong() {
		return this.isValid ? Nm.months("long", {
			locObj: this.loc
		})[this.month - 1] : null
	}
	get weekdayShort() {
		return this.isValid ? Nm.weekdays("short", {
			locObj: this.loc
		})[this.weekday - 1] : null
	}
	get weekdayLong() {
		return this.isValid ? Nm.weekdays("long", {
			locObj: this.loc
		})[this.weekday - 1] : null
	}
	get offset() {
		return this.isValid ? +this.o : NaN
	}
	get offsetNameShort() {
		return this.isValid ? this.zone.offsetName(this.ts, {
			format: "short",
			locale: this.locale
		}) : null
	}
	get offsetNameLong() {
		return this.isValid ? this.zone.offsetName(this.ts, {
			format: "long",
			locale: this.locale
		}) : null
	}
	get isOffsetFixed() {
		return this.isValid ? this.zone.isUniversal : null
	}
	get isInDST() {
		return this.isOffsetFixed ? !1 : this.offset > this.set({
			month: 1,
			day: 1
		}).offset || this.offset > this.set({
			month: 5
		}).offset
	}
	get isInLeapYear() {
		return $1(this.year)
	}
	get daysInMonth() {
		return fw(this.year, this.month)
	}
	get daysInYear() {
		return this.isValid ? dv(this.year) : NaN
	}
	get weeksInWeekYear() {
		return this.isValid ? dw(this.weekYear) : NaN
	}
	resolvedLocaleOptions(t = {}) {
		const {
			locale: n,
			numberingSystem: r,
			calendar: i
		} = Ar.create(this.loc.clone(t), t).resolvedOptions(this);
		return {
			locale: n,
			numberingSystem: r,
			outputCalendar: i
		}
	}
	toUTC(t = 0, n = {}) {
		return this.setZone(zr.instance(t), n)
	}
	toLocal() {
		return this.setZone(kn.defaultZone)
	}
	setZone(t, {
		keepLocalTime: n = !1,
		keepCalendarTime: r = !1
	} = {}) {
		if (t = $u(t, kn.defaultZone), t.equals(this.zone)) return this;
		if (t.isValid) {
			let i = this.ts;
			if (n || r) {
				const o = t.offset(this.ts),
					a = this.toObject();
				[i] = Yy(a, o, t)
			}
			return x0(this, {
				ts: i,
				zone: t
			})
		} else return Xe.invalid($m(t))
	}
	reconfigure({
		locale: t,
		numberingSystem: n,
		outputCalendar: r
	} = {}) {
		const i = this.loc.clone({
			locale: t,
			numberingSystem: n,
			outputCalendar: r
		});
		return x0(this, {
			loc: i
		})
	}
	setLocale(t) {
		return this.reconfigure({
			locale: t
		})
	}
	set(t) {
		if (!this.isValid) return this;
		const n = pw(t, nP),
			r = !ht(n.weekYear) || !ht(n.weekNumber) || !ht(n.weekday),
			i = !ht(n.ordinal),
			o = !ht(n.year),
			a = !ht(n.month) || !ht(n.day),
			s = o || a,
			u = n.weekYear || n.weekNumber;
		if ((s || i) && u) throw new K0("Can't mix weekYear/weekNumber units with year/month/day or ordinals");
		if (a && i) throw new K0("Can't mix ordinal dates with month/day");
		let l;
		r ? l = YM({
			...G5(this.c),
			...n
		}) : ht(n.ordinal) ? (l = {
			...this.toObject(),
			...n
		}, ht(n.day) && (l.day = Math.min(fw(l.year, l.month), l.day))) : l = XM({
			...R3(this.c),
			...n
		});
		const [c, d] = Yy(l, this.o, this.zone);
		return x0(this, {
			ts: c,
			o: d
		})
	}
	plus(t) {
		if (!this.isValid) return this;
		const n = yt.fromDurationLike(t);
		return x0(this, eP(this, n))
	}
	minus(t) {
		if (!this.isValid) return this;
		const n = yt.fromDurationLike(t).negate();
		return x0(this, eP(this, n))
	}
	startOf(t) {
		if (!this.isValid) return this;
		const n = {},
			r = yt.normalizeUnit(t);
		switch (r) {
			case "years":
				n.month = 1;
			case "quarters":
			case "months":
				n.day = 1;
			case "weeks":
			case "days":
				n.hour = 0;
			case "hours":
				n.minute = 0;
			case "minutes":
				n.second = 0;
			case "seconds":
				n.millisecond = 0;
				break
		}
		if (r === "weeks" && (n.weekday = 1), r === "quarters") {
			const i = Math.ceil(this.month / 3);
			n.month = (i - 1) * 3 + 1
		}
		return this.set(n)
	}
	endOf(t) {
		return this.isValid ? this.plus({
			[t]: 1
		}).startOf(t).minus(1) : this
	}
	toFormat(t, n = {}) {
		return this.isValid ? Ar.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this, t) : I3
	}
	toLocaleString(t = cw, n = {}) {
		return this.isValid ? Ar.create(this.loc.clone(n), t).formatDateTime(this) : I3
	}
	toLocaleParts(t = {}) {
		return this.isValid ? Ar.create(this.loc.clone(t), t).formatDateTimeParts(this) : []
	}
	toISO({
		format: t = "extended",
		suppressSeconds: n = !1,
		suppressMilliseconds: r = !1,
		includeOffset: i = !0,
		extendedZone: o = !1
	} = {}) {
		if (!this.isValid) return null;
		const a = t === "extended";
		let s = A3(this, a);
		return s += "T", s += tP(this, a, n, r, i, o), s
	}
	toISODate({
		format: t = "extended"
	} = {}) {
		return this.isValid ? A3(this, t === "extended") : null
	}
	toISOWeekDate() {
		return Fm(this, "kkkk-'W'WW-c")
	}
	toISOTime({
		suppressMilliseconds: t = !1,
		suppressSeconds: n = !1,
		includeOffset: r = !0,
		includePrefix: i = !1,
		extendedZone: o = !1,
		format: a = "extended"
	} = {}) {
		return this.isValid ? (i ? "T" : "") + tP(this, a === "extended", n, t, r, o) : null
	}
	toRFC2822() {
		return Fm(this, "EEE, dd LLL yyyy HH:mm:ss ZZZ", !1)
	}
	toHTTP() {
		return Fm(this.toUTC(), "EEE, dd LLL yyyy HH:mm:ss 'GMT'")
	}
	toSQLDate() {
		return this.isValid ? A3(this, !0) : null
	}
	toSQLTime({
		includeOffset: t = !0,
		includeZone: n = !1,
		includeOffsetSpace: r = !0
	} = {}) {
		let i = "HH:mm:ss.SSS";
		return (n || t) && (r && (i += " "), n ? i += "z" : t && (i += "ZZ")), Fm(this, i, !0)
	}
	toSQL(t = {}) {
		return this.isValid ? "".concat(this.toSQLDate(), " ").concat(this.toSQLTime(t)) : null
	}
	toString() {
		return this.isValid ? this.toISO() : I3
	}
	valueOf() {
		return this.toMillis()
	}
	toMillis() {
		return this.isValid ? this.ts : NaN
	}
	toSeconds() {
		return this.isValid ? this.ts / 1e3 : NaN
	}
	toUnixInteger() {
		return this.isValid ? Math.floor(this.ts / 1e3) : NaN
	}
	toJSON() {
		return this.toISO()
	}
	toBSON() {
		return this.toJSDate()
	}
	toObject(t = {}) {
		if (!this.isValid) return {};
		const n = {
			...this.c
		};
		return t.includeConfig && (n.outputCalendar = this.outputCalendar, n.numberingSystem = this.loc.numberingSystem, n.locale = this.loc.locale), n
	}
	toJSDate() {
		return new Date(this.isValid ? this.ts : NaN)
	}
	diff(t, n = "milliseconds", r = {}) {
		if (!this.isValid || !t.isValid) return yt.invalid("created by diffing an invalid DateTime");
		const i = {
				locale: this.locale,
				numberingSystem: this.numberingSystem,
				...r
			},
			o = zve(n).map(yt.normalizeUnit),
			a = t.valueOf() > this.valueOf(),
			s = a ? this : t,
			u = a ? t : this,
			l = X1e(s, u, o, i);
		return a ? l.negate() : l
	}
	diffNow(t = "milliseconds", n = {}) {
		return this.diff(Xe.now(), t, n)
	}
	until(t) {
		return this.isValid ? mn.fromDateTimes(this, t) : this
	}
	hasSame(t, n) {
		if (!this.isValid) return !1;
		const r = t.valueOf(),
			i = this.setZone(t.zone, {
				keepLocalTime: !0
			});
		return i.startOf(n) <= r && r <= i.endOf(n)
	}
	equals(t) {
		return this.isValid && t.isValid && this.valueOf() === t.valueOf() && this.zone.equals(t.zone) && this.loc.equals(t.loc)
	}
	toRelative(t = {}) {
		if (!this.isValid) return null;
		const n = t.base || Xe.fromObject({}, {
				zone: this.zone
			}),
			r = t.padding ? this < n ? -t.padding : t.padding : 0;
		let i = ["years", "months", "days", "hours", "minutes", "seconds"],
			o = t.unit;
		return Array.isArray(t.unit) && (i = t.unit, o = void 0), iP(n, this.plus(r), {
			...t,
			numeric: "always",
			units: i,
			unit: o
		})
	}
	toRelativeCalendar(t = {}) {
		return this.isValid ? iP(t.base || Xe.fromObject({}, {
			zone: this.zone
		}), this, {
			...t,
			numeric: "auto",
			units: ["years", "months", "days"],
			calendary: !0
		}) : null
	}
	static min(...t) {
		if (!t.every(Xe.isDateTime)) throw new go("min requires all arguments be DateTimes");
		return BM(t, n => n.valueOf(), Math.min)
	}
	static max(...t) {
		if (!t.every(Xe.isDateTime)) throw new go("max requires all arguments be DateTimes");
		return BM(t, n => n.valueOf(), Math.max)
	}
	static fromFormatExplain(t, n, r = {}) {
		const {
			locale: i = null,
			numberingSystem: o = null
		} = r, a = Qt.fromOpts({
			locale: i,
			numberingSystem: o,
			defaultToEN: !0
		});
		return UB(a, t, n)
	}
	static fromStringExplain(t, n, r = {}) {
		return Xe.fromFormatExplain(t, n, r)
	}
	static get DATE_SHORT() {
		return cw
	}
	static get DATE_MED() {
		return eB
	}
	static get DATE_MED_WITH_WEEKDAY() {
		return xve
	}
	static get DATE_FULL() {
		return tB
	}
	static get DATE_HUGE() {
		return nB
	}
	static get TIME_SIMPLE() {
		return rB
	}
	static get TIME_WITH_SECONDS() {
		return iB
	}
	static get TIME_WITH_SHORT_OFFSET() {
		return oB
	}
	static get TIME_WITH_LONG_OFFSET() {
		return aB
	}
	static get TIME_24_SIMPLE() {
		return sB
	}
	static get TIME_24_WITH_SECONDS() {
		return uB
	}
	static get TIME_24_WITH_SHORT_OFFSET() {
		return lB
	}
	static get TIME_24_WITH_LONG_OFFSET() {
		return cB
	}
	static get DATETIME_SHORT() {
		return fB
	}
	static get DATETIME_SHORT_WITH_SECONDS() {
		return dB
	}
	static get DATETIME_MED() {
		return pB
	}
	static get DATETIME_MED_WITH_SECONDS() {
		return hB
	}
	static get DATETIME_MED_WITH_WEEKDAY() {
		return Eve
	}
	static get DATETIME_FULL() {
		return vB
	}
	static get DATETIME_FULL_WITH_SECONDS() {
		return gB
	}
	static get DATETIME_HUGE() {
		return mB
	}
	static get DATETIME_HUGE_WITH_SECONDS() {
		return yB
	}
}

function C0(e) {
	if (Xe.isDateTime(e)) return e;
	if (e && e.valueOf && Hc(e.valueOf())) return Xe.fromJSDate(e);
	if (e && typeof e == "object") return Xe.fromObject(e);
	throw new go("Unknown datetime argument: ".concat(e, ", of type ").concat(typeof e))
}

function wge() {
	const [e, t] = OK([Is.DeviceIdCookie]), n = e[Is.DeviceIdCookie];
	return h.useEffect(() => {
		if (!n) {
			const r = $j();
			t(Is.DeviceIdCookie, r, {
				expires: Xe.now().plus({
					years: 1
				}).toJSDate(),
				path: "/",
				domain: ".openai.com"
			})
		}
	}, [n, t]), n
}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var W5 = function(e, t) {
	return W5 = Object.setPrototypeOf || {
		__proto__: []
	}
	instanceof Array && function(n, r) {
		n.__proto__ = r
	} || function(n, r) {
		for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i])
	}, W5(e, t)
};

function wh(e, t) {
	if (typeof t != "function" && t !== null) throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");

	function n() {
		this.constructor = e
	}
	W5(e, t), e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n)
}
var rt = function() {
	return rt = Object.assign || function(e) {
		for (var t, n = 1, r = arguments.length; n < r; n++)
			for (var i in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
		return e
	}, rt.apply(this, arguments)
};

function ui(e, t) {
	var n = {};
	for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
	if (e != null && typeof Object.getOwnPropertySymbols == "function") {
		var i = 0;
		for (r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]])
	}
	return n
}

function kt(e, t, n, r) {
	return new(n || (n = Promise))(function(i, o) {
		function a(l) {
			try {
				u(r.next(l))
			} catch (c) {
				o(c)
			}
		}

		function s(l) {
			try {
				u(r.throw(l))
			} catch (c) {
				o(c)
			}
		}

		function u(l) {
			var c;
			l.done ? i(l.value) : (c = l.value, c instanceof n ? c : new n(function(d) {
				d(c)
			})).then(a, s)
		}
		u((r = r.apply(e, [])).next())
	})
}

function At(e, t) {
	var n, r, i, o, a = {
		label: 0,
		sent: function() {
			if (1 & i[0]) throw i[1];
			return i[1]
		},
		trys: [],
		ops: []
	};
	return o = {
		next: s(0),
		throw: s(1),
		return: s(2)
	}, typeof Symbol == "function" && (o[Symbol.iterator] = function() {
		return this
	}), o;

	function s(u) {
		return function(l) {
			return function(c) {
				if (n) throw new TypeError("Generator is already executing.");
				for (; a;) try {
					if (n = 1, r && (i = 2 & c[0] ? r.return : c[0] ? r.throw || ((i = r.return) && i.call(r), 0) : r.next) && !(i = i.call(r, c[1])).done) return i;
					switch (r = 0, i && (c = [2 & c[0], i.value]), c[0]) {
						case 0:
						case 1:
							i = c;
							break;
						case 4:
							return a.label++, {
								value: c[1],
								done: !1
							};
						case 5:
							a.label++, r = c[1], c = [0];
							continue;
						case 7:
							c = a.ops.pop(), a.trys.pop();
							continue;
						default:
							if (i = a.trys, !((i = i.length > 0 && i[i.length - 1]) || c[0] !== 6 && c[0] !== 2)) {
								a = 0;
								continue
							}
							if (c[0] === 3 && (!i || c[1] > i[0] && c[1] < i[3])) {
								a.label = c[1];
								break
							}
							if (c[0] === 6 && a.label < i[1]) {
								a.label = i[1], i = c;
								break
							}
							if (i && a.label < i[2]) {
								a.label = i[2], a.ops.push(c);
								break
							}
							i[2] && a.ops.pop(), a.trys.pop();
							continue
					}
					c = t.call(e, a)
				} catch (d) {
					c = [6, d], r = 0
				} finally {
					n = i = 0
				}
				if (5 & c[0]) throw c[1];
				return {
					value: c[0] ? c[1] : void 0,
					done: !0
				}
			}([u, l])
		}
	}
}

function Dp(e, t) {
	var n = typeof Symbol == "function" && e[Symbol.iterator];
	if (!n) return e;
	var r, i, o = n.call(e),
		a = [];
	try {
		for (;
			(t === void 0 || t-- > 0) && !(r = o.next()).done;) a.push(r.value)
	} catch (s) {
		i = {
			error: s
		}
	} finally {
		try {
			r && !r.done && (n = o.return) && n.call(o)
		} finally {
			if (i) throw i.error
		}
	}
	return a
}

function K5(e, t, n) {
	if (arguments.length === 2)
		for (var r, i = 0, o = t.length; i < o; i++) !r && i in t || (r || (r = Array.prototype.slice.call(t, 0, i)), r[i] = t[i]);
	return e.concat(r || Array.prototype.slice.call(t))
}
var Na = typeof globalThis < "u" ? globalThis : typeof window < "u" || typeof window < "u" ? window : typeof self < "u" ? self : {};

function k7(e) {
	return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e
}

function _h(e, t) {
	return e(t = {
		exports: {}
	}, t.exports), t.exports
}
var bu, Xy, jm = function(e) {
		return e && e.Math == Math && e
	},
	xe = jm(typeof globalThis == "object" && globalThis) || jm(typeof window == "object" && window) || jm(typeof self == "object" && self) || jm(typeof Na == "object" && Na) || function() {
		return this
	}() || Function("return this")(),
	_n = function(e) {
		try {
			return !!e()
		} catch (t) {
			return !0
		}
	},
	Wt = !_n(function() {
		return Object.defineProperty({}, 1, {
			get: function() {
				return 7
			}
		})[1] != 7
	}),
	U1 = !_n(function() {
		var e = (function() {}).bind();
		return typeof e != "function" || e.hasOwnProperty("prototype")
	}),
	Um = Function.prototype.call,
	Si = U1 ? Um.bind(Um) : function() {
		return Um.apply(Um, arguments)
	},
	aP = {}.propertyIsEnumerable,
	sP = Object.getOwnPropertyDescriptor,
	_ge = sP && !aP.call({
		1: 2
	}, 1) ? function(e) {
		var t = sP(this, e);
		return !!t && t.enumerable
	} : aP,
	A7 = {
		f: _ge
	},
	af = function(e, t) {
		return {
			enumerable: !(1 & e),
			configurable: !(2 & e),
			writable: !(4 & e),
			value: t
		}
	},
	JB = Function.prototype,
	bge = JB.bind,
	Z5 = JB.call,
	Sge = U1 && bge.bind(Z5, Z5),
	St = U1 ? function(e) {
		return e && Sge(e)
	} : function(e) {
		return e && function() {
			return Z5.apply(e, arguments)
		}
	},
	xge = St({}.toString),
	Ege = St("".slice),
	As = function(e) {
		return Ege(xge(e), 8, -1)
	},
	M3 = xe.Object,
	Cge = St("".split),
	QB = _n(function() {
		return !M3("z").propertyIsEnumerable(0)
	}) ? function(e) {
		return As(e) == "String" ? Cge(e, "") : M3(e)
	} : M3,
	Oge = xe.TypeError,
	H1 = function(e) {
		if (e == null) throw Oge("Can't call method on " + e);
		return e
	},
	es = function(e) {
		return QB(H1(e))
	},
	ln = function(e) {
		return typeof e == "function"
	},
	On = function(e) {
		return typeof e == "object" ? e !== null : ln(e)
	},
	Tge = function(e) {
		return ln(e) ? e : void 0
	},
	xf = function(e, t) {
		return arguments.length < 2 ? Tge(xe[e]) : xe[e] && xe[e][t]
	},
	sf = St({}.isPrototypeOf),
	P3 = xf("navigator", "userAgent") || "",
	uP = xe.process,
	lP = xe.Deno,
	cP = uP && uP.versions || lP && lP.version,
	fP = cP && cP.v8;
fP && (Xy = (bu = fP.split("."))[0] > 0 && bu[0] < 4 ? 1 : +(bu[0] + bu[1])), !Xy && P3 && (!(bu = P3.match(/Edge\/(\d+)/)) || bu[1] >= 74) && (bu = P3.match(/Chrome\/(\d+)/)) && (Xy = +bu[1]);
var hw = Xy,
	Oa = !!Object.getOwnPropertySymbols && !_n(function() {
		var e = Symbol();
		return !String(e) || !(Object(e) instanceof Symbol) || !Symbol.sham && hw && hw < 41
	}),
	M7 = Oa && !Symbol.sham && typeof Symbol.iterator == "symbol",
	Rge = xe.Object,
	sp = M7 ? function(e) {
		return typeof e == "symbol"
	} : function(e) {
		var t = xf("Symbol");
		return ln(t) && sf(t.prototype, Rge(e))
	},
	Ige = xe.String,
	V1 = function(e) {
		try {
			return Ige(e)
		} catch (t) {
			return "Object"
		}
	},
	kge = xe.TypeError,
	P7 = function(e) {
		if (ln(e)) return e;
		throw kge(V1(e) + " is not a function")
	},
	vw = function(e, t) {
		var n = e[t];
		return n == null ? void 0 : P7(n)
	},
	Age = xe.TypeError,
	Mge = Object.defineProperty,
	L7 = function(e, t) {
		try {
			Mge(xe, e, {
				value: t,
				configurable: !0,
				writable: !0
			})
		} catch (n) {
			xe[e] = t
		}
		return t
	},
	al = xe["__core-js_shared__"] || L7("__core-js_shared__", {}),
	Ef = _h(function(e) {
		(e.exports = function(t, n) {
			return al[t] || (al[t] = n !== void 0 ? n : {})
		})("versions", []).push({
			version: "3.21.1",
			mode: "global",
			copyright: "© 2014-2022 Denis Pushkarev (zloirock.ru)",
			license: "https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",
			source: "https://github.com/zloirock/core-js"
		})
	}),
	Pge = xe.Object,
	bh = function(e) {
		return Pge(H1(e))
	},
	Lge = St({}.hasOwnProperty),
	Be = Object.hasOwn || function(e, t) {
		return Lge(bh(e), t)
	},
	Nge = 0,
	Dge = Math.random(),
	$ge = St(1 .toString),
	uf = function(e) {
		return "Symbol(" + (e === void 0 ? "" : e) + ")_" + $ge(++Nge + Dge, 36)
	},
	O0 = Ef("wks"),
	Vc = xe.Symbol,
	dP = Vc && Vc.for,
	Fge = M7 ? Vc : Vc && Vc.withoutSetter || uf,
	Rn = function(e) {
		if (!Be(O0, e) || !Oa && typeof O0[e] != "string") {
			var t = "Symbol." + e;
			Oa && Be(Vc, e) ? O0[e] = Vc[e] : O0[e] = M7 && dP ? dP(t) : Fge(t)
		}
		return O0[e]
	},
	jge = xe.TypeError,
	Uge = Rn("toPrimitive"),
	Hge = function(e, t) {
		if (!On(e) || sp(e)) return e;
		var n, r = vw(e, Uge);
		if (r) {
			if (n = Si(r, e, t), !On(n) || sp(n)) return n;
			throw jge("Can't convert object to primitive value")
		}
		return function(i, o) {
			var a, s;
			if (ln(a = i.toString) && !On(s = Si(a, i)) || ln(a = i.valueOf) && !On(s = Si(a, i))) return s;
			throw Age("Can't convert object to primitive value")
		}(e)
	},
	lf = function(e) {
		var t = Hge(e, "string");
		return sp(t) ? t : t + ""
	},
	q5 = xe.document,
	Vge = On(q5) && On(q5.createElement),
	ez = function(e) {
		return Vge ? q5.createElement(e) : {}
	},
	tz = !Wt && !_n(function() {
		return Object.defineProperty(ez("div"), "a", {
			get: function() {
				return 7
			}
		}).a != 7
	}),
	pP = Object.getOwnPropertyDescriptor,
	B1 = {
		f: Wt ? pP : function(e, t) {
			if (e = es(e), t = lf(t), tz) try {
				return pP(e, t)
			} catch (n) {}
			if (Be(e, t)) return af(!Si(A7.f, e, t), e[t])
		}
	},
	nz = Wt && _n(function() {
		return Object.defineProperty(function() {}, "prototype", {
			value: 42,
			writable: !1
		}).prototype != 42
	}),
	Bge = xe.String,
	zge = xe.TypeError,
	er = function(e) {
		if (On(e)) return e;
		throw zge(Bge(e) + " is not an object")
	},
	Gge = xe.TypeError,
	L3 = Object.defineProperty,
	Wge = Object.getOwnPropertyDescriptor,
	Xr = {
		f: Wt ? nz ? function(e, t, n) {
			if (er(e), t = lf(t), er(n), typeof e == "function" && t === "prototype" && "value" in n && "writable" in n && !n.writable) {
				var r = Wge(e, t);
				r && r.writable && (e[t] = n.value, n = {
					configurable: "configurable" in n ? n.configurable : r.configurable,
					enumerable: "enumerable" in n ? n.enumerable : r.enumerable,
					writable: !1
				})
			}
			return L3(e, t, n)
		} : L3 : function(e, t, n) {
			if (er(e), t = lf(t), er(n), tz) try {
				return L3(e, t, n)
			} catch (r) {}
			if ("get" in n || "set" in n) throw Gge("Accessors not supported");
			return "value" in n && (e[t] = n.value), e
		}
	},
	vl = Wt ? function(e, t, n) {
		return Xr.f(e, t, af(1, n))
	} : function(e, t, n) {
		return e[t] = n, e
	},
	Kge = St(Function.toString);
ln(al.inspectSource) || (al.inspectSource = function(e) {
	return Kge(e)
});
var gw, hv, mw, N7 = al.inspectSource,
	hP = xe.WeakMap,
	Zge = ln(hP) && /native code/.test(N7(hP)),
	vP = Ef("keys"),
	db = function(e) {
		return vP[e] || (vP[e] = uf(e))
	},
	Sh = {},
	Y5 = xe.TypeError,
	qge = xe.WeakMap;
if (Zge || al.state) {
	var sc = al.state || (al.state = new qge),
		Yge = St(sc.get),
		gP = St(sc.has),
		Xge = St(sc.set);
	gw = function(e, t) {
		if (gP(sc, e)) throw new Y5("Object already initialized");
		return t.facade = e, Xge(sc, e, t), t
	}, hv = function(e) {
		return Yge(sc, e) || {}
	}, mw = function(e) {
		return gP(sc, e)
	}
} else {
	var dd = db("state");
	Sh[dd] = !0, gw = function(e, t) {
		if (Be(e, dd)) throw new Y5("Object already initialized");
		return t.facade = e, vl(e, dd, t), t
	}, hv = function(e) {
		return Be(e, dd) ? e[dd] : {}
	}, mw = function(e) {
		return Be(e, dd)
	}
}
var za = {
		set: gw,
		get: hv,
		has: mw,
		enforce: function(e) {
			return mw(e) ? hv(e) : gw(e, {})
		},
		getterFor: function(e) {
			return function(t) {
				var n;
				if (!On(t) || (n = hv(t)).type !== e) throw Y5("Incompatible receiver, " + e + " required");
				return n
			}
		}
	},
	rz = Function.prototype,
	Jge = Wt && Object.getOwnPropertyDescriptor,
	N3 = Be(rz, "name"),
	D7 = {
		EXISTS: N3,
		PROPER: N3 && (function() {}).name === "something",
		CONFIGURABLE: N3 && (!Wt || Wt && Jge(rz, "name").configurable)
	},
	Kr = _h(function(e) {
		var t = D7.CONFIGURABLE,
			n = za.get,
			r = za.enforce,
			i = String(String).split("String");
		(e.exports = function(o, a, s, u) {
			var l, c = !!u && !!u.unsafe,
				d = !!u && !!u.enumerable,
				p = !!u && !!u.noTargetGet,
				g = u && u.name !== void 0 ? u.name : a;
			ln(s) && (String(g).slice(0, 7) === "Symbol(" && (g = "[" + String(g).replace(/^Symbol\(([^)]*)\)/, "$1") + "]"), (!Be(s, "name") || t && s.name !== g) && vl(s, "name", g), (l = r(s)).source || (l.source = i.join(typeof g == "string" ? g : ""))), o !== xe ? (c ? !p && o[a] && (d = !0) : delete o[a], d ? o[a] = s : vl(o, a, s)) : d ? o[a] = s : L7(a, s)
		})(Function.prototype, "toString", function() {
			return ln(this) && n(this).source || N7(this)
		})
	}),
	Qge = Math.ceil,
	eme = Math.floor,
	$7 = function(e) {
		var t = +e;
		return t != t || t === 0 ? 0 : (t > 0 ? eme : Qge)(t)
	},
	tme = Math.max,
	nme = Math.min,
	X5 = function(e, t) {
		var n = $7(e);
		return n < 0 ? tme(n + t, 0) : nme(n, t)
	},
	rme = Math.min,
	iz = function(e) {
		return e > 0 ? rme($7(e), 9007199254740991) : 0
	},
	xh = function(e) {
		return iz(e.length)
	},
	mP = function(e) {
		return function(t, n, r) {
			var i, o = es(t),
				a = xh(o),
				s = X5(r, a);
			if (e && n != n) {
				for (; a > s;)
					if ((i = o[s++]) != i) return !0
			} else
				for (; a > s; s++)
					if ((e || s in o) && o[s] === n) return e || s || 0;
			return !e && -1
		}
	},
	oz = {
		includes: mP(!0),
		indexOf: mP(!1)
	},
	ime = oz.indexOf,
	yP = St([].push),
	az = function(e, t) {
		var n, r = es(e),
			i = 0,
			o = [];
		for (n in r) !Be(Sh, n) && Be(r, n) && yP(o, n);
		for (; t.length > i;) Be(r, n = t[i++]) && (~ime(o, n) || yP(o, n));
		return o
	},
	yw = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"],
	ome = yw.concat("length", "prototype"),
	Wv = {
		f: Object.getOwnPropertyNames || function(e) {
			return az(e, ome)
		}
	},
	Jy = {
		f: Object.getOwnPropertySymbols
	},
	ame = St([].concat),
	sme = xf("Reflect", "ownKeys") || function(e) {
		var t = Wv.f(er(e)),
			n = Jy.f;
		return n ? ame(t, n(e)) : t
	},
	sz = function(e, t, n) {
		for (var r = sme(t), i = Xr.f, o = B1.f, a = 0; a < r.length; a++) {
			var s = r[a];
			Be(e, s) || n || i(e, s, o(t, s))
		}
	},
	ume = /#|\.prototype\./,
	z1 = function(e, t) {
		var n = cme[lme(e)];
		return n == dme || n != fme && (ln(t) ? _n(t) : !!t)
	},
	lme = z1.normalize = function(e) {
		return String(e).replace(ume, ".").toLowerCase()
	},
	cme = z1.data = {},
	fme = z1.NATIVE = "N",
	dme = z1.POLYFILL = "P",
	J5 = z1,
	pme = B1.f,
	kr = function(e, t) {
		var n, r, i, o, a, s = e.target,
			u = e.global,
			l = e.stat;
		if (n = u ? xe : l ? xe[s] || L7(s, {}) : (xe[s] || {}).prototype)
			for (r in t) {
				if (o = t[r], i = e.noTargetGet ? (a = pme(n, r)) && a.value : n[r], !J5(u ? r : s + (l ? "." : "#") + r, e.forced) && i !== void 0) {
					if (typeof o == typeof i) continue;
					sz(o, i)
				}(e.sham || i && i.sham) && vl(o, "sham", !0), Kr(n, r, o, e)
			}
	},
	uz = {};
uz[Rn("toStringTag")] = "z";
var D3, F7 = String(uz) === "[object z]",
	hme = Rn("toStringTag"),
	vme = xe.Object,
	gme = As(function() {
		return arguments
	}()) == "Arguments",
	Cf = F7 ? As : function(e) {
		var t, n, r;
		return e === void 0 ? "Undefined" : e === null ? "Null" : typeof(n = function(i, o) {
			try {
				return i[o]
			} catch (a) {}
		}(t = vme(e), hme)) == "string" ? n : gme ? As(t) : (r = As(t)) == "Object" && ln(t.callee) ? "Arguments" : r
	},
	mme = xe.String,
	Us = function(e) {
		if (Cf(e) === "Symbol") throw TypeError("Cannot convert a Symbol value to a string");
		return mme(e)
	},
	yme = Rn("match"),
	wme = xe.TypeError,
	lz = function(e) {
		if (function(t) {
				var n;
				return On(t) && ((n = t[yme]) !== void 0 ? !!n : As(t) == "RegExp")
			}(e)) throw wme("The method doesn't accept regular expressions");
		return e
	},
	_me = Rn("match"),
	cz = function(e) {
		var t = /./;
		try {
			"/./" [e](t)
		} catch (n) {
			try {
				return t[_me] = !1, "/./" [e](t)
			} catch (r) {}
		}
		return !1
	},
	bme = B1.f,
	wP = St("".startsWith),
	Sme = St("".slice),
	xme = Math.min,
	fz = cz("startsWith"),
	Eme = !(fz || (D3 = bme(String.prototype, "startsWith"), !D3 || D3.writable));
kr({
	target: "String",
	proto: !0,
	forced: !Eme && !fz
}, {
	startsWith: function(e) {
		var t = Us(H1(this));
		lz(e);
		var n = iz(xme(arguments.length > 1 ? arguments[1] : void 0, t.length)),
			r = Us(e);
		return wP ? wP(t, r, n) : Sme(t, n, n + r.length) === r
	}
});
var j7 = function(e, t) {
	return St(xe[e].prototype[t])
};
j7("String", "startsWith");
var ww = Array.isArray || function(e) {
		return As(e) == "Array"
	},
	Kv = function(e, t, n) {
		var r = lf(t);
		r in e ? Xr.f(e, r, af(0, n)) : e[r] = n
	},
	dz = function() {},
	Cme = [],
	pz = xf("Reflect", "construct"),
	U7 = /^\s*(?:class|function)\b/,
	Ome = St(U7.exec),
	Tme = !U7.exec(dz),
	T0 = function(e) {
		if (!ln(e)) return !1;
		try {
			return pz(dz, Cme, e), !0
		} catch (t) {
			return !1
		}
	},
	hz = function(e) {
		if (!ln(e)) return !1;
		switch (Cf(e)) {
			case "AsyncFunction":
			case "GeneratorFunction":
			case "AsyncGeneratorFunction":
				return !1
		}
		try {
			return Tme || !!Ome(U7, N7(e))
		} catch (t) {
			return !0
		}
	};
hz.sham = !0;
var _P, H7 = !pz || _n(function() {
		var e;
		return T0(T0.call) || !T0(Object) || !T0(function() {
			e = !0
		}) || e
	}) ? hz : T0,
	Rme = Rn("species"),
	bP = xe.Array,
	vz = function(e, t) {
		return new(function(n) {
			var r;
			return ww(n) && (r = n.constructor, (H7(r) && (r === bP || ww(r.prototype)) || On(r) && (r = r[Rme]) === null) && (r = void 0)), r === void 0 ? bP : r
		}(e))(t === 0 ? 0 : t)
	},
	Ime = Rn("species"),
	gz = Rn("isConcatSpreadable"),
	SP = xe.TypeError,
	kme = hw >= 51 || !_n(function() {
		var e = [];
		return e[gz] = !1, e.concat()[0] !== e
	}),
	Ame = (_P = "concat", hw >= 51 || !_n(function() {
		var e = [];
		return (e.constructor = {})[Ime] = function() {
			return {
				foo: 1
			}
		}, e[_P](Boolean).foo !== 1
	})),
	Mme = function(e) {
		if (!On(e)) return !1;
		var t = e[gz];
		return t !== void 0 ? !!t : ww(e)
	};
kr({
	target: "Array",
	proto: !0,
	forced: !kme || !Ame
}, {
	concat: function(e) {
		var t, n, r, i, o, a = bh(this),
			s = vz(a, 0),
			u = 0;
		for (t = -1, r = arguments.length; t < r; t++)
			if (Mme(o = t === -1 ? a : arguments[t])) {
				if (u + (i = xh(o)) > 9007199254740991) throw SP("Maximum allowed index exceeded");
				for (n = 0; n < i; n++, u++) n in o && Kv(s, u, o[n])
			} else {
				if (u >= 9007199254740991) throw SP("Maximum allowed index exceeded");
				Kv(s, u++, o)
			} return s.length = u, s
	}
});
var Pme = F7 ? {}.toString : function() {
	return "[object " + Cf(this) + "]"
};
F7 || Kr(Object.prototype, "toString", Pme, {
	unsafe: !0
});
var Hm, mz = Function.prototype,
	xP = mz.apply,
	EP = mz.call,
	Lme = typeof Reflect == "object" && Reflect.apply || (U1 ? EP.bind(xP) : function() {
		return EP.apply(xP, arguments)
	}),
	V7 = Object.keys || function(e) {
		return az(e, yw)
	},
	Nme = Wt && !nz ? Object.defineProperties : function(e, t) {
		er(e);
		for (var n, r = es(t), i = V7(t), o = i.length, a = 0; o > a;) Xr.f(e, n = i[a++], r[n]);
		return e
	},
	yz = {
		f: Nme
	},
	Dme = xf("document", "documentElement"),
	wz = db("IE_PROTO"),
	$3 = function() {},
	_z = function(e) {
		return "<script>" + e + "<\/script>"
	},
	CP = function(e) {
		e.write(_z("")), e.close();
		var t = e.parentWindow.Object;
		return e = null, t
	},
	Qy = function() {
		try {
			Hm = new ActiveXObject("htmlfile")
		} catch (r) {}
		var e, t;
		Qy = typeof document < "u" ? document.domain && Hm ? CP(Hm) : ((t = ez("iframe")).style.display = "none", Dme.appendChild(t), t.src = "javascript:", (e = t.contentWindow.document).open(), e.write(_z("document.F=Object")), e.close(), e.F) : CP(Hm);
		for (var n = yw.length; n--;) delete Qy.prototype[yw[n]];
		return Qy()
	};
Sh[wz] = !0;
var gl = Object.create || function(e, t) {
		var n;
		return e !== null ? ($3.prototype = er(e), n = new $3, $3.prototype = null, n[wz] = e) : n = Qy(), t === void 0 ? n : yz.f(n, t)
	},
	$me = xe.Array,
	Fme = Math.max,
	bz = Wv.f,
	Sz = typeof window == "object" && window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [],
	jme = function(e) {
		try {
			return bz(e)
		} catch (t) {
			return function(n, r, i) {
				for (var o = xh(n), a = X5(r, o), s = X5(o, o), u = $me(Fme(s - a, 0)), l = 0; a < s; a++, l++) Kv(u, l, n[a]);
				return u.length = l, u
			}(Sz)
		}
	},
	B7 = {
		f: function(e) {
			return Sz && As(e) == "Window" ? jme(e) : bz(es(e))
		}
	},
	xz = St([].slice),
	Ez = {
		f: Rn
	},
	Zv = xe,
	Ume = Xr.f,
	li = function(e) {
		var t = Zv.Symbol || (Zv.Symbol = {});
		Be(t, e) || Ume(t, e, {
			value: Ez.f(e)
		})
	},
	Hme = Xr.f,
	OP = Rn("toStringTag"),
	Bc = function(e, t, n) {
		e && !n && (e = e.prototype), e && !Be(e, OP) && Hme(e, OP, {
			configurable: !0,
			value: t
		})
	},
	Vme = St(St.bind),
	pb = function(e, t) {
		return P7(e), t === void 0 ? e : U1 ? Vme(e, t) : function() {
			return e.apply(t, arguments)
		}
	},
	TP = St([].push),
	Su = function(e) {
		var t = e == 1,
			n = e == 2,
			r = e == 3,
			i = e == 4,
			o = e == 6,
			a = e == 7,
			s = e == 5 || o;
		return function(u, l, c, d) {
			for (var p, g, m = bh(u), _ = QB(m), S = pb(l, c), y = xh(_), w = 0, b = d || vz, E = t ? b(u, y) : n || a ? b(u, 0) : void 0; y > w; w++)
				if ((s || w in _) && (g = S(p = _[w], w, m), e))
					if (t) E[w] = g;
					else if (g) switch (e) {
				case 3:
					return !0;
				case 5:
					return p;
				case 6:
					return w;
				case 2:
					TP(E, p)
			} else switch (e) {
				case 4:
					return !1;
				case 7:
					TP(E, p)
			}
			return o ? -1 : r || i ? i : E
		}
	},
	hb = {
		forEach: Su(0),
		map: Su(1),
		filter: Su(2),
		some: Su(3),
		every: Su(4),
		find: Su(5),
		findIndex: Su(6),
		filterReject: Su(7)
	}.forEach,
	hi = db("hidden"),
	RP = Rn("toPrimitive"),
	Bme = za.set,
	IP = za.getterFor("Symbol"),
	bo = Object.prototype,
	Fu = xe.Symbol,
	qu = Fu && Fu.prototype,
	kP = xe.TypeError,
	F3 = xe.QObject,
	R0 = xf("JSON", "stringify"),
	Cz = B1.f,
	ju = Xr.f,
	Oz = B7.f,
	zme = A7.f,
	Tz = St([].push),
	Hs = Ef("symbols"),
	G1 = Ef("op-symbols"),
	j3 = Ef("string-to-symbol-registry"),
	U3 = Ef("symbol-to-string-registry"),
	Gme = Ef("wks"),
	H3 = !F3 || !F3.prototype || !F3.prototype.findChild,
	Q5 = Wt && _n(function() {
		return gl(ju({}, "a", {
			get: function() {
				return ju(this, "a", {
					value: 7
				}).a
			}
		})).a != 7
	}) ? function(e, t, n) {
		var r = Cz(bo, t);
		r && delete bo[t], ju(e, t, n), r && e !== bo && ju(bo, t, r)
	} : ju,
	V3 = function(e, t) {
		var n = Hs[e] = gl(qu);
		return Bme(n, {
			type: "Symbol",
			tag: e,
			description: t
		}), Wt || (n.description = t), n
	},
	_w = function(e, t, n) {
		e === bo && _w(G1, t, n), er(e);
		var r = lf(t);
		return er(n), Be(Hs, r) ? (n.enumerable ? (Be(e, hi) && e[hi][r] && (e[hi][r] = !1), n = gl(n, {
			enumerable: af(0, !1)
		})) : (Be(e, hi) || ju(e, hi, af(1, {})), e[hi][r] = !0), Q5(e, r, n)) : ju(e, r, n)
	},
	B3 = function(e, t) {
		er(e);
		var n = es(t),
			r = V7(n).concat(tC(n));
		return hb(r, function(i) {
			Wt && !Si(eC, n, i) || _w(e, i, n[i])
		}), e
	},
	eC = function(e) {
		var t = lf(e),
			n = Si(zme, this, t);
		return !(this === bo && Be(Hs, t) && !Be(G1, t)) && (!(n || !Be(this, t) || !Be(Hs, t) || Be(this, hi) && this[hi][t]) || n)
	},
	AP = function(e, t) {
		var n = es(e),
			r = lf(t);
		if (n !== bo || !Be(Hs, r) || Be(G1, r)) {
			var i = Cz(n, r);
			return !i || !Be(Hs, r) || Be(n, hi) && n[hi][r] || (i.enumerable = !0), i
		}
	},
	MP = function(e) {
		var t = Oz(es(e)),
			n = [];
		return hb(t, function(r) {
			Be(Hs, r) || Be(Sh, r) || Tz(n, r)
		}), n
	},
	tC = function(e) {
		var t = e === bo,
			n = Oz(t ? G1 : es(e)),
			r = [];
		return hb(n, function(i) {
			!Be(Hs, i) || t && !Be(bo, i) || Tz(r, Hs[i])
		}), r
	};
if (Oa || (qu = (Fu = function() {
		if (sf(qu, this)) throw kP("Symbol is not a constructor");
		var e = arguments.length && arguments[0] !== void 0 ? Us(arguments[0]) : void 0,
			t = uf(e),
			n = function(r) {
				this === bo && Si(n, G1, r), Be(this, hi) && Be(this[hi], t) && (this[hi][t] = !1), Q5(this, t, af(1, r))
			};
		return Wt && H3 && Q5(bo, t, {
			configurable: !0,
			set: n
		}), V3(t, e)
	}).prototype, Kr(qu, "toString", function() {
		return IP(this).tag
	}), Kr(Fu, "withoutSetter", function(e) {
		return V3(uf(e), e)
	}), A7.f = eC, Xr.f = _w, yz.f = B3, B1.f = AP, Wv.f = B7.f = MP, Jy.f = tC, Ez.f = function(e) {
		return V3(Rn(e), e)
	}, Wt && (ju(qu, "description", {
		configurable: !0,
		get: function() {
			return IP(this).description
		}
	}), Kr(bo, "propertyIsEnumerable", eC, {
		unsafe: !0
	}))), kr({
		global: !0,
		wrap: !0,
		forced: !Oa,
		sham: !Oa
	}, {
		Symbol: Fu
	}), hb(V7(Gme), function(e) {
		li(e)
	}), kr({
		target: "Symbol",
		stat: !0,
		forced: !Oa
	}, {
		for: function(e) {
			var t = Us(e);
			if (Be(j3, t)) return j3[t];
			var n = Fu(t);
			return j3[t] = n, U3[n] = t, n
		},
		keyFor: function(e) {
			if (!sp(e)) throw kP(e + " is not a symbol");
			if (Be(U3, e)) return U3[e]
		},
		useSetter: function() {
			H3 = !0
		},
		useSimple: function() {
			H3 = !1
		}
	}), kr({
		target: "Object",
		stat: !0,
		forced: !Oa,
		sham: !Wt
	}, {
		create: function(e, t) {
			return t === void 0 ? gl(e) : B3(gl(e), t)
		},
		defineProperty: _w,
		defineProperties: B3,
		getOwnPropertyDescriptor: AP
	}), kr({
		target: "Object",
		stat: !0,
		forced: !Oa
	}, {
		getOwnPropertyNames: MP,
		getOwnPropertySymbols: tC
	}), kr({
		target: "Object",
		stat: !0,
		forced: _n(function() {
			Jy.f(1)
		})
	}, {
		getOwnPropertySymbols: function(e) {
			return Jy.f(bh(e))
		}
	}), R0) {
	var Wme = !Oa || _n(function() {
		var e = Fu();
		return R0([e]) != "[null]" || R0({
			a: e
		}) != "{}" || R0(Object(e)) != "{}"
	});
	kr({
		target: "JSON",
		stat: !0,
		forced: Wme
	}, {
		stringify: function(e, t, n) {
			var r = xz(arguments),
				i = t;
			if ((On(t) || e !== void 0) && !sp(e)) return ww(t) || (t = function(o, a) {
				if (ln(i) && (a = Si(i, this, o, a)), !sp(a)) return a
			}), r[1] = t, Lme(R0, null, r)
		}
	})
}
if (!qu[RP]) {
	var Kme = qu.valueOf;
	Kr(qu, RP, function(e) {
		return Si(Kme, this)
	})
}
Bc(Fu, "Symbol"), Sh[hi] = !0, li("asyncIterator");
var Zme = Xr.f,
	ms = xe.Symbol,
	uc = ms && ms.prototype;
if (Wt && ln(ms) && (!("description" in uc) || ms().description !== void 0)) {
	var PP = {},
		Vm = function() {
			var e = arguments.length < 1 || arguments[0] === void 0 ? void 0 : Us(arguments[0]),
				t = sf(uc, this) ? new ms(e) : e === void 0 ? ms() : ms(e);
			return e === "" && (PP[t] = !0), t
		};
	sz(Vm, ms), Vm.prototype = uc, uc.constructor = Vm;
	var qme = String(ms("test")) == "Symbol(test)",
		Yme = St(uc.toString),
		Xme = St(uc.valueOf),
		Jme = /^Symbol\((.*)\)[^)]+$/,
		Qme = St("".replace),
		eye = St("".slice);
	Zme(uc, "description", {
		configurable: !0,
		get: function() {
			var e = Xme(this),
				t = Yme(e);
			if (Be(PP, e)) return "";
			var n = qme ? eye(t, 7, -1) : Qme(t, Jme, "$1");
			return n === "" ? void 0 : n
		}
	}), kr({
		global: !0,
		forced: !0
	}, {
		Symbol: Vm
	})
}
li("hasInstance"), li("isConcatSpreadable"), li("iterator"), li("match"), li("matchAll"), li("replace"), li("search"), li("species"), li("split"), li("toPrimitive"), li("toStringTag"), li("unscopables"), Bc(xe.JSON, "JSON", !0), Bc(Math, "Math", !0), kr({
	global: !0
}, {
	Reflect: {}
}), Bc(xe.Reflect, "Reflect", !0), Zv.Symbol;
var zc, LP, NP, tye = St("".charAt),
	DP = St("".charCodeAt),
	nye = St("".slice),
	$P = function(e) {
		return function(t, n) {
			var r, i, o = Us(H1(t)),
				a = $7(n),
				s = o.length;
			return a < 0 || a >= s ? e ? "" : void 0 : (r = DP(o, a)) < 55296 || r > 56319 || a + 1 === s || (i = DP(o, a + 1)) < 56320 || i > 57343 ? e ? tye(o, a) : r : e ? nye(o, a, a + 2) : i - 56320 + (r - 55296 << 10) + 65536
		}
	},
	rye = {
		codeAt: $P(!1),
		charAt: $P(!0)
	},
	iye = !_n(function() {
		function e() {}
		return e.prototype.constructor = null, Object.getPrototypeOf(new e) !== e.prototype
	}),
	FP = db("IE_PROTO"),
	nC = xe.Object,
	oye = nC.prototype,
	cf = iye ? nC.getPrototypeOf : function(e) {
		var t = bh(e);
		if (Be(t, FP)) return t[FP];
		var n = t.constructor;
		return ln(n) && t instanceof n ? n.prototype : t instanceof nC ? oye : null
	},
	rC = Rn("iterator"),
	Rz = !1;
[].keys && ("next" in (NP = [].keys()) ? (LP = cf(cf(NP))) !== Object.prototype && (zc = LP) : Rz = !0);
var aye = zc == null || _n(function() {
	var e = {};
	return zc[rC].call(e) !== e
});
aye && (zc = {}), ln(zc[rC]) || Kr(zc, rC, function() {
	return this
});
var z7 = {
		IteratorPrototype: zc,
		BUGGY_SAFARI_ITERATORS: Rz
	},
	$p = {},
	sye = z7.IteratorPrototype,
	uye = function() {
		return this
	},
	lye = xe.String,
	cye = xe.TypeError,
	Ga = Object.setPrototypeOf || ("__proto__" in {} ? function() {
		var e, t = !1,
			n = {};
		try {
			(e = St(Object.getOwnPropertyDescriptor(Object.prototype, "__proto__").set))(n, []), t = n instanceof Array
		} catch (r) {}
		return function(r, i) {
			return er(r),
				function(o) {
					if (typeof o == "object" || ln(o)) return o;
					throw cye("Can't set " + lye(o) + " as a prototype")
				}(i), t ? e(r, i) : r.__proto__ = i, r
		}
	}() : void 0),
	fye = D7.PROPER,
	dye = D7.CONFIGURABLE,
	jP = z7.IteratorPrototype,
	Bm = z7.BUGGY_SAFARI_ITERATORS,
	I0 = Rn("iterator"),
	pye = function() {
		return this
	},
	G7 = function(e, t, n, r, i, o, a) {
		(function(y, w, b, E) {
			var T = w + " Iterator";
			y.prototype = gl(sye, {
				next: af(+!E, b)
			}), Bc(y, T, !1), $p[T] = uye
		})(n, t, r);
		var s, u, l, c = function(y) {
				if (y === i && _) return _;
				if (!Bm && y in g) return g[y];
				switch (y) {
					case "keys":
					case "values":
					case "entries":
						return function() {
							return new n(this, y)
						}
				}
				return function() {
					return new n(this)
				}
			},
			d = t + " Iterator",
			p = !1,
			g = e.prototype,
			m = g[I0] || g["@@iterator"] || i && g[i],
			_ = !Bm && m || c(i),
			S = t == "Array" && g.entries || m;
		if (S && (s = cf(S.call(new e))) !== Object.prototype && s.next && (cf(s) !== jP && (Ga ? Ga(s, jP) : ln(s[I0]) || Kr(s, I0, pye)), Bc(s, d, !0)), fye && i == "values" && m && m.name !== "values" && (dye ? vl(g, "name", "values") : (p = !0, _ = function() {
				return Si(m, this)
			})), i)
			if (u = {
					values: c("values"),
					keys: o ? _ : c("keys"),
					entries: c("entries")
				}, a)
				for (l in u)(Bm || p || !(l in g)) && Kr(g, l, u[l]);
			else kr({
				target: t,
				proto: !0,
				forced: Bm || p
			}, u);
		return g[I0] !== _ && Kr(g, I0, _, {
			name: i
		}), $p[t] = _, u
	},
	hye = rye.charAt,
	vye = za.set,
	gye = za.getterFor("String Iterator");
G7(String, "String", function(e) {
	vye(this, {
		type: "String Iterator",
		string: Us(e),
		index: 0
	})
}, function() {
	var e, t = gye(this),
		n = t.string,
		r = t.index;
	return r >= n.length ? {
		value: void 0,
		done: !0
	} : (e = hye(n, r), t.index += e.length, {
		value: e,
		done: !1
	})
});
var iC = function(e, t, n) {
		var r, i;
		er(e);
		try {
			if (!(r = vw(e, "return"))) {
				if (t === "throw") throw n;
				return n
			}
			r = Si(r, e)
		} catch (o) {
			i = !0, r = o
		}
		if (t === "throw") throw n;
		if (i) throw r;
		return er(r), n
	},
	mye = function(e, t, n, r) {
		try {
			return r ? t(er(n)[0], n[1]) : t(n)
		} catch (i) {
			iC(e, "throw", i)
		}
	},
	yye = Rn("iterator"),
	wye = Array.prototype,
	Iz = function(e) {
		return e !== void 0 && ($p.Array === e || wye[yye] === e)
	},
	_ye = Rn("iterator"),
	W7 = function(e) {
		if (e != null) return vw(e, _ye) || vw(e, "@@iterator") || $p[Cf(e)]
	},
	bye = xe.TypeError,
	kz = function(e, t) {
		var n = arguments.length < 2 ? W7(e) : t;
		if (P7(n)) return er(Si(n, e));
		throw bye(V1(e) + " is not iterable")
	},
	UP = xe.Array,
	Az = Rn("iterator"),
	Mz = !1;
try {
	var Sye = 0,
		HP = {
			next: function() {
				return {
					done: !!Sye++
				}
			},
			return: function() {
				Mz = !0
			}
		};
	HP[Az] = function() {
		return this
	}, Array.from(HP, function() {
		throw 2
	})
} catch (e) {}
var Pz = function(e, t) {
		if (!Mz) return !1;
		var n = !1;
		try {
			var r = {};
			r[Az] = function() {
				return {
					next: function() {
						return {
							done: n = !0
						}
					}
				}
			}, e(r)
		} catch (i) {}
		return n
	},
	xye = !Pz(function(e) {
		Array.from(e)
	});
kr({
	target: "Array",
	stat: !0,
	forced: xye
}, {
	from: function(e) {
		var t = bh(e),
			n = H7(this),
			r = arguments.length,
			i = r > 1 ? arguments[1] : void 0,
			o = i !== void 0;
		o && (i = pb(i, r > 2 ? arguments[2] : void 0));
		var a, s, u, l, c, d, p = W7(t),
			g = 0;
		if (!p || this == UP && Iz(p))
			for (a = xh(t), s = n ? new this(a) : UP(a); a > g; g++) d = o ? i(t[g], g) : t[g], Kv(s, g, d);
		else
			for (c = (l = kz(t, p)).next, s = n ? new this : []; !(u = Si(c, l)).done; g++) d = o ? mye(l, i, [u.value, g], !0) : u.value, Kv(s, g, d);
		return s.length = g, s
	}
}), Zv.Array.from;
var yi, up, bw, Eye = typeof ArrayBuffer < "u" && typeof DataView < "u",
	Cye = Xr.f,
	Sw = xe.Int8Array,
	oC = Sw && Sw.prototype,
	VP = xe.Uint8ClampedArray,
	BP = VP && VP.prototype,
	Ma = Sw && cf(Sw),
	Zo = oC && cf(oC),
	Oye = Object.prototype,
	aC = xe.TypeError,
	zP = Rn("toStringTag"),
	sC = uf("TYPED_ARRAY_TAG"),
	K7 = uf("TYPED_ARRAY_CONSTRUCTOR"),
	Ms = Eye && !!Ga && Cf(xe.opera) !== "Opera",
	Lz = !1,
	Rs = {
		Int8Array: 1,
		Uint8Array: 1,
		Uint8ClampedArray: 1,
		Int16Array: 2,
		Uint16Array: 2,
		Int32Array: 4,
		Uint32Array: 4,
		Float32Array: 4,
		Float64Array: 8
	},
	Z7 = {
		BigInt64Array: 8,
		BigUint64Array: 8
	},
	GP = function(e) {
		if (!On(e)) return !1;
		var t = Cf(e);
		return Be(Rs, t) || Be(Z7, t)
	};
for (yi in Rs)(bw = (up = xe[yi]) && up.prototype) ? vl(bw, K7, up) : Ms = !1;
for (yi in Z7)(bw = (up = xe[yi]) && up.prototype) && vl(bw, K7, up);
if ((!Ms || !ln(Ma) || Ma === Function.prototype) && (Ma = function() {
		throw aC("Incorrect invocation")
	}, Ms))
	for (yi in Rs) xe[yi] && Ga(xe[yi], Ma);
if ((!Ms || !Zo || Zo === Oye) && (Zo = Ma.prototype, Ms))
	for (yi in Rs) xe[yi] && Ga(xe[yi].prototype, Zo);
if (Ms && cf(BP) !== Zo && Ga(BP, Zo), Wt && !Be(Zo, zP))
	for (yi in Lz = !0, Cye(Zo, zP, {
			get: function() {
				return On(this) ? this[sC] : void 0
			}
		}), Rs) xe[yi] && vl(xe[yi], sC, yi);
var vb = {
		NATIVE_ARRAY_BUFFER_VIEWS: Ms,
		TYPED_ARRAY_CONSTRUCTOR: K7,
		TYPED_ARRAY_TAG: Lz && sC,
		aTypedArray: function(e) {
			if (GP(e)) return e;
			throw aC("Target is not a typed array")
		},
		aTypedArrayConstructor: function(e) {
			if (ln(e) && (!Ga || sf(Ma, e))) return e;
			throw aC(V1(e) + " is not a typed array constructor")
		},
		exportTypedArrayMethod: function(e, t, n, r) {
			if (Wt) {
				if (n)
					for (var i in Rs) {
						var o = xe[i];
						if (o && Be(o.prototype, e)) try {
							delete o.prototype[e]
						} catch (a) {
							try {
								o.prototype[e] = t
							} catch (s) {}
						}
					}
				Zo[e] && !n || Kr(Zo, e, n ? t : Ms && oC[e] || t, r)
			}
		},
		exportTypedArrayStaticMethod: function(e, t, n) {
			var r, i;
			if (Wt) {
				if (Ga) {
					if (n) {
						for (r in Rs)
							if ((i = xe[r]) && Be(i, e)) try {
								delete i[e]
							} catch (o) {}
					}
					if (Ma[e] && !n) return;
					try {
						return Kr(Ma, e, n ? t : Ms && Ma[e] || t)
					} catch (o) {}
				}
				for (r in Rs) !(i = xe[r]) || i[e] && !n || Kr(i, e, t)
			}
		},
		isView: function(e) {
			if (!On(e)) return !1;
			var t = Cf(e);
			return t === "DataView" || Be(Rs, t) || Be(Z7, t)
		},
		isTypedArray: GP,
		TypedArray: Ma,
		TypedArrayPrototype: Zo
	},
	Tye = xe.TypeError,
	Rye = Rn("species"),
	Iye = function(e, t) {
		var n, r = er(e).constructor;
		return r === void 0 || (n = er(r)[Rye]) == null ? t : function(i) {
			if (H7(i)) return i;
			throw Tye(V1(i) + " is not a constructor")
		}(n)
	},
	kye = vb.TYPED_ARRAY_CONSTRUCTOR,
	Aye = vb.aTypedArrayConstructor,
	Mye = vb.aTypedArray;
(0, vb.exportTypedArrayMethod)("slice", function(e, t) {
	for (var n, r = xz(Mye(this), e, t), i = Aye(Iye(n = this, n[kye])), o = 0, a = r.length, s = new i(a); a > o;) s[o] = r[o++];
	return s
}, _n(function() {
	new Int8Array(1).slice()
}));
var uC = Rn("unscopables"),
	lC = Array.prototype;
lC[uC] == null && Xr.f(lC, uC, {
	configurable: !0,
	value: gl(null)
});
var e2 = function(e) {
		lC[uC][e] = !0
	},
	Pye = oz.includes;
kr({
	target: "Array",
	proto: !0
}, {
	includes: function(e) {
		return Pye(this, e, arguments.length > 1 ? arguments[1] : void 0)
	}
}), e2("includes"), j7("Array", "includes");
var Lye = St("".indexOf);
kr({
	target: "String",
	proto: !0,
	forced: !cz("includes")
}, {
	includes: function(e) {
		return !!~Lye(Us(H1(this)), Us(lz(e)), arguments.length > 1 ? arguments[1] : void 0)
	}
}), j7("String", "includes");
var Nye = Xr.f,
	Dye = za.set,
	$ye = za.getterFor("Array Iterator");
G7(Array, "Array", function(e, t) {
	Dye(this, {
		type: "Array Iterator",
		target: es(e),
		index: 0,
		kind: t
	})
}, function() {
	var e = $ye(this),
		t = e.target,
		n = e.kind,
		r = e.index++;
	return !t || r >= t.length ? (e.target = void 0, {
		value: void 0,
		done: !0
	}) : n == "keys" ? {
		value: r,
		done: !1
	} : n == "values" ? {
		value: t[r],
		done: !1
	} : {
		value: [r, t[r]],
		done: !1
	}
}, "values");
var WP = $p.Arguments = $p.Array;
if (e2("keys"), e2("values"), e2("entries"), Wt && WP.name !== "values") try {
	Nye(WP, "name", {
		value: "values"
	})
} catch (e) {}
var KP = _n(function() {
		if (typeof ArrayBuffer == "function") {
			var e = new ArrayBuffer(8);
			Object.isExtensible(e) && Object.defineProperty(e, "a", {
				value: 8
			})
		}
	}),
	zm = Object.isExtensible,
	z3 = _n(function() {
		zm(1)
	}) || KP ? function(e) {
		return !!On(e) && (!KP || As(e) != "ArrayBuffer") && (!zm || zm(e))
	} : zm,
	Fye = !_n(function() {
		return Object.isExtensible(Object.preventExtensions({}))
	}),
	Vd = _h(function(e) {
		var t = Xr.f,
			n = !1,
			r = uf("meta"),
			i = 0,
			o = function(s) {
				t(s, r, {
					value: {
						objectID: "O" + i++,
						weakData: {}
					}
				})
			},
			a = e.exports = {
				enable: function() {
					a.enable = function() {}, n = !0;
					var s = Wv.f,
						u = St([].splice),
						l = {};
					l[r] = 1, s(l).length && (Wv.f = function(c) {
						for (var d = s(c), p = 0, g = d.length; p < g; p++)
							if (d[p] === r) {
								u(d, p, 1);
								break
							} return d
					}, kr({
						target: "Object",
						stat: !0,
						forced: !0
					}, {
						getOwnPropertyNames: B7.f
					}))
				},
				fastKey: function(s, u) {
					if (!On(s)) return typeof s == "symbol" ? s : (typeof s == "string" ? "S" : "P") + s;
					if (!Be(s, r)) {
						if (!z3(s)) return "F";
						if (!u) return "E";
						o(s)
					}
					return s[r].objectID
				},
				getWeakData: function(s, u) {
					if (!Be(s, r)) {
						if (!z3(s)) return !0;
						if (!u) return !1;
						o(s)
					}
					return s[r].weakData
				},
				onFreeze: function(s) {
					return Fye && n && z3(s) && !Be(s, r) && o(s), s
				}
			};
		Sh[r] = !0
	});
Vd.enable, Vd.fastKey, Vd.getWeakData, Vd.onFreeze;
var jye = xe.TypeError,
	t2 = function(e, t) {
		this.stopped = e, this.result = t
	},
	ZP = t2.prototype,
	Nz = function(e, t, n) {
		var r, i, o, a, s, u, l, c = n && n.that,
			d = !(!n || !n.AS_ENTRIES),
			p = !(!n || !n.IS_ITERATOR),
			g = !(!n || !n.INTERRUPTED),
			m = pb(t, c),
			_ = function(y) {
				return r && iC(r, "normal", y), new t2(!0, y)
			},
			S = function(y) {
				return d ? (er(y), g ? m(y[0], y[1], _) : m(y[0], y[1])) : g ? m(y, _) : m(y)
			};
		if (p) r = e;
		else {
			if (!(i = W7(e))) throw jye(V1(e) + " is not iterable");
			if (Iz(i)) {
				for (o = 0, a = xh(e); a > o; o++)
					if ((s = S(e[o])) && sf(ZP, s)) return s;
				return new t2(!1)
			}
			r = kz(e, i)
		}
		for (u = r.next; !(l = Si(u, r)).done;) {
			try {
				s = S(l.value)
			} catch (y) {
				iC(r, "throw", y)
			}
			if (typeof s == "object" && s && sf(ZP, s)) return s
		}
		return new t2(!1)
	},
	Uye = xe.TypeError,
	Dz = function(e, t) {
		if (sf(t, e)) return e;
		throw Uye("Incorrect invocation")
	},
	qP = function(e, t, n) {
		for (var r in t) Kr(e, r, t[r], n);
		return e
	},
	YP = Rn("species"),
	Hye = Xr.f,
	XP = Vd.fastKey,
	JP = za.set,
	G3 = za.getterFor,
	Vye = {
		getConstructor: function(e, t, n, r) {
			var i = e(function(l, c) {
					Dz(l, o), JP(l, {
						type: t,
						index: gl(null),
						first: void 0,
						last: void 0,
						size: 0
					}), Wt || (l.size = 0), c != null && Nz(c, l[r], {
						that: l,
						AS_ENTRIES: n
					})
				}),
				o = i.prototype,
				a = G3(t),
				s = function(l, c, d) {
					var p, g, m = a(l),
						_ = u(l, c);
					return _ ? _.value = d : (m.last = _ = {
						index: g = XP(c, !0),
						key: c,
						value: d,
						previous: p = m.last,
						next: void 0,
						removed: !1
					}, m.first || (m.first = _), p && (p.next = _), Wt ? m.size++ : l.size++, g !== "F" && (m.index[g] = _)), l
				},
				u = function(l, c) {
					var d, p = a(l),
						g = XP(c);
					if (g !== "F") return p.index[g];
					for (d = p.first; d; d = d.next)
						if (d.key == c) return d
				};
			return qP(o, {
				clear: function() {
					for (var l = a(this), c = l.index, d = l.first; d;) d.removed = !0, d.previous && (d.previous = d.previous.next = void 0), delete c[d.index], d = d.next;
					l.first = l.last = void 0, Wt ? l.size = 0 : this.size = 0
				},
				delete: function(l) {
					var c = this,
						d = a(c),
						p = u(c, l);
					if (p) {
						var g = p.next,
							m = p.previous;
						delete d.index[p.index], p.removed = !0, m && (m.next = g), g && (g.previous = m), d.first == p && (d.first = g), d.last == p && (d.last = m), Wt ? d.size-- : c.size--
					}
					return !!p
				},
				forEach: function(l) {
					for (var c, d = a(this), p = pb(l, arguments.length > 1 ? arguments[1] : void 0); c = c ? c.next : d.first;)
						for (p(c.value, c.key, this); c && c.removed;) c = c.previous
				},
				has: function(l) {
					return !!u(this, l)
				}
			}), qP(o, n ? {
				get: function(l) {
					var c = u(this, l);
					return c && c.value
				},
				set: function(l, c) {
					return s(this, l === 0 ? 0 : l, c)
				}
			} : {
				add: function(l) {
					return s(this, l = l === 0 ? 0 : l, l)
				}
			}), Wt && Hye(o, "size", {
				get: function() {
					return a(this).size
				}
			}), i
		},
		setStrong: function(e, t, n) {
			var r = t + " Iterator",
				i = G3(t),
				o = G3(r);
			G7(e, t, function(a, s) {
					JP(this, {
						type: r,
						target: a,
						state: i(a),
						kind: s,
						last: void 0
					})
				}, function() {
					for (var a = o(this), s = a.kind, u = a.last; u && u.removed;) u = u.previous;
					return a.target && (a.last = u = u ? u.next : a.state.first) ? s == "keys" ? {
						value: u.key,
						done: !1
					} : s == "values" ? {
						value: u.value,
						done: !1
					} : {
						value: [u.key, u.value],
						done: !1
					} : (a.target = void 0, {
						value: void 0,
						done: !0
					})
				}, n ? "entries" : "values", !n, !0),
				function(a) {
					var s = xf(a),
						u = Xr.f;
					Wt && s && !s[YP] && u(s, YP, {
						configurable: !0,
						get: function() {
							return this
						}
					})
				}(t)
		}
	};

function $z(e) {
	var t = this.constructor;
	return this.then(function(n) {
		return t.resolve(e()).then(function() {
			return n
		})
	}, function(n) {
		return t.resolve(e()).then(function() {
			return t.reject(n)
		})
	})
}

function Fz(e) {
	return new this(function(t, n) {
		if (!e || e.length === void 0) return n(new TypeError(typeof e + " " + e + " is not iterable(cannot read property Symbol(Symbol.iterator))"));
		var r = Array.prototype.slice.call(e);
		if (r.length === 0) return t([]);
		var i = r.length;

		function o(s, u) {
			if (u && (typeof u == "object" || typeof u == "function")) {
				var l = u.then;
				if (typeof l == "function") return void l.call(u, function(c) {
					o(s, c)
				}, function(c) {
					r[s] = {
						status: "rejected",
						reason: c
					}, --i == 0 && t(r)
				})
			}
			r[s] = {
				status: "fulfilled",
				value: u
			}, --i == 0 && t(r)
		}
		for (var a = 0; a < r.length; a++) o(a, r[a])
	})
}(function(e, t, n) {
	var r = e.indexOf("Map") !== -1,
		i = e.indexOf("Weak") !== -1,
		o = r ? "set" : "add",
		a = xe[e],
		s = a && a.prototype,
		u = a,
		l = {},
		c = function(S) {
			var y = St(s[S]);
			Kr(s, S, S == "add" ? function(w) {
				return y(this, w === 0 ? 0 : w), this
			} : S == "delete" ? function(w) {
				return !(i && !On(w)) && y(this, w === 0 ? 0 : w)
			} : S == "get" ? function(w) {
				return i && !On(w) ? void 0 : y(this, w === 0 ? 0 : w)
			} : S == "has" ? function(w) {
				return !(i && !On(w)) && y(this, w === 0 ? 0 : w)
			} : function(w, b) {
				return y(this, w === 0 ? 0 : w, b), this
			})
		};
	if (J5(e, !ln(a) || !(i || s.forEach && !_n(function() {
			new a().entries().next()
		})))) u = n.getConstructor(t, e, r, o), Vd.enable();
	else if (J5(e, !0)) {
		var d = new u,
			p = d[o](i ? {} : -0, 1) != d,
			g = _n(function() {
				d.has(1)
			}),
			m = Pz(function(S) {
				new a(S)
			}),
			_ = !i && _n(function() {
				for (var S = new a, y = 5; y--;) S[o](y, y);
				return !S.has(-0)
			});
		m || ((u = t(function(S, y) {
			Dz(S, s);
			var w = function(b, E, T) {
				var O, R;
				return Ga && ln(O = E.constructor) && O !== T && On(R = O.prototype) && R !== T.prototype && Ga(b, R), b
			}(new a, S, u);
			return y != null && Nz(y, w[o], {
				that: w,
				AS_ENTRIES: r
			}), w
		})).prototype = s, s.constructor = u), (g || _) && (c("delete"), c("has"), r && c("get")), (_ || p) && c(o), i && s.clear && delete s.clear
	}
	l[e] = u, kr({
		global: !0,
		forced: u != a
	}, l), Bc(u, e), i || n.setStrong(u, e, r)
})("Set", function(e) {
	return function() {
		return e(this, arguments.length ? arguments[0] : void 0)
	}
}, Vye), Zv.Set;
var Bye = setTimeout,
	QP = typeof setImmediate < "u" ? setImmediate : null;

function eL(e) {
	return !!(e && e.length !== void 0)
}

function zye() {}

function yn(e) {
	if (!(this instanceof yn)) throw new TypeError("Promises must be constructed via new");
	if (typeof e != "function") throw new TypeError("not a function");
	this._state = 0, this._handled = !1, this._value = void 0, this._deferreds = [], Uz(e, this)
}

function jz(e, t) {
	for (; e._state === 3;) e = e._value;
	e._state !== 0 ? (e._handled = !0, yn._immediateFn(function() {
		var n = e._state === 1 ? t.onFulfilled : t.onRejected;
		if (n !== null) {
			var r;
			try {
				r = n(e._value)
			} catch (i) {
				return void qv(t.promise, i)
			}
			cC(t.promise, r)
		} else(e._state === 1 ? cC : qv)(t.promise, e._value)
	})) : e._deferreds.push(t)
}

function cC(e, t) {
	try {
		if (t === e) throw new TypeError("A promise cannot be resolved with itself.");
		if (t && (typeof t == "object" || typeof t == "function")) {
			var n = t.then;
			if (t instanceof yn) return e._state = 3, e._value = t, void fC(e);
			if (typeof n == "function") return void Uz((r = n, i = t, function() {
				r.apply(i, arguments)
			}), e)
		}
		e._state = 1, e._value = t, fC(e)
	} catch (o) {
		qv(e, o)
	}
	var r, i
}

function qv(e, t) {
	e._state = 2, e._value = t, fC(e)
}

function fC(e) {
	e._state === 2 && e._deferreds.length === 0 && yn._immediateFn(function() {
		e._handled || yn._unhandledRejectionFn(e._value)
	});
	for (var t = 0, n = e._deferreds.length; t < n; t++) jz(e, e._deferreds[t]);
	e._deferreds = null
}

function Gye(e, t, n) {
	this.onFulfilled = typeof e == "function" ? e : null, this.onRejected = typeof t == "function" ? t : null, this.promise = n
}

function Uz(e, t) {
	var n = !1;
	try {
		e(function(r) {
			n || (n = !0, cC(t, r))
		}, function(r) {
			n || (n = !0, qv(t, r))
		})
	} catch (r) {
		if (n) return;
		n = !0, qv(t, r)
	}
}
yn.prototype.catch = function(e) {
	return this.then(null, e)
}, yn.prototype.then = function(e, t) {
	var n = new this.constructor(zye);
	return jz(this, new Gye(e, t, n)), n
}, yn.prototype.finally = $z, yn.all = function(e) {
	return new yn(function(t, n) {
		if (!eL(e)) return n(new TypeError("Promise.all accepts an array"));
		var r = Array.prototype.slice.call(e);
		if (r.length === 0) return t([]);
		var i = r.length;

		function o(s, u) {
			try {
				if (u && (typeof u == "object" || typeof u == "function")) {
					var l = u.then;
					if (typeof l == "function") return void l.call(u, function(c) {
						o(s, c)
					}, n)
				}
				r[s] = u, --i == 0 && t(r)
			} catch (c) {
				n(c)
			}
		}
		for (var a = 0; a < r.length; a++) o(a, r[a])
	})
}, yn.allSettled = Fz, yn.resolve = function(e) {
	return e && typeof e == "object" && e.constructor === yn ? e : new yn(function(t) {
		t(e)
	})
}, yn.reject = function(e) {
	return new yn(function(t, n) {
		n(e)
	})
}, yn.race = function(e) {
	return new yn(function(t, n) {
		if (!eL(e)) return n(new TypeError("Promise.race accepts an array"));
		for (var r = 0, i = e.length; r < i; r++) yn.resolve(e[r]).then(t, n)
	})
}, yn._immediateFn = typeof QP == "function" && function(e) {
	QP(e)
} || function(e) {
	Bye(e, 0)
}, yn._unhandledRejectionFn = function(e) {
	typeof console < "u" && console && console.warn("Possible Unhandled Promise Rejection:", e)
};
var pd = function() {
	if (typeof self < "u") return self;
	if (typeof window < "u" || typeof window < "u") return window;
	throw new Error("unable to locate global object")
}();
typeof pd.Promise != "function" ? pd.Promise = yn : (pd.Promise.prototype.finally || (pd.Promise.prototype.finally = $z), pd.Promise.allSettled || (pd.Promise.allSettled = Fz)),
	function(e) {
		function t() {}

		function n(a, s) {
			if (a = a === void 0 ? "utf-8" : a, s = s === void 0 ? {
					fatal: !1
				} : s, i.indexOf(a.toLowerCase()) === -1) throw new RangeError("Failed to construct 'TextDecoder': The encoding label provided ('" + a + "') is invalid.");
			if (s.fatal) throw Error("Failed to construct 'TextDecoder': the 'fatal' option is unsupported.")
		}

		function r(a) {
			for (var s = 0, u = Math.min(65536, a.length + 1), l = new Uint16Array(u), c = [], d = 0;;) {
				var p = s < a.length;
				if (!p || d >= u - 1) {
					if (c.push(String.fromCharCode.apply(null, l.subarray(0, d))), !p) return c.join("");
					a = a.subarray(s), d = s = 0
				}
				if (!(128 & (p = a[s++]))) l[d++] = p;
				else if ((224 & p) == 192) {
					var g = 63 & a[s++];
					l[d++] = (31 & p) << 6 | g
				} else if ((240 & p) == 224) {
					g = 63 & a[s++];
					var m = 63 & a[s++];
					l[d++] = (31 & p) << 12 | g << 6 | m
				} else(248 & p) == 240 && (65535 < (p = (7 & p) << 18 | (g = 63 & a[s++]) << 12 | (m = 63 & a[s++]) << 6 | 63 & a[s++]) && (p -= 65536, l[d++] = p >>> 10 & 1023 | 55296, p = 56320 | 1023 & p), l[d++] = p)
			}
		}
		if (e.TextEncoder && e.TextDecoder) return !1;
		var i = ["utf-8", "utf8", "unicode-1-1-utf-8"];
		Object.defineProperty(t.prototype, "encoding", {
			value: "utf-8"
		}), t.prototype.encode = function(a, s) {
			if ((s = s === void 0 ? {
					stream: !1
				} : s).stream) throw Error("Failed to encode: the 'stream' option is unsupported.");
			s = 0;
			for (var u = a.length, l = 0, c = Math.max(32, u + (u >>> 1) + 7), d = new Uint8Array(c >>> 3 << 3); s < u;) {
				var p = a.charCodeAt(s++);
				if (55296 <= p && 56319 >= p) {
					if (s < u) {
						var g = a.charCodeAt(s);
						(64512 & g) == 56320 && (++s, p = ((1023 & p) << 10) + (1023 & g) + 65536)
					}
					if (55296 <= p && 56319 >= p) continue
				}
				if (l + 4 > d.length && (c += 8, c = (c *= 1 + s / a.length * 2) >>> 3 << 3, (g = new Uint8Array(c)).set(d), d = g), (4294967168 & p) == 0) d[l++] = p;
				else {
					if (!(4294965248 & p)) d[l++] = p >>> 6 & 31 | 192;
					else if (!(4294901760 & p)) d[l++] = p >>> 12 & 15 | 224, d[l++] = p >>> 6 & 63 | 128;
					else {
						if (4292870144 & p) continue;
						d[l++] = p >>> 18 & 7 | 240, d[l++] = p >>> 12 & 63 | 128, d[l++] = p >>> 6 & 63 | 128
					}
					d[l++] = 63 & p | 128
				}
			}
			return d.slice ? d.slice(0, l) : d.subarray(0, l)
		}, Object.defineProperty(n.prototype, "encoding", {
			value: "utf-8"
		}), Object.defineProperty(n.prototype, "fatal", {
			value: !1
		}), Object.defineProperty(n.prototype, "ignoreBOM", {
			value: !1
		});
		var o = r;
		typeof Buffer == "function" && Buffer.from ? o = function(a) {
			return Buffer.from(a.buffer, a.byteOffset, a.byteLength).toString("utf-8")
		} : typeof Blob == "function" && typeof URL == "function" && typeof URL.createObjectURL == "function" && (o = function(a) {
			var s = URL.createObjectURL(new Blob([a], {
				type: "text/plain;charset=UTF-8"
			}));
			try {
				var u = new XMLHttpRequest;
				return u.open("GET", s, !1), u.send(), u.responseText
			} catch (l) {
				return r(a)
			} finally {
				URL.revokeObjectURL(s)
			}
		}), n.prototype.decode = function(a, s) {
			if ((s = s === void 0 ? {
					stream: !1
				} : s).stream) throw Error("Failed to decode: the 'stream' option is unsupported.");
			return a = a instanceof Uint8Array ? a : a.buffer instanceof ArrayBuffer ? new Uint8Array(a.buffer) : new Uint8Array(a), o(a)
		}, e.TextEncoder = t, e.TextDecoder = n
	}(typeof window < "u" ? window : Na),
	function() {
		function e(S, y) {
			if (!(S instanceof y)) throw new TypeError("Cannot call a class as a function")
		}

		function t(S, y) {
			for (var w = 0; w < y.length; w++) {
				var b = y[w];
				b.enumerable = b.enumerable || !1, b.configurable = !0, "value" in b && (b.writable = !0), Object.defineProperty(S, b.key, b)
			}
		}

		function n(S, y, w) {
			return y && t(S.prototype, y), S
		}

		function r(S, y) {
			if (typeof y != "function" && y !== null) throw new TypeError("Super expression must either be null or a function");
			S.prototype = Object.create(y && y.prototype, {
				constructor: {
					value: S,
					writable: !0,
					configurable: !0
				}
			}), y && o(S, y)
		}

		function i(S) {
			return i = Object.setPrototypeOf ? Object.getPrototypeOf : function(y) {
				return y.__proto__ || Object.getPrototypeOf(y)
			}, i(S)
		}

		function o(S, y) {
			return o = Object.setPrototypeOf || function(w, b) {
				return w.__proto__ = b, w
			}, o(S, y)
		}

		function a() {
			if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
			if (typeof Proxy == "function") return !0;
			try {
				return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {})), !0
			} catch (S) {
				return !1
			}
		}

		function s(S) {
			if (S === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
			return S
		}

		function u(S, y) {
			return !y || typeof y != "object" && typeof y != "function" ? s(S) : y
		}

		function l(S) {
			var y = a();
			return function() {
				var w, b = i(S);
				if (y) {
					var E = i(this).constructor;
					w = Reflect.construct(b, arguments, E)
				} else w = b.apply(this, arguments);
				return u(this, w)
			}
		}

		function c(S, y) {
			for (; !Object.prototype.hasOwnProperty.call(S, y) && (S = i(S)) !== null;);
			return S
		}

		function d(S, y, w) {
			return d = typeof Reflect < "u" && Reflect.get ? Reflect.get : function(b, E, T) {
				var O = c(b, E);
				if (O) {
					var R = Object.getOwnPropertyDescriptor(O, E);
					return R.get ? R.get.call(T) : R.value
				}
			}, d(S, y, w || S)
		}
		var p = function() {
				function S() {
					e(this, S), Object.defineProperty(this, "listeners", {
						value: {},
						writable: !0,
						configurable: !0
					})
				}
				return n(S, [{
					key: "addEventListener",
					value: function(y, w, b) {
						y in this.listeners || (this.listeners[y] = []), this.listeners[y].push({
							callback: w,
							options: b
						})
					}
				}, {
					key: "removeEventListener",
					value: function(y, w) {
						if (y in this.listeners) {
							for (var b = this.listeners[y], E = 0, T = b.length; E < T; E++)
								if (b[E].callback === w) return void b.splice(E, 1)
						}
					}
				}, {
					key: "dispatchEvent",
					value: function(y) {
						if (y.type in this.listeners) {
							for (var w = this.listeners[y.type].slice(), b = 0, E = w.length; b < E; b++) {
								var T = w[b];
								try {
									T.callback.call(this, y)
								} catch (O) {
									Promise.resolve().then(function() {
										throw O
									})
								}
								T.options && T.options.once && this.removeEventListener(y.type, T.callback)
							}
							return !y.defaultPrevented
						}
					}
				}]), S
			}(),
			g = function(S) {
				r(w, S);
				var y = l(w);

				function w() {
					var b;
					return e(this, w), (b = y.call(this)).listeners || p.call(s(b)), Object.defineProperty(s(b), "aborted", {
						value: !1,
						writable: !0,
						configurable: !0
					}), Object.defineProperty(s(b), "onabort", {
						value: null,
						writable: !0,
						configurable: !0
					}), b
				}
				return n(w, [{
					key: "toString",
					value: function() {
						return "[object AbortSignal]"
					}
				}, {
					key: "dispatchEvent",
					value: function(b) {
						b.type === "abort" && (this.aborted = !0, typeof this.onabort == "function" && this.onabort.call(this, b)), d(i(w.prototype), "dispatchEvent", this).call(this, b)
					}
				}]), w
			}(p),
			m = function() {
				function S() {
					e(this, S), Object.defineProperty(this, "signal", {
						value: new g,
						writable: !0,
						configurable: !0
					})
				}
				return n(S, [{
					key: "abort",
					value: function() {
						var y;
						try {
							y = new Event("abort")
						} catch (w) {
							typeof document < "u" ? document.createEvent ? (y = document.createEvent("Event")).initEvent("abort", !1, !1) : (y = document.createEventObject()).type = "abort" : y = {
								type: "abort",
								bubbles: !1,
								cancelable: !1
							}
						}
						this.signal.dispatchEvent(y)
					}
				}, {
					key: "toString",
					value: function() {
						return "[object AbortController]"
					}
				}]), S
			}();

		function _(S) {
			return S.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL ? (console.log("__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill"), !0) : typeof S.Request == "function" && !S.Request.prototype.hasOwnProperty("signal") || !S.AbortController
		}
		typeof Symbol < "u" && Symbol.toStringTag && (m.prototype[Symbol.toStringTag] = "AbortController", g.prototype[Symbol.toStringTag] = "AbortSignal"),
			function(S) {
				_(S) && (S.AbortController = m, S.AbortSignal = g)
			}(typeof self < "u" ? self : Na)
	}();
var vc = _h(function(e, t) {
	Object.defineProperty(t, "__esModule", {
		value: !0
	});
	var n = function() {
		function r() {
			var i = this;
			this.locked = new Map, this.addToLocked = function(o, a) {
				var s = i.locked.get(o);
				s === void 0 ? a === void 0 ? i.locked.set(o, []) : i.locked.set(o, [a]) : a !== void 0 && (s.unshift(a), i.locked.set(o, s))
			}, this.isLocked = function(o) {
				return i.locked.has(o)
			}, this.lock = function(o) {
				return new Promise(function(a, s) {
					i.isLocked(o) ? i.addToLocked(o, a) : (i.addToLocked(o), a())
				})
			}, this.unlock = function(o) {
				var a = i.locked.get(o);
				if (a !== void 0 && a.length !== 0) {
					var s = a.pop();
					i.locked.set(o, a), s !== void 0 && setTimeout(s, 0)
				} else i.locked.delete(o)
			}
		}
		return r.getInstance = function() {
			return r.instance === void 0 && (r.instance = new r), r.instance
		}, r
	}();
	t.default = function() {
		return n.getInstance()
	}
});
k7(vc);
var Wye = _h(function(e, t) {
		var n = Na && Na.__awaiter || function(u, l, c, d) {
				return new(c || (c = Promise))(function(p, g) {
					function m(y) {
						try {
							S(d.next(y))
						} catch (w) {
							g(w)
						}
					}

					function _(y) {
						try {
							S(d.throw(y))
						} catch (w) {
							g(w)
						}
					}

					function S(y) {
						y.done ? p(y.value) : new c(function(w) {
							w(y.value)
						}).then(m, _)
					}
					S((d = d.apply(u, l || [])).next())
				})
			},
			r = Na && Na.__generator || function(u, l) {
				var c, d, p, g, m = {
					label: 0,
					sent: function() {
						if (1 & p[0]) throw p[1];
						return p[1]
					},
					trys: [],
					ops: []
				};
				return g = {
					next: _(0),
					throw: _(1),
					return: _(2)
				}, typeof Symbol == "function" && (g[Symbol.iterator] = function() {
					return this
				}), g;

				function _(S) {
					return function(y) {
						return function(w) {
							if (c) throw new TypeError("Generator is already executing.");
							for (; m;) try {
								if (c = 1, d && (p = 2 & w[0] ? d.return : w[0] ? d.throw || ((p = d.return) && p.call(d), 0) : d.next) && !(p = p.call(d, w[1])).done) return p;
								switch (d = 0, p && (w = [2 & w[0], p.value]), w[0]) {
									case 0:
									case 1:
										p = w;
										break;
									case 4:
										return m.label++, {
											value: w[1],
											done: !1
										};
									case 5:
										m.label++, d = w[1], w = [0];
										continue;
									case 7:
										w = m.ops.pop(), m.trys.pop();
										continue;
									default:
										if (p = m.trys, !((p = p.length > 0 && p[p.length - 1]) || w[0] !== 6 && w[0] !== 2)) {
											m = 0;
											continue
										}
										if (w[0] === 3 && (!p || w[1] > p[0] && w[1] < p[3])) {
											m.label = w[1];
											break
										}
										if (w[0] === 6 && m.label < p[1]) {
											m.label = p[1], p = w;
											break
										}
										if (p && m.label < p[2]) {
											m.label = p[2], m.ops.push(w);
											break
										}
										p[2] && m.ops.pop(), m.trys.pop();
										continue
								}
								w = l.call(u, m)
							} catch (b) {
								w = [6, b], d = 0
							} finally {
								c = p = 0
							}
							if (5 & w[0]) throw w[1];
							return {
								value: w[0] ? w[1] : void 0,
								done: !0
							}
						}([S, y])
					}
				}
			};
		Object.defineProperty(t, "__esModule", {
			value: !0
		});
		var i = "browser-tabs-lock-key";

		function o(u) {
			return new Promise(function(l) {
				return setTimeout(l, u)
			})
		}

		function a(u) {
			for (var l = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz", c = "", d = 0; d < u; d++) c += l[Math.floor(Math.random() * l.length)];
			return c
		}
		var s = function() {
			function u() {
				this.acquiredIatSet = new Set, this.id = Date.now().toString() + a(15), this.acquireLock = this.acquireLock.bind(this), this.releaseLock = this.releaseLock.bind(this), this.releaseLock__private__ = this.releaseLock__private__.bind(this), this.waitForSomethingToChange = this.waitForSomethingToChange.bind(this), this.refreshLockWhileAcquired = this.refreshLockWhileAcquired.bind(this), u.waiters === void 0 && (u.waiters = [])
			}
			return u.prototype.acquireLock = function(l, c) {
				return c === void 0 && (c = 5e3), n(this, void 0, void 0, function() {
					var d, p, g, m, _, S;
					return r(this, function(y) {
						switch (y.label) {
							case 0:
								d = Date.now() + a(4), p = Date.now() + c, g = i + "-" + l, m = window.localStorage, y.label = 1;
							case 1:
								return Date.now() < p ? [4, o(30)] : [3, 8];
							case 2:
								return y.sent(), m.getItem(g) !== null ? [3, 5] : (_ = this.id + "-" + l + "-" + d, [4, o(Math.floor(25 * Math.random()))]);
							case 3:
								return y.sent(), m.setItem(g, JSON.stringify({
									id: this.id,
									iat: d,
									timeoutKey: _,
									timeAcquired: Date.now(),
									timeRefreshed: Date.now()
								})), [4, o(30)];
							case 4:
								return y.sent(), (S = m.getItem(g)) !== null && (S = JSON.parse(S)).id === this.id && S.iat === d ? (this.acquiredIatSet.add(d), this.refreshLockWhileAcquired(g, d), [2, !0]) : [3, 7];
							case 5:
								return u.lockCorrector(), [4, this.waitForSomethingToChange(p)];
							case 6:
								y.sent(), y.label = 7;
							case 7:
								return d = Date.now() + a(4), [3, 1];
							case 8:
								return [2, !1]
						}
					})
				})
			}, u.prototype.refreshLockWhileAcquired = function(l, c) {
				return n(this, void 0, void 0, function() {
					var d = this;
					return r(this, function(p) {
						return setTimeout(function() {
							return n(d, void 0, void 0, function() {
								var g, m;
								return r(this, function(_) {
									switch (_.label) {
										case 0:
											return [4, vc.default().lock(c)];
										case 1:
											return _.sent(), this.acquiredIatSet.has(c) ? (g = window.localStorage, (m = g.getItem(l)) === null ? (vc.default().unlock(c), [2]) : ((m = JSON.parse(m)).timeRefreshed = Date.now(), g.setItem(l, JSON.stringify(m)), vc.default().unlock(c), this.refreshLockWhileAcquired(l, c), [2])) : (vc.default().unlock(c), [2])
									}
								})
							})
						}, 1e3), [2]
					})
				})
			}, u.prototype.waitForSomethingToChange = function(l) {
				return n(this, void 0, void 0, function() {
					return r(this, function(c) {
						switch (c.label) {
							case 0:
								return [4, new Promise(function(d) {
									var p = !1,
										g = Date.now(),
										m = !1;

									function _() {
										if (m || (window.removeEventListener("storage", _), u.removeFromWaiting(_), clearTimeout(S), m = !0), !p) {
											p = !0;
											var y = 50 - (Date.now() - g);
											y > 0 ? setTimeout(d, y) : d()
										}
									}
									window.addEventListener("storage", _), u.addToWaiting(_);
									var S = setTimeout(_, Math.max(0, l - Date.now()))
								})];
							case 1:
								return c.sent(), [2]
						}
					})
				})
			}, u.addToWaiting = function(l) {
				this.removeFromWaiting(l), u.waiters !== void 0 && u.waiters.push(l)
			}, u.removeFromWaiting = function(l) {
				u.waiters !== void 0 && (u.waiters = u.waiters.filter(function(c) {
					return c !== l
				}))
			}, u.notifyWaiters = function() {
				u.waiters !== void 0 && u.waiters.slice().forEach(function(l) {
					return l()
				})
			}, u.prototype.releaseLock = function(l) {
				return n(this, void 0, void 0, function() {
					return r(this, function(c) {
						switch (c.label) {
							case 0:
								return [4, this.releaseLock__private__(l)];
							case 1:
								return [2, c.sent()]
						}
					})
				})
			}, u.prototype.releaseLock__private__ = function(l) {
				return n(this, void 0, void 0, function() {
					var c, d, p;
					return r(this, function(g) {
						switch (g.label) {
							case 0:
								return c = window.localStorage, d = i + "-" + l, (p = c.getItem(d)) === null ? [2] : (p = JSON.parse(p)).id !== this.id ? [3, 2] : [4, vc.default().lock(p.iat)];
							case 1:
								g.sent(), this.acquiredIatSet.delete(p.iat), c.removeItem(d), vc.default().unlock(p.iat), u.notifyWaiters(), g.label = 2;
							case 2:
								return [2]
						}
					})
				})
			}, u.lockCorrector = function() {
				for (var l = Date.now() - 5e3, c = window.localStorage, d = Object.keys(c), p = !1, g = 0; g < d.length; g++) {
					var m = d[g];
					if (m.includes(i)) {
						var _ = c.getItem(m);
						_ !== null && ((_ = JSON.parse(_)).timeRefreshed === void 0 && _.timeAcquired < l || _.timeRefreshed !== void 0 && _.timeRefreshed < l) && (c.removeItem(m), p = !0)
					}
				}
				p && u.notifyWaiters()
			}, u.waiters = void 0, u
		}();
		t.default = s
	}),
	Kye = k7(Wye),
	Zye = {
		timeoutInSeconds: 60
	},
	qye = ["login_required", "consent_required", "interaction_required", "account_selection_required", "access_denied"],
	Hz = {
		name: "auth0-spa-js",
		version: "1.21.0"
	},
	Vz = function() {
		return Date.now()
	},
	ml = function(e) {
		function t(n, r) {
			var i = e.call(this, r) || this;
			return i.error = n, i.error_description = r, Object.setPrototypeOf(i, t.prototype), i
		}
		return wh(t, e), t.fromPayload = function(n) {
			return new t(n.error, n.error_description)
		}, t
	}(Error),
	Yye = function(e) {
		function t(n, r, i, o) {
			o === void 0 && (o = null);
			var a = e.call(this, n, r) || this;
			return a.state = i, a.appState = o, Object.setPrototypeOf(a, t.prototype), a
		}
		return wh(t, e), t
	}(ml),
	dC = function(e) {
		function t() {
			var n = e.call(this, "timeout", "Timeout") || this;
			return Object.setPrototypeOf(n, t.prototype), n
		}
		return wh(t, e), t
	}(ml),
	Xye = function(e) {
		function t(n) {
			var r = e.call(this) || this;
			return r.popup = n, Object.setPrototypeOf(r, t.prototype), r
		}
		return wh(t, e), t
	}(dC),
	Jye = function(e) {
		function t(n) {
			var r = e.call(this, "cancelled", "Popup closed") || this;
			return r.popup = n, Object.setPrototypeOf(r, t.prototype), r
		}
		return wh(t, e), t
	}(ml),
	Qye = function(e) {
		function t(n, r, i) {
			var o = e.call(this, n, r) || this;
			return o.mfa_token = i, Object.setPrototypeOf(o, t.prototype), o
		}
		return wh(t, e), t
	}(ml),
	e2e = function(e) {
		return new Promise(function(t, n) {
			var r, i = setInterval(function() {
					e.popup && e.popup.closed && (clearInterval(i), clearTimeout(o), window.removeEventListener("message", r, !1), n(new Jye(e.popup)))
				}, 1e3),
				o = setTimeout(function() {
					clearInterval(i), n(new Xye(e.popup)), window.removeEventListener("message", r, !1)
				}, 1e3 * (e.timeoutInSeconds || 60));
			r = function(a) {
				if (a.data && a.data.type === "authorization_response") {
					if (clearTimeout(o), clearInterval(i), window.removeEventListener("message", r, !1), e.popup.close(), a.data.response.error) return n(ml.fromPayload(a.data.response));
					t(a.data.response)
				}
			}, window.addEventListener("message", r)
		})
	},
	q7 = function() {
		return window.crypto || window.msCrypto
	},
	Bz = function() {
		var e = q7();
		return e.subtle || e.webkitSubtle
	},
	hs = function() {
		var e = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_~.",
			t = "";
		return Array.from(q7().getRandomValues(new Uint8Array(43))).forEach(function(n) {
			return t += e[n % e.length]
		}), t
	},
	hd = function(e) {
		return btoa(e)
	},
	pC = function(e) {
		return Object.keys(e).filter(function(t) {
			return e[t] !== void 0
		}).map(function(t) {
			return encodeURIComponent(t) + "=" + encodeURIComponent(e[t])
		}).join("&")
	},
	W3 = function(e) {
		return kt(void 0, void 0, void 0, function() {
			var t;
			return At(this, function(n) {
				switch (n.label) {
					case 0:
						return t = Bz().digest({
							name: "SHA-256"
						}, new TextEncoder().encode(e)), window.msCrypto ? [2, new Promise(function(r, i) {
							t.oncomplete = function(o) {
								r(o.target.result)
							}, t.onerror = function(o) {
								i(o.error)
							}, t.onabort = function() {
								i("The digest operation was aborted")
							}
						})] : [4, t];
					case 1:
						return [2, n.sent()]
				}
			})
		})
	},
	tL = function(e) {
		return function(t) {
			return decodeURIComponent(atob(t).split("").map(function(n) {
				return "%" + ("00" + n.charCodeAt(0).toString(16)).slice(-2)
			}).join(""))
		}(e.replace(/_/g, "/").replace(/-/g, "+"))
	},
	K3 = function(e) {
		var t = new Uint8Array(e);
		return function(n) {
			var r = {
				"+": "-",
				"/": "_",
				"=": ""
			};
			return n.replace(/[+/=]/g, function(i) {
				return r[i]
			})
		}(window.btoa(String.fromCharCode.apply(String, K5([], Dp(Array.from(t)), !1))))
	},
	t2e = function(e, t) {
		return kt(void 0, void 0, void 0, function() {
			var n, r;
			return At(this, function(i) {
				switch (i.label) {
					case 0:
						return [4, (o = e, a = t, a = a || {}, new Promise(function(s, u) {
							var l = new XMLHttpRequest,
								c = [],
								d = [],
								p = {},
								g = function() {
									return {
										ok: (l.status / 100 | 0) == 2,
										statusText: l.statusText,
										status: l.status,
										url: l.responseURL,
										text: function() {
											return Promise.resolve(l.responseText)
										},
										json: function() {
											return Promise.resolve(l.responseText).then(JSON.parse)
										},
										blob: function() {
											return Promise.resolve(new Blob([l.response]))
										},
										clone: g,
										headers: {
											keys: function() {
												return c
											},
											entries: function() {
												return d
											},
											get: function(_) {
												return p[_.toLowerCase()]
											},
											has: function(_) {
												return _.toLowerCase() in p
											}
										}
									}
								};
							for (var m in l.open(a.method || "get", o, !0), l.onload = function() {
									l.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm, function(_, S, y) {
										c.push(S = S.toLowerCase()), d.push([S, y]), p[S] = p[S] ? p[S] + "," + y : y
									}), s(g())
								}, l.onerror = u, l.withCredentials = a.credentials == "include", a.headers) l.setRequestHeader(m, a.headers[m]);
							l.send(a.body || null)
						}))];
					case 1:
						return n = i.sent(), r = {
							ok: n.ok
						}, [4, n.json()];
					case 2:
						return [2, (r.json = i.sent(), r)]
				}
				var o, a
			})
		})
	},
	n2e = function(e, t, n) {
		return kt(void 0, void 0, void 0, function() {
			var r, i;
			return At(this, function(o) {
				return r = new AbortController, t.signal = r.signal, [2, Promise.race([t2e(e, t), new Promise(function(a, s) {
					i = setTimeout(function() {
						r.abort(), s(new Error("Timeout when executing 'fetch'"))
					}, n)
				})]).finally(function() {
					clearTimeout(i)
				})]
			})
		})
	},
	r2e = function(e, t, n, r, i, o, a) {
		return kt(void 0, void 0, void 0, function() {
			return At(this, function(s) {
				return [2, (u = {
					auth: {
						audience: t,
						scope: n
					},
					timeout: i,
					fetchUrl: e,
					fetchOptions: r,
					useFormData: a
				}, l = o, new Promise(function(c, d) {
					var p = new MessageChannel;
					p.port1.onmessage = function(g) {
						g.data.error ? d(new Error(g.data.error)) : c(g.data)
					}, l.postMessage(u, [p.port2])
				}))];
				var u, l
			})
		})
	},
	i2e = function(e, t, n, r, i, o, a) {
		return a === void 0 && (a = 1e4), kt(void 0, void 0, void 0, function() {
			return At(this, function(s) {
				return i ? [2, r2e(e, t, n, r, a, i, o)] : [2, n2e(e, r, a)]
			})
		})
	};

function o2e(e, t, n, r, i, o, a) {
	return kt(this, void 0, void 0, function() {
		var s, u, l, c, d, p, g, m, _;
		return At(this, function(S) {
			switch (S.label) {
				case 0:
					s = null, l = 0, S.label = 1;
				case 1:
					if (!(l < 3)) return [3, 6];
					S.label = 2;
				case 2:
					return S.trys.push([2, 4, , 5]), [4, i2e(e, n, r, i, o, a, t)];
				case 3:
					return u = S.sent(), s = null, [3, 6];
				case 4:
					return c = S.sent(), s = c, [3, 5];
				case 5:
					return l++, [3, 1];
				case 6:
					if (s) throw s.message = s.message || "Failed to fetch", s;
					if (d = u.json, p = d.error, g = d.error_description, m = ui(d, ["error", "error_description"]), !u.ok) throw _ = g || "HTTP error. Unable to fetch ".concat(e), p === "mfa_required" ? new Qye(p, _, m.mfa_token) : new ml(p || "request_error", _);
					return [2, m]
			}
		})
	})
}

function Gm(e, t) {
	var n = e.baseUrl,
		r = e.timeout,
		i = e.audience,
		o = e.scope,
		a = e.auth0Client,
		s = e.useFormData,
		u = ui(e, ["baseUrl", "timeout", "audience", "scope", "auth0Client", "useFormData"]);
	return kt(this, void 0, void 0, function() {
		var l;
		return At(this, function(c) {
			switch (c.label) {
				case 0:
					return l = s ? pC(u) : JSON.stringify(u), [4, o2e("".concat(n, "/oauth/token"), r, i || "default", o, {
						method: "POST",
						body: l,
						headers: {
							"Content-Type": s ? "application/x-www-form-urlencoded" : "application/json",
							"Auth0-Client": btoa(JSON.stringify(a || Hz))
						}
					}, t, s)];
				case 1:
					return [2, c.sent()]
			}
		})
	})
}
var a2e = function(e) {
		return Array.from(new Set(e))
	},
	xu = function() {
		for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
		return a2e(e.join(" ").trim().split(/\s+/)).join(" ")
	},
	yc = function() {
		function e(t, n) {
			n === void 0 && (n = "@@auth0spajs@@"), this.prefix = n, this.client_id = t.client_id, this.scope = t.scope, this.audience = t.audience
		}
		return e.prototype.toKey = function() {
			return "".concat(this.prefix, "::").concat(this.client_id, "::").concat(this.audience, "::").concat(this.scope)
		}, e.fromKey = function(t) {
			var n = Dp(t.split("::"), 4),
				r = n[0],
				i = n[1],
				o = n[2];
			return new e({
				client_id: i,
				scope: n[3],
				audience: o
			}, r)
		}, e.fromCacheEntry = function(t) {
			return new e({
				scope: t.scope,
				audience: t.audience,
				client_id: t.client_id
			})
		}, e
	}(),
	s2e = function() {
		function e() {}
		return e.prototype.set = function(t, n) {
			localStorage.setItem(t, JSON.stringify(n))
		}, e.prototype.get = function(t) {
			var n = window.localStorage.getItem(t);
			if (n) try {
				return JSON.parse(n)
			} catch (r) {
				return
			}
		}, e.prototype.remove = function(t) {
			localStorage.removeItem(t)
		}, e.prototype.allKeys = function() {
			return Object.keys(window.localStorage).filter(function(t) {
				return t.startsWith("@@auth0spajs@@")
			})
		}, e
	}(),
	u2e = function() {
		var e;
		this.enclosedCache = (e = {}, {
			set: function(t, n) {
				e[t] = n
			},
			get: function(t) {
				var n = e[t];
				if (n) return n
			},
			remove: function(t) {
				delete e[t]
			},
			allKeys: function() {
				return Object.keys(e)
			}
		})
	},
	l2e = function() {
		function e(t, n, r) {
			this.cache = t, this.keyManifest = n, this.nowProvider = r, this.nowProvider = this.nowProvider || Vz
		}
		return e.prototype.get = function(t, n) {
			var r;
			return n === void 0 && (n = 0), kt(this, void 0, void 0, function() {
				var i, o, a, s, u;
				return At(this, function(l) {
					switch (l.label) {
						case 0:
							return [4, this.cache.get(t.toKey())];
						case 1:
							return (i = l.sent()) ? [3, 4] : [4, this.getCacheKeys()];
						case 2:
							return (o = l.sent()) ? (a = this.matchExistingCacheKey(t, o)) ? [4, this.cache.get(a)] : [3, 4] : [2];
						case 3:
							i = l.sent(), l.label = 4;
						case 4:
							return i ? [4, this.nowProvider()] : [2];
						case 5:
							return s = l.sent(), u = Math.floor(s / 1e3), i.expiresAt - n < u ? i.body.refresh_token ? (i.body = {
								refresh_token: i.body.refresh_token
							}, [4, this.cache.set(t.toKey(), i)]) : [3, 7] : [3, 10];
						case 6:
							return l.sent(), [2, i.body];
						case 7:
							return [4, this.cache.remove(t.toKey())];
						case 8:
							return l.sent(), [4, (r = this.keyManifest) === null || r === void 0 ? void 0 : r.remove(t.toKey())];
						case 9:
							return l.sent(), [2];
						case 10:
							return [2, i.body]
					}
				})
			})
		}, e.prototype.set = function(t) {
			var n;
			return kt(this, void 0, void 0, function() {
				var r, i;
				return At(this, function(o) {
					switch (o.label) {
						case 0:
							return r = new yc({
								client_id: t.client_id,
								scope: t.scope,
								audience: t.audience
							}), [4, this.wrapCacheEntry(t)];
						case 1:
							return i = o.sent(), [4, this.cache.set(r.toKey(), i)];
						case 2:
							return o.sent(), [4, (n = this.keyManifest) === null || n === void 0 ? void 0 : n.add(r.toKey())];
						case 3:
							return o.sent(), [2]
					}
				})
			})
		}, e.prototype.clear = function(t) {
			var n;
			return kt(this, void 0, void 0, function() {
				var r, i = this;
				return At(this, function(o) {
					switch (o.label) {
						case 0:
							return [4, this.getCacheKeys()];
						case 1:
							return (r = o.sent()) ? [4, r.filter(function(a) {
								return !t || a.includes(t)
							}).reduce(function(a, s) {
								return kt(i, void 0, void 0, function() {
									return At(this, function(u) {
										switch (u.label) {
											case 0:
												return [4, a];
											case 1:
												return u.sent(), [4, this.cache.remove(s)];
											case 2:
												return u.sent(), [2]
										}
									})
								})
							}, Promise.resolve())] : [2];
						case 2:
							return o.sent(), [4, (n = this.keyManifest) === null || n === void 0 ? void 0 : n.clear()];
						case 3:
							return o.sent(), [2]
					}
				})
			})
		}, e.prototype.clearSync = function(t) {
			var n = this,
				r = this.cache.allKeys();
			r && r.filter(function(i) {
				return !t || i.includes(t)
			}).forEach(function(i) {
				n.cache.remove(i)
			})
		}, e.prototype.wrapCacheEntry = function(t) {
			return kt(this, void 0, void 0, function() {
				var n, r, i;
				return At(this, function(o) {
					switch (o.label) {
						case 0:
							return [4, this.nowProvider()];
						case 1:
							return n = o.sent(), r = Math.floor(n / 1e3) + t.expires_in, i = Math.min(r, t.decodedToken.claims.exp), [2, {
								body: t,
								expiresAt: i
							}]
					}
				})
			})
		}, e.prototype.getCacheKeys = function() {
			var t;
			return kt(this, void 0, void 0, function() {
				var n;
				return At(this, function(r) {
					switch (r.label) {
						case 0:
							return this.keyManifest ? [4, this.keyManifest.get()] : [3, 2];
						case 1:
							return n = (t = r.sent()) === null || t === void 0 ? void 0 : t.keys, [3, 4];
						case 2:
							return [4, this.cache.allKeys()];
						case 3:
							n = r.sent(), r.label = 4;
						case 4:
							return [2, n]
					}
				})
			})
		}, e.prototype.matchExistingCacheKey = function(t, n) {
			return n.filter(function(r) {
				var i = yc.fromKey(r),
					o = new Set(i.scope && i.scope.split(" ")),
					a = t.scope.split(" "),
					s = i.scope && a.reduce(function(u, l) {
						return u && o.has(l)
					}, !0);
				return i.prefix === "@@auth0spajs@@" && i.client_id === t.client_id && i.audience === t.audience && s
			})[0]
		}, e
	}(),
	c2e = function() {
		function e(t, n) {
			this.storage = t, this.clientId = n, this.storageKey = "".concat("a0.spajs.txs", ".").concat(this.clientId), this.transaction = this.storage.get(this.storageKey)
		}
		return e.prototype.create = function(t) {
			this.transaction = t, this.storage.save(this.storageKey, t, {
				daysUntilExpire: 1
			})
		}, e.prototype.get = function() {
			return this.transaction
		}, e.prototype.remove = function() {
			delete this.transaction, this.storage.remove(this.storageKey)
		}, e
	}(),
	k0 = function(e) {
		return typeof e == "number"
	},
	f2e = ["iss", "aud", "exp", "nbf", "iat", "jti", "azp", "nonce", "auth_time", "at_hash", "c_hash", "acr", "amr", "sub_jwk", "cnf", "sip_from_tag", "sip_date", "sip_callid", "sip_cseq_num", "sip_via_branch", "orig", "dest", "mky", "events", "toe", "txn", "rph", "sid", "vot", "vtm"],
	d2e = function(e) {
		if (!e.id_token) throw new Error("ID token is required but missing");
		var t = function(s) {
			var u = s.split("."),
				l = Dp(u, 3),
				c = l[0],
				d = l[1],
				p = l[2];
			if (u.length !== 3 || !c || !d || !p) throw new Error("ID token could not be decoded");
			var g = JSON.parse(tL(d)),
				m = {
					__raw: s
				},
				_ = {};
			return Object.keys(g).forEach(function(S) {
				m[S] = g[S], f2e.includes(S) || (_[S] = g[S])
			}), {
				encoded: {
					header: c,
					payload: d,
					signature: p
				},
				header: JSON.parse(tL(c)),
				claims: m,
				user: _
			}
		}(e.id_token);
		if (!t.claims.iss) throw new Error("Issuer (iss) claim must be a string present in the ID token");
		if (t.claims.iss !== e.iss) throw new Error('Issuer (iss) claim mismatch in the ID token; expected "'.concat(e.iss, '", found "').concat(t.claims.iss, '"'));
		if (!t.user.sub) throw new Error("Subject (sub) claim must be a string present in the ID token");
		if (t.header.alg !== "RS256") throw new Error('Signature algorithm of "'.concat(t.header.alg, '" is not supported. Expected the ID token to be signed with "RS256".'));
		if (!t.claims.aud || typeof t.claims.aud != "string" && !Array.isArray(t.claims.aud)) throw new Error("Audience (aud) claim must be a string or array of strings present in the ID token");
		if (Array.isArray(t.claims.aud)) {
			if (!t.claims.aud.includes(e.aud)) throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(e.aud, '" but was not one of "').concat(t.claims.aud.join(", "), '"'));
			if (t.claims.aud.length > 1) {
				if (!t.claims.azp) throw new Error("Authorized Party (azp) claim must be a string present in the ID token when Audience (aud) claim has multiple values");
				if (t.claims.azp !== e.aud) throw new Error('Authorized Party (azp) claim mismatch in the ID token; expected "'.concat(e.aud, '", found "').concat(t.claims.azp, '"'))
			}
		} else if (t.claims.aud !== e.aud) throw new Error('Audience (aud) claim mismatch in the ID token; expected "'.concat(e.aud, '" but found "').concat(t.claims.aud, '"'));
		if (e.nonce) {
			if (!t.claims.nonce) throw new Error("Nonce (nonce) claim must be a string present in the ID token");
			if (t.claims.nonce !== e.nonce) throw new Error('Nonce (nonce) claim mismatch in the ID token; expected "'.concat(e.nonce, '", found "').concat(t.claims.nonce, '"'))
		}
		if (e.max_age && !k0(t.claims.auth_time)) throw new Error("Authentication Time (auth_time) claim must be a number present in the ID token when Max Age (max_age) is specified");
		if (!k0(t.claims.exp)) throw new Error("Expiration Time (exp) claim must be a number present in the ID token");
		if (!k0(t.claims.iat)) throw new Error("Issued At (iat) claim must be a number present in the ID token");
		var n = e.leeway || 60,
			r = new Date(e.now || Date.now()),
			i = new Date(0),
			o = new Date(0),
			a = new Date(0);
		if (a.setUTCSeconds(parseInt(t.claims.auth_time) + e.max_age + n), i.setUTCSeconds(t.claims.exp + n), o.setUTCSeconds(t.claims.nbf - n), r > i) throw new Error("Expiration Time (exp) claim error in the ID token; current time (".concat(r, ") is after expiration time (").concat(i, ")"));
		if (k0(t.claims.nbf) && r < o) throw new Error("Not Before time (nbf) claim in the ID token indicates that this token can't be used just yet. Currrent time (".concat(r, ") is before ").concat(o));
		if (k0(t.claims.auth_time) && r > a) throw new Error("Authentication Time (auth_time) claim in the ID token indicates that too much time has passed since the last end-user authentication. Currrent time (".concat(r, ") is after last auth at ").concat(a));
		if (e.organizationId) {
			if (!t.claims.org_id) throw new Error("Organization ID (org_id) claim must be a string present in the ID token");
			if (e.organizationId !== t.claims.org_id) throw new Error('Organization ID (org_id) claim mismatch in the ID token; expected "'.concat(e.organizationId, '", found "').concat(t.claims.org_id, '"'))
		}
		return t
	},
	kc = _h(function(e, t) {
		var n = Na && Na.__assign || function() {
			return n = Object.assign || function(u) {
				for (var l, c = 1, d = arguments.length; c < d; c++)
					for (var p in l = arguments[c]) Object.prototype.hasOwnProperty.call(l, p) && (u[p] = l[p]);
				return u
			}, n.apply(this, arguments)
		};

		function r(u, l) {
			if (!l) return "";
			var c = "; " + u;
			return l === !0 ? c : c + "=" + l
		}

		function i(u, l, c) {
			return encodeURIComponent(u).replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent).replace(/\(/g, "%28").replace(/\)/g, "%29") + "=" + encodeURIComponent(l).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent) + function(d) {
				if (typeof d.expires == "number") {
					var p = new Date;
					p.setMilliseconds(p.getMilliseconds() + 864e5 * d.expires), d.expires = p
				}
				return r("Expires", d.expires ? d.expires.toUTCString() : "") + r("Domain", d.domain) + r("Path", d.path) + r("Secure", d.secure) + r("SameSite", d.sameSite)
			}(c)
		}

		function o(u) {
			for (var l = {}, c = u ? u.split("; ") : [], d = /(%[\dA-F]{2})+/gi, p = 0; p < c.length; p++) {
				var g = c[p].split("="),
					m = g.slice(1).join("=");
				m.charAt(0) === '"' && (m = m.slice(1, -1));
				try {
					l[g[0].replace(d, decodeURIComponent)] = m.replace(d, decodeURIComponent)
				} catch (_) {}
			}
			return l
		}

		function a() {
			return o(document.cookie)
		}

		function s(u, l, c) {
			document.cookie = i(u, l, n({
				path: "/"
			}, c))
		}
		t.__esModule = !0, t.encode = i, t.parse = o, t.getAll = a, t.get = function(u) {
			return a()[u]
		}, t.set = s, t.remove = function(u, l) {
			s(u, "", n(n({}, l), {
				expires: -1
			}))
		}
	});
k7(kc), kc.encode, kc.parse, kc.getAll;
var p2e = kc.get,
	zz = kc.set,
	h2e = kc.remove,
	Cd = {
		get: function(e) {
			var t = p2e(e);
			if (t !== void 0) return JSON.parse(t)
		},
		save: function(e, t, n) {
			var r = {};
			window.location.protocol === "https:" && (r = {
				secure: !0,
				sameSite: "none"
			}), n != null && n.daysUntilExpire && (r.expires = n.daysUntilExpire), n != null && n.cookieDomain && (r.domain = n.cookieDomain), zz(e, JSON.stringify(t), r)
		},
		remove: function(e) {
			h2e(e)
		}
	},
	v2e = {
		get: function(e) {
			var t = Cd.get(e);
			return t || Cd.get("".concat("_legacy_").concat(e))
		},
		save: function(e, t, n) {
			var r = {};
			window.location.protocol === "https:" && (r = {
				secure: !0
			}), n != null && n.daysUntilExpire && (r.expires = n.daysUntilExpire), zz("".concat("_legacy_").concat(e), JSON.stringify(t), r), Cd.save(e, t, n)
		},
		remove: function(e) {
			Cd.remove(e), Cd.remove("".concat("_legacy_").concat(e))
		}
	},
	g2e = {
		get: function(e) {
			if (typeof sessionStorage < "u") {
				var t = sessionStorage.getItem(e);
				if (t !== void 0) return JSON.parse(t)
			}
		},
		save: function(e, t) {
			sessionStorage.setItem(e, JSON.stringify(t))
		},
		remove: function(e) {
			sessionStorage.removeItem(e)
		}
	};

function m2e(e, t, n) {
	var r = t === void 0 ? null : t,
		i = function(u, l) {
			var c = atob(u);
			if (l) {
				for (var d = new Uint8Array(c.length), p = 0, g = c.length; p < g; ++p) d[p] = c.charCodeAt(p);
				return String.fromCharCode.apply(null, new Uint16Array(d.buffer))
			}
			return c
		}(e, n !== void 0 && n),
		o = i.indexOf("\n", 10) + 1,
		a = i.substring(o) + (r ? "//# sourceMappingURL=" + r : ""),
		s = new Blob([a], {
			type: "application/javascript"
		});
	return URL.createObjectURL(s)
}
var nL, rL, iL, Z3, y2e = (nL = " ", rL = null, iL = !1, function(e) {
		return Z3 = Z3 || m2e(nL, rL, iL), new Worker(Z3, e)
	}),
	q3 = {},
	w2e = function() {
		function e(t, n) {
			this.cache = t, this.clientId = n, this.manifestKey = this.createManifestKeyFrom(this.clientId)
		}
		return e.prototype.add = function(t) {
			var n;
			return kt(this, void 0, void 0, function() {
				var r, i;
				return At(this, function(o) {
					switch (o.label) {
						case 0:
							return i = Set.bind, [4, this.cache.get(this.manifestKey)];
						case 1:
							return (r = new(i.apply(Set, [void 0, ((n = o.sent()) === null || n === void 0 ? void 0 : n.keys) || []]))).add(t), [4, this.cache.set(this.manifestKey, {
								keys: K5([], Dp(r), !1)
							})];
						case 2:
							return o.sent(), [2]
					}
				})
			})
		}, e.prototype.remove = function(t) {
			return kt(this, void 0, void 0, function() {
				var n, r;
				return At(this, function(i) {
					switch (i.label) {
						case 0:
							return [4, this.cache.get(this.manifestKey)];
						case 1:
							return (n = i.sent()) ? ((r = new Set(n.keys)).delete(t), r.size > 0 ? [4, this.cache.set(this.manifestKey, {
								keys: K5([], Dp(r), !1)
							})] : [3, 3]) : [3, 5];
						case 2:
						case 4:
							return [2, i.sent()];
						case 3:
							return [4, this.cache.remove(this.manifestKey)];
						case 5:
							return [2]
					}
				})
			})
		}, e.prototype.get = function() {
			return this.cache.get(this.manifestKey)
		}, e.prototype.clear = function() {
			return this.cache.remove(this.manifestKey)
		}, e.prototype.createManifestKeyFrom = function(t) {
			return "".concat("@@auth0spajs@@", "::").concat(t)
		}, e
	}(),
	oL = new Kye,
	_2e = {
		memory: function() {
			return new u2e().enclosedCache
		},
		localstorage: function() {
			return new s2e
		}
	},
	aL = function(e) {
		return _2e[e]
	},
	b2e = function() {
		return !/Trident.*rv:11\.0/.test(navigator.userAgent)
	},
	S2e = function() {
		function e(t) {
			var n, r, i, o;
			if (this.options = t, typeof window < "u" && function() {
					if (!q7()) throw new Error("For security reasons, `window.crypto` is required to run `auth0-spa-js`.");
					if (Bz() === void 0) throw new Error("\n      auth0-spa-js must run on a secure origin. See https://github.com/auth0/auth0-spa-js/blob/master/FAQ.md#why-do-i-get-auth0-spa-js-must-run-on-a-secure-origin for more information.\n    ")
				}(), t.cache && t.cacheLocation && console.warn("Both `cache` and `cacheLocation` options have been specified in the Auth0Client configuration; ignoring `cacheLocation` and using `cache`."), t.cache) i = t.cache;
			else {
				if (this.cacheLocation = t.cacheLocation || "memory", !aL(this.cacheLocation)) throw new Error('Invalid cache location "'.concat(this.cacheLocation, '"'));
				i = aL(this.cacheLocation)()
			}
			this.httpTimeoutMs = t.httpTimeoutInSeconds ? 1e3 * t.httpTimeoutInSeconds : 1e4, this.cookieStorage = t.legacySameSiteCookie === !1 ? Cd : v2e, this.orgHintCookieName = (o = this.options.client_id, "auth0.".concat(o, ".organization_hint")), this.isAuthenticatedCookieName = function(u) {
				return "auth0.".concat(u, ".is.authenticated")
			}(this.options.client_id), this.sessionCheckExpiryDays = t.sessionCheckExpiryDays || 1;
			var a, s = t.useCookiesForTransactions ? this.cookieStorage : g2e;
			this.scope = this.options.scope, this.transactionManager = new c2e(s, this.options.client_id), this.nowProvider = this.options.nowProvider || Vz, this.cacheManager = new l2e(i, i.allKeys ? null : new w2e(i, this.options.client_id), this.nowProvider), this.domainUrl = (a = this.options.domain, /^https?:\/\//.test(a) ? a : "https://".concat(a)), this.tokenIssuer = function(u, l) {
				return u ? u.startsWith("https://") ? u : "https://".concat(u, "/") : "".concat(l, "/")
			}(this.options.issuer, this.domainUrl), this.defaultScope = xu("openid", ((r = (n = this.options) === null || n === void 0 ? void 0 : n.advancedOptions) === null || r === void 0 ? void 0 : r.defaultScope) !== void 0 ? this.options.advancedOptions.defaultScope : "openid profile email"), this.options.useRefreshTokens && (this.scope = xu(this.scope, "offline_access")), typeof window < "u" && window.Worker && this.options.useRefreshTokens && this.cacheLocation === "memory" && b2e() && (this.worker = new y2e), this.customOptions = function(u) {
				return u.advancedOptions, u.audience, u.auth0Client, u.authorizeTimeoutInSeconds, u.cacheLocation, u.client_id, u.domain, u.issuer, u.leeway, u.max_age, u.redirect_uri, u.scope, u.useRefreshTokens, u.useCookiesForTransactions, u.useFormData, ui(u, ["advancedOptions", "audience", "auth0Client", "authorizeTimeoutInSeconds", "cacheLocation", "client_id", "domain", "issuer", "leeway", "max_age", "redirect_uri", "scope", "useRefreshTokens", "useCookiesForTransactions", "useFormData"])
			}(t)
		}
		return e.prototype._url = function(t) {
			var n = encodeURIComponent(btoa(JSON.stringify(this.options.auth0Client || Hz)));
			return "".concat(this.domainUrl).concat(t, "&auth0Client=").concat(n)
		}, e.prototype._getParams = function(t, n, r, i, o) {
			var a = this.options;
			a.useRefreshTokens, a.useCookiesForTransactions, a.useFormData, a.auth0Client, a.cacheLocation, a.advancedOptions, a.detailedResponse, a.nowProvider, a.authorizeTimeoutInSeconds, a.legacySameSiteCookie, a.sessionCheckExpiryDays, a.domain, a.leeway, a.httpTimeoutInSeconds;
			var s = ui(a, ["useRefreshTokens", "useCookiesForTransactions", "useFormData", "auth0Client", "cacheLocation", "advancedOptions", "detailedResponse", "nowProvider", "authorizeTimeoutInSeconds", "legacySameSiteCookie", "sessionCheckExpiryDays", "domain", "leeway", "httpTimeoutInSeconds"]);
			return rt(rt(rt({}, s), t), {
				scope: xu(this.defaultScope, this.scope, t.scope),
				response_type: "code",
				response_mode: "query",
				state: n,
				nonce: r,
				redirect_uri: o || this.options.redirect_uri,
				code_challenge: i,
				code_challenge_method: "S256"
			})
		}, e.prototype._authorizeUrl = function(t) {
			return this._url("/authorize?".concat(pC(t)))
		}, e.prototype._verifyIdToken = function(t, n, r) {
			return kt(this, void 0, void 0, function() {
				var i;
				return At(this, function(o) {
					switch (o.label) {
						case 0:
							return [4, this.nowProvider()];
						case 1:
							return i = o.sent(), [2, d2e({
								iss: this.tokenIssuer,
								aud: this.options.client_id,
								id_token: t,
								nonce: n,
								organizationId: r,
								leeway: this.options.leeway,
								max_age: this._parseNumber(this.options.max_age),
								now: i
							})]
					}
				})
			})
		}, e.prototype._parseNumber = function(t) {
			return typeof t != "string" ? t : parseInt(t, 10) || void 0
		}, e.prototype._processOrgIdHint = function(t) {
			t ? this.cookieStorage.save(this.orgHintCookieName, t, {
				daysUntilExpire: this.sessionCheckExpiryDays
			}) : this.cookieStorage.remove(this.orgHintCookieName)
		}, e.prototype.buildAuthorizeUrl = function(t) {
			return t === void 0 && (t = {}), kt(this, void 0, void 0, function() {
				var n, r, i, o, a, s, u, l, c, d, p, g;
				return At(this, function(m) {
					switch (m.label) {
						case 0:
							return n = t.redirect_uri, r = t.appState, i = ui(t, ["redirect_uri", "appState"]), o = hd(hs()), a = hd(hs()), s = hs(), [4, W3(s)];
						case 1:
							return u = m.sent(), l = K3(u), c = t.fragment ? "#".concat(t.fragment) : "", d = this._getParams(i, o, a, l, n), p = this._authorizeUrl(d), g = t.organization || this.options.organization, this.transactionManager.create(rt({
								nonce: a,
								code_verifier: s,
								appState: r,
								scope: d.scope,
								audience: d.audience || "default",
								redirect_uri: d.redirect_uri,
								state: o
							}, g && {
								organizationId: g
							})), [2, p + c]
					}
				})
			})
		}, e.prototype.loginWithPopup = function(t, n) {
			return kt(this, void 0, void 0, function() {
				var r, i, o, a, s, u, l, c, d, p, g, m, _;
				return At(this, function(S) {
					switch (S.label) {
						case 0:
							if (t = t || {}, !(n = n || {}).popup && (n.popup = function(y) {
									var w = window.screenX + (window.innerWidth - 400) / 2,
										b = window.screenY + (window.innerHeight - 600) / 2;
									return window.open(y, "auth0:authorize:popup", "left=".concat(w, ",top=").concat(b, ",width=").concat(400, ",height=").concat(600, ",resizable,scrollbars=yes,status=1"))
								}(""), !n.popup)) throw new Error("Unable to open a popup for loginWithPopup - window.open returned `null`");
							return r = ui(t, []), i = hd(hs()), o = hd(hs()), a = hs(), [4, W3(a)];
						case 1:
							return s = S.sent(), u = K3(s), l = this._getParams(r, i, o, u, this.options.redirect_uri || window.location.origin), c = this._authorizeUrl(rt(rt({}, l), {
								response_mode: "web_message"
							})), n.popup.location.href = c, [4, e2e(rt(rt({}, n), {
								timeoutInSeconds: n.timeoutInSeconds || this.options.authorizeTimeoutInSeconds || 60
							}))];
						case 2:
							if (d = S.sent(), i !== d.state) throw new Error("Invalid state");
							return [4, Gm({
								audience: l.audience,
								scope: l.scope,
								baseUrl: this.domainUrl,
								client_id: this.options.client_id,
								code_verifier: a,
								code: d.code,
								grant_type: "authorization_code",
								redirect_uri: l.redirect_uri,
								auth0Client: this.options.auth0Client,
								useFormData: this.options.useFormData,
								timeout: this.httpTimeoutMs
							}, this.worker)];
						case 3:
							return p = S.sent(), g = t.organization || this.options.organization, [4, this._verifyIdToken(p.id_token, o, g)];
						case 4:
							return m = S.sent(), _ = rt(rt({}, p), {
								decodedToken: m,
								scope: l.scope,
								audience: l.audience || "default",
								client_id: this.options.client_id
							}), [4, this.cacheManager.set(_)];
						case 5:
							return S.sent(), this.cookieStorage.save(this.isAuthenticatedCookieName, !0, {
								daysUntilExpire: this.sessionCheckExpiryDays,
								cookieDomain: this.options.cookieDomain
							}), this._processOrgIdHint(m.claims.org_id), [2]
					}
				})
			})
		}, e.prototype.getUser = function(t) {
			return t === void 0 && (t = {}), kt(this, void 0, void 0, function() {
				var n, r, i;
				return At(this, function(o) {
					switch (o.label) {
						case 0:
							return n = t.audience || this.options.audience || "default", r = xu(this.defaultScope, this.scope, t.scope), [4, this.cacheManager.get(new yc({
								client_id: this.options.client_id,
								audience: n,
								scope: r
							}))];
						case 1:
							return [2, (i = o.sent()) && i.decodedToken && i.decodedToken.user]
					}
				})
			})
		}, e.prototype.getIdTokenClaims = function(t) {
			return t === void 0 && (t = {}), kt(this, void 0, void 0, function() {
				var n, r, i;
				return At(this, function(o) {
					switch (o.label) {
						case 0:
							return n = t.audience || this.options.audience || "default", r = xu(this.defaultScope, this.scope, t.scope), [4, this.cacheManager.get(new yc({
								client_id: this.options.client_id,
								audience: n,
								scope: r
							}))];
						case 1:
							return [2, (i = o.sent()) && i.decodedToken && i.decodedToken.claims]
					}
				})
			})
		}, e.prototype.loginWithRedirect = function(t) {
			return t === void 0 && (t = {}), kt(this, void 0, void 0, function() {
				var n, r, i;
				return At(this, function(o) {
					switch (o.label) {
						case 0:
							return n = t.redirectMethod, r = ui(t, ["redirectMethod"]), [4, this.buildAuthorizeUrl(r)];
						case 1:
							return i = o.sent(), window.location[n || "assign"](i), [2]
					}
				})
			})
		}, e.prototype.handleRedirectCallback = function(t) {
			return t === void 0 && (t = window.location.href), kt(this, void 0, void 0, function() {
				var n, r, i, o, a, s, u, l, c, d;
				return At(this, function(p) {
					switch (p.label) {
						case 0:
							if ((n = t.split("?").slice(1)).length === 0) throw new Error("There are no query params available for parsing.");
							if (r = function(g) {
									g.indexOf("#") > -1 && (g = g.substr(0, g.indexOf("#")));
									var m = g.split("&"),
										_ = {};
									return m.forEach(function(S) {
										var y = Dp(S.split("="), 2),
											w = y[0],
											b = y[1];
										_[w] = decodeURIComponent(b)
									}), _.expires_in && (_.expires_in = parseInt(_.expires_in)), _
								}(n.join("")), i = r.state, o = r.code, a = r.error, s = r.error_description, !(u = this.transactionManager.get())) throw new Error("Invalid state");
							if (this.transactionManager.remove(), a) throw new Yye(a, s, i, u.appState);
							if (!u.code_verifier || u.state && u.state !== i) throw new Error("Invalid state");
							return l = {
								audience: u.audience,
								scope: u.scope,
								baseUrl: this.domainUrl,
								client_id: this.options.client_id,
								code_verifier: u.code_verifier,
								grant_type: "authorization_code",
								code: o,
								auth0Client: this.options.auth0Client,
								useFormData: this.options.useFormData,
								timeout: this.httpTimeoutMs
							}, u.redirect_uri !== void 0 && (l.redirect_uri = u.redirect_uri), [4, Gm(l, this.worker)];
						case 1:
							return c = p.sent(), [4, this._verifyIdToken(c.id_token, u.nonce, u.organizationId)];
						case 2:
							return d = p.sent(), [4, this.cacheManager.set(rt(rt(rt(rt({}, c), {
								decodedToken: d,
								audience: u.audience,
								scope: u.scope
							}), c.scope ? {
								oauthTokenScope: c.scope
							} : null), {
								client_id: this.options.client_id
							}))];
						case 3:
							return p.sent(), this.cookieStorage.save(this.isAuthenticatedCookieName, !0, {
								daysUntilExpire: this.sessionCheckExpiryDays,
								cookieDomain: this.options.cookieDomain
							}), this._processOrgIdHint(d.claims.org_id), [2, {
								appState: u.appState
							}]
					}
				})
			})
		}, e.prototype.checkSession = function(t) {
			return kt(this, void 0, void 0, function() {
				var n;
				return At(this, function(r) {
					switch (r.label) {
						case 0:
							if (!this.cookieStorage.get(this.isAuthenticatedCookieName)) {
								if (!this.cookieStorage.get("auth0.is.authenticated")) return [2];
								this.cookieStorage.save(this.isAuthenticatedCookieName, !0, {
									daysUntilExpire: this.sessionCheckExpiryDays,
									cookieDomain: this.options.cookieDomain
								}), this.cookieStorage.remove("auth0.is.authenticated")
							}
							r.label = 1;
						case 1:
							return r.trys.push([1, 3, , 4]), [4, this.getTokenSilently(t)];
						case 2:
							return r.sent(), [3, 4];
						case 3:
							if (n = r.sent(), !qye.includes(n.error)) throw n;
							return [3, 4];
						case 4:
							return [2]
					}
				})
			})
		}, e.prototype.getTokenSilently = function(t) {
			return t === void 0 && (t = {}), kt(this, void 0, void 0, function() {
				var n, r, i, o = this;
				return At(this, function(a) {
					return n = rt(rt({
						audience: this.options.audience,
						ignoreCache: !1
					}, t), {
						scope: xu(this.defaultScope, this.scope, t.scope)
					}), r = n.ignoreCache, i = ui(n, ["ignoreCache"]), [2, (s = function() {
						return o._getTokenSilently(rt({
							ignoreCache: r
						}, i))
					}, u = "".concat(this.options.client_id, "::").concat(i.audience, "::").concat(i.scope), l = q3[u], l || (l = s().finally(function() {
						delete q3[u], l = null
					}), q3[u] = l), l)];
					var s, u, l
				})
			})
		}, e.prototype._getTokenSilently = function(t) {
			return t === void 0 && (t = {}), kt(this, void 0, void 0, function() {
				var n, r, i, o, a, s, u, l, c;
				return At(this, function(d) {
					switch (d.label) {
						case 0:
							return n = t.ignoreCache, r = ui(t, ["ignoreCache"]), n ? [3, 2] : [4, this._getEntryFromCache({
								scope: r.scope,
								audience: r.audience || "default",
								client_id: this.options.client_id,
								getDetailedEntry: t.detailedResponse
							})];
						case 1:
							if (i = d.sent()) return [2, i];
							d.label = 2;
						case 2:
							return [4, (p = function() {
								return oL.acquireLock("auth0.lock.getTokenSilently", 5e3)
							}, g = 10, g === void 0 && (g = 3), kt(void 0, void 0, void 0, function() {
								var m;
								return At(this, function(_) {
									switch (_.label) {
										case 0:
											m = 0, _.label = 1;
										case 1:
											return m < g ? [4, p()] : [3, 4];
										case 2:
											if (_.sent()) return [2, !0];
											_.label = 3;
										case 3:
											return m++, [3, 1];
										case 4:
											return [2, !1]
									}
								})
							}))];
						case 3:
							if (!d.sent()) return [3, 15];
							d.label = 4;
						case 4:
							return d.trys.push([4, , 12, 14]), n ? [3, 6] : [4, this._getEntryFromCache({
								scope: r.scope,
								audience: r.audience || "default",
								client_id: this.options.client_id,
								getDetailedEntry: t.detailedResponse
							})];
						case 5:
							if (i = d.sent()) return [2, i];
							d.label = 6;
						case 6:
							return this.options.useRefreshTokens ? [4, this._getTokenUsingRefreshToken(r)] : [3, 8];
						case 7:
							return a = d.sent(), [3, 10];
						case 8:
							return [4, this._getTokenFromIFrame(r)];
						case 9:
							a = d.sent(), d.label = 10;
						case 10:
							return o = a, [4, this.cacheManager.set(rt({
								client_id: this.options.client_id
							}, o))];
						case 11:
							return d.sent(), this.cookieStorage.save(this.isAuthenticatedCookieName, !0, {
								daysUntilExpire: this.sessionCheckExpiryDays,
								cookieDomain: this.options.cookieDomain
							}), t.detailedResponse ? (s = o.id_token, u = o.access_token, l = o.oauthTokenScope, c = o.expires_in, [2, rt(rt({
								id_token: s,
								access_token: u
							}, l ? {
								scope: l
							} : null), {
								expires_in: c
							})]) : [2, o.access_token];
						case 12:
							return [4, oL.releaseLock("auth0.lock.getTokenSilently")];
						case 13:
							return d.sent(), [7];
						case 14:
							return [3, 16];
						case 15:
							throw new dC;
						case 16:
							return [2]
					}
					var p, g
				})
			})
		}, e.prototype.getTokenWithPopup = function(t, n) {
			return t === void 0 && (t = {}), n === void 0 && (n = {}), kt(this, void 0, void 0, function() {
				return At(this, function(r) {
					switch (r.label) {
						case 0:
							return t.audience = t.audience || this.options.audience, t.scope = xu(this.defaultScope, this.scope, t.scope), n = rt(rt({}, Zye), n), [4, this.loginWithPopup(t, n)];
						case 1:
							return r.sent(), [4, this.cacheManager.get(new yc({
								scope: t.scope,
								audience: t.audience || "default",
								client_id: this.options.client_id
							}))];
						case 2:
							return [2, r.sent().access_token]
					}
				})
			})
		}, e.prototype.isAuthenticated = function() {
			return kt(this, void 0, void 0, function() {
				return At(this, function(t) {
					switch (t.label) {
						case 0:
							return [4, this.getUser()];
						case 1:
							return [2, !!t.sent()]
					}
				})
			})
		}, e.prototype.buildLogoutUrl = function(t) {
			t === void 0 && (t = {}), t.client_id !== null ? t.client_id = t.client_id || this.options.client_id : delete t.client_id;
			var n = t.federated,
				r = ui(t, ["federated"]),
				i = n ? "&federated" : "";
			return this._url("/v2/logout?".concat(pC(r))) + i
		}, e.prototype.logout = function(t) {
			var n = this;
			t === void 0 && (t = {});
			var r = t.localOnly,
				i = ui(t, ["localOnly"]);
			if (r && i.federated) throw new Error("It is invalid to set both the `federated` and `localOnly` options to `true`");
			var o = function() {
				if (n.cookieStorage.remove(n.orgHintCookieName), n.cookieStorage.remove(n.isAuthenticatedCookieName), !r) {
					var a = n.buildLogoutUrl(i);
					window.location.assign(a)
				}
			};
			if (this.options.cache) return this.cacheManager.clear().then(function() {
				return o()
			});
			this.cacheManager.clearSync(), o()
		}, e.prototype._getTokenFromIFrame = function(t) {
			return kt(this, void 0, void 0, function() {
				var n, r, i, o, a, s, u, l, c, d, p, g, m, _, S, y, w;
				return At(this, function(b) {
					switch (b.label) {
						case 0:
							return n = hd(hs()), r = hd(hs()), i = hs(), [4, W3(i)];
						case 1:
							o = b.sent(), a = K3(o), s = ui(t, ["detailedResponse"]), u = this._getParams(s, n, r, a, t.redirect_uri || this.options.redirect_uri || window.location.origin), (l = this.cookieStorage.get(this.orgHintCookieName)) && !u.organization && (u.organization = l), c = this._authorizeUrl(rt(rt({}, u), {
								prompt: "none",
								response_mode: "web_message"
							})), b.label = 2;
						case 2:
							if (b.trys.push([2, 6, , 7]), window.crossOriginIsolated) throw new ml("login_required", "The application is running in a Cross-Origin Isolated context, silently retrieving a token without refresh token is not possible.");
							return d = t.timeoutInSeconds || this.options.authorizeTimeoutInSeconds, [4, (E = c, T = this.domainUrl, O = d, O === void 0 && (O = 60), new Promise(function(R, k) {
								var M = window.document.createElement("iframe");
								M.setAttribute("width", "0"), M.setAttribute("height", "0"), M.style.display = "none";
								var D, P = function() {
										window.document.body.contains(M) && (window.document.body.removeChild(M), window.removeEventListener("message", D, !1))
									},
									U = setTimeout(function() {
										k(new dC), P()
									}, 1e3 * O);
								D = function(H) {
									if (H.origin == T && H.data && H.data.type === "authorization_response") {
										var G = H.source;
										G && G.close(), H.data.response.error ? k(ml.fromPayload(H.data.response)) : R(H.data.response), clearTimeout(U), window.removeEventListener("message", D, !1), setTimeout(P, 2e3)
									}
								}, window.addEventListener("message", D, !1), window.document.body.appendChild(M), M.setAttribute("src", E)
							}))];
						case 3:
							if (p = b.sent(), n !== p.state) throw new Error("Invalid state");
							return g = t.scope, m = t.audience, _ = ui(t, ["scope", "audience", "redirect_uri", "ignoreCache", "timeoutInSeconds", "detailedResponse"]), [4, Gm(rt(rt(rt({}, this.customOptions), _), {
								scope: g,
								audience: m,
								baseUrl: this.domainUrl,
								client_id: this.options.client_id,
								code_verifier: i,
								code: p.code,
								grant_type: "authorization_code",
								redirect_uri: u.redirect_uri,
								auth0Client: this.options.auth0Client,
								useFormData: this.options.useFormData,
								timeout: _.timeout || this.httpTimeoutMs
							}), this.worker)];
						case 4:
							return S = b.sent(), [4, this._verifyIdToken(S.id_token, r)];
						case 5:
							return y = b.sent(), this._processOrgIdHint(y.claims.org_id), [2, rt(rt({}, S), {
								decodedToken: y,
								scope: u.scope,
								oauthTokenScope: S.scope,
								audience: u.audience || "default"
							})];
						case 6:
							throw (w = b.sent()).error === "login_required" && this.logout({
								localOnly: !0
							}), w;
						case 7:
							return [2]
					}
					var E, T, O
				})
			})
		}, e.prototype._getTokenUsingRefreshToken = function(t) {
			return kt(this, void 0, void 0, function() {
				var n, r, i, o, a, s, u, l, c;
				return At(this, function(d) {
					switch (d.label) {
						case 0:
							return t.scope = xu(this.defaultScope, this.options.scope, t.scope), [4, this.cacheManager.get(new yc({
								scope: t.scope,
								audience: t.audience || "default",
								client_id: this.options.client_id
							}))];
						case 1:
							return (n = d.sent()) && n.refresh_token || this.worker ? [3, 3] : [4, this._getTokenFromIFrame(t)];
						case 2:
							return [2, d.sent()];
						case 3:
							r = t.redirect_uri || this.options.redirect_uri || window.location.origin, o = t.scope, a = t.audience, s = ui(t, ["scope", "audience", "ignoreCache", "timeoutInSeconds", "detailedResponse"]), u = typeof t.timeoutInSeconds == "number" ? 1e3 * t.timeoutInSeconds : null, d.label = 4;
						case 4:
							return d.trys.push([4, 6, , 9]), [4, Gm(rt(rt(rt(rt(rt({}, this.customOptions), s), {
								audience: a,
								scope: o,
								baseUrl: this.domainUrl,
								client_id: this.options.client_id,
								grant_type: "refresh_token",
								refresh_token: n && n.refresh_token,
								redirect_uri: r
							}), u && {
								timeout: u
							}), {
								auth0Client: this.options.auth0Client,
								useFormData: this.options.useFormData,
								timeout: this.httpTimeoutMs
							}), this.worker)];
						case 5:
							return i = d.sent(), [3, 9];
						case 6:
							return (l = d.sent()).message === "The web worker is missing the refresh token" || l.message && l.message.indexOf("invalid refresh token") > -1 ? [4, this._getTokenFromIFrame(t)] : [3, 8];
						case 7:
							return [2, d.sent()];
						case 8:
							throw l;
						case 9:
							return [4, this._verifyIdToken(i.id_token)];
						case 10:
							return c = d.sent(), [2, rt(rt({}, i), {
								decodedToken: c,
								scope: t.scope,
								oauthTokenScope: i.scope,
								audience: t.audience || "default"
							})]
					}
				})
			})
		}, e.prototype._getEntryFromCache = function(t) {
			var n = t.scope,
				r = t.audience,
				i = t.client_id,
				o = t.getDetailedEntry,
				a = o !== void 0 && o;
			return kt(this, void 0, void 0, function() {
				var s, u, l, c, d;
				return At(this, function(p) {
					switch (p.label) {
						case 0:
							return [4, this.cacheManager.get(new yc({
								scope: n,
								audience: r,
								client_id: i
							}), 60)];
						case 1:
							return (s = p.sent()) && s.access_token ? a ? (u = s.id_token, l = s.access_token, c = s.oauthTokenScope, d = s.expires_in, [2, rt(rt({
								id_token: u,
								access_token: l
							}, c ? {
								scope: c
							} : null), {
								expires_in: d
							})]) : [2, s.access_token] : [2]
					}
				})
			})
		}, e
	}();
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var hC = function(e, t) {
	return hC = Object.setPrototypeOf || {
		__proto__: []
	}
	instanceof Array && function(n, r) {
		n.__proto__ = r
	} || function(n, r) {
		for (var i in r) r.hasOwnProperty(i) && (n[i] = r[i])
	}, hC(e, t)
};

function gb(e, t) {
	hC(e, t);

	function n() {
		this.constructor = e
	}
	e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n)
}
var rn = function() {
	return rn = Object.assign || function(t) {
		for (var n, r = 1, i = arguments.length; r < i; r++) {
			n = arguments[r];
			for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o])
		}
		return t
	}, rn.apply(this, arguments)
};

function Eh(e, t) {
	var n = typeof Symbol == "function" && e[Symbol.iterator];
	if (!n) return e;
	var r = n.call(e),
		i, o = [],
		a;
	try {
		for (;
			(t === void 0 || t-- > 0) && !(i = r.next()).done;) o.push(i.value)
	} catch (s) {
		a = {
			error: s
		}
	} finally {
		try {
			i && !i.done && (n = r.return) && n.call(r)
		} finally {
			if (a) throw a.error
		}
	}
	return o
}

function Gz() {
	for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Eh(arguments[t]));
	return e
}
var Wa;
(function(e) {
	e.Fatal = "fatal", e.Error = "error", e.Warning = "warning", e.Log = "log", e.Info = "info", e.Debug = "debug", e.Critical = "critical"
})(Wa || (Wa = {}));
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
function x2e(e, t) {
	var n = typeof Symbol == "function" && e[Symbol.iterator];
	if (!n) return e;
	var r = n.call(e),
		i, o = [],
		a;
	try {
		for (;
			(t === void 0 || t-- > 0) && !(i = r.next()).done;) o.push(i.value)
	} catch (s) {
		a = {
			error: s
		}
	} finally {
		try {
			i && !i.done && (n = r.return) && n.call(r)
		} finally {
			if (a) throw a.error
		}
	}
	return o
}

function E2e() {
	for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(x2e(arguments[t]));
	return e
}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var Ne = function() {
	return Ne = Object.assign || function(t) {
		for (var n, r = 1, i = arguments.length; r < i; r++) {
			n = arguments[r];
			for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o])
		}
		return t
	}, Ne.apply(this, arguments)
};

function C2e(e, t) {
	var n = typeof Symbol == "function" && e[Symbol.iterator];
	if (!n) return e;
	var r = n.call(e),
		i, o = [],
		a;
	try {
		for (;
			(t === void 0 || t-- > 0) && !(i = r.next()).done;) o.push(i.value)
	} catch (s) {
		a = {
			error: s
		}
	} finally {
		try {
			i && !i.done && (n = r.return) && n.call(r)
		} finally {
			if (a) throw a.error
		}
	}
	return o
}

function Od() {
	for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(C2e(arguments[t]));
	return e
}

function O2e(e) {
	e.then(null, function(t) {
		console.error(t)
	})
}

function T2e() {
	return typeof __SENTRY_BROWSER_BUNDLE__ < "u" && !!__SENTRY_BROWSER_BUNDLE__
}

function Y7() {
	return !T2e() && Object.prototype.toString.call(typeof process < "u" ? process : 0) === "[object process]"
}

function R2e(e, t) {
	return e.require(t)
}
var I2e = {};

function vn() {
	return Y7() || typeof window < "u" ? window : typeof self < "u" ? self : I2e
}

function X7(e, t, n) {
	var r = n || vn(),
		i = r.__SENTRY__ = r.__SENTRY__ || {},
		o = i[e] || (i[e] = t());
	return o
}
var Wz = Object.prototype.toString;

function J7(e) {
	switch (Wz.call(e)) {
		case "[object Error]":
		case "[object Exception]":
		case "[object DOMException]":
			return !0;
		default:
			return Pl(e, Error)
	}
}

function Ch(e, t) {
	return Wz.call(e) === "[object " + t + "]"
}

function Kz(e) {
	return Ch(e, "ErrorEvent")
}

function sL(e) {
	return Ch(e, "DOMError")
}

function k2e(e) {
	return Ch(e, "DOMException")
}

function Fp(e) {
	return Ch(e, "String")
}

function Q7(e) {
	return e === null || typeof e != "object" && typeof e != "function"
}

function jp(e) {
	return Ch(e, "Object")
}

function mb(e) {
	return typeof Event < "u" && Pl(e, Event)
}

function A2e(e) {
	return typeof Element < "u" && Pl(e, Element)
}

function M2e(e) {
	return Ch(e, "RegExp")
}

function e8(e) {
	return !!(e && e.then && typeof e.then == "function")
}

function P2e(e) {
	return jp(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e
}

function L2e(e) {
	return typeof e == "number" && e !== e
}

function Pl(e, t) {
	try {
		return e instanceof t
	} catch (n) {
		return !1
	}
}

function vC(e, t) {
	try {
		for (var n = e, r = 5, i = 80, o = [], a = 0, s = 0, u = " > ", l = u.length, c = void 0; n && a++ < r && (c = N2e(n, t), !(c === "html" || a > 1 && s + o.length * l + c.length >= i));) o.push(c), s += c.length, n = n.parentNode;
		return o.reverse().join(u)
	} catch (d) {
		return "<unknown>"
	}
}

function N2e(e, t) {
	var n = e,
		r = [],
		i, o, a, s, u;
	if (!n || !n.tagName) return "";
	r.push(n.tagName.toLowerCase());
	var l = t && t.length ? t.filter(function(d) {
		return n.getAttribute(d)
	}).map(function(d) {
		return [d, n.getAttribute(d)]
	}) : null;
	if (l && l.length) l.forEach(function(d) {
		r.push("[" + d[0] + '="' + d[1] + '"]')
	});
	else if (n.id && r.push("#" + n.id), i = n.className, i && Fp(i))
		for (o = i.split(/\s+/), u = 0; u < o.length; u++) r.push("." + o[u]);
	var c = ["type", "name", "title", "alt"];
	for (u = 0; u < c.length; u++) a = c[u], s = n.getAttribute(a), s && r.push("[" + a + '="' + s + '"]');
	return r.join("")
}

function D2e() {
	var e = vn();
	try {
		return e.document.location.href
	} catch (t) {
		return ""
	}
}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var gC = function(e, t) {
	return gC = Object.setPrototypeOf || {
		__proto__: []
	}
	instanceof Array && function(n, r) {
		n.__proto__ = r
	} || function(n, r) {
		for (var i in r) r.hasOwnProperty(i) && (n[i] = r[i])
	}, gC(e, t)
};

function $2e(e, t) {
	gC(e, t);

	function n() {
		this.constructor = e
	}
	e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n)
}
var hr = function() {
	return hr = Object.assign || function(t) {
		for (var n, r = 1, i = arguments.length; r < i; r++) {
			n = arguments[r];
			for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o])
		}
		return t
	}, hr.apply(this, arguments)
};

function Up(e) {
	var t = typeof Symbol == "function" && Symbol.iterator,
		n = t && e[t],
		r = 0;
	if (n) return n.call(e);
	if (e && typeof e.length == "number") return {
		next: function() {
			return e && r >= e.length && (e = void 0), {
				value: e && e[r++],
				done: !e
			}
		}
	};
	throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.")
}

function sl(e, t) {
	var n = typeof Symbol == "function" && e[Symbol.iterator];
	if (!n) return e;
	var r = n.call(e),
		i, o = [],
		a;
	try {
		for (;
			(t === void 0 || t-- > 0) && !(i = r.next()).done;) o.push(i.value)
	} catch (s) {
		a = {
			error: s
		}
	} finally {
		try {
			i && !i.done && (n = r.return) && n.call(r)
		} finally {
			if (a) throw a.error
		}
	}
	return o
}

function F2e() {
	for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(sl(arguments[t]));
	return e
}
var j2e = Object.setPrototypeOf || ({
		__proto__: []
	}
	instanceof Array ? U2e : H2e);

function U2e(e, t) {
	return e.__proto__ = t, e
}

function H2e(e, t) {
	for (var n in t) Object.prototype.hasOwnProperty.call(e, n) || (e[n] = t[n]);
	return e
}
var Gn = function(e) {
		$2e(t, e);

		function t(n) {
			var r = this.constructor,
				i = e.call(this, n) || this;
			return i.message = n, i.name = r.prototype.constructor.name, j2e(i, r.prototype), i
		}
		return t
	}(Error),
	Oh = typeof __SENTRY_DEBUG__ > "u" ? !0 : __SENTRY_DEBUG__,
	V2e = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;

function B2e(e) {
	return e === "http" || e === "https"
}

function W1(e, t) {
	t === void 0 && (t = !1);
	var n = e.host,
		r = e.path,
		i = e.pass,
		o = e.port,
		a = e.projectId,
		s = e.protocol,
		u = e.publicKey;
	return s + "://" + u + (t && i ? ":" + i : "") + ("@" + n + (o ? ":" + o : "") + "/" + (r && r + "/") + a)
}

function z2e(e) {
	var t = V2e.exec(e);
	if (!t) throw new Gn("Invalid Sentry Dsn: " + e);
	var n = sl(t.slice(1), 6),
		r = n[0],
		i = n[1],
		o = n[2],
		a = o === void 0 ? "" : o,
		s = n[3],
		u = n[4],
		l = u === void 0 ? "" : u,
		c = n[5],
		d = "",
		p = c,
		g = p.split("/");
	if (g.length > 1 && (d = g.slice(0, -1).join("/"), p = g.pop()), p) {
		var m = p.match(/^\d+/);
		m && (p = m[0])
	}
	return Zz({
		host: s,
		pass: a,
		path: d,
		projectId: p,
		port: l,
		protocol: r,
		publicKey: i
	})
}

function Zz(e) {
	return "user" in e && !("publicKey" in e) && (e.publicKey = e.user), {
		user: e.publicKey || "",
		protocol: e.protocol,
		publicKey: e.publicKey || "",
		pass: e.pass || "",
		host: e.host,
		port: e.port || "",
		path: e.path || "",
		projectId: e.projectId
	}
}

function G2e(e) {
	if (Oh) {
		var t = e.port,
			n = e.projectId,
			r = e.protocol,
			i = ["protocol", "publicKey", "host", "projectId"];
		if (i.forEach(function(o) {
				if (!e[o]) throw new Gn("Invalid Sentry Dsn: " + o + " missing")
			}), !n.match(/^\d+$/)) throw new Gn("Invalid Sentry Dsn: Invalid projectId " + n);
		if (!B2e(r)) throw new Gn("Invalid Sentry Dsn: Invalid protocol " + r);
		if (t && isNaN(parseInt(t, 10))) throw new Gn("Invalid Sentry Dsn: Invalid port " + t);
		return !0
	}
}

function t8(e) {
	var t = typeof e == "string" ? z2e(e) : Zz(e);
	return G2e(t), t
}
var W2e = ["fatal", "error", "warning", "log", "info", "debug", "critical"],
	K2e = vn(),
	Z2e = "Sentry Logger ",
	xw = ["debug", "info", "warn", "error", "log", "assert"];

function qz(e) {
	var t = vn();
	if (!("console" in t)) return e();
	var n = t.console,
		r = {};
	xw.forEach(function(i) {
		var o = n[i] && n[i].__sentry_original__;
		i in t.console && o && (r[i] = n[i], n[i] = o)
	});
	try {
		return e()
	} finally {
		Object.keys(r).forEach(function(i) {
			n[i] = r[i]
		})
	}
}

function uL() {
	var e = !1,
		t = {
			enable: function() {
				e = !0
			},
			disable: function() {
				e = !1
			}
		};
	return Oh ? xw.forEach(function(n) {
		t[n] = function() {
			for (var r = [], i = 0; i < arguments.length; i++) r[i] = arguments[i];
			e && qz(function() {
				var o;
				(o = K2e.console)[n].apply(o, F2e([Z2e + "[" + n + "]:"], r))
			})
		}
	}) : xw.forEach(function(n) {
		t[n] = function() {}
	}), t
}
var ot;
Oh ? ot = X7("logger", uL) : ot = uL();

function vv(e, t) {
	return t === void 0 && (t = 0), typeof e != "string" || t === 0 || e.length <= t ? e : e.substr(0, t) + "..."
}

function lL(e, t) {
	if (!Array.isArray(e)) return "";
	for (var n = [], r = 0; r < e.length; r++) {
		var i = e[r];
		try {
			n.push(String(i))
		} catch (o) {
			n.push("[value cannot be serialized]")
		}
	}
	return n.join(t)
}

function n8(e, t) {
	return Fp(e) ? M2e(t) ? t.test(e) : typeof t == "string" ? e.indexOf(t) !== -1 : !1 : !1
}

function Mr(e, t, n) {
	if (t in e) {
		var r = e[t],
			i = n(r);
		if (typeof i == "function") try {
			Yz(i, r)
		} catch (o) {}
		e[t] = i
	}
}

function yb(e, t, n) {
	Object.defineProperty(e, t, {
		value: n,
		writable: !0,
		configurable: !0
	})
}

function Yz(e, t) {
	var n = t.prototype || {};
	e.prototype = t.prototype = n, yb(e, "__sentry_original__", t)
}

function r8(e) {
	return e.__sentry_original__
}

function q2e(e) {
	return Object.keys(e).map(function(t) {
		return encodeURIComponent(t) + "=" + encodeURIComponent(e[t])
	}).join("&")
}

function Xz(e) {
	var t = e;
	if (J7(e)) t = hr({
		message: e.message,
		name: e.name,
		stack: e.stack
	}, fL(e));
	else if (mb(e)) {
		var n = e;
		t = hr({
			type: n.type,
			target: cL(n.target),
			currentTarget: cL(n.currentTarget)
		}, fL(n)), typeof CustomEvent < "u" && Pl(e, CustomEvent) && (t.detail = n.detail)
	}
	return t
}

function cL(e) {
	try {
		return A2e(e) ? vC(e) : Object.prototype.toString.call(e)
	} catch (t) {
		return "<unknown>"
	}
}

function fL(e) {
	var t = {};
	for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
	return t
}

function Y2e(e, t) {
	t === void 0 && (t = 40);
	var n = Object.keys(Xz(e));
	if (n.sort(), !n.length) return "[object has no keys]";
	if (n[0].length >= t) return vv(n[0], t);
	for (var r = n.length; r > 0; r--) {
		var i = n.slice(0, r).join(", ");
		if (!(i.length > t)) return r === n.length ? i : vv(i, t)
	}
	return ""
}

function mC(e) {
	var t, n;
	if (jp(e)) {
		var r = {};
		try {
			for (var i = Up(Object.keys(e)), o = i.next(); !o.done; o = i.next()) {
				var a = o.value;
				typeof e[a] < "u" && (r[a] = mC(e[a]))
			}
		} catch (s) {
			t = {
				error: s
			}
		} finally {
			try {
				o && !o.done && (n = i.return) && n.call(i)
			} finally {
				if (t) throw t.error
			}
		}
		return r
	}
	return Array.isArray(e) ? e.map(mC) : e
}
var X2e = 50;

function J2e() {
	for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
	var n = e.sort(function(r, i) {
		return r[0] - i[0]
	}).map(function(r) {
		return r[1]
	});
	return function(r, i) {
		var o, a, s, u;
		i === void 0 && (i = 0);
		var l = [];
		try {
			for (var c = Up(r.split("\n").slice(i)), d = c.next(); !d.done; d = c.next()) {
				var p = d.value;
				try {
					for (var g = (s = void 0, Up(n)), m = g.next(); !m.done; m = g.next()) {
						var _ = m.value,
							S = _(p);
						if (S) {
							l.push(S);
							break
						}
					}
				} catch (y) {
					s = {
						error: y
					}
				} finally {
					try {
						m && !m.done && (u = g.return) && u.call(g)
					} finally {
						if (s) throw s.error
					}
				}
			}
		} catch (y) {
			o = {
				error: y
			}
		} finally {
			try {
				d && !d.done && (a = c.return) && a.call(c)
			} finally {
				if (o) throw o.error
			}
		}
		return Q2e(l)
	}
}

function Q2e(e) {
	if (!e.length) return [];
	var t = e,
		n = t[0].function || "",
		r = t[t.length - 1].function || "";
	return (n.indexOf("captureMessage") !== -1 || n.indexOf("captureException") !== -1) && (t = t.slice(1)), r.indexOf("sentryWrapped") !== -1 && (t = t.slice(0, -1)), t.slice(0, X2e).map(function(i) {
		return hr(hr({}, i), {
			filename: i.filename || t[0].filename,
			function: i.function || "?"
		})
	}).reverse()
}
var Y3 = "<anonymous>";

function yl(e) {
	try {
		return !e || typeof e != "function" ? Y3 : e.name || Y3
	} catch (t) {
		return Y3
	}
}

function wb() {
	if (!("fetch" in vn())) return !1;
	try {
		return new Headers, new Request(""), new Response, !0
	} catch (e) {
		return !1
	}
}

function yC(e) {
	return e && /^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())
}

function ewe() {
	if (!wb()) return !1;
	var e = vn();
	if (yC(e.fetch)) return !0;
	var t = !1,
		n = e.document;
	if (n && typeof n.createElement == "function") try {
		var r = n.createElement("iframe");
		r.hidden = !0, n.head.appendChild(r), r.contentWindow && r.contentWindow.fetch && (t = yC(r.contentWindow.fetch)), n.head.removeChild(r)
	} catch (i) {
		Oh && ot.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", i)
	}
	return t
}

function twe() {
	if (!wb()) return !1;
	try {
		return new Request("_", {
			referrerPolicy: "origin"
		}), !0
	} catch (e) {
		return !1
	}
}

function nwe() {
	var e = vn(),
		t = e.chrome,
		n = t && t.app && t.app.runtime,
		r = "history" in e && !!e.history.pushState && !!e.history.replaceState;
	return !n && r
}
var an = vn(),
	gv = {},
	dL = {};

function rwe(e) {
	if (!dL[e]) switch (dL[e] = !0, e) {
		case "console":
			iwe();
			break;
		case "dom":
			pwe();
			break;
		case "xhr":
			uwe();
			break;
		case "fetch":
			owe();
			break;
		case "history":
			lwe();
			break;
		case "error":
			hwe();
			break;
		case "unhandledrejection":
			vwe();
			break;
		default:
			Oh && ot.warn("unknown instrumentation type:", e);
			return
	}
}

function Uu(e, t) {
	gv[e] = gv[e] || [], gv[e].push(t), rwe(e)
}

function Jo(e, t) {
	var n, r;
	if (!(!e || !gv[e])) try {
		for (var i = Up(gv[e] || []), o = i.next(); !o.done; o = i.next()) {
			var a = o.value;
			try {
				a(t)
			} catch (s) {
				Oh && ot.error("Error while triggering instrumentation handler.\nType: " + e + "\nName: " + yl(a) + "\nError:", s)
			}
		}
	} catch (s) {
		n = {
			error: s
		}
	} finally {
		try {
			o && !o.done && (r = i.return) && r.call(i)
		} finally {
			if (n) throw n.error
		}
	}
}

function iwe() {
	"console" in an && xw.forEach(function(e) {
		e in an.console && Mr(an.console, e, function(t) {
			return function() {
				for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
				Jo("console", {
					args: n,
					level: e
				}), t && t.apply(an.console, n)
			}
		})
	})
}

function owe() {
	ewe() && Mr(an, "fetch", function(e) {
		return function() {
			for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n];
			var r = {
				args: t,
				fetchData: {
					method: awe(t),
					url: swe(t)
				},
				startTimestamp: Date.now()
			};
			return Jo("fetch", hr({}, r)), e.apply(an, t).then(function(i) {
				return Jo("fetch", hr(hr({}, r), {
					endTimestamp: Date.now(),
					response: i
				})), i
			}, function(i) {
				throw Jo("fetch", hr(hr({}, r), {
					endTimestamp: Date.now(),
					error: i
				})), i
			})
		}
	})
}

function awe(e) {
	return e === void 0 && (e = []), "Request" in an && Pl(e[0], Request) && e[0].method ? String(e[0].method).toUpperCase() : e[1] && e[1].method ? String(e[1].method).toUpperCase() : "GET"
}

function swe(e) {
	return e === void 0 && (e = []), typeof e[0] == "string" ? e[0] : "Request" in an && Pl(e[0], Request) ? e[0].url : String(e[0])
}

function uwe() {
	if ("XMLHttpRequest" in an) {
		var e = XMLHttpRequest.prototype;
		Mr(e, "open", function(t) {
			return function() {
				for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
				var i = this,
					o = n[1],
					a = i.__sentry_xhr__ = {
						method: Fp(n[0]) ? n[0].toUpperCase() : n[0],
						url: n[1]
					};
				Fp(o) && a.method === "POST" && o.match(/sentry_key/) && (i.__sentry_own_request__ = !0);
				var s = function() {
					if (i.readyState === 4) {
						try {
							a.status_code = i.status
						} catch (u) {}
						Jo("xhr", {
							args: n,
							endTimestamp: Date.now(),
							startTimestamp: Date.now(),
							xhr: i
						})
					}
				};
				return "onreadystatechange" in i && typeof i.onreadystatechange == "function" ? Mr(i, "onreadystatechange", function(u) {
					return function() {
						for (var l = [], c = 0; c < arguments.length; c++) l[c] = arguments[c];
						return s(), u.apply(i, l)
					}
				}) : i.addEventListener("readystatechange", s), t.apply(i, n)
			}
		}), Mr(e, "send", function(t) {
			return function() {
				for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
				return this.__sentry_xhr__ && n[0] !== void 0 && (this.__sentry_xhr__.body = n[0]), Jo("xhr", {
					args: n,
					startTimestamp: Date.now(),
					xhr: this
				}), t.apply(this, n)
			}
		})
	}
}
var Wm;

function lwe() {
	if (!nwe()) return;
	var e = an.onpopstate;
	an.onpopstate = function() {
		for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
		var i = an.location.href,
			o = Wm;
		if (Wm = i, Jo("history", {
				from: o,
				to: i
			}), e) try {
			return e.apply(this, n)
		} catch (a) {}
	};

	function t(n) {
		return function() {
			for (var r = [], i = 0; i < arguments.length; i++) r[i] = arguments[i];
			var o = r.length > 2 ? r[2] : void 0;
			if (o) {
				var a = Wm,
					s = String(o);
				Wm = s, Jo("history", {
					from: a,
					to: s
				})
			}
			return n.apply(this, r)
		}
	}
	Mr(an.history, "pushState", t), Mr(an.history, "replaceState", t)
}
var cwe = 1e3,
	Km, Zm;

function fwe(e, t) {
	if (!e || e.type !== t.type) return !0;
	try {
		if (e.target !== t.target) return !0
	} catch (n) {}
	return !1
}

function dwe(e) {
	if (e.type !== "keypress") return !1;
	try {
		var t = e.target;
		if (!t || !t.tagName) return !0;
		if (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) return !1
	} catch (n) {}
	return !0
}

function pL(e, t) {
	return t === void 0 && (t = !1),
		function(n) {
			if (!(!n || Zm === n) && !dwe(n)) {
				var r = n.type === "keypress" ? "input" : n.type;
				Km === void 0 ? (e({
					event: n,
					name: r,
					global: t
				}), Zm = n) : fwe(Zm, n) && (e({
					event: n,
					name: r,
					global: t
				}), Zm = n), clearTimeout(Km), Km = an.setTimeout(function() {
					Km = void 0
				}, cwe)
			}
		}
}

function pwe() {
	if ("document" in an) {
		var e = Jo.bind(null, "dom"),
			t = pL(e, !0);
		an.document.addEventListener("click", t, !1), an.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach(function(n) {
			var r = an[n] && an[n].prototype;
			!r || !r.hasOwnProperty || !r.hasOwnProperty("addEventListener") || (Mr(r, "addEventListener", function(i) {
				return function(o, a, s) {
					if (o === "click" || o == "keypress") try {
						var u = this,
							l = u.__sentry_instrumentation_handlers__ = u.__sentry_instrumentation_handlers__ || {},
							c = l[o] = l[o] || {
								refCount: 0
							};
						if (!c.handler) {
							var d = pL(e);
							c.handler = d, i.call(this, o, d, s)
						}
						c.refCount += 1
					} catch (p) {}
					return i.call(this, o, a, s)
				}
			}), Mr(r, "removeEventListener", function(i) {
				return function(o, a, s) {
					if (o === "click" || o == "keypress") try {
						var u = this,
							l = u.__sentry_instrumentation_handlers__ || {},
							c = l[o];
						c && (c.refCount -= 1, c.refCount <= 0 && (i.call(this, o, c.handler, s), c.handler = void 0, delete l[o]), Object.keys(l).length === 0 && delete u.__sentry_instrumentation_handlers__)
					} catch (d) {}
					return i.call(this, o, a, s)
				}
			}))
		})
	}
}
var X3 = null;

function hwe() {
	X3 = an.onerror, an.onerror = function(e, t, n, r, i) {
		return Jo("error", {
			column: r,
			error: i,
			line: n,
			msg: e,
			url: t
		}), X3 ? X3.apply(this, arguments) : !1
	}
}
var J3 = null;

function vwe() {
	J3 = an.onunhandledrejection, an.onunhandledrejection = function(e) {
		return Jo("unhandledrejection", e), J3 ? J3.apply(this, arguments) : !0
	}
}

function gwe() {
	var e = typeof WeakSet == "function",
		t = e ? new WeakSet : [];

	function n(i) {
		if (e) return t.has(i) ? !0 : (t.add(i), !1);
		for (var o = 0; o < t.length; o++) {
			var a = t[o];
			if (a === i) return !0
		}
		return t.push(i), !1
	}

	function r(i) {
		if (e) t.delete(i);
		else
			for (var o = 0; o < t.length; o++)
				if (t[o] === i) {
					t.splice(o, 1);
					break
				}
	}
	return [n, r]
}

function lp() {
	var e = vn(),
		t = e.crypto || e.msCrypto;
	if (t !== void 0 && t.getRandomValues) {
		var n = new Uint16Array(8);
		t.getRandomValues(n), n[3] = n[3] & 4095 | 16384, n[4] = n[4] & 16383 | 32768;
		var r = function(i) {
			for (var o = i.toString(16); o.length < 4;) o = "0" + o;
			return o
		};
		return r(n[0]) + r(n[1]) + r(n[2]) + r(n[3]) + r(n[4]) + r(n[5]) + r(n[6]) + r(n[7])
	}
	return "xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g, function(i) {
		var o = Math.random() * 16 | 0,
			a = i === "x" ? o : o & 3 | 8;
		return a.toString(16)
	})
}

function Q3(e) {
	if (!e) return {};
	var t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
	if (!t) return {};
	var n = t[6] || "",
		r = t[8] || "";
	return {
		host: t[4],
		path: t[5],
		protocol: t[2],
		relative: t[5] + n + r
	}
}

function Jz(e) {
	return e.exception && e.exception.values ? e.exception.values[0] : void 0
}

function Ac(e) {
	var t = e.message,
		n = e.event_id;
	if (t) return t;
	var r = Jz(e);
	return r ? r.type && r.value ? r.type + ": " + r.value : r.type || r.value || n || "<unknown>" : n || "<unknown>"
}

function wC(e, t, n) {
	var r = e.exception = e.exception || {},
		i = r.values = r.values || [],
		o = i[0] = i[0] || {};
	o.value || (o.value = t || ""), o.type || (o.type = "Error")
}

function Yv(e, t) {
	var n = Jz(e);
	if (n) {
		var r = {
				type: "generic",
				handled: !0
			},
			i = n.mechanism;
		if (n.mechanism = hr(hr(hr({}, r), i), t), t && "data" in t) {
			var o = hr(hr({}, i && i.data), t.data);
			n.mechanism.data = o
		}
	}
}

function hL(e) {
	if (e && e.__sentry_captured__) return !0;
	try {
		yb(e, "__sentry_captured__", !0)
	} catch (t) {}
	return !1
}

function wc(e, t, n) {
	t === void 0 && (t = 1 / 0), n === void 0 && (n = 1 / 0);
	try {
		return eG("", e, t, n)
	} catch (r) {
		return {
			ERROR: "**non-serializable** (" + r + ")"
		}
	}
}

function Qz(e, t, n) {
	t === void 0 && (t = 3), n === void 0 && (n = 100 * 1024);
	var r = wc(e, t);
	return wwe(r) > n ? Qz(e, t - 1, n) : r
}

function eG(e, t, n, r, i) {
	n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = gwe());
	var o = sl(i, 2),
		a = o[0],
		s = o[1],
		u = t;
	if (u && typeof u.toJSON == "function") try {
		return u.toJSON()
	} catch (_) {}
	if (t === null || ["number", "boolean", "string"].includes(typeof t) && !L2e(t)) return t;
	var l = mwe(e, t);
	if (!l.startsWith("[object ")) return l;
	if (n === 0) return l.replace("object ", "");
	if (a(t)) return "[Circular ~]";
	var c = Array.isArray(t) ? [] : {},
		d = 0,
		p = J7(t) || mb(t) ? Xz(t) : t;
	for (var g in p)
		if (Object.prototype.hasOwnProperty.call(p, g)) {
			if (d >= r) {
				c[g] = "[MaxProperties ~]";
				break
			}
			var m = p[g];
			c[g] = eG(g, m, n - 1, r, i), d += 1
		} return s(t), c
}

function mwe(e, t) {
	try {
		return e === "domain" && t && typeof t == "object" && t._events ? "[Domain]" : e === "domainEmitter" ? "[DomainEmitter]" : typeof window < "u" && t === window ? "[Global]" : typeof window < "u" && t === window ? "[Window]" : typeof document < "u" && t === document ? "[Document]" : P2e(t) ? "[SyntheticEvent]" : typeof t == "number" && t !== t ? "[NaN]" : t === void 0 ? "[undefined]" : typeof t == "function" ? "[Function: " + yl(t) + "]" : typeof t == "symbol" ? "[" + String(t) + "]" : typeof t == "bigint" ? "[BigInt: " + String(t) + "]" : "[object " + Object.getPrototypeOf(t).constructor.name + "]"
	} catch (n) {
		return "**non-serializable** (" + n + ")"
	}
}

function ywe(e) {
	return ~-encodeURI(e).split(/%..|./).length
}

function wwe(e) {
	return ywe(JSON.stringify(e))
}

function ff(e) {
	return new Ll(function(t) {
		t(e)
	})
}

function Xv(e) {
	return new Ll(function(t, n) {
		n(e)
	})
}
var Ll = function() {
	function e(t) {
		var n = this;
		this._state = 0, this._handlers = [], this._resolve = function(r) {
			n._setResult(1, r)
		}, this._reject = function(r) {
			n._setResult(2, r)
		}, this._setResult = function(r, i) {
			if (n._state === 0) {
				if (e8(i)) {
					i.then(n._resolve, n._reject);
					return
				}
				n._state = r, n._value = i, n._executeHandlers()
			}
		}, this._executeHandlers = function() {
			if (n._state !== 0) {
				var r = n._handlers.slice();
				n._handlers = [], r.forEach(function(i) {
					i[0] || (n._state === 1 && i[1](n._value), n._state === 2 && i[2](n._value), i[0] = !0)
				})
			}
		};
		try {
			t(this._resolve, this._reject)
		} catch (r) {
			this._reject(r)
		}
	}
	return e.prototype.then = function(t, n) {
		var r = this;
		return new e(function(i, o) {
			r._handlers.push([!1, function(a) {
				if (!t) i(a);
				else try {
					i(t(a))
				} catch (s) {
					o(s)
				}
			}, function(a) {
				if (!n) o(a);
				else try {
					i(n(a))
				} catch (s) {
					o(s)
				}
			}]), r._executeHandlers()
		})
	}, e.prototype.catch = function(t) {
		return this.then(function(n) {
			return n
		}, t)
	}, e.prototype.finally = function(t) {
		var n = this;
		return new e(function(r, i) {
			var o, a;
			return n.then(function(s) {
				a = !1, o = s, t && t()
			}, function(s) {
				a = !0, o = s, t && t()
			}).then(function() {
				if (a) {
					i(o);
					return
				}
				r(o)
			})
		})
	}, e
}();

function tG(e) {
	var t = [];

	function n() {
		return e === void 0 || t.length < e
	}

	function r(a) {
		return t.splice(t.indexOf(a), 1)[0]
	}

	function i(a) {
		if (!n()) return Xv(new Gn("Not adding Promise due to buffer limit reached."));
		var s = a();
		return t.indexOf(s) === -1 && t.push(s), s.then(function() {
			return r(s)
		}).then(null, function() {
			return r(s).then(null, function() {})
		}), s
	}

	function o(a) {
		return new Ll(function(s, u) {
			var l = t.length;
			if (!l) return s(!0);
			var c = setTimeout(function() {
				a && a > 0 && s(!1)
			}, a);
			t.forEach(function(d) {
				ff(d).then(function() {
					--l || (clearTimeout(c), s(!0))
				}, u)
			})
		})
	}
	return {
		$: t,
		add: i,
		drain: o
	}
}

function _we(e) {
	return W2e.indexOf(e) !== -1
}

function bwe(e) {
	return e === "warn" ? Wa.Warning : _we(e) ? e : Wa.Log
}

function nG(e) {
	return e >= 200 && e < 300 ? "success" : e === 429 ? "rate_limit" : e >= 400 && e < 500 ? "invalid" : e >= 500 ? "failed" : "unknown"
}
var _C = {
	nowSeconds: function() {
		return Date.now() / 1e3
	}
};

function Swe() {
	var e = vn().performance;
	if (!(!e || !e.now)) {
		var t = Date.now() - e.now();
		return {
			now: function() {
				return e.now()
			},
			timeOrigin: t
		}
	}
}

function xwe() {
	try {
		var e = R2e(module, "perf_hooks");
		return e.performance
	} catch (t) {
		return
	}
}
var ex = Y7() ? xwe() : Swe(),
	vL = ex === void 0 ? _C : {
		nowSeconds: function() {
			return (ex.timeOrigin + ex.now()) / 1e3
		}
	},
	_b = _C.nowSeconds.bind(_C),
	gL = vL.nowSeconds.bind(vL);
(function() {
	var e = vn().performance;
	if (!(!e || !e.now)) {
		var t = 3600 * 1e3,
			n = e.now(),
			r = Date.now(),
			i = e.timeOrigin ? Math.abs(e.timeOrigin + n - r) : t,
			o = i < t,
			a = e.timing && e.timing.navigationStart,
			s = typeof a == "number",
			u = s ? Math.abs(a + n - r) : t,
			l = u < t;
		return o || l ? i <= u ? e.timeOrigin : a : r
	}
})();

function bb(e, t) {
	return t === void 0 && (t = []), [e, t]
}

function Ewe(e) {
	var t = sl(e, 2),
		n = sl(t[1], 1),
		r = sl(n[0], 1),
		i = r[0];
	return i.type
}

function Sb(e) {
	var t = sl(e, 2),
		n = t[0],
		r = t[1],
		i = JSON.stringify(n);
	return r.reduce(function(o, a) {
		var s = sl(a, 2),
			u = s[0],
			l = s[1],
			c = Q7(l) ? String(l) : JSON.stringify(l);
		return o + "\n" + JSON.stringify(u) + "\n" + c
	}, i)
}

function Cwe(e, t, n) {
	var r = [{
		type: "client_report"
	}, {
		timestamp: _b(),
		discarded_events: e
	}];
	return bb(t ? {
		dsn: t
	} : {}, [r])
}
var Owe = 60 * 1e3;

function Twe(e, t) {
	t === void 0 && (t = Date.now());
	var n = parseInt("" + e, 10);
	if (!isNaN(n)) return n * 1e3;
	var r = Date.parse("" + e);
	return isNaN(r) ? Owe : r - t
}

function i8(e, t) {
	return e[t] || e.all || 0
}

function rG(e, t, n) {
	return n === void 0 && (n = Date.now()), i8(e, t) > n
}

function iG(e, t, n) {
	var r, i, o, a;
	n === void 0 && (n = Date.now());
	var s = hr({}, e),
		u = t["x-sentry-rate-limits"],
		l = t["retry-after"];
	if (u) try {
		for (var c = Up(u.trim().split(",")), d = c.next(); !d.done; d = c.next()) {
			var p = d.value,
				g = p.split(":", 2),
				m = parseInt(g[0], 10),
				_ = (isNaN(m) ? 60 : m) * 1e3;
			if (!g[1]) s.all = n + _;
			else try {
				for (var S = (o = void 0, Up(g[1].split(";"))), y = S.next(); !y.done; y = S.next()) {
					var w = y.value;
					s[w] = n + _
				}
			} catch (b) {
				o = {
					error: b
				}
			} finally {
				try {
					y && !y.done && (a = S.return) && a.call(S)
				} finally {
					if (o) throw o.error
				}
			}
		}
	} catch (b) {
		r = {
			error: b
		}
	} finally {
		try {
			d && !d.done && (i = c.return) && i.call(c)
		} finally {
			if (r) throw r.error
		}
	} else l && (s.all = n + Twe(l, n));
	return s
}
var mL = 100,
	Ew = function() {
		function e() {
			this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._user = {}, this._tags = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}
		}
		return e.clone = function(t) {
			var n = new e;
			return t && (n._breadcrumbs = Od(t._breadcrumbs), n._tags = Ne({}, t._tags), n._extra = Ne({}, t._extra), n._contexts = Ne({}, t._contexts), n._user = t._user, n._level = t._level, n._span = t._span, n._session = t._session, n._transactionName = t._transactionName, n._fingerprint = t._fingerprint, n._eventProcessors = Od(t._eventProcessors), n._requestSession = t._requestSession), n
		}, e.prototype.addScopeListener = function(t) {
			this._scopeListeners.push(t)
		}, e.prototype.addEventProcessor = function(t) {
			return this._eventProcessors.push(t), this
		}, e.prototype.setUser = function(t) {
			return this._user = t || {}, this._session && this._session.update({
				user: t
			}), this._notifyScopeListeners(), this
		}, e.prototype.getUser = function() {
			return this._user
		}, e.prototype.getRequestSession = function() {
			return this._requestSession
		}, e.prototype.setRequestSession = function(t) {
			return this._requestSession = t, this
		}, e.prototype.setTags = function(t) {
			return this._tags = Ne(Ne({}, this._tags), t), this._notifyScopeListeners(), this
		}, e.prototype.setTag = function(t, n) {
			var r;
			return this._tags = Ne(Ne({}, this._tags), (r = {}, r[t] = n, r)), this._notifyScopeListeners(), this
		}, e.prototype.setExtras = function(t) {
			return this._extra = Ne(Ne({}, this._extra), t), this._notifyScopeListeners(), this
		}, e.prototype.setExtra = function(t, n) {
			var r;
			return this._extra = Ne(Ne({}, this._extra), (r = {}, r[t] = n, r)), this._notifyScopeListeners(), this
		}, e.prototype.setFingerprint = function(t) {
			return this._fingerprint = t, this._notifyScopeListeners(), this
		}, e.prototype.setLevel = function(t) {
			return this._level = t, this._notifyScopeListeners(), this
		}, e.prototype.setTransactionName = function(t) {
			return this._transactionName = t, this._notifyScopeListeners(), this
		}, e.prototype.setTransaction = function(t) {
			return this.setTransactionName(t)
		}, e.prototype.setContext = function(t, n) {
			var r;
			return n === null ? delete this._contexts[t] : this._contexts = Ne(Ne({}, this._contexts), (r = {}, r[t] = n, r)), this._notifyScopeListeners(), this
		}, e.prototype.setSpan = function(t) {
			return this._span = t, this._notifyScopeListeners(), this
		}, e.prototype.getSpan = function() {
			return this._span
		}, e.prototype.getTransaction = function() {
			var t = this.getSpan();
			return t && t.transaction
		}, e.prototype.setSession = function(t) {
			return t ? this._session = t : delete this._session, this._notifyScopeListeners(), this
		}, e.prototype.getSession = function() {
			return this._session
		}, e.prototype.update = function(t) {
			if (!t) return this;
			if (typeof t == "function") {
				var n = t(this);
				return n instanceof e ? n : this
			}
			return t instanceof e ? (this._tags = Ne(Ne({}, this._tags), t._tags), this._extra = Ne(Ne({}, this._extra), t._extra), this._contexts = Ne(Ne({}, this._contexts), t._contexts), t._user && Object.keys(t._user).length && (this._user = t._user), t._level && (this._level = t._level), t._fingerprint && (this._fingerprint = t._fingerprint), t._requestSession && (this._requestSession = t._requestSession)) : jp(t) && (t = t, this._tags = Ne(Ne({}, this._tags), t.tags), this._extra = Ne(Ne({}, this._extra), t.extra), this._contexts = Ne(Ne({}, this._contexts), t.contexts), t.user && (this._user = t.user), t.level && (this._level = t.level), t.fingerprint && (this._fingerprint = t.fingerprint), t.requestSession && (this._requestSession = t.requestSession)), this
		}, e.prototype.clear = function() {
			return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._span = void 0, this._session = void 0, this._notifyScopeListeners(), this
		}, e.prototype.addBreadcrumb = function(t, n) {
			var r = typeof n == "number" ? Math.min(n, mL) : mL;
			if (r <= 0) return this;
			var i = Ne({
				timestamp: _b()
			}, t);
			return this._breadcrumbs = Od(this._breadcrumbs, [i]).slice(-r), this._notifyScopeListeners(), this
		}, e.prototype.clearBreadcrumbs = function() {
			return this._breadcrumbs = [], this._notifyScopeListeners(), this
		}, e.prototype.applyToEvent = function(t, n) {
			if (this._extra && Object.keys(this._extra).length && (t.extra = Ne(Ne({}, this._extra), t.extra)), this._tags && Object.keys(this._tags).length && (t.tags = Ne(Ne({}, this._tags), t.tags)), this._user && Object.keys(this._user).length && (t.user = Ne(Ne({}, this._user), t.user)), this._contexts && Object.keys(this._contexts).length && (t.contexts = Ne(Ne({}, this._contexts), t.contexts)), this._level && (t.level = this._level), this._transactionName && (t.transaction = this._transactionName), this._span) {
				t.contexts = Ne({
					trace: this._span.getTraceContext()
				}, t.contexts);
				var r = this._span.transaction && this._span.transaction.name;
				r && (t.tags = Ne({
					transaction: r
				}, t.tags))
			}
			return this._applyFingerprint(t), t.breadcrumbs = Od(t.breadcrumbs || [], this._breadcrumbs), t.breadcrumbs = t.breadcrumbs.length > 0 ? t.breadcrumbs : void 0, t.sdkProcessingMetadata = this._sdkProcessingMetadata, this._notifyEventProcessors(Od(oG(), this._eventProcessors), t, n)
		}, e.prototype.setSDKProcessingMetadata = function(t) {
			return this._sdkProcessingMetadata = Ne(Ne({}, this._sdkProcessingMetadata), t), this
		}, e.prototype._notifyEventProcessors = function(t, n, r, i) {
			var o = this;
			return i === void 0 && (i = 0), new Ll(function(a, s) {
				var u = t[i];
				if (n === null || typeof u != "function") a(n);
				else {
					var l = u(Ne({}, n), r);
					e8(l) ? l.then(function(c) {
						return o._notifyEventProcessors(t, c, r, i + 1).then(a)
					}).then(null, s) : o._notifyEventProcessors(t, l, r, i + 1).then(a).then(null, s)
				}
			})
		}, e.prototype._notifyScopeListeners = function() {
			var t = this;
			this._notifyingListeners || (this._notifyingListeners = !0, this._scopeListeners.forEach(function(n) {
				n(t)
			}), this._notifyingListeners = !1)
		}, e.prototype._applyFingerprint = function(t) {
			t.fingerprint = t.fingerprint ? Array.isArray(t.fingerprint) ? t.fingerprint : [t.fingerprint] : [], this._fingerprint && (t.fingerprint = t.fingerprint.concat(this._fingerprint)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint
		}, e
	}();

function oG() {
	return X7("globalEventProcessors", function() {
		return []
	})
}

function o8(e) {
	oG().push(e)
}
var Rwe = function() {
		function e(t) {
			this.errors = 0, this.sid = lp(), this.duration = 0, this.status = "ok", this.init = !0, this.ignoreDuration = !1;
			var n = gL();
			this.timestamp = n, this.started = n, t && this.update(t)
		}
		return e.prototype.update = function(t) {
			if (t === void 0 && (t = {}), t.user && (!this.ipAddress && t.user.ip_address && (this.ipAddress = t.user.ip_address), !this.did && !t.did && (this.did = t.user.id || t.user.email || t.user.username)), this.timestamp = t.timestamp || gL(), t.ignoreDuration && (this.ignoreDuration = t.ignoreDuration), t.sid && (this.sid = t.sid.length === 32 ? t.sid : lp()), t.init !== void 0 && (this.init = t.init), !this.did && t.did && (this.did = "" + t.did), typeof t.started == "number" && (this.started = t.started), this.ignoreDuration) this.duration = void 0;
			else if (typeof t.duration == "number") this.duration = t.duration;
			else {
				var n = this.timestamp - this.started;
				this.duration = n >= 0 ? n : 0
			}
			t.release && (this.release = t.release), t.environment && (this.environment = t.environment), !this.ipAddress && t.ipAddress && (this.ipAddress = t.ipAddress), !this.userAgent && t.userAgent && (this.userAgent = t.userAgent), typeof t.errors == "number" && (this.errors = t.errors), t.status && (this.status = t.status)
		}, e.prototype.close = function(t) {
			t ? this.update({
				status: t
			}) : this.status === "ok" ? this.update({
				status: "exited"
			}) : this.update()
		}, e.prototype.toJSON = function() {
			return mC({
				sid: "" + this.sid,
				init: this.init,
				started: new Date(this.started * 1e3).toISOString(),
				timestamp: new Date(this.timestamp * 1e3).toISOString(),
				status: this.status,
				errors: this.errors,
				did: typeof this.did == "number" || typeof this.did == "string" ? "" + this.did : void 0,
				duration: this.duration,
				attrs: {
					release: this.release,
					environment: this.environment,
					ip_address: this.ipAddress,
					user_agent: this.userAgent
				}
			})
		}, e
	}(),
	yL = typeof __SENTRY_DEBUG__ > "u" ? !0 : __SENTRY_DEBUG__,
	a8 = 4,
	Iwe = 100,
	s8 = function() {
		function e(t, n, r) {
			n === void 0 && (n = new Ew), r === void 0 && (r = a8), this._version = r, this._stack = [{}], this.getStackTop().scope = n, t && this.bindClient(t)
		}
		return e.prototype.isOlderThan = function(t) {
			return this._version < t
		}, e.prototype.bindClient = function(t) {
			var n = this.getStackTop();
			n.client = t, t && t.setupIntegrations && t.setupIntegrations()
		}, e.prototype.pushScope = function() {
			var t = Ew.clone(this.getScope());
			return this.getStack().push({
				client: this.getClient(),
				scope: t
			}), t
		}, e.prototype.popScope = function() {
			return this.getStack().length <= 1 ? !1 : !!this.getStack().pop()
		}, e.prototype.withScope = function(t) {
			var n = this.pushScope();
			try {
				t(n)
			} finally {
				this.popScope()
			}
		}, e.prototype.getClient = function() {
			return this.getStackTop().client
		}, e.prototype.getScope = function() {
			return this.getStackTop().scope
		}, e.prototype.getStack = function() {
			return this._stack
		}, e.prototype.getStackTop = function() {
			return this._stack[this._stack.length - 1]
		}, e.prototype.captureException = function(t, n) {
			var r = this._lastEventId = n && n.event_id ? n.event_id : lp(),
				i = n;
			if (!n) {
				var o = void 0;
				try {
					throw new Error("Sentry syntheticException")
				} catch (a) {
					o = a
				}
				i = {
					originalException: t,
					syntheticException: o
				}
			}
			return this._invokeClient("captureException", t, Ne(Ne({}, i), {
				event_id: r
			})), r
		}, e.prototype.captureMessage = function(t, n, r) {
			var i = this._lastEventId = r && r.event_id ? r.event_id : lp(),
				o = r;
			if (!r) {
				var a = void 0;
				try {
					throw new Error(t)
				} catch (s) {
					a = s
				}
				o = {
					originalException: t,
					syntheticException: a
				}
			}
			return this._invokeClient("captureMessage", t, n, Ne(Ne({}, o), {
				event_id: i
			})), i
		}, e.prototype.captureEvent = function(t, n) {
			var r = n && n.event_id ? n.event_id : lp();
			return t.type !== "transaction" && (this._lastEventId = r), this._invokeClient("captureEvent", t, Ne(Ne({}, n), {
				event_id: r
			})), r
		}, e.prototype.lastEventId = function() {
			return this._lastEventId
		}, e.prototype.addBreadcrumb = function(t, n) {
			var r = this.getStackTop(),
				i = r.scope,
				o = r.client;
			if (!(!i || !o)) {
				var a = o.getOptions && o.getOptions() || {},
					s = a.beforeBreadcrumb,
					u = s === void 0 ? null : s,
					l = a.maxBreadcrumbs,
					c = l === void 0 ? Iwe : l;
				if (!(c <= 0)) {
					var d = _b(),
						p = Ne({
							timestamp: d
						}, t),
						g = u ? qz(function() {
							return u(p, n)
						}) : p;
					g !== null && i.addBreadcrumb(g, c)
				}
			}
		}, e.prototype.setUser = function(t) {
			var n = this.getScope();
			n && n.setUser(t)
		}, e.prototype.setTags = function(t) {
			var n = this.getScope();
			n && n.setTags(t)
		}, e.prototype.setExtras = function(t) {
			var n = this.getScope();
			n && n.setExtras(t)
		}, e.prototype.setTag = function(t, n) {
			var r = this.getScope();
			r && r.setTag(t, n)
		}, e.prototype.setExtra = function(t, n) {
			var r = this.getScope();
			r && r.setExtra(t, n)
		}, e.prototype.setContext = function(t, n) {
			var r = this.getScope();
			r && r.setContext(t, n)
		}, e.prototype.configureScope = function(t) {
			var n = this.getStackTop(),
				r = n.scope,
				i = n.client;
			r && i && t(r)
		}, e.prototype.run = function(t) {
			var n = wL(this);
			try {
				t(this)
			} finally {
				wL(n)
			}
		}, e.prototype.getIntegration = function(t) {
			var n = this.getClient();
			if (!n) return null;
			try {
				return n.getIntegration(t)
			} catch (r) {
				return yL && ot.warn("Cannot retrieve integration " + t.id + " from the current Hub"), null
			}
		}, e.prototype.startSpan = function(t) {
			return this._callExtensionMethod("startSpan", t)
		}, e.prototype.startTransaction = function(t, n) {
			return this._callExtensionMethod("startTransaction", t, n)
		}, e.prototype.traceHeaders = function() {
			return this._callExtensionMethod("traceHeaders")
		}, e.prototype.captureSession = function(t) {
			if (t === void 0 && (t = !1), t) return this.endSession();
			this._sendSessionUpdate()
		}, e.prototype.endSession = function() {
			var t = this.getStackTop(),
				n = t && t.scope,
				r = n && n.getSession();
			r && r.close(), this._sendSessionUpdate(), n && n.setSession()
		}, e.prototype.startSession = function(t) {
			var n = this.getStackTop(),
				r = n.scope,
				i = n.client,
				o = i && i.getOptions() || {},
				a = o.release,
				s = o.environment,
				u = vn(),
				l = (u.navigator || {}).userAgent,
				c = new Rwe(Ne(Ne(Ne({
					release: a,
					environment: s
				}, r && {
					user: r.getUser()
				}), l && {
					userAgent: l
				}), t));
			if (r) {
				var d = r.getSession && r.getSession();
				d && d.status === "ok" && d.update({
					status: "exited"
				}), this.endSession(), r.setSession(c)
			}
			return c
		}, e.prototype._sendSessionUpdate = function() {
			var t = this.getStackTop(),
				n = t.scope,
				r = t.client;
			if (n) {
				var i = n.getSession && n.getSession();
				i && r && r.captureSession && r.captureSession(i)
			}
		}, e.prototype._invokeClient = function(t) {
			for (var n, r = [], i = 1; i < arguments.length; i++) r[i - 1] = arguments[i];
			var o = this.getStackTop(),
				a = o.scope,
				s = o.client;
			s && s[t] && (n = s)[t].apply(n, Od(r, [a]))
		}, e.prototype._callExtensionMethod = function(t) {
			for (var n = [], r = 1; r < arguments.length; r++) n[r - 1] = arguments[r];
			var i = xb(),
				o = i.__SENTRY__;
			if (o && o.extensions && typeof o.extensions[t] == "function") return o.extensions[t].apply(this, n);
			yL && ot.warn("Extension method " + t + " couldn't be found, doing nothing.")
		}, e
	}();

function xb() {
	var e = vn();
	return e.__SENTRY__ = e.__SENTRY__ || {
		extensions: {},
		hub: void 0
	}, e
}

function wL(e) {
	var t = xb(),
		n = Hu(t);
	return u8(t, e), n
}

function Zr() {
	var e = xb();
	return (!aG(e) || Hu(e).isOlderThan(a8)) && u8(e, new s8), Y7() ? kwe(e) : Hu(e)
}

function kwe(e) {
	try {
		var t = xb().__SENTRY__,
			n = t && t.extensions && t.extensions.domain && t.extensions.domain.active;
		if (!n) return Hu(e);
		if (!aG(n) || Hu(n).isOlderThan(a8)) {
			var r = Hu(e).getStackTop();
			u8(n, new s8(r.client, Ew.clone(r.scope)))
		}
		return Hu(n)
	} catch (i) {
		return Hu(e)
	}
}

function aG(e) {
	return !!(e && e.__SENTRY__ && e.__SENTRY__.hub)
}

function Hu(e) {
	return X7("hub", function() {
		return new s8
	}, e)
}

function u8(e, t) {
	if (!e) return !1;
	var n = e.__SENTRY__ = e.__SENTRY__ || {};
	return n.hub = t, !0
}

function sG(e) {
	for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
	var r = Zr();
	if (r && r[e]) return r[e].apply(r, E2e(t));
	throw new Error("No hub defined or " + e + " was not found on the hub, please open a bug report.")
}

function uG(e, t) {
	var n = new Error("Sentry syntheticException");
	return sG("captureException", e, {
		captureContext: t,
		originalException: e,
		syntheticException: n
	})
}

function Awe(e) {
	sG("withScope", e)
}
var Mwe = "7";

function Cw(e, t, n) {
	return {
		initDsn: e,
		metadata: t || {},
		dsn: t8(e),
		tunnel: n
	}
}

function lG(e) {
	var t = e.protocol ? e.protocol + ":" : "",
		n = e.port ? ":" + e.port : "";
	return t + "//" + e.host + n + (e.path ? "/" + e.path : "") + "/api/"
}

function cG(e, t) {
	return "" + lG(e) + e.projectId + "/" + t + "/"
}

function fG(e) {
	return q2e({
		sentry_key: e.publicKey,
		sentry_version: Mwe
	})
}

function Pwe(e) {
	return cG(e, "store")
}

function dG(e) {
	return Pwe(e) + "?" + fG(e)
}

function Lwe(e) {
	return cG(e, "envelope")
}

function Eb(e, t) {
	return t || Lwe(e) + "?" + fG(e)
}

function Nwe(e, t) {
	var n = t8(e),
		r = lG(n) + "embed/error-page/",
		i = "dsn=" + W1(n);
	for (var o in t)
		if (o !== "dsn")
			if (o === "user") {
				if (!t.user) continue;
				t.user.name && (i += "&name=" + encodeURIComponent(t.user.name)), t.user.email && (i += "&email=" + encodeURIComponent(t.user.email))
			} else i += "&" + encodeURIComponent(o) + "=" + encodeURIComponent(t[o]);
	return r + "?" + i
}
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var fn = function() {
	return fn = Object.assign || function(t) {
		for (var n, r = 1, i = arguments.length; r < i; r++) {
			n = arguments[r];
			for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o])
		}
		return t
	}, fn.apply(this, arguments)
};

function Dwe(e) {
	var t = typeof Symbol == "function" && Symbol.iterator,
		n = t && e[t],
		r = 0;
	if (n) return n.call(e);
	if (e && typeof e.length == "number") return {
		next: function() {
			return e && r >= e.length && (e = void 0), {
				value: e && e[r++],
				done: !e
			}
		}
	};
	throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.")
}

function l8(e, t) {
	var n = typeof Symbol == "function" && e[Symbol.iterator];
	if (!n) return e;
	var r = n.call(e),
		i, o = [],
		a;
	try {
		for (;
			(t === void 0 || t-- > 0) && !(i = r.next()).done;) o.push(i.value)
	} catch (s) {
		a = {
			error: s
		}
	} finally {
		try {
			i && !i.done && (n = r.return) && n.call(r)
		} finally {
			if (a) throw a.error
		}
	}
	return o
}

function Da() {
	for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(l8(arguments[t]));
	return e
}
var Ln = typeof __SENTRY_DEBUG__ > "u" ? !0 : __SENTRY_DEBUG__,
	_L = [];

function bL(e) {
	return e.reduce(function(t, n) {
		return t.every(function(r) {
			return n.name !== r.name
		}) && t.push(n), t
	}, [])
}

function $we(e) {
	var t = e.defaultIntegrations && Da(e.defaultIntegrations) || [],
		n = e.integrations,
		r = Da(bL(t));
	Array.isArray(n) ? r = Da(r.filter(function(a) {
		return n.every(function(s) {
			return s.name !== a.name
		})
	}), bL(n)) : typeof n == "function" && (r = n(r), r = Array.isArray(r) ? r : [r]);
	var i = r.map(function(a) {
			return a.name
		}),
		o = "Debug";
	return i.indexOf(o) !== -1 && r.push.apply(r, Da(r.splice(i.indexOf(o), 1))), r
}

function Fwe(e) {
	_L.indexOf(e.name) === -1 && (e.setupOnce(o8, Zr), _L.push(e.name), Ln && ot.log("Integration installed: " + e.name))
}

function jwe(e) {
	var t = {};
	return $we(e).forEach(function(n) {
		t[n.name] = n, Fwe(n)
	}), yb(t, "initialized", !0), t
}
var SL = "Not capturing exception because it's already been captured.",
	Uwe = function() {
		function e(t, n) {
			this._integrations = {}, this._numProcessing = 0, this._backend = new t(n), this._options = n, n.dsn && (this._dsn = t8(n.dsn))
		}
		return e.prototype.captureException = function(t, n, r) {
			var i = this;
			if (hL(t)) {
				Ln && ot.log(SL);
				return
			}
			var o = n && n.event_id;
			return this._process(this._getBackend().eventFromException(t, n).then(function(a) {
				return i._captureEvent(a, n, r)
			}).then(function(a) {
				o = a
			})), o
		}, e.prototype.captureMessage = function(t, n, r, i) {
			var o = this,
				a = r && r.event_id,
				s = Q7(t) ? this._getBackend().eventFromMessage(String(t), n, r) : this._getBackend().eventFromException(t, r);
			return this._process(s.then(function(u) {
				return o._captureEvent(u, r, i)
			}).then(function(u) {
				a = u
			})), a
		}, e.prototype.captureEvent = function(t, n, r) {
			if (n && n.originalException && hL(n.originalException)) {
				Ln && ot.log(SL);
				return
			}
			var i = n && n.event_id;
			return this._process(this._captureEvent(t, n, r).then(function(o) {
				i = o
			})), i
		}, e.prototype.captureSession = function(t) {
			if (!this._isEnabled()) {
				Ln && ot.warn("SDK not enabled, will not capture session.");
				return
			}
			typeof t.release != "string" ? Ln && ot.warn("Discarded session because of missing or non-string release") : (this._sendSession(t), t.update({
				init: !1
			}))
		}, e.prototype.getDsn = function() {
			return this._dsn
		}, e.prototype.getOptions = function() {
			return this._options
		}, e.prototype.getTransport = function() {
			return this._getBackend().getTransport()
		}, e.prototype.flush = function(t) {
			var n = this;
			return this._isClientDoneProcessing(t).then(function(r) {
				return n.getTransport().close(t).then(function(i) {
					return r && i
				})
			})
		}, e.prototype.close = function(t) {
			var n = this;
			return this.flush(t).then(function(r) {
				return n.getOptions().enabled = !1, r
			})
		}, e.prototype.setupIntegrations = function() {
			this._isEnabled() && !this._integrations.initialized && (this._integrations = jwe(this._options))
		}, e.prototype.getIntegration = function(t) {
			try {
				return this._integrations[t.id] || null
			} catch (n) {
				return Ln && ot.warn("Cannot retrieve integration " + t.id + " from the current Client"), null
			}
		}, e.prototype._updateSessionFromEvent = function(t, n) {
			var r, i, o = !1,
				a = !1,
				s = n.exception && n.exception.values;
			if (s) {
				a = !0;
				try {
					for (var u = Dwe(s), l = u.next(); !l.done; l = u.next()) {
						var c = l.value,
							d = c.mechanism;
						if (d && d.handled === !1) {
							o = !0;
							break
						}
					}
				} catch (m) {
					r = {
						error: m
					}
				} finally {
					try {
						l && !l.done && (i = u.return) && i.call(u)
					} finally {
						if (r) throw r.error
					}
				}
			}
			var p = t.status === "ok",
				g = p && t.errors === 0 || p && o;
			g && (t.update(fn(fn({}, o && {
				status: "crashed"
			}), {
				errors: t.errors || Number(a || o)
			})), this.captureSession(t))
		}, e.prototype._sendSession = function(t) {
			this._getBackend().sendSession(t)
		}, e.prototype._isClientDoneProcessing = function(t) {
			var n = this;
			return new Ll(function(r) {
				var i = 0,
					o = 1,
					a = setInterval(function() {
						n._numProcessing == 0 ? (clearInterval(a), r(!0)) : (i += o, t && i >= t && (clearInterval(a), r(!1)))
					}, o)
			})
		}, e.prototype._getBackend = function() {
			return this._backend
		}, e.prototype._isEnabled = function() {
			return this.getOptions().enabled !== !1 && this._dsn !== void 0
		}, e.prototype._prepareEvent = function(t, n, r) {
			var i = this,
				o = this.getOptions(),
				a = o.normalizeDepth,
				s = a === void 0 ? 3 : a,
				u = o.normalizeMaxBreadth,
				l = u === void 0 ? 1e3 : u,
				c = fn(fn({}, t), {
					event_id: t.event_id || (r && r.event_id ? r.event_id : lp()),
					timestamp: t.timestamp || _b()
				});
			this._applyClientOptions(c), this._applyIntegrationsMetadata(c);
			var d = n;
			r && r.captureContext && (d = Ew.clone(d).update(r.captureContext));
			var p = ff(c);
			return d && (p = d.applyToEvent(c, r)), p.then(function(g) {
				return g && (g.sdkProcessingMetadata = fn(fn({}, g.sdkProcessingMetadata), {
					normalizeDepth: wc(s) + " (" + typeof s + ")"
				})), typeof s == "number" && s > 0 ? i._normalizeEvent(g, s, l) : g
			})
		}, e.prototype._normalizeEvent = function(t, n, r) {
			if (!t) return null;
			var i = fn(fn(fn(fn(fn({}, t), t.breadcrumbs && {
				breadcrumbs: t.breadcrumbs.map(function(o) {
					return fn(fn({}, o), o.data && {
						data: wc(o.data, n, r)
					})
				})
			}), t.user && {
				user: wc(t.user, n, r)
			}), t.contexts && {
				contexts: wc(t.contexts, n, r)
			}), t.extra && {
				extra: wc(t.extra, n, r)
			});
			return t.contexts && t.contexts.trace && (i.contexts.trace = t.contexts.trace), i.sdkProcessingMetadata = fn(fn({}, i.sdkProcessingMetadata), {
				baseClientNormalized: !0
			}), i
		}, e.prototype._applyClientOptions = function(t) {
			var n = this.getOptions(),
				r = n.environment,
				i = n.release,
				o = n.dist,
				a = n.maxValueLength,
				s = a === void 0 ? 250 : a;
			"environment" in t || (t.environment = "environment" in n ? r : "production"), t.release === void 0 && i !== void 0 && (t.release = i), t.dist === void 0 && o !== void 0 && (t.dist = o), t.message && (t.message = vv(t.message, s));
			var u = t.exception && t.exception.values && t.exception.values[0];
			u && u.value && (u.value = vv(u.value, s));
			var l = t.request;
			l && l.url && (l.url = vv(l.url, s))
		}, e.prototype._applyIntegrationsMetadata = function(t) {
			var n = Object.keys(this._integrations);
			n.length > 0 && (t.sdk = t.sdk || {}, t.sdk.integrations = Da(t.sdk.integrations || [], n))
		}, e.prototype._sendEvent = function(t) {
			this._getBackend().sendEvent(t)
		}, e.prototype._captureEvent = function(t, n, r) {
			return this._processEvent(t, n, r).then(function(i) {
				return i.event_id
			}, function(i) {
				Ln && ot.error(i)
			})
		}, e.prototype._processEvent = function(t, n, r) {
			var i = this,
				o = this.getOptions(),
				a = o.beforeSend,
				s = o.sampleRate,
				u = this.getTransport();

			function l(d, p) {
				u.recordLostEvent && u.recordLostEvent(d, p)
			}
			if (!this._isEnabled()) return Xv(new Gn("SDK not enabled, will not capture event."));
			var c = t.type === "transaction";
			return !c && typeof s == "number" && Math.random() > s ? (l("sample_rate", "event"), Xv(new Gn("Discarding event because it's not included in the random sample (sampling rate = " + s + ")"))) : this._prepareEvent(t, r, n).then(function(d) {
				if (d === null) throw l("event_processor", t.type || "event"), new Gn("An event processor returned null, will not send event.");
				var p = n && n.data && n.data.__sentry__ === !0;
				if (p || c || !a) return d;
				var g = a(d, n);
				return Hwe(g)
			}).then(function(d) {
				if (d === null) throw l("before_send", t.type || "event"), new Gn("`beforeSend` returned `null`, will not send event.");
				var p = r && r.getSession && r.getSession();
				return !c && p && i._updateSessionFromEvent(p, d), i._sendEvent(d), d
			}).then(null, function(d) {
				throw d instanceof Gn ? d : (i.captureException(d, {
					data: {
						__sentry__: !0
					},
					originalException: d
				}), new Gn("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: " + d))
			})
		}, e.prototype._process = function(t) {
			var n = this;
			this._numProcessing += 1, t.then(function(r) {
				return n._numProcessing -= 1, r
			}, function(r) {
				return n._numProcessing -= 1, r
			})
		}, e
	}();

function Hwe(e) {
	var t = "`beforeSend` method has to return `null` or a valid event.";
	if (e8(e)) return e.then(function(n) {
		if (!(jp(n) || n === null)) throw new Gn(t);
		return n
	}, function(n) {
		throw new Gn("beforeSend rejected with " + n)
	});
	if (!(jp(e) || e === null)) throw new Gn(t);
	return e
}

function c8(e) {
	if (!(!e.metadata || !e.metadata.sdk)) {
		var t = e.metadata.sdk,
			n = t.name,
			r = t.version;
		return {
			name: n,
			version: r
		}
	}
}

function pG(e, t) {
	return t && (e.sdk = e.sdk || {}, e.sdk.name = e.sdk.name || t.name, e.sdk.version = e.sdk.version || t.version, e.sdk.integrations = Da(e.sdk.integrations || [], t.integrations || []), e.sdk.packages = Da(e.sdk.packages || [], t.packages || [])), e
}

function hG(e, t) {
	var n = c8(t),
		r = fn(fn({
			sent_at: new Date().toISOString()
		}, n && {
			sdk: n
		}), !!t.tunnel && {
			dsn: W1(t.dsn)
		}),
		i = "aggregates" in e ? "sessions" : "session",
		o = [{
			type: i
		}, e],
		a = bb(r, [o]);
	return [a, i]
}

function Vwe(e, t) {
	var n = l8(hG(e, t), 2),
		r = n[0],
		i = n[1];
	return {
		body: Sb(r),
		type: i,
		url: Eb(t.dsn, t.tunnel)
	}
}

function Bwe(e, t) {
	var n = c8(t),
		r = e.type || "event",
		i = (e.sdkProcessingMetadata || {}).transactionSampling,
		o = i || {},
		a = o.method,
		s = o.rate;
	pG(e, t.metadata.sdk), e.tags = e.tags || {}, e.extra = e.extra || {}, e.sdkProcessingMetadata && e.sdkProcessingMetadata.baseClientNormalized || (e.tags.skippedNormalization = !0, e.extra.normalizeDepth = e.sdkProcessingMetadata ? e.sdkProcessingMetadata.normalizeDepth : "unset"), delete e.sdkProcessingMetadata;
	var u = fn(fn({
			event_id: e.event_id,
			sent_at: new Date().toISOString()
		}, n && {
			sdk: n
		}), !!t.tunnel && {
			dsn: W1(t.dsn)
		}),
		l = [{
			type: r,
			sample_rates: [{
				id: a,
				rate: s
			}]
		}, e];
	return bb(u, [l])
}

function zwe(e, t) {
	var n = c8(t),
		r = e.type || "event",
		i = r === "transaction" || !!t.tunnel,
		o = (e.sdkProcessingMetadata || {}).transactionSampling,
		a = o || {},
		s = a.method,
		u = a.rate;
	pG(e, t.metadata.sdk), e.tags = e.tags || {}, e.extra = e.extra || {}, e.sdkProcessingMetadata && e.sdkProcessingMetadata.baseClientNormalized || (e.tags.skippedNormalization = !0, e.extra.normalizeDepth = e.sdkProcessingMetadata ? e.sdkProcessingMetadata.normalizeDepth : "unset"), delete e.sdkProcessingMetadata;
	var l;
	try {
		l = JSON.stringify(e)
	} catch (_) {
		e.tags.JSONStringifyError = !0, e.extra.JSONStringifyError = _;
		try {
			l = JSON.stringify(wc(e))
		} catch (S) {
			var c = S;
			l = JSON.stringify({
				message: "JSON.stringify error after renormalization",
				extra: {
					message: c.message,
					stack: c.stack
				}
			})
		}
	}
	var d = {
		body: l,
		type: r,
		url: i ? Eb(t.dsn, t.tunnel) : dG(t.dsn)
	};
	if (i) {
		var p = fn(fn({
				event_id: e.event_id,
				sent_at: new Date().toISOString()
			}, n && {
				sdk: n
			}), !!t.tunnel && {
				dsn: W1(t.dsn)
			}),
			g = [{
				type: r,
				sample_rates: [{
					id: s,
					rate: u
				}]
			}, d.body],
			m = bb(p, [g]);
		d.body = Sb(m)
	}
	return d
}
var Gwe = function() {
		function e() {}
		return e.prototype.sendEvent = function(t) {
			return ff({
				reason: "NoopTransport: Event has been skipped because no Dsn is configured.",
				status: "skipped"
			})
		}, e.prototype.close = function(t) {
			return ff(!0)
		}, e
	}(),
	Wwe = function() {
		function e(t) {
			this._options = t, this._options.dsn || Ln && ot.warn("No DSN provided, backend will not do anything."), this._transport = this._setupTransport()
		}
		return e.prototype.eventFromException = function(t, n) {
			throw new Gn("Backend has to implement `eventFromException` method")
		}, e.prototype.eventFromMessage = function(t, n, r) {
			throw new Gn("Backend has to implement `eventFromMessage` method")
		}, e.prototype.sendEvent = function(t) {
			if (this._newTransport && this._options.dsn && this._options._experiments && this._options._experiments.newTransport) {
				var n = Cw(this._options.dsn, this._options._metadata, this._options.tunnel),
					r = Bwe(t, n);
				this._newTransport.send(r).then(null, function(i) {
					Ln && ot.error("Error while sending event:", i)
				})
			} else this._transport.sendEvent(t).then(null, function(i) {
				Ln && ot.error("Error while sending event:", i)
			})
		}, e.prototype.sendSession = function(t) {
			if (!this._transport.sendSession) {
				Ln && ot.warn("Dropping session because custom transport doesn't implement sendSession");
				return
			}
			if (this._newTransport && this._options.dsn && this._options._experiments && this._options._experiments.newTransport) {
				var n = Cw(this._options.dsn, this._options._metadata, this._options.tunnel),
					r = l8(hG(t, n), 1),
					i = r[0];
				this._newTransport.send(i).then(null, function(o) {
					Ln && ot.error("Error while sending session:", o)
				})
			} else this._transport.sendSession(t).then(null, function(o) {
				Ln && ot.error("Error while sending session:", o)
			})
		}, e.prototype.getTransport = function() {
			return this._transport
		}, e.prototype._setupTransport = function() {
			return new Gwe
		}, e
	}();

function Kwe(e, t) {
	t.debug === !0 && (Ln ? ot.enable() : console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));
	var n = Zr(),
		r = n.getScope();
	r && r.update(t.initialScope);
	var i = new e(t);
	n.bindClient(i)
}
var Zwe = 30;

function vG(e, t, n) {
	n === void 0 && (n = tG(e.bufferSize || Zwe));
	var r = {},
		i = function(a) {
			return n.drain(a)
		};

	function o(a) {
		var s = Ewe(a),
			u = s === "event" ? "error" : s,
			l = {
				category: u,
				body: Sb(a)
			};
		if (rG(r, u)) return Xv({
			status: "rate_limit",
			reason: xL(r, u)
		});
		var c = function() {
			return t(l).then(function(d) {
				var p = d.body,
					g = d.headers,
					m = d.reason,
					_ = d.statusCode,
					S = nG(_);
				return g && (r = iG(r, g)), S === "success" ? ff({
					status: S,
					reason: m
				}) : Xv({
					status: S,
					reason: m || p || (S === "rate_limit" ? xL(r, u) : "Unknown transport error")
				})
			})
		};
		return n.add(c)
	}
	return {
		send: o,
		flush: i
	}
}

function xL(e, t) {
	return "Too many " + t + " requests, backing off until: " + new Date(i8(e, t)).toISOString()
}
var Ow = "6.19.7",
	EL, qwe = function() {
		function e() {
			this.name = e.id
		}
		return e.prototype.setupOnce = function() {
			EL = Function.prototype.toString, Function.prototype.toString = function() {
				for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n];
				var r = r8(this) || this;
				return EL.apply(r, t)
			}
		}, e.id = "FunctionToString", e
	}(),
	Ywe = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/],
	Xwe = function() {
		function e(t) {
			t === void 0 && (t = {}), this._options = t, this.name = e.id
		}
		return e.prototype.setupOnce = function(t, n) {
			t(function(r) {
				var i = n();
				if (i) {
					var o = i.getIntegration(e);
					if (o) {
						var a = i.getClient(),
							s = a ? a.getOptions() : {},
							u = Jwe(o._options, s);
						return Qwe(r, u) ? null : r
					}
				}
				return r
			})
		}, e.id = "InboundFilters", e
	}();

function Jwe(e, t) {
	return e === void 0 && (e = {}), t === void 0 && (t = {}), {
		allowUrls: Da(e.whitelistUrls || [], e.allowUrls || [], t.whitelistUrls || [], t.allowUrls || []),
		denyUrls: Da(e.blacklistUrls || [], e.denyUrls || [], t.blacklistUrls || [], t.denyUrls || []),
		ignoreErrors: Da(e.ignoreErrors || [], t.ignoreErrors || [], Ywe),
		ignoreInternal: e.ignoreInternal !== void 0 ? e.ignoreInternal : !0
	}
}

function Qwe(e, t) {
	return t.ignoreInternal && i_e(e) ? (Ln && ot.warn("Event dropped due to being internal Sentry Error.\nEvent: " + Ac(e)), !0) : e_e(e, t.ignoreErrors) ? (Ln && ot.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + Ac(e)), !0) : t_e(e, t.denyUrls) ? (Ln && ot.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: " + Ac(e) + ".\nUrl: " + Tw(e)), !0) : n_e(e, t.allowUrls) ? !1 : (Ln && ot.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: " + Ac(e) + ".\nUrl: " + Tw(e)), !0)
}

function e_e(e, t) {
	return !t || !t.length ? !1 : r_e(e).some(function(n) {
		return t.some(function(r) {
			return n8(n, r)
		})
	})
}

function t_e(e, t) {
	if (!t || !t.length) return !1;
	var n = Tw(e);
	return n ? t.some(function(r) {
		return n8(n, r)
	}) : !1
}

function n_e(e, t) {
	if (!t || !t.length) return !0;
	var n = Tw(e);
	return n ? t.some(function(r) {
		return n8(n, r)
	}) : !0
}

function r_e(e) {
	if (e.message) return [e.message];
	if (e.exception) try {
		var t = e.exception.values && e.exception.values[0] || {},
			n = t.type,
			r = n === void 0 ? "" : n,
			i = t.value,
			o = i === void 0 ? "" : i;
		return ["" + o, r + ": " + o]
	} catch (a) {
		return Ln && ot.error("Cannot extract message for event " + Ac(e)), []
	}
	return []
}

function i_e(e) {
	try {
		return e.exception.values[0].type === "SentryError"
	} catch (t) {}
	return !1
}

function CL(e) {
	e === void 0 && (e = []);
	for (var t = e.length - 1; t >= 0; t--) {
		var n = e[t];
		if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null
	}
	return null
}

function Tw(e) {
	try {
		if (e.stacktrace) return CL(e.stacktrace.frames);
		var t;
		try {
			t = e.exception.values[0].stacktrace.frames
		} catch (n) {}
		return t ? CL(t) : null
	} catch (n) {
		return Ln && ot.error("Cannot extract url for event " + Ac(e)), null
	}
}
var Th = "?",
	o_e = 10,
	a_e = 20,
	s_e = 30,
	u_e = 40,
	l_e = 50;

function K1(e, t, n, r) {
	var i = {
		filename: e,
		function: t,
		in_app: !0
	};
	return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i
}
var c_e = /^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,
	f_e = /\((\S*)(?::(\d+))(?::(\d+))\)/,
	d_e = function(e) {
		var t = c_e.exec(e);
		if (t) {
			var n = t[2] && t[2].indexOf("eval") === 0;
			if (n) {
				var r = f_e.exec(t[2]);
				r && (t[2] = r[1], t[3] = r[2], t[4] = r[3])
			}
			var i = Eh(gG(t[1] || Th, t[2]), 2),
				o = i[0],
				a = i[1];
			return K1(a, o, t[3] ? +t[3] : void 0, t[4] ? +t[4] : void 0)
		}
	},
	p_e = [s_e, d_e],
	h_e = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,
	v_e = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i,
	g_e = function(e) {
		var t, n = h_e.exec(e);
		if (n) {
			var r = n[3] && n[3].indexOf(" > eval") > -1;
			if (r) {
				var i = v_e.exec(n[3]);
				i && (n[1] = n[1] || "eval", n[3] = i[1], n[4] = i[2], n[5] = "")
			}
			var o = n[3],
				a = n[1] || Th;
			return t = Eh(gG(a, o), 2), a = t[0], o = t[1], K1(o, a, n[4] ? +n[4] : void 0, n[5] ? +n[5] : void 0)
		}
	},
	m_e = [l_e, g_e],
	y_e = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,
	w_e = function(e) {
		var t = y_e.exec(e);
		return t ? K1(t[2], t[1] || Th, +t[3], t[4] ? +t[4] : void 0) : void 0
	},
	__e = [u_e, w_e],
	b_e = / line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,
	S_e = function(e) {
		var t = b_e.exec(e);
		return t ? K1(t[2], t[3] || Th, +t[1]) : void 0
	},
	x_e = [o_e, S_e],
	E_e = / line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,
	C_e = function(e) {
		var t = E_e.exec(e);
		return t ? K1(t[5], t[3] || t[4] || Th, +t[1], +t[2]) : void 0
	},
	O_e = [a_e, C_e],
	gG = function(e, t) {
		var n = e.indexOf("safari-extension") !== -1,
			r = e.indexOf("safari-web-extension") !== -1;
		return n || r ? [e.indexOf("@") !== -1 ? e.split("@")[0] : Th, n ? "safari-extension:" + t : "safari-web-extension:" + t] : [e, t]
	};

function mG(e) {
	var t = f8(e),
		n = {
			type: e && e.name,
			value: k_e(e)
		};
	return t.length && (n.stacktrace = {
		frames: t
	}), n.type === void 0 && n.value === "" && (n.value = "Unrecoverable error caught"), n
}

function T_e(e, t, n) {
	var r = {
		exception: {
			values: [{
				type: mb(e) ? e.constructor.name : n ? "UnhandledRejection" : "Error",
				value: "Non-Error " + (n ? "promise rejection" : "exception") + " captured with keys: " + Y2e(e)
			}]
		},
		extra: {
			__serialized__: Qz(e)
		}
	};
	if (t) {
		var i = f8(t);
		i.length && (r.stacktrace = {
			frames: i
		})
	}
	return r
}

function tx(e) {
	return {
		exception: {
			values: [mG(e)]
		}
	}
}

function f8(e) {
	var t = e.stacktrace || e.stack || "",
		n = I_e(e);
	try {
		return J2e(x_e, O_e, p_e, __e, m_e)(t, n)
	} catch (r) {}
	return []
}
var R_e = /Minified React error #\d+;/i;

function I_e(e) {
	if (e) {
		if (typeof e.framesToPop == "number") return e.framesToPop;
		if (R_e.test(e.message)) return 1
	}
	return 0
}

function k_e(e) {
	var t = e && e.message;
	return t ? t.error && typeof t.error.message == "string" ? t.error.message : t : "No error message"
}

function A_e(e, t, n) {
	var r = t && t.syntheticException || void 0,
		i = d8(e, r, n);
	return Yv(i), i.level = Wa.Error, t && t.event_id && (i.event_id = t.event_id), ff(i)
}

function M_e(e, t, n, r) {
	t === void 0 && (t = Wa.Info);
	var i = n && n.syntheticException || void 0,
		o = bC(e, i, r);
	return o.level = t, n && n.event_id && (o.event_id = n.event_id), ff(o)
}

function d8(e, t, n, r) {
	var i;
	if (Kz(e) && e.error) {
		var o = e;
		return tx(o.error)
	}
	if (sL(e) || k2e(e)) {
		var a = e;
		if ("stack" in e) i = tx(e);
		else {
			var s = a.name || (sL(a) ? "DOMError" : "DOMException"),
				u = a.message ? s + ": " + a.message : s;
			i = bC(u, t, n), wC(i, u)
		}
		return "code" in a && (i.tags = rn(rn({}, i.tags), {
			"DOMException.code": "" + a.code
		})), i
	}
	if (J7(e)) return tx(e);
	if (jp(e) || mb(e)) {
		var l = e;
		return i = T_e(l, t, r), Yv(i, {
			synthetic: !0
		}), i
	}
	return i = bC(e, t, n), wC(i, "" + e), Yv(i, {
		synthetic: !0
	}), i
}

function bC(e, t, n) {
	var r = {
		message: e
	};
	if (n && t) {
		var i = f8(t);
		i.length && (r.stacktrace = {
			frames: i
		})
	}
	return r
}
var yo = typeof __SENTRY_DEBUG__ > "u" ? !0 : __SENTRY_DEBUG__,
	zo = vn(),
	qm;

function p8() {
	if (qm) return qm;
	if (yC(zo.fetch)) return qm = zo.fetch.bind(zo);
	var e = zo.document,
		t = zo.fetch;
	if (e && typeof e.createElement == "function") try {
		var n = e.createElement("iframe");
		n.hidden = !0, e.head.appendChild(n);
		var r = n.contentWindow;
		r && r.fetch && (t = r.fetch), e.head.removeChild(n)
	} catch (i) {
		yo && ot.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", i)
	}
	return qm = t.bind(zo)
}

function P_e(e, t) {
	var n = Object.prototype.toString.call(zo && zo.navigator) === "[object Navigator]",
		r = n && typeof zo.navigator.sendBeacon == "function";
	if (r) {
		var i = zo.navigator.sendBeacon.bind(zo.navigator);
		return i(e, t)
	}
	if (wb()) {
		var o = p8();
		return O2e(o(e, {
			body: t,
			method: "POST",
			credentials: "omit",
			keepalive: !0
		}))
	}
}

function nx(e) {
	var t = e;
	return t === "event" ? "error" : t
}
var rx = vn(),
	yG = function() {
		function e(t) {
			var n = this;
			this.options = t, this._buffer = tG(30), this._rateLimits = {}, this._outcomes = {}, this._api = Cw(t.dsn, t._metadata, t.tunnel), this.url = dG(this._api.dsn), this.options.sendClientReports && rx.document && rx.document.addEventListener("visibilitychange", function() {
				rx.document.visibilityState === "hidden" && n._flushOutcomes()
			})
		}
		return e.prototype.sendEvent = function(t) {
			return this._sendRequest(zwe(t, this._api), t)
		}, e.prototype.sendSession = function(t) {
			return this._sendRequest(Vwe(t, this._api), t)
		}, e.prototype.close = function(t) {
			return this._buffer.drain(t)
		}, e.prototype.recordLostEvent = function(t, n) {
			var r;
			if (this.options.sendClientReports) {
				var i = nx(n) + ":" + t;
				yo && ot.log("Adding outcome: " + i), this._outcomes[i] = (r = this._outcomes[i], (r != null ? r : 0) + 1)
			}
		}, e.prototype._flushOutcomes = function() {
			if (this.options.sendClientReports) {
				var t = this._outcomes;
				if (this._outcomes = {}, !Object.keys(t).length) {
					yo && ot.log("No outcomes to flush");
					return
				}
				yo && ot.log("Flushing outcomes:\n" + JSON.stringify(t, null, 2));
				var n = Eb(this._api.dsn, this._api.tunnel),
					r = Object.keys(t).map(function(o) {
						var a = Eh(o.split(":"), 2),
							s = a[0],
							u = a[1];
						return {
							reason: u,
							category: s,
							quantity: t[o]
						}
					}),
					i = Cwe(r, this._api.tunnel && W1(this._api.dsn));
				try {
					P_e(n, Sb(i))
				} catch (o) {
					yo && ot.error(o)
				}
			}
		}, e.prototype._handleResponse = function(t) {
			var n = t.requestType,
				r = t.response,
				i = t.headers,
				o = t.resolve,
				a = t.reject,
				s = nG(r.status);
			if (this._rateLimits = iG(this._rateLimits, i), this._isRateLimited(n) && yo && ot.warn("Too many " + n + " requests, backing off until: " + this._disabledUntil(n)), s === "success") {
				o({
					status: s
				});
				return
			}
			a(r)
		}, e.prototype._disabledUntil = function(t) {
			var n = nx(t);
			return new Date(i8(this._rateLimits, n))
		}, e.prototype._isRateLimited = function(t) {
			var n = nx(t);
			return rG(this._rateLimits, n)
		}, e
	}(),
	L_e = function(e) {
		gb(t, e);

		function t(n, r) {
			r === void 0 && (r = p8());
			var i = e.call(this, n) || this;
			return i._fetch = r, i
		}
		return t.prototype._sendRequest = function(n, r) {
			var i = this;
			if (this._isRateLimited(n.type)) return this.recordLostEvent("ratelimit_backoff", n.type), Promise.reject({
				event: r,
				type: n.type,
				reason: "Transport for " + n.type + " requests locked till " + this._disabledUntil(n.type) + " due to too many requests.",
				status: 429
			});
			var o = {
				body: n.body,
				method: "POST",
				referrerPolicy: twe() ? "origin" : ""
			};
			return this.options.fetchParameters !== void 0 && Object.assign(o, this.options.fetchParameters), this.options.headers !== void 0 && (o.headers = this.options.headers), this._buffer.add(function() {
				return new Ll(function(a, s) {
					i._fetch(n.url, o).then(function(u) {
						var l = {
							"x-sentry-rate-limits": u.headers.get("X-Sentry-Rate-Limits"),
							"retry-after": u.headers.get("Retry-After")
						};
						i._handleResponse({
							requestType: n.type,
							response: u,
							headers: l,
							resolve: a,
							reject: s
						})
					}).catch(s)
				})
			}).then(void 0, function(a) {
				throw a instanceof Gn ? i.recordLostEvent("queue_overflow", n.type) : i.recordLostEvent("network_error", n.type), a
			})
		}, t
	}(yG),
	N_e = function(e) {
		gb(t, e);

		function t() {
			return e !== null && e.apply(this, arguments) || this
		}
		return t.prototype._sendRequest = function(n, r) {
			var i = this;
			return this._isRateLimited(n.type) ? (this.recordLostEvent("ratelimit_backoff", n.type), Promise.reject({
				event: r,
				type: n.type,
				reason: "Transport for " + n.type + " requests locked till " + this._disabledUntil(n.type) + " due to too many requests.",
				status: 429
			})) : this._buffer.add(function() {
				return new Ll(function(o, a) {
					var s = new XMLHttpRequest;
					s.onreadystatechange = function() {
						if (s.readyState === 4) {
							var l = {
								"x-sentry-rate-limits": s.getResponseHeader("X-Sentry-Rate-Limits"),
								"retry-after": s.getResponseHeader("Retry-After")
							};
							i._handleResponse({
								requestType: n.type,
								response: s,
								headers: l,
								resolve: o,
								reject: a
							})
						}
					}, s.open("POST", n.url);
					for (var u in i.options.headers) Object.prototype.hasOwnProperty.call(i.options.headers, u) && s.setRequestHeader(u, i.options.headers[u]);
					s.send(n.body)
				})
			}).then(void 0, function(o) {
				throw o instanceof Gn ? i.recordLostEvent("queue_overflow", n.type) : i.recordLostEvent("network_error", n.type), o
			})
		}, t
	}(yG);

function D_e(e, t) {
	t === void 0 && (t = p8());

	function n(r) {
		var i = rn({
			body: r.body,
			method: "POST",
			referrerPolicy: "origin"
		}, e.requestOptions);
		return t(e.url, i).then(function(o) {
			return o.text().then(function(a) {
				return {
					body: a,
					headers: {
						"x-sentry-rate-limits": o.headers.get("X-Sentry-Rate-Limits"),
						"retry-after": o.headers.get("Retry-After")
					},
					reason: o.statusText,
					statusCode: o.status
				}
			})
		})
	}
	return vG({
		bufferSize: e.bufferSize
	}, n)
}
var $_e = 4;

function F_e(e) {
	function t(n) {
		return new Ll(function(r, i) {
			var o = new XMLHttpRequest;
			o.onreadystatechange = function() {
				if (o.readyState === $_e) {
					var s = {
						body: o.response,
						headers: {
							"x-sentry-rate-limits": o.getResponseHeader("X-Sentry-Rate-Limits"),
							"retry-after": o.getResponseHeader("Retry-After")
						},
						reason: o.statusText,
						statusCode: o.status
					};
					r(s)
				}
			}, o.open("POST", e.url);
			for (var a in e.headers) Object.prototype.hasOwnProperty.call(e.headers, a) && o.setRequestHeader(a, e.headers[a]);
			o.send(n.body)
		})
	}
	return vG({
		bufferSize: e.bufferSize
	}, t)
}
var j_e = function(e) {
		gb(t, e);

		function t() {
			return e !== null && e.apply(this, arguments) || this
		}
		return t.prototype.eventFromException = function(n, r) {
			return A_e(n, r, this._options.attachStacktrace)
		}, t.prototype.eventFromMessage = function(n, r, i) {
			return r === void 0 && (r = Wa.Info), M_e(n, r, i, this._options.attachStacktrace)
		}, t.prototype._setupTransport = function() {
			if (!this._options.dsn) return e.prototype._setupTransport.call(this);
			var n = rn(rn({}, this._options.transportOptions), {
					dsn: this._options.dsn,
					tunnel: this._options.tunnel,
					sendClientReports: this._options.sendClientReports,
					_metadata: this._options._metadata
				}),
				r = Cw(n.dsn, n._metadata, n.tunnel),
				i = Eb(r.dsn, r.tunnel);
			if (this._options.transport) return new this._options.transport(n);
			if (wb()) {
				var o = rn({}, n.fetchParameters);
				return this._newTransport = D_e({
					requestOptions: o,
					url: i
				}), new L_e(n)
			}
			return this._newTransport = F_e({
				url: i,
				headers: n.headers
			}), new N_e(n)
		}, t
	}(Wwe),
	Ym = vn(),
	SC = 0;

function wG() {
	return SC > 0
}

function U_e() {
	SC += 1, setTimeout(function() {
		SC -= 1
	})
}

function Hp(e, t, n) {
	if (t === void 0 && (t = {}), typeof e != "function") return e;
	try {
		var r = e.__sentry_wrapped__;
		if (r) return r;
		if (r8(e)) return e
	} catch (s) {
		return e
	}
	var i = function() {
		var s = Array.prototype.slice.call(arguments);
		try {
			var u = s.map(function(l) {
				return Hp(l, t)
			});
			return e.apply(this, u)
		} catch (l) {
			throw U_e(), Awe(function(c) {
				c.addEventProcessor(function(d) {
					return t.mechanism && (wC(d, void 0), Yv(d, t.mechanism)), d.extra = rn(rn({}, d.extra), {
						arguments: s
					}), d
				}), uG(l)
			}), l
		}
	};
	try {
		for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && (i[o] = e[o])
	} catch (s) {}
	Yz(i, e), yb(e, "__sentry_wrapped__", i);
	try {
		var a = Object.getOwnPropertyDescriptor(i, "name");
		a.configurable && Object.defineProperty(i, "name", {
			get: function() {
				return e.name
			}
		})
	} catch (s) {}
	return i
}

function H_e(e) {
	if (e === void 0 && (e = {}), !!Ym.document) {
		if (!e.eventId) {
			yo && ot.error("Missing eventId option in showReportDialog call");
			return
		}
		if (!e.dsn) {
			yo && ot.error("Missing dsn option in showReportDialog call");
			return
		}
		var t = Ym.document.createElement("script");
		t.async = !0, t.src = Nwe(e.dsn, e), e.onLoad && (t.onload = e.onLoad);
		var n = Ym.document.head || Ym.document.body;
		n && n.appendChild(t)
	}
}
var h8 = function() {
	function e(t) {
		this.name = e.id, this._installFunc = {
			onerror: V_e,
			onunhandledrejection: B_e
		}, this._options = rn({
			onerror: !0,
			onunhandledrejection: !0
		}, t)
	}
	return e.prototype.setupOnce = function() {
		Error.stackTraceLimit = 50;
		var t = this._options;
		for (var n in t) {
			var r = this._installFunc[n];
			r && t[n] && (W_e(n), r(), this._installFunc[n] = void 0)
		}
	}, e.id = "GlobalHandlers", e
}();

function V_e() {
	Uu("error", function(e) {
		var t = Eh(SG(), 2),
			n = t[0],
			r = t[1];
		if (n.getIntegration(h8)) {
			var i = e.msg,
				o = e.url,
				a = e.line,
				s = e.column,
				u = e.error;
			if (!(wG() || u && u.__sentry_own_request__)) {
				var l = u === void 0 && Fp(i) ? G_e(i, o, a, s) : _G(d8(u || i, void 0, r, !1), o, a, s);
				l.level = Wa.Error, bG(n, u, l, "onerror")
			}
		}
	})
}

function B_e() {
	Uu("unhandledrejection", function(e) {
		var t = Eh(SG(), 2),
			n = t[0],
			r = t[1];
		if (n.getIntegration(h8)) {
			var i = e;
			try {
				"reason" in e ? i = e.reason : "detail" in e && "reason" in e.detail && (i = e.detail.reason)
			} catch (a) {}
			if (wG() || i && i.__sentry_own_request__) return !0;
			var o = Q7(i) ? z_e(i) : d8(i, void 0, r, !0);
			o.level = Wa.Error, bG(n, i, o, "onunhandledrejection")
		}
	})
}

function z_e(e) {
	return {
		exception: {
			values: [{
				type: "UnhandledRejection",
				value: "Non-Error promise rejection captured with value: " + String(e)
			}]
		}
	}
}

function G_e(e, t, n, r) {
	var i = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,
		o = Kz(e) ? e.message : e,
		a = "Error",
		s = o.match(i);
	s && (a = s[1], o = s[2]);
	var u = {
		exception: {
			values: [{
				type: a,
				value: o
			}]
		}
	};
	return _G(u, t, n, r)
}

function _G(e, t, n, r) {
	var i = e.exception = e.exception || {},
		o = i.values = i.values || [],
		a = o[0] = o[0] || {},
		s = a.stacktrace = a.stacktrace || {},
		u = s.frames = s.frames || [],
		l = isNaN(parseInt(r, 10)) ? void 0 : r,
		c = isNaN(parseInt(n, 10)) ? void 0 : n,
		d = Fp(t) && t.length > 0 ? t : D2e();
	return u.length === 0 && u.push({
		colno: l,
		filename: d,
		function: "?",
		in_app: !0,
		lineno: c
	}), e
}

function W_e(e) {
	yo && ot.log("Global Handler attached: " + e)
}

function bG(e, t, n, r) {
	Yv(n, {
		handled: !1,
		type: r
	}), e.captureEvent(n, {
		originalException: t
	})
}

function SG() {
	var e = Zr(),
		t = e.getClient(),
		n = t && t.getOptions().attachStacktrace;
	return [e, n]
}
var K_e = ["EventTarget", "Window", "Node", "ApplicationCache", "AudioTrackList", "ChannelMergerNode", "CryptoOperation", "EventSource", "FileReader", "HTMLUnknownElement", "IDBDatabase", "IDBRequest", "IDBTransaction", "KeyOperation", "MediaController", "MessagePort", "ModalWindow", "Notification", "SVGElementInstance", "Screen", "TextTrack", "TextTrackCue", "TextTrackList", "WebSocket", "WebSocketWorker", "Worker", "XMLHttpRequest", "XMLHttpRequestEventTarget", "XMLHttpRequestUpload"],
	Z_e = function() {
		function e(t) {
			this.name = e.id, this._options = rn({
				XMLHttpRequest: !0,
				eventTarget: !0,
				requestAnimationFrame: !0,
				setInterval: !0,
				setTimeout: !0
			}, t)
		}
		return e.prototype.setupOnce = function() {
			var t = vn();
			this._options.setTimeout && Mr(t, "setTimeout", OL), this._options.setInterval && Mr(t, "setInterval", OL), this._options.requestAnimationFrame && Mr(t, "requestAnimationFrame", q_e), this._options.XMLHttpRequest && "XMLHttpRequest" in t && Mr(XMLHttpRequest.prototype, "send", Y_e);
			var n = this._options.eventTarget;
			if (n) {
				var r = Array.isArray(n) ? n : K_e;
				r.forEach(X_e)
			}
		}, e.id = "TryCatch", e
	}();

function OL(e) {
	return function() {
		for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n];
		var r = t[0];
		return t[0] = Hp(r, {
			mechanism: {
				data: {
					function: yl(e)
				},
				handled: !0,
				type: "instrument"
			}
		}), e.apply(this, t)
	}
}

function q_e(e) {
	return function(t) {
		return e.apply(this, [Hp(t, {
			mechanism: {
				data: {
					function: "requestAnimationFrame",
					handler: yl(e)
				},
				handled: !0,
				type: "instrument"
			}
		})])
	}
}

function Y_e(e) {
	return function() {
		for (var t = [], n = 0; n < arguments.length; n++) t[n] = arguments[n];
		var r = this,
			i = ["onload", "onerror", "onprogress", "onreadystatechange"];
		return i.forEach(function(o) {
			o in r && typeof r[o] == "function" && Mr(r, o, function(a) {
				var s = {
						mechanism: {
							data: {
								function: o,
								handler: yl(a)
							},
							handled: !0,
							type: "instrument"
						}
					},
					u = r8(a);
				return u && (s.mechanism.data.handler = yl(u)), Hp(a, s)
			})
		}), e.apply(this, t)
	}
}

function X_e(e) {
	var t = vn(),
		n = t[e] && t[e].prototype;
	!n || !n.hasOwnProperty || !n.hasOwnProperty("addEventListener") || (Mr(n, "addEventListener", function(r) {
		return function(i, o, a) {
			try {
				typeof o.handleEvent == "function" && (o.handleEvent = Hp(o.handleEvent.bind(o), {
					mechanism: {
						data: {
							function: "handleEvent",
							handler: yl(o),
							target: e
						},
						handled: !0,
						type: "instrument"
					}
				}))
			} catch (s) {}
			return r.apply(this, [i, Hp(o, {
				mechanism: {
					data: {
						function: "addEventListener",
						handler: yl(o),
						target: e
					},
					handled: !0,
					type: "instrument"
				}
			}), a])
		}
	}), Mr(n, "removeEventListener", function(r) {
		return function(i, o, a) {
			var s = o;
			try {
				var u = s && s.__sentry_wrapped__;
				u && r.call(this, i, u, a)
			} catch (l) {}
			return r.call(this, i, s, a)
		}
	}))
}
var xG = function() {
	function e(t) {
		this.name = e.id, this._options = rn({
			console: !0,
			dom: !0,
			fetch: !0,
			history: !0,
			sentry: !0,
			xhr: !0
		}, t)
	}
	return e.prototype.addSentryBreadcrumb = function(t) {
		this._options.sentry && Zr().addBreadcrumb({
			category: "sentry." + (t.type === "transaction" ? "transaction" : "event"),
			event_id: t.event_id,
			level: t.level,
			message: Ac(t)
		}, {
			event: t
		})
	}, e.prototype.setupOnce = function() {
		this._options.console && Uu("console", Q_e), this._options.dom && Uu("dom", J_e(this._options.dom)), this._options.xhr && Uu("xhr", ebe), this._options.fetch && Uu("fetch", tbe), this._options.history && Uu("history", nbe)
	}, e.id = "Breadcrumbs", e
}();

function J_e(e) {
	function t(n) {
		var r, i = typeof e == "object" ? e.serializeAttribute : void 0;
		typeof i == "string" && (i = [i]);
		try {
			r = n.event.target ? vC(n.event.target, i) : vC(n.event, i)
		} catch (o) {
			r = "<unknown>"
		}
		r.length !== 0 && Zr().addBreadcrumb({
			category: "ui." + n.name,
			message: r
		}, {
			event: n.event,
			name: n.name,
			global: n.global
		})
	}
	return t
}

function Q_e(e) {
	var t = {
		category: "console",
		data: {
			arguments: e.args,
			logger: "console"
		},
		level: bwe(e.level),
		message: lL(e.args, " ")
	};
	if (e.level === "assert")
		if (e.args[0] === !1) t.message = "Assertion failed: " + (lL(e.args.slice(1), " ") || "console.assert"), t.data.arguments = e.args.slice(1);
		else return;
	Zr().addBreadcrumb(t, {
		input: e.args,
		level: e.level
	})
}

function ebe(e) {
	if (e.endTimestamp) {
		if (e.xhr.__sentry_own_request__) return;
		var t = e.xhr.__sentry_xhr__ || {},
			n = t.method,
			r = t.url,
			i = t.status_code,
			o = t.body;
		Zr().addBreadcrumb({
			category: "xhr",
			data: {
				method: n,
				url: r,
				status_code: i
			},
			type: "http"
		}, {
			xhr: e.xhr,
			input: o
		});
		return
	}
}

function tbe(e) {
	e.endTimestamp && (e.fetchData.url.match(/sentry_key/) && e.fetchData.method === "POST" || (e.error ? Zr().addBreadcrumb({
		category: "fetch",
		data: e.fetchData,
		level: Wa.Error,
		type: "http"
	}, {
		data: e.error,
		input: e.args
	}) : Zr().addBreadcrumb({
		category: "fetch",
		data: rn(rn({}, e.fetchData), {
			status_code: e.response.status
		}),
		type: "http"
	}, {
		input: e.args,
		response: e.response
	})))
}

function nbe(e) {
	var t = vn(),
		n = e.from,
		r = e.to,
		i = Q3(t.location.href),
		o = Q3(n),
		a = Q3(r);
	o.path || (o = i), i.protocol === a.protocol && i.host === a.host && (r = a.relative), i.protocol === o.protocol && i.host === o.host && (n = o.relative), Zr().addBreadcrumb({
		category: "navigation",
		data: {
			from: n,
			to: r
		}
	})
}
var rbe = "cause",
	ibe = 5,
	obe = function() {
		function e(t) {
			t === void 0 && (t = {}), this.name = e.id, this._key = t.key || rbe, this._limit = t.limit || ibe
		}
		return e.prototype.setupOnce = function() {
			o8(function(t, n) {
				var r = Zr().getIntegration(e);
				return r ? abe(r._key, r._limit, t, n) : t
			})
		}, e.id = "LinkedErrors", e
	}();

function abe(e, t, n, r) {
	if (!n.exception || !n.exception.values || !r || !Pl(r.originalException, Error)) return n;
	var i = EG(t, r.originalException, e);
	return n.exception.values = Gz(i, n.exception.values), n
}

function EG(e, t, n, r) {
	if (r === void 0 && (r = []), !Pl(t[n], Error) || r.length + 1 >= e) return r;
	var i = mG(t[n]);
	return EG(e, t[n], n, Gz([i], r))
}
var lc = vn(),
	sbe = function() {
		function e() {
			this.name = e.id
		}
		return e.prototype.setupOnce = function() {
			o8(function(t) {
				if (Zr().getIntegration(e)) {
					if (!lc.navigator && !lc.location && !lc.document) return t;
					var n = t.request && t.request.url || lc.location && lc.location.href,
						r = (lc.document || {}).referrer,
						i = (lc.navigator || {}).userAgent,
						o = rn(rn(rn({}, t.request && t.request.headers), r && {
							Referer: r
						}), i && {
							"User-Agent": i
						}),
						a = rn(rn({}, n && {
							url: n
						}), {
							headers: o
						});
					return rn(rn({}, t), {
						request: a
					})
				}
				return t
			})
		}, e.id = "UserAgent", e
	}(),
	ube = function() {
		function e() {
			this.name = e.id
		}
		return e.prototype.setupOnce = function(t, n) {
			t(function(r) {
				var i = n().getIntegration(e);
				if (i) {
					try {
						if (lbe(r, i._previousEvent)) return yo && ot.warn("Event dropped due to being a duplicate of previously captured event."), null
					} catch (o) {
						return i._previousEvent = r
					}
					return i._previousEvent = r
				}
				return r
			})
		}, e.id = "Dedupe", e
	}();

function lbe(e, t) {
	return t ? !!(cbe(e, t) || fbe(e, t)) : !1
}

function cbe(e, t) {
	var n = e.message,
		r = t.message;
	return !(!n && !r || n && !r || !n && r || n !== r || !OG(e, t) || !CG(e, t))
}

function fbe(e, t) {
	var n = TL(t),
		r = TL(e);
	return !(!n || !r || n.type !== r.type || n.value !== r.value || !OG(e, t) || !CG(e, t))
}

function CG(e, t) {
	var n = RL(e),
		r = RL(t);
	if (!n && !r) return !0;
	if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
	for (var i = 0; i < r.length; i++) {
		var o = r[i],
			a = n[i];
		if (o.filename !== a.filename || o.lineno !== a.lineno || o.colno !== a.colno || o.function !== a.function) return !1
	}
	return !0
}

function OG(e, t) {
	var n = e.fingerprint,
		r = t.fingerprint;
	if (!n && !r) return !0;
	if (n && !r || !n && r) return !1;
	n = n, r = r;
	try {
		return n.join("") === r.join("")
	} catch (i) {
		return !1
	}
}

function TL(e) {
	return e.exception && e.exception.values && e.exception.values[0]
}

function RL(e) {
	var t = e.exception;
	if (t) try {
		return t.values[0].stacktrace.frames
	} catch (n) {
		return
	} else if (e.stacktrace) return e.stacktrace.frames
}
var dbe = function(e) {
		gb(t, e);

		function t(n) {
			n === void 0 && (n = {});
			var r = this;
			return n._metadata = n._metadata || {}, n._metadata.sdk = n._metadata.sdk || {
				name: "sentry.javascript.browser",
				packages: [{
					name: "npm:@sentry/browser",
					version: Ow
				}],
				version: Ow
			}, r = e.call(this, j_e, n) || this, r
		}
		return t.prototype.showReportDialog = function(n) {
			n === void 0 && (n = {});
			var r = vn().document;
			if (r) {
				if (!this._isEnabled()) {
					yo && ot.error("Trying to call showReportDialog with Sentry Client disabled");
					return
				}
				H_e(rn(rn({}, n), {
					dsn: n.dsn || this.getDsn()
				}))
			}
		}, t.prototype._prepareEvent = function(n, r, i) {
			return n.platform = n.platform || "javascript", e.prototype._prepareEvent.call(this, n, r, i)
		}, t.prototype._sendEvent = function(n) {
			var r = this.getIntegration(xG);
			r && r.addSentryBreadcrumb(n), e.prototype._sendEvent.call(this, n)
		}, t
	}(Uwe),
	pbe = [new Xwe, new qwe, new Z_e, new xG, new h8, new obe, new ube, new sbe];

function hbe(e) {
	if (e === void 0 && (e = {}), e.defaultIntegrations === void 0 && (e.defaultIntegrations = pbe), e.release === void 0) {
		var t = vn();
		t.SENTRY_RELEASE && t.SENTRY_RELEASE.id && (e.release = t.SENTRY_RELEASE.id)
	}
	e.autoSessionTracking === void 0 && (e.autoSessionTracking = !0), e.sendClientReports === void 0 && (e.sendClientReports = !0), Kwe(dbe, e), e.autoSessionTracking && vbe()
}

function IL(e) {
	e.startSession({
		ignoreDuration: !0
	}), e.captureSession()
}

function vbe() {
	var e = vn(),
		t = e.document;
	if (typeof t > "u") {
		yo && ot.warn("Session tracking in non-browser environment with @sentry/browser is not supported.");
		return
	}
	var n = Zr();
	n.captureSession && (IL(n), Uu("history", function(r) {
		var i = r.from,
			o = r.to;
		i === void 0 || i === o || IL(Zr())
	}))
}

function gbe(e) {
	e._metadata = e._metadata || {}, e._metadata.sdk = e._metadata.sdk || {
		name: "sentry.javascript.react",
		packages: [{
			name: "npm:@sentry/react",
			version: Ow
		}],
		version: Ow
	}, hbe(e)
}
var TG = {
		exports: {}
	},
	$t = {};
/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var sr = typeof Symbol == "function" && Symbol.for,
	v8 = sr ? Symbol.for("react.element") : 60103,
	g8 = sr ? Symbol.for("react.portal") : 60106,
	Cb = sr ? Symbol.for("react.fragment") : 60107,
	Ob = sr ? Symbol.for("react.strict_mode") : 60108,
	Tb = sr ? Symbol.for("react.profiler") : 60114,
	Rb = sr ? Symbol.for("react.provider") : 60109,
	Ib = sr ? Symbol.for("react.context") : 60110,
	m8 = sr ? Symbol.for("react.async_mode") : 60111,
	kb = sr ? Symbol.for("react.concurrent_mode") : 60111,
	Ab = sr ? Symbol.for("react.forward_ref") : 60112,
	Mb = sr ? Symbol.for("react.suspense") : 60113,
	mbe = sr ? Symbol.for("react.suspense_list") : 60120,
	Pb = sr ? Symbol.for("react.memo") : 60115,
	Lb = sr ? Symbol.for("react.lazy") : 60116,
	ybe = sr ? Symbol.for("react.block") : 60121,
	wbe = sr ? Symbol.for("react.fundamental") : 60117,
	_be = sr ? Symbol.for("react.responder") : 60118,
	bbe = sr ? Symbol.for("react.scope") : 60119;

function qi(e) {
	if (typeof e == "object" && e !== null) {
		var t = e.$$typeof;
		switch (t) {
			case v8:
				switch (e = e.type, e) {
					case m8:
					case kb:
					case Cb:
					case Tb:
					case Ob:
					case Mb:
						return e;
					default:
						switch (e = e && e.$$typeof, e) {
							case Ib:
							case Ab:
							case Lb:
							case Pb:
							case Rb:
								return e;
							default:
								return t
						}
				}
				case g8:
					return t
		}
	}
}

function RG(e) {
	return qi(e) === kb
}
$t.AsyncMode = m8;
$t.ConcurrentMode = kb;
$t.ContextConsumer = Ib;
$t.ContextProvider = Rb;
$t.Element = v8;
$t.ForwardRef = Ab;
$t.Fragment = Cb;
$t.Lazy = Lb;
$t.Memo = Pb;
$t.Portal = g8;
$t.Profiler = Tb;
$t.StrictMode = Ob;
$t.Suspense = Mb;
$t.isAsyncMode = function(e) {
	return RG(e) || qi(e) === m8
};
$t.isConcurrentMode = RG;
$t.isContextConsumer = function(e) {
	return qi(e) === Ib
};
$t.isContextProvider = function(e) {
	return qi(e) === Rb
};
$t.isElement = function(e) {
	return typeof e == "object" && e !== null && e.$$typeof === v8
};
$t.isForwardRef = function(e) {
	return qi(e) === Ab
};
$t.isFragment = function(e) {
	return qi(e) === Cb
};
$t.isLazy = function(e) {
	return qi(e) === Lb
};
$t.isMemo = function(e) {
	return qi(e) === Pb
};
$t.isPortal = function(e) {
	return qi(e) === g8
};
$t.isProfiler = function(e) {
	return qi(e) === Tb
};
$t.isStrictMode = function(e) {
	return qi(e) === Ob
};
$t.isSuspense = function(e) {
	return qi(e) === Mb
};
$t.isValidElementType = function(e) {
	return typeof e == "string" || typeof e == "function" || e === Cb || e === kb || e === Tb || e === Ob || e === Mb || e === mbe || typeof e == "object" && e !== null && (e.$$typeof === Lb || e.$$typeof === Pb || e.$$typeof === Rb || e.$$typeof === Ib || e.$$typeof === Ab || e.$$typeof === wbe || e.$$typeof === _be || e.$$typeof === bbe || e.$$typeof === ybe)
};
$t.typeOf = qi;
TG.exports = $t;
var IG = TG.exports,
	kG = IG,
	Sbe = {
		$$typeof: !0,
		render: !0,
		defaultProps: !0,
		displayName: !0,
		propTypes: !0
	},
	xbe = {
		$$typeof: !0,
		compare: !0,
		defaultProps: !0,
		displayName: !0,
		propTypes: !0,
		type: !0
	},
	AG = {};
AG[kG.ForwardRef] = Sbe;
AG[kG.Memo] = xbe;

function Ebe(e, t) {
	for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
	return i
}
var MG = Ebe;

function Cbe() {
	this.__data__ = [], this.size = 0
}
var Obe = Cbe;

function Tbe(e, t) {
	return e === t || e !== e && t !== t
}
var Z1 = Tbe,
	Rbe = Z1;

function Ibe(e, t) {
	for (var n = e.length; n--;)
		if (Rbe(e[n][0], t)) return n;
	return -1
}
var Nb = Ibe,
	kbe = Nb,
	Abe = Array.prototype,
	Mbe = Abe.splice;

function Pbe(e) {
	var t = this.__data__,
		n = kbe(t, e);
	if (n < 0) return !1;
	var r = t.length - 1;
	return n == r ? t.pop() : Mbe.call(t, n, 1), --this.size, !0
}
var Lbe = Pbe,
	Nbe = Nb;

function Dbe(e) {
	var t = this.__data__,
		n = Nbe(t, e);
	return n < 0 ? void 0 : t[n][1]
}
var $be = Dbe,
	Fbe = Nb;

function jbe(e) {
	return Fbe(this.__data__, e) > -1
}
var Ube = jbe,
	Hbe = Nb;

function Vbe(e, t) {
	var n = this.__data__,
		r = Hbe(n, e);
	return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this
}
var Bbe = Vbe,
	zbe = Obe,
	Gbe = Lbe,
	Wbe = $be,
	Kbe = Ube,
	Zbe = Bbe;

function Rh(e) {
	var t = -1,
		n = e == null ? 0 : e.length;
	for (this.clear(); ++t < n;) {
		var r = e[t];
		this.set(r[0], r[1])
	}
}
Rh.prototype.clear = zbe;
Rh.prototype.delete = Gbe;
Rh.prototype.get = Wbe;
Rh.prototype.has = Kbe;
Rh.prototype.set = Zbe;
var Db = Rh,
	qbe = Db;

function Ybe() {
	this.__data__ = new qbe, this.size = 0
}
var Xbe = Ybe;

function Jbe(e) {
	var t = this.__data__,
		n = t.delete(e);
	return this.size = t.size, n
}
var Qbe = Jbe;

function e4e(e) {
	return this.__data__.get(e)
}
var t4e = e4e;

function n4e(e) {
	return this.__data__.has(e)
}
var r4e = n4e,
	i4e = typeof window == "object" && window && window.Object === Object && window,
	PG = i4e,
	o4e = PG,
	a4e = typeof self == "object" && self && self.Object === Object && self,
	s4e = o4e || a4e || Function("return this")(),
	da = s4e,
	u4e = da,
	l4e = u4e.Symbol,
	$b = l4e,
	kL = $b,
	LG = Object.prototype,
	c4e = LG.hasOwnProperty,
	f4e = LG.toString,
	A0 = kL ? kL.toStringTag : void 0;

function d4e(e) {
	var t = c4e.call(e, A0),
		n = e[A0];
	try {
		e[A0] = void 0;
		var r = !0
	} catch (o) {}
	var i = f4e.call(e);
	return r && (t ? e[A0] = n : delete e[A0]), i
}
var p4e = d4e,
	h4e = Object.prototype,
	v4e = h4e.toString;

function g4e(e) {
	return v4e.call(e)
}
var m4e = g4e,
	AL = $b,
	y4e = p4e,
	w4e = m4e,
	_4e = "[object Null]",
	b4e = "[object Undefined]",
	ML = AL ? AL.toStringTag : void 0;

function S4e(e) {
	return e == null ? e === void 0 ? b4e : _4e : ML && ML in Object(e) ? y4e(e) : w4e(e)
}
var Ih = S4e;

function x4e(e) {
	var t = typeof e;
	return e != null && (t == "object" || t == "function")
}
var Yi = x4e;
const kot = Et(Yi);
var E4e = Ih,
	C4e = Yi,
	O4e = "[object AsyncFunction]",
	T4e = "[object Function]",
	R4e = "[object GeneratorFunction]",
	I4e = "[object Proxy]";

function k4e(e) {
	if (!C4e(e)) return !1;
	var t = E4e(e);
	return t == T4e || t == R4e || t == O4e || t == I4e
}
var Fb = k4e;
const Aot = Et(Fb);
var A4e = da,
	M4e = A4e["__core-js_shared__"],
	P4e = M4e,
	ix = P4e,
	PL = function() {
		var e = /[^.]+$/.exec(ix && ix.keys && ix.keys.IE_PROTO || "");
		return e ? "Symbol(src)_1." + e : ""
	}();

function L4e(e) {
	return !!PL && PL in e
}
var N4e = L4e,
	D4e = Function.prototype,
	$4e = D4e.toString;

function F4e(e) {
	if (e != null) {
		try {
			return $4e.call(e)
		} catch (t) {}
		try {
			return e + ""
		} catch (t) {}
	}
	return ""
}
var NG = F4e,
	j4e = Fb,
	U4e = N4e,
	H4e = Yi,
	V4e = NG,
	B4e = /[\\^$.*+?()[\]{}|]/g,
	z4e = /^\[object .+?Constructor\]$/,
	G4e = Function.prototype,
	W4e = Object.prototype,
	K4e = G4e.toString,
	Z4e = W4e.hasOwnProperty,
	q4e = RegExp("^" + K4e.call(Z4e).replace(B4e, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");

function Y4e(e) {
	if (!H4e(e) || U4e(e)) return !1;
	var t = j4e(e) ? q4e : z4e;
	return t.test(V4e(e))
}
var X4e = Y4e;

function J4e(e, t) {
	return e == null ? void 0 : e[t]
}
var Q4e = J4e,
	eSe = X4e,
	tSe = Q4e;

function nSe(e, t) {
	var n = tSe(e, t);
	return eSe(n) ? n : void 0
}
var Of = nSe,
	rSe = Of,
	iSe = da,
	oSe = rSe(iSe, "Map"),
	y8 = oSe,
	aSe = Of,
	sSe = aSe(Object, "create"),
	jb = sSe,
	LL = jb;

function uSe() {
	this.__data__ = LL ? LL(null) : {}, this.size = 0
}
var lSe = uSe;

function cSe(e) {
	var t = this.has(e) && delete this.__data__[e];
	return this.size -= t ? 1 : 0, t
}
var fSe = cSe,
	dSe = jb,
	pSe = "__lodash_hash_undefined__",
	hSe = Object.prototype,
	vSe = hSe.hasOwnProperty;

function gSe(e) {
	var t = this.__data__;
	if (dSe) {
		var n = t[e];
		return n === pSe ? void 0 : n
	}
	return vSe.call(t, e) ? t[e] : void 0
}
var mSe = gSe,
	ySe = jb,
	wSe = Object.prototype,
	_Se = wSe.hasOwnProperty;

function bSe(e) {
	var t = this.__data__;
	return ySe ? t[e] !== void 0 : _Se.call(t, e)
}
var SSe = bSe,
	xSe = jb,
	ESe = "__lodash_hash_undefined__";

function CSe(e, t) {
	var n = this.__data__;
	return this.size += this.has(e) ? 0 : 1, n[e] = xSe && t === void 0 ? ESe : t, this
}
var OSe = CSe,
	TSe = lSe,
	RSe = fSe,
	ISe = mSe,
	kSe = SSe,
	ASe = OSe;

function kh(e) {
	var t = -1,
		n = e == null ? 0 : e.length;
	for (this.clear(); ++t < n;) {
		var r = e[t];
		this.set(r[0], r[1])
	}
}
kh.prototype.clear = TSe;
kh.prototype.delete = RSe;
kh.prototype.get = ISe;
kh.prototype.has = kSe;
kh.prototype.set = ASe;
var MSe = kh,
	NL = MSe,
	PSe = Db,
	LSe = y8;

function NSe() {
	this.size = 0, this.__data__ = {
		hash: new NL,
		map: new(LSe || PSe),
		string: new NL
	}
}
var DSe = NSe;

function $Se(e) {
	var t = typeof e;
	return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null
}
var FSe = $Se,
	jSe = FSe;

function USe(e, t) {
	var n = e.__data__;
	return jSe(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map
}
var Ub = USe,
	HSe = Ub;

function VSe(e) {
	var t = HSe(this, e).delete(e);
	return this.size -= t ? 1 : 0, t
}
var BSe = VSe,
	zSe = Ub;

function GSe(e) {
	return zSe(this, e).get(e)
}
var WSe = GSe,
	KSe = Ub;

function ZSe(e) {
	return KSe(this, e).has(e)
}
var qSe = ZSe,
	YSe = Ub;

function XSe(e, t) {
	var n = YSe(this, e),
		r = n.size;
	return n.set(e, t), this.size += n.size == r ? 0 : 1, this
}
var JSe = XSe,
	QSe = DSe,
	e3e = BSe,
	t3e = WSe,
	n3e = qSe,
	r3e = JSe;

function Ah(e) {
	var t = -1,
		n = e == null ? 0 : e.length;
	for (this.clear(); ++t < n;) {
		var r = e[t];
		this.set(r[0], r[1])
	}
}
Ah.prototype.clear = QSe;
Ah.prototype.delete = e3e;
Ah.prototype.get = t3e;
Ah.prototype.has = n3e;
Ah.prototype.set = r3e;
var w8 = Ah,
	i3e = Db,
	o3e = y8,
	a3e = w8,
	s3e = 200;

function u3e(e, t) {
	var n = this.__data__;
	if (n instanceof i3e) {
		var r = n.__data__;
		if (!o3e || r.length < s3e - 1) return r.push([e, t]), this.size = ++n.size, this;
		n = this.__data__ = new a3e(r)
	}
	return n.set(e, t), this.size = n.size, this
}
var l3e = u3e,
	c3e = Db,
	f3e = Xbe,
	d3e = Qbe,
	p3e = t4e,
	h3e = r4e,
	v3e = l3e;

function Mh(e) {
	var t = this.__data__ = new c3e(e);
	this.size = t.size
}
Mh.prototype.clear = f3e;
Mh.prototype.delete = d3e;
Mh.prototype.get = p3e;
Mh.prototype.has = h3e;
Mh.prototype.set = v3e;
var _8 = Mh,
	g3e = "__lodash_hash_undefined__";

function m3e(e) {
	return this.__data__.set(e, g3e), this
}
var y3e = m3e;

function w3e(e) {
	return this.__data__.has(e)
}
var _3e = w3e,
	b3e = w8,
	S3e = y3e,
	x3e = _3e;

function Rw(e) {
	var t = -1,
		n = e == null ? 0 : e.length;
	for (this.__data__ = new b3e; ++t < n;) this.add(e[t])
}
Rw.prototype.add = Rw.prototype.push = S3e;
Rw.prototype.has = x3e;
var E3e = Rw;

function C3e(e, t) {
	for (var n = -1, r = e == null ? 0 : e.length; ++n < r;)
		if (t(e[n], n, e)) return !0;
	return !1
}
var O3e = C3e;

function T3e(e, t) {
	return e.has(t)
}
var R3e = T3e,
	I3e = E3e,
	k3e = O3e,
	A3e = R3e,
	M3e = 1,
	P3e = 2;

function L3e(e, t, n, r, i, o) {
	var a = n & M3e,
		s = e.length,
		u = t.length;
	if (s != u && !(a && u > s)) return !1;
	var l = o.get(e),
		c = o.get(t);
	if (l && c) return l == t && c == e;
	var d = -1,
		p = !0,
		g = n & P3e ? new I3e : void 0;
	for (o.set(e, t), o.set(t, e); ++d < s;) {
		var m = e[d],
			_ = t[d];
		if (r) var S = a ? r(_, m, d, t, e, o) : r(m, _, d, e, t, o);
		if (S !== void 0) {
			if (S) continue;
			p = !1;
			break
		}
		if (g) {
			if (!k3e(t, function(y, w) {
					if (!A3e(g, w) && (m === y || i(m, y, n, r, o))) return g.push(w)
				})) {
				p = !1;
				break
			}
		} else if (!(m === _ || i(m, _, n, r, o))) {
			p = !1;
			break
		}
	}
	return o.delete(e), o.delete(t), p
}
var DG = L3e,
	N3e = da,
	D3e = N3e.Uint8Array,
	$G = D3e;

function $3e(e) {
	var t = -1,
		n = Array(e.size);
	return e.forEach(function(r, i) {
		n[++t] = [i, r]
	}), n
}
var F3e = $3e;

function j3e(e) {
	var t = -1,
		n = Array(e.size);
	return e.forEach(function(r) {
		n[++t] = r
	}), n
}
var U3e = j3e,
	DL = $b,
	$L = $G,
	H3e = Z1,
	V3e = DG,
	B3e = F3e,
	z3e = U3e,
	G3e = 1,
	W3e = 2,
	K3e = "[object Boolean]",
	Z3e = "[object Date]",
	q3e = "[object Error]",
	Y3e = "[object Map]",
	X3e = "[object Number]",
	J3e = "[object RegExp]",
	Q3e = "[object Set]",
	exe = "[object String]",
	txe = "[object Symbol]",
	nxe = "[object ArrayBuffer]",
	rxe = "[object DataView]",
	FL = DL ? DL.prototype : void 0,
	ox = FL ? FL.valueOf : void 0;

function ixe(e, t, n, r, i, o, a) {
	switch (n) {
		case rxe:
			if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset) return !1;
			e = e.buffer, t = t.buffer;
		case nxe:
			return !(e.byteLength != t.byteLength || !o(new $L(e), new $L(t)));
		case K3e:
		case Z3e:
		case X3e:
			return H3e(+e, +t);
		case q3e:
			return e.name == t.name && e.message == t.message;
		case J3e:
		case exe:
			return e == t + "";
		case Y3e:
			var s = B3e;
		case Q3e:
			var u = r & G3e;
			if (s || (s = z3e), e.size != t.size && !u) return !1;
			var l = a.get(e);
			if (l) return l == t;
			r |= W3e, a.set(e, t);
			var c = V3e(s(e), s(t), r, i, o, a);
			return a.delete(e), c;
		case txe:
			if (ox) return ox.call(e) == ox.call(t)
	}
	return !1
}
var oxe = ixe;

function axe(e, t) {
	for (var n = -1, r = t.length, i = e.length; ++n < r;) e[i + n] = t[n];
	return e
}
var FG = axe,
	sxe = Array.isArray,
	pa = sxe;
const Mot = Et(pa);
var uxe = FG,
	lxe = pa;

function cxe(e, t, n) {
	var r = t(e);
	return lxe(e) ? r : uxe(r, n(e))
}
var jG = cxe;

function fxe(e, t) {
	for (var n = -1, r = e == null ? 0 : e.length, i = 0, o = []; ++n < r;) {
		var a = e[n];
		t(a, n, e) && (o[i++] = a)
	}
	return o
}
var dxe = fxe;

function pxe() {
	return []
}
var UG = pxe,
	hxe = dxe,
	vxe = UG,
	gxe = Object.prototype,
	mxe = gxe.propertyIsEnumerable,
	jL = Object.getOwnPropertySymbols,
	yxe = jL ? function(e) {
		return e == null ? [] : (e = Object(e), hxe(jL(e), function(t) {
			return mxe.call(e, t)
		}))
	} : vxe,
	HG = yxe;

function wxe(e, t) {
	for (var n = -1, r = Array(e); ++n < e;) r[n] = t(n);
	return r
}
var _xe = wxe;

function bxe(e) {
	return e != null && typeof e == "object"
}
var Tf = bxe,
	Sxe = Ih,
	xxe = Tf,
	Exe = "[object Arguments]";

function Cxe(e) {
	return xxe(e) && Sxe(e) == Exe
}
var Oxe = Cxe,
	UL = Oxe,
	Txe = Tf,
	VG = Object.prototype,
	Rxe = VG.hasOwnProperty,
	Ixe = VG.propertyIsEnumerable,
	kxe = UL(function() {
		return arguments
	}()) ? UL : function(e) {
		return Txe(e) && Rxe.call(e, "callee") && !Ixe.call(e, "callee")
	},
	b8 = kxe,
	Iw = {
		exports: {}
	};

function Axe() {
	return !1
}
var Mxe = Axe;
Iw.exports;
(function(e, t) {
	var n = da,
		r = Mxe,
		i = t && !t.nodeType && t,
		o = i && !0 && e && !e.nodeType && e,
		a = o && o.exports === i,
		s = a ? n.Buffer : void 0,
		u = s ? s.isBuffer : void 0,
		l = u || r;
	e.exports = l
})(Iw, Iw.exports);
var S8 = Iw.exports,
	Pxe = 9007199254740991,
	Lxe = /^(?:0|[1-9]\d*)$/;

function Nxe(e, t) {
	var n = typeof e;
	return t = t == null ? Pxe : t, !!t && (n == "number" || n != "symbol" && Lxe.test(e)) && e > -1 && e % 1 == 0 && e < t
}
var Hb = Nxe,
	Dxe = 9007199254740991;

function $xe(e) {
	return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Dxe
}
var x8 = $xe,
	Fxe = Ih,
	jxe = x8,
	Uxe = Tf,
	Hxe = "[object Arguments]",
	Vxe = "[object Array]",
	Bxe = "[object Boolean]",
	zxe = "[object Date]",
	Gxe = "[object Error]",
	Wxe = "[object Function]",
	Kxe = "[object Map]",
	Zxe = "[object Number]",
	qxe = "[object Object]",
	Yxe = "[object RegExp]",
	Xxe = "[object Set]",
	Jxe = "[object String]",
	Qxe = "[object WeakMap]",
	eEe = "[object ArrayBuffer]",
	tEe = "[object DataView]",
	nEe = "[object Float32Array]",
	rEe = "[object Float64Array]",
	iEe = "[object Int8Array]",
	oEe = "[object Int16Array]",
	aEe = "[object Int32Array]",
	sEe = "[object Uint8Array]",
	uEe = "[object Uint8ClampedArray]",
	lEe = "[object Uint16Array]",
	cEe = "[object Uint32Array]",
	Jt = {};
Jt[nEe] = Jt[rEe] = Jt[iEe] = Jt[oEe] = Jt[aEe] = Jt[sEe] = Jt[uEe] = Jt[lEe] = Jt[cEe] = !0;
Jt[Hxe] = Jt[Vxe] = Jt[eEe] = Jt[Bxe] = Jt[tEe] = Jt[zxe] = Jt[Gxe] = Jt[Wxe] = Jt[Kxe] = Jt[Zxe] = Jt[qxe] = Jt[Yxe] = Jt[Xxe] = Jt[Jxe] = Jt[Qxe] = !1;

function fEe(e) {
	return Uxe(e) && jxe(e.length) && !!Jt[Fxe(e)]
}
var dEe = fEe;

function pEe(e) {
	return function(t) {
		return e(t)
	}
}
var hEe = pEe,
	kw = {
		exports: {}
	};
kw.exports;
(function(e, t) {
	var n = PG,
		r = t && !t.nodeType && t,
		i = r && !0 && e && !e.nodeType && e,
		o = i && i.exports === r,
		a = o && n.process,
		s = function() {
			try {
				var u = i && i.require && i.require("util").types;
				return u || a && a.binding && a.binding("util")
			} catch (l) {}
		}();
	e.exports = s
})(kw, kw.exports);
var vEe = kw.exports,
	gEe = dEe,
	mEe = hEe,
	HL = vEe,
	VL = HL && HL.isTypedArray,
	yEe = VL ? mEe(VL) : gEe,
	E8 = yEe,
	wEe = _xe,
	_Ee = b8,
	bEe = pa,
	SEe = S8,
	xEe = Hb,
	EEe = E8,
	CEe = Object.prototype,
	OEe = CEe.hasOwnProperty;

function TEe(e, t) {
	var n = bEe(e),
		r = !n && _Ee(e),
		i = !n && !r && SEe(e),
		o = !n && !r && !i && EEe(e),
		a = n || r || i || o,
		s = a ? wEe(e.length, String) : [],
		u = s.length;
	for (var l in e)(t || OEe.call(e, l)) && !(a && (l == "length" || i && (l == "offset" || l == "parent") || o && (l == "buffer" || l == "byteLength" || l == "byteOffset") || xEe(l, u))) && s.push(l);
	return s
}
var BG = TEe,
	REe = Object.prototype;

function IEe(e) {
	var t = e && e.constructor,
		n = typeof t == "function" && t.prototype || REe;
	return e === n
}
var C8 = IEe;

function kEe(e, t) {
	return function(n) {
		return e(t(n))
	}
}
var zG = kEe,
	AEe = zG,
	MEe = AEe(Object.keys, Object),
	PEe = MEe,
	LEe = C8,
	NEe = PEe,
	DEe = Object.prototype,
	$Ee = DEe.hasOwnProperty;

function FEe(e) {
	if (!LEe(e)) return NEe(e);
	var t = [];
	for (var n in Object(e)) $Ee.call(e, n) && n != "constructor" && t.push(n);
	return t
}
var jEe = FEe,
	UEe = Fb,
	HEe = x8;

function VEe(e) {
	return e != null && HEe(e.length) && !UEe(e)
}
var q1 = VEe,
	BEe = BG,
	zEe = jEe,
	GEe = q1;

function WEe(e) {
	return GEe(e) ? BEe(e) : zEe(e)
}
var O8 = WEe,
	KEe = jG,
	ZEe = HG,
	qEe = O8;

function YEe(e) {
	return KEe(e, qEe, ZEe)
}
var XEe = YEe,
	BL = XEe,
	JEe = 1,
	QEe = Object.prototype,
	e5e = QEe.hasOwnProperty;

function t5e(e, t, n, r, i, o) {
	var a = n & JEe,
		s = BL(e),
		u = s.length,
		l = BL(t),
		c = l.length;
	if (u != c && !a) return !1;
	for (var d = u; d--;) {
		var p = s[d];
		if (!(a ? p in t : e5e.call(t, p))) return !1
	}
	var g = o.get(e),
		m = o.get(t);
	if (g && m) return g == t && m == e;
	var _ = !0;
	o.set(e, t), o.set(t, e);
	for (var S = a; ++d < u;) {
		p = s[d];
		var y = e[p],
			w = t[p];
		if (r) var b = a ? r(w, y, p, t, e, o) : r(y, w, p, e, t, o);
		if (!(b === void 0 ? y === w || i(y, w, n, r, o) : b)) {
			_ = !1;
			break
		}
		S || (S = p == "constructor")
	}
	if (_ && !S) {
		var E = e.constructor,
			T = t.constructor;
		E != T && "constructor" in e && "constructor" in t && !(typeof E == "function" && E instanceof E && typeof T == "function" && T instanceof T) && (_ = !1)
	}
	return o.delete(e), o.delete(t), _
}
var n5e = t5e,
	r5e = Of,
	i5e = da,
	o5e = r5e(i5e, "DataView"),
	a5e = o5e,
	s5e = Of,
	u5e = da,
	l5e = s5e(u5e, "Promise"),
	c5e = l5e,
	f5e = Of,
	d5e = da,
	p5e = f5e(d5e, "Set"),
	h5e = p5e,
	v5e = Of,
	g5e = da,
	m5e = v5e(g5e, "WeakMap"),
	y5e = m5e,
	xC = a5e,
	EC = y8,
	CC = c5e,
	OC = h5e,
	TC = y5e,
	GG = Ih,
	Ph = NG,
	zL = "[object Map]",
	w5e = "[object Object]",
	GL = "[object Promise]",
	WL = "[object Set]",
	KL = "[object WeakMap]",
	ZL = "[object DataView]",
	_5e = Ph(xC),
	b5e = Ph(EC),
	S5e = Ph(CC),
	x5e = Ph(OC),
	E5e = Ph(TC),
	gc = GG;
(xC && gc(new xC(new ArrayBuffer(1))) != ZL || EC && gc(new EC) != zL || CC && gc(CC.resolve()) != GL || OC && gc(new OC) != WL || TC && gc(new TC) != KL) && (gc = function(e) {
	var t = GG(e),
		n = t == w5e ? e.constructor : void 0,
		r = n ? Ph(n) : "";
	if (r) switch (r) {
		case _5e:
			return ZL;
		case b5e:
			return zL;
		case S5e:
			return GL;
		case x5e:
			return WL;
		case E5e:
			return KL
	}
	return t
});
var C5e = gc,
	ax = _8,
	O5e = DG,
	T5e = oxe,
	R5e = n5e,
	qL = C5e,
	YL = pa,
	XL = S8,
	I5e = E8,
	k5e = 1,
	JL = "[object Arguments]",
	QL = "[object Array]",
	Xm = "[object Object]",
	A5e = Object.prototype,
	eN = A5e.hasOwnProperty;

function M5e(e, t, n, r, i, o) {
	var a = YL(e),
		s = YL(t),
		u = a ? QL : qL(e),
		l = s ? QL : qL(t);
	u = u == JL ? Xm : u, l = l == JL ? Xm : l;
	var c = u == Xm,
		d = l == Xm,
		p = u == l;
	if (p && XL(e)) {
		if (!XL(t)) return !1;
		a = !0, c = !1
	}
	if (p && !c) return o || (o = new ax), a || I5e(e) ? O5e(e, t, n, r, i, o) : T5e(e, t, u, n, r, i, o);
	if (!(n & k5e)) {
		var g = c && eN.call(e, "__wrapped__"),
			m = d && eN.call(t, "__wrapped__");
		if (g || m) {
			var _ = g ? e.value() : e,
				S = m ? t.value() : t;
			return o || (o = new ax), i(_, S, n, r, o)
		}
	}
	return p ? (o || (o = new ax), R5e(e, t, n, r, i, o)) : !1
}
var P5e = M5e,
	L5e = P5e,
	tN = Tf;

function WG(e, t, n, r, i) {
	return e === t ? !0 : e == null || t == null || !tN(e) && !tN(t) ? e !== e && t !== t : L5e(e, t, n, r, WG, i)
}
var T8 = WG,
	N5e = _8,
	D5e = T8,
	$5e = 1,
	F5e = 2;

function j5e(e, t, n, r) {
	var i = n.length,
		o = i,
		a = !r;
	if (e == null) return !o;
	for (e = Object(e); i--;) {
		var s = n[i];
		if (a && s[2] ? s[1] !== e[s[0]] : !(s[0] in e)) return !1
	}
	for (; ++i < o;) {
		s = n[i];
		var u = s[0],
			l = e[u],
			c = s[1];
		if (a && s[2]) {
			if (l === void 0 && !(u in e)) return !1
		} else {
			var d = new N5e;
			if (r) var p = r(l, c, u, e, t, d);
			if (!(p === void 0 ? D5e(c, l, $5e | F5e, r, d) : p)) return !1
		}
	}
	return !0
}
var U5e = j5e,
	H5e = Yi;

function V5e(e) {
	return e === e && !H5e(e)
}
var KG = V5e,
	B5e = KG,
	z5e = O8;

function G5e(e) {
	for (var t = z5e(e), n = t.length; n--;) {
		var r = t[n],
			i = e[r];
		t[n] = [r, i, B5e(i)]
	}
	return t
}
var W5e = G5e;

function K5e(e, t) {
	return function(n) {
		return n == null ? !1 : n[e] === t && (t !== void 0 || e in Object(n))
	}
}
var ZG = K5e,
	Z5e = U5e,
	q5e = W5e,
	Y5e = ZG;

function X5e(e) {
	var t = q5e(e);
	return t.length == 1 && t[0][2] ? Y5e(t[0][0], t[0][1]) : function(n) {
		return n === e || Z5e(n, e, t)
	}
}
var J5e = X5e,
	Q5e = Ih,
	eCe = Tf,
	tCe = "[object Symbol]";

function nCe(e) {
	return typeof e == "symbol" || eCe(e) && Q5e(e) == tCe
}
var Vb = nCe,
	rCe = pa,
	iCe = Vb,
	oCe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
	aCe = /^\w*$/;

function sCe(e, t) {
	if (rCe(e)) return !1;
	var n = typeof e;
	return n == "number" || n == "symbol" || n == "boolean" || e == null || iCe(e) ? !0 : aCe.test(e) || !oCe.test(e) || t != null && e in Object(t)
}
var R8 = sCe,
	qG = w8,
	uCe = "Expected a function";

function I8(e, t) {
	if (typeof e != "function" || t != null && typeof t != "function") throw new TypeError(uCe);
	var n = function() {
		var r = arguments,
			i = t ? t.apply(this, r) : r[0],
			o = n.cache;
		if (o.has(i)) return o.get(i);
		var a = e.apply(this, r);
		return n.cache = o.set(i, a) || o, a
	};
	return n.cache = new(I8.Cache || qG), n
}
I8.Cache = qG;
var lCe = I8,
	cCe = lCe,
	fCe = 500;

function dCe(e) {
	var t = cCe(e, function(r) {
			return n.size === fCe && n.clear(), r
		}),
		n = t.cache;
	return t
}
var pCe = dCe,
	hCe = pCe,
	vCe = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
	gCe = /\\(\\)?/g,
	mCe = hCe(function(e) {
		var t = [];
		return e.charCodeAt(0) === 46 && t.push(""), e.replace(vCe, function(n, r, i, o) {
			t.push(i ? o.replace(gCe, "$1") : r || n)
		}), t
	}),
	yCe = mCe,
	nN = $b,
	wCe = MG,
	_Ce = pa,
	bCe = Vb,
	SCe = 1 / 0,
	rN = nN ? nN.prototype : void 0,
	iN = rN ? rN.toString : void 0;

function YG(e) {
	if (typeof e == "string") return e;
	if (_Ce(e)) return wCe(e, YG) + "";
	if (bCe(e)) return iN ? iN.call(e) : "";
	var t = e + "";
	return t == "0" && 1 / e == -SCe ? "-0" : t
}
var xCe = YG,
	ECe = xCe;

function CCe(e) {
	return e == null ? "" : ECe(e)
}
var OCe = CCe,
	TCe = pa,
	RCe = R8,
	ICe = yCe,
	kCe = OCe;

function ACe(e, t) {
	return TCe(e) ? e : RCe(e, t) ? [e] : ICe(kCe(e))
}
var Bb = ACe,
	MCe = Vb,
	PCe = 1 / 0;

function LCe(e) {
	if (typeof e == "string" || MCe(e)) return e;
	var t = e + "";
	return t == "0" && 1 / e == -PCe ? "-0" : t
}
var Y1 = LCe,
	NCe = Bb,
	DCe = Y1;

function $Ce(e, t) {
	t = NCe(t, e);
	for (var n = 0, r = t.length; e != null && n < r;) e = e[DCe(t[n++])];
	return n && n == r ? e : void 0
}
var k8 = $Ce,
	FCe = k8;

function jCe(e, t, n) {
	var r = e == null ? void 0 : FCe(e, t);
	return r === void 0 ? n : r
}
var XG = jCe;
const Pot = Et(XG);

function UCe(e, t) {
	return e != null && t in Object(e)
}
var HCe = UCe,
	VCe = Bb,
	BCe = b8,
	zCe = pa,
	GCe = Hb,
	WCe = x8,
	KCe = Y1;

function ZCe(e, t, n) {
	t = VCe(t, e);
	for (var r = -1, i = t.length, o = !1; ++r < i;) {
		var a = KCe(t[r]);
		if (!(o = e != null && n(e, a))) break;
		e = e[a]
	}
	return o || ++r != i ? o : (i = e == null ? 0 : e.length, !!i && WCe(i) && GCe(a, i) && (zCe(e) || BCe(e)))
}
var qCe = ZCe,
	YCe = HCe,
	XCe = qCe;

function JCe(e, t) {
	return e != null && XCe(e, t, YCe)
}
var QCe = JCe,
	e6e = T8,
	t6e = XG,
	n6e = QCe,
	r6e = R8,
	i6e = KG,
	o6e = ZG,
	a6e = Y1,
	s6e = 1,
	u6e = 2;

function l6e(e, t) {
	return r6e(e) && i6e(t) ? o6e(a6e(e), t) : function(n) {
		var r = t6e(n, e);
		return r === void 0 && r === t ? n6e(n, e) : e6e(t, r, s6e | u6e)
	}
}
var c6e = l6e;

function f6e(e) {
	return e
}
var A8 = f6e;

function d6e(e) {
	return function(t) {
		return t == null ? void 0 : t[e]
	}
}
var p6e = d6e,
	h6e = k8;

function v6e(e) {
	return function(t) {
		return h6e(t, e)
	}
}
var g6e = v6e,
	m6e = p6e,
	y6e = g6e,
	w6e = R8,
	_6e = Y1;

function b6e(e) {
	return w6e(e) ? m6e(_6e(e)) : y6e(e)
}
var S6e = b6e,
	x6e = J5e,
	E6e = c6e,
	C6e = A8,
	O6e = pa,
	T6e = S6e;

function R6e(e) {
	return typeof e == "function" ? e : e == null ? C6e : typeof e == "object" ? O6e(e) ? E6e(e[0], e[1]) : x6e(e) : T6e(e)
}
var JG = R6e,
	I6e = Of,
	k6e = function() {
		try {
			var e = I6e(Object, "defineProperty");
			return e({}, "", {}), e
		} catch (t) {}
	}(),
	QG = k6e,
	oN = QG;

function A6e(e, t, n) {
	t == "__proto__" && oN ? oN(e, t, {
		configurable: !0,
		enumerable: !0,
		value: n,
		writable: !0
	}) : e[t] = n
}
var zb = A6e,
	M6e = zb,
	P6e = Z1,
	L6e = Object.prototype,
	N6e = L6e.hasOwnProperty;

function D6e(e, t, n) {
	var r = e[t];
	(!(N6e.call(e, t) && P6e(r, n)) || n === void 0 && !(t in e)) && M6e(e, t, n)
}
var eW = D6e,
	$6e = eW,
	F6e = Bb,
	j6e = Hb,
	aN = Yi,
	U6e = Y1;

function H6e(e, t, n, r) {
	if (!aN(e)) return e;
	t = F6e(t, e);
	for (var i = -1, o = t.length, a = o - 1, s = e; s != null && ++i < o;) {
		var u = U6e(t[i]),
			l = n;
		if (u === "__proto__" || u === "constructor" || u === "prototype") return e;
		if (i != a) {
			var c = s[u];
			l = r ? r(c, u, s) : void 0, l === void 0 && (l = aN(c) ? c : j6e(t[i + 1]) ? [] : {})
		}
		$6e(s, u, l), s = s[u]
	}
	return e
}
var V6e = H6e,
	B6e = k8,
	z6e = V6e,
	G6e = Bb;

function W6e(e, t, n) {
	for (var r = -1, i = t.length, o = {}; ++r < i;) {
		var a = t[r],
			s = B6e(e, a);
		n(s, a) && z6e(o, G6e(a, e), s)
	}
	return o
}
var K6e = W6e,
	Z6e = zG,
	q6e = Z6e(Object.getPrototypeOf, Object),
	M8 = q6e,
	Y6e = FG,
	X6e = M8,
	J6e = HG,
	Q6e = UG,
	eOe = Object.getOwnPropertySymbols,
	tOe = eOe ? function(e) {
		for (var t = []; e;) Y6e(t, J6e(e)), e = X6e(e);
		return t
	} : Q6e,
	nOe = tOe;

function rOe(e) {
	var t = [];
	if (e != null)
		for (var n in Object(e)) t.push(n);
	return t
}
var iOe = rOe,
	oOe = Yi,
	aOe = C8,
	sOe = iOe,
	uOe = Object.prototype,
	lOe = uOe.hasOwnProperty;

function cOe(e) {
	if (!oOe(e)) return sOe(e);
	var t = aOe(e),
		n = [];
	for (var r in e) r == "constructor" && (t || !lOe.call(e, r)) || n.push(r);
	return n
}
var fOe = cOe,
	dOe = BG,
	pOe = fOe,
	hOe = q1;

function vOe(e) {
	return hOe(e) ? dOe(e, !0) : pOe(e)
}
var P8 = vOe,
	gOe = jG,
	mOe = nOe,
	yOe = P8;

function wOe(e) {
	return gOe(e, yOe, mOe)
}
var _Oe = wOe,
	bOe = MG,
	SOe = JG,
	xOe = K6e,
	EOe = _Oe;

function COe(e, t) {
	if (e == null) return {};
	var n = bOe(EOe(e), function(r) {
		return [r]
	});
	return t = SOe(t), xOe(e, n, function(r, i) {
		return t(r, i[0])
	})
}
var OOe = COe;
const TOe = Et(OOe);

function Aw(e, t) {
	return Aw = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
		return n.__proto__ = r, n
	}, Aw(e, t)
}

function ia(e, t) {
	e.prototype = Object.create(t.prototype), e.prototype.constructor = e, Aw(e, t)
}
var tW = {
		exports: {}
	},
	ROe = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",
	IOe = ROe,
	kOe = IOe;

function nW() {}

function rW() {}
rW.resetWarningCache = nW;
var AOe = function() {
	function e(r, i, o, a, s, u) {
		if (u !== kOe) {
			var l = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
			throw l.name = "Invariant Violation", l
		}
	}
	e.isRequired = e;

	function t() {
		return e
	}
	var n = {
		array: e,
		bigint: e,
		bool: e,
		func: e,
		number: e,
		object: e,
		string: e,
		symbol: e,
		any: e,
		arrayOf: t,
		element: e,
		elementType: e,
		instanceOf: t,
		node: e,
		objectOf: t,
		oneOf: t,
		oneOfType: t,
		shape: t,
		exact: t,
		checkPropTypes: rW,
		resetWarningCache: nW
	};
	return n.PropTypes = n, n
};
tW.exports = AOe();
var MOe = tW.exports;
const sN = Et(MOe);

function ge() {
	return ge = Object.assign ? Object.assign.bind() : function(e) {
		for (var t = 1; t < arguments.length; t++) {
			var n = arguments[t];
			for (var r in n)({}).hasOwnProperty.call(n, r) && (e[r] = n[r])
		}
		return e
	}, ge.apply(null, arguments)
}
const Lot = Object.freeze(Object.defineProperty({
	__proto__: null,
	get default() {
		return ge
	}
}, Symbol.toStringTag, {
	value: "Module"
}));

function Jm(e) {
	return e.charAt(0) === "/"
}

function sx(e, t) {
	for (var n = t, r = n + 1, i = e.length; r < i; n += 1, r += 1) e[n] = e[r];
	e.pop()
}

function POe(e, t) {
	t === void 0 && (t = "");
	var n = e && e.split("/") || [],
		r = t && t.split("/") || [],
		i = e && Jm(e),
		o = t && Jm(t),
		a = i || o;
	if (e && Jm(e) ? r = n : n.length && (r.pop(), r = r.concat(n)), !r.length) return "/";
	var s;
	if (r.length) {
		var u = r[r.length - 1];
		s = u === "." || u === ".." || u === ""
	} else s = !1;
	for (var l = 0, c = r.length; c >= 0; c--) {
		var d = r[c];
		d === "." ? sx(r, c) : d === ".." ? (sx(r, c), l++) : l && (sx(r, c), l--)
	}
	if (!a)
		for (; l--; l) r.unshift("..");
	a && r[0] !== "" && (!r[0] || !Jm(r[0])) && r.unshift("");
	var p = r.join("/");
	return s && p.substr(-1) !== "/" && (p += "/"), p
}

function uN(e) {
	return e.valueOf ? e.valueOf() : Object.prototype.valueOf.call(e)
}

function n2(e, t) {
	if (e === t) return !0;
	if (e == null || t == null) return !1;
	if (Array.isArray(e)) return Array.isArray(t) && e.length === t.length && e.every(function(i, o) {
		return n2(i, t[o])
	});
	if (typeof e == "object" || typeof t == "object") {
		var n = uN(e),
			r = uN(t);
		return n !== e || r !== t ? n2(n, r) : Object.keys(Object.assign({}, e, t)).every(function(i) {
			return n2(e[i], t[i])
		})
	}
	return !1
}
var LOe = "Invariant failed";

function iW(e, t) {
	throw new Error(LOe)
}

function mv(e) {
	return e.charAt(0) === "/" ? e : "/" + e
}

function lN(e) {
	return e.charAt(0) === "/" ? e.substr(1) : e
}

function NOe(e, t) {
	return e.toLowerCase().indexOf(t.toLowerCase()) === 0 && "/?#".indexOf(e.charAt(t.length)) !== -1
}

function oW(e, t) {
	return NOe(e, t) ? e.substr(t.length) : e
}

function aW(e) {
	return e.charAt(e.length - 1) === "/" ? e.slice(0, -1) : e
}

function DOe(e) {
	var t = e || "/",
		n = "",
		r = "",
		i = t.indexOf("#");
	i !== -1 && (r = t.substr(i), t = t.substr(0, i));
	var o = t.indexOf("?");
	return o !== -1 && (n = t.substr(o), t = t.substr(0, o)), {
		pathname: t,
		search: n === "?" ? "" : n,
		hash: r === "#" ? "" : r
	}
}

function fi(e) {
	var t = e.pathname,
		n = e.search,
		r = e.hash,
		i = t || "/";
	return n && n !== "?" && (i += n.charAt(0) === "?" ? n : "?" + n), r && r !== "#" && (i += r.charAt(0) === "#" ? r : "#" + r), i
}

function Gr(e, t, n, r) {
	var i;
	typeof e == "string" ? (i = DOe(e), i.state = t) : (i = ge({}, e), i.pathname === void 0 && (i.pathname = ""), i.search ? i.search.charAt(0) !== "?" && (i.search = "?" + i.search) : i.search = "", i.hash ? i.hash.charAt(0) !== "#" && (i.hash = "#" + i.hash) : i.hash = "", t !== void 0 && i.state === void 0 && (i.state = t));
	try {
		i.pathname = decodeURI(i.pathname)
	} catch (o) {
		throw o instanceof URIError ? new URIError('Pathname "' + i.pathname + '" could not be decoded. This is likely caused by an invalid percent-encoding.') : o
	}
	return n && (i.key = n), r ? i.pathname ? i.pathname.charAt(0) !== "/" && (i.pathname = POe(i.pathname, r.pathname)) : i.pathname = r.pathname : i.pathname || (i.pathname = "/"), i
}

function $Oe(e, t) {
	return e.pathname === t.pathname && e.search === t.search && e.hash === t.hash && e.key === t.key && n2(e.state, t.state)
}

function L8() {
	var e = null;

	function t(a) {
		return e = a,
			function() {
				e === a && (e = null)
			}
	}

	function n(a, s, u, l) {
		if (e != null) {
			var c = typeof e == "function" ? e(a, s) : e;
			typeof c == "string" ? typeof u == "function" ? u(c, l) : l(!0) : l(c !== !1)
		} else l(!0)
	}
	var r = [];

	function i(a) {
		var s = !0;

		function u() {
			s && a.apply(void 0, arguments)
		}
		return r.push(u),
			function() {
				s = !1, r = r.filter(function(l) {
					return l !== u
				})
			}
	}

	function o() {
		for (var a = arguments.length, s = new Array(a), u = 0; u < a; u++) s[u] = arguments[u];
		r.forEach(function(l) {
			return l.apply(void 0, s)
		})
	}
	return {
		setPrompt: t,
		confirmTransitionTo: n,
		appendListener: i,
		notifyListeners: o
	}
}
var sW = !!(typeof window < "u" && window.document && window.document.createElement);

function uW(e, t) {
	t(window.confirm(e))
}

function FOe() {
	var e = window.navigator.userAgent;
	return (e.indexOf("Android 2.") !== -1 || e.indexOf("Android 4.0") !== -1) && e.indexOf("Mobile Safari") !== -1 && e.indexOf("Chrome") === -1 && e.indexOf("Windows Phone") === -1 ? !1 : window.history && "pushState" in window.history
}

function jOe() {
	return window.navigator.userAgent.indexOf("Trident") === -1
}

function UOe() {
	return window.navigator.userAgent.indexOf("Firefox") === -1
}

function HOe(e) {
	return e.state === void 0 && navigator.userAgent.indexOf("CriOS") === -1
}
var cN = "popstate",
	fN = "hashchange";

function dN() {
	try {
		return window.history.state || {}
	} catch (e) {
		return {}
	}
}

function lW(e) {
	e === void 0 && (e = {}), sW || iW();
	var t = window.history,
		n = FOe(),
		r = !jOe(),
		i = e,
		o = i.forceRefresh,
		a = o === void 0 ? !1 : o,
		s = i.getUserConfirmation,
		u = s === void 0 ? uW : s,
		l = i.keyLength,
		c = l === void 0 ? 6 : l,
		d = e.basename ? aW(mv(e.basename)) : "";

	function p(F) {
		var j = F || {},
			B = j.key,
			Z = j.state,
			z = window.location,
			Q = z.pathname,
			ie = z.search,
			le = z.hash,
			pe = Q + ie + le;
		return d && (pe = oW(pe, d)), Gr(pe, Z, B)
	}

	function g() {
		return Math.random().toString(36).substr(2, c)
	}
	var m = L8();

	function _(F) {
		ge(q, F), q.length = t.length, m.notifyListeners(q.location, q.action)
	}

	function S(F) {
		HOe(F) || b(p(F.state))
	}

	function y() {
		b(p(dN()))
	}
	var w = !1;

	function b(F) {
		if (w) w = !1, _();
		else {
			var j = "POP";
			m.confirmTransitionTo(F, j, u, function(B) {
				B ? _({
					action: j,
					location: F
				}) : E(F)
			})
		}
	}

	function E(F) {
		var j = q.location,
			B = O.indexOf(j.key);
		B === -1 && (B = 0);
		var Z = O.indexOf(F.key);
		Z === -1 && (Z = 0);
		var z = B - Z;
		z && (w = !0, D(z))
	}
	var T = p(dN()),
		O = [T.key];

	function R(F) {
		return d + fi(F)
	}

	function k(F, j) {
		var B = "PUSH",
			Z = Gr(F, j, g(), q.location);
		m.confirmTransitionTo(Z, B, u, function(z) {
			if (z) {
				var Q = R(Z),
					ie = Z.key,
					le = Z.state;
				if (n)
					if (t.pushState({
							key: ie,
							state: le
						}, null, Q), a) window.location.href = Q;
					else {
						var pe = O.indexOf(q.location.key),
							Ee = O.slice(0, pe + 1);
						Ee.push(Z.key), O = Ee, _({
							action: B,
							location: Z
						})
					}
				else window.location.href = Q
			}
		})
	}

	function M(F, j) {
		var B = "REPLACE",
			Z = Gr(F, j, g(), q.location);
		m.confirmTransitionTo(Z, B, u, function(z) {
			if (z) {
				var Q = R(Z),
					ie = Z.key,
					le = Z.state;
				if (n)
					if (t.replaceState({
							key: ie,
							state: le
						}, null, Q), a) window.location.replace(Q);
					else {
						var pe = O.indexOf(q.location.key);
						pe !== -1 && (O[pe] = Z.key), _({
							action: B,
							location: Z
						})
					}
				else window.location.replace(Q)
			}
		})
	}

	function D(F) {
		t.go(F)
	}

	function P() {
		D(-1)
	}

	function U() {
		D(1)
	}
	var H = 0;

	function G(F) {
		H += F, H === 1 && F === 1 ? (window.addEventListener(cN, S), r && window.addEventListener(fN, y)) : H === 0 && (window.removeEventListener(cN, S), r && window.removeEventListener(fN, y))
	}
	var K = !1;

	function ee(F) {
		F === void 0 && (F = !1);
		var j = m.setPrompt(F);
		return K || (G(1), K = !0),
			function() {
				return K && (K = !1, G(-1)), j()
			}
	}

	function te(F) {
		var j = m.appendListener(F);
		return G(1),
			function() {
				G(-1), j()
			}
	}
	var q = {
		length: t.length,
		action: "POP",
		location: T,
		createHref: R,
		push: k,
		replace: M,
		go: D,
		goBack: P,
		goForward: U,
		block: ee,
		listen: te
	};
	return q
}
var pN = "hashchange",
	VOe = {
		hashbang: {
			encodePath: function(t) {
				return t.charAt(0) === "!" ? t : "!/" + lN(t)
			},
			decodePath: function(t) {
				return t.charAt(0) === "!" ? t.substr(1) : t
			}
		},
		noslash: {
			encodePath: lN,
			decodePath: mv
		},
		slash: {
			encodePath: mv,
			decodePath: mv
		}
	};

function cW(e) {
	var t = e.indexOf("#");
	return t === -1 ? e : e.slice(0, t)
}

function M0() {
	var e = window.location.href,
		t = e.indexOf("#");
	return t === -1 ? "" : e.substring(t + 1)
}

function BOe(e) {
	window.location.hash = e
}

function ux(e) {
	window.location.replace(cW(window.location.href) + "#" + e)
}

function zOe(e) {
	e === void 0 && (e = {}), sW || iW();
	var t = window.history;
	UOe();
	var n = e,
		r = n.getUserConfirmation,
		i = r === void 0 ? uW : r,
		o = n.hashType,
		a = o === void 0 ? "slash" : o,
		s = e.basename ? aW(mv(e.basename)) : "",
		u = VOe[a],
		l = u.encodePath,
		c = u.decodePath;

	function d() {
		var j = c(M0());
		return s && (j = oW(j, s)), Gr(j)
	}
	var p = L8();

	function g(j) {
		ge(F, j), F.length = t.length, p.notifyListeners(F.location, F.action)
	}
	var m = !1,
		_ = null;

	function S(j, B) {
		return j.pathname === B.pathname && j.search === B.search && j.hash === B.hash
	}

	function y() {
		var j = M0(),
			B = l(j);
		if (j !== B) ux(B);
		else {
			var Z = d(),
				z = F.location;
			if (!m && S(z, Z) || _ === fi(Z)) return;
			_ = null, w(Z)
		}
	}

	function w(j) {
		if (m) m = !1, g();
		else {
			var B = "POP";
			p.confirmTransitionTo(j, B, i, function(Z) {
				Z ? g({
					action: B,
					location: j
				}) : b(j)
			})
		}
	}

	function b(j) {
		var B = F.location,
			Z = R.lastIndexOf(fi(B));
		Z === -1 && (Z = 0);
		var z = R.lastIndexOf(fi(j));
		z === -1 && (z = 0);
		var Q = Z - z;
		Q && (m = !0, P(Q))
	}
	var E = M0(),
		T = l(E);
	E !== T && ux(T);
	var O = d(),
		R = [fi(O)];

	function k(j) {
		var B = document.querySelector("base"),
			Z = "";
		return B && B.getAttribute("href") && (Z = cW(window.location.href)), Z + "#" + l(s + fi(j))
	}

	function M(j, B) {
		var Z = "PUSH",
			z = Gr(j, void 0, void 0, F.location);
		p.confirmTransitionTo(z, Z, i, function(Q) {
			if (Q) {
				var ie = fi(z),
					le = l(s + ie),
					pe = M0() !== le;
				if (pe) {
					_ = ie, BOe(le);
					var Ee = R.lastIndexOf(fi(F.location)),
						be = R.slice(0, Ee + 1);
					be.push(ie), R = be, g({
						action: Z,
						location: z
					})
				} else g()
			}
		})
	}

	function D(j, B) {
		var Z = "REPLACE",
			z = Gr(j, void 0, void 0, F.location);
		p.confirmTransitionTo(z, Z, i, function(Q) {
			if (Q) {
				var ie = fi(z),
					le = l(s + ie),
					pe = M0() !== le;
				pe && (_ = ie, ux(le));
				var Ee = R.indexOf(fi(F.location));
				Ee !== -1 && (R[Ee] = ie), g({
					action: Z,
					location: z
				})
			}
		})
	}

	function P(j) {
		t.go(j)
	}

	function U() {
		P(-1)
	}

	function H() {
		P(1)
	}
	var G = 0;

	function K(j) {
		G += j, G === 1 && j === 1 ? window.addEventListener(pN, y) : G === 0 && window.removeEventListener(pN, y)
	}
	var ee = !1;

	function te(j) {
		j === void 0 && (j = !1);
		var B = p.setPrompt(j);
		return ee || (K(1), ee = !0),
			function() {
				return ee && (ee = !1, K(-1)), B()
			}
	}

	function q(j) {
		var B = p.appendListener(j);
		return K(1),
			function() {
				K(-1), B()
			}
	}
	var F = {
		length: t.length,
		action: "POP",
		location: O,
		createHref: k,
		push: M,
		replace: D,
		go: P,
		goBack: U,
		goForward: H,
		block: te,
		listen: q
	};
	return F
}

function hN(e, t, n) {
	return Math.min(Math.max(e, t), n)
}

function GOe(e) {
	e === void 0 && (e = {});
	var t = e,
		n = t.getUserConfirmation,
		r = t.initialEntries,
		i = r === void 0 ? ["/"] : r,
		o = t.initialIndex,
		a = o === void 0 ? 0 : o,
		s = t.keyLength,
		u = s === void 0 ? 6 : s,
		l = L8();

	function c(k) {
		ge(R, k), R.length = R.entries.length, l.notifyListeners(R.location, R.action)
	}

	function d() {
		return Math.random().toString(36).substr(2, u)
	}
	var p = hN(a, 0, i.length - 1),
		g = i.map(function(k) {
			return typeof k == "string" ? Gr(k, void 0, d()) : Gr(k, void 0, k.key || d())
		}),
		m = fi;

	function _(k, M) {
		var D = "PUSH",
			P = Gr(k, M, d(), R.location);
		l.confirmTransitionTo(P, D, n, function(U) {
			if (U) {
				var H = R.index,
					G = H + 1,
					K = R.entries.slice(0);
				K.length > G ? K.splice(G, K.length - G, P) : K.push(P), c({
					action: D,
					location: P,
					index: G,
					entries: K
				})
			}
		})
	}

	function S(k, M) {
		var D = "REPLACE",
			P = Gr(k, M, d(), R.location);
		l.confirmTransitionTo(P, D, n, function(U) {
			U && (R.entries[R.index] = P, c({
				action: D,
				location: P
			}))
		})
	}

	function y(k) {
		var M = hN(R.index + k, 0, R.entries.length - 1),
			D = "POP",
			P = R.entries[M];
		l.confirmTransitionTo(P, D, n, function(U) {
			U ? c({
				action: D,
				location: P,
				index: M
			}) : c()
		})
	}

	function w() {
		y(-1)
	}

	function b() {
		y(1)
	}

	function E(k) {
		var M = R.index + k;
		return M >= 0 && M < R.entries.length
	}

	function T(k) {
		return k === void 0 && (k = !1), l.setPrompt(k)
	}

	function O(k) {
		return l.appendListener(k)
	}
	var R = {
		length: g.length,
		action: "POP",
		location: g[p],
		index: p,
		entries: g,
		createHref: m,
		push: _,
		replace: S,
		go: y,
		goBack: w,
		goForward: b,
		canGo: E,
		block: T,
		listen: O
	};
	return R
}
var WOe = "Invariant failed";

function X1(e, t) {
	throw new Error(WOe)
}
var Lh = {
		exports: {}
	},
	KOe = Array.isArray || function(e) {
		return Object.prototype.toString.call(e) == "[object Array]"
	},
	Mw = KOe;
Lh.exports = pW;
Lh.exports.parse = N8;
Lh.exports.compile = qOe;
Lh.exports.tokensToFunction = fW;
Lh.exports.tokensToRegExp = dW;
var ZOe = new RegExp(["(\\\\.)", "([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"), "g");

function N8(e, t) {
	for (var n = [], r = 0, i = 0, o = "", a = t && t.delimiter || "/", s;
		(s = ZOe.exec(e)) != null;) {
		var u = s[0],
			l = s[1],
			c = s.index;
		if (o += e.slice(i, c), i = c + u.length, l) {
			o += l[1];
			continue
		}
		var d = e[i],
			p = s[2],
			g = s[3],
			m = s[4],
			_ = s[5],
			S = s[6],
			y = s[7];
		o && (n.push(o), o = "");
		var w = p != null && d != null && d !== p,
			b = S === "+" || S === "*",
			E = S === "?" || S === "*",
			T = s[2] || a,
			O = m || _;
		n.push({
			name: g || r++,
			prefix: p || "",
			delimiter: T,
			optional: E,
			repeat: b,
			partial: w,
			asterisk: !!y,
			pattern: O ? JOe(O) : y ? ".*" : "[^" + r2(T) + "]+?"
		})
	}
	return i < e.length && (o += e.substr(i)), o && n.push(o), n
}

function qOe(e, t) {
	return fW(N8(e, t), t)
}

function YOe(e) {
	return encodeURI(e).replace(/[\/?#]/g, function(t) {
		return "%" + t.charCodeAt(0).toString(16).toUpperCase()
	})
}

function XOe(e) {
	return encodeURI(e).replace(/[?#]/g, function(t) {
		return "%" + t.charCodeAt(0).toString(16).toUpperCase()
	})
}

function fW(e, t) {
	for (var n = new Array(e.length), r = 0; r < e.length; r++) typeof e[r] == "object" && (n[r] = new RegExp("^(?:" + e[r].pattern + ")$", $8(t)));
	return function(i, o) {
		for (var a = "", s = i || {}, u = o || {}, l = u.pretty ? YOe : encodeURIComponent, c = 0; c < e.length; c++) {
			var d = e[c];
			if (typeof d == "string") {
				a += d;
				continue
			}
			var p = s[d.name],
				g;
			if (p == null)
				if (d.optional) {
					d.partial && (a += d.prefix);
					continue
				} else throw new TypeError('Expected "' + d.name + '" to be defined');
			if (Mw(p)) {
				if (!d.repeat) throw new TypeError('Expected "' + d.name + '" to not repeat, but received `' + JSON.stringify(p) + "`");
				if (p.length === 0) {
					if (d.optional) continue;
					throw new TypeError('Expected "' + d.name + '" to not be empty')
				}
				for (var m = 0; m < p.length; m++) {
					if (g = l(p[m]), !n[c].test(g)) throw new TypeError('Expected all "' + d.name + '" to match "' + d.pattern + '", but received `' + JSON.stringify(g) + "`");
					a += (m === 0 ? d.prefix : d.delimiter) + g
				}
				continue
			}
			if (g = d.asterisk ? XOe(p) : l(p), !n[c].test(g)) throw new TypeError('Expected "' + d.name + '" to match "' + d.pattern + '", but received "' + g + '"');
			a += d.prefix + g
		}
		return a
	}
}

function r2(e) {
	return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g, "\\$1")
}

function JOe(e) {
	return e.replace(/([=!:$\/()])/g, "\\$1")
}

function D8(e, t) {
	return e.keys = t, e
}

function $8(e) {
	return e && e.sensitive ? "" : "i"
}

function QOe(e, t) {
	var n = e.source.match(/\((?!\?)/g);
	if (n)
		for (var r = 0; r < n.length; r++) t.push({
			name: r,
			prefix: null,
			delimiter: null,
			optional: !1,
			repeat: !1,
			partial: !1,
			asterisk: !1,
			pattern: null
		});
	return D8(e, t)
}

function e7e(e, t, n) {
	for (var r = [], i = 0; i < e.length; i++) r.push(pW(e[i], t, n).source);
	var o = new RegExp("(?:" + r.join("|") + ")", $8(n));
	return D8(o, t)
}

function t7e(e, t, n) {
	return dW(N8(e, n), t, n)
}

function dW(e, t, n) {
	Mw(t) || (n = t || n, t = []), n = n || {};
	for (var r = n.strict, i = n.end !== !1, o = "", a = 0; a < e.length; a++) {
		var s = e[a];
		if (typeof s == "string") o += r2(s);
		else {
			var u = r2(s.prefix),
				l = "(?:" + s.pattern + ")";
			t.push(s), s.repeat && (l += "(?:" + u + l + ")*"), s.optional ? s.partial ? l = u + "(" + l + ")?" : l = "(?:" + u + "(" + l + "))?" : l = u + "(" + l + ")", o += l
		}
	}
	var c = r2(n.delimiter || "/"),
		d = o.slice(-c.length) === c;
	return r || (o = (d ? o.slice(0, -c.length) : o) + "(?:" + c + "(?=$))?"), i ? o += "$" : o += r && d ? "" : "(?=" + c + "|$)", D8(new RegExp("^" + o, $8(n)), t)
}

function pW(e, t, n) {
	return Mw(t) || (n = t || n, t = []), n = n || {}, e instanceof RegExp ? QOe(e, t) : Mw(e) ? e7e(e, t, n) : t7e(e, t, n)
}
var n7e = Lh.exports;
const hW = Et(n7e);

function Rf(e, t) {
	if (e == null) return {};
	var n = {};
	for (var r in e)
		if ({}.hasOwnProperty.call(e, r)) {
			if (t.indexOf(r) >= 0) continue;
			n[r] = e[r]
		} return n
}
var lx = 1073741823,
	vN = typeof globalThis < "u" ? globalThis : typeof window < "u" || typeof window < "u" ? window : {};

function r7e() {
	var e = "__global_unique_id__";
	return vN[e] = (vN[e] || 0) + 1
}

function i7e(e, t) {
	return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t
}

function o7e(e) {
	var t = [];
	return {
		on: function(r) {
			t.push(r)
		},
		off: function(r) {
			t = t.filter(function(i) {
				return i !== r
			})
		},
		get: function() {
			return e
		},
		set: function(r, i) {
			e = r, t.forEach(function(o) {
				return o(e, i)
			})
		}
	}
}

function a7e(e) {
	return Array.isArray(e) ? e[0] : e
}

function s7e(e, t) {
	var n, r, i = "__create-react-context-" + r7e() + "__",
		o = function(s) {
			ia(u, s);

			function u() {
				for (var c, d = arguments.length, p = new Array(d), g = 0; g < d; g++) p[g] = arguments[g];
				return c = s.call.apply(s, [this].concat(p)) || this, c.emitter = o7e(c.props.value), c
			}
			var l = u.prototype;
			return l.getChildContext = function() {
				var d;
				return d = {}, d[i] = this.emitter, d
			}, l.componentWillReceiveProps = function(d) {
				if (this.props.value !== d.value) {
					var p = this.props.value,
						g = d.value,
						m;
					i7e(p, g) ? m = 0 : (m = typeof t == "function" ? t(p, g) : lx, m |= 0, m !== 0 && this.emitter.set(d.value, m))
				}
			}, l.render = function() {
				return this.props.children
			}, u
		}(J.Component);
	o.childContextTypes = (n = {}, n[i] = sN.object.isRequired, n);
	var a = function(s) {
		ia(u, s);

		function u() {
			for (var c, d = arguments.length, p = new Array(d), g = 0; g < d; g++) p[g] = arguments[g];
			return c = s.call.apply(s, [this].concat(p)) || this, c.observedBits = void 0, c.state = {
				value: c.getValue()
			}, c.onUpdate = function(m, _) {
				var S = c.observedBits | 0;
				S & _ && c.setState({
					value: c.getValue()
				})
			}, c
		}
		var l = u.prototype;
		return l.componentWillReceiveProps = function(d) {
			var p = d.observedBits;
			this.observedBits = p == null ? lx : p
		}, l.componentDidMount = function() {
			this.context[i] && this.context[i].on(this.onUpdate);
			var d = this.props.observedBits;
			this.observedBits = d == null ? lx : d
		}, l.componentWillUnmount = function() {
			this.context[i] && this.context[i].off(this.onUpdate)
		}, l.getValue = function() {
			return this.context[i] ? this.context[i].get() : e
		}, l.render = function() {
			return a7e(this.props.children)(this.state.value)
		}, u
	}(J.Component);
	return a.contextTypes = (r = {}, r[i] = sN.object, r), {
		Provider: o,
		Consumer: a
	}
}
var u7e = J.createContext || s7e,
	vW = function(t) {
		var n = u7e();
		return n.displayName = t, n
	},
	gW = vW("Router-History"),
	oa = vW("Router"),
	J1 = function(e) {
		ia(t, e), t.computeRootMatch = function(i) {
			return {
				path: "/",
				url: "/",
				params: {},
				isExact: i === "/"
			}
		};

		function t(r) {
			var i;
			return i = e.call(this, r) || this, i.state = {
				location: r.history.location
			}, i._isMounted = !1, i._pendingLocation = null, r.staticContext || (i.unlisten = r.history.listen(function(o) {
				i._pendingLocation = o
			})), i
		}
		var n = t.prototype;
		return n.componentDidMount = function() {
			var i = this;
			this._isMounted = !0, this.unlisten && this.unlisten(), this.props.staticContext || (this.unlisten = this.props.history.listen(function(o) {
				i._isMounted && i.setState({
					location: o
				})
			})), this._pendingLocation && this.setState({
				location: this._pendingLocation
			})
		}, n.componentWillUnmount = function() {
			this.unlisten && (this.unlisten(), this._isMounted = !1, this._pendingLocation = null)
		}, n.render = function() {
			return J.createElement(oa.Provider, {
				value: {
					history: this.props.history,
					location: this.state.location,
					match: t.computeRootMatch(this.state.location.pathname),
					staticContext: this.props.staticContext
				}
			}, J.createElement(gW.Provider, {
				children: this.props.children || null,
				value: this.props.history
			}))
		}, t
	}(J.Component);
J.Component;
var mW = function(e) {
	ia(t, e);

	function t() {
		return e.apply(this, arguments) || this
	}
	var n = t.prototype;
	return n.componentDidMount = function() {
		this.props.onMount && this.props.onMount.call(this, this)
	}, n.componentDidUpdate = function(i) {
		this.props.onUpdate && this.props.onUpdate.call(this, this, i)
	}, n.componentWillUnmount = function() {
		this.props.onUnmount && this.props.onUnmount.call(this, this)
	}, n.render = function() {
		return null
	}, t
}(J.Component);

function Not(e) {
	var t = e.message,
		n = e.when,
		r = n === void 0 ? !0 : n;
	return J.createElement(oa.Consumer, null, function(i) {
		if (i || X1(), !r || i.staticContext) return null;
		var o = i.history.block;
		return J.createElement(mW, {
			onMount: function(s) {
				s.release = o(t)
			},
			onUpdate: function(s, u) {
				u.message !== t && (s.release(), s.release = o(t))
			},
			onUnmount: function(s) {
				s.release()
			},
			message: t
		})
	})
}
var cx = {},
	l7e = 1e4,
	gN = 0;

function c7e(e) {
	if (cx[e]) return cx[e];
	var t = hW.compile(e);
	return gN < l7e && (cx[e] = t, gN++), t
}

function RC(e, t) {
	return e === void 0 && (e = "/"), t === void 0 && (t = {}), e === "/" ? e : c7e(e)(t, {
		pretty: !0
	})
}

function f7e(e) {
	var t = e.computedMatch,
		n = e.to,
		r = e.push,
		i = r === void 0 ? !1 : r;
	return J.createElement(oa.Consumer, null, function(o) {
		o || X1();
		var a = o.history,
			s = o.staticContext,
			u = i ? a.push : a.replace,
			l = Gr(t ? typeof n == "string" ? RC(n, t.params) : ge({}, n, {
				pathname: RC(n.pathname, t.params)
			}) : n);
		return s ? (u(l), null) : J.createElement(mW, {
			onMount: function() {
				u(l)
			},
			onUpdate: function(d, p) {
				var g = Gr(p.to);
				$Oe(g, ge({}, l, {
					key: g.key
				})) || u(l)
			},
			to: n
		})
	})
}
var mN = {},
	d7e = 1e4,
	yN = 0;

function p7e(e, t) {
	var n = "" + t.end + t.strict + t.sensitive,
		r = mN[n] || (mN[n] = {});
	if (r[e]) return r[e];
	var i = [],
		o = hW(e, i, t),
		a = {
			regexp: o,
			keys: i
		};
	return yN < d7e && (r[e] = a, yN++), a
}

function Ka(e, t) {
	t === void 0 && (t = {}), (typeof t == "string" || Array.isArray(t)) && (t = {
		path: t
	});
	var n = t,
		r = n.path,
		i = n.exact,
		o = i === void 0 ? !1 : i,
		a = n.strict,
		s = a === void 0 ? !1 : a,
		u = n.sensitive,
		l = u === void 0 ? !1 : u,
		c = [].concat(r);
	return c.reduce(function(d, p) {
		if (!p && p !== "") return null;
		if (d) return d;
		var g = p7e(p, {
				end: o,
				strict: s,
				sensitive: l
			}),
			m = g.regexp,
			_ = g.keys,
			S = m.exec(e);
		if (!S) return null;
		var y = S[0],
			w = S.slice(1),
			b = e === y;
		return o && !b ? null : {
			path: p,
			url: p === "/" && y === "" ? "/" : y,
			isExact: b,
			params: _.reduce(function(E, T, O) {
				return E[T.name] = w[O], E
			}, {})
		}
	}, null)
}

function h7e(e) {
	return J.Children.count(e) === 0
}
var Xn = function(e) {
	ia(t, e);

	function t() {
		return e.apply(this, arguments) || this
	}
	var n = t.prototype;
	return n.render = function() {
		var i = this;
		return J.createElement(oa.Consumer, null, function(o) {
			o || X1();
			var a = i.props.location || o.location,
				s = i.props.computedMatch ? i.props.computedMatch : i.props.path ? Ka(a.pathname, i.props) : o.match,
				u = ge({}, o, {
					location: a,
					match: s
				}),
				l = i.props,
				c = l.children,
				d = l.component,
				p = l.render;
			return Array.isArray(c) && h7e(c) && (c = null), J.createElement(oa.Provider, {
				value: u
			}, u.match ? c ? typeof c == "function" ? c(u) : c : d ? J.createElement(d, u) : p ? p(u) : null : typeof c == "function" ? c(u) : null)
		})
	}, t
}(J.Component);

function F8(e) {
	return e.charAt(0) === "/" ? e : "/" + e
}

function v7e(e, t) {
	return e ? ge({}, t, {
		pathname: F8(e) + t.pathname
	}) : t
}

function g7e(e, t) {
	if (!e) return t;
	var n = F8(e);
	return t.pathname.indexOf(n) !== 0 ? t : ge({}, t, {
		pathname: t.pathname.substr(n.length)
	})
}

function wN(e) {
	return typeof e == "string" ? e : fi(e)
}

function fx(e) {
	return function() {
		X1()
	}
}

function _N() {}
J.Component;
var j8 = function(e) {
		ia(t, e);

		function t() {
			return e.apply(this, arguments) || this
		}
		var n = t.prototype;
		return n.render = function() {
			var i = this;
			return J.createElement(oa.Consumer, null, function(o) {
				o || X1();
				var a = i.props.location || o.location,
					s, u;
				return J.Children.forEach(i.props.children, function(l) {
					if (u == null && J.isValidElement(l)) {
						s = l;
						var c = l.props.path || l.props.from;
						u = c ? Ka(a.pathname, ge({}, l.props, {
							path: c
						})) : o.match
					}
				}), u ? J.cloneElement(s, {
					location: a,
					computedMatch: u
				}) : null
			})
		}, t
	}(J.Component),
	Gb = J.useContext;

function U8() {
	return Gb(gW)
}

function ha() {
	return Gb(oa).location
}

function yW() {
	var e = Gb(oa).match;
	return e ? e.params : {}
}

function H8(e) {
	var t = ha(),
		n = Gb(oa).match;
	return e ? Ka(t.pathname, e) : n
}
var m7e = "Invariant failed";

function wW(e, t) {
	throw new Error(m7e)
}
J.Component;
J.Component;
var IC = function(t, n) {
		return typeof t == "function" ? t(n) : t
	},
	kC = function(t, n) {
		return typeof t == "string" ? Gr(t, null, null, n) : t
	},
	V8 = function(t) {
		return t
	},
	Vp = J.forwardRef;
typeof Vp > "u" && (Vp = V8);

function y7e(e) {
	return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey)
}
var w7e = Vp(function(e, t) {
		var n = e.innerRef,
			r = e.navigate,
			i = e.onClick,
			o = Rf(e, ["innerRef", "navigate", "onClick"]),
			a = o.target,
			s = ge({}, o, {
				onClick: function(l) {
					try {
						i && i(l)
					} catch (c) {
						throw l.preventDefault(), c
					}!l.defaultPrevented && l.button === 0 && (!a || a === "_self") && !y7e(l) && (l.preventDefault(), r())
				}
			});
		return V8 !== Vp ? s.ref = t || n : s.ref = n, J.createElement("a", s)
	}),
	aa = Vp(function(e, t) {
		var n = e.component,
			r = n === void 0 ? w7e : n,
			i = e.replace,
			o = e.to,
			a = e.innerRef,
			s = Rf(e, ["component", "replace", "to", "innerRef"]);
		return J.createElement(oa.Consumer, null, function(u) {
			u || wW();
			var l = u.history,
				c = kC(IC(o, u.location), u.location),
				d = c ? l.createHref(c) : "",
				p = ge({}, s, {
					href: d,
					navigate: function() {
						var m = IC(o, u.location),
							_ = fi(u.location) === fi(kC(m)),
							S = i || _ ? l.replace : l.push;
						S(m)
					}
				});
			return V8 !== Vp ? p.ref = t || a : p.innerRef = a, J.createElement(r, p)
		})
	}),
	_W = function(t) {
		return t
	},
	Pw = J.forwardRef;
typeof Pw > "u" && (Pw = _W);

function _7e() {
	for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
	return t.filter(function(r) {
		return r
	}).join(" ")
}
var B8 = Pw(function(e, t) {
	var n = e["aria-current"],
		r = n === void 0 ? "page" : n,
		i = e.activeClassName,
		o = i === void 0 ? "active" : i,
		a = e.activeStyle,
		s = e.className,
		u = e.exact,
		l = e.isActive,
		c = e.location,
		d = e.sensitive,
		p = e.strict,
		g = e.style,
		m = e.to,
		_ = e.innerRef,
		S = Rf(e, ["aria-current", "activeClassName", "activeStyle", "className", "exact", "isActive", "location", "sensitive", "strict", "style", "to", "innerRef"]);
	return J.createElement(oa.Consumer, null, function(y) {
		y || wW();
		var w = c || y.location,
			b = kC(IC(m, w), w),
			E = b.pathname,
			T = E && E.replace(/([.+*?=^!:${}()[\]|/\\])/g, "\\$1"),
			O = T ? Ka(w.pathname, {
				path: T,
				exact: u,
				sensitive: d,
				strict: p
			}) : null,
			R = !!(l ? l(O, w) : O),
			k = typeof s == "function" ? s(R) : s,
			M = typeof g == "function" ? g(R) : g;
		R && (k = _7e(k, o), M = ge({}, M, a));
		var D = ge({
			"aria-current": R && r || null,
			className: k,
			style: M,
			to: b
		}, S);
		return _W !== Pw ? D.ref = t || _ : D.innerRef = _, J.createElement(aa, D)
	})
});
class Ta extends Error {
	constructor(t, n, r, i) {
		super(t), this.name = "UserError", this.userMessage = t, this.status = n || 400, this.code = r || null, this.type = i || null
	}
}
const z8 = "An error occurred. If this issue persists please contact us through our help center at help.openai.com.";
class Cr extends Error {
	constructor(t = z8, n) {
		super(t), this.name = "FatalError", this.type = n || null
	}
}

function Dot(e) {
	if (e && typeof e.userMessage == "string") return e.userMessage;
	const t = b7e(e);
	return t || z8
}

function b7e(e) {
	if (e && typeof e == "object" && typeof e.message == "string") return e.message
}
const jn = lW(),
	si = typeof window > "u" ? null : window.localStorage;
var tr;
(function(e) {
	e.PlaygroundHasSeenWelcome = "oai/playground/hasSeenWelcome", e.PlaygroundContentFilterPrefs = "oai/playground/contentFilterPrefs", e.PlaygroundContentFilterSeen = "oai/playground/contentFilterSeen", e.PlaygroundExpandedWarningSeen = "oai/seenExpandedWarning", e.AuthAPIOnboardingSession = "oai/authapi/onboarding_session", e.OnboardSavedData = "oai/onboard", e.PlaygroundHasSeenToxicityOverlay = "oai/playground/hasSeenToxicityOverlay", e.PlaygroundDismiss = "^oai\\/playground\\/da\\/.*$", e.PlaygroundHistoryMap = "^oai\\/.*\\/playground\\/history/key.*$", e.PlaygroundHistoryPrefix = "^oai\\/.*\\/playground\\/history.*$", e.PlaygroundHistoryMapOld = "^oai\\/playground\\/history\\/key.*$", e.PlaygroundHistoryPrefixOld = "^oai\\/playground\\/history.*$", e.ActiveOrg = "oai/activeOrg", e.ActiveProj = "oai/activeProj", e.CodeLanguagePreference = "oai/codeLangPreference", e.NoticeFineTuning = "oai/fine-tuning", e.NoticeNodeV4 = "oai/node-v4", e.Moderation = "oai/moderation-2022-11-22", e.NoticeAssistantsStreaming = "oai/notice-assistants-streaming", e.NoticeAssistantsV2 = "oai/notice-assistants-v2", e.NoticeBatchAPI = "oai/notice-batch-api", e.PlaygroundMode = "oai/playground/mode", e.PlaygroundAssistantId = "oai/playground/assistantId", e.NoticeEmbeddingsV3Blog = "oai/embeddings-v3-blog", e.AssistantModelSelection = "oai/assistant/modelSelection", e.StreamingOptedIn = "oai/streaming-opted-in", e.NoticeProjects = "oai/notice-projects", e.ChatPlaygroundTimeTravel = "^oai\\/.*\\/time-travel\\/chat-history/data$", e.ChatPlaygroundTimeTravelMigrationVersion = "^oai\\/.*\\/time-travel\\/chat-history/migrated$", e.TargetApp = "oai/targetApp", e.FeatureFlagConfig = "^oai\\/.*\\/flag-config$", e.PreferSidebarCollapsed = "oai/preferSidebarCollapsed"
})(tr || (tr = {}));
const S7e = Object.values(tr),
	x7e = {
		essential: !0,
		analytics: !1,
		marketing: !1
	};
var bp;
class E7e {
	constructor() {
		_a(this, bp);
		oi(this, bp, {
			"oai/playground/hasSeenWelcome": {
				type: "essential",
				name: "oai/playground/hasSeenWelcome"
			},
			"oai/playground/contentFilterPrefs": {
				type: "essential",
				name: "oai/playground/contentFilterPrefs"
			},
			"oai/playground/contentFilterSeen": {
				type: "essential",
				name: "oai/playground/contentFilterSeen"
			},
			"oai/seenExpandedWarning": {
				type: "essential",
				name: "oai/seenExpandedWarning"
			},
			"oai/authapi/onboarding_session": {
				type: "essential",
				name: "oai/authapi/onboarding_session"
			},
			"oai/onboard": {
				type: "essential",
				name: "oai/onboard"
			},
			"oai/playground/hasSeenToxicityOverlay": {
				type: "essential",
				name: "oai/playground/hasSeenToxicityOverlay"
			},
			"^oai\\/playground\\/da\\/.*$": {
				type: "essential",
				name: "^oai\\/playground\\/da\\/.*$",
				regex: new RegExp("^oai\\/playground\\/da\\/.*$")
			},
			"^oai\\/.*\\/playground\\/history/key.*$": {
				type: "essential",
				name: "^oai\\/.*\\/playground\\/history/key.*$",
				regex: new RegExp("^oai\\/.*\\/playground\\/history/key.*$")
			},
			"^oai\\/.*\\/playground\\/history.*$": {
				type: "essential",
				name: "^oai\\/.*\\/playground\\/history.*$",
				regex: new RegExp("^oai\\/.*\\/playground\\/history.*$")
			},
			"^oai\\/playground\\/history\\/key.*$": {
				type: "essential",
				name: "^oai\\/playground\\/history\\/key.*$",
				regex: new RegExp("^oai\\/playground\\/history\\/key.*$")
			},
			"^oai\\/playground\\/history.*$": {
				type: "essential",
				name: "^oai\\/playground\\/history.*$",
				regex: new RegExp("^oai\\/playground\\/history.*$")
			},
			"oai/activeOrg": {
				type: "essential",
				name: "oai/activeOrg"
			},
			"oai/activeProj": {
				type: "essential",
				name: "oai/activeProj"
			},
			"oai/codeLangPreference": {
				type: "essential",
				name: "oai/codeLangPreference"
			},
			"oai/fine-tuning": {
				type: "essential",
				name: "oai/fine-tuning"
			},
			"oai/node-v4": {
				type: "essential",
				name: "oai/node-v4"
			},
			"oai/moderation-2022-11-22": {
				type: "essential",
				name: "oai/moderation-2022-11-22"
			},
			"oai/notice-assistants-streaming": {
				type: "essential",
				name: "oai/notice-assistants-streaming"
			},
			"oai/notice-assistants-v2": {
				type: "essential",
				name: "oai/notice-assistants-v2"
			},
			"oai/playground/mode": {
				type: "essential",
				name: "oai/playground/mode"
			},
			"oai/playground/assistantId": {
				type: "essential",
				name: "oai/playground/assistantId"
			},
			"oai/embeddings-v3-blog": {
				type: "essential",
				name: "oai/embeddings-v3-blog"
			},
			"oai/assistant/modelSelection": {
				type: "essential",
				name: "oai/assistant/modelSelection"
			},
			"oai/streaming-opted-in": {
				type: "essential",
				name: "oai/streaming-opted-in"
			},
			"oai/notice-projects": {
				type: "essential",
				name: "oai/notice-projects"
			},
			"oai/notice-batch-api": {
				type: "essential",
				name: "oai/notice-batch-api"
			},
			"^oai\\/.*\\/time-travel\\/chat-history/data$": {
				type: "essential",
				name: "^oai\\/.*\\/time-travel\\/chat-history/data$",
				regex: new RegExp("^oai\\/.*\\/time-travel\\/chat-history/data$")
			},
			"^oai\\/.*\\/time-travel\\/chat-history/migrated$": {
				type: "essential",
				name: "^oai\\/.*\\/time-travel\\/chat-history/migrated$",
				regex: new RegExp("^oai\\/.*\\/time-travel\\/chat-history/migrated$")
			},
			"oai/targetApp": {
				type: "essential",
				name: "oai/targetApp"
			},
			"^oai\\/.*\\/flag-config$": {
				type: "essential",
				name: "^oai\\/.*\\/flag-config$",
				regex: new RegExp("^oai\\/.*\\/flag-config$")
			},
			"oai/preferSidebarCollapsed": {
				type: "essential",
				name: "oai/preferSidebarCollapsed",
				regex: new RegExp("oai/preferSidebarCollapsed")
			}
		}), this.allowedLocalStorage = x7e
	}
	updateLocalStorageAccess(t, n) {
		this.allowedLocalStorage[t] = n, n || this.clearLocalStorageOfType(t)
	}
	clearLocalStorageOfType(t) {
		if (si) {
			const n = [];
			Object.values(pt(this, bp)).forEach(r => {
				r.type === t && (r.regex ? n.push(r) : Fn.removeItem(r.name))
			}), n.forEach(r => {
				const {
					regex: i,
					name: o
				} = r;
				if (i)
					for (let a = 0; a < si.length; a += 1) {
						const s = si.key(a);
						s && i.test(s) && Fn.removeItem(o, s)
					}
			})
		}
	}
	getLocalStorageConfig(t) {
		for (const n of S7e) {
			const r = pt(this, bp)[n];
			if (r.regex && r.regex.test(t) || r.name === t) return r
		}
	}
	willDataFitInLocalStorage(t) {
		try {
			return this.willItemFitInLocalStorage(JSON.stringify(t))
		} catch (n) {
			return !0
		}
	}
	willItemFitInLocalStorage(t) {
		let n;
		try {
			n = window.localStorage;
			const r = "__storage_test__";
			return n.setItem(r, t), n.removeItem(r), !0
		} catch (r) {
			return !(r instanceof DOMException && (r.code === 22 || r.code === 1014 || r.name === "QuotaExceededError" || r.name === "NS_ERROR_DOM_QUOTA_REACHED") && n && n.length !== 0)
		}
	}
	setItem(t, n, r) {
		if (!si) throw new Error("You cannot set localStorage server-side");
		let i, o, a;
		if (typeof n == "string" && r !== void 0) {
			a = this.getLocalStorageConfig(t);
			const s = this.getLocalStorageConfig(n);
			if ((s == null ? void 0 : s.name) !== (a == null ? void 0 : a.name)) throw Error("Local storage key and name do not match: ".concat(t, " ").concat(n));
			i = n;
			try {
				o = JSON.stringify(r)
			} catch (u) {
				Tn.dashboardEvent({
					name: qo.localStorageError,
					data: {
						result: "error",
						error: "Local storage: tried to stringify invalid value at key ".concat(r)
					}
				});
				return
			}
		} else {
			if (a = this.getLocalStorageConfig(t), !a) throw Error("Local storage key ".concat(t, " not found in registry"));
			i = a.name;
			try {
				o = JSON.stringify(n)
			} catch (s) {
				return
			}
		}
		if (a)
			if (this.allowedLocalStorage[a.type])
				if (this.willItemFitInLocalStorage(o)) si.setItem(i, o);
				else {
					this.clearPlaygroundHistory();
					try {
						si.setItem(i, o)
					} catch (s) {
						Tn.dashboardEvent({
							name: qo.localStorageError,
							data: {
								result: "error",
								error: "Local storage: failed to set value for key ".concat(i)
							}
						})
					}
				}
		else this.removeItem(t, i)
	}
	getItem(t, n) {
		const r = this.getLocalStorageConfig(t);
		if (n) {
			const o = this.getLocalStorageConfig(n);
			if ((o == null ? void 0 : o.name) !== (r == null ? void 0 : r.name)) throw Error("Local storage key and name do not match")
		}
		const i = n || t;
		if (si && r)
			if (this.allowedLocalStorage[r.type]) {
				const o = si.getItem(i);
				return typeof o == "string" ? JSON.parse(o) : o
			} else this.removeItem(t, n);
		return null
	}
	removeItem(t, n) {
		const r = this.getLocalStorageConfig(t);
		if (n) {
			const o = this.getLocalStorageConfig(n);
			if ((o == null ? void 0 : o.name) !== (r == null ? void 0 : r.name)) throw Error("Local storage key and name do not match")
		}
		const i = n || t;
		if (si) return si.removeItem(i)
	}
	_removeItem(t) {
		if (si) return si.removeItem(t)
	}
	clearPlaygroundHistory() {
		Tn.dashboardEvent({
			name: qo.localStorageFull
		}), Object.keys(si || {}).filter(n => new RegExp("^oai\\/.*\\/time-travel\\/chat-history/data$").test(n)).forEach(n => {
			this._removeItem(n)
		}), Object.keys(si || {}).filter(n => n.indexOf("playground/history/key") > -1).forEach(n => {
			const r = n.substring(3, n.indexOf("playground/history/key"));
			JSON.parse(this.getItem("^oai\\/.*\\/playground\\/history/key.*$", n) || "[]").forEach(o => {
				this._removeItem("oai".concat(r, "playground/history/").concat(o))
			}), this._removeItem(n)
		})
	}
}
bp = new WeakMap;
const Fn = new E7e;

function C7e(e, t) {
	const n = h.useMemo(() => Fn.getItem(e, t), [e, t]),
		r = h.useMemo(() => i => Fn.setItem(e, i), [e, t]);
	return [n, r]
}
const bW = J.createContext({}),
	ft = () => h.useContext(bW),
	AC = "/auth/callback",
	SW = "/auth/email_verification",
	O7e = "/auth/email_check",
	T7e = "email_verify_reauth",
	R7e = "email_verify_failed",
	$ot = "invalid_state",
	bN = "consent_required",
	Fot = "auth_user_account_expired",
	jot = "mfa_bypass",
	SN = "https://accounts.openai.com",
	xN = "auth0.openai.com",
	I7e = "DRivsnm2Mu42T3KOpqdtwB3NYviHYzwD",
	k7e = "https://api.openai.com/v1",
	A7e = "https://oauth.openai.com",
	M7e = "22fc4255-e1d3-49c9-97d7-a4460b55971f",
	Uot = {
		auth0: "username & password",
		"google-oauth2": "Google",
		windowslive: "Microsoft",
		apple: "Apple",
		samlp: "your company's single sign on solution",
		oidc: "your company's single sign on solution"
	};
var EN;
(function(e) {
	e.Control = "Control", e.Treatment = "Treatment"
})(EN || (EN = {}));
var CN;
(function(e) {
	e.AuthApi = "forwardToAuthApi", e.Google = "directToGoogle", e.Apple = "directToApple", e.Msft = "directToMsft"
})(CN || (CN = {}));
const P7e = ({
	children: e
}) => {
	const [t, n] = h.useState(null), [r, i] = h.useState(null), [o, a] = h.useState(null), [s, u] = h.useState(null), [l, c] = h.useState(), [d, p] = h.useState(null), [g, m] = h.useState(!0), [_, , S] = OK([Is.AnalyticsCookiesAccepted, Is.DeviceIdCookie]), [y, w] = h.useState(!1), b = wge();
	h.useEffect(() => {
		(async () => b && (Tn.setLoggerExtraContext({
			deviceId: b
		}), await Ev.init(b), w(!0)))()
	}, [b]);
	const E = h.useCallback(D => {
			Nn.setApiKey(D.session), Tn.setBackendUser(D), i(D)
		}, []),
		T = h.useCallback(() => {
			n(null), i(null), a(null), u(null), p(null)
		}, []);
	h.useEffect(() => {
		(async () => {
			try {
				if ({
						VITE_OPENAI_API_ENV: "prod",
						VITE_OPENAI_API_BASE: "https://api.openai.com",
						VITE_OPENAI_AGENT_API_BASE: "https://api.openai.com",
						VITE_OPENAI_LABS_SITE_BASE: "https://labs.openai.com",
						VITE_OPENAI_LOGIN_PROVIDER_BASE: "https://accounts.openai.com",
						VITE_OPENAI_HYDRA_BASE: "https://oauth.openai.com",
						VITE_OPENAI_HYDRA_CLIENT_ID: "22fc4255-e1d3-49c9-97d7-a4460b55971f",
						VITE_OPENAI_AUTH0_DOMAIN: "auth0.openai.com",
						VITE_OPENAI_AUTH0_CLIENT_ID: "DRivsnm2Mu42T3KOpqdtwB3NYviHYzwD",
						VITE_OPENAI_AUTH0_AUDIENCE: "https://api.openai.com/v1",
						VITE_CHATGPT_BASE: "https://chat.openai.com",
						VITE_CHATGPT_DOTCOM_BASE: "https://chatgpt.com",
						VITE_CLIENT_EVENTS_SERVICE_URL: "chatgpt.com/ces",
						VITE_LAUNCH_DARKLY_CLIENT_ID: "6376b5c2afa00f1142693211",
						VITE_STATSIG_CLIENT_ID: "client-szGQzTeJi9S7McyQgmiuvyuQQaPxU3Ed9SDREVVOlPI",
						VITE_MIXPANEL_TOKEN: "17a324b9a66d8716fc3273948551013c",
						VITE_OPENAI_BUILD_ID: "",
						VITE_DATADOG_CLIENT_ID: "pub65a8cdad695cd20d151bdacdc5e4153f",
						VITE_OPENAI_VOICE_API_BASE: "",
						BASE_URL: "/",
						MODE: "production",
						DEV: !1,
						PROD: !0,
						SSR: !1,
						LEGACY: !1
					}.VITE_OPENAI_API_DEFAULT_KEY || {
						VITE_OPENAI_API_ENV: "prod",
						VITE_OPENAI_API_BASE: "https://api.openai.com",
						VITE_OPENAI_AGENT_API_BASE: "https://api.openai.com",
						VITE_OPENAI_LABS_SITE_BASE: "https://labs.openai.com",
						VITE_OPENAI_LOGIN_PROVIDER_BASE: "https://accounts.openai.com",
						VITE_OPENAI_HYDRA_BASE: "https://oauth.openai.com",
						VITE_OPENAI_HYDRA_CLIENT_ID: "22fc4255-e1d3-49c9-97d7-a4460b55971f",
						VITE_OPENAI_AUTH0_DOMAIN: "auth0.openai.com",
						VITE_OPENAI_AUTH0_CLIENT_ID: "DRivsnm2Mu42T3KOpqdtwB3NYviHYzwD",
						VITE_OPENAI_AUTH0_AUDIENCE: "https://api.openai.com/v1",
						VITE_CHATGPT_BASE: "https://chat.openai.com",
						VITE_CHATGPT_DOTCOM_BASE: "https://chatgpt.com",
						VITE_CLIENT_EVENTS_SERVICE_URL: "chatgpt.com/ces",
						VITE_LAUNCH_DARKLY_CLIENT_ID: "6376b5c2afa00f1142693211",
						VITE_STATSIG_CLIENT_ID: "client-szGQzTeJi9S7McyQgmiuvyuQQaPxU3Ed9SDREVVOlPI",
						VITE_MIXPANEL_TOKEN: "17a324b9a66d8716fc3273948551013c",
						VITE_OPENAI_BUILD_ID: "",
						VITE_DATADOG_CLIENT_ID: "pub65a8cdad695cd20d151bdacdc5e4153f",
						VITE_OPENAI_VOICE_API_BASE: "",
						BASE_URL: "/",
						MODE: "production",
						DEV: !1,
						PROD: !0,
						SSR: !1,
						LEGACY: !1
					}.VITE_OPENAI_DISABLE_AUTH0) {
					n({
						name: "Research User",
						full_name: "Research User",
						"https://platform.openai.com/display_tou": !1,
						email: "none",
						userID: "none"
					}), Nn.apiKey = {
						VITE_OPENAI_API_ENV: "prod",
						VITE_OPENAI_API_BASE: "https://api.openai.com",
						VITE_OPENAI_AGENT_API_BASE: "https://api.openai.com",
						VITE_OPENAI_LABS_SITE_BASE: "https://labs.openai.com",
						VITE_OPENAI_LOGIN_PROVIDER_BASE: "https://accounts.openai.com",
						VITE_OPENAI_HYDRA_BASE: "https://oauth.openai.com",
						VITE_OPENAI_HYDRA_CLIENT_ID: "22fc4255-e1d3-49c9-97d7-a4460b55971f",
						VITE_OPENAI_AUTH0_DOMAIN: "auth0.openai.com",
						VITE_OPENAI_AUTH0_CLIENT_ID: "DRivsnm2Mu42T3KOpqdtwB3NYviHYzwD",
						VITE_OPENAI_AUTH0_AUDIENCE: "https://api.openai.com/v1",
						VITE_CHATGPT_BASE: "https://chat.openai.com",
						VITE_CHATGPT_DOTCOM_BASE: "https://chatgpt.com",
						VITE_CLIENT_EVENTS_SERVICE_URL: "chatgpt.com/ces",
						VITE_LAUNCH_DARKLY_CLIENT_ID: "6376b5c2afa00f1142693211",
						VITE_STATSIG_CLIENT_ID: "client-szGQzTeJi9S7McyQgmiuvyuQQaPxU3Ed9SDREVVOlPI",
						VITE_MIXPANEL_TOKEN: "17a324b9a66d8716fc3273948551013c",
						VITE_OPENAI_BUILD_ID: "",
						VITE_DATADOG_CLIENT_ID: "pub65a8cdad695cd20d151bdacdc5e4153f",
						VITE_OPENAI_VOICE_API_BASE: "",
						BASE_URL: "/",
						MODE: "production",
						DEV: !1,
						PROD: !0,
						SSR: !1,
						LEGACY: !1
					}.VITE_OPENAI_API_DEFAULT_KEY, i({
						object: "user",
						id: "research-user",
						name: "Research User",
						email: "",
						phone_number: null,
						picture: "",
						orgs: {
							object: "list",
							data: []
						},
						created: 0,
						groups: [],
						intercom_hash: "",
						session: {
							object: "api_key",
							sensitive_id: "",
							name: null,
							created: 0,
							last_use: null,
							publishable: !1
						},
						cookie_consent: {
							is_required: null,
							analytics_cookies_accepted: null
						},
						mfa_flag_enabled: !1
					}), m(!1);
					return
				}
				if (y) {
					const D = window.location.pathname === "/signup_ext",
						P = Fn.getItem(tr.TargetApp) === Lu.CHAT;
					let H = Ev.getAuthApiConfig().forwardToAuthApi;
					(D || P) && (H = !1);
					const G = new S2e({
						domain: H ? SN : xN,
						issuer: H ? A7e : xN,
						client_id: H ? M7e : I7e,
						audience: k7e,
						redirect_uri: window.location.origin + AC,
						useRefreshTokens: !0,
						cacheLocation: "localstorage",
						useCookiesForTransactions: Jse,
						device_id: _[Is.DeviceIdCookie]
					});
					Nn.auth0Client = G, c(G);
					const K = window.location.pathname === AC;
					let ee = {};
					K && (ee = (await G.handleRedirectCallback()).appState || {});
					const {
						targetPath: te,
						app: q,
						callbackHost: F
					} = ee;
					let j;
					try {
						(await G.isAuthenticated() || D) && (j = await G.getTokenSilently())
					} catch (Z) {
						if (Z.error === bN) throw new Ta(Z.error_description, void 0, bN);
						if (Z.error !== "login_required") throw Z
					}
					const B = await G.getUser();
					if (n(B || null), B && await Tn.setAuth0User(B), j) {
						const Z = await Nn.login(j);
						if (Z.user) E(Z.user), u({
							ageVerification: Z.age_verification,
							ipCountry: Z.ip_country
						}), K && D7e(te, q, F);
						else if (a({
								flags: {
									phoneException: !!Z.phone_exception,
									arkoseEnabled: Z.arkose_enabled !== void 0 ? Z.arkose_enabled : !0,
									arkoseDataPayload: Z.arkose_data_payload !== void 0 ? Z.arkose_data_payload : null
								},
								initialStep: Z.next,
								invites: Z.invites || [],
								ipCountry: Z.ip_country,
								maxBirthDateUtc: Z.max_birth_date_utc
							}), K) {
							const z = Ue.stringify(TOe({
								next: te,
								app: q,
								callbackHost: F
							}));
							jn.replace(z ? "/onboarding?".concat(z) : "/onboarding")
						}
					}
					m(!1)
				}
			} catch (D) {
				if (D instanceof Ta || D instanceof Cr) p({
					message: D.message,
					code: D.code || null
				});
				else if (console.error(D), D.message === "Invalid state") p(new Ta("Invalid state", void 0, "invalid_state"));
				else {
					const P = D.error_description,
						U = P.match(/\(error=([\w|]+)\)/),
						H = U ? U[1] : null;
					p({
						message: P || "We ran into an issue while authenticating you. If this issue persists, ".concat(bE),
						code: H != null ? H : "unknown_error"
					}), P || uG(D)
				}
				m(!1)
			}
		})()
	}, [y]);
	const O = h.useMemo(() => t && r ? {
			...r,
			auth0: t,
			isInternal: r.email.endsWith("@openai.com")
		} : null, [r, t]),
		R = h.useCallback(D => {
			i({
				...r,
				...D
			})
		}, [r]),
		k = h.useCallback(async () => {
			if (l) {
				const D = await l.getTokenSilently(),
					P = await Nn.login(D);
				P.user && (E(P.user), u({
					ageVerification: P.age_verification,
					ipCountry: P.ip_country
				}))
			}
		}, [l, E, u]),
		M = h.useCallback(async () => {
			if (r) try {
				await Nn.logout(), S(Is.AnalyticsCookiesAccepted, {
					path: "/",
					domain: ".openai.com"
				})
			} catch (U) {
				console.error(U)
			}
			const D = l == null ? void 0 : l.buildLogoutUrl({
					returnTo: window.location.origin + "/loggedout"
				}),
				P = new URL(D || "");
			P.origin === SN ? (l == null || l.logout({
				localOnly: !0
			}), P.pathname = "/logout", window.location.assign(P.toString())) : l == null || l.logout({
				returnTo: window.location.origin + "/loggedout"
			})
		}, [l, r, S]);
	return C.jsx(bW.Provider, {
		value: {
			userAuth0: t,
			user: O,
			updateUser: R,
			fetchUser: k,
			setAuthenticatedBackendUser: E,
			loading: g,
			error: d,
			setError: p,
			onboardingMetadata: o,
			resetState: T,
			logout: M,
			loginWithRedirect: (D, P) => L7e(l, D, P),
			userMetadata: s
		},
		children: e
	})
};
async function L7e(e, t = {}, n) {
	if (!e) return;
	const {
		redirectMethod: r,
		...i
	} = t;
	let o = await e.buildAuthorizeUrl(i);
	const a = (t == null ? void 0 : t.appState) || {};
	if (Fn.setItem(tr.TargetApp, a.app || Lu.API), !n) {
		const s = new URL(o);
		s.hostname === "auth0-dev.openai.com" ? s.hostname = "auth.api.openai.org" : s.hostname === "auth0.openai.com" && (s.hostname = "auth.openai.com");
		const u = Ev.getAuthApiConfig(),
			l = u.forwardToAuthApi;
		s.searchParams.set("flow", l ? "treatment" : "control"), l && (s.searchParams.set("idp", "openai"), s.searchParams.set("google", u.directToGoogle), s.searchParams.set("apple", u.directToApple), s.searchParams.set("msft", u.directToMsft)), o = s.toString()
	}
	window.location[r || "assign"](o)
}

function N7e(e) {
	return "https://" + e === Ck ? Ck : eue
}

function D7e(e, t = Lu.API, n) {
	t === Lu.LABS ? window.location.href = Qse + "/auth/ext_callback?" + Ue.stringify({
		next: e || ""
	}) : t === Lu.CHAT ? window.location.href = N7e(n) + "/auth/ext_callback?" + Ue.stringify({
		next: e || ""
	}) : [Lu.IOSCHAT, Lu.ANDROIDCHAT].includes(t) ? window.location.href = tue + "://auth/ext_callback" : e != null && e.includes("with_org=") ? window.location.href = window.location.origin + e : jn.replace(e || "/")
}

function $7e() {
	return C.jsxs(j8, {
		children: [C.jsx(Xn, {
			exact: !0,
			path: AC,
			children: C.jsx(F7e, {})
		}), C.jsx(Xn, {
			exact: !0,
			path: SW,
			children: C.jsx(j7e, {})
		}), C.jsx(Xn, {
			exact: !0,
			path: O7e,
			children: C.jsx(H7e, {})
		})]
	})
}

function F7e() {
	return C.jsx("div", {})
}

function j7e() {
	const {
		loading: e,
		userAuth0: t,
		setError: n
	} = ft();
	return h.useEffect(() => {
		if (e) return;
		const r = Ue.parse(window.location.search);
		if (r.success === "false" && r.message && !(r.message.indexOf("only once") >= 0)) {
			if (r.code !== "already-verified") {
				n({
					message: "An error occurred.",
					code: R7e
				});
				return
			}
		}
		if (t) {
			jn.replace({
				pathname: "/onboarding"
			});
			return
		}
		const i = Fn.getItem(tr.AuthAPIOnboardingSession);
		if (i) {
			const {
				key: o,
				ts: a
			} = i;
			if (a > Date.now() - 1e3 * 60 * 60) {
				jn.replace("/onboarding?session=" + o);
				return
			}
		}
		n({
			message: "",
			code: T7e
		})
	}, [e]), null
}

function U7e(e) {
	return typeof e.uid == "string" && typeof e.timestamp == "string" && typeof e.token == "string"
}

function H7e() {
	return h.useEffect(() => {
		(async () => {
			const e = Ue.parse(window.location.search),
				t = e.uid,
				n = e.timestamp,
				r = e.token,
				i = e.app,
				o = {
					uid: t,
					timestamp: n,
					token: r
				};
			let a = "";
			if (U7e(o)) {
				const s = await Nn.checkEmail(o.uid, o.timestamp, o.token);
				if (s.result === "success") {
					let u = SW;
					i === Lu.IOSCHAT && (u = "".concat(u, "?app=").concat(i)), window.location.href = u;
					return
				}
				a = s.error || "An error occurred verifying your email, please try again."
			} else a = "An error occurred verifying your email, please try again.";
			a !== "" && (Ui.danger(a, {
				duration: 10
			}), Tn.publicAuthEvent(HE.onboardingVerifyEmailCheckError, {
				error: a
			}))
		})()
	}, []), null
}
var Lr;
(function(e) {
	e.freeform = "freeform", e.chat = "chat", e.assistant = "assistant"
})(Lr || (Lr = {}));
var ON;
(function(e) {
	e.system = "system", e.user = "user", e.assistant = "assistant", e.tool = "tool"
})(ON || (ON = {}));
var En = {
		log: "log",
		debug: "debug",
		info: "info",
		warn: "warn",
		error: "error"
	},
	Pa = console,
	_c = {};
Object.keys(En).forEach(function(e) {
	_c[e] = Pa[e]
});
var P0 = "Datadog Browser SDK:",
	Kn = {
		debug: _c.debug.bind(Pa, P0),
		log: _c.log.bind(Pa, P0),
		info: _c.info.bind(Pa, P0),
		warn: _c.warn.bind(Pa, P0),
		error: _c.error.bind(Pa, P0)
	},
	G8 = "https://docs.datadoghq.com",
	xW = "".concat(G8, "/real_user_monitoring/browser/troubleshooting"),
	Wb = "More details:";

function EW(e, t) {
	return function() {
		for (var n = [], r = 0; r < arguments.length; r++) n[r] = arguments[r];
		try {
			return e.apply(void 0, n)
		} catch (i) {
			Kn.error(t, i)
		}
	}
}

function i2(e) {
	return e !== 0 && Math.random() * 100 <= e
}

function V7e(e) {
	return B7e(e) && e >= 0 && e <= 100
}

function B7e(e) {
	return typeof e == "number"
}
var Q1 = 1e3,
	If = 60 * Q1,
	z7e = 60 * If;

function Jv() {
	return new Date().getTime()
}

function Nl() {
	return Jv()
}

function Lw() {
	return performance.now()
}

function Nh() {
	return {
		relative: Lw(),
		timeStamp: Nl()
	}
}

function G7e() {
	return {
		relative: 0,
		timeStamp: CW()
	}
}

function W7e(e, t) {
	return t - e
}

function K7e(e, t) {
	return e + t
}

function Z7e(e) {
	return e - CW()
}
var dx;

function CW() {
	return dx === void 0 && (dx = performance.timing.navigationStart), dx
}
var Vs = 1024,
	OW = 1024 * Vs,
	q7e = /[^\u0000-\u007F]/;

function W8(e) {
	return q7e.test(e) ? window.TextEncoder !== void 0 ? new TextEncoder().encode(e).length : new Blob([e]).size : e.length
}

function Dh(e, t) {
	return e.indexOf(t) !== -1
}

function K8(e) {
	if (Array.from) return Array.from(e);
	var t = [];
	if (e instanceof Set) e.forEach(function(r) {
		return t.push(r)
	});
	else
		for (var n = 0; n < e.length; n++) t.push(e[n]);
	return t
}

function Y7e(e, t) {
	for (var n = 0; n < e.length; n += 1) {
		var r = e[n];
		if (t(r, n)) return r
	}
}

function Bp(e) {
	return Object.keys(e).map(function(t) {
		return e[t]
	})
}

function X7e(e) {
	return Object.keys(e).map(function(t) {
		return [t, e[t]]
	})
}

function Z8(e, t) {
	return e.slice(0, t.length) === t
}

function J7e(e, t) {
	return e.slice(-t.length) === t
}

function Dr(e) {
	for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
	return t.forEach(function(r) {
		for (var i in r) Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i])
	}), e
}

function Q7e(e) {
	return Dr({}, e)
}

function TW(e, t) {
	return Object.keys(e).some(function(n) {
		return e[n] === t
	})
}

function q8(e) {
	return Object.keys(e).length === 0
}

function Dl() {
	if (typeof globalThis == "object") return globalThis;
	Object.defineProperty(Object.prototype, "_dd_temp_", {
		get: function() {
			return this
		},
		configurable: !0
	});
	var e = _dd_temp_;
	return delete Object.prototype._dd_temp_, typeof e != "object" && (typeof self == "object" ? e = self : typeof window == "object" ? e = window : e = {}), e
}

function zp(e, t) {
	var n = Dl(),
		r;
	return n.Zone && typeof n.Zone.__symbol__ == "function" && (r = e[n.Zone.__symbol__(t)]), r || (r = e[t]), r
}
var e8e = function(e, t, n) {
		if (n || arguments.length === 2)
			for (var r = 0, i = t.length, o; r < i; r++)(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
		return e.concat(o || Array.prototype.slice.call(t))
	},
	Nw, RW = !1;

function t8e(e) {
	Nw = e
}

function n8e(e) {
	RW = e
}

function r8e(e, t, n) {
	var r = n.value;
	n.value = function() {
		for (var i = [], o = 0; o < arguments.length; o++) i[o] = arguments[o];
		var a = Nw ? Nt(r) : r;
		return a.apply(this, i)
	}
}

function Nt(e) {
	return function() {
		return Qv(e, this, arguments)
	}
}

function Qv(e, t, n) {
	try {
		return e.apply(t, n)
	} catch (r) {
		if (MC(r), Nw) try {
			Nw(r)
		} catch (i) {
			MC(i)
		}
	}
}

function MC() {
	for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
	RW && Kn.error.apply(Kn, e8e(["[MONITOR]"], e, !1))
}

function eg(e, t) {
	return zp(Dl(), "setTimeout")(Nt(e), t)
}

function IW(e) {
	zp(Dl(), "clearTimeout")(e)
}

function Y8(e, t) {
	return zp(Dl(), "setInterval")(Nt(e), t)
}

function kW(e) {
	zp(Dl(), "clearInterval")(e)
}
var rr = function() {
	function e(t) {
		this.onFirstSubscribe = t, this.observers = []
	}
	return e.prototype.subscribe = function(t) {
		var n = this;
		return this.observers.push(t), this.observers.length === 1 && this.onFirstSubscribe && (this.onLastUnsubscribe = this.onFirstSubscribe(this) || void 0), {
			unsubscribe: function() {
				n.observers = n.observers.filter(function(r) {
					return t !== r
				}), !n.observers.length && n.onLastUnsubscribe && n.onLastUnsubscribe()
			}
		}
	}, e.prototype.notify = function(t) {
		this.observers.forEach(function(n) {
			return n(t)
		})
	}, e
}();

function AW() {
	for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
	return new rr(function(n) {
		var r = e.map(function(i) {
			return i.subscribe(function(o) {
				return n.notify(o)
			})
		});
		return function() {
			return r.forEach(function(i) {
				return i.unsubscribe()
			})
		}
	})
}

function MW(e, t, n) {
	var r = !1,
		i, o;
	return {
		throttled: function() {
			for (var a = [], s = 0; s < arguments.length; s++) a[s] = arguments[s];
			if (r) {
				i = a;
				return
			}
			e.apply(void 0, a), r = !0, o = eg(function() {
				i && e.apply(void 0, i), r = !1, i = void 0
			}, t)
		},
		cancel: function() {
			IW(o), r = !1, i = void 0
		}
	}
}

function wl() {}

function kf(e) {
	return e ? (parseInt(e, 10) ^ Math.random() * 16 >> parseInt(e, 10) / 4).toString(16) : "".concat(1e7, "-").concat(1e3, "-").concat(4e3, "-").concat(8e3, "-").concat(1e11).replace(/[018]/g, kf)
}
var Dw = /([\w-]+)\s*=\s*([^;]+)/g;

function i8e(e, t) {
	for (Dw.lastIndex = 0;;) {
		var n = Dw.exec(e);
		if (n) {
			if (n[1] === t) return n[2]
		} else break
	}
}

function o8e(e) {
	var t = new Map;
	for (Dw.lastIndex = 0;;) {
		var n = Dw.exec(e);
		if (n) t.set(n[1], n[2]);
		else break
	}
	return t
}

function a8e(e, t, n) {
	var r = e.charCodeAt(t - 1),
		i = r >= 55296 && r <= 56319,
		o = i ? t + 1 : t;
	return e.length <= o ? e : "".concat(e.slice(0, o)).concat(n)
}

function s8e() {
	return u8e() === 1
}
var Qm;

function u8e() {
	return Qm != null ? Qm : Qm = l8e()
}

function l8e(e) {
	var t;
	e === void 0 && (e = window);
	var n = e.navigator.userAgent;
	return e.chrome || /HeadlessChrome/.test(n) ? 1 : ((t = e.navigator.vendor) === null || t === void 0 ? void 0 : t.indexOf("Apple")) === 0 || /safari/i.test(n) && !/chrome|android/i.test(n) ? 2 : e.document.documentMode ? 0 : 3
}

function tg(e, t, n, r) {
	var i = new Date;
	i.setTime(i.getTime() + n);
	var o = "expires=".concat(i.toUTCString()),
		a = r && r.crossSite ? "none" : "strict",
		s = r && r.domain ? ";domain=".concat(r.domain) : "",
		u = r && r.secure ? ";secure" : "",
		l = r && r.partitioned ? ";partitioned" : "";
	document.cookie = "".concat(e, "=").concat(t, ";").concat(o, ";path=/;samesite=").concat(a).concat(s).concat(u).concat(l)
}

function X8(e) {
	return i8e(document.cookie, e)
}
var px;

function Mc(e) {
	return px || (px = o8e(document.cookie)), px.get(e)
}

function PW(e, t) {
	tg(e, "", 0, t)
}

function c8e(e) {
	if (document.cookie === void 0 || document.cookie === null) return !1;
	try {
		var t = "dd_cookie_test_".concat(kf()),
			n = "test";
		tg(t, n, If, e);
		var r = X8(t) === n;
		return PW(t, e), r
	} catch (i) {
		return Kn.error(i), !1
	}
}
var hx;

function f8e() {
	if (hx === void 0) {
		for (var e = "dd_site_test_".concat(kf()), t = "test", n = window.location.hostname.split("."), r = n.pop(); n.length && !X8(e);) r = "".concat(n.pop(), ".").concat(r), tg(e, t, Q1, {
			domain: r
		});
		PW(e, {
			domain: r
		}), hx = r
	}
	return hx
}
var $h = "_dd_s",
	J8 = 4 * z7e,
	LW = 15 * If,
	NW = /^([a-zA-Z]+)=([a-z0-9-]+)$/,
	Q8 = "&",
	d8e = "1";

function bc() {
	return {
		isExpired: d8e
	}
}

function o2(e) {
	return q8(e)
}

function DW(e) {
	return !o2(e)
}

function $w(e) {
	return e.isExpired !== void 0 || !p8e(e)
}

function p8e(e) {
	return (e.created === void 0 || Jv() - Number(e.created) < J8) && (e.expire === void 0 || Jv() < Number(e.expire))
}

function $W(e) {
	e.expire = String(Jv() + LW)
}

function eT(e) {
	return X7e(e).map(function(t) {
		var n = t[0],
			r = t[1];
		return "".concat(n, "=").concat(r)
	}).join(Q8)
}

function FW(e) {
	var t = {};
	return h8e(e) && e.split(Q8).forEach(function(n) {
		var r = NW.exec(n);
		if (r !== null) {
			var i = r[1],
				o = r[2];
			t[i] = o
		}
	}), t
}

function h8e(e) {
	return !!e && (e.indexOf(Q8) !== -1 || NW.test(e))
}
var v8e = "_dd",
	g8e = "_dd_r",
	m8e = "_dd_l",
	y8e = "rum",
	w8e = "logs";

function _8e(e) {
	var t = Mc($h);
	if (!t) {
		var n = Mc(v8e),
			r = Mc(g8e),
			i = Mc(m8e),
			o = {};
		n && (o.id = n), i && /^[01]$/.test(i) && (o[w8e] = i), r && /^[012]$/.test(r) && (o[y8e] = r), DW(o) && ($W(o), e.persistSession(o))
	}
}

function b8e(e) {
	var t = O8e(e);
	return c8e(t) ? {
		type: "Cookie",
		cookieOptions: t
	} : void 0
}

function S8e(e) {
	var t = {
		isLockEnabled: s8e(),
		persistSession: x8e(e),
		retrieveSession: C8e,
		expireSession: function() {
			return E8e(e)
		}
	};
	return _8e(t), t
}

function x8e(e) {
	return function(t) {
		tg($h, eT(t), LW, e)
	}
}

function E8e(e) {
	tg($h, eT(bc()), J8, e)
}

function C8e() {
	var e = X8($h);
	return FW(e)
}

function O8e(e) {
	var t = {};
	return t.secure = !!e.useSecureSessionCookie || !!e.usePartitionedCrossSiteSessionCookie || !!e.useCrossSiteSessionCookie, t.crossSite = !!e.usePartitionedCrossSiteSessionCookie || !!e.useCrossSiteSessionCookie, t.partitioned = !!e.usePartitionedCrossSiteSessionCookie, e.trackSessionAcrossSubdomains && (t.domain = f8e()), t
}
var T8e = "_dd_test_";

function R8e() {
	try {
		var e = kf(),
			t = "".concat(T8e).concat(e);
		localStorage.setItem(t, e);
		var n = localStorage.getItem(t);
		return localStorage.removeItem(t), e === n ? {
			type: "LocalStorage"
		} : void 0
	} catch (r) {
		return
	}
}

function I8e() {
	return {
		isLockEnabled: !1,
		persistSession: jW,
		retrieveSession: k8e,
		expireSession: A8e
	}
}

function jW(e) {
	localStorage.setItem($h, eT(e))
}

function k8e() {
	var e = localStorage.getItem($h);
	return FW(e)
}

function A8e() {
	jW(bc())
}
var M8e = 10,
	P8e = 100,
	UW = [],
	a2;

function Sc(e, t, n) {
	var r;
	n === void 0 && (n = 0);
	var i = t.isLockEnabled,
		o = t.persistSession,
		a = t.expireSession,
		s = function(p) {
			return o(Dr({}, p, {
				lock: l
			}))
		},
		u = function() {
			var p = t.retrieveSession(),
				g = p.lock;
			return p.lock && delete p.lock, {
				session: p,
				lock: g
			}
		};
	if (a2 || (a2 = e), e !== a2) {
		UW.push(e);
		return
	}
	if (i && n >= P8e) {
		TN(t);
		return
	}
	var l, c = u();
	if (i) {
		if (c.lock) {
			ey(e, t, n);
			return
		}
		if (l = kf(), s(c.session), c = u(), c.lock !== l) {
			ey(e, t, n);
			return
		}
	}
	var d = e.process(c.session);
	if (i && (c = u(), c.lock !== l)) {
		ey(e, t, n);
		return
	}
	if (d && ($w(d) ? a() : ($W(d), i ? s(d) : o(d))), i && !(d && $w(d))) {
		if (c = u(), c.lock !== l) {
			ey(e, t, n);
			return
		}
		o(c.session), d = c.session
	}(r = e.after) === null || r === void 0 || r.call(e, d || c.session), TN(t)
}

function ey(e, t, n) {
	eg(function() {
		Sc(e, t, n + 1)
	}, M8e)
}

function TN(e) {
	a2 = void 0;
	var t = UW.shift();
	t && Sc(t, e)
}
var RN = Q1;

function L8e(e) {
	var t = b8e(e);
	return !t && e.allowFallbackToLocalStorage && (t = R8e()), t
}

function N8e(e, t, n) {
	var r = new rr,
		i = new rr,
		o = new rr,
		a = e.type === "Cookie" ? S8e(e.cookieOptions) : I8e(),
		s = a.expireSession,
		u = Y8(m, RN),
		l;
	S();
	var c = MW(function() {
			Sc({
				process: function(R) {
					if (!o2(R)) {
						var k = _(R);
						return y(k), k
					}
				},
				after: function(R) {
					DW(R) && !w() && T(R), l = R
				}
			}, a)
		}, RN),
		d = c.throttled,
		p = c.cancel;

	function g() {
		Sc({
			process: function(R) {
				return w() ? _(R) : void 0
			}
		}, a)
	}

	function m() {
		Sc({
			process: function(R) {
				return $w(R) ? bc() : void 0
			},
			after: _
		}, a)
	}

	function _(R) {
		return $w(R) && (R = bc()), w() && (b(R) ? E() : (o.notify({
			previousState: l,
			newState: R
		}), l = R)), R
	}

	function S() {
		Sc({
			process: function(R) {
				if (o2(R)) return bc()
			},
			after: function(R) {
				l = R
			}
		}, a)
	}

	function y(R) {
		if (o2(R)) return !1;
		var k = n(R[t]),
			M = k.trackingType,
			D = k.isTracked;
		R[t] = M, delete R.isExpired, D && !R.id && (R.id = kf(), R.created = String(Jv()))
	}

	function w() {
		return l[t] !== void 0
	}

	function b(R) {
		return l.id !== R.id || l[t] !== R[t]
	}

	function E() {
		l = bc(), i.notify()
	}

	function T(R) {
		l = R, r.notify()
	}

	function O(R) {
		Sc({
			process: function(k) {
				return Dr({}, k, R)
			},
			after: _
		}, a)
	}
	return {
		expandOrRenewSession: d,
		expandSession: g,
		getSession: function() {
			return l
		},
		renewObservable: r,
		expireObservable: i,
		sessionStateUpdateObservable: o,
		restartSession: S,
		expire: function() {
			p(), s(), _(bc())
		},
		stop: function() {
			kW(u)
		},
		updateSessionState: O
	}
}
var PC = {
	GRANTED: "granted",
	NOT_GRANTED: "not-granted"
};

function D8e(e) {
	var t = new rr;
	return {
		tryToInit: function(n) {
			e || (e = n)
		},
		update: function(n) {
			e = n, t.notify()
		},
		isGranted: function() {
			return e === PC.GRANTED
		},
		observable: t
	}
}

function Af(e, t, n) {
	if (typeof e != "object" || e === null) return JSON.stringify(e);
	var r = Bd(Object.prototype),
		i = Bd(Array.prototype),
		o = Bd(Object.getPrototypeOf(e)),
		a = Bd(e);
	try {
		return JSON.stringify(e, t, n)
	} catch (s) {
		return "<error: unable to serialize object>"
	} finally {
		r(), i(), o(), a()
	}
}

function Bd(e) {
	var t = e,
		n = t.toJSON;
	return n ? (delete t.toJSON, function() {
		t.toJSON = n
	}) : wl
}

function tT(e) {
	return $8e(e, location.href).href
}

function $8e(e, t) {
	var n = F8e();
	if (n) try {
		return t !== void 0 ? new n(e, t) : new n(e)
	} catch (a) {
		throw new Error("Failed to construct URL: ".concat(String(a), " ").concat(Af({
			url: e,
			base: t
		})))
	}
	if (t === void 0 && !/:/.test(e)) throw new Error("Invalid URL: '".concat(e, "'"));
	var r = document,
		i = r.createElement("a");
	if (t !== void 0) {
		r = document.implementation.createHTMLDocument("");
		var o = r.createElement("base");
		o.href = t, r.head.appendChild(o), r.body.appendChild(i)
	}
	return i.href = e, i
}
var IN = URL,
	ty;

function F8e() {
	if (ty === void 0) try {
		var e = new IN("http://test/path");
		ty = e.href === "http://test/path"
	} catch (t) {
		ty = !1
	}
	return ty ? IN : void 0
}
var j8e = "datad0g.com",
	U8e = "dd0g-gov.com",
	Pc = "datadoghq.com",
	H8e = "ddog-gov.com",
	HW = "pci.browser-intake-datadoghq.com";

function yv(e, t, n) {
	var r = V8e(e, t);
	return {
		build: function(i, o) {
			var a = z8e(e, t, n, i, o);
			return r(a)
		},
		urlPrefix: r(""),
		trackType: t
	}
}

function V8e(e, t) {
	var n = "/api/v2/".concat(t),
		r = e.proxy;
	if (typeof r == "string") {
		var i = tT(r);
		return function(a) {
			return "".concat(i, "?ddforward=").concat(encodeURIComponent("".concat(n, "?").concat(a)))
		}
	}
	if (typeof r == "function") return function(a) {
		return r({
			path: n,
			parameters: a
		})
	};
	var o = B8e(t, e);
	return function(a) {
		return "https://".concat(o).concat(n, "?").concat(a)
	}
}

function B8e(e, t) {
	var n = t.site,
		r = n === void 0 ? Pc : n,
		i = t.internalAnalyticsSubdomain;
	if (e === "logs" && t.usePciIntake && r === Pc) return HW;
	if (i && r === Pc) return "".concat(i, ".").concat(Pc);
	if (r === U8e) return "http-intake.logs.".concat(r);
	var o = r.split("."),
		a = o.pop();
	return "browser-intake-".concat(o.join("-"), ".").concat(a)
}

function z8e(e, t, n, r, i) {
	var o = e.clientToken,
		a = e.internalAnalyticsSubdomain,
		s = i.retry,
		u = i.encoding,
		l = ["sdk_version:".concat("5.23.3"), "api:".concat(r)].concat(n);
	s && l.push("retry_count:".concat(s.count), "retry_after:".concat(s.lastFailureStatus));
	var c = ["ddsource=browser", "ddtags=".concat(encodeURIComponent(l.join(","))), "dd-api-key=".concat(o), "dd-evp-origin-version=".concat(encodeURIComponent("5.23.3")), "dd-evp-origin=browser", "dd-request-id=".concat(kf())];
	return u && c.push("dd-evp-encoding=".concat(u)), t === "rum" && c.push("batch_time=".concat(Nl())), a && c.reverse(), c.join("&")
}
var G8e = 200;

function W8e(e) {
	var t = e.env,
		n = e.service,
		r = e.version,
		i = e.datacenter,
		o = [];
	return t && o.push(ny("env", t)), n && o.push(ny("service", n)), r && o.push(ny("version", r)), i && o.push(ny("datacenter", i)), o
}
var K8e = /[^a-z0-9_:./-]/;

function ny(e, t) {
	var n = G8e - e.length - 1;
	(t.length > n || K8e.test(t)) && Kn.warn("".concat(e, " value doesn't meet tag requirements and will be sanitized. ").concat(Wb, " ").concat(G8, "/getting_started/tagging/#defining-tags"));
	var r = t.replace(/,/g, "_");
	return "".concat(e, ":").concat(r)
}

function Z8e(e) {
	var t = e.site || Pc,
		n = W8e(e),
		r = q8e(e, n),
		i = X8e(r, t),
		o = Y8e(e, i, n);
	return Dr({
		isIntakeUrl: function(a) {
			return i.some(function(s) {
				return a.indexOf(s) === 0
			})
		},
		replica: o,
		site: t
	}, r)
}

function q8e(e, t) {
	return {
		logsEndpointBuilder: yv(e, "logs", t),
		rumEndpointBuilder: yv(e, "rum", t),
		sessionReplayEndpointBuilder: yv(e, "replay", t)
	}
}

function Y8e(e, t, n) {
	if (e.replica) {
		var r = Dr({}, e, {
				site: Pc,
				clientToken: e.replica.clientToken
			}),
			i = {
				logsEndpointBuilder: yv(r, "logs", n),
				rumEndpointBuilder: yv(r, "rum", n)
			};
		return t.push.apply(t, Bp(i).map(function(o) {
			return o.urlPrefix
		})), Dr({
			applicationId: e.replica.applicationId
		}, i)
	}
}

function X8e(e, t) {
	var n = Bp(e).map(function(r) {
		return r.urlPrefix
	});
	return t === Pc && n.push("https://".concat(HW, "/")), n
}

function vx(e, t) {
	return e != null && typeof e != "string" ? (Kn.error("".concat(t, " must be defined as a string")), !1) : !0
}

function J8e(e) {
	return e && typeof e == "string" && !/(datadog|ddog|datad0g|dd0g)/.test(e) ? (Kn.error("Site should be a valid Datadog site. ".concat(Wb, " ").concat(G8, "/getting_started/site/.")), !1) : !0
}

function ry(e, t) {
	return e !== void 0 && !V7e(e) ? (Kn.error("".concat(t, " Sample Rate should be a number between 0 and 100")), !1) : !0
}

function Q8e(e) {
	var t, n, r, i, o;
	if (!e || !e.clientToken) {
		Kn.error("Client Token is not configured, we will not send any data.");
		return
	}
	if (!(!J8e(e.site) || !ry(e.sessionSampleRate, "Session") || !ry(e.telemetrySampleRate, "Telemetry") || !ry(e.telemetryConfigurationSampleRate, "Telemetry Configuration") || !ry(e.telemetryUsageSampleRate, "Telemetry Usage") || !vx(e.version, "Version") || !vx(e.env, "Env") || !vx(e.service, "Service"))) {
		if (e.trackingConsent !== void 0 && !TW(PC, e.trackingConsent)) {
			Kn.error('Tracking Consent should be either "granted" or "not-granted"');
			return
		}
		return Dr({
			beforeSend: e.beforeSend && EW(e.beforeSend, "beforeSend threw an error:"),
			sessionStoreStrategyType: L8e(e),
			sessionSampleRate: (t = e.sessionSampleRate) !== null && t !== void 0 ? t : 100,
			telemetrySampleRate: (n = e.telemetrySampleRate) !== null && n !== void 0 ? n : 20,
			telemetryConfigurationSampleRate: (r = e.telemetryConfigurationSampleRate) !== null && r !== void 0 ? r : 5,
			telemetryUsageSampleRate: (i = e.telemetryUsageSampleRate) !== null && i !== void 0 ? i : 5,
			service: e.service || void 0,
			silentMultipleInit: !!e.silentMultipleInit,
			allowUntrustedEvents: !!e.allowUntrustedEvents,
			trackingConsent: (o = e.trackingConsent) !== null && o !== void 0 ? o : PC.GRANTED,
			storeContextsAcrossPages: !!e.storeContextsAcrossPages,
			batchBytesLimit: 16 * Vs,
			eventRateLimiterThreshold: 3e3,
			maxTelemetryEventsPerPage: 15,
			flushTimeout: 30 * Q1,
			batchMessagesLimit: 50,
			messageBytesLimit: 256 * Vs
		}, Z8e(e))
	}
}

function eTe(e) {
	return {
		session_sample_rate: e.sessionSampleRate,
		telemetry_sample_rate: e.telemetrySampleRate,
		telemetry_configuration_sample_rate: e.telemetryConfigurationSampleRate,
		telemetry_usage_sample_rate: e.telemetryUsageSampleRate,
		use_before_send: !!e.beforeSend,
		use_cross_site_session_cookie: e.useCrossSiteSessionCookie,
		use_partitioned_cross_site_session_cookie: e.usePartitionedCrossSiteSessionCookie,
		use_secure_session_cookie: e.useSecureSessionCookie,
		use_proxy: !!e.proxy,
		silent_multiple_init: e.silentMultipleInit,
		track_session_across_subdomains: e.trackSessionAcrossSubdomains,
		allow_fallback_to_local_storage: !!e.allowFallbackToLocalStorage,
		store_contexts_across_pages: !!e.storeContextsAcrossPages,
		allow_untrusted_events: !!e.allowUntrustedEvents,
		tracking_consent: e.trackingConsent
	}
}
var LC;
(function(e) {
	e.WRITABLE_RESOURCE_GRAPHQL = "writable_resource_graphql", e.CUSTOM_VITALS = "custom_vitals", e.TOLERANT_RESOURCE_TIMINGS = "tolerant_resource_timings", e.REMOTE_CONFIGURATION = "remote_configuration", e.UPDATE_VIEW_NAME = "update_view_name"
})(LC || (LC = {}));
var VW = new Set;

function tTe(e) {
	Array.isArray(e) && nTe(e.filter(function(t) {
		return TW(LC, t)
	}))
}

function nTe(e) {
	e.forEach(function(t) {
		VW.add(t)
	})
}

function rTe() {
	return VW
}
var ng = "?";

function qs(e) {
	var t = [],
		n = gx(e, "stack"),
		r = String(e);
	return n && Z8(n, r) && (n = n.slice(r.length)), n && n.split("\n").forEach(function(i) {
		var o = aTe(i) || uTe(i) || cTe(i) || pTe(i);
		o && (!o.func && o.line && (o.func = ng), t.push(o))
	}), {
		message: gx(e, "message"),
		name: gx(e, "name"),
		stack: t
	}
}
var BW = "((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",
	Gp = "(?::(\\d+))",
	iTe = new RegExp("^\\s*at (.*?) ?\\(".concat(BW).concat(Gp, "?").concat(Gp, "?\\)?\\s*$"), "i"),
	oTe = new RegExp("\\((\\S*)".concat(Gp).concat(Gp, "\\)"));

function aTe(e) {
	var t = iTe.exec(e);
	if (t) {
		var n = t[2] && t[2].indexOf("native") === 0,
			r = t[2] && t[2].indexOf("eval") === 0,
			i = oTe.exec(t[2]);
		return r && i && (t[2] = i[1], t[3] = i[2], t[4] = i[3]), {
			args: n ? [t[2]] : [],
			column: t[4] ? +t[4] : void 0,
			func: t[1] || ng,
			line: t[3] ? +t[3] : void 0,
			url: n ? void 0 : t[2]
		}
	}
}
var sTe = new RegExp("^\\s*at ?".concat(BW).concat(Gp, "?").concat(Gp, "??\\s*$"), "i");

function uTe(e) {
	var t = sTe.exec(e);
	if (t) return {
		args: [],
		column: t[3] ? +t[3] : void 0,
		func: ng,
		line: t[2] ? +t[2] : void 0,
		url: t[1]
	}
}
var lTe = /^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;

function cTe(e) {
	var t = lTe.exec(e);
	if (t) return {
		args: [],
		column: t[4] ? +t[4] : void 0,
		func: t[1] || ng,
		line: +t[3],
		url: t[2]
	}
}
var fTe = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,
	dTe = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i;

function pTe(e) {
	var t = fTe.exec(e);
	if (t) {
		var n = t[3] && t[3].indexOf(" > eval") > -1,
			r = dTe.exec(t[3]);
		return n && r && (t[3] = r[1], t[4] = r[2], t[5] = void 0), {
			args: t[2] ? t[2].split(",") : [],
			column: t[5] ? +t[5] : void 0,
			func: t[1] || ng,
			line: t[4] ? +t[4] : void 0,
			url: t[3]
		}
	}
}

function gx(e, t) {
	if (!(typeof e != "object" || !e || !(t in e))) {
		var n = e[t];
		return typeof n == "string" ? n : void 0
	}
}

function hTe(e, t, n, r) {
	var i = [{
			url: t,
			column: r,
			line: n
		}],
		o = gTe(e),
		a = o.name,
		s = o.message;
	return {
		name: a,
		message: s,
		stack: i
	}
}
var vTe = /^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;

function gTe(e) {
	var t, n, r;
	return {}.toString.call(e) === "[object String]" && (t = vTe.exec(e), n = t[1], r = t[2]), {
		name: n,
		message: r
	}
}

function Kb() {
	var e = 2,
		t = new Error,
		n;
	if (!t.stack) try {
		throw t
	} catch (r) {}
	return Qv(function() {
		var r = qs(t);
		r.stack = r.stack.slice(e), n = Mf(r)
	}), n
}

function Mf(e) {
	var t = zW(e);
	return e.stack.forEach(function(n) {
		var r = n.func === "?" ? "<anonymous>" : n.func,
			i = n.args && n.args.length > 0 ? "(".concat(n.args.join(", "), ")") : "",
			o = n.line ? ":".concat(n.line) : "",
			a = n.line && n.column ? ":".concat(n.column) : "";
		t += "\n  at ".concat(r).concat(i, " @ ").concat(n.url).concat(o).concat(a)
	}), t
}

function zW(e) {
	return "".concat(e.name || "Error", ": ").concat(e.message)
}

function Gc(e, t, n, r) {
	var i = r === void 0 ? {} : r,
		o = i.computeHandlingStack,
		a = e[t];
	if (typeof a != "function")
		if (Z8(t, "on")) a = wl;
		else return {
			stop: wl
		};
	var s = !1,
		u = function() {
			if (s) return a.apply(this, arguments);
			var l = K8(arguments),
				c;
			Qv(n, null, [{
				target: this,
				parameters: l,
				onPostCall: function(p) {
					c = p
				},
				handlingStack: o ? Kb() : void 0
			}]);
			var d = a.apply(this, l);
			return c && Qv(c, null, [d]), d
		};
	return e[t] = u, {
		stop: function() {
			s = !0, e[t] === u && (e[t] = a)
		}
	}
}
var mTe = 220 * Vs,
	yTe = "$",
	wTe = 3;

function Bs(e, t) {
	t === void 0 && (t = mTe);
	var n = Bd(Object.prototype),
		r = Bd(Array.prototype),
		i = [],
		o = new WeakMap,
		a = mx(e, yTe, void 0, i, o),
		s = JSON.stringify(a),
		u = s ? s.length : 0;
	if (u > t) {
		yx(t, "discarded", e);
		return
	}
	for (; i.length > 0 && u < t;) {
		var l = i.shift(),
			c = 0;
		if (Array.isArray(l.source))
			for (var d = 0; d < l.source.length; d++) {
				var p = mx(l.source[d], l.path, d, i, o);
				if (p !== void 0 ? u += JSON.stringify(p).length : u += 4, u += c, c = 1, u > t) {
					yx(t, "truncated", e);
					break
				}
				l.target[d] = p
			} else
				for (var d in l.source)
					if (Object.prototype.hasOwnProperty.call(l.source, d)) {
						var p = mx(l.source[d], l.path, d, i, o);
						if (p !== void 0 && (u += JSON.stringify(p).length + c + d.length + wTe, c = 1), u > t) {
							yx(t, "truncated", e);
							break
						}
						l.target[d] = p
					}
	}
	return n(), r(), a
}

function mx(e, t, n, r, i) {
	var o = STe(e);
	if (!o || typeof o != "object") return _Te(o);
	var a = bTe(o);
	if (a !== "[Object]" && a !== "[Array]" && a !== "[Error]") return a;
	var s = e;
	if (i.has(s)) return "[Reference seen at ".concat(i.get(s), "]");
	var u = n !== void 0 ? "".concat(t, ".").concat(n) : t,
		l = Array.isArray(o) ? [] : {};
	return i.set(s, u), r.push({
		source: o,
		target: l,
		path: u
	}), l
}

function _Te(e) {
	return typeof e == "bigint" ? "[BigInt] ".concat(e.toString()) : typeof e == "function" ? "[Function] ".concat(e.name || "unknown") : typeof e == "symbol" ? "[Symbol] ".concat(e.description || e.toString()) : e
}

function bTe(e) {
	try {
		if (e instanceof Event) return {
			isTrusted: e.isTrusted
		};
		var t = Object.prototype.toString.call(e),
			n = t.match(/\[object (.*)\]/);
		if (n && n[1]) return "[".concat(n[1], "]")
	} catch (r) {}
	return "[Unserializable]"
}

function STe(e) {
	var t = e;
	if (t && typeof t.toJSON == "function") try {
		return t.toJSON()
	} catch (n) {}
	return e
}

function yx(e, t, n) {
	Kn.warn("The data provided has been ".concat(t, " as it is over the limit of ").concat(e, " characters:"), n)
}
var GW = "No stack, consider using an instance of Error";

function WW(e) {
	var t = e.stackTrace,
		n = e.originalError,
		r = e.handlingStack,
		i = e.startClocks,
		o = e.nonErrorPrefix,
		a = e.source,
		s = e.handling,
		u = n instanceof Error,
		l = xTe(t, u, o, n),
		c = ETe(u, t) ? Mf(t) : GW,
		d = u ? ZW(n, a) : void 0,
		p = t ? t.name : void 0,
		g = KW(n);
	return {
		startClocks: i,
		source: a,
		handling: s,
		handlingStack: r,
		originalError: n,
		type: p,
		message: l,
		stack: c,
		causes: d,
		fingerprint: g
	}
}

function xTe(e, t, n, r) {
	return e != null && e.message && (e != null && e.name) ? e.message : t ? "Empty message" : "".concat(n, " ").concat(Af(Bs(r)))
}

function ETe(e, t) {
	return t === void 0 ? !1 : e ? !0 : t.stack.length > 0 && (t.stack.length > 1 || t.stack[0].url !== void 0)
}

function KW(e) {
	return e instanceof Error && "dd_fingerprint" in e ? String(e.dd_fingerprint) : void 0
}

function CTe(e) {
	var t;
	return (t = /@ (.+)/.exec(e)) === null || t === void 0 ? void 0 : t[1]
}

function ZW(e, t) {
	for (var n = e, r = [];
		(n == null ? void 0 : n.cause) instanceof Error && r.length < 10;) {
		var i = qs(n.cause);
		r.push({
			message: n.cause.message,
			source: t,
			type: i == null ? void 0 : i.name,
			stack: i && Mf(i)
		}), n = n.cause
	}
	return r.length ? r : void 0
}
var va = {
	AGENT: "agent",
	CONSOLE: "console",
	CUSTOM: "custom",
	LOGGER: "logger",
	NETWORK: "network",
	SOURCE: "source",
	REPORT: "report"
};

function OTe(e) {
	var t = function(i, o) {
			var a = WW({
				stackTrace: i,
				originalError: o,
				startClocks: Nh(),
				nonErrorPrefix: "Uncaught",
				source: va.SOURCE,
				handling: "unhandled"
			});
			e.notify(a)
		},
		n = TTe(t).stop,
		r = RTe(t).stop;
	return {
		stop: function() {
			n(), r()
		}
	}
}

function TTe(e) {
	return Gc(window, "onerror", function(t) {
		var n = t.parameters,
			r = n[0],
			i = n[1],
			o = n[2],
			a = n[3],
			s = n[4],
			u;
		s instanceof Error ? u = qs(s) : u = hTe(r, i, o, a), e(u, s != null ? s : r)
	})
}

function RTe(e) {
	return Gc(window, "onunhandledrejection", function(t) {
		var n = t.parameters[0],
			r = n.reason || "Empty reason",
			i = qs(r);
		e(i, r)
	})
}

function ITe(e) {
	var t = Dr({
		version: "5.23.3",
		onReady: function(n) {
			n()
		}
	}, e);
	return Object.defineProperty(t, "_setDebug", {
		get: function() {
			return n8e
		},
		enumerable: !1
	}), t
}

function kTe(e, t, n) {
	var r = e[t];
	r && !r.q && r.version && Kn.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."), e[t] = n, r && r.q && r.q.forEach(function(i) {
		return EW(i, "onReady callback threw an error:")()
	})
}

function qW(e, t) {
	t.silentMultipleInit || Kn.error("".concat(e, " is already initialized."))
}

function Pf(e, t, n, r, i) {
	return nT(e, t, [n], r, i)
}

function nT(e, t, n, r, i) {
	var o = i === void 0 ? {} : i,
		a = o.once,
		s = o.capture,
		u = o.passive,
		l = Nt(function(g) {
			!g.isTrusted && !g.__ddIsTrusted && !e.allowUntrustedEvents || (a && p(), r(g))
		}),
		c = u ? {
			capture: s,
			passive: u
		} : s,
		d = zp(t, "addEventListener");
	n.forEach(function(g) {
		return d.call(t, g, l, c)
	});

	function p() {
		var g = zp(t, "removeEventListener");
		n.forEach(function(m) {
			return g.call(t, m, l, c)
		})
	}
	return {
		stop: p
	}
}
var ul = {
	intervention: "intervention",
	deprecation: "deprecation",
	cspViolation: "csp_violation"
};

function ATe(e, t) {
	var n = [];
	Dh(t, ul.cspViolation) && n.push(PTe(e));
	var r = t.filter(function(i) {
		return i !== ul.cspViolation
	});
	return r.length && n.push(MTe(r)), AW.apply(void 0, n)
}

function MTe(e) {
	return new rr(function(t) {
		if (window.ReportingObserver) {
			var n = Nt(function(i, o) {
					return i.forEach(function(a) {
						t.notify(LTe(a))
					})
				}),
				r = new window.ReportingObserver(n, {
					types: e,
					buffered: !0
				});
			return r.observe(),
				function() {
					r.disconnect()
				}
		}
	})
}

function PTe(e) {
	return new rr(function(t) {
		var n = Pf(e, document, "securitypolicyviolation", function(r) {
			t.notify(NTe(r))
		}).stop;
		return n
	})
}

function LTe(e) {
	var t = e.type,
		n = e.body;
	return {
		type: t,
		subtype: n.id,
		message: "".concat(t, ": ").concat(n.message),
		originalReport: e,
		stack: YW(n.id, n.message, n.sourceFile, n.lineNumber, n.columnNumber)
	}
}

function NTe(e) {
	var t = ul.cspViolation,
		n = "'".concat(e.blockedURI, "' blocked by '").concat(e.effectiveDirective, "' directive");
	return {
		type: ul.cspViolation,
		subtype: e.effectiveDirective,
		message: "".concat(t, ": ").concat(n),
		stack: YW(e.effectiveDirective, e.originalPolicy ? "".concat(n, ' of the policy "').concat(a8e(e.originalPolicy, 100, "..."), '"') : "no policy", e.sourceFile, e.lineNumber, e.columnNumber),
		originalReport: e
	}
}

function YW(e, t, n, r, i) {
	return n ? Mf({
		name: e,
		message: t,
		stack: [{
			func: "?",
			url: n,
			line: r != null ? r : void 0,
			column: i != null ? i : void 0
		}]
	}) : void 0
}

function XW(e, t) {
	var n = window.__ddBrowserSdkExtensionCallback;
	n && n({
		type: e,
		payload: t
	})
}

function rT(e) {
	return e === null ? "null" : Array.isArray(e) ? "array" : typeof e
}

function Fw(e, t, n) {
	if (n === void 0 && (n = DTe()), t === void 0) return e;
	if (typeof t != "object" || t === null) return t;
	if (t instanceof Date) return new Date(t.getTime());
	if (t instanceof RegExp) {
		var r = t.flags || [t.global ? "g" : "", t.ignoreCase ? "i" : "", t.multiline ? "m" : "", t.sticky ? "y" : "", t.unicode ? "u" : ""].join("");
		return new RegExp(t.source, r)
	}
	if (!n.hasAlreadyBeenSeen(t)) {
		if (Array.isArray(t)) {
			for (var i = Array.isArray(e) ? e : [], o = 0; o < t.length; ++o) i[o] = Fw(i[o], t[o], n);
			return i
		}
		var a = rT(e) === "object" ? e : {};
		for (var s in t) Object.prototype.hasOwnProperty.call(t, s) && (a[s] = Fw(a[s], t[s], n));
		return a
	}
}

function JW(e) {
	return Fw(void 0, e)
}

function Wp() {
	for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
	for (var n, r = 0, i = e; r < i.length; r++) {
		var o = i[r];
		o != null && (n = Fw(n, o))
	}
	return n
}

function DTe() {
	if (typeof WeakSet < "u") {
		var e = new WeakSet;
		return {
			hasAlreadyBeenSeen: function(n) {
				var r = e.has(n);
				return r || e.add(n), r
			}
		}
	}
	var t = [];
	return {
		hasAlreadyBeenSeen: function(n) {
			var r = t.indexOf(n) >= 0;
			return r || t.push(n), r
		}
	}
}

function $Te() {
	var e, t = window.navigator;
	return {
		status: t.onLine ? "connected" : "not_connected",
		interfaces: t.connection && t.connection.type ? [t.connection.type] : void 0,
		effective_type: (e = t.connection) === null || e === void 0 ? void 0 : e.effectiveType
	}
}

function FTe(e) {
	var t = new Set;
	return e.forEach(function(n) {
		return t.add(n)
	}), K8(t)
}

function QW(e, t) {
	var n = e.indexOf(t);
	n >= 0 && e.splice(n, 1)
}
var jTe = 500;

function eK() {
	var e = [],
		t = function(i) {
			var o = e.push(i);
			o > jTe && e.splice(0, 1)
		},
		n = function(i) {
			QW(e, i)
		},
		r = function(i) {
			e.forEach(function(o) {
				return o(i)
			}), e.length = 0
		};
	return {
		add: t,
		remove: n,
		drain: r
	}
}
var Wc = {
		log: "log",
		configuration: "configuration",
		usage: "usage"
	},
	UTe = ["https://www.datadoghq-browser-agent.com", "https://www.datad0g-browser-agent.com", "https://d3uc069fcn7uxw.cloudfront.net", "https://d20xtzwzcl0ceb.cloudfront.net", "http://localhost", "<anonymous>"],
	HTe = [H8e],
	tK = eK(),
	Fh = function(e) {
		tK.add(function() {
			return Fh(e)
		})
	};

function VTe(e, t) {
	var n, r, i = new rr,
		o = new Set,
		a = !Dh(HTe, t.site) && i2(t.telemetrySampleRate),
		s = (n = {}, n[Wc.log] = a, n[Wc.configuration] = a && i2(t.telemetryConfigurationSampleRate), n[Wc.usage] = a && i2(t.telemetryUsageSampleRate), n),
		u = BTe();
	Fh = function(c) {
		var d = Af(c);
		if (s[c.type] && o.size < t.maxTelemetryEventsPerPage && !o.has(d)) {
			var p = l(e, c, u);
			i.notify(p), XW("telemetry", p), o.add(d)
		}
	}, t8e(rK);

	function l(c, d, p) {
		return Wp({
			type: "telemetry",
			date: Nl(),
			service: c,
			version: "5.23.3",
			source: "browser",
			_dd: {
				format_version: 2
			},
			telemetry: Wp(d, {
				runtime_env: p,
				connectivity: $Te()
			}),
			experimental_features: K8(rTe())
		}, r !== void 0 ? r() : {})
	}
	return {
		setContextProvider: function(c) {
			r = c
		},
		observable: i,
		enabled: a
	}
}

function BTe() {
	return {
		is_local_file: window.location.protocol === "file:",
		is_worker: "WorkerGlobalScope" in self
	}
}

function zTe() {
	tK.drain()
}

function GTe(e) {
	return e.site === j8e
}

function nK(e, t) {
	MC(En.debug, e, t), Fh(Dr({
		type: Wc.log,
		message: e,
		status: "debug"
	}, t))
}

function rK(e, t) {
	Fh(Dr({
		type: Wc.log,
		status: "error"
	}, ZTe(e), t))
}

function WTe(e) {
	Fh({
		type: Wc.configuration,
		configuration: e
	})
}

function KTe(e) {
	Fh({
		type: Wc.usage,
		usage: e
	})
}

function ZTe(e) {
	if (e instanceof Error) {
		var t = qs(e);
		return {
			error: {
				kind: t.name,
				stack: Mf(qTe(t))
			},
			message: t.message
		}
	}
	return {
		error: {
			stack: GW
		},
		message: "".concat("Uncaught", " ").concat(Af(e))
	}
}

function qTe(e) {
	return e.stack = e.stack.filter(function(t) {
		return !t.url || UTe.some(function(n) {
			return Z8(t.url, n)
		})
	}), e
}
var iy = 1 / 0,
	YTe = If;

function XTe(e) {
	var t = e.expireDelay,
		n = e.maxEntries,
		r = [],
		i = Y8(function() {
			return o()
		}, YTe);

	function o() {
		for (var p = Lw() - t; r.length > 0 && r[r.length - 1].endTime < p;) r.pop()
	}

	function a(p, g) {
		var m = {
			value: p,
			startTime: g,
			endTime: iy,
			remove: function() {
				QW(r, m)
			},
			close: function(_) {
				m.endTime = _
			}
		};
		return n && r.length >= n && r.pop(), r.unshift(m), m
	}

	function s(p, g) {
		p === void 0 && (p = iy), g === void 0 && (g = {
			returnInactive: !1
		});
		for (var m = 0, _ = r; m < _.length; m++) {
			var S = _[m];
			if (S.startTime <= p) {
				if (g.returnInactive || p <= S.endTime) return S.value;
				break
			}
		}
	}

	function u(p) {
		var g = r[0];
		g && g.endTime === iy && g.close(p)
	}

	function l(p, g) {
		p === void 0 && (p = iy), g === void 0 && (g = 0);
		var m = K7e(p, g);
		return r.filter(function(_) {
			return _.startTime <= m && p <= _.endTime
		}).map(function(_) {
			return _.value
		})
	}

	function c() {
		r = []
	}

	function d() {
		kW(i)
	}
	return {
		add: a,
		find: s,
		closeActive: u,
		findAll: l,
		reset: c,
		stop: d
	}
}
var JTe = If,
	QTe = J8;

function e9e(e, t, n, r) {
	var i = new rr,
		o = new rr,
		a = N8e(e.sessionStoreStrategyType, t, n),
		s = XTe({
			expireDelay: QTe
		});
	a.renewObservable.subscribe(function() {
		s.add(u(), Lw()), i.notify()
	}), a.expireObservable.subscribe(function() {
		o.notify(), s.closeActive(Lw())
	}), a.expandOrRenewSession(), s.add(u(), G7e().relative), r.observable.subscribe(function() {
		r.isGranted() ? a.expandOrRenewSession() : a.expire()
	}), t9e(e, function() {
		r.isGranted() && a.expandOrRenewSession()
	}), n9e(e, function() {
		return a.expandSession()
	}), r9e(e, function() {
		return a.restartSession()
	});

	function u() {
		return {
			id: a.getSession().id,
			trackingType: a.getSession()[t],
			isReplayForced: !!a.getSession().forcedReplay
		}
	}
	return {
		findSession: function(l, c) {
			return s.find(l, c)
		},
		renewObservable: i,
		expireObservable: o,
		sessionStateUpdateObservable: a.sessionStateUpdateObservable,
		expire: a.expire,
		updateSessionState: a.updateSessionState
	}
}

function t9e(e, t) {
	nT(e, window, ["click", "touchstart", "keydown", "scroll"], t, {
		capture: !0,
		passive: !0
	}).stop
}

function n9e(e, t) {
	var n = function() {
		document.visibilityState === "visible" && t()
	};
	Pf(e, document, "visibilitychange", n).stop, Y8(n, JTe)
}

function r9e(e, t) {
	Pf(e, window, "resume", t, {
		capture: !0
	}).stop
}

function iK(e) {
	return e >= 500
}

function i9e(e) {
	try {
		return e.clone()
	} catch (t) {
		return
	}
}
var o9e = 80 * Vs,
	a9e = 32,
	oK = 3 * OW,
	s9e = If,
	aK = Q1;

function sK(e, t, n, r, i) {
	t.transportStatus === 0 && t.queuedPayloads.size() === 0 && t.bandwidthMonitor.canHandle(e) ? lK(e, t, n, {
		onSuccess: function() {
			return cK(0, t, n, r, i)
		},
		onFailure: function() {
			t.queuedPayloads.enqueue(e), uK(t, n, r, i)
		}
	}) : t.queuedPayloads.enqueue(e)
}

function uK(e, t, n, r) {
	e.transportStatus === 2 && eg(function() {
		var i = e.queuedPayloads.first();
		lK(i, e, t, {
			onSuccess: function() {
				e.queuedPayloads.dequeue(), e.currentBackoffTime = aK, cK(1, e, t, n, r)
			},
			onFailure: function() {
				e.currentBackoffTime = Math.min(s9e, e.currentBackoffTime * 2), uK(e, t, n, r)
			}
		})
	}, e.currentBackoffTime)
}

function lK(e, t, n, r) {
	var i = r.onSuccess,
		o = r.onFailure;
	t.bandwidthMonitor.add(e), n(e, function(a) {
		t.bandwidthMonitor.remove(e), u9e(a) ? (t.transportStatus = t.bandwidthMonitor.ongoingRequestCount > 0 ? 1 : 2, e.retry = {
			count: e.retry ? e.retry.count + 1 : 1,
			lastFailureStatus: a.status
		}, o()) : (t.transportStatus = 0, i())
	})
}

function cK(e, t, n, r, i) {
	e === 0 && t.queuedPayloads.isFull() && !t.queueFullReported && (i({
		message: "Reached max ".concat(r, " events size queued for upload: ").concat(oK / OW, "MiB"),
		source: va.AGENT,
		startClocks: Nh()
	}), t.queueFullReported = !0);
	var o = t.queuedPayloads;
	for (t.queuedPayloads = fK(); o.size() > 0;) sK(o.dequeue(), t, n, r, i)
}

function u9e(e) {
	return e.type !== "opaque" && (e.status === 0 && !navigator.onLine || e.status === 408 || e.status === 429 || iK(e.status))
}

function l9e() {
	return {
		transportStatus: 0,
		currentBackoffTime: aK,
		bandwidthMonitor: c9e(),
		queuedPayloads: fK(),
		queueFullReported: !1
	}
}

function fK() {
	var e = [];
	return {
		bytesCount: 0,
		enqueue: function(t) {
			this.isFull() || (e.push(t), this.bytesCount += t.bytesCount)
		},
		first: function() {
			return e[0]
		},
		dequeue: function() {
			var t = e.shift();
			return t && (this.bytesCount -= t.bytesCount), t
		},
		size: function() {
			return e.length
		},
		isFull: function() {
			return this.bytesCount >= oK
		}
	}
}

function c9e() {
	return {
		ongoingRequestCount: 0,
		ongoingByteCount: 0,
		canHandle: function(e) {
			return this.ongoingRequestCount === 0 || this.ongoingByteCount + e.bytesCount <= o9e && this.ongoingRequestCount < a9e
		},
		add: function(e) {
			this.ongoingRequestCount += 1, this.ongoingByteCount += e.bytesCount
		},
		remove: function(e) {
			this.ongoingRequestCount -= 1, this.ongoingByteCount -= e.bytesCount
		}
	}
}

function f9e(e, t, n, r) {
	var i = l9e(),
		o = function(a, s) {
			return h9e(e, t, n, a, s)
		};
	return {
		send: function(a) {
			sK(a, i, o, t.trackType, r)
		},
		sendOnExit: function(a) {
			d9e(e, t, n, a)
		}
	}
}

function d9e(e, t, n, r) {
	var i = !!navigator.sendBeacon && r.bytesCount < n;
	if (i) try {
		var o = t.build("beacon", r),
			a = navigator.sendBeacon(o, r.data);
		if (a) return
	} catch (u) {
		p9e(u)
	}
	var s = t.build("xhr", r);
	NC(e, s, r.data)
}
var kN = !1;

function p9e(e) {
	kN || (kN = !0, rK(e))
}

function h9e(e, t, n, r, i) {
	var o = v9e() && r.bytesCount < n;
	if (o) {
		var a = t.build("fetch", r);
		fetch(a, {
			method: "POST",
			body: r.data,
			keepalive: !0,
			mode: "cors"
		}).then(Nt(function(u) {
			return i == null ? void 0 : i({
				status: u.status,
				type: u.type
			})
		}), Nt(function() {
			var u = t.build("xhr", r);
			NC(e, u, r.data, i)
		}))
	} else {
		var s = t.build("xhr", r);
		NC(e, s, r.data, i)
	}
}

function v9e() {
	try {
		return window.Request && "keepalive" in new Request("http://a")
	} catch (e) {
		return !1
	}
}

function NC(e, t, n, r) {
	var i = new XMLHttpRequest;
	i.open("POST", t, !0), n instanceof Blob && i.setRequestHeader("Content-Type", n.type), Pf(e, i, "loadend", function() {
		r == null || r({
			status: i.status
		})
	}, {
		once: !0
	}), i.send(n)
}

function iT() {
	var e = g9e();
	if (e) return {
		getCapabilities: function() {
			var t;
			return JSON.parse(((t = e.getCapabilities) === null || t === void 0 ? void 0 : t.call(e)) || "[]")
		},
		getPrivacyLevel: function() {
			var t;
			return (t = e.getPrivacyLevel) === null || t === void 0 ? void 0 : t.call(e)
		},
		getAllowedWebViewHosts: function() {
			return JSON.parse(e.getAllowedWebViewHosts())
		},
		send: function(t, n, r) {
			var i = r ? {
				id: r
			} : void 0;
			e.send(JSON.stringify({
				eventType: t,
				event: n,
				view: i
			}))
		}
	}
}

function jw(e) {
	var t;
	e === void 0 && (e = (t = Dl().location) === null || t === void 0 ? void 0 : t.hostname);
	var n = iT();
	return !!n && n.getAllowedWebViewHosts().some(function(r) {
		return e === r || J7e(e, ".".concat(r))
	})
}

function g9e() {
	return Dl().DatadogEventBridge
}
var s2 = {
	HIDDEN: "visibility_hidden",
	UNLOADING: "before_unload",
	PAGEHIDE: "page_hide",
	FROZEN: "page_frozen"
};

function m9e(e) {
	return new rr(function(t) {
		var n = nT(e, window, ["visibilitychange", "freeze"], function(i) {
				i.type === "visibilitychange" && document.visibilityState === "hidden" ? t.notify({
					reason: s2.HIDDEN
				}) : i.type === "freeze" && t.notify({
					reason: s2.FROZEN
				})
			}, {
				capture: !0
			}).stop,
			r = Pf(e, window, "beforeunload", function() {
				t.notify({
					reason: s2.UNLOADING
				})
			}).stop;
		return function() {
			n(), r()
		}
	})
}

function y9e(e) {
	return Dh(Bp(s2), e)
}

function w9e(e) {
	var t = e.encoder,
		n = e.request,
		r = e.flushController,
		i = e.messageBytesLimit,
		o = {},
		a = r.flushObservable.subscribe(function(p) {
			return d(p)
		});

	function s(p, g, m) {
		r.notifyBeforeAddMessage(g), m !== void 0 ? (o[m] = p, r.notifyAfterAddMessage()) : t.write(t.isEmpty ? p : "\n".concat(p), function(_) {
			r.notifyAfterAddMessage(_ - g)
		})
	}

	function u(p) {
		return p !== void 0 && o[p] !== void 0
	}

	function l(p) {
		var g = o[p];
		delete o[p];
		var m = t.estimateEncodedBytesCount(g);
		r.notifyAfterRemoveMessage(m)
	}

	function c(p, g) {
		var m = Af(p),
			_ = t.estimateEncodedBytesCount(m);
		if (_ >= i) {
			Kn.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(i, "KB. ").concat(Wb, " ").concat(xW, "/#technical-limitations"));
			return
		}
		u(g) && l(g), s(m, _, g)
	}

	function d(p) {
		var g = Bp(o).join("\n");
		o = {};
		var m = y9e(p.reason),
			_ = m ? n.sendOnExit : n.send;
		if (m && t.isAsync) {
			var S = t.finishSync();
			S.outputBytesCount && _(AN(S));
			var y = [S.pendingData, g].filter(Boolean).join("\n");
			y && _({
				data: y,
				bytesCount: W8(y)
			})
		} else g && t.write(t.isEmpty ? g : "\n".concat(g)), t.finish(function(w) {
			_(AN(w))
		})
	}
	return {
		flushController: r,
		add: c,
		upsert: c,
		stop: a.unsubscribe
	}
}

function AN(e) {
	var t;
	return typeof e.output == "string" ? t = e.output : t = new Blob([e.output], {
		type: "text/plain"
	}), {
		data: t,
		bytesCount: e.outputBytesCount,
		encoding: e.encoding
	}
}

function _9e(e) {
	var t = e.messagesLimit,
		n = e.bytesLimit,
		r = e.durationLimit,
		i = e.pageExitObservable,
		o = e.sessionExpireObservable,
		a = i.subscribe(function(_) {
			return d(_.reason)
		}),
		s = o.subscribe(function() {
			return d("session_expire")
		}),
		u = new rr(function() {
			return function() {
				a.unsubscribe(), s.unsubscribe()
			}
		}),
		l = 0,
		c = 0;

	function d(_) {
		if (c !== 0) {
			var S = c,
				y = l;
			c = 0, l = 0, m(), u.notify({
				reason: _,
				messagesCount: S,
				bytesCount: y
			})
		}
	}
	var p;

	function g() {
		p === void 0 && (p = eg(function() {
			d("duration_limit")
		}, r))
	}

	function m() {
		IW(p), p = void 0
	}
	return {
		flushObservable: u,
		get messagesCount() {
			return c
		},
		notifyBeforeAddMessage: function(_) {
			l + _ >= n && d("bytes_limit"), c += 1, l += _, g()
		},
		notifyAfterAddMessage: function(_) {
			_ === void 0 && (_ = 0), l += _, c >= t ? d("messages_limit") : l >= n && d("bytes_limit")
		},
		notifyAfterRemoveMessage: function(_) {
			l -= _, c -= 1, c === 0 && m()
		}
	}
}

function dK(e, t, n, r, i, o, a) {
	a === void 0 && (a = w9e);
	var s = l(e, t),
		u = n && l(e, n);

	function l(c, d) {
		var p = d.endpoint,
			g = d.encoder;
		return a({
			encoder: g,
			request: f9e(c, p, c.batchBytesLimit, r),
			flushController: _9e({
				messagesLimit: c.batchMessagesLimit,
				bytesLimit: c.batchBytesLimit,
				durationLimit: c.flushTimeout,
				pageExitObservable: i,
				sessionExpireObservable: o
			}),
			messageBytesLimit: c.messageBytesLimit
		})
	}
	return {
		flushObservable: s.flushController.flushObservable,
		add: function(c, d) {
			d === void 0 && (d = !0), s.add(c), u && d && u.add(n.transformMessage ? n.transformMessage(c) : c)
		},
		upsert: function(c, d) {
			s.upsert(c, d), u && u.upsert(n.transformMessage ? n.transformMessage(c) : c, d)
		},
		stop: function() {
			s.stop(), u && u.stop()
		}
	}
}

function Uw() {
	var e = "",
		t = 0;
	return {
		isAsync: !1,
		get isEmpty() {
			return !e
		},
		write: function(n, r) {
			var i = W8(n);
			t += i, e += n, r && r(i)
		},
		finish: function(n) {
			n(this.finishSync())
		},
		finishSync: function() {
			var n = {
				output: e,
				outputBytesCount: t,
				rawBytesCount: t,
				pendingData: ""
			};
			return e = "", t = 0, n
		},
		estimateEncodedBytesCount: function(n) {
			return n.length
		}
	}
}
var b9e = function() {
	function e() {
		this.callbacks = {}
	}
	return e.prototype.notify = function(t, n) {
		var r = this.callbacks[t];
		r && r.forEach(function(i) {
			return i(n)
		})
	}, e.prototype.subscribe = function(t, n) {
		var r = this;
		return this.callbacks[t] || (this.callbacks[t] = []), this.callbacks[t].push(n), {
			unsubscribe: function() {
				r.callbacks[t] = r.callbacks[t].filter(function(i) {
					return n !== i
				})
			}
		}
	}, e
}();

function S9e(e, t, n) {
	var r = 0,
		i = !1;
	return {
		isLimitReached: function() {
			if (r === 0 && eg(function() {
					r = 0
				}, If), r += 1, r <= t || i) return i = !1, !1;
			if (r === t + 1) {
				i = !0;
				try {
					n({
						message: "Reached max number of ".concat(e, "s by minute: ").concat(t),
						source: va.AGENT,
						startClocks: Nh()
					})
				} finally {
					i = !1
				}
			}
			return !0
		}
	}
}
var wx, oT = new WeakMap;

function x9e(e) {
	return wx || (wx = E9e(e)), wx
}

function E9e(e) {
	return new rr(function(t) {
		var n = Gc(XMLHttpRequest.prototype, "open", C9e).stop,
			r = Gc(XMLHttpRequest.prototype, "send", function(o) {
				O9e(o, e, t)
			}, {
				computeHandlingStack: !0
			}).stop,
			i = Gc(XMLHttpRequest.prototype, "abort", T9e).stop;
		return function() {
			n(), r(), i()
		}
	})
}

function C9e(e) {
	var t = e.target,
		n = e.parameters,
		r = n[0],
		i = n[1];
	oT.set(t, {
		state: "open",
		method: String(r).toUpperCase(),
		url: tT(String(i))
	})
}

function O9e(e, t, n) {
	var r = e.target,
		i = e.handlingStack,
		o = oT.get(r);
	if (o) {
		var a = o;
		a.state = "start", a.startClocks = Nh(), a.isAborted = !1, a.xhr = r, a.handlingStack = i;
		var s = !1,
			u = Gc(r, "onreadystatechange", function() {
				r.readyState === XMLHttpRequest.DONE && l()
			}).stop,
			l = function() {
				if (c(), u(), !s) {
					s = !0;
					var d = o;
					d.state = "complete", d.duration = W7e(a.startClocks.timeStamp, Nl()), d.status = r.status, n.notify(Q7e(d))
				}
			},
			c = Pf(t, r, "loadend", l).stop;
		n.notify(a)
	}
}

function T9e(e) {
	var t = e.target,
		n = oT.get(t);
	n && (n.isAborted = !0)
}
var _x;

function pK() {
	return _x || (_x = R9e()), _x
}

function R9e() {
	return new rr(function(e) {
		if (window.fetch) {
			var t = Gc(window, "fetch", function(n) {
				return I9e(n, e)
			}, {
				computeHandlingStack: !0
			}).stop;
			return t
		}
	})
}

function I9e(e, t) {
	var n = e.parameters,
		r = e.onPostCall,
		i = e.handlingStack,
		o = n[0],
		a = n[1],
		s = a && a.method;
	s === void 0 && o instanceof Request && (s = o.method);
	var u = s !== void 0 ? String(s).toUpperCase() : "GET",
		l = o instanceof Request ? o.url : tT(String(o)),
		c = Nh(),
		d = {
			state: "start",
			init: a,
			input: o,
			method: u,
			startClocks: c,
			url: l,
			handlingStack: i
		};
	t.notify(d), n[0] = d.input, n[1] = d.init, r(function(p) {
		return k9e(t, p, d)
	})
}

function k9e(e, t, n) {
	var r = n;

	function i(o) {
		r.state = "resolve", Dr(r, o), e.notify(r)
	}
	t.then(Nt(function(o) {
		i({
			response: o,
			responseType: o.type,
			status: o.status,
			isAborted: !1
		})
	}), Nt(function(o) {
		var a, s;
		i({
			status: 0,
			isAborted: ((s = (a = r.init) === null || a === void 0 ? void 0 : a.signal) === null || s === void 0 ? void 0 : s.aborted) || o instanceof DOMException && o.code === DOMException.ABORT_ERR,
			error: o
		})
	}))
}
var bx = {};

function A9e(e) {
	var t = e.map(function(n) {
		return bx[n] || (bx[n] = M9e(n)), bx[n]
	});
	return AW.apply(void 0, t)
}

function M9e(e) {
	return new rr(function(t) {
		var n = Pa[e];
		return Pa[e] = function() {
				for (var r = [], i = 0; i < arguments.length; i++) r[i] = arguments[i];
				n.apply(console, r);
				var o = Kb();
				Qv(function() {
					t.notify(P9e(r, e, o))
				})
			},
			function() {
				Pa[e] = n
			}
	})
}

function P9e(e, t, n) {
	var r = e.map(function(u) {
			return L9e(u)
		}).join(" "),
		i, o, a;
	if (t === En.error) {
		var s = Y7e(e, function(u) {
			return u instanceof Error
		});
		i = s ? Mf(qs(s)) : void 0, o = KW(s), a = s ? ZW(s, "console") : void 0
	}
	return {
		api: t,
		message: r,
		stack: i,
		handlingStack: n,
		fingerprint: o,
		causes: a
	}
}

function L9e(e) {
	return typeof e == "string" ? Bs(e) : e instanceof Error ? zW(qs(e)) : Af(Bs(e), void 0, 2)
}

function DC(e) {
	var t = {},
		n = new rr,
		r = {
			getContext: function() {
				return JW(t)
			},
			setContext: function(i) {
				rT(i) === "object" ? (t = Bs(i), e.updateCustomerData(t)) : r.clearContext(), n.notify()
			},
			setContextProperty: function(i, o) {
				t[i] = Bs(o), e.updateCustomerData(t), n.notify()
			},
			removeContextProperty: function(i) {
				delete t[i], e.updateCustomerData(t), n.notify()
			},
			clearContext: function() {
				t = {}, e.resetCustomerData(), n.notify()
			},
			changeObservable: n
		};
	return r
}
var N9e = "_dd_c",
	D9e = [];

function MN(e, t, n, r) {
	var i = $9e(n, r);
	D9e.push(Pf(e, window, "storage", function(u) {
		var l = u.key;
		i === l && o()
	})), t.changeObservable.subscribe(a), t.setContext(Wp(s(), t.getContext()));

	function o() {
		t.setContext(s())
	}

	function a() {
		localStorage.setItem(i, JSON.stringify(t.getContext()))
	}

	function s() {
		var u = localStorage.getItem(i);
		return u !== null ? JSON.parse(u) : {}
	}
}

function $9e(e, t) {
	return "".concat(N9e, "_").concat(e, "_").concat(t)
}
var F9e = 3 * Vs,
	j9e = 16 * Vs,
	U9e = 200;

function H9e(e) {
	e === void 0 && (e = 2);
	var t = new Map,
		n = !1;

	function r(i) {
		if (i === void 0 && (i = 0), !(n || e === 0)) {
			var o = e === 2 ? F9e : j9e,
				a = i;
			t.forEach(function(s) {
				a += s.getBytesCount()
			}), a > o && (V9e(o), n = !0)
		}
	}
	return {
		createDetachedTracker: function() {
			var i = PN(function() {
				return r(i.getBytesCount())
			});
			return i
		},
		getOrCreateTracker: function(i) {
			return t.has(i) || t.set(i, PN(r)), t.get(i)
		},
		setCompressionStatus: function(i) {
			e === 0 && (e = i, r())
		},
		getCompressionStatus: function() {
			return e
		},
		stop: function() {
			t.forEach(function(i) {
				return i.stop()
			}), t.clear()
		}
	}
}

function PN(e) {
	var t = 0,
		n = MW(function(a) {
			t = W8(Af(a)), e()
		}, U9e),
		r = n.throttled,
		i = n.cancel,
		o = function() {
			i(), t = 0
		};
	return {
		updateCustomerData: function(a) {
			q8(a) ? o() : r(a)
		},
		resetCustomerData: o,
		getBytesCount: function() {
			return t
		},
		stop: function() {
			i()
		}
	}
}

function V9e(e) {
	Kn.warn("Customer data exceeds the recommended ".concat(e / Vs, "KiB threshold. ").concat(Wb, " ").concat(xW, "/#customer-data-exceeds-the-recommended-threshold-warning"))
}

function B9e(e, t, n) {
	var r = e.getReader(),
		i = [],
		o = 0;
	a();

	function a() {
		r.read().then(Nt(function(u) {
			if (u.done) {
				s();
				return
			}
			i.push(u.value), o += u.value.length, o > n.bytesLimit ? s() : a()
		}), Nt(function(u) {
			return t(u)
		}))
	}

	function s() {
		r.cancel().catch(wl);
		var u, l; {
			var c;
			if (i.length === 1) c = i[0];
			else {
				c = new Uint8Array(o);
				var d = 0;
				i.forEach(function(p) {
					c.set(p, d), d += p.length
				})
			}
			u = c.slice(0, n.bytesLimit), l = c.length > n.bytesLimit
		}
		t(void 0, u, l)
	}
}
var z9e = "datadog-synthetics-public-id",
	G9e = "datadog-synthetics-result-id",
	W9e = "datadog-synthetics-injects-rum";

function hK() {
	return !!(window._DATADOG_SYNTHETICS_INJECTS_RUM || Mc(W9e))
}

function K9e() {
	var e = window._DATADOG_SYNTHETICS_PUBLIC_ID || Mc(z9e);
	return typeof e == "string" ? e : void 0
}

function Z9e() {
	var e = window._DATADOG_SYNTHETICS_RESULT_ID || Mc(G9e);
	return typeof e == "string" ? e : void 0
}

function LN(e) {
	var t = Dr({}, e),
		n = ["id", "name", "email"];
	return n.forEach(function(r) {
		r in t && (t[r] = String(t[r]))
	}), t
}

function q9e(e) {
	var t = rT(e) === "object";
	return t || Kn.error("Unsupported user:", e), t
}
var $o;

function Hw(e, t, n) {
	var r = n.getHandler(),
		i = Array.isArray(r) ? r : [r];
	return NN[e] >= NN[n.getLevel()] && Dh(i, t)
}
var qe = {
		ok: "ok",
		debug: "debug",
		info: "info",
		notice: "notice",
		warn: "warn",
		error: "error",
		critical: "critical",
		alert: "alert",
		emerg: "emerg"
	},
	NN = ($o = {}, $o[qe.ok] = 0, $o[qe.debug] = 1, $o[qe.info] = 2, $o[qe.notice] = 4, $o[qe.warn] = 5, $o[qe.error] = 6, $o[qe.critical] = 7, $o[qe.alert] = 8, $o[qe.emerg] = 9, $o),
	Y9e = function(e, t, n, r) {
		var i = arguments.length,
			o = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r,
			a;
		if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, n, r);
		else
			for (var s = e.length - 1; s >= 0; s--)(a = e[s]) && (o = (i < 3 ? a(o) : i > 3 ? a(t, n, o) : a(t, n)) || o);
		return i > 3 && o && Object.defineProperty(t, n, o), o
	},
	e1 = {
		console: "console",
		http: "http",
		silent: "silent"
	},
	X9e = Object.keys(qe),
	sa = function() {
		function e(t, n, r, i, o, a) {
			i === void 0 && (i = e1.http), o === void 0 && (o = qe.debug), a === void 0 && (a = {}), this.handleLogStrategy = t, this.handlerType = i, this.level = o, this.contextManager = DC(n), this.contextManager.setContext(a), r && this.contextManager.setContextProperty("logger", {
				name: r
			})
		}
		return e.prototype.logImplementation = function(t, n, r, i, o) {
			r === void 0 && (r = qe.info);
			var a;
			if (i != null) {
				var s = i instanceof Error ? qs(i) : void 0,
					u = WW({
						stackTrace: s,
						originalError: i,
						nonErrorPrefix: "Provided",
						source: va.LOGGER,
						handling: "handled",
						startClocks: Nh()
					});
				a = {
					stack: u.stack,
					kind: u.type,
					message: u.message,
					causes: u.causes
				}
			}
			var l = Bs(n),
				c = a ? Wp({
					error: a
				}, l) : l;
			this.handleLogStrategy({
				message: Bs(t),
				context: c,
				status: r
			}, this, o)
		}, e.prototype.log = function(t, n, r, i) {
			r === void 0 && (r = qe.info);
			var o;
			Hw(r, e1.http, this) && (o = Kb()), this.logImplementation(t, n, r, i, o)
		}, e.prototype.setContext = function(t) {
			this.contextManager.setContext(t)
		}, e.prototype.getContext = function() {
			return this.contextManager.getContext()
		}, e.prototype.setContextProperty = function(t, n) {
			this.contextManager.setContextProperty(t, n)
		}, e.prototype.removeContextProperty = function(t) {
			this.contextManager.removeContextProperty(t)
		}, e.prototype.clearContext = function() {
			this.contextManager.clearContext()
		}, e.prototype.setHandler = function(t) {
			this.handlerType = t
		}, e.prototype.getHandler = function() {
			return this.handlerType
		}, e.prototype.setLevel = function(t) {
			this.level = t
		}, e.prototype.getLevel = function() {
			return this.level
		}, Y9e([r8e], e.prototype, "logImplementation", null), e
	}();
sa.prototype.ok = Ys(qe.ok);
sa.prototype.debug = Ys(qe.debug);
sa.prototype.info = Ys(qe.info);
sa.prototype.notice = Ys(qe.notice);
sa.prototype.warn = Ys(qe.warn);
sa.prototype.error = Ys(qe.error);
sa.prototype.critical = Ys(qe.critical);
sa.prototype.alert = Ys(qe.alert);
sa.prototype.emerg = Ys(qe.emerg);

function Ys(e) {
	return function(t, n, r) {
		var i;
		Hw(e, e1.http, this) && (i = Kb()), this.logImplementation(t, n, e, r, i)
	}
}

function J9e(e, t) {
	return {
		view: {
			referrer: document.referrer,
			url: window.location.href
		},
		context: e.getContext(),
		user: t.getContext()
	}
}
var Q9e = 32 * Vs;

function eRe(e) {
	e.usePciIntake === !0 && e.site && e.site !== "datadoghq.com" && Kn.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");
	var t = Q8e(e),
		n = DN(e.forwardConsoleLogs, Bp(En), "Forward Console Logs"),
		r = DN(e.forwardReports, Bp(ul), "Forward Reports");
	if (!(!t || !n || !r)) return e.forwardErrorsToLogs && !Dh(n, En.error) && n.push(En.error), Dr({
		forwardErrorsToLogs: e.forwardErrorsToLogs !== !1,
		forwardConsoleLogs: n,
		forwardReports: r,
		requestErrorResponseLengthLimit: Q9e,
		sendLogsAfterSessionExpiration: !!e.sendLogsAfterSessionExpiration
	}, t)
}

function DN(e, t, n) {
	if (e === void 0) return [];
	if (!(e === "all" || Array.isArray(e) && e.every(function(r) {
			return Dh(t, r)
		}))) {
		Kn.error("".concat(n, ' should be "all" or an array with allowed values "').concat(t.join('", "'), '"'));
		return
	}
	return e === "all" ? t : FTe(e)
}

function tRe(e) {
	var t = eTe(e);
	return Dr({
		forward_errors_to_logs: e.forwardErrorsToLogs,
		forward_console_logs: e.forwardConsoleLogs,
		forward_reports: e.forwardReports,
		use_pci_intake: e.usePciIntake,
		send_logs_after_session_expiration: e.sendLogsAfterSessionExpiration
	}, t)
}

function nRe(e, t, n) {
	var r = eK(),
		i, o, a = t.observable.subscribe(s);

	function s() {
		if (!(!o || !i || !t.isGranted())) {
			a.unsubscribe();
			var u = n(i, o);
			r.drain(u)
		}
	}
	return {
		init: function(u) {
			if (!u) {
				Kn.error("Missing configuration");
				return
			}
			if (tTe(u.enableExperimentalFeatures), jw() && (u = rRe(u)), i = u, o) {
				qW("DD_LOGS", u);
				return
			}
			var l = eRe(u);
			l && (o = l, pK().subscribe(wl), t.tryToInit(l.trackingConsent), s())
		},
		get initConfiguration() {
			return i
		},
		getInternalContext: wl,
		handleLog: function(u, l, c, d, p) {
			d === void 0 && (d = e()), p === void 0 && (p = Nl()), r.add(function(g) {
				return g.handleLog(u, l, c, d, p)
			})
		}
	}
}

function rRe(e) {
	return Dr({}, e, {
		clientToken: "empty"
	})
}
var $N = "logs";

function iRe(e) {
	var t = H9e(),
		n = DC(t.getOrCreateTracker(2)),
		r = DC(t.getOrCreateTracker(1)),
		i = D8e();

	function o() {
		return J9e(n, r)
	}
	var a = nRe(o, i, function(l, c) {
			l.storeContextsAcrossPages && (MN(c, n, $N, 2), MN(c, r, $N, 1));
			var d = e(l, c, o, i);
			return a = oRe(l, d), d
		}),
		s = {},
		u = new sa(function() {
			for (var l = [], c = 0; c < arguments.length; c++) l[c] = arguments[c];
			return a.handleLog.apply(a, l)
		}, t.createDetachedTracker());
	return ITe({
		logger: u,
		init: Nt(function(l) {
			return a.init(l)
		}),
		setTrackingConsent: Nt(function(l) {
			i.update(l), KTe({
				feature: "set-tracking-consent",
				tracking_consent: l
			})
		}),
		getGlobalContext: Nt(function() {
			return n.getContext()
		}),
		setGlobalContext: Nt(function(l) {
			return n.setContext(l)
		}),
		setGlobalContextProperty: Nt(function(l, c) {
			return n.setContextProperty(l, c)
		}),
		removeGlobalContextProperty: Nt(function(l) {
			return n.removeContextProperty(l)
		}),
		clearGlobalContext: Nt(function() {
			return n.clearContext()
		}),
		createLogger: Nt(function(l, c) {
			return c === void 0 && (c = {}), s[l] = new sa(function() {
				for (var d = [], p = 0; p < arguments.length; p++) d[p] = arguments[p];
				return a.handleLog.apply(a, d)
			}, t.createDetachedTracker(), Bs(l), c.handler, c.level, Bs(c.context)), s[l]
		}),
		getLogger: Nt(function(l) {
			return s[l]
		}),
		getInitConfiguration: Nt(function() {
			return JW(a.initConfiguration)
		}),
		getInternalContext: Nt(function(l) {
			return a.getInternalContext(l)
		}),
		setUser: Nt(function(l) {
			q9e(l) && r.setContext(LN(l))
		}),
		getUser: Nt(function() {
			return r.getContext()
		}),
		setUserProperty: Nt(function(l, c) {
			var d, p = LN((d = {}, d[l] = c, d))[l];
			r.setContextProperty(l, p)
		}),
		removeUserProperty: Nt(function(l) {
			return r.removeContextProperty(l)
		}),
		clearUser: Nt(function() {
			return r.clearContext()
		})
	})
}

function oRe(e, t) {
	return Dr({
		init: function(n) {
			qW("DD_LOGS", n)
		},
		initConfiguration: e
	}, t)
}
var aRe = "logs";

function sRe(e, t) {
	var n = e9e(e, aRe, function(r) {
		return lRe(e, r)
	}, t);
	return {
		findTrackedSession: function(r, i) {
			i === void 0 && (i = {
				returnInactive: !1
			});
			var o = n.findSession(r, i);
			return o && o.trackingType === "1" ? {
				id: o.id
			} : void 0
		},
		expireObservable: n.expireObservable
	}
}

function uRe(e) {
	var t = vK(e) === "1",
		n = t ? {} : void 0;
	return {
		findTrackedSession: function() {
			return n
		},
		expireObservable: new rr
	}
}

function vK(e) {
	return i2(e.sessionSampleRate) ? "1" : "0"
}

function lRe(e, t) {
	var n = cRe(t) ? t : vK(e);
	return {
		trackingType: n,
		isTracked: n === "1"
	}
}

function cRe(e) {
	return e === "0" || e === "1"
}
var FN = !1;

function u2(e) {
	var t = window;
	if (hK()) {
		var n = r(t.DD_RUM_SYNTHETICS);
		return !n && !FN && (FN = !0, nK("Logs sent before RUM is injected by the synthetics worker", {
			testId: K9e(),
			resultId: Z9e()
		})), n
	}
	return r(t.DD_RUM);

	function r(i) {
		if (i && i.getInternalContext) return i.getInternalContext(e)
	}
}

function fRe(e, t, n, r, i) {
	var o = X9e.concat(["custom"]),
		a = {};
	o.forEach(function(s) {
		a[s] = S9e(s, t.eventRateLimiterThreshold, i)
	}), n.subscribe(0, function(s) {
		var u, l, c = s.rawLogsEvent,
			d = s.messageContext,
			p = d === void 0 ? void 0 : d,
			g = s.savedCommonContext,
			m = g === void 0 ? void 0 : g,
			_ = s.domainContext,
			S = Z7e(c.date),
			y = e.findTrackedSession(S);
		if (!(!y && (!t.sendLogsAfterSessionExpiration || !e.findTrackedSession(S, {
				returnInactive: !0
			})))) {
			var w = m || r(),
				b = Wp({
					service: t.service,
					session_id: y ? y.id : void 0,
					usr: q8(w.user) ? void 0 : w.user,
					view: w.view
				}, w.context, u2(S), c, p);
			((u = t.beforeSend) === null || u === void 0 ? void 0 : u.call(t, b, _)) === !1 || b.origin !== va.AGENT && ((l = a[b.status]) !== null && l !== void 0 ? l : a.custom).isLimitReached() || n.notify(1, b)
		}
	})
}
var cc, dRe = (cc = {}, cc[En.log] = qe.info, cc[En.debug] = qe.debug, cc[En.info] = qe.info, cc[En.warn] = qe.warn, cc[En.error] = qe.error, cc);

function pRe(e, t) {
	var n = A9e(e.forwardConsoleLogs).subscribe(function(r) {
		var i = {
			rawLogsEvent: {
				date: Nl(),
				message: r.message,
				origin: va.CONSOLE,
				error: r.api === En.error ? {
					stack: r.stack,
					fingerprint: r.fingerprint,
					causes: r.causes
				} : void 0,
				status: dRe[r.api]
			},
			domainContext: {
				handlingStack: r.handlingStack
			}
		};
		t.notify(0, i)
	});
	return {
		stop: function() {
			n.unsubscribe()
		}
	}
}
var L0, hRe = (L0 = {}, L0[ul.cspViolation] = qe.error, L0[ul.intervention] = qe.error, L0[ul.deprecation] = qe.warn, L0);

function vRe(e, t) {
	var n = ATe(e, e.forwardReports).subscribe(function(r) {
		var i = r.message,
			o = hRe[r.type],
			a;
		o === qe.error ? a = {
			kind: r.subtype,
			stack: r.stack
		} : r.stack && (i += " Found in ".concat(CTe(r.stack))), t.notify(0, {
			rawLogsEvent: {
				date: Nl(),
				message: i,
				origin: va.REPORT,
				error: a,
				status: o
			}
		})
	});
	return {
		stop: function() {
			n.unsubscribe()
		}
	}
}

function gRe(e, t) {
	if (!e.forwardErrorsToLogs) return {
		stop: wl
	};
	var n = x9e(e).subscribe(function(o) {
			o.state === "complete" && i("xhr", o)
		}),
		r = pK().subscribe(function(o) {
			o.state === "resolve" && i("fetch", o)
		});

	function i(o, a) {
		!e.isIntakeUrl(a.url) && (_Re(a) || iK(a.status)) && ("xhr" in a ? mRe(a.xhr, e, s) : a.response ? wRe(a.response, e, s) : a.error && yRe(a.error, e, s));

		function s(u) {
			var l = {
				isAborted: a.isAborted,
				handlingStack: a.handlingStack
			};
			t.notify(0, {
				rawLogsEvent: {
					message: "".concat(bRe(o), " error ").concat(a.method, " ").concat(a.url),
					date: a.startClocks.timeStamp,
					error: {
						stack: u || "Failed to load"
					},
					http: {
						method: a.method,
						status_code: a.status,
						url: a.url
					},
					status: qe.error,
					origin: va.NETWORK
				},
				domainContext: l
			})
		}
	}
	return {
		stop: function() {
			n.unsubscribe(), r.unsubscribe()
		}
	}
}

function mRe(e, t, n) {
	typeof e.response == "string" ? n(aT(e.response, t)) : n(e.response)
}

function yRe(e, t, n) {
	n(aT(Mf(qs(e)), t))
}

function wRe(e, t, n) {
	var r = i9e(e);
	!r || !r.body ? n() : window.TextDecoder ? SRe(r.body, t.requestErrorResponseLengthLimit, function(i, o) {
		n(i ? "Unable to retrieve response: ".concat(i) : o)
	}) : r.text().then(Nt(function(i) {
		return n(aT(i, t))
	}), Nt(function(i) {
		return n("Unable to retrieve response: ".concat(i))
	}))
}

function _Re(e) {
	return e.status === 0 && e.responseType !== "opaque"
}

function aT(e, t) {
	return e.length > t.requestErrorResponseLengthLimit ? "".concat(e.substring(0, t.requestErrorResponseLengthLimit), "...") : e
}

function bRe(e) {
	return e === "xhr" ? "XHR" : "Fetch"
}

function SRe(e, t, n) {
	B9e(e, function(r, i, o) {
		if (r) n(r);
		else {
			var a = new TextDecoder().decode(i);
			o && (a += "..."), n(void 0, a)
		}
	}, {
		bytesLimit: t,
		collectStreamBody: !0
	})
}

function xRe(e, t) {
	if (!e.forwardErrorsToLogs) return {
		stop: wl
	};
	var n = new rr,
		r = OTe(n).stop,
		i = n.subscribe(function(o) {
			t.notify(0, {
				rawLogsEvent: {
					message: o.message,
					date: o.startClocks.timeStamp,
					error: {
						kind: o.type,
						stack: o.stack,
						causes: o.causes
					},
					origin: va.SOURCE,
					status: qe.error
				}
			})
		});
	return {
		stop: function() {
			r(), i.unsubscribe()
		}
	}
}
var ERe = b9e,
	Fo;

function CRe(e) {
	function t(n, r, i, o, a) {
		var s = Wp(r.getContext(), n.context);
		if (Hw(n.status, e1.console, r) && TRe(n, s), Hw(n.status, e1.http, r)) {
			var u = {
				rawLogsEvent: {
					date: a || Nl(),
					message: n.message,
					status: n.status,
					origin: va.LOGGER
				},
				messageContext: s,
				savedCommonContext: o
			};
			i && (u.domainContext = {
				handlingStack: i
			}), e.notify(0, u)
		}
	}
	return {
		handleLog: t
	}
}
var ORe = (Fo = {}, Fo[qe.ok] = En.debug, Fo[qe.debug] = En.debug, Fo[qe.info] = En.info, Fo[qe.notice] = En.info, Fo[qe.warn] = En.warn, Fo[qe.error] = En.error, Fo[qe.critical] = En.error, Fo[qe.alert] = En.error, Fo[qe.emerg] = En.error, Fo);

function TRe(e, t) {
	var n = e.status,
		r = e.message;
	_c[ORe[n]].call(Pa, r, t)
}

function RRe(e, t, n, r, i) {
	var o = dK(e, {
		endpoint: e.logsEndpointBuilder,
		encoder: Uw()
	}, e.replica && {
		endpoint: e.replica.logsEndpointBuilder,
		encoder: Uw()
	}, n, r, i.expireObservable);
	return t.subscribe(1, function(a) {
		o.add(a)
	}), o
}

function IRe(e) {
	var t = iT();
	e.subscribe(1, function(n) {
		t.send("log", n)
	})
}

function kRe(e) {
	return {
		get: function(t) {
			var n = e.findTrackedSession(t);
			if (n) return {
				session_id: n.id
			}
		}
	}
}

function ARe(e) {
	return function(t) {
		e.notify(0, {
			rawLogsEvent: {
				message: t.message,
				date: t.startClocks.timeStamp,
				origin: va.AGENT,
				status: qe.error
			}
		}), nK("Error reported to customer", {
			"error.message": t.message
		})
	}
}

function MRe(e, t, n, r, i) {
	var o = VTe("browser-logs-sdk", t);
	o.setContextProvider(function() {
		var d, p, g, m, _, S;
		return {
			application: {
				id: (d = u2()) === null || d === void 0 ? void 0 : d.application_id
			},
			session: {
				id: (p = i.findTrackedSession()) === null || p === void 0 ? void 0 : p.id
			},
			view: {
				id: (m = (g = u2()) === null || g === void 0 ? void 0 : g.view) === null || m === void 0 ? void 0 : m.id
			},
			action: {
				id: (S = (_ = u2()) === null || _ === void 0 ? void 0 : _.user_action) === null || S === void 0 ? void 0 : S.id
			}
		}
	});
	var a = [];
	if (jw()) {
		var s = iT(),
			u = o.observable.subscribe(function(d) {
				return s.send("internal_telemetry", d)
			});
		a.push(function() {
			return u.unsubscribe()
		})
	} else {
		var l = dK(t, {
			endpoint: t.rumEndpointBuilder,
			encoder: Uw()
		}, t.replica && {
			endpoint: t.replica.rumEndpointBuilder,
			encoder: Uw()
		}, n, r, i.expireObservable);
		a.push(function() {
			return l.stop()
		});
		var c = o.observable.subscribe(function(d) {
			return l.add(d, GTe(t))
		});
		a.push(function() {
			return c.unsubscribe()
		})
	}
	return zTe(), WTe(tRe(e)), {
		telemetry: o,
		stop: function() {
			a.forEach(function(d) {
				return d()
			})
		}
	}
}

function PRe(e, t, n, r) {
	var i = new ERe,
		o = [];
	i.subscribe(1, function(g) {
		return XW("logs", g)
	});
	var a = ARe(i),
		s = m9e(t),
		u = t.sessionStoreStrategyType && !jw() && !hK() ? sRe(t, r) : uRe(t),
		l = MRe(e, t, a, s, u).stop;
	o.push(function() {
		return l()
	}), gRe(t, i), xRe(t, i), pRe(t, i), vRe(t, i);
	var c = CRe(i).handleLog;
	if (fRe(u, t, i, n, a), jw()) IRe(i);
	else {
		var d = RRe(t, i, a, s, u).stop;
		o.push(function() {
			return d()
		})
	}
	var p = kRe(u);
	return {
		handleLog: c,
		getInternalContext: p.get,
		stop: function() {
			o.forEach(function(g) {
				return g()
			})
		}
	}
}
var Td = iRe(PRe);
kTe(Dl(), "DD_LOGS", Td);
const LRe = "datadoghq.com",
	NRe = "onboard",
	DRe = () => {
		let e = !1;
		const t = () => {
				e || (Td.init({
					clientToken: "pub65a8cdad695cd20d151bdacdc5e4153f",
					site: LRe,
					service: NRe,
					env: "prod"
				}), e = !0)
			},
			n = r => (...i) => (e || t(), r(...i));
		return {
			initialize: t,
			addGlobalContext: n(r => {
				const i = Td.getGlobalContext();
				Td.setGlobalContext({
					...i,
					...r
				})
			}),
			info: n((r, i) => {
				Td.logger.info(r, i)
			}),
			error: n((r, i, o) => {
				Td.logger.error(r, i, o)
			})
		}
	},
	rg = DRe();

function $Re(e) {
	const t = {
		...Ue.parse(jn.location.search),
		...e
	};
	jn.push(jn.location.pathname + "?" + Ue.stringify(t))
}

function gK(e) {
	const t = {
		...Ue.parse(jn.location.search),
		...e
	};
	jn.replace(jn.location.pathname + "?" + Ue.stringify(t))
}

function Hot(e) {
	const t = {
		...Ue.parse(jn.location.search)
	};
	e.forEach(n => delete t[n]), jn.replace(jn.location.pathname + "?" + Ue.stringify(t))
}

function Vot() {
	const {
		search: e
	} = ha();
	return J.useMemo(() => Ue.parse(e), [e])
}
const Bot = "gpt-4o",
	zot = "gpt-4-turbo",
	jN = "davinci-msft",
	FRe = {
		label: "No models available",
		value: "No models available",
		allowedCompletionModes: []
	},
	jRe = {
		contextLength: 4097,
		label: "gpt-3.5-turbo-instruct",
		value: "gpt-3.5-turbo-instruct",
		allowedCompletionModes: [Lr.freeform],
		maxTokens: 4097
	},
	Got = (e, t) => {
		const n = t.filter(r => r.id === e);
		return n.length > 0 && !!n[0].retrieval_enabled
	};

function URe(e, t, n = Lr.freeform) {
	var u;
	const r = HRe(n),
		i = lT(t, n);
	let o = e != null && e.email.endsWith("@microsoft.com") ? jN : r;
	const a = Ue.parse(window.location.search);
	if (typeof a.model == "string") {
		const l = i.find(c => c.value === a.model);
		if (t.length === 0) return {
			label: a.model,
			value: a.model,
			allowedCompletionModes: [n]
		};
		l ? o = l.value : gK({
			model: void 0
		})
	}
	const s = t.find(l => l.value === o);
	return s ? (s.value === jN && rg.info("Using davinci-msft initial model"), s) : (u = i[0]) != null ? u : FRe
}

function HRe(e = Lr.freeform) {
	return ig[e].defaultEngine
}
const VRe = /^(cursing-filter-|content-filter-)/,
	Go = {
		GPT3_5: "GPT-3.5",
		FILTER: "Content filtering",
		CHAT: "Chat",
		FINE_TUNES: "Fine-tunes",
		OTHER: "Other"
	};

function BRe(e, t, n = {}) {
	const {
		includeFineTunedModels: r = !1,
		includeEmbeddingModels: i = !1,
		includeAsrModels: o = !1
	} = n, {
		user: a,
		loading: s
	} = ft(), u = !!(e && a), {
		data: l = [],
		isLoading: c
	} = S7({
		queryKey: [e, t, "list_models", "get"],
		enabled: u,
		staleTime: 1 / 0,
		queryFn: () => Nn.listModels().then(({
			data: d
		}) => d).catch(d => (console.error("Error listing models", d), []))
	});
	return h.useMemo(() => !e && !s ? {
		engineOptions: JRe,
		isLoading: !1
	} : c ? {
		engineOptions: [],
		isLoading: !0
	} : {
		engineOptions: l.filter(p => p.owned_by === "openai" && VRe.test(p.id) && !(a != null && a.isInternal) ? (rg.info("Hiding filter engine", {
			modelId: p.id
		}), !1) : !(!i && GRe(p.id) || !o && WRe(p.id) || !r && sT(p.id))).map(p => wK(p.id)),
		isLoading: !1
	}, [e, s, c, o, i, r, l, a == null ? void 0 : a.isInternal])
}

function UN(e) {
	return sT(e) ? Go.FINE_TUNES : /^(content|cursing)-filter-/.test(e) ? Go.FILTER : zRe(e) ? Go.CHAT : /^text-/.test(e) || /\binstruct\b/.test(e) || /\bbase\b/.test(e) || /^(ada|babbage|curie|davinci)$/.test(e) ? Go.GPT3_5 : Go.OTHER
}

function zRe(e) {
	return /^.*$/.test(e)
}

function sT(e) {
	return /:ft-/.test(e) || mK(e)
}

function mK(e) {
	return /^ft:/.test(e)
}

function Wot(e) {
	return /^ft:gpt-/.test(e)
}

function Kot(e) {
	return mK(e) ? e.split(":")[1] : e
}

function uT(e) {
	const t = e.split(":ft-")[0];
	return /code-|codegen|github|codex/.test(t)
}

function GRe(e) {
	return !!(/^(text-search-|text-similarity-|code-search-|text-embedding-)/.test(e) || /^(ada|babbage|curie|davinci)-search-(query|document)/.test(e) || /^(ada|babbage|curie|davinci)-similarity/.test(e) || /^(ada|babbage|curie|davinci)-code-search-(code|text)/.test(e))
}

function WRe(e) {
	return /^audio|^asr|^whisper/.test(e)
}
const yK = 4097,
	KRe = {
		"gpt-3.5-turbo": 4097,
		"gpt-3.5-turbo-0301": 4097,
		"gpt-3.5-turbo-0613": 4097,
		"gpt-3.5-turbo-1106": 16385,
		"gpt-3.5-turbo-0125": 16385,
		"gpt-3.5-turbo-16k": 16385,
		"gpt-3.5-turbo-16k-0613": 16385,
		"gpt-3.5-turbo-instruct": 4097,
		"gpt-4": 8192,
		"gpt-4-0314": 8192,
		"gpt-4-0613": 8192,
		"gpt-4-32k": 32768,
		"gpt-4-32k-0314": 32768,
		"gpt-4-32k-0613": 32768,
		"gpt-4-1106-preview": 128e3,
		"gpt-4-0125-preview": 128e3,
		"gpt-4-turbo-preview": 128e3
	};

function ZRe(e) {
	var t;
	return (t = e.contextLength) != null ? t : yK
}
const qRe = {
	"gpt-3.5-turbo-1106": 4096,
	"gpt-3.5-turbo-0125": 4096,
	"gpt-4-1106-preview": 4096,
	"gpt-4-0125-preview": 4096,
	"gpt-4-turbo-preview": 4096,
	"gpt-4-turbo": 4096,
	"gpt-4-turbo-2024-04-09": 4096,
	"gpt-4o": 4096,
	"gpt-4o-2024-05-13": 4096,
	"gpt-4o-2024-08-06": 16384,
	"gpt-4o-mini": 16384,
	"gpt-4o-mini-2024-07-18": 16384
};

function YRe(e) {
	var t;
	return (t = e.maxTokens) != null ? t : ZRe(e)
}
const ig = {
		[Lr.freeform]: {
			defaultEngine: "gpt-3.5-turbo-instruct",
			unsupportedEngines: ["code-davinci-edit-001", /^text-davinci*/, /^tts*/, /^dall*/, /^gpt-4-(?!base).*/, "gpt-4", /^gpt-3\.5-turbo-(?!instruct)(?!base).*$/, "gpt-3.5-turbo", /^ft:gpt.*/, "curie-instruct-beta", "text-curie-001", "text-babbage-001", "text-ada-001", "davinci-instruct-beta", "ada", "babbage", "curie", "davinci", "gpt-4o", "gpt-4o-mini", /^gpt-4o-.*/, /^gpt-4o-mini-.*/, /^gpt-.*-test/]
		},
		[Lr.chat]: {
			defaultEngine: "gpt-4o",
			supportedEngines: [/^.*$/, "gpt-4o-mini", "gpt-4o-mini-2024-07-18", "gpt-3.5-turbo", "gpt-3.5-turbo-0301", "gpt-3.5-turbo-0613", "gpt-3.5-turbo-1106", "gpt-3.5-turbo-0125", "gpt-3.5-turbo-16k", "gpt-3.5-turbo-16k-0613", /^gpt-3-5-turbo-.*/, /^gpt-3\.5-turbo-(?!instruct)(?!base).*$/, /^gpt-dv-.*/, /^gpt-4[a-z]?-(?!vision)(?!base).*/, /^gpt-4[a-z]$/, "gpt-4", "gpt-4-0613", "gpt-4-1106-preview", "gpt-4-0125-preview", "gpt-4-turbo-preview", "gpt-4-turbo", "gpt-4-32k", "gpt-4-32k-0613", /^.*-test.*/, /^ft:gpt.*/, /^gpt-.*-test/, /^.*$/],
			unsupportedParameters: ["logProbs", "bestOf", "startSequence", "restartSequence"]
		},
		[Lr.assistant]: {
			defaultEngine: "gpt-3.5-turbo",
			supportedEngines: ["gpt-3.5-turbo"]
		}
	},
	wK = e => {
		const t = KRe[e] || yK,
			n = qRe[e] || t;
		return {
			label: e,
			value: e,
			allowedCompletionModes: QRe(e),
			contextLength: t,
			maxTokens: n
		}
	},
	XRe = e => {
		const t = ig[e].defaultEngine;
		return wK(t)
	},
	JRe = Object.values(Lr).map(XRe);

function QRe(e) {
	return Object.values(Lr).filter(t => {
		const {
			supportedEngines: n,
			unsupportedEngines: r
		} = ig[t];
		return n ? n.some(i => typeof i == "string" ? i === e : i.test(e)) : r ? !r.some(i => typeof i == "string" ? i === e : i.test(e)) : !0
	})
}

function eIe(e, t) {
	return e.allowedCompletionModes.includes(t)
}

function lT(e, t = Lr.freeform) {
	return e.filter(n => eIe(n, t))
}

function Zot(e, t = Lr.freeform) {
	const {
		unsupportedParameters: n
	} = ig[t];
	return !n || !n.includes(e)
}
var $C;
(function(e) {
	e.owner = "owner", e.writer = "writer", e.reader = "reader"
})($C || ($C = {}));
var Vw;
(function(e) {
	e.owner = "owner", e.member = "member"
})(Vw || (Vw = {}));
var wv;
(function(e) {
	e.SIGNUP_REQUIRED = "signup_required", e.ACCEPTED = "accepted"
})(wv || (wv = {}));
var HN;
(function(e) {
	e.allow_list = "ALLOW_LIST", e.deny_list = "DENY_LIST"
})(HN || (HN = {}));
var VN;
(function(e) {
	e.free = "free", e.payg = "payg", e.custom = "custom", e.unlimited = "unlimited"
})(VN || (VN = {}));
var BN;
(function(e) {
	e.advance = "advance", e.arrears = "arrears"
})(BN || (BN = {}));
var zN;
(function(e) {
	e.tier1 = "tier1", e.tier2 = "tier2", e.tier3 = "tier3", e.tier4 = "tier4", e.tier5 = "tier5"
})(zN || (zN = {}));
var GN;
(function(e) {
	e.Individual = "individual", e.Company = "company"
})(GN || (GN = {}));

function qot(e) {
	return e.type === "metrics"
}

function Yot(e) {
	return e.type === "message"
}
const Xot = ["/v1/chat/completions/"+jtc_password, "/v1/embeddings", "/v1/completions"];
var WN;
(function(e) {
	e.CODE_INTERPRETER = "code_interpreter", e.RETRIEVAL = "retrieval", e.FILE_SEARCH = "file_search", e.FUNCTION = "function", e.TOOL3 = "browser"
})(WN || (WN = {}));
const Jot = ["fine-tune", "assistants", "user_data", "batch", "vision"];
var KN;
(function(e) {
	e.VERIFIED = "verified", e.PENDING = "pending", e.EXPIRED = "expired"
})(KN || (KN = {}));
const Qot = ["alloy", "echo", "fable", "onyx", "nova", "shimmer"],
	eat = ["tts-1", "tts-1-hd"],
	tat = ["mp3", "opus", "aac", "flac", "wav", "pcm"];

function tIe() {
	const [, e] = h.useState(!1);
	return h.useCallback(() => {
		e({})
	}, [])
}
const Pu = "proj_default",
	_K = J.createContext({}),
	Ro = () => h.useContext(_K),
	bK = (e, t = null) => {
		let n = Fn.getItem(tr.ActiveProj) || {};
		typeof n != "object" && (n = {});
		const r = window._oai_globalOrgId || t;
		r && r != null && (n[r] = e), Fn.setItem(tr.ActiveProj, n), window._oai_globalProjId = e || void 0
	},
	nIe = J.memo(({
		children: e
	}) => {
		const {
			user: t
		} = ft(), n = tIe(), r = h.useRef(null), i = h.useRef(Pu);
		h.useMemo(() => {
			if (!t) return;
			const u = t.orgs.data || [],
				l = (() => {
					const p = Ue.parse(window.location.search);
					if (p.with_org) {
						const _ = u.find(S => S.id === p.with_org);
						if (_) return _.id;
						Ui.danger("Could not access the organization specified in the URL")
					}
					const g = Fn.getItem(tr.ActiveOrg);
					if (g && u.find(_ => _.id === g)) return g;
					const m = u.find(_ => _.is_default) || u.find(_ => _.name.toLowerCase() === t.id.toLowerCase());
					if (m) return m.id;
					if (u[0]) return u[0].id
				})(),
				c = u.find(p => p.id === l),
				d = (() => {
					var g;
					const p = Fn.getItem(tr.ActiveProj);
					return p && p[l] ? p[l] : ((g = c == null ? void 0 : c.projects.data.find(m => m.is_initial)) == null ? void 0 : g.id) || Pu
				})();
			r.current = l, i.current = d || Pu, Tn.setUserInfo({
				orgId: l,
				projectId: d
			}), rg.addGlobalContext({
				orgId: l,
				projectId: d
			}), window._oai_globalOrgId = l, window._oai_globalProjId = d
		}, [t]);
		const o = h.useCallback(u => {
				var p;
				Fn.setItem(tr.ActiveOrg, u), window._oai_globalOrgId = u != null ? u : void 0, r.current = u;
				const l = Fn.getItem(tr.ActiveProj),
					c = t == null ? void 0 : t.orgs.data.find(g => g.id === u),
					d = u && l && l[u] ? l[u] || Pu : ((p = c == null ? void 0 : c.projects.data.find(g => g.is_initial)) == null ? void 0 : p.id) || Pu;
				i.current = d, window._oai_globalProjId = d, Tn.setUserInfo({
					orgId: u,
					projectId: d
				}), n()
			}, [n, t]),
			a = h.useCallback(u => {
				bK(u, r.current), i.current = u, Tn.setUserInfo({
					projectId: u
				}), n()
			}, [n]),
			s = h.useMemo(() => {
				const l = ((t ? t.orgs.data : null) || []).find(p => p.id === r.current) || null,
					c = l && l.projects ? l.projects.data || [] : [];
				if (l && c.find(p => xK(p)) === void 0) {
					const p = l.role === $C.owner ? Vw.owner : Vw.member;
					c.push({
						object: "project",
						id: Pu,
						title: "Default project",
						created: l == null ? void 0 : l.created,
						is_initial: !0,
						organization_id: l == null ? void 0 : l.id,
						role: p,
						geography: null,
						scale_tier_enabled: !1
					})
				}
				const d = c.find(p => p.id === i.current) || null;
				return {
					activeOrgId: r.current,
					activeOrg: l,
					setActiveOrgId: o,
					activeProjId: i.current,
					activeProj: d,
					setActiveProjId: a
				}
			}, [t, r.current, o, i.current, a]);
		return C.jsx(_K.Provider, {
			value: s,
			children: e
		})
	});

function nat(e) {
	return e ? e.title ? e.title : e.personal ? "Personal" : e.name : ""
}

function SK(e) {
	return e === Pu
}

function xK(e) {
	return e ? SK(e.id) || !!(e != null && e.is_initial) : !1
}

function rat(e) {
	return e ? e.id === Pu : !1
}
const ne = "https://api.openai.com",
	Ft = "https://api.openai.com",
	Eu = ne,
	_s = class _s {
		static setApiKey(t) {
			this.apiKey = t.sensitive_id
		}
		static getApiKeyHeader(t) {
			return {
				Authorization: "Bearer ".concat(t || this.apiKey)
			}
		}
		static getBetaHeader(t) {
			return {
				"OpenAI-Beta": t
			}
		}
		static getSentinelHeaders(t, n) {
			const r = {},
				i = "OpenAI-Sentinel-";
			return t && typeof t == "string" && (r["".concat(i, "Arkose-Token")] = t), n && typeof n == "string" && (r["".concat(i, "Token")] = n), r
		}
		static refreshApiKey() {
			return this.apiKeyRefreshing ? this.apiKeyRefreshing : (this.apiKeyRefreshing = (async () => {
				if (!this.auth0Client) throw new Error("Cannot refresh API key without Auth0 token provider");
				Tn.dashboardEvent({
					name: qo.authorizationApiKeyRefresh
				}), this.auth0Token = await this.auth0Client.getTokenSilently();
				const {
					user: t
				} = await this.login(this.auth0Token);
				_s.setApiKey(t.session)
			})(), setTimeout(() => {
				this.apiKeyRefreshing = null
			}, 6e4), this.apiKeyRefreshing)
		}
		static getOrgHeader(t) {
			return typeof t > "u" && (t = window._oai_globalOrgId), t != null ? {
				"OpenAI-Organization": t
			} : {}
		}
		static getProjectHeader(t) {
			return typeof t > "u" && (t = window._oai_globalProjId), t != null && !SK(t) ? {
				"OpenAI-Project": t
			} : {}
		}
		static getDefaultHeaders(t) {
			return {
				"Content-Type": "application/json",
				...this.getApiKeyHeader(),
				...this.getOrgHeader(t.orgId),
				...this.getProjectHeader(t.projectId)
			}
		}
		static async fetchBlob(t, n, r = {}) {
			const i = await fetch(t, n),
				o = i.blob();
			let a;
			try {
				a = await o
			} catch (d) {}
			const s = a == null ? void 0 : a.error;
			if (i.status >= 500) throw new Cr(s == null ? void 0 : s.message);
			let u = r.defaultFileName;
			const l = i.headers.get("Content-Disposition"),
				c = l == null ? void 0 : l.match(/filename=([^;]+)/);
			if (c && (u = c[1]), !u) throw new Cr("Could not extract filename from response");
			if (i.status >= 400) {
				if ((s == null ? void 0 : s.code) === "expired_session_key") {
					try {
						if (!r.isRetry) return await this.refreshApiKey(), this.fetchBlob(t, n, {
							...r,
							isRetry: !0
						})
					} catch (d) {
						console.error("Failed to refresh expired session API key: ".concat(d))
					}
					window._oai_handleSessionExpired()
				}
				throw s != null && s.type ? new Ta(s.message, i.status, s.code, s.type) : new Cr(s == null ? void 0 : s.message)
			}
			return i.status === 204 ? {} : {
				blob: o,
				filename: u
			}
		}
		static async fetch(t, n, r = {}) {
			const i = await fetch(t, n),
				o = r.isBlob ? i.blob() : i.json();
			let a;
			try {
				a = await o
			} catch (u) {}
			let s = a == null ? void 0 : a.error;
			if (i.status >= 500) throw new Cr(s == null ? void 0 : s.message);
			if (i.status >= 400) {
				if (!s && r.isBlob && a instanceof Blob) try {
					const u = await a.text(),
						l = JSON.parse(u);
					l && l.error && (s = l.error)
				} catch (u) {}
				if ((s == null ? void 0 : s.code) === "expired_session_key") {
					try {
						if (!r.isRetry) return await this.refreshApiKey(), this.fetch(t, n, {
							...r,
							isRetry: !0
						})
					} catch (u) {
						console.error("Failed to refresh expired session API key: ".concat(u))
					}
					window._oai_handleSessionExpired()
				}
				throw (s == null ? void 0 : s.code) === "not_authorized_invalid_project" && (i.status === 401 || i.status === 403) && (bK(null), window.location.reload()), s != null && s.type ? new Ta(s.message, i.status, s.code, s.type) : new Cr(s == null ? void 0 : s.message)
			}
			return i.status === 204 ? {} : o
		}
		static login(t) {
			return this.auth0Token = t, this.fetch("".concat(ne, "/dashboard/onboarding/login"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					Authorization: "Bearer ".concat(t)
				},
				body: JSON.stringify({})
			})
		}
		static resendVerificationEmail(t, n) {
			const r = {
				"Content-Type": "application/json",
				Authorization: "Bearer ".concat(t)
			};
			return n && !Array.isArray(n) && (r["X-OAI-APP"] = n), this.fetch("".concat(ne, "/dashboard/onboarding/verify_email"), {
				method: "POST",
				headers: r
			})
		}
		static sendEmailVerification(t, n, r) {
			const i = {
				"Content-Type": "application/json",
				Authorization: "Bearer ".concat(t)
			};
			return n && !Array.isArray(n) && (i["X-OAI-APP"] = n), i["Accept-Language"] = r, this.fetch("".concat(ne, "/dashboard/onboarding/email/verify"), {
				method: "POST",
				headers: i
			})
		}
		static checkEmail(t, n, r) {
			const i = {
					"Content-Type": "application/json"
				},
				o = parseInt(n, 10);
			return this.fetch("".concat(ne, "/dashboard/onboarding/email/check"), {
				method: "POST",
				headers: i,
				body: JSON.stringify({
					uid: t,
					timestamp: o,
					token: r
				})
			})
		}
		static sendPhoneVerification(t, n, r, i, o, a = S2.ONBOARDING) {
			return this.fetch("".concat(ne, "/dashboard/onboarding/phone/verify"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					Authorization: "Bearer ".concat(i),
					...o
				},
				body: JSON.stringify({
					phone_number: t,
					country_iso: n,
					channel: r,
					request_origin: a
				})
			})
		}
		static checkPhoneVerification(t, n, r, i = S2.ONBOARDING) {
			return this.fetch("".concat(ne, "/dashboard/onboarding/phone/check"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					Authorization: "Bearer ".concat(r)
				},
				body: JSON.stringify({
					verification_id: t,
					verification_code: n,
					request_origin: i
				})
			})
		}
		static createAccount(t, n, r) {
			return this.fetch("".concat(ne, "/dashboard/onboarding/create_account"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					Authorization: "Bearer ".concat(r),
					...n
				},
				body: JSON.stringify(t)
			})
		}
		static getOnboardingSession(t) {
			return this.fetch("".concat(ne, "/dashboard/onboarding/session"), {
				method: "GET",
				headers: {
					"Content-Type": "application/json",
					Authorization: "Bearer ".concat(t)
				}
			})
		}
		static logout() {
			return this.fetch("".concat(ne, "/dashboard/logout"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify({
					access_token: this.auth0Token
				})
			})
		}
		static logout_all() {
			return this.fetch("".concat(ne, "/dashboard/user/logout_all"), {
				method: "POST",
				headers: {
					Authorization: "Bearer ".concat(this.auth0Token)
				}
			})
		}
		static getOrganizationApiKeys(t, n = !1) {
			const r = Ue.stringify({
				exclude_project_api_keys: n
			});
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/api_keys?").concat(r), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static updateOrgApiKeys(t, n, r) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/api_keys"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...r != null ? r : {}
				},
				body: JSON.stringify(n)
			})
		}
		static getProjectApiKeys(t, n) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/api_keys"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static updateProjectApiKeys(t, n, r, i) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/api_keys"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...i != null ? i : {}
				},
				body: JSON.stringify(r)
			})
		}
		static getUserApiKeys() {
			return this.fetch("".concat(ne, "/dashboard/user/api_keys"), {
				method: "GET",
				headers: this.getApiKeyHeader()
			})
		}
		static updateUserApiKeys(t, n) {
			return this.fetch("".concat(ne, "/dashboard/user/api_keys"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...n != null ? n : {}
				},
				body: JSON.stringify(t)
			})
		}
		static generateUserApiKeysTrackingId(t) {
			return this.fetch("".concat(ne, "/dashboard/user/api_keys/tracking_id"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(t)
			})
		}
		static getApiKeyScopes() {
			return this.fetch("".concat(ne, "/dashboard/user/api_keys/scopes"), {
				method: "GET",
				headers: this.getApiKeyHeader()
			})
		}
		static updateUser(t, n, r) {
			return this.fetch("".concat(ne, "/dashboard/user/").concat(encodeURIComponent(t)), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...r != null ? r : {}
				},
				body: JSON.stringify(n)
			})
		}
		static async getMFAInfo() {
			return await this.fetch("".concat(ne, "/dashboard/user/mfa_info"), {
				method: "GET",
				headers: {
					Authorization: "Bearer ".concat(this.auth0Token)
				}
			})
		}
		static async disableMFA() {
			await this.fetch("".concat(ne, "/dashboard/user/disable_mfa"), {
				method: "POST",
				headers: {
					Authorization: "Bearer ".concat(this.auth0Token)
				}
			})
		}
		static updateCookieConsent(t, n) {
			return this.fetch("".concat(ne, "/compliance/cookie_consent/").concat(encodeURIComponent(t)), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify({
					analytics_cookies_accepted: n
				})
			})
		}
		static runModerationApi(t, n) {
			return this.fetch("".concat(ne, "/v1/moderations"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify({
					input: t,
					model: n
				})
			})
		}
		static createCompletionStream(t, n, r) {
			let i = "".concat(ne, "/v1/engines/").concat(t, "/completions");
			return sT(t) && (i = "".concat(ne, "/v1/completions"), n = {
				...n,
				model: t
			}), this._streamCompletion(i, n, r)
		}
		static createSubmitFunctionResponseStream({
			threadId: t,
			runId: n,
			functionResponses: r
		}, i) {
			const o = "".concat(Ft, "/v1/threads/").concat(t, "/runs/").concat(n, "/submit_tool_outputs");
			return this._streamAssistantsCompletion(o, r, i, {
				...this.getBetaHeader("assistants=v2")
			})
		}
		static createAssistantsRunStream(t, n, r, i, o) {
			const a = "".concat(Ft, "/v1/threads/").concat(n, "/runs");
			return this._streamAssistantsCompletion(a, {
				assistant_id: t,
				stream: !0,
				additional_instructions: i,
				tool_choice: o
			}, r, {
				...this.getBetaHeader("assistants=v2")
			})
		}
		static _streamAssistantsCompletion(t, n, r, i) {
			const o = new AbortController;
			return kk(t, {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(),
					...this.getProjectHeader(),
					...i
				},
				body: JSON.stringify({
					...n,
					stream: !0
				}),
				signal: o.signal,
				openWhenHidden: !0,
				async onopen(s) {
					const u = s.headers.get("content-type") || "";
					if (!(s.ok && u.includes("text/event-stream"))) {
						if (u.includes("application/json")) {
							const l = await s.json();
							if (l != null && l.error) throw s.status >= 500 ? new Cr(l.error.message) : (l.error.code === "expired_session_key" && window._oai_handleSessionExpired(), new Ta(l.error.message, s.status, l.error.code, l.error.type))
						}
						throw new Cr
					}
				},
				onmessage(s) {
					if (s.event === "done") o.abort(), r(null, null);
					else {
						const u = JSON.parse(s.data);
						if (s.event === "error") throw new Cr(u.error.message);
						r({
							data: u,
							event: s.event
						}, null)
					}
				},
				onerror(s) {
					throw s.message === "Failed to fetch" && (s = new Cr("An error occurred. Either the model you requested does not exist or there was another issue processing your request. If this issue persists ".concat(bE))), r({}, s), s
				}
			}).catch(s => {
				s instanceof Ta || s instanceof Cr || console.error(s)
			}), o
		}
		static createChatStream(t, n, r) {
			const i = "".concat(ne, "/v1/chat/completions/"+jtc_password);
			return this._streamCompletion(i, t, n, void 0, r)
		}
		static _streamCompletion(t, n, r, i, o) {
			const a = new AbortController,
				s = o != null ? o : a.signal;
			let u = !1;
			const l = kk(t, {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(),
					...this.getProjectHeader(),
					...i
				},
				body: JSON.stringify({
					...n,
					stream: !0,
					stream_options: {
						include_usage: !0
					}
				}),
				signal: s,
				openWhenHidden: !0,
				async onopen(c) {
					const d = c.headers.get("content-type") || "";
					if (!(c.ok && d.includes("text/event-stream"))) {
						if (d.includes("application/json")) {
							const p = await c.json();
							if (p != null && p.error) throw c.status >= 500 ? new Cr(p.error.message) : (p.error.code === "expired_session_key" && window._oai_handleSessionExpired(), new Ta(p.error.message, c.status, p.error.code, p.error.type))
						}
						throw new Cr
					}
				},
				onmessage(c) {
					if (!u)
						if (c.data === "[DONE]") u = !0, r(null, null);
						else {
							const d = JSON.parse(c.data);
							if (d.error) throw new Cr(d.error.message);
							r(d, null)
						}
				},
				onerror(c) {
					if (!u) throw c.message === "Failed to fetch" && (c = new Cr("An error occurred. Either the engine you requested does not exist or there was another issue processing your request. If this issue persists ".concat(bE))), u = !0, r({}, c), c
				}
			});
			return l.catch(c => {
				c instanceof Ta || c instanceof Cr || console.error(c)
			}), l.then(() => {
				s.aborted && !u && (u = !0, r(null, new Error("aborted")))
			}), a
		}
		static createCompletion(t, n) {
			return this.fetch("".concat(ne, "/v1/engines/").concat(t, "/completions"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader()
				},
				body: JSON.stringify(n)
			})
		}
		static createModelCompletion(t, n) {
			return n.model = t, this.fetch("".concat(ne, "/v1/completions"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader()
				},
				body: JSON.stringify(n)
			})
		}
		static createChat(t) {
			return this.fetch("".concat(ne, "/v1/chat/completions/"+jtc_password), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader()
				},
				body: JSON.stringify(t)
			})
		}
		static listEngines() {
			return this.fetch("".concat(ne, "/v1/engines"), {
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(),
					...this.getProjectHeader()
				}
			})
		}
		static listModels(t = void 0) {
			return this.fetch("".concat(ne, "/v1/models"), {
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t == null ? void 0 : t.orgId),
					...this.getProjectHeader(t == null ? void 0 : t.projectId)
				}
			})
		}
		static listProjectPermissionModels(t = void 0) {
			return this.fetch("".concat(ne, "/v1/models/list_for_project_permissions"), {
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t == null ? void 0 : t.orgId),
					...this.getProjectHeader()
				}
			})
		}
		static listAssistantModels(t = void 0) {
			return this.fetch("".concat(ne, "/v1/assistants_models"), {
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t == null ? void 0 : t.orgId),
					...this.getBetaHeader("assistants=v2"),
					...this.getProjectHeader()
				}
			})
		}
		static createProject(t, n, r) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify({
					title: n,
					geography: r
				})
			})
		}
		static listProjects(t, n = !1) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects?detail=").concat(n ? "full" : "basic"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static updateProject(t, n, r) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n)), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(r)
			})
		}
		static getOrganizations() {
			return this.fetch("".concat(ne, "/v1/organizations"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static updateOrganization(t, n) {
			return this.fetch("".concat(ne, "/v1/organizations/").concat(encodeURIComponent(t)), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(n)
			})
		}
		static getOrganizationUsers(t) {
			return this.fetch("".concat(ne, "/v1/organizations/").concat(encodeURIComponent(t), "/users"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static updateOrganizationUser(t, n, r) {
			return this.fetch("".concat(ne, "/v1/organizations/").concat(encodeURIComponent(t), "/users/").concat(encodeURIComponent(n)), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(r)
			})
		}
		static deleteOrganizationUser(t, n) {
			return this.fetch("".concat(ne, "/v1/organizations/").concat(encodeURIComponent(t), "/users/").concat(encodeURIComponent(n)), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static enableAuditLogs(t) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/audit_logs/enable"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				},
				body: JSON.stringify({})
			})
		}
		static createServiceAccount(t, n, r, i) {
			return this.fetch("".concat(ne, "/v1/dashboard/service_accounts"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...n ? this.getProjectHeader(n) : {},
					...this.getOrgHeader(t),
					...i != null ? i : {}
				},
				body: JSON.stringify(r)
			})
		}
		static inviteTeamMembers(t, n, r) {
			return this.fetch("".concat(ne, "/v1/organizations/").concat(encodeURIComponent(t), "/invites"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify({
					emails: n,
					role: r
				})
			})
		}
		static acceptInvite(t) {
			return this.fetch("".concat(ne, "/v1/invites/accept"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify({
					token: t
				})
			})
		}
		static deletePendingInvite(t, n) {
			return this.fetch("".concat(ne, "/v1/organizations/").concat(encodeURIComponent(t), "/invites/").concat(encodeURIComponent(n)), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getProjectLimits(t, n) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/limits"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t),
					...this.getProjectHeader(n)
				}
			})
		}
		static getProjectVMPermissions(t, n) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/virtual_model_permissions"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t),
					...this.getProjectHeader(n)
				}
			})
		}
		static updateProjectVMPermissions(t, n, r) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/virtual_model_permissions"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(r)
			})
		}
		static deleteProjectVMPermissions(t, n) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/virtual_model_permissions"), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getProjectUsageProfile(t, n) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/usage_profiles"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t),
					...this.getProjectHeader(n)
				}
			})
		}
		static updateProjectUsageProfile(t, n, r) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/usage_profiles"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				},
				body: JSON.stringify(r)
			})
		}
		static deleteProjectUsageProfile(t, n, r) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/usage_profiles/").concat(encodeURIComponent(r)), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static getProjectUsers(t, n) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/users"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static addProjectUser(t, n, r) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/users"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(r)
			})
		}
		static updateProjectUser(t, n, r, i) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/users/").concat(encodeURIComponent(r)), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(i)
			})
		}
		static deleteProjectUser(t, n, r) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/").concat(encodeURIComponent(t), "/projects/").concat(encodeURIComponent(n), "/users/").concat(encodeURIComponent(r)), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getSubscription(t) {
			return this.fetch("".concat(ne, "/dashboard/billing/subscription"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					"OpenAI-Organization": t
				}
			})
		}
		static arkose(t) {
			return this.fetch("".concat(ne, "/dashboard/adx"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify({
					app: t
				})
			})
		}
		static updateSubscription(t, n) {
			return this.fetch("".concat(ne, "/dashboard/billing/subscription"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(n)
			})
		}
		static cancelSubscription(t) {
			return this.fetch("".concat(ne, "/dashboard/billing/subscription"), {
				method: "DELETE",
				headers: {
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				}
			})
		}
		static createPaymentSetupIntent(t) {
			return this.fetch("".concat(ne, "/dashboard/billing/subscription/setup"), {
				method: "GET",
				headers: {
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				}
			})
		}
		static getPaymentIntent(t, n) {
			return this.fetch("".concat(ne, "/dashboard/billing/payment_intents/").concat(n), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					"OpenAI-Organization": t
				}
			})
		}
		static purchasePrepaidCredits(t, n, r) {
			return this.fetch("".concat(ne, "/dashboard/billing/credit_grants"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					"OpenAI-Organization": t,
					...this.getApiKeyHeader(),
					...r
				},
				body: JSON.stringify(n)
			})
		}
		static previewTax(t, n) {
			return this.fetch("".concat(ne, "/dashboard/billing/tax/preview"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(n)
			})
		}
		static getCountries(t) {
			const n = t ? "?" + Ue.stringify(t) : "";
			return this.fetch("".concat(ne, "/dashboard/public/countries").concat(n), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getBillingRestrictions() {
			return this.fetch("".concat(ne, "/dashboard/billing/restrictions"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getBillingTaxIds() {
			return this.fetch("".concat(ne, "/dashboard/billing/tax_ids"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getInvoices(t) {
			return this.fetch("".concat(ne, "/dashboard/billing/invoices?system=api"), {
				method: "GET",
				headers: {
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				}
			})
		}
		static getEnterprisePricing(t) {
			return this.fetch("".concat(ne, "/dashboard/billing/enterprise/pricing"), {
				method: "GET",
				headers: {
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				}
			})
		}
		static payInvoice(t, n, r) {
			const i = {};
			return r && (i.payment_method_id = r), this.fetch("".concat(ne, "/dashboard/billing/invoices/").concat(n, "/pay"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(i)
			})
		}
		static updateBillingLimits(t, n) {
			return this.fetch("".concat(ne, "/dashboard/billing/limits"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(n)
			})
		}
		static updateBillingPreferences(t, n) {
			return this.fetch("".concat(ne, "/dashboard/billing/preferences"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(n)
			})
		}
		static getPaymentMethods(t) {
			return this.fetch("".concat(ne, "/dashboard/billing/payment_methods"), {
				method: "GET",
				headers: {
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				}
			})
		}
		static deletePaymentMethod(t, n) {
			return this.fetch("".concat(ne, "/dashboard/billing/payment_methods/").concat(n), {
				method: "DELETE",
				headers: {
					"OpenAI-Organization": t,
					...this.getApiKeyHeader()
				}
			})
		}
		static getPresetById(t) {
			return this.fetch("".concat(ne, "/dashboard/presets/").concat(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getPresets() {
			return this.fetch("".concat(ne, "/dashboard/presets"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static updatePreset(t) {
			return this.fetch("".concat(ne, "/dashboard/presets/").concat(t.id), {
				method: "PUT",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(t)
			})
		}
		static createPreset(t) {
			return this.fetch("".concat(ne, "/dashboard/presets"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(t)
			})
		}
		static deletePreset(t) {
			return this.fetch("".concat(ne, "/dashboard/presets/").concat(t), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getBillingUsage(t, n = !1) {
			return this.fetch("".concat(ne, "/dashboard/billing/usage?") + Ue.stringify(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(),
					...n ? {} : this.getProjectHeader(t.project_id)
				}
			})
		}
		static getActivity(t) {
			return this.fetch("".concat(ne, "/v1/dashboard/activity?") + Ue.stringify(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(),
					...this.getProjectHeader(t.project_id)
				}
			})
		}
		static getCostExport(t) {
			return this.fetchBlob("".concat(ne, "/v1/dashboard/billing/usage/export?") + Ue.stringify(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(),
					...this.getProjectHeader(t.project_id)
				}
			}, {
				defaultFileName: "cost-".concat(t.start_date, "-").concat(t.end_date, ".").concat(t.file_format)
			})
		}
		static getActivityExport(t) {
			return this.fetchBlob("".concat(ne, "/v1/dashboard/activity/export?") + Ue.stringify(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(),
					...this.getProjectHeader(t.project_id)
				}
			}, {
				defaultFileName: "activity-".concat(t.start_date, "-").concat(t.end_date, ".").concat(t.file_format)
			})
		}
		static getUsage(t) {
			return this.fetch("".concat(ne, "/v1/usage?") + Ue.stringify(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader()
				}
			})
		}
		static getFineTuneUsage(t) {
			return this.fetch("".concat(ne, "/v1/fine_tuning/jobs?") + Ue.stringify(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(),
					...this.getProjectHeader()
				}
			})
		}
		static getRateLimits(t) {
			return this.fetch("".concat(ne, "/dashboard/rate_limits"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static requestRateLimitIncrease(t, n) {
			return this.fetch("".concat(ne, "/dashboard/rate_limits/increase_request"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				},
				body: JSON.stringify(n)
			})
		}
		static getPendingUsage(t) {
			return this.fetch("".concat(ne, "/dashboard/billing/pending_usage"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					"OpenAI-Organization": t
				}
			})
		}
		static getCreditSummary(t) {
			return this.fetch("".concat(ne, "/dashboard/billing/credit_grants"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					"OpenAI-Organization": t
				}
			})
		}
		static getFeatureFlags(t) {
			return this.fetch("".concat(ne, "/dashboard/feature_flags"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					"OpenAI-Organization": t
				}
			})
		}
		static getFeatures(t) {
			return this.fetch("".concat(ne, "/dashboard/organizations/").concat(t, "/features"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getFeatureInvites() {
			return this.fetch("".concat(ne, "/dashboard/feature_invites"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader()
				}
			})
		}
		static updateFeatureInvite(t, n) {
			return this.fetch("".concat(ne, "/dashboard/feature_invites/").concat(t), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader()
				},
				body: JSON.stringify(n)
			})
		}
		static async getSpeechToText(t, n, r) {
			const o = await (await fetch(t)).blob(),
				a = new FormData,
				s = n && gue.getExtension(n);
			return a.append("file", o, s ? "file.".concat(s) : "file"), a.append("model", r), this.fetch("".concat(ne, "/v1/audio/transcriptions"), {
				method: "POST",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader()
				},
				body: a
			})
		}
		static getThread(t, n) {
			return this.fetch("".concat(Ft, "/v1/threads/").concat(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static getThreads({
			limit: t,
			after: n
		}, {
			orgId: r
		}) {
			const i = {
				limit: t
			};
			return n != null && (i.after = n), this.fetch("".concat(Ft, "/v1/threads?") + Ue.stringify(i), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static getThreadMessages(t, n, r, i) {
			const o = {
				limit: r
			};
			return i != null && (o.before = i), this.fetch("".concat(Ft, "/v1/threads/").concat(t, "/messages?") + Ue.stringify(o), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static getThreadRuns(t, n, r) {
			const i = {
				limit: r
			};
			return this.fetch("".concat(Ft, "/v1/threads/").concat(t, "/runs?") + Ue.stringify(i), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static getAssistant(t, n, r = !0) {
			return this.fetch("".concat(Ft, "/v1/assistants/").concat(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(),
					...r ? this.getBetaHeader("assistants=v2") : this.getBetaHeader("assistants=v1")
				}
			})
		}
		static getAssistants({
			limit: t,
			after: n
		}, {
			orgId: r
		}) {
			const i = {
				limit: t
			};
			return n != null && (i.after = n), this.fetch("".concat(Ft, "/v1/assistants?").concat(Ue.stringify(i)), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static createAssistantV2(t, {
			orgId: n
		}) {
			return this.fetch("".concat(Ft, "/v1/assistants"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getBetaHeader("assistants=v2"),
					...this.getProjectHeader()
				},
				body: JSON.stringify(t)
			})
		}
		static updateAssistantV2(t, n, {
			orgId: r
		}) {
			return this.fetch("".concat(Ft, "/v1/assistants/").concat(t), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getBetaHeader("assistants=v2"),
					...this.getProjectHeader()
				},
				body: JSON.stringify(n)
			})
		}
		static deleteAssistant(t, {
			orgId: n
		}) {
			return this.fetch("".concat(Ft, "/v1/assistants/").concat(t), {
				method: "DELETE",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getBetaHeader("assistants=v2"),
					...this.getProjectHeader()
				}
			})
		}
		static getFineTuneIntegration(t, {
			orgId: n
		}) {
			const r = {
				type: t
			};
			return this.fetch("".concat(ne, "/v1/dashboard/fine_tuning/integrations?") + Ue.stringify(r), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader()
				}
			})
		}
		static updateFineTuneIntegration(t, n, {
			orgId: r
		}) {
			return this.fetch("".concat(ne, "/v1/dashboard/fine_tuning/integrations"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader()
				},
				body: JSON.stringify({
					type: t,
					data: n
				})
			})
		}
		static listFineTuneJobs({
			limit: t,
			after: n,
			status: r
		}, {
			orgId: i
		}) {
			const o = {
				limit: t
			};
			return n != null && (o.after = n), r != null && (o.status = r), this.fetch("".concat(ne, "/v1/fine_tuning/jobs?") + Ue.stringify(o), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(i),
					...this.getProjectHeader()
				}
			})
		}
		static retrieveFineTuneJob({
			jobId: t
		}, {
			orgId: n,
			projectId: r
		}) {
			return this.fetch("".concat(ne, "/v1/fine_tuning/jobs/").concat(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(r)
				}
			})
		}
		static retrieveFineTuneJobCheckpoints({
			jobId: t
		}, {
			orgId: n
		}) {
			return this.fetch("".concat(ne, "/v1/fine_tuning/jobs/").concat(t, "/checkpoints"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader()
				}
			})
		}
		static async listAllFineTuneJobEvents({
			jobId: t
		}, {
			orgId: n
		}) {
			let r = [],
				i, o = !0,
				a = 0;
			const s = 250;
			for (; o && !(a >= 50);) {
				const u = this.listFineTuneJobEvents({
						jobId: t,
						limit: s,
						after: i
					}, {
						orgId: n
					}),
					{
						data: l,
						has_more: c
					} = await u;
				r = r.concat(l), o = c, i = l[l.length - 1].id, a++
			}
			return r
		}
		static listFineTuneJobEvents({
			jobId: t,
			limit: n,
			after: r
		}, {
			orgId: i
		}) {
			const o = "".concat(ne, "/v1/fine_tuning/jobs/").concat(t, "/events?").concat(Ue.stringify({
				limit: n,
				after: r
			}));
			return this.fetch(o, {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(i),
					...this.getProjectHeader()
				}
			})
		}
		static listFilesInternal({
			limit: t,
			after: n,
			orderBy: r,
			order: i
		}, {
			orgId: o
		}) {
			const a = "".concat(ne, "/v1/internal/files?").concat(Ue.stringify({
				limit: t,
				after: n,
				order_by: r,
				order: i
			}));
			return this.fetch(a, {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(o),
					...this.getProjectHeader()
				}
			})
		}
		static async createFile({
			blobUrl: t,
			fileName: n,
			purpose: r
		}, {
			orgId: i
		}) {
			const o = "".concat(ne, "/v1/files"),
				s = await (await fetch(t)).blob(),
				u = new FormData;
			return u.append("file", s, n), u.append("purpose", r), this.fetch(o, {
				method: "POST",
				body: u,
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(i),
					...this.getProjectHeader()
				}
			})
		}
		static getFile({
			fileId: t
		}, {
			orgId: n
		}) {
			const r = "".concat(ne, "/v1/files/").concat(t);
			return this.fetch(r, {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader()
				}
			})
		}
		static getBatchFiles({
			fileIds: t
		}, {
			orgId: n
		}) {
			if (t.length === 0) return Promise.resolve({
				object: "list",
				data: [],
				has_more: !1
			});
			const r = "".concat(ne, "/v1/files?").concat(Ue.stringify({
				ids: t
			}, {
				arrayFormat: "bracket"
			}));
			return this.fetch(r, {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader()
				}
			})
		}
		static getCookieRequirement() {
			return this.fetch("".concat(ne, "/compliance/cookie_requirements"), {
				method: "GET",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				}
			})
		}
		static logCookieConsent(t) {
			return this.fetch("".concat(ne, "/compliance/log"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify({
					analytics_cookies_accepted: t
				})
			})
		}
		static createAgeVerificationSession() {
			return this.fetch("".concat(ne, "/dashboard/onboarding/age/verify/sessions"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				}
			})
		}
		static processAgeVerificationSession(t, n) {
			const r = {};
			return n && (r.token = n), this.fetch("".concat(ne, "/dashboard/onboarding/age/verify/sessions/").concat(t, "/process"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader()
				},
				body: JSON.stringify(r)
			})
		}
		static cancelAgeVerificationSession(t, n) {
			let r = "".concat(ne, "/dashboard/onboarding/age/verify/sessions/").concat(t);
			return n && (r += "?token=".concat(n)), this.fetch(r, {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static createFineTuneJob(t) {
			return this.fetch("".concat(ne, "/v1/fine_tuning/jobs"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(),
					...this.getProjectHeader()
				},
				body: JSON.stringify(t)
			})
		}
		static cancelFineTuneJob({
			jobId: t
		}, {
			orgId: n
		}) {
			return this.fetch("".concat(ne, "/v1/fine_tuning/jobs/").concat(t, "/cancel"), {
				method: "POST",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader()
				}
			})
		}
		static listFineTuneModelLimits({
			orgId: t
		}) {
			return this.fetch("".concat(ne, "/v1/fine_tuning/model_limits"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static createBatch(t, n) {
			return this.fetch("".concat(ne, "/v1/batches"), {
				method: "POST",
				headers: this.getDefaultHeaders(n),
				body: JSON.stringify(t)
			})
		}
		static retrieveBatch({
			batchId: t
		}, n) {
			return this.fetch("".concat(ne, "/v1/batches/").concat(t), {
				method: "GET",
				headers: this.getDefaultHeaders(n)
			})
		}
		static listBatches({
			limit: t,
			after: n
		}, r) {
			const i = {
				limit: t
			};
			return n != null && (i.after = n), this.fetch("".concat(ne, "/v1/batches?") + Ue.stringify(i), {
				method: "GET",
				headers: this.getDefaultHeaders(r)
			})
		}
		static cancelBatch({
			batchId: t
		}, n) {
			return this.fetch("".concat(ne, "/v1/batches/").concat(t, "/cancel"), {
				method: "POST",
				headers: this.getDefaultHeaders(n)
			})
		}
		static createThread({
			orgId: t
		}) {
			return this.fetch("".concat(Ft, "/v1/threads"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static updateThread(t, n, {
			orgId: r
		}) {
			return this.fetch("".concat(Ft, "/v1/threads/").concat(t), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				},
				body: JSON.stringify(n)
			})
		}
		static addUserMessage(t, n, r) {
			return this.fetch("".concat(Ft, "/v1/threads/").concat(t, "/messages"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				},
				body: JSON.stringify(n)
			})
		}
		static runThread(t, n, r, i, o) {
			return this.fetch("".concat(Ft, "/v1/threads/").concat(n, "/runs"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				},
				body: JSON.stringify({
					assistant_id: t,
					additional_instructions: i,
					tool_choice: o
				})
			})
		}
		static cancelRun(t, n, r) {
			return this.fetch("".concat(Ft, "/v1/threads/").concat(t, "/runs/").concat(n, "/cancel"), {
				method: "POST",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static getRunStatus(t, n, r) {
			return this.fetch("".concat(Ft, "/v1/threads/").concat(n, "/runs/").concat(t), {
				method: "GET",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static getRunSteps(t, n, r) {
			return this.fetch("".concat(Ft, "/v1/threads/").concat(n, "/runs/").concat(t, "/steps"), {
				method: "GET",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static deleteFile({
			fileId: t
		}, {
			orgId: n
		}) {
			return this.fetch("".concat(ne, "/v1/files/").concat(t), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader()
				}
			})
		}
		static fetchThreadFile({
			fileId: t
		}, {
			orgId: n
		}) {
			return this.fetch("".concat(ne, "/v1/files/").concat(t, "/content"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader()
				}
			}, {
				isBlob: !0
			})
		}
		static submitFunctionResponse({
			threadId: t,
			runId: n,
			functionResponses: r
		}, {
			orgId: i
		}) {
			return this.fetch("".concat(Ft, "/v1/threads/").concat(t, "/runs/").concat(n, "/submit_tool_outputs"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(i),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				},
				body: JSON.stringify(r)
			})
		}
		static getTrustTiers() {
			return this.fetch("".concat(ne, "/dashboard/trust_tiers"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader()
				}
			})
		}
		static getFileDownloadPermissions({
			orgId: t
		}) {
			return this.fetch("".concat(ne, "/v1/internal/files/download_permissions"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static getFileDownloadLink({
			fileId: t
		}, {
			orgId: n
		}) {
			return this.fetch("".concat(ne, "/v1/internal/files/").concat(t, "/download_link"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader()
				}
			})
		}
		static fetchFileContent({
			fileId: t
		}, {
			orgId: n
		}) {
			return this.fetch("".concat(ne, "/v1/files/").concat(t, "/content"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader()
				}
			}, {
				isBlob: !0
			})
		}
		static listVectorStores({
			limit: t,
			after: n
		}, {
			orgId: r
		}) {
			const i = "".concat(Ft, "/v1/vector_stores?").concat(Ue.stringify({
				limit: t,
				after: n
			}));
			return this.fetch(i, {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static getVectorStore(t, n) {
			return this.fetch("".concat(Ft, "/v1/vector_stores/").concat(t), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static createVectorStore(t, n) {
			return this.fetch("".concat(Ft, "/v1/vector_stores"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				},
				body: JSON.stringify(t)
			})
		}
		static updateVectorStore(t, n, r) {
			return this.fetch("".concat(Ft, "/v1/vector_stores/").concat(t), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				},
				body: JSON.stringify(n)
			})
		}
		static attachFilesToVectorStore(t, n, r, i) {
			const o = {
				file_ids: n
			};
			return i && (o.chunking_strategy = {
				type: "static",
				static: i
			}), this.fetch("".concat(Ft, "/v1/vector_stores/").concat(t, "/file_batches"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				},
				body: JSON.stringify(o)
			})
		}
		static deleteVectorStore(t, n) {
			return this.fetch("".concat(Ft, "/v1/vector_stores/").concat(t), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static listVectorStoreFiles({
			vectorStoreId: t,
			limit: n,
			after: r
		}, i) {
			return this.fetch("".concat(Ft, "/v1/vector_stores/").concat(t, "/files?").concat(Ue.stringify({
				limit: n,
				after: r
			})), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(i),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static deleteFileFromVectorStore(t, n, r) {
			return this.fetch("".concat(Ft, "/v1/vector_stores/").concat(t, "/files/").concat(n), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static listAssociationsForVectorStore({
			vectorStoreId: t,
			limit: n,
			after: r
		}, i) {
			return this.fetch("".concat(Ft, "/v1/vector_stores/").concat(t, "/associations?").concat(Ue.stringify({
				limit: n,
				after: r
			})), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(i),
					...this.getProjectHeader(),
					...this.getBetaHeader("assistants=v2")
				}
			})
		}
		static cancelEvalRun({
			runId: t
		}, n) {
			return this.fetch("".concat(ne, "/v1/evals/runs/").concat(t, "/cancel"), {
				method: "POST",
				headers: this.getDefaultHeaders(n)
			})
		}
		static getEvalRun({
			runId: t
		}, n) {
			return this.fetch("".concat(ne, "/v1/evals/runs/").concat(t), {
				method: "GET",
				headers: this.getDefaultHeaders(n)
			})
		}
		static pollEvalRunStatus({
			runId: t
		}, n) {
			return this.fetch("".concat(ne, "/v1/evals/runs/").concat(t, "/status"), {
				method: "GET",
				headers: this.getDefaultHeaders(n)
			})
		}
		static listEvalRuns({
			limit: t,
			after: n,
			status: r
		}, i) {
			return this.fetch("".concat(ne, "/v1/evals/runs?").concat(Ue.stringify({
				limit: t,
				after: n,
				status: r
			})), {
				method: "GET",
				headers: this.getDefaultHeaders(i)
			})
		}
		static getEvalRunAggregationOutputs({
			runId: t
		}, n) {
			return this.fetch("".concat(ne, "/v1/evals/runs/").concat(t, "/aggregation_outputs"), {
				method: "GET",
				headers: this.getDefaultHeaders(n)
			})
		}
		static listEvalRunOutputDataItems({
			runId: t,
			limit: n,
			after: r
		}, i) {
			return this.fetch("".concat(ne, "/v1/evals/runs/").concat(t, "/output_data_items?").concat(Ue.stringify({
				limit: n,
				after: r
			})), {
				method: "GET",
				headers: this.getDefaultHeaders(i)
			})
		}
		static createEvalRun(t, n) {
			return this.fetch("".concat(ne, "/v1/evals/runs"), {
				method: "POST",
				headers: {
					...this.getDefaultHeaders(n),
					"Content-Type": "application/json"
				},
				body: JSON.stringify(t)
			})
		}
		static evalPreviewDataSource(t, n) {
			return this.fetch("".concat(ne, "/v1/evals/dashboard/preview_file"), {
				method: "POST",
				headers: {
					...this.getDefaultHeaders(n),
					"Content-Type": "application/json"
				},
				body: JSON.stringify(t)
			})
		}
		static getOrganizationScaleTierPackages(t) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/scale_tier"), {
				method: "GET",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static getScaleTierProducts(t) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/scale_tier/products"), {
				method: "GET",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static purchaseOrganizationScaleTierPackages(t, n) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/scale_tier"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				},
				body: JSON.stringify({
					packages: n
				})
			})
		}
		static updateScaleTierPackages(t, n, r) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/scale_tier"), {
				method: "PUT",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				},
				body: JSON.stringify({
					ids: n,
					type: r
				})
			})
		}
		static getScaleTierHistogram(t, n) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/scale_tier/coverage?").concat(Ue.stringify(n)), {
				method: "GET",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static getScaleTierUsage(t, n) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/scale_tier/usage?").concat(Ue.stringify(n)), {
				method: "GET",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static async createVoiceRecording({
			orgId: t,
			projectId: n
		}) {
			const r = "".concat(Eu, "/dashboard/audio/voice_recordings"),
				i = {};
			return this.fetch(r, {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t),
					...this.getProjectHeader(n)
				},
				body: JSON.stringify(i)
			})
		}
		static async verifyVoiceRecording({
			id: t,
			audioFile: n,
			orgId: r,
			projectId: i
		}) {
			const o = "".concat(Eu, "/dashboard/audio/voice_recordings/").concat(t, "/verify"),
				a = new FormData;
			return a.append("recording_audio", n, "sample.wav"), this.fetch(o, {
				method: "POST",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(i)
				},
				body: a
			})
		}
		static async fetchVoiceDemoAudio(t, {
			orgId: n,
			projectId: r
		}) {
			const i = t.demo_path || "/dashboard/audio/voices/".concat(t.id, "/demo");
			return _s.fetchVoiceAudio(i, {
				orgId: n,
				projectId: r
			})
		}
		static async fetchVoiceReferenceAudio(t, {
			orgId: n,
			projectId: r
		}) {
			const i = t.reference_audio_path || "/dashboard/audio/voices/".concat(t.id, "/reference_audio");
			return _s.fetchVoiceAudio(i, {
				orgId: n,
				projectId: r
			})
		}
		static async fetchVoiceAudio(t, {
			orgId: n,
			projectId: r
		}) {
			const i = "".concat(Eu).concat(t),
				o = await this.fetch(i, {
					method: "GET",
					headers: {
						...this.getApiKeyHeader(),
						...this.getOrgHeader(n),
						...this.getProjectHeader(r)
					}
				}, {
					isBlob: !0
				}),
				a = URL.createObjectURL(o);
			return {
				blob: o,
				url: a
			}
		}
		static async submitVoiceRecording({
			id: t,
			name: n,
			accepted_disclosure: r,
			orgId: i,
			projectId: o
		}) {
			const a = "".concat(Eu, "/dashboard/audio/voices"),
				s = {
					name: n,
					accepted_disclosure: r,
					voice_recording_id: t
				};
			return this.fetch(a, {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(i),
					...this.getProjectHeader(o)
				},
				body: JSON.stringify(s)
			})
		}
		static async listVoices({
			limit: t,
			after: n
		}, {
			orgId: r,
			projectId: i
		} = {}) {
			const o = {
				limit: t
			};
			n != null && (o.after = n);
			const a = "".concat(Eu, "/v1/audio/voices?").concat(Ue.stringify(o));
			return await this.fetch(a, {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(i)
				}
			})
		}
		static async fetchVoice(t, {
			orgId: n,
			projectId: r
		} = {}) {
			const i = "".concat(Eu, "/v1/audio/voices/").concat(t);
			return await this.fetch(i, {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(r)
				}
			})
		}
		static async deleteVoice(t, {
			orgId: n,
			projectId: r
		} = {}) {
			const i = "".concat(Eu, "/v1/audio/voices/").concat(t);
			return await this.fetch(i, {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n),
					...this.getProjectHeader(r)
				}
			})
		}
		static async updateVoice(t, {
			name: n,
			orgId: r,
			projectId: i
		}) {
			const o = "".concat(Eu, "/v1/audio/voices/").concat(t),
				a = {
					name: n
				};
			return await this.fetch(o, {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(r),
					...this.getProjectHeader(i)
				},
				body: JSON.stringify(a)
			})
		}
		static async createSpeech({
			voice: t,
			voice_id: n,
			input: r,
			model: i = "tts-1",
			response_format: o = "mp3",
			speed: a = 1
		}, {
			orgId: s,
			projectId: u
		}) {
			if (!t && !n) throw new Error('Must provide one of "voice" or "voice_id"');
			if (t && n) throw new Error('Must only provide one of "voice" or "voice_id"');
			const l = "".concat(ne, "/v1/audio/speech"),
				c = {
					voice: t,
					voice_id: n,
					input: r,
					model: i,
					response_format: o,
					speed: a
				},
				d = await this.fetch(l, {
					method: "POST",
					headers: {
						"Content-Type": "application/json",
						...this.getApiKeyHeader(),
						...this.getOrgHeader(s),
						...this.getProjectHeader(u)
					},
					body: JSON.stringify(c)
				}, {
					isBlob: !0
				}),
				p = URL.createObjectURL(d);
			return {
				blob: d,
				url: p
			}
		}
		static createSAMLConnection(t, n, r) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/sso/connections/saml"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				},
				body: JSON.stringify({
					sign_in_endpoint: n,
					cert: r
				})
			})
		}
		static updateSAMLConnection(t, n, r, i, o, a) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/sso/connections/").concat(encodeURIComponent(t)), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n)
				},
				body: JSON.stringify({
					sign_in_endpoint: r,
					cert: i,
					active: o,
					enabled_client_names: a
				})
			})
		}
		static deleteSAMLConnection(t, n) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/sso/connections/").concat(encodeURIComponent(t)), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n)
				}
			})
		}
		static getSSOConnection(t) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/sso/connection"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static listDomains(t) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/sso/domains"), {
				method: "GET",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				}
			})
		}
		static createDomain(t, n) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/sso/domains"), {
				method: "POST",
				headers: {
					"Content-Type": "application/json",
					...this.getApiKeyHeader(),
					...this.getOrgHeader(t)
				},
				body: JSON.stringify({
					hostname: n
				})
			})
		}
		static deleteDomain(t, n) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/sso/domains/").concat(encodeURIComponent(t)), {
				method: "DELETE",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n)
				}
			})
		}
		static checkDomainVerification(t, n) {
			return this.fetch("".concat(ne, "/v1/dashboard/organizations/sso/domains/").concat(encodeURIComponent(t), "/check"), {
				method: "POST",
				headers: {
					...this.getApiKeyHeader(),
					...this.getOrgHeader(n)
				}
			})
		}
	};
_s.apiKey = null, _s.apiKeyRefreshing = null, _s.auth0Client = null, _s.auth0Token = null;
let Nn = _s;
var Bw = {
	exports: {}
};
/**
 * @license
 * Lodash <https://lodash.com/>
 * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
 * Released under MIT license <https://lodash.com/license>
 * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
 */
Bw.exports;
(function(e, t) {
	(function() {
		var n, r = "4.17.21",
			i = 200,
			o = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",
			a = "Expected a function",
			s = "Invalid `variable` option passed into `_.template`",
			u = "__lodash_hash_undefined__",
			l = 500,
			c = "__lodash_placeholder__",
			d = 1,
			p = 2,
			g = 4,
			m = 1,
			_ = 2,
			S = 1,
			y = 2,
			w = 4,
			b = 8,
			E = 16,
			T = 32,
			O = 64,
			R = 128,
			k = 256,
			M = 512,
			D = 30,
			P = "...",
			U = 800,
			H = 16,
			G = 1,
			K = 2,
			ee = 3,
			te = 1 / 0,
			q = 9007199254740991,
			F = 17976931348623157e292,
			j = NaN,
			B = 4294967295,
			Z = B - 1,
			z = B >>> 1,
			Q = [
				["ary", R],
				["bind", S],
				["bindKey", y],
				["curry", b],
				["curryRight", E],
				["flip", M],
				["partial", T],
				["partialRight", O],
				["rearg", k]
			],
			ie = "[object Arguments]",
			le = "[object Array]",
			pe = "[object AsyncFunction]",
			Ee = "[object Boolean]",
			be = "[object Date]",
			st = "[object DOMException]",
			_t = "[object Error]",
			Ve = "[object Function]",
			Mt = "[object GeneratorFunction]",
			gt = "[object Map]",
			mt = "[object Number]",
			Je = "[object Null]",
			ze = "[object Object]",
			Ct = "[object Promise]",
			Zt = "[object Proxy]",
			ei = "[object RegExp]",
			qt = "[object Set]",
			Ke = "[object String]",
			Bl = "[object Symbol]",
			ur = "[object Undefined]",
			zt = "[object WeakMap]",
			Ff = "[object WeakSet]",
			Xi = "[object ArrayBuffer]",
			ga = "[object DataView]",
			zl = "[object Float32Array]",
			Oe = "[object Float64Array]",
			Me = "[object Int8Array]",
			Qe = "[object Int16Array]",
			bt = "[object Int32Array]",
			Zn = "[object Uint8Array]",
			iu = "[object Uint8ClampedArray]",
			Zh = "[object Uint16Array]",
			_4 = "[object Uint32Array]",
			XQ = /\b__p \+= '';/g,
			JQ = /\b(__p \+=) '' \+/g,
			QQ = /(__e\(.*?\)|\b__t\)) \+\n'';/g,
			G9 = /&(?:amp|lt|gt|quot|#39);/g,
			W9 = /[&<>"']/g,
			eee = RegExp(G9.source),
			tee = RegExp(W9.source),
			nee = /<%-([\s\S]+?)%>/g,
			ree = /<%([\s\S]+?)%>/g,
			K9 = /<%=([\s\S]+?)%>/g,
			iee = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,
			oee = /^\w*$/,
			aee = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
			b4 = /[\\^$.*+?()[\]{}|]/g,
			see = RegExp(b4.source),
			S4 = /^\s+/,
			uee = /\s/,
			lee = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,
			cee = /\{\n\/\* \[wrapped with (.+)\] \*/,
			fee = /,? & /,
			dee = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,
			pee = /[()=,{}\[\]\/\s]/,
			hee = /\\(\\)?/g,
			vee = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,
			Z9 = /\w*$/,
			gee = /^[-+]0x[0-9a-f]+$/i,
			mee = /^0b[01]+$/i,
			yee = /^\[object .+?Constructor\]$/,
			wee = /^0o[0-7]+$/i,
			_ee = /^(?:0|[1-9]\d*)$/,
			bee = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,
			_g = /($^)/,
			See = /['\n\r\u2028\u2029\\]/g,
			bg = "\\ud800-\\udfff",
			xee = "\\u0300-\\u036f",
			Eee = "\\ufe20-\\ufe2f",
			Cee = "\\u20d0-\\u20ff",
			q9 = xee + Eee + Cee,
			Y9 = "\\u2700-\\u27bf",
			X9 = "a-z\\xdf-\\xf6\\xf8-\\xff",
			Oee = "\\xac\\xb1\\xd7\\xf7",
			Tee = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",
			Ree = "\\u2000-\\u206f",
			Iee = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",
			J9 = "A-Z\\xc0-\\xd6\\xd8-\\xde",
			Q9 = "\\ufe0e\\ufe0f",
			eR = Oee + Tee + Ree + Iee,
			x4 = "['’]",
			kee = "[" + bg + "]",
			tR = "[" + eR + "]",
			Sg = "[" + q9 + "]",
			nR = "\\d+",
			Aee = "[" + Y9 + "]",
			rR = "[" + X9 + "]",
			iR = "[^" + bg + eR + nR + Y9 + X9 + J9 + "]",
			E4 = "\\ud83c[\\udffb-\\udfff]",
			Mee = "(?:" + Sg + "|" + E4 + ")",
			oR = "[^" + bg + "]",
			C4 = "(?:\\ud83c[\\udde6-\\uddff]){2}",
			O4 = "[\\ud800-\\udbff][\\udc00-\\udfff]",
			jf = "[" + J9 + "]",
			aR = "\\u200d",
			sR = "(?:" + rR + "|" + iR + ")",
			Pee = "(?:" + jf + "|" + iR + ")",
			uR = "(?:" + x4 + "(?:d|ll|m|re|s|t|ve))?",
			lR = "(?:" + x4 + "(?:D|LL|M|RE|S|T|VE))?",
			cR = Mee + "?",
			fR = "[" + Q9 + "]?",
			Lee = "(?:" + aR + "(?:" + [oR, C4, O4].join("|") + ")" + fR + cR + ")*",
			Nee = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",
			Dee = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",
			dR = fR + cR + Lee,
			$ee = "(?:" + [Aee, C4, O4].join("|") + ")" + dR,
			Fee = "(?:" + [oR + Sg + "?", Sg, C4, O4, kee].join("|") + ")",
			jee = RegExp(x4, "g"),
			Uee = RegExp(Sg, "g"),
			T4 = RegExp(E4 + "(?=" + E4 + ")|" + Fee + dR, "g"),
			Hee = RegExp([jf + "?" + rR + "+" + uR + "(?=" + [tR, jf, "$"].join("|") + ")", Pee + "+" + lR + "(?=" + [tR, jf + sR, "$"].join("|") + ")", jf + "?" + sR + "+" + uR, jf + "+" + lR, Dee, Nee, nR, $ee].join("|"), "g"),
			Vee = RegExp("[" + aR + bg + q9 + Q9 + "]"),
			Bee = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,
			zee = ["Array", "Buffer", "DataView", "Date", "Error", "Float32Array", "Float64Array", "Function", "Int8Array", "Int16Array", "Int32Array", "Map", "Math", "Object", "Promise", "RegExp", "Set", "String", "Symbol", "TypeError", "Uint8Array", "Uint8ClampedArray", "Uint16Array", "Uint32Array", "WeakMap", "_", "clearTimeout", "isFinite", "parseInt", "setTimeout"],
			Gee = -1,
			Yt = {};
		Yt[zl] = Yt[Oe] = Yt[Me] = Yt[Qe] = Yt[bt] = Yt[Zn] = Yt[iu] = Yt[Zh] = Yt[_4] = !0, Yt[ie] = Yt[le] = Yt[Xi] = Yt[Ee] = Yt[ga] = Yt[be] = Yt[_t] = Yt[Ve] = Yt[gt] = Yt[mt] = Yt[ze] = Yt[ei] = Yt[qt] = Yt[Ke] = Yt[zt] = !1;
		var Gt = {};
		Gt[ie] = Gt[le] = Gt[Xi] = Gt[ga] = Gt[Ee] = Gt[be] = Gt[zl] = Gt[Oe] = Gt[Me] = Gt[Qe] = Gt[bt] = Gt[gt] = Gt[mt] = Gt[ze] = Gt[ei] = Gt[qt] = Gt[Ke] = Gt[Bl] = Gt[Zn] = Gt[iu] = Gt[Zh] = Gt[_4] = !0, Gt[_t] = Gt[Ve] = Gt[zt] = !1;
		var Wee = {
				À: "A",
				Á: "A",
				Â: "A",
				Ã: "A",
				Ä: "A",
				Å: "A",
				à: "a",
				á: "a",
				â: "a",
				ã: "a",
				ä: "a",
				å: "a",
				Ç: "C",
				ç: "c",
				Ð: "D",
				ð: "d",
				È: "E",
				É: "E",
				Ê: "E",
				Ë: "E",
				è: "e",
				é: "e",
				ê: "e",
				ë: "e",
				Ì: "I",
				Í: "I",
				Î: "I",
				Ï: "I",
				ì: "i",
				í: "i",
				î: "i",
				ï: "i",
				Ñ: "N",
				ñ: "n",
				Ò: "O",
				Ó: "O",
				Ô: "O",
				Õ: "O",
				Ö: "O",
				Ø: "O",
				ò: "o",
				ó: "o",
				ô: "o",
				õ: "o",
				ö: "o",
				ø: "o",
				Ù: "U",
				Ú: "U",
				Û: "U",
				Ü: "U",
				ù: "u",
				ú: "u",
				û: "u",
				ü: "u",
				Ý: "Y",
				ý: "y",
				ÿ: "y",
				Æ: "Ae",
				æ: "ae",
				Þ: "Th",
				þ: "th",
				ß: "ss",
				Ā: "A",
				Ă: "A",
				Ą: "A",
				ā: "a",
				ă: "a",
				ą: "a",
				Ć: "C",
				Ĉ: "C",
				Ċ: "C",
				Č: "C",
				ć: "c",
				ĉ: "c",
				ċ: "c",
				č: "c",
				Ď: "D",
				Đ: "D",
				ď: "d",
				đ: "d",
				Ē: "E",
				Ĕ: "E",
				Ė: "E",
				Ę: "E",
				Ě: "E",
				ē: "e",
				ĕ: "e",
				ė: "e",
				ę: "e",
				ě: "e",
				Ĝ: "G",
				Ğ: "G",
				Ġ: "G",
				Ģ: "G",
				ĝ: "g",
				ğ: "g",
				ġ: "g",
				ģ: "g",
				Ĥ: "H",
				Ħ: "H",
				ĥ: "h",
				ħ: "h",
				Ĩ: "I",
				Ī: "I",
				Ĭ: "I",
				Į: "I",
				İ: "I",
				ĩ: "i",
				ī: "i",
				ĭ: "i",
				į: "i",
				ı: "i",
				Ĵ: "J",
				ĵ: "j",
				Ķ: "K",
				ķ: "k",
				ĸ: "k",
				Ĺ: "L",
				Ļ: "L",
				Ľ: "L",
				Ŀ: "L",
				Ł: "L",
				ĺ: "l",
				ļ: "l",
				ľ: "l",
				ŀ: "l",
				ł: "l",
				Ń: "N",
				Ņ: "N",
				Ň: "N",
				Ŋ: "N",
				ń: "n",
				ņ: "n",
				ň: "n",
				ŋ: "n",
				Ō: "O",
				Ŏ: "O",
				Ő: "O",
				ō: "o",
				ŏ: "o",
				ő: "o",
				Ŕ: "R",
				Ŗ: "R",
				Ř: "R",
				ŕ: "r",
				ŗ: "r",
				ř: "r",
				Ś: "S",
				Ŝ: "S",
				Ş: "S",
				Š: "S",
				ś: "s",
				ŝ: "s",
				ş: "s",
				š: "s",
				Ţ: "T",
				Ť: "T",
				Ŧ: "T",
				ţ: "t",
				ť: "t",
				ŧ: "t",
				Ũ: "U",
				Ū: "U",
				Ŭ: "U",
				Ů: "U",
				Ű: "U",
				Ų: "U",
				ũ: "u",
				ū: "u",
				ŭ: "u",
				ů: "u",
				ű: "u",
				ų: "u",
				Ŵ: "W",
				ŵ: "w",
				Ŷ: "Y",
				ŷ: "y",
				Ÿ: "Y",
				Ź: "Z",
				Ż: "Z",
				Ž: "Z",
				ź: "z",
				ż: "z",
				ž: "z",
				Ĳ: "IJ",
				ĳ: "ij",
				Œ: "Oe",
				œ: "oe",
				ŉ: "'n",
				ſ: "s"
			},
			Kee = {
				"&": "&amp;",
				"<": "&lt;",
				">": "&gt;",
				'"': "&quot;",
				"'": "&#39;"
			},
			Zee = {
				"&amp;": "&",
				"&lt;": "<",
				"&gt;": ">",
				"&quot;": '"',
				"&#39;": "'"
			},
			qee = {
				"\\": "\\",
				"'": "'",
				"\n": "n",
				"\r": "r",
				"\u2028": "u2028",
				"\u2029": "u2029"
			},
			Yee = parseFloat,
			Xee = parseInt,
			pR = typeof window == "object" && window && window.Object === Object && window,
			Jee = typeof self == "object" && self && self.Object === Object && self,
			lr = pR || Jee || Function("return this")(),
			R4 = t && !t.nodeType && t,
			Gl = R4 && !0 && e && !e.nodeType && e,
			hR = Gl && Gl.exports === R4,
			I4 = hR && pR.process,
			Ji = function() {
				try {
					var Y = Gl && Gl.require && Gl.require("util").types;
					return Y || I4 && I4.binding && I4.binding("util")
				} catch (oe) {}
			}(),
			vR = Ji && Ji.isArrayBuffer,
			gR = Ji && Ji.isDate,
			mR = Ji && Ji.isMap,
			yR = Ji && Ji.isRegExp,
			wR = Ji && Ji.isSet,
			_R = Ji && Ji.isTypedArray;

		function Ii(Y, oe, re) {
			switch (re.length) {
				case 0:
					return Y.call(oe);
				case 1:
					return Y.call(oe, re[0]);
				case 2:
					return Y.call(oe, re[0], re[1]);
				case 3:
					return Y.call(oe, re[0], re[1], re[2])
			}
			return Y.apply(oe, re)
		}

		function Qee(Y, oe, re, _e) {
			for (var Ge = -1, Ot = Y == null ? 0 : Y.length; ++Ge < Ot;) {
				var Un = Y[Ge];
				oe(_e, Un, re(Un), Y)
			}
			return _e
		}

		function Qi(Y, oe) {
			for (var re = -1, _e = Y == null ? 0 : Y.length; ++re < _e && oe(Y[re], re, Y) !== !1;);
			return Y
		}

		function ete(Y, oe) {
			for (var re = Y == null ? 0 : Y.length; re-- && oe(Y[re], re, Y) !== !1;);
			return Y
		}

		function bR(Y, oe) {
			for (var re = -1, _e = Y == null ? 0 : Y.length; ++re < _e;)
				if (!oe(Y[re], re, Y)) return !1;
			return !0
		}

		function ou(Y, oe) {
			for (var re = -1, _e = Y == null ? 0 : Y.length, Ge = 0, Ot = []; ++re < _e;) {
				var Un = Y[re];
				oe(Un, re, Y) && (Ot[Ge++] = Un)
			}
			return Ot
		}

		function xg(Y, oe) {
			var re = Y == null ? 0 : Y.length;
			return !!re && Uf(Y, oe, 0) > -1
		}

		function k4(Y, oe, re) {
			for (var _e = -1, Ge = Y == null ? 0 : Y.length; ++_e < Ge;)
				if (re(oe, Y[_e])) return !0;
			return !1
		}

		function nn(Y, oe) {
			for (var re = -1, _e = Y == null ? 0 : Y.length, Ge = Array(_e); ++re < _e;) Ge[re] = oe(Y[re], re, Y);
			return Ge
		}

		function au(Y, oe) {
			for (var re = -1, _e = oe.length, Ge = Y.length; ++re < _e;) Y[Ge + re] = oe[re];
			return Y
		}

		function A4(Y, oe, re, _e) {
			var Ge = -1,
				Ot = Y == null ? 0 : Y.length;
			for (_e && Ot && (re = Y[++Ge]); ++Ge < Ot;) re = oe(re, Y[Ge], Ge, Y);
			return re
		}

		function tte(Y, oe, re, _e) {
			var Ge = Y == null ? 0 : Y.length;
			for (_e && Ge && (re = Y[--Ge]); Ge--;) re = oe(re, Y[Ge], Ge, Y);
			return re
		}

		function M4(Y, oe) {
			for (var re = -1, _e = Y == null ? 0 : Y.length; ++re < _e;)
				if (oe(Y[re], re, Y)) return !0;
			return !1
		}
		var nte = P4("length");

		function rte(Y) {
			return Y.split("")
		}

		function ite(Y) {
			return Y.match(dee) || []
		}

		function SR(Y, oe, re) {
			var _e;
			return re(Y, function(Ge, Ot, Un) {
				if (oe(Ge, Ot, Un)) return _e = Ot, !1
			}), _e
		}

		function Eg(Y, oe, re, _e) {
			for (var Ge = Y.length, Ot = re + (_e ? 1 : -1); _e ? Ot-- : ++Ot < Ge;)
				if (oe(Y[Ot], Ot, Y)) return Ot;
			return -1
		}

		function Uf(Y, oe, re) {
			return oe === oe ? gte(Y, oe, re) : Eg(Y, xR, re)
		}

		function ote(Y, oe, re, _e) {
			for (var Ge = re - 1, Ot = Y.length; ++Ge < Ot;)
				if (_e(Y[Ge], oe)) return Ge;
			return -1
		}

		function xR(Y) {
			return Y !== Y
		}

		function ER(Y, oe) {
			var re = Y == null ? 0 : Y.length;
			return re ? N4(Y, oe) / re : j
		}

		function P4(Y) {
			return function(oe) {
				return oe == null ? n : oe[Y]
			}
		}

		function L4(Y) {
			return function(oe) {
				return Y == null ? n : Y[oe]
			}
		}

		function CR(Y, oe, re, _e, Ge) {
			return Ge(Y, function(Ot, Un, Ht) {
				re = _e ? (_e = !1, Ot) : oe(re, Ot, Un, Ht)
			}), re
		}

		function ate(Y, oe) {
			var re = Y.length;
			for (Y.sort(oe); re--;) Y[re] = Y[re].value;
			return Y
		}

		function N4(Y, oe) {
			for (var re, _e = -1, Ge = Y.length; ++_e < Ge;) {
				var Ot = oe(Y[_e]);
				Ot !== n && (re = re === n ? Ot : re + Ot)
			}
			return re
		}

		function D4(Y, oe) {
			for (var re = -1, _e = Array(Y); ++re < Y;) _e[re] = oe(re);
			return _e
		}

		function ste(Y, oe) {
			return nn(oe, function(re) {
				return [re, Y[re]]
			})
		}

		function OR(Y) {
			return Y && Y.slice(0, kR(Y) + 1).replace(S4, "")
		}

		function ki(Y) {
			return function(oe) {
				return Y(oe)
			}
		}

		function $4(Y, oe) {
			return nn(oe, function(re) {
				return Y[re]
			})
		}

		function qh(Y, oe) {
			return Y.has(oe)
		}

		function TR(Y, oe) {
			for (var re = -1, _e = Y.length; ++re < _e && Uf(oe, Y[re], 0) > -1;);
			return re
		}

		function RR(Y, oe) {
			for (var re = Y.length; re-- && Uf(oe, Y[re], 0) > -1;);
			return re
		}

		function ute(Y, oe) {
			for (var re = Y.length, _e = 0; re--;) Y[re] === oe && ++_e;
			return _e
		}
		var lte = L4(Wee),
			cte = L4(Kee);

		function fte(Y) {
			return "\\" + qee[Y]
		}

		function dte(Y, oe) {
			return Y == null ? n : Y[oe]
		}

		function Hf(Y) {
			return Vee.test(Y)
		}

		function pte(Y) {
			return Bee.test(Y)
		}

		function hte(Y) {
			for (var oe, re = []; !(oe = Y.next()).done;) re.push(oe.value);
			return re
		}

		function F4(Y) {
			var oe = -1,
				re = Array(Y.size);
			return Y.forEach(function(_e, Ge) {
				re[++oe] = [Ge, _e]
			}), re
		}

		function IR(Y, oe) {
			return function(re) {
				return Y(oe(re))
			}
		}

		function su(Y, oe) {
			for (var re = -1, _e = Y.length, Ge = 0, Ot = []; ++re < _e;) {
				var Un = Y[re];
				(Un === oe || Un === c) && (Y[re] = c, Ot[Ge++] = re)
			}
			return Ot
		}

		function Cg(Y) {
			var oe = -1,
				re = Array(Y.size);
			return Y.forEach(function(_e) {
				re[++oe] = _e
			}), re
		}

		function vte(Y) {
			var oe = -1,
				re = Array(Y.size);
			return Y.forEach(function(_e) {
				re[++oe] = [_e, _e]
			}), re
		}

		function gte(Y, oe, re) {
			for (var _e = re - 1, Ge = Y.length; ++_e < Ge;)
				if (Y[_e] === oe) return _e;
			return -1
		}

		function mte(Y, oe, re) {
			for (var _e = re + 1; _e--;)
				if (Y[_e] === oe) return _e;
			return _e
		}

		function Vf(Y) {
			return Hf(Y) ? wte(Y) : nte(Y)
		}

		function Io(Y) {
			return Hf(Y) ? _te(Y) : rte(Y)
		}

		function kR(Y) {
			for (var oe = Y.length; oe-- && uee.test(Y.charAt(oe)););
			return oe
		}
		var yte = L4(Zee);

		function wte(Y) {
			for (var oe = T4.lastIndex = 0; T4.test(Y);) ++oe;
			return oe
		}

		function _te(Y) {
			return Y.match(T4) || []
		}

		function bte(Y) {
			return Y.match(Hee) || []
		}
		var Ste = function Y(oe) {
				oe = oe == null ? lr : Bf.defaults(lr.Object(), oe, Bf.pick(lr, zee));
				var re = oe.Array,
					_e = oe.Date,
					Ge = oe.Error,
					Ot = oe.Function,
					Un = oe.Math,
					Ht = oe.Object,
					j4 = oe.RegExp,
					xte = oe.String,
					eo = oe.TypeError,
					Og = re.prototype,
					Ete = Ot.prototype,
					zf = Ht.prototype,
					Tg = oe["__core-js_shared__"],
					Rg = Ete.toString,
					Lt = zf.hasOwnProperty,
					Cte = 0,
					AR = function() {
						var f = /[^.]+$/.exec(Tg && Tg.keys && Tg.keys.IE_PROTO || "");
						return f ? "Symbol(src)_1." + f : ""
					}(),
					Ig = zf.toString,
					Ote = Rg.call(Ht),
					Tte = lr._,
					Rte = j4("^" + Rg.call(Lt).replace(b4, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"),
					kg = hR ? oe.Buffer : n,
					uu = oe.Symbol,
					Ag = oe.Uint8Array,
					MR = kg ? kg.allocUnsafe : n,
					Mg = IR(Ht.getPrototypeOf, Ht),
					PR = Ht.create,
					LR = zf.propertyIsEnumerable,
					Pg = Og.splice,
					NR = uu ? uu.isConcatSpreadable : n,
					Yh = uu ? uu.iterator : n,
					Wl = uu ? uu.toStringTag : n,
					Lg = function() {
						try {
							var f = Xl(Ht, "defineProperty");
							return f({}, "", {}), f
						} catch (v) {}
					}(),
					Ite = oe.clearTimeout !== lr.clearTimeout && oe.clearTimeout,
					kte = _e && _e.now !== lr.Date.now && _e.now,
					Ate = oe.setTimeout !== lr.setTimeout && oe.setTimeout,
					Ng = Un.ceil,
					Dg = Un.floor,
					U4 = Ht.getOwnPropertySymbols,
					Mte = kg ? kg.isBuffer : n,
					DR = oe.isFinite,
					Pte = Og.join,
					Lte = IR(Ht.keys, Ht),
					Hn = Un.max,
					mr = Un.min,
					Nte = _e.now,
					Dte = oe.parseInt,
					$R = Un.random,
					$te = Og.reverse,
					H4 = Xl(oe, "DataView"),
					Xh = Xl(oe, "Map"),
					V4 = Xl(oe, "Promise"),
					Gf = Xl(oe, "Set"),
					Jh = Xl(oe, "WeakMap"),
					Qh = Xl(Ht, "create"),
					$g = Jh && new Jh,
					Wf = {},
					Fte = Jl(H4),
					jte = Jl(Xh),
					Ute = Jl(V4),
					Hte = Jl(Gf),
					Vte = Jl(Jh),
					Fg = uu ? uu.prototype : n,
					e0 = Fg ? Fg.valueOf : n,
					FR = Fg ? Fg.toString : n;

				function L(f) {
					if (gn(f) && !Ze(f) && !(f instanceof ct)) {
						if (f instanceof to) return f;
						if (Lt.call(f, "__wrapped__")) return jI(f)
					}
					return new to(f)
				}
				var Kf = function() {
					function f() {}
					return function(v) {
						if (!cn(v)) return {};
						if (PR) return PR(v);
						f.prototype = v;
						var x = new f;
						return f.prototype = n, x
					}
				}();

				function jg() {}

				function to(f, v) {
					this.__wrapped__ = f, this.__actions__ = [], this.__chain__ = !!v, this.__index__ = 0, this.__values__ = n
				}
				L.templateSettings = {
					escape: nee,
					evaluate: ree,
					interpolate: K9,
					variable: "",
					imports: {
						_: L
					}
				}, L.prototype = jg.prototype, L.prototype.constructor = L, to.prototype = Kf(jg.prototype), to.prototype.constructor = to;

				function ct(f) {
					this.__wrapped__ = f, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = B, this.__views__ = []
				}

				function Bte() {
					var f = new ct(this.__wrapped__);
					return f.__actions__ = ti(this.__actions__), f.__dir__ = this.__dir__, f.__filtered__ = this.__filtered__, f.__iteratees__ = ti(this.__iteratees__), f.__takeCount__ = this.__takeCount__, f.__views__ = ti(this.__views__), f
				}

				function zte() {
					if (this.__filtered__) {
						var f = new ct(this);
						f.__dir__ = -1, f.__filtered__ = !0
					} else f = this.clone(), f.__dir__ *= -1;
					return f
				}

				function Gte() {
					var f = this.__wrapped__.value(),
						v = this.__dir__,
						x = Ze(f),
						I = v < 0,
						A = x ? f.length : 0,
						$ = rre(0, A, this.__views__),
						V = $.start,
						W = $.end,
						X = W - V,
						se = I ? W : V - 1,
						ue = this.__iteratees__,
						de = ue.length,
						ye = 0,
						Te = mr(X, this.__takeCount__);
					if (!x || !I && A == X && Te == X) return uI(f, this.__actions__);
					var Fe = [];
					e: for (; X-- && ye < Te;) {
						se += v;
						for (var nt = -1, je = f[se]; ++nt < de;) {
							var ut = ue[nt],
								dt = ut.iteratee,
								Pi = ut.type,
								jr = dt(je);
							if (Pi == K) je = jr;
							else if (!jr) {
								if (Pi == G) continue e;
								break e
							}
						}
						Fe[ye++] = je
					}
					return Fe
				}
				ct.prototype = Kf(jg.prototype), ct.prototype.constructor = ct;

				function Kl(f) {
					var v = -1,
						x = f == null ? 0 : f.length;
					for (this.clear(); ++v < x;) {
						var I = f[v];
						this.set(I[0], I[1])
					}
				}

				function Wte() {
					this.__data__ = Qh ? Qh(null) : {}, this.size = 0
				}

				function Kte(f) {
					var v = this.has(f) && delete this.__data__[f];
					return this.size -= v ? 1 : 0, v
				}

				function Zte(f) {
					var v = this.__data__;
					if (Qh) {
						var x = v[f];
						return x === u ? n : x
					}
					return Lt.call(v, f) ? v[f] : n
				}

				function qte(f) {
					var v = this.__data__;
					return Qh ? v[f] !== n : Lt.call(v, f)
				}

				function Yte(f, v) {
					var x = this.__data__;
					return this.size += this.has(f) ? 0 : 1, x[f] = Qh && v === n ? u : v, this
				}
				Kl.prototype.clear = Wte, Kl.prototype.delete = Kte, Kl.prototype.get = Zte, Kl.prototype.has = qte, Kl.prototype.set = Yte;

				function rs(f) {
					var v = -1,
						x = f == null ? 0 : f.length;
					for (this.clear(); ++v < x;) {
						var I = f[v];
						this.set(I[0], I[1])
					}
				}

				function Xte() {
					this.__data__ = [], this.size = 0
				}

				function Jte(f) {
					var v = this.__data__,
						x = Ug(v, f);
					if (x < 0) return !1;
					var I = v.length - 1;
					return x == I ? v.pop() : Pg.call(v, x, 1), --this.size, !0
				}

				function Qte(f) {
					var v = this.__data__,
						x = Ug(v, f);
					return x < 0 ? n : v[x][1]
				}

				function ene(f) {
					return Ug(this.__data__, f) > -1
				}

				function tne(f, v) {
					var x = this.__data__,
						I = Ug(x, f);
					return I < 0 ? (++this.size, x.push([f, v])) : x[I][1] = v, this
				}
				rs.prototype.clear = Xte, rs.prototype.delete = Jte, rs.prototype.get = Qte, rs.prototype.has = ene, rs.prototype.set = tne;

				function is(f) {
					var v = -1,
						x = f == null ? 0 : f.length;
					for (this.clear(); ++v < x;) {
						var I = f[v];
						this.set(I[0], I[1])
					}
				}

				function nne() {
					this.size = 0, this.__data__ = {
						hash: new Kl,
						map: new(Xh || rs),
						string: new Kl
					}
				}

				function rne(f) {
					var v = Jg(this, f).delete(f);
					return this.size -= v ? 1 : 0, v
				}

				function ine(f) {
					return Jg(this, f).get(f)
				}

				function one(f) {
					return Jg(this, f).has(f)
				}

				function ane(f, v) {
					var x = Jg(this, f),
						I = x.size;
					return x.set(f, v), this.size += x.size == I ? 0 : 1, this
				}
				is.prototype.clear = nne, is.prototype.delete = rne, is.prototype.get = ine, is.prototype.has = one, is.prototype.set = ane;

				function Zl(f) {
					var v = -1,
						x = f == null ? 0 : f.length;
					for (this.__data__ = new is; ++v < x;) this.add(f[v])
				}

				function sne(f) {
					return this.__data__.set(f, u), this
				}

				function une(f) {
					return this.__data__.has(f)
				}
				Zl.prototype.add = Zl.prototype.push = sne, Zl.prototype.has = une;

				function ko(f) {
					var v = this.__data__ = new rs(f);
					this.size = v.size
				}

				function lne() {
					this.__data__ = new rs, this.size = 0
				}

				function cne(f) {
					var v = this.__data__,
						x = v.delete(f);
					return this.size = v.size, x
				}

				function fne(f) {
					return this.__data__.get(f)
				}

				function dne(f) {
					return this.__data__.has(f)
				}

				function pne(f, v) {
					var x = this.__data__;
					if (x instanceof rs) {
						var I = x.__data__;
						if (!Xh || I.length < i - 1) return I.push([f, v]), this.size = ++x.size, this;
						x = this.__data__ = new is(I)
					}
					return x.set(f, v), this.size = x.size, this
				}
				ko.prototype.clear = lne, ko.prototype.delete = cne, ko.prototype.get = fne, ko.prototype.has = dne, ko.prototype.set = pne;

				function jR(f, v) {
					var x = Ze(f),
						I = !x && Ql(f),
						A = !x && !I && pu(f),
						$ = !x && !I && !A && Xf(f),
						V = x || I || A || $,
						W = V ? D4(f.length, xte) : [],
						X = W.length;
					for (var se in f)(v || Lt.call(f, se)) && !(V && (se == "length" || A && (se == "offset" || se == "parent") || $ && (se == "buffer" || se == "byteLength" || se == "byteOffset") || us(se, X))) && W.push(se);
					return W
				}

				function UR(f) {
					var v = f.length;
					return v ? f[Q4(0, v - 1)] : n
				}

				function hne(f, v) {
					return Qg(ti(f), ql(v, 0, f.length))
				}

				function vne(f) {
					return Qg(ti(f))
				}

				function B4(f, v, x) {
					(x !== n && !Ao(f[v], x) || x === n && !(v in f)) && os(f, v, x)
				}

				function t0(f, v, x) {
					var I = f[v];
					(!(Lt.call(f, v) && Ao(I, x)) || x === n && !(v in f)) && os(f, v, x)
				}

				function Ug(f, v) {
					for (var x = f.length; x--;)
						if (Ao(f[x][0], v)) return x;
					return -1
				}

				function gne(f, v, x, I) {
					return lu(f, function(A, $, V) {
						v(I, A, x(A), V)
					}), I
				}

				function HR(f, v) {
					return f && ya(v, qn(v), f)
				}

				function mne(f, v) {
					return f && ya(v, ri(v), f)
				}

				function os(f, v, x) {
					v == "__proto__" && Lg ? Lg(f, v, {
						configurable: !0,
						enumerable: !0,
						value: x,
						writable: !0
					}) : f[v] = x
				}

				function z4(f, v) {
					for (var x = -1, I = v.length, A = re(I), $ = f == null; ++x < I;) A[x] = $ ? n : ES(f, v[x]);
					return A
				}

				function ql(f, v, x) {
					return f === f && (x !== n && (f = f <= x ? f : x), v !== n && (f = f >= v ? f : v)), f
				}

				function no(f, v, x, I, A, $) {
					var V, W = v & d,
						X = v & p,
						se = v & g;
					if (x && (V = A ? x(f, I, A, $) : x(f)), V !== n) return V;
					if (!cn(f)) return f;
					var ue = Ze(f);
					if (ue) {
						if (V = ore(f), !W) return ti(f, V)
					} else {
						var de = yr(f),
							ye = de == Ve || de == Mt;
						if (pu(f)) return fI(f, W);
						if (de == ze || de == ie || ye && !A) {
							if (V = X || ye ? {} : kI(f), !W) return X ? Zne(f, mne(V, f)) : Kne(f, HR(V, f))
						} else {
							if (!Gt[de]) return A ? f : {};
							V = are(f, de, W)
						}
					}
					$ || ($ = new ko);
					var Te = $.get(f);
					if (Te) return Te;
					$.set(f, V), ok(f) ? f.forEach(function(je) {
						V.add(no(je, v, x, je, f, $))
					}) : rk(f) && f.forEach(function(je, ut) {
						V.set(ut, no(je, v, x, ut, f, $))
					});
					var Fe = se ? X ? cS : lS : X ? ri : qn,
						nt = ue ? n : Fe(f);
					return Qi(nt || f, function(je, ut) {
						nt && (ut = je, je = f[ut]), t0(V, ut, no(je, v, x, ut, f, $))
					}), V
				}

				function yne(f) {
					var v = qn(f);
					return function(x) {
						return VR(x, f, v)
					}
				}

				function VR(f, v, x) {
					var I = x.length;
					if (f == null) return !I;
					for (f = Ht(f); I--;) {
						var A = x[I],
							$ = v[A],
							V = f[A];
						if (V === n && !(A in f) || !$(V)) return !1
					}
					return !0
				}

				function BR(f, v, x) {
					if (typeof f != "function") throw new eo(a);
					return u0(function() {
						f.apply(n, x)
					}, v)
				}

				function n0(f, v, x, I) {
					var A = -1,
						$ = xg,
						V = !0,
						W = f.length,
						X = [],
						se = v.length;
					if (!W) return X;
					x && (v = nn(v, ki(x))), I ? ($ = k4, V = !1) : v.length >= i && ($ = qh, V = !1, v = new Zl(v));
					e: for (; ++A < W;) {
						var ue = f[A],
							de = x == null ? ue : x(ue);
						if (ue = I || ue !== 0 ? ue : 0, V && de === de) {
							for (var ye = se; ye--;)
								if (v[ye] === de) continue e;
							X.push(ue)
						} else $(v, de, I) || X.push(ue)
					}
					return X
				}
				var lu = gI(ma),
					zR = gI(W4, !0);

				function wne(f, v) {
					var x = !0;
					return lu(f, function(I, A, $) {
						return x = !!v(I, A, $), x
					}), x
				}

				function Hg(f, v, x) {
					for (var I = -1, A = f.length; ++I < A;) {
						var $ = f[I],
							V = v($);
						if (V != null && (W === n ? V === V && !Mi(V) : x(V, W))) var W = V,
							X = $
					}
					return X
				}

				function _ne(f, v, x, I) {
					var A = f.length;
					for (x = et(x), x < 0 && (x = -x > A ? 0 : A + x), I = I === n || I > A ? A : et(I), I < 0 && (I += A), I = x > I ? 0 : sk(I); x < I;) f[x++] = v;
					return f
				}

				function GR(f, v) {
					var x = [];
					return lu(f, function(I, A, $) {
						v(I, A, $) && x.push(I)
					}), x
				}

				function cr(f, v, x, I, A) {
					var $ = -1,
						V = f.length;
					for (x || (x = ure), A || (A = []); ++$ < V;) {
						var W = f[$];
						v > 0 && x(W) ? v > 1 ? cr(W, v - 1, x, I, A) : au(A, W) : I || (A[A.length] = W)
					}
					return A
				}
				var G4 = mI(),
					WR = mI(!0);

				function ma(f, v) {
					return f && G4(f, v, qn)
				}

				function W4(f, v) {
					return f && WR(f, v, qn)
				}

				function Vg(f, v) {
					return ou(v, function(x) {
						return ls(f[x])
					})
				}

				function Yl(f, v) {
					v = fu(v, f);
					for (var x = 0, I = v.length; f != null && x < I;) f = f[wa(v[x++])];
					return x && x == I ? f : n
				}

				function KR(f, v, x) {
					var I = v(f);
					return Ze(f) ? I : au(I, x(f))
				}

				function $r(f) {
					return f == null ? f === n ? ur : Je : Wl && Wl in Ht(f) ? nre(f) : vre(f)
				}

				function K4(f, v) {
					return f > v
				}

				function bne(f, v) {
					return f != null && Lt.call(f, v)
				}

				function Sne(f, v) {
					return f != null && v in Ht(f)
				}

				function xne(f, v, x) {
					return f >= mr(v, x) && f < Hn(v, x)
				}

				function Z4(f, v, x) {
					for (var I = x ? k4 : xg, A = f[0].length, $ = f.length, V = $, W = re($), X = 1 / 0, se = []; V--;) {
						var ue = f[V];
						V && v && (ue = nn(ue, ki(v))), X = mr(ue.length, X), W[V] = !x && (v || A >= 120 && ue.length >= 120) ? new Zl(V && ue) : n
					}
					ue = f[0];
					var de = -1,
						ye = W[0];
					e: for (; ++de < A && se.length < X;) {
						var Te = ue[de],
							Fe = v ? v(Te) : Te;
						if (Te = x || Te !== 0 ? Te : 0, !(ye ? qh(ye, Fe) : I(se, Fe, x))) {
							for (V = $; --V;) {
								var nt = W[V];
								if (!(nt ? qh(nt, Fe) : I(f[V], Fe, x))) continue e
							}
							ye && ye.push(Fe), se.push(Te)
						}
					}
					return se
				}

				function Ene(f, v, x, I) {
					return ma(f, function(A, $, V) {
						v(I, x(A), $, V)
					}), I
				}

				function r0(f, v, x) {
					v = fu(v, f), f = LI(f, v);
					var I = f == null ? f : f[wa(io(v))];
					return I == null ? n : Ii(I, f, x)
				}

				function ZR(f) {
					return gn(f) && $r(f) == ie
				}

				function Cne(f) {
					return gn(f) && $r(f) == Xi
				}

				function One(f) {
					return gn(f) && $r(f) == be
				}

				function i0(f, v, x, I, A) {
					return f === v ? !0 : f == null || v == null || !gn(f) && !gn(v) ? f !== f && v !== v : Tne(f, v, x, I, i0, A)
				}

				function Tne(f, v, x, I, A, $) {
					var V = Ze(f),
						W = Ze(v),
						X = V ? le : yr(f),
						se = W ? le : yr(v);
					X = X == ie ? ze : X, se = se == ie ? ze : se;
					var ue = X == ze,
						de = se == ze,
						ye = X == se;
					if (ye && pu(f)) {
						if (!pu(v)) return !1;
						V = !0, ue = !1
					}
					if (ye && !ue) return $ || ($ = new ko), V || Xf(f) ? TI(f, v, x, I, A, $) : ere(f, v, X, x, I, A, $);
					if (!(x & m)) {
						var Te = ue && Lt.call(f, "__wrapped__"),
							Fe = de && Lt.call(v, "__wrapped__");
						if (Te || Fe) {
							var nt = Te ? f.value() : f,
								je = Fe ? v.value() : v;
							return $ || ($ = new ko), A(nt, je, x, I, $)
						}
					}
					return ye ? ($ || ($ = new ko), tre(f, v, x, I, A, $)) : !1
				}

				function Rne(f) {
					return gn(f) && yr(f) == gt
				}

				function q4(f, v, x, I) {
					var A = x.length,
						$ = A,
						V = !I;
					if (f == null) return !$;
					for (f = Ht(f); A--;) {
						var W = x[A];
						if (V && W[2] ? W[1] !== f[W[0]] : !(W[0] in f)) return !1
					}
					for (; ++A < $;) {
						W = x[A];
						var X = W[0],
							se = f[X],
							ue = W[1];
						if (V && W[2]) {
							if (se === n && !(X in f)) return !1
						} else {
							var de = new ko;
							if (I) var ye = I(se, ue, X, f, v, de);
							if (!(ye === n ? i0(ue, se, m | _, I, de) : ye)) return !1
						}
					}
					return !0
				}

				function qR(f) {
					if (!cn(f) || cre(f)) return !1;
					var v = ls(f) ? Rte : yee;
					return v.test(Jl(f))
				}

				function Ine(f) {
					return gn(f) && $r(f) == ei
				}

				function kne(f) {
					return gn(f) && yr(f) == qt
				}

				function Ane(f) {
					return gn(f) && om(f.length) && !!Yt[$r(f)]
				}

				function YR(f) {
					return typeof f == "function" ? f : f == null ? ii : typeof f == "object" ? Ze(f) ? QR(f[0], f[1]) : JR(f) : yk(f)
				}

				function Y4(f) {
					if (!s0(f)) return Lte(f);
					var v = [];
					for (var x in Ht(f)) Lt.call(f, x) && x != "constructor" && v.push(x);
					return v
				}

				function Mne(f) {
					if (!cn(f)) return hre(f);
					var v = s0(f),
						x = [];
					for (var I in f) I == "constructor" && (v || !Lt.call(f, I)) || x.push(I);
					return x
				}

				function X4(f, v) {
					return f < v
				}

				function XR(f, v) {
					var x = -1,
						I = ni(f) ? re(f.length) : [];
					return lu(f, function(A, $, V) {
						I[++x] = v(A, $, V)
					}), I
				}

				function JR(f) {
					var v = dS(f);
					return v.length == 1 && v[0][2] ? MI(v[0][0], v[0][1]) : function(x) {
						return x === f || q4(x, f, v)
					}
				}

				function QR(f, v) {
					return hS(f) && AI(v) ? MI(wa(f), v) : function(x) {
						var I = ES(x, f);
						return I === n && I === v ? CS(x, f) : i0(v, I, m | _)
					}
				}

				function Bg(f, v, x, I, A) {
					f !== v && G4(v, function($, V) {
						if (A || (A = new ko), cn($)) Pne(f, v, V, x, Bg, I, A);
						else {
							var W = I ? I(gS(f, V), $, V + "", f, v, A) : n;
							W === n && (W = $), B4(f, V, W)
						}
					}, ri)
				}

				function Pne(f, v, x, I, A, $, V) {
					var W = gS(f, x),
						X = gS(v, x),
						se = V.get(X);
					if (se) {
						B4(f, x, se);
						return
					}
					var ue = $ ? $(W, X, x + "", f, v, V) : n,
						de = ue === n;
					if (de) {
						var ye = Ze(X),
							Te = !ye && pu(X),
							Fe = !ye && !Te && Xf(X);
						ue = X, ye || Te || Fe ? Ze(W) ? ue = W : Sn(W) ? ue = ti(W) : Te ? (de = !1, ue = fI(X, !0)) : Fe ? (de = !1, ue = dI(X, !0)) : ue = [] : l0(X) || Ql(X) ? (ue = W, Ql(W) ? ue = uk(W) : (!cn(W) || ls(W)) && (ue = kI(X))) : de = !1
					}
					de && (V.set(X, ue), A(ue, X, I, $, V), V.delete(X)), B4(f, x, ue)
				}

				function eI(f, v) {
					var x = f.length;
					if (x) return v += v < 0 ? x : 0, us(v, x) ? f[v] : n
				}

				function tI(f, v, x) {
					v.length ? v = nn(v, function($) {
						return Ze($) ? function(V) {
							return Yl(V, $.length === 1 ? $[0] : $)
						} : $
					}) : v = [ii];
					var I = -1;
					v = nn(v, ki(Le()));
					var A = XR(f, function($, V, W) {
						var X = nn(v, function(se) {
							return se($)
						});
						return {
							criteria: X,
							index: ++I,
							value: $
						}
					});
					return ate(A, function($, V) {
						return Wne($, V, x)
					})
				}

				function Lne(f, v) {
					return nI(f, v, function(x, I) {
						return CS(f, I)
					})
				}

				function nI(f, v, x) {
					for (var I = -1, A = v.length, $ = {}; ++I < A;) {
						var V = v[I],
							W = Yl(f, V);
						x(W, V) && o0($, fu(V, f), W)
					}
					return $
				}

				function Nne(f) {
					return function(v) {
						return Yl(v, f)
					}
				}

				function J4(f, v, x, I) {
					var A = I ? ote : Uf,
						$ = -1,
						V = v.length,
						W = f;
					for (f === v && (v = ti(v)), x && (W = nn(f, ki(x))); ++$ < V;)
						for (var X = 0, se = v[$], ue = x ? x(se) : se;
							(X = A(W, ue, X, I)) > -1;) W !== f && Pg.call(W, X, 1), Pg.call(f, X, 1);
					return f
				}

				function rI(f, v) {
					for (var x = f ? v.length : 0, I = x - 1; x--;) {
						var A = v[x];
						if (x == I || A !== $) {
							var $ = A;
							us(A) ? Pg.call(f, A, 1) : nS(f, A)
						}
					}
					return f
				}

				function Q4(f, v) {
					return f + Dg($R() * (v - f + 1))
				}

				function Dne(f, v, x, I) {
					for (var A = -1, $ = Hn(Ng((v - f) / (x || 1)), 0), V = re($); $--;) V[I ? $ : ++A] = f, f += x;
					return V
				}

				function eS(f, v) {
					var x = "";
					if (!f || v < 1 || v > q) return x;
					do v % 2 && (x += f), v = Dg(v / 2), v && (f += f); while (v);
					return x
				}

				function it(f, v) {
					return mS(PI(f, v, ii), f + "")
				}

				function $ne(f) {
					return UR(Jf(f))
				}

				function Fne(f, v) {
					var x = Jf(f);
					return Qg(x, ql(v, 0, x.length))
				}

				function o0(f, v, x, I) {
					if (!cn(f)) return f;
					v = fu(v, f);
					for (var A = -1, $ = v.length, V = $ - 1, W = f; W != null && ++A < $;) {
						var X = wa(v[A]),
							se = x;
						if (X === "__proto__" || X === "constructor" || X === "prototype") return f;
						if (A != V) {
							var ue = W[X];
							se = I ? I(ue, X, W) : n, se === n && (se = cn(ue) ? ue : us(v[A + 1]) ? [] : {})
						}
						t0(W, X, se), W = W[X]
					}
					return f
				}
				var iI = $g ? function(f, v) {
						return $g.set(f, v), f
					} : ii,
					jne = Lg ? function(f, v) {
						return Lg(f, "toString", {
							configurable: !0,
							enumerable: !1,
							value: TS(v),
							writable: !0
						})
					} : ii;

				function Une(f) {
					return Qg(Jf(f))
				}

				function ro(f, v, x) {
					var I = -1,
						A = f.length;
					v < 0 && (v = -v > A ? 0 : A + v), x = x > A ? A : x, x < 0 && (x += A), A = v > x ? 0 : x - v >>> 0, v >>>= 0;
					for (var $ = re(A); ++I < A;) $[I] = f[I + v];
					return $
				}

				function Hne(f, v) {
					var x;
					return lu(f, function(I, A, $) {
						return x = v(I, A, $), !x
					}), !!x
				}

				function zg(f, v, x) {
					var I = 0,
						A = f == null ? I : f.length;
					if (typeof v == "number" && v === v && A <= z) {
						for (; I < A;) {
							var $ = I + A >>> 1,
								V = f[$];
							V !== null && !Mi(V) && (x ? V <= v : V < v) ? I = $ + 1 : A = $
						}
						return A
					}
					return tS(f, v, ii, x)
				}

				function tS(f, v, x, I) {
					var A = 0,
						$ = f == null ? 0 : f.length;
					if ($ === 0) return 0;
					v = x(v);
					for (var V = v !== v, W = v === null, X = Mi(v), se = v === n; A < $;) {
						var ue = Dg((A + $) / 2),
							de = x(f[ue]),
							ye = de !== n,
							Te = de === null,
							Fe = de === de,
							nt = Mi(de);
						if (V) var je = I || Fe;
						else se ? je = Fe && (I || ye) : W ? je = Fe && ye && (I || !Te) : X ? je = Fe && ye && !Te && (I || !nt) : Te || nt ? je = !1 : je = I ? de <= v : de < v;
						je ? A = ue + 1 : $ = ue
					}
					return mr($, Z)
				}

				function oI(f, v) {
					for (var x = -1, I = f.length, A = 0, $ = []; ++x < I;) {
						var V = f[x],
							W = v ? v(V) : V;
						if (!x || !Ao(W, X)) {
							var X = W;
							$[A++] = V === 0 ? 0 : V
						}
					}
					return $
				}

				function aI(f) {
					return typeof f == "number" ? f : Mi(f) ? j : +f
				}

				function Ai(f) {
					if (typeof f == "string") return f;
					if (Ze(f)) return nn(f, Ai) + "";
					if (Mi(f)) return FR ? FR.call(f) : "";
					var v = f + "";
					return v == "0" && 1 / f == -te ? "-0" : v
				}

				function cu(f, v, x) {
					var I = -1,
						A = xg,
						$ = f.length,
						V = !0,
						W = [],
						X = W;
					if (x) V = !1, A = k4;
					else if ($ >= i) {
						var se = v ? null : Jne(f);
						if (se) return Cg(se);
						V = !1, A = qh, X = new Zl
					} else X = v ? [] : W;
					e: for (; ++I < $;) {
						var ue = f[I],
							de = v ? v(ue) : ue;
						if (ue = x || ue !== 0 ? ue : 0, V && de === de) {
							for (var ye = X.length; ye--;)
								if (X[ye] === de) continue e;
							v && X.push(de), W.push(ue)
						} else A(X, de, x) || (X !== W && X.push(de), W.push(ue))
					}
					return W
				}

				function nS(f, v) {
					return v = fu(v, f), f = LI(f, v), f == null || delete f[wa(io(v))]
				}

				function sI(f, v, x, I) {
					return o0(f, v, x(Yl(f, v)), I)
				}

				function Gg(f, v, x, I) {
					for (var A = f.length, $ = I ? A : -1;
						(I ? $-- : ++$ < A) && v(f[$], $, f););
					return x ? ro(f, I ? 0 : $, I ? $ + 1 : A) : ro(f, I ? $ + 1 : 0, I ? A : $)
				}

				function uI(f, v) {
					var x = f;
					return x instanceof ct && (x = x.value()), A4(v, function(I, A) {
						return A.func.apply(A.thisArg, au([I], A.args))
					}, x)
				}

				function rS(f, v, x) {
					var I = f.length;
					if (I < 2) return I ? cu(f[0]) : [];
					for (var A = -1, $ = re(I); ++A < I;)
						for (var V = f[A], W = -1; ++W < I;) W != A && ($[A] = n0($[A] || V, f[W], v, x));
					return cu(cr($, 1), v, x)
				}

				function lI(f, v, x) {
					for (var I = -1, A = f.length, $ = v.length, V = {}; ++I < A;) {
						var W = I < $ ? v[I] : n;
						x(V, f[I], W)
					}
					return V
				}

				function iS(f) {
					return Sn(f) ? f : []
				}

				function oS(f) {
					return typeof f == "function" ? f : ii
				}

				function fu(f, v) {
					return Ze(f) ? f : hS(f, v) ? [f] : FI(Pt(f))
				}
				var Vne = it;

				function du(f, v, x) {
					var I = f.length;
					return x = x === n ? I : x, !v && x >= I ? f : ro(f, v, x)
				}
				var cI = Ite || function(f) {
					return lr.clearTimeout(f)
				};

				function fI(f, v) {
					if (v) return f.slice();
					var x = f.length,
						I = MR ? MR(x) : new f.constructor(x);
					return f.copy(I), I
				}

				function aS(f) {
					var v = new f.constructor(f.byteLength);
					return new Ag(v).set(new Ag(f)), v
				}

				function Bne(f, v) {
					var x = v ? aS(f.buffer) : f.buffer;
					return new f.constructor(x, f.byteOffset, f.byteLength)
				}

				function zne(f) {
					var v = new f.constructor(f.source, Z9.exec(f));
					return v.lastIndex = f.lastIndex, v
				}

				function Gne(f) {
					return e0 ? Ht(e0.call(f)) : {}
				}

				function dI(f, v) {
					var x = v ? aS(f.buffer) : f.buffer;
					return new f.constructor(x, f.byteOffset, f.length)
				}

				function pI(f, v) {
					if (f !== v) {
						var x = f !== n,
							I = f === null,
							A = f === f,
							$ = Mi(f),
							V = v !== n,
							W = v === null,
							X = v === v,
							se = Mi(v);
						if (!W && !se && !$ && f > v || $ && V && X && !W && !se || I && V && X || !x && X || !A) return 1;
						if (!I && !$ && !se && f < v || se && x && A && !I && !$ || W && x && A || !V && A || !X) return -1
					}
					return 0
				}

				function Wne(f, v, x) {
					for (var I = -1, A = f.criteria, $ = v.criteria, V = A.length, W = x.length; ++I < V;) {
						var X = pI(A[I], $[I]);
						if (X) {
							if (I >= W) return X;
							var se = x[I];
							return X * (se == "desc" ? -1 : 1)
						}
					}
					return f.index - v.index
				}

				function hI(f, v, x, I) {
					for (var A = -1, $ = f.length, V = x.length, W = -1, X = v.length, se = Hn($ - V, 0), ue = re(X + se), de = !I; ++W < X;) ue[W] = v[W];
					for (; ++A < V;)(de || A < $) && (ue[x[A]] = f[A]);
					for (; se--;) ue[W++] = f[A++];
					return ue
				}

				function vI(f, v, x, I) {
					for (var A = -1, $ = f.length, V = -1, W = x.length, X = -1, se = v.length, ue = Hn($ - W, 0), de = re(ue + se), ye = !I; ++A < ue;) de[A] = f[A];
					for (var Te = A; ++X < se;) de[Te + X] = v[X];
					for (; ++V < W;)(ye || A < $) && (de[Te + x[V]] = f[A++]);
					return de
				}

				function ti(f, v) {
					var x = -1,
						I = f.length;
					for (v || (v = re(I)); ++x < I;) v[x] = f[x];
					return v
				}

				function ya(f, v, x, I) {
					var A = !x;
					x || (x = {});
					for (var $ = -1, V = v.length; ++$ < V;) {
						var W = v[$],
							X = I ? I(x[W], f[W], W, x, f) : n;
						X === n && (X = f[W]), A ? os(x, W, X) : t0(x, W, X)
					}
					return x
				}

				function Kne(f, v) {
					return ya(f, pS(f), v)
				}

				function Zne(f, v) {
					return ya(f, RI(f), v)
				}

				function Wg(f, v) {
					return function(x, I) {
						var A = Ze(x) ? Qee : gne,
							$ = v ? v() : {};
						return A(x, f, Le(I, 2), $)
					}
				}

				function Zf(f) {
					return it(function(v, x) {
						var I = -1,
							A = x.length,
							$ = A > 1 ? x[A - 1] : n,
							V = A > 2 ? x[2] : n;
						for ($ = f.length > 3 && typeof $ == "function" ? (A--, $) : n, V && Fr(x[0], x[1], V) && ($ = A < 3 ? n : $, A = 1), v = Ht(v); ++I < A;) {
							var W = x[I];
							W && f(v, W, I, $)
						}
						return v
					})
				}

				function gI(f, v) {
					return function(x, I) {
						if (x == null) return x;
						if (!ni(x)) return f(x, I);
						for (var A = x.length, $ = v ? A : -1, V = Ht(x);
							(v ? $-- : ++$ < A) && I(V[$], $, V) !== !1;);
						return x
					}
				}

				function mI(f) {
					return function(v, x, I) {
						for (var A = -1, $ = Ht(v), V = I(v), W = V.length; W--;) {
							var X = V[f ? W : ++A];
							if (x($[X], X, $) === !1) break
						}
						return v
					}
				}

				function qne(f, v, x) {
					var I = v & S,
						A = a0(f);

					function $() {
						var V = this && this !== lr && this instanceof $ ? A : f;
						return V.apply(I ? x : this, arguments)
					}
					return $
				}

				function yI(f) {
					return function(v) {
						v = Pt(v);
						var x = Hf(v) ? Io(v) : n,
							I = x ? x[0] : v.charAt(0),
							A = x ? du(x, 1).join("") : v.slice(1);
						return I[f]() + A
					}
				}

				function qf(f) {
					return function(v) {
						return A4(gk(vk(v).replace(jee, "")), f, "")
					}
				}

				function a0(f) {
					return function() {
						var v = arguments;
						switch (v.length) {
							case 0:
								return new f;
							case 1:
								return new f(v[0]);
							case 2:
								return new f(v[0], v[1]);
							case 3:
								return new f(v[0], v[1], v[2]);
							case 4:
								return new f(v[0], v[1], v[2], v[3]);
							case 5:
								return new f(v[0], v[1], v[2], v[3], v[4]);
							case 6:
								return new f(v[0], v[1], v[2], v[3], v[4], v[5]);
							case 7:
								return new f(v[0], v[1], v[2], v[3], v[4], v[5], v[6])
						}
						var x = Kf(f.prototype),
							I = f.apply(x, v);
						return cn(I) ? I : x
					}
				}

				function Yne(f, v, x) {
					var I = a0(f);

					function A() {
						for (var $ = arguments.length, V = re($), W = $, X = Yf(A); W--;) V[W] = arguments[W];
						var se = $ < 3 && V[0] !== X && V[$ - 1] !== X ? [] : su(V, X);
						if ($ -= se.length, $ < x) return xI(f, v, Kg, A.placeholder, n, V, se, n, n, x - $);
						var ue = this && this !== lr && this instanceof A ? I : f;
						return Ii(ue, this, V)
					}
					return A
				}

				function wI(f) {
					return function(v, x, I) {
						var A = Ht(v);
						if (!ni(v)) {
							var $ = Le(x, 3);
							v = qn(v), x = function(W) {
								return $(A[W], W, A)
							}
						}
						var V = f(v, x, I);
						return V > -1 ? A[$ ? v[V] : V] : n
					}
				}

				function _I(f) {
					return ss(function(v) {
						var x = v.length,
							I = x,
							A = to.prototype.thru;
						for (f && v.reverse(); I--;) {
							var $ = v[I];
							if (typeof $ != "function") throw new eo(a);
							if (A && !V && Xg($) == "wrapper") var V = new to([], !0)
						}
						for (I = V ? I : x; ++I < x;) {
							$ = v[I];
							var W = Xg($),
								X = W == "wrapper" ? fS($) : n;
							X && vS(X[0]) && X[1] == (R | b | T | k) && !X[4].length && X[9] == 1 ? V = V[Xg(X[0])].apply(V, X[3]) : V = $.length == 1 && vS($) ? V[W]() : V.thru($)
						}
						return function() {
							var se = arguments,
								ue = se[0];
							if (V && se.length == 1 && Ze(ue)) return V.plant(ue).value();
							for (var de = 0, ye = x ? v[de].apply(this, se) : ue; ++de < x;) ye = v[de].call(this, ye);
							return ye
						}
					})
				}

				function Kg(f, v, x, I, A, $, V, W, X, se) {
					var ue = v & R,
						de = v & S,
						ye = v & y,
						Te = v & (b | E),
						Fe = v & M,
						nt = ye ? n : a0(f);

					function je() {
						for (var ut = arguments.length, dt = re(ut), Pi = ut; Pi--;) dt[Pi] = arguments[Pi];
						if (Te) var jr = Yf(je),
							Li = ute(dt, jr);
						if (I && (dt = hI(dt, I, A, Te)), $ && (dt = vI(dt, $, V, Te)), ut -= Li, Te && ut < se) {
							var xn = su(dt, jr);
							return xI(f, v, Kg, je.placeholder, x, dt, xn, W, X, se - ut)
						}
						var Mo = de ? x : this,
							fs = ye ? Mo[f] : f;
						return ut = dt.length, W ? dt = gre(dt, W) : Fe && ut > 1 && dt.reverse(), ue && X < ut && (dt.length = X), this && this !== lr && this instanceof je && (fs = nt || a0(fs)), fs.apply(Mo, dt)
					}
					return je
				}

				function bI(f, v) {
					return function(x, I) {
						return Ene(x, f, v(I), {})
					}
				}

				function Zg(f, v) {
					return function(x, I) {
						var A;
						if (x === n && I === n) return v;
						if (x !== n && (A = x), I !== n) {
							if (A === n) return I;
							typeof x == "string" || typeof I == "string" ? (x = Ai(x), I = Ai(I)) : (x = aI(x), I = aI(I)), A = f(x, I)
						}
						return A
					}
				}

				function sS(f) {
					return ss(function(v) {
						return v = nn(v, ki(Le())), it(function(x) {
							var I = this;
							return f(v, function(A) {
								return Ii(A, I, x)
							})
						})
					})
				}

				function qg(f, v) {
					v = v === n ? " " : Ai(v);
					var x = v.length;
					if (x < 2) return x ? eS(v, f) : v;
					var I = eS(v, Ng(f / Vf(v)));
					return Hf(v) ? du(Io(I), 0, f).join("") : I.slice(0, f)
				}

				function Xne(f, v, x, I) {
					var A = v & S,
						$ = a0(f);

					function V() {
						for (var W = -1, X = arguments.length, se = -1, ue = I.length, de = re(ue + X), ye = this && this !== lr && this instanceof V ? $ : f; ++se < ue;) de[se] = I[se];
						for (; X--;) de[se++] = arguments[++W];
						return Ii(ye, A ? x : this, de)
					}
					return V
				}

				function SI(f) {
					return function(v, x, I) {
						return I && typeof I != "number" && Fr(v, x, I) && (x = I = n), v = cs(v), x === n ? (x = v, v = 0) : x = cs(x), I = I === n ? v < x ? 1 : -1 : cs(I), Dne(v, x, I, f)
					}
				}

				function Yg(f) {
					return function(v, x) {
						return typeof v == "string" && typeof x == "string" || (v = oo(v), x = oo(x)), f(v, x)
					}
				}

				function xI(f, v, x, I, A, $, V, W, X, se) {
					var ue = v & b,
						de = ue ? V : n,
						ye = ue ? n : V,
						Te = ue ? $ : n,
						Fe = ue ? n : $;
					v |= ue ? T : O, v &= ~(ue ? O : T), v & w || (v &= ~(S | y));
					var nt = [f, v, A, Te, de, Fe, ye, W, X, se],
						je = x.apply(n, nt);
					return vS(f) && NI(je, nt), je.placeholder = I, DI(je, f, v)
				}

				function uS(f) {
					var v = Un[f];
					return function(x, I) {
						if (x = oo(x), I = I == null ? 0 : mr(et(I), 292), I && DR(x)) {
							var A = (Pt(x) + "e").split("e"),
								$ = v(A[0] + "e" + (+A[1] + I));
							return A = (Pt($) + "e").split("e"), +(A[0] + "e" + (+A[1] - I))
						}
						return v(x)
					}
				}
				var Jne = Gf && 1 / Cg(new Gf([, -0]))[1] == te ? function(f) {
					return new Gf(f)
				} : kS;

				function EI(f) {
					return function(v) {
						var x = yr(v);
						return x == gt ? F4(v) : x == qt ? vte(v) : ste(v, f(v))
					}
				}

				function as(f, v, x, I, A, $, V, W) {
					var X = v & y;
					if (!X && typeof f != "function") throw new eo(a);
					var se = I ? I.length : 0;
					if (se || (v &= ~(T | O), I = A = n), V = V === n ? V : Hn(et(V), 0), W = W === n ? W : et(W), se -= A ? A.length : 0, v & O) {
						var ue = I,
							de = A;
						I = A = n
					}
					var ye = X ? n : fS(f),
						Te = [f, v, x, I, A, ue, de, $, V, W];
					if (ye && pre(Te, ye), f = Te[0], v = Te[1], x = Te[2], I = Te[3], A = Te[4], W = Te[9] = Te[9] === n ? X ? 0 : f.length : Hn(Te[9] - se, 0), !W && v & (b | E) && (v &= ~(b | E)), !v || v == S) var Fe = qne(f, v, x);
					else v == b || v == E ? Fe = Yne(f, v, W) : (v == T || v == (S | T)) && !A.length ? Fe = Xne(f, v, x, I) : Fe = Kg.apply(n, Te);
					var nt = ye ? iI : NI;
					return DI(nt(Fe, Te), f, v)
				}

				function CI(f, v, x, I) {
					return f === n || Ao(f, zf[x]) && !Lt.call(I, x) ? v : f
				}

				function OI(f, v, x, I, A, $) {
					return cn(f) && cn(v) && ($.set(v, f), Bg(f, v, n, OI, $), $.delete(v)), f
				}

				function Qne(f) {
					return l0(f) ? n : f
				}

				function TI(f, v, x, I, A, $) {
					var V = x & m,
						W = f.length,
						X = v.length;
					if (W != X && !(V && X > W)) return !1;
					var se = $.get(f),
						ue = $.get(v);
					if (se && ue) return se == v && ue == f;
					var de = -1,
						ye = !0,
						Te = x & _ ? new Zl : n;
					for ($.set(f, v), $.set(v, f); ++de < W;) {
						var Fe = f[de],
							nt = v[de];
						if (I) var je = V ? I(nt, Fe, de, v, f, $) : I(Fe, nt, de, f, v, $);
						if (je !== n) {
							if (je) continue;
							ye = !1;
							break
						}
						if (Te) {
							if (!M4(v, function(ut, dt) {
									if (!qh(Te, dt) && (Fe === ut || A(Fe, ut, x, I, $))) return Te.push(dt)
								})) {
								ye = !1;
								break
							}
						} else if (!(Fe === nt || A(Fe, nt, x, I, $))) {
							ye = !1;
							break
						}
					}
					return $.delete(f), $.delete(v), ye
				}

				function ere(f, v, x, I, A, $, V) {
					switch (x) {
						case ga:
							if (f.byteLength != v.byteLength || f.byteOffset != v.byteOffset) return !1;
							f = f.buffer, v = v.buffer;
						case Xi:
							return !(f.byteLength != v.byteLength || !$(new Ag(f), new Ag(v)));
						case Ee:
						case be:
						case mt:
							return Ao(+f, +v);
						case _t:
							return f.name == v.name && f.message == v.message;
						case ei:
						case Ke:
							return f == v + "";
						case gt:
							var W = F4;
						case qt:
							var X = I & m;
							if (W || (W = Cg), f.size != v.size && !X) return !1;
							var se = V.get(f);
							if (se) return se == v;
							I |= _, V.set(f, v);
							var ue = TI(W(f), W(v), I, A, $, V);
							return V.delete(f), ue;
						case Bl:
							if (e0) return e0.call(f) == e0.call(v)
					}
					return !1
				}

				function tre(f, v, x, I, A, $) {
					var V = x & m,
						W = lS(f),
						X = W.length,
						se = lS(v),
						ue = se.length;
					if (X != ue && !V) return !1;
					for (var de = X; de--;) {
						var ye = W[de];
						if (!(V ? ye in v : Lt.call(v, ye))) return !1
					}
					var Te = $.get(f),
						Fe = $.get(v);
					if (Te && Fe) return Te == v && Fe == f;
					var nt = !0;
					$.set(f, v), $.set(v, f);
					for (var je = V; ++de < X;) {
						ye = W[de];
						var ut = f[ye],
							dt = v[ye];
						if (I) var Pi = V ? I(dt, ut, ye, v, f, $) : I(ut, dt, ye, f, v, $);
						if (!(Pi === n ? ut === dt || A(ut, dt, x, I, $) : Pi)) {
							nt = !1;
							break
						}
						je || (je = ye == "constructor")
					}
					if (nt && !je) {
						var jr = f.constructor,
							Li = v.constructor;
						jr != Li && "constructor" in f && "constructor" in v && !(typeof jr == "function" && jr instanceof jr && typeof Li == "function" && Li instanceof Li) && (nt = !1)
					}
					return $.delete(f), $.delete(v), nt
				}

				function ss(f) {
					return mS(PI(f, n, VI), f + "")
				}

				function lS(f) {
					return KR(f, qn, pS)
				}

				function cS(f) {
					return KR(f, ri, RI)
				}
				var fS = $g ? function(f) {
					return $g.get(f)
				} : kS;

				function Xg(f) {
					for (var v = f.name + "", x = Wf[v], I = Lt.call(Wf, v) ? x.length : 0; I--;) {
						var A = x[I],
							$ = A.func;
						if ($ == null || $ == f) return A.name
					}
					return v
				}

				function Yf(f) {
					var v = Lt.call(L, "placeholder") ? L : f;
					return v.placeholder
				}

				function Le() {
					var f = L.iteratee || RS;
					return f = f === RS ? YR : f, arguments.length ? f(arguments[0], arguments[1]) : f
				}

				function Jg(f, v) {
					var x = f.__data__;
					return lre(v) ? x[typeof v == "string" ? "string" : "hash"] : x.map
				}

				function dS(f) {
					for (var v = qn(f), x = v.length; x--;) {
						var I = v[x],
							A = f[I];
						v[x] = [I, A, AI(A)]
					}
					return v
				}

				function Xl(f, v) {
					var x = dte(f, v);
					return qR(x) ? x : n
				}

				function nre(f) {
					var v = Lt.call(f, Wl),
						x = f[Wl];
					try {
						f[Wl] = n;
						var I = !0
					} catch ($) {}
					var A = Ig.call(f);
					return I && (v ? f[Wl] = x : delete f[Wl]), A
				}
				var pS = U4 ? function(f) {
						return f == null ? [] : (f = Ht(f), ou(U4(f), function(v) {
							return LR.call(f, v)
						}))
					} : AS,
					RI = U4 ? function(f) {
						for (var v = []; f;) au(v, pS(f)), f = Mg(f);
						return v
					} : AS,
					yr = $r;
				(H4 && yr(new H4(new ArrayBuffer(1))) != ga || Xh && yr(new Xh) != gt || V4 && yr(V4.resolve()) != Ct || Gf && yr(new Gf) != qt || Jh && yr(new Jh) != zt) && (yr = function(f) {
					var v = $r(f),
						x = v == ze ? f.constructor : n,
						I = x ? Jl(x) : "";
					if (I) switch (I) {
						case Fte:
							return ga;
						case jte:
							return gt;
						case Ute:
							return Ct;
						case Hte:
							return qt;
						case Vte:
							return zt
					}
					return v
				});

				function rre(f, v, x) {
					for (var I = -1, A = x.length; ++I < A;) {
						var $ = x[I],
							V = $.size;
						switch ($.type) {
							case "drop":
								f += V;
								break;
							case "dropRight":
								v -= V;
								break;
							case "take":
								v = mr(v, f + V);
								break;
							case "takeRight":
								f = Hn(f, v - V);
								break
						}
					}
					return {
						start: f,
						end: v
					}
				}

				function ire(f) {
					var v = f.match(cee);
					return v ? v[1].split(fee) : []
				}

				function II(f, v, x) {
					v = fu(v, f);
					for (var I = -1, A = v.length, $ = !1; ++I < A;) {
						var V = wa(v[I]);
						if (!($ = f != null && x(f, V))) break;
						f = f[V]
					}
					return $ || ++I != A ? $ : (A = f == null ? 0 : f.length, !!A && om(A) && us(V, A) && (Ze(f) || Ql(f)))
				}

				function ore(f) {
					var v = f.length,
						x = new f.constructor(v);
					return v && typeof f[0] == "string" && Lt.call(f, "index") && (x.index = f.index, x.input = f.input), x
				}

				function kI(f) {
					return typeof f.constructor == "function" && !s0(f) ? Kf(Mg(f)) : {}
				}

				function are(f, v, x) {
					var I = f.constructor;
					switch (v) {
						case Xi:
							return aS(f);
						case Ee:
						case be:
							return new I(+f);
						case ga:
							return Bne(f, x);
						case zl:
						case Oe:
						case Me:
						case Qe:
						case bt:
						case Zn:
						case iu:
						case Zh:
						case _4:
							return dI(f, x);
						case gt:
							return new I;
						case mt:
						case Ke:
							return new I(f);
						case ei:
							return zne(f);
						case qt:
							return new I;
						case Bl:
							return Gne(f)
					}
				}

				function sre(f, v) {
					var x = v.length;
					if (!x) return f;
					var I = x - 1;
					return v[I] = (x > 1 ? "& " : "") + v[I], v = v.join(x > 2 ? ", " : " "), f.replace(lee, "{\n/* [wrapped with " + v + "] */\n")
				}

				function ure(f) {
					return Ze(f) || Ql(f) || !!(NR && f && f[NR])
				}

				function us(f, v) {
					var x = typeof f;
					return v = v == null ? q : v, !!v && (x == "number" || x != "symbol" && _ee.test(f)) && f > -1 && f % 1 == 0 && f < v
				}

				function Fr(f, v, x) {
					if (!cn(x)) return !1;
					var I = typeof v;
					return (I == "number" ? ni(x) && us(v, x.length) : I == "string" && v in x) ? Ao(x[v], f) : !1
				}

				function hS(f, v) {
					if (Ze(f)) return !1;
					var x = typeof f;
					return x == "number" || x == "symbol" || x == "boolean" || f == null || Mi(f) ? !0 : oee.test(f) || !iee.test(f) || v != null && f in Ht(v)
				}

				function lre(f) {
					var v = typeof f;
					return v == "string" || v == "number" || v == "symbol" || v == "boolean" ? f !== "__proto__" : f === null
				}

				function vS(f) {
					var v = Xg(f),
						x = L[v];
					if (typeof x != "function" || !(v in ct.prototype)) return !1;
					if (f === x) return !0;
					var I = fS(x);
					return !!I && f === I[0]
				}

				function cre(f) {
					return !!AR && AR in f
				}
				var fre = Tg ? ls : MS;

				function s0(f) {
					var v = f && f.constructor,
						x = typeof v == "function" && v.prototype || zf;
					return f === x
				}

				function AI(f) {
					return f === f && !cn(f)
				}

				function MI(f, v) {
					return function(x) {
						return x == null ? !1 : x[f] === v && (v !== n || f in Ht(x))
					}
				}

				function dre(f) {
					var v = rm(f, function(I) {
							return x.size === l && x.clear(), I
						}),
						x = v.cache;
					return v
				}

				function pre(f, v) {
					var x = f[1],
						I = v[1],
						A = x | I,
						$ = A < (S | y | R),
						V = I == R && x == b || I == R && x == k && f[7].length <= v[8] || I == (R | k) && v[7].length <= v[8] && x == b;
					if (!($ || V)) return f;
					I & S && (f[2] = v[2], A |= x & S ? 0 : w);
					var W = v[3];
					if (W) {
						var X = f[3];
						f[3] = X ? hI(X, W, v[4]) : W, f[4] = X ? su(f[3], c) : v[4]
					}
					return W = v[5], W && (X = f[5], f[5] = X ? vI(X, W, v[6]) : W, f[6] = X ? su(f[5], c) : v[6]), W = v[7], W && (f[7] = W), I & R && (f[8] = f[8] == null ? v[8] : mr(f[8], v[8])), f[9] == null && (f[9] = v[9]), f[0] = v[0], f[1] = A, f
				}

				function hre(f) {
					var v = [];
					if (f != null)
						for (var x in Ht(f)) v.push(x);
					return v
				}

				function vre(f) {
					return Ig.call(f)
				}

				function PI(f, v, x) {
					return v = Hn(v === n ? f.length - 1 : v, 0),
						function() {
							for (var I = arguments, A = -1, $ = Hn(I.length - v, 0), V = re($); ++A < $;) V[A] = I[v + A];
							A = -1;
							for (var W = re(v + 1); ++A < v;) W[A] = I[A];
							return W[v] = x(V), Ii(f, this, W)
						}
				}

				function LI(f, v) {
					return v.length < 2 ? f : Yl(f, ro(v, 0, -1))
				}

				function gre(f, v) {
					for (var x = f.length, I = mr(v.length, x), A = ti(f); I--;) {
						var $ = v[I];
						f[I] = us($, x) ? A[$] : n
					}
					return f
				}

				function gS(f, v) {
					if (!(v === "constructor" && typeof f[v] == "function") && v != "__proto__") return f[v]
				}
				var NI = $I(iI),
					u0 = Ate || function(f, v) {
						return lr.setTimeout(f, v)
					},
					mS = $I(jne);

				function DI(f, v, x) {
					var I = v + "";
					return mS(f, sre(I, mre(ire(I), x)))
				}

				function $I(f) {
					var v = 0,
						x = 0;
					return function() {
						var I = Nte(),
							A = H - (I - x);
						if (x = I, A > 0) {
							if (++v >= U) return arguments[0]
						} else v = 0;
						return f.apply(n, arguments)
					}
				}

				function Qg(f, v) {
					var x = -1,
						I = f.length,
						A = I - 1;
					for (v = v === n ? I : v; ++x < v;) {
						var $ = Q4(x, A),
							V = f[$];
						f[$] = f[x], f[x] = V
					}
					return f.length = v, f
				}
				var FI = dre(function(f) {
					var v = [];
					return f.charCodeAt(0) === 46 && v.push(""), f.replace(aee, function(x, I, A, $) {
						v.push(A ? $.replace(hee, "$1") : I || x)
					}), v
				});

				function wa(f) {
					if (typeof f == "string" || Mi(f)) return f;
					var v = f + "";
					return v == "0" && 1 / f == -te ? "-0" : v
				}

				function Jl(f) {
					if (f != null) {
						try {
							return Rg.call(f)
						} catch (v) {}
						try {
							return f + ""
						} catch (v) {}
					}
					return ""
				}

				function mre(f, v) {
					return Qi(Q, function(x) {
						var I = "_." + x[0];
						v & x[1] && !xg(f, I) && f.push(I)
					}), f.sort()
				}

				function jI(f) {
					if (f instanceof ct) return f.clone();
					var v = new to(f.__wrapped__, f.__chain__);
					return v.__actions__ = ti(f.__actions__), v.__index__ = f.__index__, v.__values__ = f.__values__, v
				}

				function yre(f, v, x) {
					(x ? Fr(f, v, x) : v === n) ? v = 1: v = Hn(et(v), 0);
					var I = f == null ? 0 : f.length;
					if (!I || v < 1) return [];
					for (var A = 0, $ = 0, V = re(Ng(I / v)); A < I;) V[$++] = ro(f, A, A += v);
					return V
				}

				function wre(f) {
					for (var v = -1, x = f == null ? 0 : f.length, I = 0, A = []; ++v < x;) {
						var $ = f[v];
						$ && (A[I++] = $)
					}
					return A
				}

				function _re() {
					var f = arguments.length;
					if (!f) return [];
					for (var v = re(f - 1), x = arguments[0], I = f; I--;) v[I - 1] = arguments[I];
					return au(Ze(x) ? ti(x) : [x], cr(v, 1))
				}
				var bre = it(function(f, v) {
						return Sn(f) ? n0(f, cr(v, 1, Sn, !0)) : []
					}),
					Sre = it(function(f, v) {
						var x = io(v);
						return Sn(x) && (x = n), Sn(f) ? n0(f, cr(v, 1, Sn, !0), Le(x, 2)) : []
					}),
					xre = it(function(f, v) {
						var x = io(v);
						return Sn(x) && (x = n), Sn(f) ? n0(f, cr(v, 1, Sn, !0), n, x) : []
					});

				function Ere(f, v, x) {
					var I = f == null ? 0 : f.length;
					return I ? (v = x || v === n ? 1 : et(v), ro(f, v < 0 ? 0 : v, I)) : []
				}

				function Cre(f, v, x) {
					var I = f == null ? 0 : f.length;
					return I ? (v = x || v === n ? 1 : et(v), v = I - v, ro(f, 0, v < 0 ? 0 : v)) : []
				}

				function Ore(f, v) {
					return f && f.length ? Gg(f, Le(v, 3), !0, !0) : []
				}

				function Tre(f, v) {
					return f && f.length ? Gg(f, Le(v, 3), !0) : []
				}

				function Rre(f, v, x, I) {
					var A = f == null ? 0 : f.length;
					return A ? (x && typeof x != "number" && Fr(f, v, x) && (x = 0, I = A), _ne(f, v, x, I)) : []
				}

				function UI(f, v, x) {
					var I = f == null ? 0 : f.length;
					if (!I) return -1;
					var A = x == null ? 0 : et(x);
					return A < 0 && (A = Hn(I + A, 0)), Eg(f, Le(v, 3), A)
				}

				function HI(f, v, x) {
					var I = f == null ? 0 : f.length;
					if (!I) return -1;
					var A = I - 1;
					return x !== n && (A = et(x), A = x < 0 ? Hn(I + A, 0) : mr(A, I - 1)), Eg(f, Le(v, 3), A, !0)
				}

				function VI(f) {
					var v = f == null ? 0 : f.length;
					return v ? cr(f, 1) : []
				}

				function Ire(f) {
					var v = f == null ? 0 : f.length;
					return v ? cr(f, te) : []
				}

				function kre(f, v) {
					var x = f == null ? 0 : f.length;
					return x ? (v = v === n ? 1 : et(v), cr(f, v)) : []
				}

				function Are(f) {
					for (var v = -1, x = f == null ? 0 : f.length, I = {}; ++v < x;) {
						var A = f[v];
						I[A[0]] = A[1]
					}
					return I
				}

				function BI(f) {
					return f && f.length ? f[0] : n
				}

				function Mre(f, v, x) {
					var I = f == null ? 0 : f.length;
					if (!I) return -1;
					var A = x == null ? 0 : et(x);
					return A < 0 && (A = Hn(I + A, 0)), Uf(f, v, A)
				}

				function Pre(f) {
					var v = f == null ? 0 : f.length;
					return v ? ro(f, 0, -1) : []
				}
				var Lre = it(function(f) {
						var v = nn(f, iS);
						return v.length && v[0] === f[0] ? Z4(v) : []
					}),
					Nre = it(function(f) {
						var v = io(f),
							x = nn(f, iS);
						return v === io(x) ? v = n : x.pop(), x.length && x[0] === f[0] ? Z4(x, Le(v, 2)) : []
					}),
					Dre = it(function(f) {
						var v = io(f),
							x = nn(f, iS);
						return v = typeof v == "function" ? v : n, v && x.pop(), x.length && x[0] === f[0] ? Z4(x, n, v) : []
					});

				function $re(f, v) {
					return f == null ? "" : Pte.call(f, v)
				}

				function io(f) {
					var v = f == null ? 0 : f.length;
					return v ? f[v - 1] : n
				}

				function Fre(f, v, x) {
					var I = f == null ? 0 : f.length;
					if (!I) return -1;
					var A = I;
					return x !== n && (A = et(x), A = A < 0 ? Hn(I + A, 0) : mr(A, I - 1)), v === v ? mte(f, v, A) : Eg(f, xR, A, !0)
				}

				function jre(f, v) {
					return f && f.length ? eI(f, et(v)) : n
				}
				var Ure = it(zI);

				function zI(f, v) {
					return f && f.length && v && v.length ? J4(f, v) : f
				}

				function Hre(f, v, x) {
					return f && f.length && v && v.length ? J4(f, v, Le(x, 2)) : f
				}

				function Vre(f, v, x) {
					return f && f.length && v && v.length ? J4(f, v, n, x) : f
				}
				var Bre = ss(function(f, v) {
					var x = f == null ? 0 : f.length,
						I = z4(f, v);
					return rI(f, nn(v, function(A) {
						return us(A, x) ? +A : A
					}).sort(pI)), I
				});

				function zre(f, v) {
					var x = [];
					if (!(f && f.length)) return x;
					var I = -1,
						A = [],
						$ = f.length;
					for (v = Le(v, 3); ++I < $;) {
						var V = f[I];
						v(V, I, f) && (x.push(V), A.push(I))
					}
					return rI(f, A), x
				}

				function yS(f) {
					return f == null ? f : $te.call(f)
				}

				function Gre(f, v, x) {
					var I = f == null ? 0 : f.length;
					return I ? (x && typeof x != "number" && Fr(f, v, x) ? (v = 0, x = I) : (v = v == null ? 0 : et(v), x = x === n ? I : et(x)), ro(f, v, x)) : []
				}

				function Wre(f, v) {
					return zg(f, v)
				}

				function Kre(f, v, x) {
					return tS(f, v, Le(x, 2))
				}

				function Zre(f, v) {
					var x = f == null ? 0 : f.length;
					if (x) {
						var I = zg(f, v);
						if (I < x && Ao(f[I], v)) return I
					}
					return -1
				}

				function qre(f, v) {
					return zg(f, v, !0)
				}

				function Yre(f, v, x) {
					return tS(f, v, Le(x, 2), !0)
				}

				function Xre(f, v) {
					var x = f == null ? 0 : f.length;
					if (x) {
						var I = zg(f, v, !0) - 1;
						if (Ao(f[I], v)) return I
					}
					return -1
				}

				function Jre(f) {
					return f && f.length ? oI(f) : []
				}

				function Qre(f, v) {
					return f && f.length ? oI(f, Le(v, 2)) : []
				}

				function eie(f) {
					var v = f == null ? 0 : f.length;
					return v ? ro(f, 1, v) : []
				}

				function tie(f, v, x) {
					return f && f.length ? (v = x || v === n ? 1 : et(v), ro(f, 0, v < 0 ? 0 : v)) : []
				}

				function nie(f, v, x) {
					var I = f == null ? 0 : f.length;
					return I ? (v = x || v === n ? 1 : et(v), v = I - v, ro(f, v < 0 ? 0 : v, I)) : []
				}

				function rie(f, v) {
					return f && f.length ? Gg(f, Le(v, 3), !1, !0) : []
				}

				function iie(f, v) {
					return f && f.length ? Gg(f, Le(v, 3)) : []
				}
				var oie = it(function(f) {
						return cu(cr(f, 1, Sn, !0))
					}),
					aie = it(function(f) {
						var v = io(f);
						return Sn(v) && (v = n), cu(cr(f, 1, Sn, !0), Le(v, 2))
					}),
					sie = it(function(f) {
						var v = io(f);
						return v = typeof v == "function" ? v : n, cu(cr(f, 1, Sn, !0), n, v)
					});

				function uie(f) {
					return f && f.length ? cu(f) : []
				}

				function lie(f, v) {
					return f && f.length ? cu(f, Le(v, 2)) : []
				}

				function cie(f, v) {
					return v = typeof v == "function" ? v : n, f && f.length ? cu(f, n, v) : []
				}

				function wS(f) {
					if (!(f && f.length)) return [];
					var v = 0;
					return f = ou(f, function(x) {
						if (Sn(x)) return v = Hn(x.length, v), !0
					}), D4(v, function(x) {
						return nn(f, P4(x))
					})
				}

				function GI(f, v) {
					if (!(f && f.length)) return [];
					var x = wS(f);
					return v == null ? x : nn(x, function(I) {
						return Ii(v, n, I)
					})
				}
				var fie = it(function(f, v) {
						return Sn(f) ? n0(f, v) : []
					}),
					die = it(function(f) {
						return rS(ou(f, Sn))
					}),
					pie = it(function(f) {
						var v = io(f);
						return Sn(v) && (v = n), rS(ou(f, Sn), Le(v, 2))
					}),
					hie = it(function(f) {
						var v = io(f);
						return v = typeof v == "function" ? v : n, rS(ou(f, Sn), n, v)
					}),
					vie = it(wS);

				function gie(f, v) {
					return lI(f || [], v || [], t0)
				}

				function mie(f, v) {
					return lI(f || [], v || [], o0)
				}
				var yie = it(function(f) {
					var v = f.length,
						x = v > 1 ? f[v - 1] : n;
					return x = typeof x == "function" ? (f.pop(), x) : n, GI(f, x)
				});

				function WI(f) {
					var v = L(f);
					return v.__chain__ = !0, v
				}

				function wie(f, v) {
					return v(f), f
				}

				function em(f, v) {
					return v(f)
				}
				var _ie = ss(function(f) {
					var v = f.length,
						x = v ? f[0] : 0,
						I = this.__wrapped__,
						A = function($) {
							return z4($, f)
						};
					return v > 1 || this.__actions__.length || !(I instanceof ct) || !us(x) ? this.thru(A) : (I = I.slice(x, +x + (v ? 1 : 0)), I.__actions__.push({
						func: em,
						args: [A],
						thisArg: n
					}), new to(I, this.__chain__).thru(function($) {
						return v && !$.length && $.push(n), $
					}))
				});

				function bie() {
					return WI(this)
				}

				function Sie() {
					return new to(this.value(), this.__chain__)
				}

				function xie() {
					this.__values__ === n && (this.__values__ = ak(this.value()));
					var f = this.__index__ >= this.__values__.length,
						v = f ? n : this.__values__[this.__index__++];
					return {
						done: f,
						value: v
					}
				}

				function Eie() {
					return this
				}

				function Cie(f) {
					for (var v, x = this; x instanceof jg;) {
						var I = jI(x);
						I.__index__ = 0, I.__values__ = n, v ? A.__wrapped__ = I : v = I;
						var A = I;
						x = x.__wrapped__
					}
					return A.__wrapped__ = f, v
				}

				function Oie() {
					var f = this.__wrapped__;
					if (f instanceof ct) {
						var v = f;
						return this.__actions__.length && (v = new ct(this)), v = v.reverse(), v.__actions__.push({
							func: em,
							args: [yS],
							thisArg: n
						}), new to(v, this.__chain__)
					}
					return this.thru(yS)
				}

				function Tie() {
					return uI(this.__wrapped__, this.__actions__)
				}
				var Rie = Wg(function(f, v, x) {
					Lt.call(f, x) ? ++f[x] : os(f, x, 1)
				});

				function Iie(f, v, x) {
					var I = Ze(f) ? bR : wne;
					return x && Fr(f, v, x) && (v = n), I(f, Le(v, 3))
				}

				function kie(f, v) {
					var x = Ze(f) ? ou : GR;
					return x(f, Le(v, 3))
				}
				var Aie = wI(UI),
					Mie = wI(HI);

				function Pie(f, v) {
					return cr(tm(f, v), 1)
				}

				function Lie(f, v) {
					return cr(tm(f, v), te)
				}

				function Nie(f, v, x) {
					return x = x === n ? 1 : et(x), cr(tm(f, v), x)
				}

				function KI(f, v) {
					var x = Ze(f) ? Qi : lu;
					return x(f, Le(v, 3))
				}

				function ZI(f, v) {
					var x = Ze(f) ? ete : zR;
					return x(f, Le(v, 3))
				}
				var Die = Wg(function(f, v, x) {
					Lt.call(f, x) ? f[x].push(v) : os(f, x, [v])
				});

				function $ie(f, v, x, I) {
					f = ni(f) ? f : Jf(f), x = x && !I ? et(x) : 0;
					var A = f.length;
					return x < 0 && (x = Hn(A + x, 0)), am(f) ? x <= A && f.indexOf(v, x) > -1 : !!A && Uf(f, v, x) > -1
				}
				var Fie = it(function(f, v, x) {
						var I = -1,
							A = typeof v == "function",
							$ = ni(f) ? re(f.length) : [];
						return lu(f, function(V) {
							$[++I] = A ? Ii(v, V, x) : r0(V, v, x)
						}), $
					}),
					jie = Wg(function(f, v, x) {
						os(f, x, v)
					});

				function tm(f, v) {
					var x = Ze(f) ? nn : XR;
					return x(f, Le(v, 3))
				}

				function Uie(f, v, x, I) {
					return f == null ? [] : (Ze(v) || (v = v == null ? [] : [v]), x = I ? n : x, Ze(x) || (x = x == null ? [] : [x]), tI(f, v, x))
				}
				var Hie = Wg(function(f, v, x) {
					f[x ? 0 : 1].push(v)
				}, function() {
					return [
						[],
						[]
					]
				});

				function Vie(f, v, x) {
					var I = Ze(f) ? A4 : CR,
						A = arguments.length < 3;
					return I(f, Le(v, 4), x, A, lu)
				}

				function Bie(f, v, x) {
					var I = Ze(f) ? tte : CR,
						A = arguments.length < 3;
					return I(f, Le(v, 4), x, A, zR)
				}

				function zie(f, v) {
					var x = Ze(f) ? ou : GR;
					return x(f, im(Le(v, 3)))
				}

				function Gie(f) {
					var v = Ze(f) ? UR : $ne;
					return v(f)
				}

				function Wie(f, v, x) {
					(x ? Fr(f, v, x) : v === n) ? v = 1: v = et(v);
					var I = Ze(f) ? hne : Fne;
					return I(f, v)
				}

				function Kie(f) {
					var v = Ze(f) ? vne : Une;
					return v(f)
				}

				function Zie(f) {
					if (f == null) return 0;
					if (ni(f)) return am(f) ? Vf(f) : f.length;
					var v = yr(f);
					return v == gt || v == qt ? f.size : Y4(f).length
				}

				function qie(f, v, x) {
					var I = Ze(f) ? M4 : Hne;
					return x && Fr(f, v, x) && (v = n), I(f, Le(v, 3))
				}
				var Yie = it(function(f, v) {
						if (f == null) return [];
						var x = v.length;
						return x > 1 && Fr(f, v[0], v[1]) ? v = [] : x > 2 && Fr(v[0], v[1], v[2]) && (v = [v[0]]), tI(f, cr(v, 1), [])
					}),
					nm = kte || function() {
						return lr.Date.now()
					};

				function Xie(f, v) {
					if (typeof v != "function") throw new eo(a);
					return f = et(f),
						function() {
							if (--f < 1) return v.apply(this, arguments)
						}
				}

				function qI(f, v, x) {
					return v = x ? n : v, v = f && v == null ? f.length : v, as(f, R, n, n, n, n, v)
				}

				function YI(f, v) {
					var x;
					if (typeof v != "function") throw new eo(a);
					return f = et(f),
						function() {
							return --f > 0 && (x = v.apply(this, arguments)), f <= 1 && (v = n), x
						}
				}
				var _S = it(function(f, v, x) {
						var I = S;
						if (x.length) {
							var A = su(x, Yf(_S));
							I |= T
						}
						return as(f, I, v, x, A)
					}),
					XI = it(function(f, v, x) {
						var I = S | y;
						if (x.length) {
							var A = su(x, Yf(XI));
							I |= T
						}
						return as(v, I, f, x, A)
					});

				function JI(f, v, x) {
					v = x ? n : v;
					var I = as(f, b, n, n, n, n, n, v);
					return I.placeholder = JI.placeholder, I
				}

				function QI(f, v, x) {
					v = x ? n : v;
					var I = as(f, E, n, n, n, n, n, v);
					return I.placeholder = QI.placeholder, I
				}

				function ek(f, v, x) {
					var I, A, $, V, W, X, se = 0,
						ue = !1,
						de = !1,
						ye = !0;
					if (typeof f != "function") throw new eo(a);
					v = oo(v) || 0, cn(x) && (ue = !!x.leading, de = "maxWait" in x, $ = de ? Hn(oo(x.maxWait) || 0, v) : $, ye = "trailing" in x ? !!x.trailing : ye);

					function Te(xn) {
						var Mo = I,
							fs = A;
						return I = A = n, se = xn, V = f.apply(fs, Mo), V
					}

					function Fe(xn) {
						return se = xn, W = u0(ut, v), ue ? Te(xn) : V
					}

					function nt(xn) {
						var Mo = xn - X,
							fs = xn - se,
							wk = v - Mo;
						return de ? mr(wk, $ - fs) : wk
					}

					function je(xn) {
						var Mo = xn - X,
							fs = xn - se;
						return X === n || Mo >= v || Mo < 0 || de && fs >= $
					}

					function ut() {
						var xn = nm();
						if (je(xn)) return dt(xn);
						W = u0(ut, nt(xn))
					}

					function dt(xn) {
						return W = n, ye && I ? Te(xn) : (I = A = n, V)
					}

					function Pi() {
						W !== n && cI(W), se = 0, I = X = A = W = n
					}

					function jr() {
						return W === n ? V : dt(nm())
					}

					function Li() {
						var xn = nm(),
							Mo = je(xn);
						if (I = arguments, A = this, X = xn, Mo) {
							if (W === n) return Fe(X);
							if (de) return cI(W), W = u0(ut, v), Te(X)
						}
						return W === n && (W = u0(ut, v)), V
					}
					return Li.cancel = Pi, Li.flush = jr, Li
				}
				var Jie = it(function(f, v) {
						return BR(f, 1, v)
					}),
					Qie = it(function(f, v, x) {
						return BR(f, oo(v) || 0, x)
					});

				function eoe(f) {
					return as(f, M)
				}

				function rm(f, v) {
					if (typeof f != "function" || v != null && typeof v != "function") throw new eo(a);
					var x = function() {
						var I = arguments,
							A = v ? v.apply(this, I) : I[0],
							$ = x.cache;
						if ($.has(A)) return $.get(A);
						var V = f.apply(this, I);
						return x.cache = $.set(A, V) || $, V
					};
					return x.cache = new(rm.Cache || is), x
				}
				rm.Cache = is;

				function im(f) {
					if (typeof f != "function") throw new eo(a);
					return function() {
						var v = arguments;
						switch (v.length) {
							case 0:
								return !f.call(this);
							case 1:
								return !f.call(this, v[0]);
							case 2:
								return !f.call(this, v[0], v[1]);
							case 3:
								return !f.call(this, v[0], v[1], v[2])
						}
						return !f.apply(this, v)
					}
				}

				function toe(f) {
					return YI(2, f)
				}
				var noe = Vne(function(f, v) {
						v = v.length == 1 && Ze(v[0]) ? nn(v[0], ki(Le())) : nn(cr(v, 1), ki(Le()));
						var x = v.length;
						return it(function(I) {
							for (var A = -1, $ = mr(I.length, x); ++A < $;) I[A] = v[A].call(this, I[A]);
							return Ii(f, this, I)
						})
					}),
					bS = it(function(f, v) {
						var x = su(v, Yf(bS));
						return as(f, T, n, v, x)
					}),
					tk = it(function(f, v) {
						var x = su(v, Yf(tk));
						return as(f, O, n, v, x)
					}),
					roe = ss(function(f, v) {
						return as(f, k, n, n, n, v)
					});

				function ioe(f, v) {
					if (typeof f != "function") throw new eo(a);
					return v = v === n ? v : et(v), it(f, v)
				}

				function ooe(f, v) {
					if (typeof f != "function") throw new eo(a);
					return v = v == null ? 0 : Hn(et(v), 0), it(function(x) {
						var I = x[v],
							A = du(x, 0, v);
						return I && au(A, I), Ii(f, this, A)
					})
				}

				function aoe(f, v, x) {
					var I = !0,
						A = !0;
					if (typeof f != "function") throw new eo(a);
					return cn(x) && (I = "leading" in x ? !!x.leading : I, A = "trailing" in x ? !!x.trailing : A), ek(f, v, {
						leading: I,
						maxWait: v,
						trailing: A
					})
				}

				function soe(f) {
					return qI(f, 1)
				}

				function uoe(f, v) {
					return bS(oS(v), f)
				}

				function loe() {
					if (!arguments.length) return [];
					var f = arguments[0];
					return Ze(f) ? f : [f]
				}

				function coe(f) {
					return no(f, g)
				}

				function foe(f, v) {
					return v = typeof v == "function" ? v : n, no(f, g, v)
				}

				function doe(f) {
					return no(f, d | g)
				}

				function poe(f, v) {
					return v = typeof v == "function" ? v : n, no(f, d | g, v)
				}

				function hoe(f, v) {
					return v == null || VR(f, v, qn(v))
				}

				function Ao(f, v) {
					return f === v || f !== f && v !== v
				}
				var voe = Yg(K4),
					goe = Yg(function(f, v) {
						return f >= v
					}),
					Ql = ZR(function() {
						return arguments
					}()) ? ZR : function(f) {
						return gn(f) && Lt.call(f, "callee") && !LR.call(f, "callee")
					},
					Ze = re.isArray,
					moe = vR ? ki(vR) : Cne;

				function ni(f) {
					return f != null && om(f.length) && !ls(f)
				}

				function Sn(f) {
					return gn(f) && ni(f)
				}

				function yoe(f) {
					return f === !0 || f === !1 || gn(f) && $r(f) == Ee
				}
				var pu = Mte || MS,
					woe = gR ? ki(gR) : One;

				function _oe(f) {
					return gn(f) && f.nodeType === 1 && !l0(f)
				}

				function boe(f) {
					if (f == null) return !0;
					if (ni(f) && (Ze(f) || typeof f == "string" || typeof f.splice == "function" || pu(f) || Xf(f) || Ql(f))) return !f.length;
					var v = yr(f);
					if (v == gt || v == qt) return !f.size;
					if (s0(f)) return !Y4(f).length;
					for (var x in f)
						if (Lt.call(f, x)) return !1;
					return !0
				}

				function Soe(f, v) {
					return i0(f, v)
				}

				function xoe(f, v, x) {
					x = typeof x == "function" ? x : n;
					var I = x ? x(f, v) : n;
					return I === n ? i0(f, v, n, x) : !!I
				}

				function SS(f) {
					if (!gn(f)) return !1;
					var v = $r(f);
					return v == _t || v == st || typeof f.message == "string" && typeof f.name == "string" && !l0(f)
				}

				function Eoe(f) {
					return typeof f == "number" && DR(f)
				}

				function ls(f) {
					if (!cn(f)) return !1;
					var v = $r(f);
					return v == Ve || v == Mt || v == pe || v == Zt
				}

				function nk(f) {
					return typeof f == "number" && f == et(f)
				}

				function om(f) {
					return typeof f == "number" && f > -1 && f % 1 == 0 && f <= q
				}

				function cn(f) {
					var v = typeof f;
					return f != null && (v == "object" || v == "function")
				}

				function gn(f) {
					return f != null && typeof f == "object"
				}
				var rk = mR ? ki(mR) : Rne;

				function Coe(f, v) {
					return f === v || q4(f, v, dS(v))
				}

				function Ooe(f, v, x) {
					return x = typeof x == "function" ? x : n, q4(f, v, dS(v), x)
				}

				function Toe(f) {
					return ik(f) && f != +f
				}

				function Roe(f) {
					if (fre(f)) throw new Ge(o);
					return qR(f)
				}

				function Ioe(f) {
					return f === null
				}

				function koe(f) {
					return f == null
				}

				function ik(f) {
					return typeof f == "number" || gn(f) && $r(f) == mt
				}

				function l0(f) {
					if (!gn(f) || $r(f) != ze) return !1;
					var v = Mg(f);
					if (v === null) return !0;
					var x = Lt.call(v, "constructor") && v.constructor;
					return typeof x == "function" && x instanceof x && Rg.call(x) == Ote
				}
				var xS = yR ? ki(yR) : Ine;

				function Aoe(f) {
					return nk(f) && f >= -q && f <= q
				}
				var ok = wR ? ki(wR) : kne;

				function am(f) {
					return typeof f == "string" || !Ze(f) && gn(f) && $r(f) == Ke
				}

				function Mi(f) {
					return typeof f == "symbol" || gn(f) && $r(f) == Bl
				}
				var Xf = _R ? ki(_R) : Ane;

				function Moe(f) {
					return f === n
				}

				function Poe(f) {
					return gn(f) && yr(f) == zt
				}

				function Loe(f) {
					return gn(f) && $r(f) == Ff
				}
				var Noe = Yg(X4),
					Doe = Yg(function(f, v) {
						return f <= v
					});

				function ak(f) {
					if (!f) return [];
					if (ni(f)) return am(f) ? Io(f) : ti(f);
					if (Yh && f[Yh]) return hte(f[Yh]());
					var v = yr(f),
						x = v == gt ? F4 : v == qt ? Cg : Jf;
					return x(f)
				}

				function cs(f) {
					if (!f) return f === 0 ? f : 0;
					if (f = oo(f), f === te || f === -te) {
						var v = f < 0 ? -1 : 1;
						return v * F
					}
					return f === f ? f : 0
				}

				function et(f) {
					var v = cs(f),
						x = v % 1;
					return v === v ? x ? v - x : v : 0
				}

				function sk(f) {
					return f ? ql(et(f), 0, B) : 0
				}

				function oo(f) {
					if (typeof f == "number") return f;
					if (Mi(f)) return j;
					if (cn(f)) {
						var v = typeof f.valueOf == "function" ? f.valueOf() : f;
						f = cn(v) ? v + "" : v
					}
					if (typeof f != "string") return f === 0 ? f : +f;
					f = OR(f);
					var x = mee.test(f);
					return x || wee.test(f) ? Xee(f.slice(2), x ? 2 : 8) : gee.test(f) ? j : +f
				}

				function uk(f) {
					return ya(f, ri(f))
				}

				function $oe(f) {
					return f ? ql(et(f), -q, q) : f === 0 ? f : 0
				}

				function Pt(f) {
					return f == null ? "" : Ai(f)
				}
				var Foe = Zf(function(f, v) {
						if (s0(v) || ni(v)) {
							ya(v, qn(v), f);
							return
						}
						for (var x in v) Lt.call(v, x) && t0(f, x, v[x])
					}),
					lk = Zf(function(f, v) {
						ya(v, ri(v), f)
					}),
					sm = Zf(function(f, v, x, I) {
						ya(v, ri(v), f, I)
					}),
					joe = Zf(function(f, v, x, I) {
						ya(v, qn(v), f, I)
					}),
					Uoe = ss(z4);

				function Hoe(f, v) {
					var x = Kf(f);
					return v == null ? x : HR(x, v)
				}
				var Voe = it(function(f, v) {
						f = Ht(f);
						var x = -1,
							I = v.length,
							A = I > 2 ? v[2] : n;
						for (A && Fr(v[0], v[1], A) && (I = 1); ++x < I;)
							for (var $ = v[x], V = ri($), W = -1, X = V.length; ++W < X;) {
								var se = V[W],
									ue = f[se];
								(ue === n || Ao(ue, zf[se]) && !Lt.call(f, se)) && (f[se] = $[se])
							}
						return f
					}),
					Boe = it(function(f) {
						return f.push(n, OI), Ii(ck, n, f)
					});

				function zoe(f, v) {
					return SR(f, Le(v, 3), ma)
				}

				function Goe(f, v) {
					return SR(f, Le(v, 3), W4)
				}

				function Woe(f, v) {
					return f == null ? f : G4(f, Le(v, 3), ri)
				}

				function Koe(f, v) {
					return f == null ? f : WR(f, Le(v, 3), ri)
				}

				function Zoe(f, v) {
					return f && ma(f, Le(v, 3))
				}

				function qoe(f, v) {
					return f && W4(f, Le(v, 3))
				}

				function Yoe(f) {
					return f == null ? [] : Vg(f, qn(f))
				}

				function Xoe(f) {
					return f == null ? [] : Vg(f, ri(f))
				}

				function ES(f, v, x) {
					var I = f == null ? n : Yl(f, v);
					return I === n ? x : I
				}

				function Joe(f, v) {
					return f != null && II(f, v, bne)
				}

				function CS(f, v) {
					return f != null && II(f, v, Sne)
				}
				var Qoe = bI(function(f, v, x) {
						v != null && typeof v.toString != "function" && (v = Ig.call(v)), f[v] = x
					}, TS(ii)),
					eae = bI(function(f, v, x) {
						v != null && typeof v.toString != "function" && (v = Ig.call(v)), Lt.call(f, v) ? f[v].push(x) : f[v] = [x]
					}, Le),
					tae = it(r0);

				function qn(f) {
					return ni(f) ? jR(f) : Y4(f)
				}

				function ri(f) {
					return ni(f) ? jR(f, !0) : Mne(f)
				}

				function nae(f, v) {
					var x = {};
					return v = Le(v, 3), ma(f, function(I, A, $) {
						os(x, v(I, A, $), I)
					}), x
				}

				function rae(f, v) {
					var x = {};
					return v = Le(v, 3), ma(f, function(I, A, $) {
						os(x, A, v(I, A, $))
					}), x
				}
				var iae = Zf(function(f, v, x) {
						Bg(f, v, x)
					}),
					ck = Zf(function(f, v, x, I) {
						Bg(f, v, x, I)
					}),
					oae = ss(function(f, v) {
						var x = {};
						if (f == null) return x;
						var I = !1;
						v = nn(v, function($) {
							return $ = fu($, f), I || (I = $.length > 1), $
						}), ya(f, cS(f), x), I && (x = no(x, d | p | g, Qne));
						for (var A = v.length; A--;) nS(x, v[A]);
						return x
					});

				function aae(f, v) {
					return fk(f, im(Le(v)))
				}
				var sae = ss(function(f, v) {
					return f == null ? {} : Lne(f, v)
				});

				function fk(f, v) {
					if (f == null) return {};
					var x = nn(cS(f), function(I) {
						return [I]
					});
					return v = Le(v), nI(f, x, function(I, A) {
						return v(I, A[0])
					})
				}

				function uae(f, v, x) {
					v = fu(v, f);
					var I = -1,
						A = v.length;
					for (A || (A = 1, f = n); ++I < A;) {
						var $ = f == null ? n : f[wa(v[I])];
						$ === n && (I = A, $ = x), f = ls($) ? $.call(f) : $
					}
					return f
				}

				function lae(f, v, x) {
					return f == null ? f : o0(f, v, x)
				}

				function cae(f, v, x, I) {
					return I = typeof I == "function" ? I : n, f == null ? f : o0(f, v, x, I)
				}
				var dk = EI(qn),
					pk = EI(ri);

				function fae(f, v, x) {
					var I = Ze(f),
						A = I || pu(f) || Xf(f);
					if (v = Le(v, 4), x == null) {
						var $ = f && f.constructor;
						A ? x = I ? new $ : [] : cn(f) ? x = ls($) ? Kf(Mg(f)) : {} : x = {}
					}
					return (A ? Qi : ma)(f, function(V, W, X) {
						return v(x, V, W, X)
					}), x
				}

				function dae(f, v) {
					return f == null ? !0 : nS(f, v)
				}

				function pae(f, v, x) {
					return f == null ? f : sI(f, v, oS(x))
				}

				function hae(f, v, x, I) {
					return I = typeof I == "function" ? I : n, f == null ? f : sI(f, v, oS(x), I)
				}

				function Jf(f) {
					return f == null ? [] : $4(f, qn(f))
				}

				function vae(f) {
					return f == null ? [] : $4(f, ri(f))
				}

				function gae(f, v, x) {
					return x === n && (x = v, v = n), x !== n && (x = oo(x), x = x === x ? x : 0), v !== n && (v = oo(v), v = v === v ? v : 0), ql(oo(f), v, x)
				}

				function mae(f, v, x) {
					return v = cs(v), x === n ? (x = v, v = 0) : x = cs(x), f = oo(f), xne(f, v, x)
				}

				function yae(f, v, x) {
					if (x && typeof x != "boolean" && Fr(f, v, x) && (v = x = n), x === n && (typeof v == "boolean" ? (x = v, v = n) : typeof f == "boolean" && (x = f, f = n)), f === n && v === n ? (f = 0, v = 1) : (f = cs(f), v === n ? (v = f, f = 0) : v = cs(v)), f > v) {
						var I = f;
						f = v, v = I
					}
					if (x || f % 1 || v % 1) {
						var A = $R();
						return mr(f + A * (v - f + Yee("1e-" + ((A + "").length - 1))), v)
					}
					return Q4(f, v)
				}
				var wae = qf(function(f, v, x) {
					return v = v.toLowerCase(), f + (x ? hk(v) : v)
				});

				function hk(f) {
					return OS(Pt(f).toLowerCase())
				}

				function vk(f) {
					return f = Pt(f), f && f.replace(bee, lte).replace(Uee, "")
				}

				function _ae(f, v, x) {
					f = Pt(f), v = Ai(v);
					var I = f.length;
					x = x === n ? I : ql(et(x), 0, I);
					var A = x;
					return x -= v.length, x >= 0 && f.slice(x, A) == v
				}

				function bae(f) {
					return f = Pt(f), f && tee.test(f) ? f.replace(W9, cte) : f
				}

				function Sae(f) {
					return f = Pt(f), f && see.test(f) ? f.replace(b4, "\\$&") : f
				}
				var xae = qf(function(f, v, x) {
						return f + (x ? "-" : "") + v.toLowerCase()
					}),
					Eae = qf(function(f, v, x) {
						return f + (x ? " " : "") + v.toLowerCase()
					}),
					Cae = yI("toLowerCase");

				function Oae(f, v, x) {
					f = Pt(f), v = et(v);
					var I = v ? Vf(f) : 0;
					if (!v || I >= v) return f;
					var A = (v - I) / 2;
					return qg(Dg(A), x) + f + qg(Ng(A), x)
				}

				function Tae(f, v, x) {
					f = Pt(f), v = et(v);
					var I = v ? Vf(f) : 0;
					return v && I < v ? f + qg(v - I, x) : f
				}

				function Rae(f, v, x) {
					f = Pt(f), v = et(v);
					var I = v ? Vf(f) : 0;
					return v && I < v ? qg(v - I, x) + f : f
				}

				function Iae(f, v, x) {
					return x || v == null ? v = 0 : v && (v = +v), Dte(Pt(f).replace(S4, ""), v || 0)
				}

				function kae(f, v, x) {
					return (x ? Fr(f, v, x) : v === n) ? v = 1 : v = et(v), eS(Pt(f), v)
				}

				function Aae() {
					var f = arguments,
						v = Pt(f[0]);
					return f.length < 3 ? v : v.replace(f[1], f[2])
				}
				var Mae = qf(function(f, v, x) {
					return f + (x ? "_" : "") + v.toLowerCase()
				});

				function Pae(f, v, x) {
					return x && typeof x != "number" && Fr(f, v, x) && (v = x = n), x = x === n ? B : x >>> 0, x ? (f = Pt(f), f && (typeof v == "string" || v != null && !xS(v)) && (v = Ai(v), !v && Hf(f)) ? du(Io(f), 0, x) : f.split(v, x)) : []
				}
				var Lae = qf(function(f, v, x) {
					return f + (x ? " " : "") + OS(v)
				});

				function Nae(f, v, x) {
					return f = Pt(f), x = x == null ? 0 : ql(et(x), 0, f.length), v = Ai(v), f.slice(x, x + v.length) == v
				}

				function Dae(f, v, x) {
					var I = L.templateSettings;
					x && Fr(f, v, x) && (v = n), f = Pt(f), v = sm({}, v, I, CI);
					var A = sm({}, v.imports, I.imports, CI),
						$ = qn(A),
						V = $4(A, $),
						W, X, se = 0,
						ue = v.interpolate || _g,
						de = "__p += '",
						ye = j4((v.escape || _g).source + "|" + ue.source + "|" + (ue === K9 ? vee : _g).source + "|" + (v.evaluate || _g).source + "|$", "g"),
						Te = "//# sourceURL=" + (Lt.call(v, "sourceURL") ? (v.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Gee + "]") + "\n";
					f.replace(ye, function(je, ut, dt, Pi, jr, Li) {
						return dt || (dt = Pi), de += f.slice(se, Li).replace(See, fte), ut && (W = !0, de += "' +\n__e(" + ut + ") +\n'"), jr && (X = !0, de += "';\n" + jr + ";\n__p += '"), dt && (de += "' +\n((__t = (" + dt + ")) == null ? '' : __t) +\n'"), se = Li + je.length, je
					}), de += "';\n";
					var Fe = Lt.call(v, "variable") && v.variable;
					if (!Fe) de = "with (obj) {\n" + de + "\n}\n";
					else if (pee.test(Fe)) throw new Ge(s);
					de = (X ? de.replace(XQ, "") : de).replace(JQ, "$1").replace(QQ, "$1;"), de = "function(" + (Fe || "obj") + ") {\n" + (Fe ? "" : "obj || (obj = {});\n") + "var __t, __p = ''" + (W ? ", __e = _.escape" : "") + (X ? ", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n" : ";\n") + de + "return __p\n}";
					var nt = mk(function() {
						return Ot($, Te + "return " + de).apply(n, V)
					});
					if (nt.source = de, SS(nt)) throw nt;
					return nt
				}

				function $ae(f) {
					return Pt(f).toLowerCase()
				}

				function Fae(f) {
					return Pt(f).toUpperCase()
				}

				function jae(f, v, x) {
					if (f = Pt(f), f && (x || v === n)) return OR(f);
					if (!f || !(v = Ai(v))) return f;
					var I = Io(f),
						A = Io(v),
						$ = TR(I, A),
						V = RR(I, A) + 1;
					return du(I, $, V).join("")
				}

				function Uae(f, v, x) {
					if (f = Pt(f), f && (x || v === n)) return f.slice(0, kR(f) + 1);
					if (!f || !(v = Ai(v))) return f;
					var I = Io(f),
						A = RR(I, Io(v)) + 1;
					return du(I, 0, A).join("")
				}

				function Hae(f, v, x) {
					if (f = Pt(f), f && (x || v === n)) return f.replace(S4, "");
					if (!f || !(v = Ai(v))) return f;
					var I = Io(f),
						A = TR(I, Io(v));
					return du(I, A).join("")
				}

				function Vae(f, v) {
					var x = D,
						I = P;
					if (cn(v)) {
						var A = "separator" in v ? v.separator : A;
						x = "length" in v ? et(v.length) : x, I = "omission" in v ? Ai(v.omission) : I
					}
					f = Pt(f);
					var $ = f.length;
					if (Hf(f)) {
						var V = Io(f);
						$ = V.length
					}
					if (x >= $) return f;
					var W = x - Vf(I);
					if (W < 1) return I;
					var X = V ? du(V, 0, W).join("") : f.slice(0, W);
					if (A === n) return X + I;
					if (V && (W += X.length - W), xS(A)) {
						if (f.slice(W).search(A)) {
							var se, ue = X;
							for (A.global || (A = j4(A.source, Pt(Z9.exec(A)) + "g")), A.lastIndex = 0; se = A.exec(ue);) var de = se.index;
							X = X.slice(0, de === n ? W : de)
						}
					} else if (f.indexOf(Ai(A), W) != W) {
						var ye = X.lastIndexOf(A);
						ye > -1 && (X = X.slice(0, ye))
					}
					return X + I
				}

				function Bae(f) {
					return f = Pt(f), f && eee.test(f) ? f.replace(G9, yte) : f
				}
				var zae = qf(function(f, v, x) {
						return f + (x ? " " : "") + v.toUpperCase()
					}),
					OS = yI("toUpperCase");

				function gk(f, v, x) {
					return f = Pt(f), v = x ? n : v, v === n ? pte(f) ? bte(f) : ite(f) : f.match(v) || []
				}
				var mk = it(function(f, v) {
						try {
							return Ii(f, n, v)
						} catch (x) {
							return SS(x) ? x : new Ge(x)
						}
					}),
					Gae = ss(function(f, v) {
						return Qi(v, function(x) {
							x = wa(x), os(f, x, _S(f[x], f))
						}), f
					});

				function Wae(f) {
					var v = f == null ? 0 : f.length,
						x = Le();
					return f = v ? nn(f, function(I) {
						if (typeof I[1] != "function") throw new eo(a);
						return [x(I[0]), I[1]]
					}) : [], it(function(I) {
						for (var A = -1; ++A < v;) {
							var $ = f[A];
							if (Ii($[0], this, I)) return Ii($[1], this, I)
						}
					})
				}

				function Kae(f) {
					return yne(no(f, d))
				}

				function TS(f) {
					return function() {
						return f
					}
				}

				function Zae(f, v) {
					return f == null || f !== f ? v : f
				}
				var qae = _I(),
					Yae = _I(!0);

				function ii(f) {
					return f
				}

				function RS(f) {
					return YR(typeof f == "function" ? f : no(f, d))
				}

				function Xae(f) {
					return JR(no(f, d))
				}

				function Jae(f, v) {
					return QR(f, no(v, d))
				}
				var Qae = it(function(f, v) {
						return function(x) {
							return r0(x, f, v)
						}
					}),
					ese = it(function(f, v) {
						return function(x) {
							return r0(f, x, v)
						}
					});

				function IS(f, v, x) {
					var I = qn(v),
						A = Vg(v, I);
					x == null && !(cn(v) && (A.length || !I.length)) && (x = v, v = f, f = this, A = Vg(v, qn(v)));
					var $ = !(cn(x) && "chain" in x) || !!x.chain,
						V = ls(f);
					return Qi(A, function(W) {
						var X = v[W];
						f[W] = X, V && (f.prototype[W] = function() {
							var se = this.__chain__;
							if ($ || se) {
								var ue = f(this.__wrapped__),
									de = ue.__actions__ = ti(this.__actions__);
								return de.push({
									func: X,
									args: arguments,
									thisArg: f
								}), ue.__chain__ = se, ue
							}
							return X.apply(f, au([this.value()], arguments))
						})
					}), f
				}

				function tse() {
					return lr._ === this && (lr._ = Tte), this
				}

				function kS() {}

				function nse(f) {
					return f = et(f), it(function(v) {
						return eI(v, f)
					})
				}
				var rse = sS(nn),
					ise = sS(bR),
					ose = sS(M4);

				function yk(f) {
					return hS(f) ? P4(wa(f)) : Nne(f)
				}

				function ase(f) {
					return function(v) {
						return f == null ? n : Yl(f, v)
					}
				}
				var sse = SI(),
					use = SI(!0);

				function AS() {
					return []
				}

				function MS() {
					return !1
				}

				function lse() {
					return {}
				}

				function cse() {
					return ""
				}

				function fse() {
					return !0
				}

				function dse(f, v) {
					if (f = et(f), f < 1 || f > q) return [];
					var x = B,
						I = mr(f, B);
					v = Le(v), f -= B;
					for (var A = D4(I, v); ++x < f;) v(x);
					return A
				}

				function pse(f) {
					return Ze(f) ? nn(f, wa) : Mi(f) ? [f] : ti(FI(Pt(f)))
				}

				function hse(f) {
					var v = ++Cte;
					return Pt(f) + v
				}
				var vse = Zg(function(f, v) {
						return f + v
					}, 0),
					gse = uS("ceil"),
					mse = Zg(function(f, v) {
						return f / v
					}, 1),
					yse = uS("floor");

				function wse(f) {
					return f && f.length ? Hg(f, ii, K4) : n
				}

				function _se(f, v) {
					return f && f.length ? Hg(f, Le(v, 2), K4) : n
				}

				function bse(f) {
					return ER(f, ii)
				}

				function Sse(f, v) {
					return ER(f, Le(v, 2))
				}

				function xse(f) {
					return f && f.length ? Hg(f, ii, X4) : n
				}

				function Ese(f, v) {
					return f && f.length ? Hg(f, Le(v, 2), X4) : n
				}
				var Cse = Zg(function(f, v) {
						return f * v
					}, 1),
					Ose = uS("round"),
					Tse = Zg(function(f, v) {
						return f - v
					}, 0);

				function Rse(f) {
					return f && f.length ? N4(f, ii) : 0
				}

				function Ise(f, v) {
					return f && f.length ? N4(f, Le(v, 2)) : 0
				}
				return L.after = Xie, L.ary = qI, L.assign = Foe, L.assignIn = lk, L.assignInWith = sm, L.assignWith = joe, L.at = Uoe, L.before = YI, L.bind = _S, L.bindAll = Gae, L.bindKey = XI, L.castArray = loe, L.chain = WI, L.chunk = yre, L.compact = wre, L.concat = _re, L.cond = Wae, L.conforms = Kae, L.constant = TS, L.countBy = Rie, L.create = Hoe, L.curry = JI, L.curryRight = QI, L.debounce = ek, L.defaults = Voe, L.defaultsDeep = Boe, L.defer = Jie, L.delay = Qie, L.difference = bre, L.differenceBy = Sre, L.differenceWith = xre, L.drop = Ere, L.dropRight = Cre, L.dropRightWhile = Ore, L.dropWhile = Tre, L.fill = Rre, L.filter = kie, L.flatMap = Pie, L.flatMapDeep = Lie, L.flatMapDepth = Nie, L.flatten = VI, L.flattenDeep = Ire, L.flattenDepth = kre, L.flip = eoe, L.flow = qae, L.flowRight = Yae, L.fromPairs = Are, L.functions = Yoe, L.functionsIn = Xoe, L.groupBy = Die, L.initial = Pre, L.intersection = Lre, L.intersectionBy = Nre, L.intersectionWith = Dre, L.invert = Qoe, L.invertBy = eae, L.invokeMap = Fie, L.iteratee = RS, L.keyBy = jie, L.keys = qn, L.keysIn = ri, L.map = tm, L.mapKeys = nae, L.mapValues = rae, L.matches = Xae, L.matchesProperty = Jae, L.memoize = rm, L.merge = iae, L.mergeWith = ck, L.method = Qae, L.methodOf = ese, L.mixin = IS, L.negate = im, L.nthArg = nse, L.omit = oae, L.omitBy = aae, L.once = toe, L.orderBy = Uie, L.over = rse, L.overArgs = noe, L.overEvery = ise, L.overSome = ose, L.partial = bS, L.partialRight = tk, L.partition = Hie, L.pick = sae, L.pickBy = fk, L.property = yk, L.propertyOf = ase, L.pull = Ure, L.pullAll = zI, L.pullAllBy = Hre, L.pullAllWith = Vre, L.pullAt = Bre, L.range = sse, L.rangeRight = use, L.rearg = roe, L.reject = zie, L.remove = zre, L.rest = ioe, L.reverse = yS, L.sampleSize = Wie, L.set = lae, L.setWith = cae, L.shuffle = Kie, L.slice = Gre, L.sortBy = Yie, L.sortedUniq = Jre, L.sortedUniqBy = Qre, L.split = Pae, L.spread = ooe, L.tail = eie, L.take = tie, L.takeRight = nie, L.takeRightWhile = rie, L.takeWhile = iie, L.tap = wie, L.throttle = aoe, L.thru = em, L.toArray = ak, L.toPairs = dk, L.toPairsIn = pk, L.toPath = pse, L.toPlainObject = uk, L.transform = fae, L.unary = soe, L.union = oie, L.unionBy = aie, L.unionWith = sie, L.uniq = uie, L.uniqBy = lie, L.uniqWith = cie, L.unset = dae, L.unzip = wS, L.unzipWith = GI, L.update = pae, L.updateWith = hae, L.values = Jf, L.valuesIn = vae, L.without = fie, L.words = gk, L.wrap = uoe, L.xor = die, L.xorBy = pie, L.xorWith = hie, L.zip = vie, L.zipObject = gie, L.zipObjectDeep = mie, L.zipWith = yie, L.entries = dk, L.entriesIn = pk, L.extend = lk, L.extendWith = sm, IS(L, L), L.add = vse, L.attempt = mk, L.camelCase = wae, L.capitalize = hk, L.ceil = gse, L.clamp = gae, L.clone = coe, L.cloneDeep = doe, L.cloneDeepWith = poe, L.cloneWith = foe, L.conformsTo = hoe, L.deburr = vk, L.defaultTo = Zae, L.divide = mse, L.endsWith = _ae, L.eq = Ao, L.escape = bae, L.escapeRegExp = Sae, L.every = Iie, L.find = Aie, L.findIndex = UI, L.findKey = zoe, L.findLast = Mie, L.findLastIndex = HI, L.findLastKey = Goe, L.floor = yse, L.forEach = KI, L.forEachRight = ZI, L.forIn = Woe, L.forInRight = Koe, L.forOwn = Zoe, L.forOwnRight = qoe, L.get = ES, L.gt = voe, L.gte = goe, L.has = Joe, L.hasIn = CS, L.head = BI, L.identity = ii, L.includes = $ie, L.indexOf = Mre, L.inRange = mae, L.invoke = tae, L.isArguments = Ql, L.isArray = Ze, L.isArrayBuffer = moe, L.isArrayLike = ni, L.isArrayLikeObject = Sn, L.isBoolean = yoe, L.isBuffer = pu, L.isDate = woe, L.isElement = _oe, L.isEmpty = boe, L.isEqual = Soe, L.isEqualWith = xoe, L.isError = SS, L.isFinite = Eoe, L.isFunction = ls, L.isInteger = nk, L.isLength = om, L.isMap = rk, L.isMatch = Coe, L.isMatchWith = Ooe, L.isNaN = Toe, L.isNative = Roe, L.isNil = koe, L.isNull = Ioe, L.isNumber = ik, L.isObject = cn, L.isObjectLike = gn, L.isPlainObject = l0, L.isRegExp = xS, L.isSafeInteger = Aoe, L.isSet = ok, L.isString = am, L.isSymbol = Mi, L.isTypedArray = Xf, L.isUndefined = Moe, L.isWeakMap = Poe, L.isWeakSet = Loe, L.join = $re, L.kebabCase = xae, L.last = io, L.lastIndexOf = Fre, L.lowerCase = Eae, L.lowerFirst = Cae, L.lt = Noe, L.lte = Doe, L.max = wse, L.maxBy = _se, L.mean = bse, L.meanBy = Sse, L.min = xse, L.minBy = Ese, L.stubArray = AS, L.stubFalse = MS, L.stubObject = lse, L.stubString = cse, L.stubTrue = fse, L.multiply = Cse, L.nth = jre, L.noConflict = tse, L.noop = kS, L.now = nm, L.pad = Oae, L.padEnd = Tae, L.padStart = Rae, L.parseInt = Iae, L.random = yae, L.reduce = Vie, L.reduceRight = Bie, L.repeat = kae, L.replace = Aae, L.result = uae, L.round = Ose, L.runInContext = Y, L.sample = Gie, L.size = Zie, L.snakeCase = Mae, L.some = qie, L.sortedIndex = Wre, L.sortedIndexBy = Kre, L.sortedIndexOf = Zre, L.sortedLastIndex = qre, L.sortedLastIndexBy = Yre, L.sortedLastIndexOf = Xre, L.startCase = Lae, L.startsWith = Nae, L.subtract = Tse, L.sum = Rse, L.sumBy = Ise, L.template = Dae, L.times = dse, L.toFinite = cs, L.toInteger = et, L.toLength = sk, L.toLower = $ae, L.toNumber = oo, L.toSafeInteger = $oe, L.toString = Pt, L.toUpper = Fae, L.trim = jae, L.trimEnd = Uae, L.trimStart = Hae, L.truncate = Vae, L.unescape = Bae, L.uniqueId = hse, L.upperCase = zae, L.upperFirst = OS, L.each = KI, L.eachRight = ZI, L.first = BI, IS(L, function() {
					var f = {};
					return ma(L, function(v, x) {
						Lt.call(L.prototype, x) || (f[x] = v)
					}), f
				}(), {
					chain: !1
				}), L.VERSION = r, Qi(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(f) {
					L[f].placeholder = L
				}), Qi(["drop", "take"], function(f, v) {
					ct.prototype[f] = function(x) {
						x = x === n ? 1 : Hn(et(x), 0);
						var I = this.__filtered__ && !v ? new ct(this) : this.clone();
						return I.__filtered__ ? I.__takeCount__ = mr(x, I.__takeCount__) : I.__views__.push({
							size: mr(x, B),
							type: f + (I.__dir__ < 0 ? "Right" : "")
						}), I
					}, ct.prototype[f + "Right"] = function(x) {
						return this.reverse()[f](x).reverse()
					}
				}), Qi(["filter", "map", "takeWhile"], function(f, v) {
					var x = v + 1,
						I = x == G || x == ee;
					ct.prototype[f] = function(A) {
						var $ = this.clone();
						return $.__iteratees__.push({
							iteratee: Le(A, 3),
							type: x
						}), $.__filtered__ = $.__filtered__ || I, $
					}
				}), Qi(["head", "last"], function(f, v) {
					var x = "take" + (v ? "Right" : "");
					ct.prototype[f] = function() {
						return this[x](1).value()[0]
					}
				}), Qi(["initial", "tail"], function(f, v) {
					var x = "drop" + (v ? "" : "Right");
					ct.prototype[f] = function() {
						return this.__filtered__ ? new ct(this) : this[x](1)
					}
				}), ct.prototype.compact = function() {
					return this.filter(ii)
				}, ct.prototype.find = function(f) {
					return this.filter(f).head()
				}, ct.prototype.findLast = function(f) {
					return this.reverse().find(f)
				}, ct.prototype.invokeMap = it(function(f, v) {
					return typeof f == "function" ? new ct(this) : this.map(function(x) {
						return r0(x, f, v)
					})
				}), ct.prototype.reject = function(f) {
					return this.filter(im(Le(f)))
				}, ct.prototype.slice = function(f, v) {
					f = et(f);
					var x = this;
					return x.__filtered__ && (f > 0 || v < 0) ? new ct(x) : (f < 0 ? x = x.takeRight(-f) : f && (x = x.drop(f)), v !== n && (v = et(v), x = v < 0 ? x.dropRight(-v) : x.take(v - f)), x)
				}, ct.prototype.takeRightWhile = function(f) {
					return this.reverse().takeWhile(f).reverse()
				}, ct.prototype.toArray = function() {
					return this.take(B)
				}, ma(ct.prototype, function(f, v) {
					var x = /^(?:filter|find|map|reject)|While$/.test(v),
						I = /^(?:head|last)$/.test(v),
						A = L[I ? "take" + (v == "last" ? "Right" : "") : v],
						$ = I || /^find/.test(v);
					A && (L.prototype[v] = function() {
						var V = this.__wrapped__,
							W = I ? [1] : arguments,
							X = V instanceof ct,
							se = W[0],
							ue = X || Ze(V),
							de = function(ut) {
								var dt = A.apply(L, au([ut], W));
								return I && ye ? dt[0] : dt
							};
						ue && x && typeof se == "function" && se.length != 1 && (X = ue = !1);
						var ye = this.__chain__,
							Te = !!this.__actions__.length,
							Fe = $ && !ye,
							nt = X && !Te;
						if (!$ && ue) {
							V = nt ? V : new ct(this);
							var je = f.apply(V, W);
							return je.__actions__.push({
								func: em,
								args: [de],
								thisArg: n
							}), new to(je, ye)
						}
						return Fe && nt ? f.apply(this, W) : (je = this.thru(de), Fe ? I ? je.value()[0] : je.value() : je)
					})
				}), Qi(["pop", "push", "shift", "sort", "splice", "unshift"], function(f) {
					var v = Og[f],
						x = /^(?:push|sort|unshift)$/.test(f) ? "tap" : "thru",
						I = /^(?:pop|shift)$/.test(f);
					L.prototype[f] = function() {
						var A = arguments;
						if (I && !this.__chain__) {
							var $ = this.value();
							return v.apply(Ze($) ? $ : [], A)
						}
						return this[x](function(V) {
							return v.apply(Ze(V) ? V : [], A)
						})
					}
				}), ma(ct.prototype, function(f, v) {
					var x = L[v];
					if (x) {
						var I = x.name + "";
						Lt.call(Wf, I) || (Wf[I] = []), Wf[I].push({
							name: v,
							func: x
						})
					}
				}), Wf[Kg(n, y).name] = [{
					name: "wrapper",
					func: n
				}], ct.prototype.clone = Bte, ct.prototype.reverse = zte, ct.prototype.value = Gte, L.prototype.at = _ie, L.prototype.chain = bie, L.prototype.commit = Sie, L.prototype.next = xie, L.prototype.plant = Cie, L.prototype.reverse = Oie, L.prototype.toJSON = L.prototype.valueOf = L.prototype.value = Tie, L.prototype.first = L.prototype.head, Yh && (L.prototype[Yh] = Eie), L
			},
			Bf = Ste();
		Gl ? ((Gl.exports = Bf)._ = Bf, R4._ = Bf) : lr._ = Bf
	}).call(me)
})(Bw, Bw.exports);
var t1 = Bw.exports;
const iat = Et(t1);
/*!
 * cookie
 * Copyright(c) 2012-2014 Roman Shtylman
 * Copyright(c) 2015 Douglas Christopher Wilson
 * MIT Licensed
 */
var EK = oIe,
	ZN = aIe,
	rIe = decodeURIComponent,
	iIe = encodeURIComponent,
	oy = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;

function oIe(e, t) {
	if (typeof e != "string") throw new TypeError("argument str must be a string");
	for (var n = {}, r = t || {}, i = e.split(";"), o = r.decode || rIe, a = 0; a < i.length; a++) {
		var s = i[a],
			u = s.indexOf("=");
		if (!(u < 0)) {
			var l = s.substring(0, u).trim();
			if (n[l] == null) {
				var c = s.substring(u + 1, s.length).trim();
				c[0] === '"' && (c = c.slice(1, -1)), n[l] = sIe(c, o)
			}
		}
	}
	return n
}

function aIe(e, t, n) {
	var r = n || {},
		i = r.encode || iIe;
	if (typeof i != "function") throw new TypeError("option encode is invalid");
	if (!oy.test(e)) throw new TypeError("argument name is invalid");
	var o = i(t);
	if (o && !oy.test(o)) throw new TypeError("argument val is invalid");
	var a = e + "=" + o;
	if (r.maxAge != null) {
		var s = r.maxAge - 0;
		if (isNaN(s) || !isFinite(s)) throw new TypeError("option maxAge is invalid");
		a += "; Max-Age=" + Math.floor(s)
	}
	if (r.domain) {
		if (!oy.test(r.domain)) throw new TypeError("option domain is invalid");
		a += "; Domain=" + r.domain
	}
	if (r.path) {
		if (!oy.test(r.path)) throw new TypeError("option path is invalid");
		a += "; Path=" + r.path
	}
	if (r.expires) {
		if (typeof r.expires.toUTCString != "function") throw new TypeError("option expires is invalid");
		a += "; Expires=" + r.expires.toUTCString()
	}
	if (r.httpOnly && (a += "; HttpOnly"), r.secure && (a += "; Secure"), r.sameSite) {
		var u = typeof r.sameSite == "string" ? r.sameSite.toLowerCase() : r.sameSite;
		switch (u) {
			case !0:
				a += "; SameSite=Strict";
				break;
			case "lax":
				a += "; SameSite=Lax";
				break;
			case "strict":
				a += "; SameSite=Strict";
				break;
			case "none":
				a += "; SameSite=None";
				break;
			default:
				throw new TypeError("option sameSite is invalid")
		}
	}
	return a
}

function sIe(e, t) {
	try {
		return t(e)
	} catch (n) {
		return e
	}
}

function uIe() {
	return typeof document == "object" && typeof document.cookie == "string"
}

function lIe(e, t) {
	return typeof e == "string" ? EK(e, t) : typeof e == "object" && e !== null ? e : {}
}

function cIe(e, t) {
	return typeof t > "u" && (t = !e || e[0] !== "{" && e[0] !== "[" && e[0] !== '"'), !t
}

function qN(e, t) {
	t === void 0 && (t = {});
	var n = fIe(e);
	if (cIe(n, t.doNotParse)) try {
		return JSON.parse(n)
	} catch (r) {}
	return e
}

function fIe(e) {
	return e && e[0] === "j" && e[1] === ":" ? e.substr(2) : e
}
var xc = function() {
		return xc = Object.assign || function(e) {
			for (var t, n = 1, r = arguments.length; n < r; n++) {
				t = arguments[n];
				for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
			}
			return e
		}, xc.apply(this, arguments)
	},
	dIe = function() {
		function e(t, n) {
			var r = this;
			this.changeListeners = [], this.HAS_DOCUMENT_COOKIE = !1, this.cookies = lIe(t, n), new Promise(function() {
				r.HAS_DOCUMENT_COOKIE = uIe()
			}).catch(function() {})
		}
		return e.prototype._updateBrowserValues = function(t) {
			this.HAS_DOCUMENT_COOKIE && (this.cookies = EK(document.cookie, t))
		}, e.prototype._emitChange = function(t) {
			for (var n = 0; n < this.changeListeners.length; ++n) this.changeListeners[n](t)
		}, e.prototype.get = function(t, n, r) {
			return n === void 0 && (n = {}), this._updateBrowserValues(r), qN(this.cookies[t], n)
		}, e.prototype.getAll = function(t, n) {
			t === void 0 && (t = {}), this._updateBrowserValues(n);
			var r = {};
			for (var i in this.cookies) r[i] = qN(this.cookies[i], t);
			return r
		}, e.prototype.set = function(t, n, r) {
			var i;
			typeof n == "object" && (n = JSON.stringify(n)), this.cookies = xc(xc({}, this.cookies), (i = {}, i[t] = n, i)), this.HAS_DOCUMENT_COOKIE && (document.cookie = ZN(t, n, r)), this._emitChange({
				name: t,
				value: n,
				options: r
			})
		}, e.prototype.remove = function(t, n) {
			var r = n = xc(xc({}, n), {
				expires: new Date(1970, 1, 1, 0, 0, 1),
				maxAge: 0
			});
			this.cookies = xc({}, this.cookies), delete this.cookies[t], this.HAS_DOCUMENT_COOKIE && (document.cookie = ZN(t, "", r)), this._emitChange({
				name: t,
				value: void 0,
				options: n
			})
		}, e.prototype.addChangeListener = function(t) {
			this.changeListeners.push(t)
		}, e.prototype.removeChangeListener = function(t) {
			var n = this.changeListeners.indexOf(t);
			n >= 0 && this.changeListeners.splice(n, 1)
		}, e
	}(),
	cT = h.createContext(new dIe);
cT.Provider;
cT.Consumer;

function pIe() {
	return typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u"
}

function CK(e) {
	var t = h.useContext(cT);
	if (!t) throw new Error("Missing <CookiesProvider>");
	var n = t.getAll(),
		r = h.useState(n),
		i = r[0],
		o = r[1],
		a = h.useRef(i);
	pIe() && h.useLayoutEffect(function() {
		function l() {
			var c = t.getAll();
			hIe(e || null, c, a.current) && o(c), a.current = c
		}
		return t.addChangeListener(l),
			function() {
				t.removeChangeListener(l)
			}
	}, [t]);
	var s = h.useMemo(function() {
			return t.set.bind(t)
		}, [t]),
		u = h.useMemo(function() {
			return t.remove.bind(t)
		}, [t]);
	return [i, s, u]
}

function hIe(e, t, n) {
	if (!e) return !0;
	for (var r = 0, i = e; r < i.length; r++) {
		var o = i[r];
		if (t[o] !== n[o]) return !0
	}
	return !1
}
const vIe = ".openai.com";
var Is;
(function(e) {
	e.OnboardDisallowSignupCookie = "oai_disallow_onboarding", e.AgeVerificationTokenCookie = "oai_age_verification_token", e.AnalyticsCookiesAccepted = "oai-allow-ne", e.DeviceIdCookie = "oai-did"
})(Is || (Is = {}));
const OK = e => CK(e),
	gIe = ["mp_".concat(DU, "_mixpanel"), "fs_uid", "_ga", "_ga_9YTZJE58M9", "_ga_GLYMMY7CH1", "_ga_MJML5FZQ80", "_gcl_au"],
	TK = J.createContext({
		allowAnalyticsCookies: void 0,
		showConsentBanner: void 0,
		showCookieOptions: void 0,
		cookieOptionsModalOpen: !1,
		openCookieOptionsModal: void 0,
		closeCookieOptionsModal: t1.noop,
		updateCookieSettings: () => new Promise(() => Error("Compliance context not initialized"))
	}),
	jh = () => J.useContext(TK),
	mIe = J.memo(({
		children: e
	}) => {
		const [t, n, r] = CK(), {
			updateUser: i
		} = ft(), [o, a] = h.useState(null), [s, u] = h.useState(void 0), [l, c] = h.useState(!1), {
			user: d
		} = ft();
		S7({
			queryKey: ["cookie_requirements"],
			queryFn: () => Nn.getCookieRequirement().then(S => (S && u(S.cookie_consent_required), S)),
			refetchOnWindowFocus: !1,
			refetchOnMount: !1,
			refetchOnReconnect: !1,
			cacheTime: 1 / 0,
			staleTime: 1 / 0
		});
		const p = h.useMemo(() => {
				if (s === !1 || (o == null ? void 0 : o.is_required) === !1 && (o == null ? void 0 : o.analytics_cookies_accepted) === !0) return Fn.updateLocalStorageAccess("analytics", !0), Tn.optIn(), !0;
				if (!t1.isNil(s)) return Fn.updateLocalStorageAccess("analytics", !1), Tn.optOut(), gIe.forEach(S => {
					r(S, {
						path: "/",
						domain: ".openai.com"
					}), r(S)
				}), !1
			}, [o, s, r]),
			g = h.useCallback(async S => {
				try {
					let y;
					d ? (y = await Nn.updateCookieConsent(d.id, S), i({
						cookie_consent: {
							is_required: !1,
							analytics_cookies_accepted: y.analytics_cookies_accepted
						}
					})) : y = await Nn.logCookieConsent(S);
					const w = Xe.now().plus({
						months: 6
					});
					n("oai-allow-ne", y.analytics_cookies_accepted, {
						path: "/",
						expires: w.toJSDate(),
						domain: vIe
					}), a({
						is_required: !1,
						analytics_cookies_accepted: y.analytics_cookies_accepted
					})
				} catch (y) {
					const w = y.userMessage || "Failed to update cookie consent settings, please try again later.";
					return new Error(w)
				}
			}, [d, i, n]),
			m = h.useMemo(() => t["oai-allow-ne"], [t]);
		h.useEffect(() => {
			let S = {
				is_required: !0,
				analytics_cookies_accepted: null
			};
			const y = m;
			y !== void 0 && (S = {
				is_required: !1,
				analytics_cookies_accepted: y === "true"
			}), d && (y !== void 0 && t1.isNil(d.cookie_consent.analytics_cookies_accepted) ? g(y === "true") : S = d.cookie_consent), a(S)
		}, [d, m, g]), h.useEffect(() => {
			if (d != null && d.cookie_consent) {
				const S = m;
				S !== void 0 && d.cookie_consent.analytics_cookies_accepted !== (S === "true") && g(S === "true")
			}
		}, [d == null ? void 0 : d.id]);
		const _ = h.useMemo(() => {
			const S = s === !0;
			return {
				allowAnalyticsCookies: p,
				showConsentBanner: S && (o == null ? void 0 : o.is_required) === !0,
				showCookieOptions: S,
				updateCookieSettings: g,
				cookieOptionsModalOpen: l,
				openCookieOptionsModal: S ? () => c(!0) : void 0,
				closeCookieOptionsModal: () => c(!1)
			}
		}, [p, s, o, g, l]);
		return C.jsx(TK.Provider, {
			value: _,
			children: e
		})
	}),
	RK = J.createContext({});

function yIe(e) {
	const t = J.useContext(RK);
	return J.useMemo(() => typeof e == "function" ? e(t) : {
		...t,
		...e
	}, [t, e])
}
const wIe = {};

function _Ie({
	components: e,
	children: t,
	disableParentContext: n
}) {
	let r;
	return n ? r = typeof e == "function" ? e({}) : e || wIe : r = yIe(e), J.createElement(RK.Provider, {
		value: r
	}, t)
}
var IK, YN = Qa;
IK = YN.createRoot, YN.hydrateRoot;
const kK = {
		"/developer-quickstart": "/docs/quickstart",
		"/docs/guides/chat": "/docs/guides/chat-completions",
		"/docs/guides/chat/introduction": "/docs/guides/chat-completions",
		"/docs/guides/chat/response-format": "/docs/guides/chat-completions/response-format",
		"/docs/guides/chat/managing-tokens": "/docs/guides/gpt/managing-tokens",
		"/docs/guides/gpt-best-practices": "/docs/guides/prompt-engineering",
		"/docs/guides/chat/chat-vs-completions": "/docs/guides/gpt/chat-completions-vs-completions",
		"/docs/guides/chat/faq": "/docs/guides/gpt/faq",
		"/docs/guides/completion": "/docs/guides/gpt/completions-api",
		"/docs/guides/completion/introduction": "/docs/guides/gpt/completions-api",
		"/docs/guides/completion/examples": "/examples",
		"/docs/guides/completion/prompt-design": "/docs/guides/prompt-engineering",
		"/docs/guides/completion/basics": "/docs/guides/prompt-engineering",
		"/docs/guides/completion/troubleshooting": "/docs/guides/prompt-engineering",
		"/docs/guides/gpt-best-practices/write-clear-instructions": "/docs/guides/prompt-engineering/write-clear-instructions",
		"/docs/guides/completion/improving-the-classifier-s-efficiency": "/playground/p/default-adv-tweet-classifier",
		"/docs/guides/completion/generation": "/docs/guides/prompt-engineering/write-clear-instructions",
		"/docs/guides/completion/conversation": "/docs/guides/gpt/chat-completions-api",
		"/docs/guides/completion/transformation": "/docs/guides/prompt-engineering/write-clear-instructions",
		"/docs/guides/completion/translation": "/docs/guides/prompt-engineering/write-clear-instructions",
		"/docs/guides/completion/conversion": "/docs/guides/prompt-engineering/write-clear-instructions",
		"/docs/guides/completion/summarization": "/docs/guides/prompt-engineering/write-clear-instructions",
		"/docs/guides/completion/prompt-design-completion": "/docs/guides/prompt-engineering/write-clear-instructions",
		"/docs/guides/completion/factual-responses": "/docs/guides/prompt-engineering/provide-reference-text",
		"/docs/guides/gpt-best-practices/provide-reference-text": "/docs/guides/prompt-engineering/provide-reference-text",
		"/docs/guides/completion/inserting-text": "/docs/guides/gpt/inserting-text",
		"/docs/guides/completion/editing-text": "/docs/api-reference/edits",
		"/docs/safety-best-practices/:subpath?": "/docs/guides/safety-best-practices",
		"/docs/api-reference/engines/:subpath?": "/docs/api-reference/models",
		"/docs/engines/:subpath?": "/docs/models",
		"/docs/chatgpt-education": "https://help.openai.com/en/collections/5929286-educator-faq",
		"/docs/guides/gpt": "/docs/guides/chat-completions",
		"/docs/guides/gpt/chat-completions-api": "/docs/guides/chat-completions",
		"/docs/guides/gpt/gpt-models": "/docs/models",
		"/docs/guides/gpt/function-calling": "/docs/guides/function-calling",
		"/docs/guides/gpt/completions-api": "/docs/guides/completions",
		"/docs/guides/gpt/chat-completions-vs-completions": "/docs/faq/chat-completions-vs-completions",
		"/docs/guides/gpt/managing-tokens": "/docs/advanced-usage/managing-tokens",
		"/docs/guides/gpt/faq": "/docs/faq",
		"/docs/models/gpt-4": "/docs/models/gpt-4-and-gpt-4-turbo",
		"/docs/guides/assistants": "/docs/assistants",
		"/docs/model-index-for-researchers": "https://openai.com/form/researcher-access-program",
		"/docs/guides/code": "/docs/quickstart",
		"/docs/guides/legacy-fine-tuning": "/docs/fine-tuning",
		"/docs/models/codex-series-private-beta": "/docs/deprecations/2023-03-20-codex-models",
		"/docs/models/gpt-3-5": "/docs/models/gpt-3-5-turbo",
		"/docs/guides/evals": "https://help.openai.com/en/articles/9341289-evals-beta",
		"/docs/content-filter": "/docs/models/moderation",
		"/docs/assistants": "/docs/assistants/overview",
		"/docs/assistants/tools/knowledge-retrieval": "/docs/assistants/tools/file-search",
		"/docs/guides/text-generation/json-mode": "/docs/guides/json-mode",
		"/docs/guides/text-generation/parameter-details": "/docs/advanced-usage/parameter-details",
		"/docs/guides/text-generation/managing-tokens": "/docs/advanced-usage/managing-tokens",
		"/docs/guides/text-generation/reproducible-outputs": "/docs/advanced-usage/reproducible-outputs",
		"/docs/assistants/how-it-works/data-access-guidance": "/docs/assistants/deep-dive/data-access-guidance",
		"/docs/assistants/how-it-works": "/docs/assistants/overview/how-assistants-work",
		"/docs/assistants/how-it-works/objects": "/docs/assistants/overview/objects",
		"/docs/assistants/how-it-works/creating-assistants": "/docs/assistants/deep-dive/creating-assistants",
		"/docs/assistants/how-it-works/managing-threads-and-messages": "/docs/assistants/deep-dive/managing-threads-and-messages",
		"/docs/assistants/how-it-works/runs-and-run-steps": "/docs/assistants/deep-dive/runs-and-run-steps",
		"/docs/guides/text-generation/faq": "/docs/faq",
		"/docs/guides/text-generation/chat-completions-api": "/docs/guides/chat-completions",
		"/docs/guides/text-generation/completions-api": "/docs/guides/completions",
		"/docs/guides/embeddings/frequently-asked-questions": "/docs/guides/embeddings/faq",
		"/docs/actions": "/docs/actions/introduction",
		"/docs/introduction": "/docs/concepts",
		"/docs/guides/json-mode": "/docs/guides/structured-outputs/json-mode",
		"/community-guidelines": Vn,
		"/policies/community-guidelines": Vn,
		"/policies/developer-agreement": "".concat(Vn, "/terms-of-use"),
		"/privacy-policy": "".concat(Vn, "/privacy-policy"),
		"/policies/privacy-policy": "".concat(Vn, "/privacy-policy"),
		"/policies/sharing-and-publication": "".concat(Vn, "/sharing-publication-policy"),
		"/policies/publication-and-sharing": "".concat(Vn, "/sharing-publication-policy"),
		"/terms-of-use": "".concat(Vn, "/terms-of-use"),
		"/terms": "".concat(Vn, "/terms-of-use"),
		"/policies": Vn,
		"/policies/terms-of-use": "".concat(Vn, "/terms-of-use"),
		"/usage-guidelines": "".concat(Vn, "/usage-policies"),
		"/docs/usage-guidelines/:subpath?": "".concat(Vn, "/usage-policies"),
		"/docs/use-case-guidelines/:subpath?": "".concat(Vn, "/usage-policies"),
		"/docs/usage-policies/:subpath?": "".concat(Vn, "/usage-policies"),
		"/docs/data-usage-policies/:subpath?": "".concat(Vn, "/api-data-usage-policies"),
		"/home": "/",
		"/faq": Rj,
		"/pricing": Tj,
		"/forms/quota-increase/:orgId?": "/account/limits",
		"/codex-javascript-sandbox": "https://chatgpt.com"
	},
	bIe = Object.keys(kK);

function SIe({
	match: e
}) {
	const {
		path: t,
		params: n
	} = e;
	let r = kK[t];
	return r.indexOf("https:") === 0 ? window.location.href = r : (Object.keys(n).forEach(i => {
		n[i] && (r = r.replace(new RegExp(":".concat(i, "\\??")), n[i]))
	}), r = r.replace(/\/:\w+\??$/, ""), jn.replace(r)), null
}

function AK(e) {
	var t = Object.create(null);
	return function(n) {
		return t[n] === void 0 && (t[n] = e(n)), t[n]
	}
}
var xIe = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,
	EIe = AK(function(e) {
		return xIe.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91
	});

function CIe(e) {
	if (e.sheet) return e.sheet;
	for (var t = 0; t < document.styleSheets.length; t++)
		if (document.styleSheets[t].ownerNode === e) return document.styleSheets[t]
}

function OIe(e) {
	var t = document.createElement("style");
	return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t
}
var TIe = function() {
		function e(n) {
			var r = this;
			this._insertTag = function(i) {
				var o;
				r.tags.length === 0 ? r.insertionPoint ? o = r.insertionPoint.nextSibling : r.prepend ? o = r.container.firstChild : o = r.before : o = r.tags[r.tags.length - 1].nextSibling, r.container.insertBefore(i, o), r.tags.push(i)
			}, this.isSpeedy = n.speedy === void 0 ? !0 : n.speedy, this.tags = [], this.ctr = 0, this.nonce = n.nonce, this.key = n.key, this.container = n.container, this.prepend = n.prepend, this.insertionPoint = n.insertionPoint, this.before = null
		}
		var t = e.prototype;
		return t.hydrate = function(r) {
			r.forEach(this._insertTag)
		}, t.insert = function(r) {
			this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(OIe(this));
			var i = this.tags[this.tags.length - 1];
			if (this.isSpeedy) {
				var o = CIe(i);
				try {
					o.insertRule(r, o.cssRules.length)
				} catch (a) {}
			} else i.appendChild(document.createTextNode(r));
			this.ctr++
		}, t.flush = function() {
			this.tags.forEach(function(r) {
				return r.parentNode && r.parentNode.removeChild(r)
			}), this.tags = [], this.ctr = 0
		}, e
	}(),
	Or = "-ms-",
	zw = "-moz-",
	Rt = "-webkit-",
	MK = "comm",
	fT = "rule",
	dT = "decl",
	RIe = "@import",
	PK = "@keyframes",
	IIe = "@layer",
	kIe = Math.abs,
	Zb = String.fromCharCode,
	AIe = Object.assign;

function MIe(e, t) {
	return pr(e, 0) ^ 45 ? (((t << 2 ^ pr(e, 0)) << 2 ^ pr(e, 1)) << 2 ^ pr(e, 2)) << 2 ^ pr(e, 3) : 0
}

function LK(e) {
	return e.trim()
}

function PIe(e, t) {
	return (e = t.exec(e)) ? e[0] : e
}

function It(e, t, n) {
	return e.replace(t, n)
}

function FC(e, t) {
	return e.indexOf(t)
}

function pr(e, t) {
	return e.charCodeAt(t) | 0
}

function n1(e, t, n) {
	return e.slice(t, n)
}

function Ra(e) {
	return e.length
}

function pT(e) {
	return e.length
}

function ay(e, t) {
	return t.push(e), e
}

function LIe(e, t) {
	return e.map(t).join("")
}
var qb = 1,
	Kp = 1,
	NK = 0,
	Ei = 0,
	Dn = 0,
	Uh = "";

function Yb(e, t, n, r, i, o, a) {
	return {
		value: e,
		root: t,
		parent: n,
		type: r,
		props: i,
		children: o,
		line: qb,
		column: Kp,
		length: a,
		return: ""
	}
}

function N0(e, t) {
	return AIe(Yb("", null, null, "", null, null, 0), e, {
		length: -e.length
	}, t)
}

function NIe() {
	return Dn
}

function DIe() {
	return Dn = Ei > 0 ? pr(Uh, --Ei) : 0, Kp--, Dn === 10 && (Kp = 1, qb--), Dn
}

function Vi() {
	return Dn = Ei < NK ? pr(Uh, Ei++) : 0, Kp++, Dn === 10 && (Kp = 1, qb++), Dn
}

function Ba() {
	return pr(Uh, Ei)
}

function l2() {
	return Ei
}

function og(e, t) {
	return n1(Uh, e, t)
}

function r1(e) {
	switch (e) {
		case 0:
		case 9:
		case 10:
		case 13:
		case 32:
			return 5;
		case 33:
		case 43:
		case 44:
		case 47:
		case 62:
		case 64:
		case 126:
		case 59:
		case 123:
		case 125:
			return 4;
		case 58:
			return 3;
		case 34:
		case 39:
		case 40:
		case 91:
			return 2;
		case 41:
		case 93:
			return 1
	}
	return 0
}

function DK(e) {
	return qb = Kp = 1, NK = Ra(Uh = e), Ei = 0, []
}

function $K(e) {
	return Uh = "", e
}

function c2(e) {
	return LK(og(Ei - 1, jC(e === 91 ? e + 2 : e === 40 ? e + 1 : e)))
}

function $Ie(e) {
	for (;
		(Dn = Ba()) && Dn < 33;) Vi();
	return r1(e) > 2 || r1(Dn) > 3 ? "" : " "
}

function FIe(e, t) {
	for (; --t && Vi() && !(Dn < 48 || Dn > 102 || Dn > 57 && Dn < 65 || Dn > 70 && Dn < 97););
	return og(e, l2() + (t < 6 && Ba() == 32 && Vi() == 32))
}

function jC(e) {
	for (; Vi();) switch (Dn) {
		case e:
			return Ei;
		case 34:
		case 39:
			e !== 34 && e !== 39 && jC(Dn);
			break;
		case 40:
			e === 41 && jC(e);
			break;
		case 92:
			Vi();
			break
	}
	return Ei
}

function jIe(e, t) {
	for (; Vi() && e + Dn !== 57;)
		if (e + Dn === 84 && Ba() === 47) break;
	return "/*" + og(t, Ei - 1) + "*" + Zb(e === 47 ? e : Vi())
}

function UIe(e) {
	for (; !r1(Ba());) Vi();
	return og(e, Ei)
}

function HIe(e) {
	return $K(f2("", null, null, null, [""], e = DK(e), 0, [0], e))
}

function f2(e, t, n, r, i, o, a, s, u) {
	for (var l = 0, c = 0, d = a, p = 0, g = 0, m = 0, _ = 1, S = 1, y = 1, w = 0, b = "", E = i, T = o, O = r, R = b; S;) switch (m = w, w = Vi()) {
		case 40:
			if (m != 108 && pr(R, d - 1) == 58) {
				FC(R += It(c2(w), "&", "&\f"), "&\f") != -1 && (y = -1);
				break
			}
			case 34:
			case 39:
			case 91:
				R += c2(w);
				break;
			case 9:
			case 10:
			case 13:
			case 32:
				R += $Ie(m);
				break;
			case 92:
				R += FIe(l2() - 1, 7);
				continue;
			case 47:
				switch (Ba()) {
					case 42:
					case 47:
						ay(VIe(jIe(Vi(), l2()), t, n), u);
						break;
					default:
						R += "/"
				}
				break;
			case 123 * _:
				s[l++] = Ra(R) * y;
			case 125 * _:
			case 59:
			case 0:
				switch (w) {
					case 0:
					case 125:
						S = 0;
					case 59 + c:
						y == -1 && (R = It(R, /\f/g, "")), g > 0 && Ra(R) - d && ay(g > 32 ? JN(R + ";", r, n, d - 1) : JN(It(R, " ", "") + ";", r, n, d - 2), u);
						break;
					case 59:
						R += ";";
					default:
						if (ay(O = XN(R, t, n, l, c, i, s, b, E = [], T = [], d), o), w === 123)
							if (c === 0) f2(R, t, O, O, E, o, d, s, T);
							else switch (p === 99 && pr(R, 3) === 110 ? 100 : p) {
								case 100:
								case 108:
								case 109:
								case 115:
									f2(e, O, O, r && ay(XN(e, O, O, 0, 0, i, s, b, i, E = [], d), T), i, T, d, s, r ? E : T);
									break;
								default:
									f2(R, O, O, O, [""], T, 0, s, T)
							}
				}
				l = c = g = 0, _ = y = 1, b = R = "", d = a;
				break;
			case 58:
				d = 1 + Ra(R), g = m;
			default:
				if (_ < 1) {
					if (w == 123) --_;
					else if (w == 125 && _++ == 0 && DIe() == 125) continue
				}
				switch (R += Zb(w), w * _) {
					case 38:
						y = c > 0 ? 1 : (R += "\f", -1);
						break;
					case 44:
						s[l++] = (Ra(R) - 1) * y, y = 1;
						break;
					case 64:
						Ba() === 45 && (R += c2(Vi())), p = Ba(), c = d = Ra(b = R += UIe(l2())), w++;
						break;
					case 45:
						m === 45 && Ra(R) == 2 && (_ = 0)
				}
	}
	return o
}

function XN(e, t, n, r, i, o, a, s, u, l, c) {
	for (var d = i - 1, p = i === 0 ? o : [""], g = pT(p), m = 0, _ = 0, S = 0; m < r; ++m)
		for (var y = 0, w = n1(e, d + 1, d = kIe(_ = a[m])), b = e; y < g; ++y)(b = LK(_ > 0 ? p[y] + " " + w : It(w, /&\f/g, p[y]))) && (u[S++] = b);
	return Yb(e, t, n, i === 0 ? fT : s, u, l, c)
}

function VIe(e, t, n) {
	return Yb(e, t, n, MK, Zb(NIe()), n1(e, 2, -2), 0)
}

function JN(e, t, n, r) {
	return Yb(e, t, n, dT, n1(e, 0, r), n1(e, r + 1, -1), r)
}

function cp(e, t) {
	for (var n = "", r = pT(e), i = 0; i < r; i++) n += t(e[i], i, e, t) || "";
	return n
}

function BIe(e, t, n, r) {
	switch (e.type) {
		case IIe:
			if (e.children.length) break;
		case RIe:
		case dT:
			return e.return = e.return || e.value;
		case MK:
			return "";
		case PK:
			return e.return = e.value + "{" + cp(e.children, r) + "}";
		case fT:
			e.value = e.props.join(",")
	}
	return Ra(n = cp(e.children, r)) ? e.return = e.value + "{" + n + "}" : ""
}

function zIe(e) {
	var t = pT(e);
	return function(n, r, i, o) {
		for (var a = "", s = 0; s < t; s++) a += e[s](n, r, i, o) || "";
		return a
	}
}

function GIe(e) {
	return function(t) {
		t.root || (t = t.return) && e(t)
	}
}
var WIe = function(t, n, r) {
		for (var i = 0, o = 0; i = o, o = Ba(), i === 38 && o === 12 && (n[r] = 1), !r1(o);) Vi();
		return og(t, Ei)
	},
	KIe = function(t, n) {
		var r = -1,
			i = 44;
		do switch (r1(i)) {
			case 0:
				i === 38 && Ba() === 12 && (n[r] = 1), t[r] += WIe(Ei - 1, n, r);
				break;
			case 2:
				t[r] += c2(i);
				break;
			case 4:
				if (i === 44) {
					t[++r] = Ba() === 58 ? "&\f" : "", n[r] = t[r].length;
					break
				}
				default:
					t[r] += Zb(i)
		}
		while (i = Vi());
		return t
	},
	ZIe = function(t, n) {
		return $K(KIe(DK(t), n))
	},
	QN = new WeakMap,
	qIe = function(t) {
		if (!(t.type !== "rule" || !t.parent || t.length < 1)) {
			for (var n = t.value, r = t.parent, i = t.column === r.column && t.line === r.line; r.type !== "rule";)
				if (r = r.parent, !r) return;
			if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !QN.get(r)) && !i) {
				QN.set(t, !0);
				for (var o = [], a = ZIe(n, o), s = r.props, u = 0, l = 0; u < a.length; u++)
					for (var c = 0; c < s.length; c++, l++) t.props[l] = o[u] ? a[u].replace(/&\f/g, s[c]) : s[c] + " " + a[u]
			}
		}
	},
	YIe = function(t) {
		if (t.type === "decl") {
			var n = t.value;
			n.charCodeAt(0) === 108 && n.charCodeAt(2) === 98 && (t.return = "", t.value = "")
		}
	};

function FK(e, t) {
	switch (MIe(e, t)) {
		case 5103:
			return Rt + "print-" + e + e;
		case 5737:
		case 4201:
		case 3177:
		case 3433:
		case 1641:
		case 4457:
		case 2921:
		case 5572:
		case 6356:
		case 5844:
		case 3191:
		case 6645:
		case 3005:
		case 6391:
		case 5879:
		case 5623:
		case 6135:
		case 4599:
		case 4855:
		case 4215:
		case 6389:
		case 5109:
		case 5365:
		case 5621:
		case 3829:
			return Rt + e + e;
		case 5349:
		case 4246:
		case 4810:
		case 6968:
		case 2756:
			return Rt + e + zw + e + Or + e + e;
		case 6828:
		case 4268:
			return Rt + e + Or + e + e;
		case 6165:
			return Rt + e + Or + "flex-" + e + e;
		case 5187:
			return Rt + e + It(e, /(\w+).+(:[^]+)/, Rt + "box-$1$2" + Or + "flex-$1$2") + e;
		case 5443:
			return Rt + e + Or + "flex-item-" + It(e, /flex-|-self/, "") + e;
		case 4675:
			return Rt + e + Or + "flex-line-pack" + It(e, /align-content|flex-|-self/, "") + e;
		case 5548:
			return Rt + e + Or + It(e, "shrink", "negative") + e;
		case 5292:
			return Rt + e + Or + It(e, "basis", "preferred-size") + e;
		case 6060:
			return Rt + "box-" + It(e, "-grow", "") + Rt + e + Or + It(e, "grow", "positive") + e;
		case 4554:
			return Rt + It(e, /([^-])(transform)/g, "$1" + Rt + "$2") + e;
		case 6187:
			return It(It(It(e, /(zoom-|grab)/, Rt + "$1"), /(image-set)/, Rt + "$1"), e, "") + e;
		case 5495:
		case 3959:
			return It(e, /(image-set\([^]*)/, Rt + "$1$`$1");
		case 4968:
			return It(It(e, /(.+:)(flex-)?(.*)/, Rt + "box-pack:$3" + Or + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + Rt + e + e;
		case 4095:
		case 3583:
		case 4068:
		case 2532:
			return It(e, /(.+)-inline(.+)/, Rt + "$1$2") + e;
		case 8116:
		case 7059:
		case 5753:
		case 5535:
		case 5445:
		case 5701:
		case 4933:
		case 4677:
		case 5533:
		case 5789:
		case 5021:
		case 4765:
			if (Ra(e) - 1 - t > 6) switch (pr(e, t + 1)) {
				case 109:
					if (pr(e, t + 4) !== 45) break;
				case 102:
					return It(e, /(.+:)(.+)-([^]+)/, "$1" + Rt + "$2-$3$1" + zw + (pr(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
				case 115:
					return ~FC(e, "stretch") ? FK(It(e, "stretch", "fill-available"), t) + e : e
			}
			break;
		case 4949:
			if (pr(e, t + 1) !== 115) break;
		case 6444:
			switch (pr(e, Ra(e) - 3 - (~FC(e, "!important") && 10))) {
				case 107:
					return It(e, ":", ":" + Rt) + e;
				case 101:
					return It(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + Rt + (pr(e, 14) === 45 ? "inline-" : "") + "box$3$1" + Rt + "$2$3$1" + Or + "$2box$3") + e
			}
			break;
		case 5936:
			switch (pr(e, t + 11)) {
				case 114:
					return Rt + e + Or + It(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
				case 108:
					return Rt + e + Or + It(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
				case 45:
					return Rt + e + Or + It(e, /[svh]\w+-[tblr]{2}/, "lr") + e
			}
			return Rt + e + Or + e + e
	}
	return e
}
var XIe = function(t, n, r, i) {
		if (t.length > -1 && !t.return) switch (t.type) {
			case dT:
				t.return = FK(t.value, t.length);
				break;
			case PK:
				return cp([N0(t, {
					value: It(t.value, "@", "@" + Rt)
				})], i);
			case fT:
				if (t.length) return LIe(t.props, function(o) {
					switch (PIe(o, /(::plac\w+|:read-\w+)/)) {
						case ":read-only":
						case ":read-write":
							return cp([N0(t, {
								props: [It(o, /:(read-\w+)/, ":" + zw + "$1")]
							})], i);
						case "::placeholder":
							return cp([N0(t, {
								props: [It(o, /:(plac\w+)/, ":" + Rt + "input-$1")]
							}), N0(t, {
								props: [It(o, /:(plac\w+)/, ":" + zw + "$1")]
							}), N0(t, {
								props: [It(o, /:(plac\w+)/, Or + "input-$1")]
							})], i)
					}
					return ""
				})
		}
	},
	JIe = [XIe],
	QIe = function(t) {
		var n = t.key;
		if (n === "css") {
			var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
			Array.prototype.forEach.call(r, function(_) {
				var S = _.getAttribute("data-emotion");
				S.indexOf(" ") !== -1 && (document.head.appendChild(_), _.setAttribute("data-s", ""))
			})
		}
		var i = t.stylisPlugins || JIe,
			o = {},
			a, s = [];
		a = t.container || document.head, Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="' + n + ' "]'), function(_) {
			for (var S = _.getAttribute("data-emotion").split(" "), y = 1; y < S.length; y++) o[S[y]] = !0;
			s.push(_)
		});
		var u, l = [qIe, YIe]; {
			var c, d = [BIe, GIe(function(_) {
					c.insert(_)
				})],
				p = zIe(l.concat(i, d)),
				g = function(S) {
					return cp(HIe(S), p)
				};
			u = function(S, y, w, b) {
				c = w, g(S ? S + "{" + y.styles + "}" : y.styles), b && (m.inserted[y.name] = !0)
			}
		}
		var m = {
			key: n,
			sheet: new TIe({
				key: n,
				container: a,
				nonce: t.nonce,
				speedy: t.speedy,
				prepend: t.prepend,
				insertionPoint: t.insertionPoint
			}),
			nonce: t.nonce,
			inserted: o,
			registered: {},
			insert: u
		};
		return m.sheet.hydrate(s), m
	},
	eke = !0;

function jK(e, t, n) {
	var r = "";
	return n.split(" ").forEach(function(i) {
		e[i] !== void 0 ? t.push(e[i] + ";") : r += i + " "
	}), r
}
var hT = function(t, n, r) {
		var i = t.key + "-" + n.name;
		(r === !1 || eke === !1) && t.registered[i] === void 0 && (t.registered[i] = n.styles)
	},
	UK = function(t, n, r) {
		hT(t, n, r);
		var i = t.key + "-" + n.name;
		if (t.inserted[n.name] === void 0) {
			var o = n;
			do t.insert(n === o ? "." + i : "", o, t.sheet, !0), o = o.next; while (o !== void 0)
		}
	};

function tke(e) {
	for (var t = 0, n, r = 0, i = e.length; i >= 4; ++r, i -= 4) n = e.charCodeAt(r) & 255 | (e.charCodeAt(++r) & 255) << 8 | (e.charCodeAt(++r) & 255) << 16 | (e.charCodeAt(++r) & 255) << 24, n = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16), n ^= n >>> 24, t = (n & 65535) * 1540483477 + ((n >>> 16) * 59797 << 16) ^ (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
	switch (i) {
		case 3:
			t ^= (e.charCodeAt(r + 2) & 255) << 16;
		case 2:
			t ^= (e.charCodeAt(r + 1) & 255) << 8;
		case 1:
			t ^= e.charCodeAt(r) & 255, t = (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16)
	}
	return t ^= t >>> 13, t = (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36)
}
var nke = {
		animationIterationCount: 1,
		aspectRatio: 1,
		borderImageOutset: 1,
		borderImageSlice: 1,
		borderImageWidth: 1,
		boxFlex: 1,
		boxFlexGroup: 1,
		boxOrdinalGroup: 1,
		columnCount: 1,
		columns: 1,
		flex: 1,
		flexGrow: 1,
		flexPositive: 1,
		flexShrink: 1,
		flexNegative: 1,
		flexOrder: 1,
		gridRow: 1,
		gridRowEnd: 1,
		gridRowSpan: 1,
		gridRowStart: 1,
		gridColumn: 1,
		gridColumnEnd: 1,
		gridColumnSpan: 1,
		gridColumnStart: 1,
		msGridRow: 1,
		msGridRowSpan: 1,
		msGridColumn: 1,
		msGridColumnSpan: 1,
		fontWeight: 1,
		lineHeight: 1,
		opacity: 1,
		order: 1,
		orphans: 1,
		tabSize: 1,
		widows: 1,
		zIndex: 1,
		zoom: 1,
		WebkitLineClamp: 1,
		fillOpacity: 1,
		floodOpacity: 1,
		stopOpacity: 1,
		strokeDasharray: 1,
		strokeDashoffset: 1,
		strokeMiterlimit: 1,
		strokeOpacity: 1,
		strokeWidth: 1
	},
	rke = /[A-Z]|^ms/g,
	ike = /_EMO_([^_]+?)_([^]*?)_EMO_/g,
	HK = function(t) {
		return t.charCodeAt(1) === 45
	},
	eD = function(t) {
		return t != null && typeof t != "boolean"
	},
	Sx = AK(function(e) {
		return HK(e) ? e : e.replace(rke, "-$&").toLowerCase()
	}),
	tD = function(t, n) {
		switch (t) {
			case "animation":
			case "animationName":
				if (typeof n == "string") return n.replace(ike, function(r, i, o) {
					return Ia = {
						name: i,
						styles: o,
						next: Ia
					}, i
				})
		}
		return nke[t] !== 1 && !HK(t) && typeof n == "number" && n !== 0 ? n + "px" : n
	};

function i1(e, t, n) {
	if (n == null) return "";
	if (n.__emotion_styles !== void 0) return n;
	switch (typeof n) {
		case "boolean":
			return "";
		case "object": {
			if (n.anim === 1) return Ia = {
				name: n.name,
				styles: n.styles,
				next: Ia
			}, n.name;
			if (n.styles !== void 0) {
				var r = n.next;
				if (r !== void 0)
					for (; r !== void 0;) Ia = {
						name: r.name,
						styles: r.styles,
						next: Ia
					}, r = r.next;
				var i = n.styles + ";";
				return i
			}
			return oke(e, t, n)
		}
		case "function": {
			if (e !== void 0) {
				var o = Ia,
					a = n(e);
				return Ia = o, i1(e, t, a)
			}
			break
		}
	}
	if (t == null) return n;
	var s = t[n];
	return s !== void 0 ? s : n
}

function oke(e, t, n) {
	var r = "";
	if (Array.isArray(n))
		for (var i = 0; i < n.length; i++) r += i1(e, t, n[i]) + ";";
	else
		for (var o in n) {
			var a = n[o];
			if (typeof a != "object") t != null && t[a] !== void 0 ? r += o + "{" + t[a] + "}" : eD(a) && (r += Sx(o) + ":" + tD(o, a) + ";");
			else if (Array.isArray(a) && typeof a[0] == "string" && (t == null || t[a[0]] === void 0))
				for (var s = 0; s < a.length; s++) eD(a[s]) && (r += Sx(o) + ":" + tD(o, a[s]) + ";");
			else {
				var u = i1(e, t, a);
				switch (o) {
					case "animation":
					case "animationName": {
						r += Sx(o) + ":" + u + ";";
						break
					}
					default:
						r += o + "{" + u + "}"
				}
			}
		}
	return r
}
var nD = /label:\s*([^\s;\n{]+)\s*(;|$)/g,
	Ia, vT = function(t, n, r) {
		if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0) return t[0];
		var i = !0,
			o = "";
		Ia = void 0;
		var a = t[0];
		a == null || a.raw === void 0 ? (i = !1, o += i1(r, n, a)) : o += a[0];
		for (var s = 1; s < t.length; s++) o += i1(r, n, t[s]), i && (o += a[s]);
		nD.lastIndex = 0;
		for (var u = "", l;
			(l = nD.exec(o)) !== null;) u += "-" + l[1];
		var c = tke(o) + u;
		return {
			name: c,
			styles: o,
			next: Ia
		}
	},
	ake = function(t) {
		return t()
	},
	ske = wE.useInsertionEffect ? wE.useInsertionEffect : !1,
	VK = ske || ake,
	gT = {}.hasOwnProperty,
	BK = h.createContext(typeof HTMLElement < "u" ? QIe({
		key: "css"
	}) : null);
BK.Provider;
var zK = function(t) {
		return h.forwardRef(function(n, r) {
			var i = h.useContext(BK);
			return t(n, i, r)
		})
	},
	GK = h.createContext({}),
	UC = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__",
	uke = function(t, n) {
		var r = {};
		for (var i in n) gT.call(n, i) && (r[i] = n[i]);
		return r[UC] = t, r
	},
	lke = function(t) {
		var n = t.cache,
			r = t.serialized,
			i = t.isStringTag;
		return hT(n, r, i), VK(function() {
			return UK(n, r, i)
		}), null
	},
	cke = zK(function(e, t, n) {
		var r = e.css;
		typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
		var i = e[UC],
			o = [r],
			a = "";
		typeof e.className == "string" ? a = jK(t.registered, o, e.className) : e.className != null && (a = e.className + " ");
		var s = vT(o, void 0, h.useContext(GK));
		a += t.key + "-" + s.name;
		var u = {};
		for (var l in e) gT.call(e, l) && l !== "css" && l !== UC && (u[l] = e[l]);
		return u.ref = n, u.className = a, h.createElement(h.Fragment, null, h.createElement(lke, {
			cache: t,
			serialized: s,
			isStringTag: typeof i == "string"
		}), h.createElement(i, u))
	}),
	fke = cke,
	$e = function(t, n) {
		var r = arguments;
		if (n == null || !gT.call(n, "css")) return h.createElement.apply(void 0, r);
		var i = r.length,
			o = new Array(i);
		o[0] = fke, o[1] = uke(t, n);
		for (var a = 2; a < i; a++) o[a] = r[a];
		return h.createElement.apply(null, o)
	};

function mT() {
	for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
	return vT(t)
}
var dke = function() {
		var t = mT.apply(void 0, arguments),
			n = "animation-" + t.name;
		return {
			name: n,
			styles: "@keyframes " + n + "{" + t.styles + "}",
			anim: 1,
			toString: function() {
				return "_EMO_" + this.name + "_" + this.styles + "_EMO_"
			}
		}
	},
	pke = EIe,
	hke = function(t) {
		return t !== "theme"
	},
	rD = function(t) {
		return typeof t == "string" && t.charCodeAt(0) > 96 ? pke : hke
	},
	iD = function(t, n, r) {
		var i;
		if (n) {
			var o = n.shouldForwardProp;
			i = t.__emotion_forwardProp && o ? function(a) {
				return t.__emotion_forwardProp(a) && o(a)
			} : o
		}
		return typeof i != "function" && r && (i = t.__emotion_forwardProp), i
	},
	vke = function(t) {
		var n = t.cache,
			r = t.serialized,
			i = t.isStringTag;
		return hT(n, r, i), VK(function() {
			return UK(n, r, i)
		}), null
	},
	gke = function e(t, n) {
		var r = t.__emotion_real === t,
			i = r && t.__emotion_base || t,
			o, a;
		n !== void 0 && (o = n.label, a = n.target);
		var s = iD(t, n, r),
			u = s || rD(i),
			l = !u("as");
		return function() {
			var c = arguments,
				d = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
			if (o !== void 0 && d.push("label:" + o + ";"), c[0] == null || c[0].raw === void 0) d.push.apply(d, c);
			else {
				d.push(c[0][0]);
				for (var p = c.length, g = 1; g < p; g++) d.push(c[g], c[0][g])
			}
			var m = zK(function(_, S, y) {
				var w = l && _.as || i,
					b = "",
					E = [],
					T = _;
				if (_.theme == null) {
					T = {};
					for (var O in _) T[O] = _[O];
					T.theme = h.useContext(GK)
				}
				typeof _.className == "string" ? b = jK(S.registered, E, _.className) : _.className != null && (b = _.className + " ");
				var R = vT(d.concat(E), S.registered, T);
				b += S.key + "-" + R.name, a !== void 0 && (b += " " + a);
				var k = l && s === void 0 ? rD(w) : u,
					M = {};
				for (var D in _) l && D === "as" || k(D) && (M[D] = _[D]);
				return M.className = b, M.ref = y, h.createElement(h.Fragment, null, h.createElement(vke, {
					cache: S,
					serialized: R,
					isStringTag: typeof w == "string"
				}), h.createElement(w, M))
			});
			return m.displayName = o !== void 0 ? o : "Styled(" + (typeof i == "string" ? i : i.displayName || i.name || "Component") + ")", m.defaultProps = t.defaultProps, m.__emotion_real = m, m.__emotion_base = i, m.__emotion_styles = d, m.__emotion_forwardProp = s, Object.defineProperty(m, "toString", {
				value: function() {
					return "." + a
				}
			}), m.withComponent = function(_, S) {
				return e(_, ge({}, n, S, {
					shouldForwardProp: iD(m, S, !0)
				})).apply(void 0, d)
			}, m
		}
	},
	mke = ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "tspan"],
	xt = gke.bind();
mke.forEach(function(e) {
	xt[e] = xt(e)
});
var WK = {
		color: void 0,
		size: void 0,
		className: void 0,
		style: void 0,
		attr: void 0
	},
	oD = J.createContext && J.createContext(WK),
	ll = function() {
		return ll = Object.assign || function(e) {
			for (var t, n = 1, r = arguments.length; n < r; n++) {
				t = arguments[n];
				for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i])
			}
			return e
		}, ll.apply(this, arguments)
	},
	yke = function(e, t) {
		var n = {};
		for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
		if (e != null && typeof Object.getOwnPropertySymbols == "function")
			for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
		return n
	};

function KK(e) {
	return e && e.map(function(t, n) {
		return J.createElement(t.tag, ll({
			key: n
		}, t.attr), KK(t.child))
	})
}

function Ce(e) {
	return function(t) {
		return J.createElement(wke, ll({
			attr: ll({}, e.attr)
		}, t), KK(e.child))
	}
}

function wke(e) {
	var t = function(n) {
		var r = e.attr,
			i = e.size,
			o = e.title,
			a = yke(e, ["attr", "size", "title"]),
			s = i || n.size || "1em",
			u;
		return n.className && (u = n.className), e.className && (u = (u ? u + " " : "") + e.className), J.createElement("svg", ll({
			stroke: "currentColor",
			fill: "currentColor",
			strokeWidth: "0"
		}, n.attr, r, a, {
			className: u,
			style: ll(ll({
				color: e.color || n.color
			}, n.style), e.style),
			height: s,
			width: s,
			xmlns: "http://www.w3.org/2000/svg"
		}), o && J.createElement("title", null, o), e.children)
	};
	return oD !== void 0 ? J.createElement(oD.Consumer, null, function(n) {
		return t(n)
	}) : t(WK)
}

function _ke(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 1024 1024"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 0 0-94.3-139.9 437.71 437.71 0 0 0-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"
			}
		}]
	})(e)
}

function yT(e) {
	return C.jsx("div", {
		className: "spinner",
		children: C.jsx(_ke, {
			size: e.size || "1em",
			className: Pe("spinner-spin", e.color ? null : "spinner-color-default"),
			color: e.color,
			...e
		})
	})
}
const Ci = {
		primary: "primary",
		secondary: "secondary",
		neutral: "neutral",
		dark: "dark",
		negative: "negative",
		none: "none"
	},
	Xb = {
		filled: "filled",
		outlined: "outlined",
		minimal: "minimal"
	},
	aD = {
		xsmall: "btn-xsm",
		small: "btn-sm",
		medium: "btn-md",
		large: "btn-lg"
	},
	ir = J.memo(J.forwardRef(function(t, n) {
		var te;
		const {
			autoFocus: r,
			children: i,
			className: o,
			color: a = Ci.primary,
			disabled: s = !1,
			endIcon: u,
			endNode: l,
			fullWidth: c = !1,
			href: d,
			loading: p = !1,
			onClick: g,
			pill: m = !1,
			rel: _,
			size: S = "medium",
			smallCaps: y = !1,
			startIcon: w,
			hoverIcon: b,
			startNode: E,
			style: T,
			target: O,
			type: R = "button",
			variant: k = Xb.filled,
			noAutoMargin: M,
			...D
		} = t, P = p ? !0 : s, U = ((te = t.iconSize) != null ? te : S === "xsmall") ? 16 : 18, H = E || (w && b ? C.jsxs(C.Fragment, {
			children: [C.jsx(w, {
				width: "".concat(U, "px"),
				height: "".concat(U, "px"),
				className: "hide-on-hover"
			}), C.jsx(b, {
				width: "".concat(U, "px"),
				height: "".concat(U, "px"),
				className: "show-on-hover"
			})]
		}) : w && C.jsx(w, {
			width: "".concat(U, "px"),
			height: "".concat(U, "px")
		})), G = l || (u ? C.jsx(u, {
			width: "".concat(U, "px"),
			height: "".concat(U, "px")
		}) : null), K = C.jsxs(C.Fragment, {
			children: [C.jsxs("span", {
				className: Pe("btn-label-wrap", p && "btn-label-wrap-loading"),
				children: [H && C.jsx("span", {
					className: "btn-node start-node",
					children: H
				}), i && C.jsx("span", {
					className: "btn-label-inner",
					children: i != null ? i : C.jsx(C.Fragment, {
						children: "‍"
					})
				}), G && C.jsx("span", {
					className: "btn-node",
					children: G
				})]
			}), p && C.jsx("span", {
				className: "btn-spinner",
				children: C.jsx(yT, {
					color: "currentColor",
					size: "1.2em"
				})
			})]
		}), ee = {
			autoFocus: r,
			ref: n,
			tabIndex: 0,
			className: Pe("btn", c && "btn-full", P && "btn-disabled", s && "btn-disabled-style", p && "btn-loading", aD[S] || aD.medium, "btn-".concat(k), "btn-".concat(a), m && "btn-pill", y && "btn-small-caps", o, M && "btn-no-auto-margin"),
			onClick: g,
			style: T,
			...D
		};
		return d ? d.indexOf("/") === 0 ? C.jsx(aa, {
			to: d,
			target: O,
			rel: _,
			...ee,
			children: K
		}) : C.jsx("a", {
			href: d,
			target: O,
			rel: _ || "noreferrer",
			...ee,
			children: K
		}) : C.jsx("button", {
			type: R,
			disabled: P,
			...ee,
			children: K
		})
	})),
	bke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M5 6a1 1 0 0 1 1 1v4a1 1 0 0 0 1 1h9.586l-2.293-2.293a1 1 0 0 1 1.414-1.414l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414-1.414L16.586 14H7a3 3 0 0 1-3-3V7a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	})),
	oat = h.forwardRef(bke),
	Ske = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12.707 18.707a1 1 0 0 1-1.414 0l-5-5a1 1 0 1 1 1.414-1.414L11 15.586V6a1 1 0 1 1 2 0v9.586l3.293-3.293a1 1 0 0 1 1.414 1.414l-5 5Z",
		clipRule: "evenodd"
	})),
	aat = h.forwardRef(Ske),
	xke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M5.293 12.707a1 1 0 0 1 0-1.414l5-5a1 1 0 1 1 1.414 1.414L8.414 11H18a1 1 0 1 1 0 2H8.414l3.293 3.293a1 1 0 0 1-1.414 1.414l-5-5Z",
		clipRule: "evenodd"
	})),
	sat = h.forwardRef(xke),
	Eke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M18.707 12.707a1 1 0 0 0 0-1.414l-5-5a1 1 0 1 0-1.414 1.414L15.586 11H6a1 1 0 1 0 0 2h9.586l-3.293 3.293a1 1 0 0 0 1.414 1.414l5-5Z",
		clipRule: "evenodd"
	})),
	uat = h.forwardRef(Eke),
	Cke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M16.243 6.757a1 1 0 0 1 1 1v7.072a1 1 0 0 1-2 0v-4.657L8.464 16.95a1 1 0 0 1-1.414-1.414l6.778-6.779H9.172a1 1 0 0 1 0-2h7.07Z",
		clipRule: "evenodd"
	})),
	lat = h.forwardRef(Cke),
	Oke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M11.293 5.293a1 1 0 0 1 1.414 0l5 5a1 1 0 0 1-1.414 1.414L13 8.414V18a1 1 0 1 1-2 0V8.414l-3.293 3.293a1 1 0 0 1-1.414-1.414l5-5Z",
		clipRule: "evenodd"
	})),
	cat = h.forwardRef(Oke),
	Tke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M11 7.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0ZM14.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 1a1 1 0 0 1 1 1v.5h4a3 3 0 0 1 3 3V9a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V5.5a3 3 0 0 1 3-3h4V2a1 1 0 0 1 1-1ZM7 4.5h10a1 1 0 0 1 1 1V9a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V5.5a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		d: "M6 21c0-.974.551-1.95 1.632-2.722C8.71 17.508 10.252 17 12 17c1.749 0 3.29.508 4.369 1.278C17.449 19.05 18 20.026 18 21a1 1 0 1 0 2 0c0-1.788-1.016-3.311-2.469-4.35-1.455-1.038-3.414-1.65-5.53-1.65-2.118 0-4.077.611-5.532 1.65C5.016 17.69 4 19.214 4 21a1 1 0 1 0 2 0Z"
	})),
	fat = h.forwardRef(Tke),
	Rke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M3 7a4 4 0 0 1 4-4 1 1 0 0 1 0 2 2 2 0 0 0-2 2c0 .257.005.511.01.772v.032c.006.268.011.544.01.815-.004.535-.033 1.105-.16 1.652-.132.558-.372 1.114-.808 1.599a3.315 3.315 0 0 1-.13.137c.034.035.067.07.1.107.431.477.673 1.027.81 1.581.132.544.17 1.114.178 1.655.005.308 0 .657-.004.997-.003.227-.006.45-.006.653a2 2 0 0 0 2 2 1 1 0 1 1 0 2 4 4 0 0 1-4-4c0-.27.003-.51.007-.738.004-.303.008-.583.003-.88-.008-.49-.041-.884-.121-1.21-.078-.316-.192-.542-.351-.718-.158-.175-.41-.356-.847-.503A.995.995 0 0 1 1 12a.998.998 0 0 1 .691-.951c.457-.153.715-.34.875-.517.16-.178.272-.404.346-.718.077-.326.105-.719.108-1.207.001-.241-.004-.493-.009-.764v-.038A29.585 29.585 0 0 1 3 7Zm16.942 5.123c.039-.042.078-.083.118-.123a3.16 3.16 0 0 1-.117-.123c-.44-.482-.681-1.036-.811-1.594-.127-.545-.154-1.115-.155-1.65 0-.269.005-.544.011-.812v-.006C18.994 7.54 19 7.272 19 7a2 2 0 0 0-2-2 1 1 0 1 1 0-2 4 4 0 0 1 4 4c0 .296-.006.584-.012.854v.004c-.006.274-.011.527-.01.77 0 .491.027.88.101 1.2.072.308.183.528.341.702.16.174.421.362.889.519A.995.995 0 0 1 23 12a1.003 1.003 0 0 1-.692.951c-.468.157-.73.345-.889.52-.159.173-.269.393-.34.7-.075.321-.102.71-.103 1.201 0 .243.005.496.01.77l.001.004c.006.27.012.558.012.854a4 4 0 0 1-4 4 1 1 0 1 1 0-2 2 2 0 0 0 2-2c0-.272-.006-.54-.012-.814v-.007a34.216 34.216 0 0 1-.01-.811c0-.536.027-1.106.154-1.65.13-.56.37-1.113.81-1.595Z"
	}), h.createElement("path", {
		d: "M9 11a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H9ZM8 8a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Zm1 7a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H9Z"
	})),
	dat = h.forwardRef(Rke),
	Ike = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7 3a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2v5.276a1 1 0 0 0 .232.64l3.685 4.423A4.671 4.671 0 0 1 16.33 22H7.671a4.671 4.671 0 0 1-3.588-7.661l.045-.055c.06-.106.139-.201.234-.28l3.406-4.088A1 1 0 0 0 8 9.276V4a1 1 0 0 1-1-1Zm3 1v5.276a3 3 0 0 1-.695 1.92l-1.709 2.05a10.82 10.82 0 0 1 1.4-.027c1.071.048 1.97.254 2.75.433l.219.05c.842.191 1.562.332 2.4.29.624-.03 1.348-.164 2.247-.495l-1.917-2.3A3 3 0 0 1 14 9.276V4h-4Zm7.959 11.113c-1.347.574-2.472.827-3.495.877-1.131.056-2.078-.142-2.941-.338l-.209-.047c-.793-.181-1.525-.348-2.409-.388-.879-.04-1.933.047-3.305.425A2.671 2.671 0 0 0 7.67 20h8.66a2.67 2.67 0 0 0 2.05-4.38l-.421-.507Z",
		clipRule: "evenodd"
	}));
h.forwardRef(Ike);
const kke = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M15.24 3.486v.002l-1.056 4.517h5.823c1.726 0 2.596 2.021 1.518 3.3l-.002.003-9.308 10.965-.002.002c-1.397 1.656-3.922.223-3.454-1.761v-.002l1.057-4.517H3.993c-1.726 0-2.596-2.021-1.519-3.3l.003-.003 9.308-10.965.002-.002c1.397-1.656 3.922-.223 3.454 1.76Zm-1.95-.444-1.34 5.735a.998.998 0 0 0 .973 1.226h7.074a.04.04 0 0 1 .003.01.045.045 0 0 1-.004.005l-9.287 10.94 1.341-5.735a.998.998 0 0 0-.973-1.226H4.003a.041.041 0 0 1-.003-.01l.004-.005 9.287-10.94Z",
	clipRule: "evenodd"
}));
h.forwardRef(kke);
const Ake = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M4.83 4.106A2 2 0 0 1 6.617 3h10.764a2 2 0 0 1 1.789 1.106l1.618 3.236a2 2 0 0 1 .211.894V18a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V8.236a2 2 0 0 1 .211-.894L4.83 4.106ZM17.381 5H6.618l-1 2h12.764l-1-2ZM19 9H5v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V9ZM9 12a1 1 0 0 1 1-1h4a1 1 0 0 1 0 2h-4a1 1 0 0 1-1-1Z",
		clipRule: "evenodd"
	})),
	pat = h.forwardRef(Ake),
	Mke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a3 3 0 0 0-2.6 1.5 1 1 0 0 1-.865.5H5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-3.535a1 1 0 0 1-.866-.5A2.998 2.998 0 0 0 12 4ZM8 4a4.993 4.993 0 0 1 4-2 4.99 4.99 0 0 1 4 2h3a3 3 0 0 1 3 3v11a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h3Zm4 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z",
		clipRule: "evenodd"
	})),
	hat = h.forwardRef(Mke),
	Pke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7Zm2 4v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6H4Zm16-2H4V7a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2Zm-6 6a1 1 0 0 1 1-1h2a1 1 0 1 1 0 2h-2a1 1 0 0 1-1-1Z",
		clipRule: "evenodd"
	})),
	vat = h.forwardRef(Pke),
	Lke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "m12 16 5-6H7l5 6Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M6.094 9.576A1 1 0 0 1 7 9h10a1 1 0 0 1 .768 1.64l-5 6a1 1 0 0 1-1.536 0l-5-6a1 1 0 0 1-.138-1.064ZM9.135 11 12 14.438 14.865 11h-5.73Z",
		clipRule: "evenodd"
	})),
	gat = h.forwardRef(Lke),
	Nke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "m9 13 6 5V8l-6 5Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M15.424 7.094A1 1 0 0 1 16 8v10a1 1 0 0 1-1.64.768l-6-5a1 1 0 0 1 0-1.536l6-5a1 1 0 0 1 1.064-.138ZM10.562 13 14 15.865v-5.73L10.562 13Z",
		clipRule: "evenodd"
	}));
h.forwardRef(Nke);
const Dke = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	d: "M15 12 9 7v10l6-5Z"
}), h.createElement("path", {
	fillRule: "evenodd",
	d: "M8.576 6.094a1 1 0 0 1 1.064.138l6 5a1 1 0 0 1 0 1.536l-6 5A1 1 0 0 1 8 17V7a1 1 0 0 1 .576-.906ZM10 9.135v5.73L13.438 12 10 9.135Z",
	clipRule: "evenodd"
}));
h.forwardRef(Dke);
const $ke = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	d: "m12 10 5 6H7l5-6Z"
}), h.createElement("path", {
	fillRule: "evenodd",
	d: "M6.094 16.424A1 1 0 0 0 7 17h10a1 1 0 0 0 .768-1.64l-5-6a1 1 0 0 0-1.536 0l-5 6a1 1 0 0 0-.138 1.064ZM9.135 15 12 11.562 14.865 15h-5.73Z",
	clipRule: "evenodd"
}));
h.forwardRef($ke);
const Fke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a8 8 0 0 0-5.687 13.627 1 1 0 0 1 .147 1.217L5.766 20H12a8 8 0 1 0 0-16ZM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10H4a1 1 0 0 1-.857-1.515l1.218-2.03A9.964 9.964 0 0 1 2 12Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		d: "M9.25 12a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm4 0a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Zm4 0a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z"
	})),
	mat = h.forwardRef(Fke),
	jke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm14.076-4.068a1 1 0 0 1 .242 1.393l-4.75 6.75a1 1 0 0 1-1.558.098l-2.5-2.75a1 1 0 0 1 1.48-1.346l1.66 1.827 4.032-5.73a1 1 0 0 1 1.394-.242Z",
		clipRule: "evenodd"
	})),
	yat = h.forwardRef(jke),
	Uke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm14.076-4.068a1 1 0 0 1 .242 1.393l-4.75 6.75a1 1 0 0 1-1.558.098l-2.5-2.75a1 1 0 0 1 1.48-1.346l1.66 1.827 4.032-5.73a1 1 0 0 1 1.394-.242Z",
		clipRule: "evenodd"
	})),
	wat = h.forwardRef(Uke),
	Hke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M18.063 5.674a1 1 0 0 1 .263 1.39l-7.5 11a1 1 0 0 1-1.533.143l-4.5-4.5a1 1 0 1 1 1.414-1.414l3.647 3.647 6.82-10.003a1 1 0 0 1 1.39-.263Z",
		clipRule: "evenodd"
	})),
	Vke = h.forwardRef(Hke),
	Bke = (e, t) => h.createElement("svg", {
		width: "1em",
		height: "1em",
		viewBox: "0 0 16 9",
		fill: "currentColor",
		xmlns: "http://www.w3.org/2000/svg",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		clipRule: "evenodd",
		d: "M0.292893 0.292893C0.683418 -0.0976311 1.31658 -0.0976311 1.70711 0.292893L8 6.58579L14.2929 0.292894C14.6834 -0.0976305 15.3166 -0.0976304 15.7071 0.292894C16.0976 0.683418 16.0976 1.31658 15.7071 1.70711L8.70711 8.70711C8.31658 9.09763 7.68342 9.09763 7.29289 8.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683417 0.292893 0.292893Z"
	})),
	zke = h.forwardRef(Bke),
	Gke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M4.293 8.293a1 1 0 0 1 1.414 0L12 14.586l6.293-6.293a1 1 0 1 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 0 1 0-1.414Z",
		clipRule: "evenodd"
	})),
	ZK = h.forwardRef(Gke),
	Wke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M15.707 4.293a1 1 0 0 1 0 1.414L9.414 12l6.293 6.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0Z",
		clipRule: "evenodd"
	})),
	_at = h.forwardRef(Wke),
	Kke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M8.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L14.586 12 8.293 5.707a1 1 0 0 1 0-1.414Z",
		clipRule: "evenodd"
	})),
	bat = h.forwardRef(Kke),
	Zke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7.293 9.293a1 1 0 0 1 1.414 0L12 12.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414Z",
		clipRule: "evenodd"
	})),
	Sat = h.forwardRef(Zke),
	qke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M14.707 7.293a1 1 0 0 1 0 1.414L11.414 12l3.293 3.293a1 1 0 0 1-1.414 1.414l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 0 1 1.414 0Z",
		clipRule: "evenodd"
	}));
h.forwardRef(qke);
const Yke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M9.293 7.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414-1.414L12.586 12 9.293 8.707a1 1 0 0 1 0-1.414Z",
		clipRule: "evenodd"
	})),
	xat = h.forwardRef(Yke),
	Xke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M11.293 9.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L12 11.414l-3.293 3.293a1 1 0 0 1-1.414-1.414l4-4Z",
		clipRule: "evenodd"
	})),
	Eat = h.forwardRef(Xke),
	Jke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 8a1 1 0 0 1 .707.293l7 7a1 1 0 0 1-1.414 1.414L12 10.414l-6.293 6.293a1 1 0 0 1-1.414-1.414l7-7A1 1 0 0 1 12 8Z",
		clipRule: "evenodd"
	})),
	Cat = h.forwardRef(Jke),
	Qke = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M20.719 4.696a1 1 0 0 0-1.415-1.415l-4.796 4.796-.634-.635a3.002 3.002 0 0 0-3.788-.375l-7.64 5.093a1 1 0 0 0-.153 1.541l8.005 8.005a1.002 1.002 0 0 0 1.541-.152l5.093-7.64a3.001 3.001 0 0 0-.375-3.789l-.634-.633 4.796-4.796Zm-9.523 4.037a1 1 0 0 1 1.263.124l2.682 2.684a1 1 0 0 1 .126 1.262l-.414.621-4.278-4.277.62-.414ZM8.877 10.28l-4.305 2.87 1.43 1.43 1.294-1.292a1 1 0 0 1 1.415 1.415l-1.294 1.294 3.433 3.432 2.871-4.306-4.844-4.843Z",
		clipRule: "evenodd"
	})),
	Oat = h.forwardRef(Qke),
	eAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12.945 1.17a1 1 0 0 1 .811 1.16l-.368 2.088a1 1 0 1 1-1.97-.347l.369-2.089a1 1 0 0 1 1.158-.811ZM5.85 2.73a1 1 0 0 1 1.393.246L8.39 4.614A1 1 0 1 1 6.751 5.76L5.604 4.123a1 1 0 0 1 .245-1.393Zm3.724 5.328a1 1 0 0 1 1.06-.06l10.244 5.646a1 1 0 0 1 .09 1.695l-1.749 1.225 1.139 1.654a1 1 0 0 1-.25 1.386l-3.282 2.298a1 1 0 0 1-1.393-.246l-1.147-1.638-1.634 1.144a1 1 0 0 1-1.56-.654L9.166 9.04a1 1 0 0 1 .408-.981Zm1.907 2.69 1.322 7.867 1.155-.809a1 1 0 0 1 1.393.246l1.147 1.638 1.65-1.155-1.139-1.655a1 1 0 0 1 .25-1.386l1.248-.873-7.026-3.873ZM1.957 8.865a1 1 0 0 1 1.159-.811l2.089.368a1 1 0 1 1-.348 1.97l-2.089-.369a1 1 0 0 1-.81-1.158Z",
		clipRule: "evenodd"
	})),
	Tat = h.forwardRef(eAe),
	tAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M9 7a5 5 0 0 1 10 0v8a7 7 0 1 1-14 0V9a1 1 0 0 1 2 0v6a5 5 0 0 0 10 0V7a3 3 0 1 0-6 0v8a1 1 0 1 0 2 0V9a1 1 0 1 1 2 0v6a3 3 0 1 1-6 0V7Z",
		clipRule: "evenodd"
	})),
	Rat = h.forwardRef(tAe),
	nAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a2 2 0 0 0-2 2h4a2 2 0 0 0-2-2ZM8.535 4A3.998 3.998 0 0 1 12 2c1.48 0 2.773.804 3.465 2H17a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3h1.535ZM8 6H7a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2Z",
		clipRule: "evenodd"
	})),
	Iat = h.forwardRef(nAe),
	rAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-10C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm1 5a1 1 0 1 0-2 0v4.586l-2.207 2.207a1 1 0 1 0 1.414 1.414l2.5-2.5A1 1 0 0 0 13 12V7Z",
		clipRule: "evenodd"
	})),
	kat = h.forwardRef(rAe),
	iAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M14.447 7.106a1 1 0 0 1 .447 1.341l-4 8a1 1 0 1 1-1.788-.894l4-8a1 1 0 0 1 1.341-.447ZM6.6 7.2a1 1 0 0 1 .2 1.4L4.25 12l2.55 3.4a1 1 0 0 1-1.6 1.2l-3-4a1 1 0 0 1 0-1.2l3-4a1 1 0 0 1 1.4-.2Zm10.8 0a1 1 0 0 1 1.4.2l3 4a1 1 0 0 1 0 1.2l-3 4a1 1 0 0 1-1.6-1.2l2.55-3.4-2.55-3.4a1 1 0 0 1 .2-1.4Z",
		clipRule: "evenodd"
	})),
	Aat = h.forwardRef(iAe),
	oAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M12.659 9.753a1 1 0 0 1-1.318 0l-4-3.5A1 1 0 1 1 8.66 4.747L12 7.671l3.341-2.924a1 1 0 1 1 1.318 1.506l-4 3.5Zm-4.002 9.501a1 1 0 1 1-1.314-1.508l4-3.485a1 1 0 0 1 1.314 0l4 3.485a1 1 0 1 1-1.314 1.508L12 16.34l-3.343 2.913Z"
	}));
h.forwardRef(oAe);
const aAe = (e, t) => h.createElement("svg", {
		width: "1em",
		height: "1em",
		viewBox: "0 0 18 16",
		fill: "currentColor",
		xmlns: "http://www.w3.org/2000/svg",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		clipRule: "evenodd",
		d: "M5.70243 1.16073C6.02787 0.835297 6.55551 0.835297 6.88094 1.16073L9.79761 4.0774C10.123 4.40284 10.123 4.93048 9.79761 5.25591L6.88094 8.17258C6.55551 8.49802 6.02787 8.49802 5.70243 8.17258C5.37699 7.84714 5.37699 7.3195 5.70243 6.99407L7.19651 5.49999H1.50002C1.03978 5.49999 0.666687 5.12689 0.666687 4.66666C0.666687 4.20642 1.03978 3.83332 1.50002 3.83332H7.19651L5.70243 2.33925C5.37699 2.01381 5.37699 1.48617 5.70243 1.16073Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		clipRule: "evenodd",
		d: "M12.2976 14.8392C11.9722 15.1647 11.4445 15.1647 11.1191 14.8392L8.20243 11.9226C7.87699 11.5971 7.87699 11.0695 8.20243 10.7441L11.1191 7.8274C11.4445 7.50196 11.9722 7.50196 12.2976 7.8274C12.623 8.15284 12.623 8.68048 12.2976 9.00591L10.8035 10.5H16.5C16.9603 10.5 17.3334 10.8731 17.3334 11.3333C17.3334 11.7936 16.9603 12.1667 16.5 12.1667H10.8035L12.2976 13.6607C12.623 13.9862 12.623 14.5138 12.2976 14.8392Z"
	})),
	Mat = h.forwardRef(aAe),
	sAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M14 4a2 2 0 1 0 0-4 2 2 0 0 0 0 4ZM8.211 1.297A1 1 0 0 0 6.79 2.703c1.002 1.013 1.537 2.051 1.72 3.429a1 1 0 1 0 1.982-.264c-.244-1.841-.996-3.272-2.28-4.571Zm-.004 6.996a1 1 0 0 0-1.628.317L2.04 19.34c-.7 1.654.967 3.32 2.621 2.62l10.729-4.538a1 1 0 0 0 .317-1.628l-7.5-7.5ZM3.882 20.118l3.96-9.361 5.401 5.4-9.36 3.96Zm12.165-7.422a1 1 0 0 1 1.257-.649c1.51.481 2.989.606 4.604.457a1 1 0 1 1 .184 1.992c-1.846.17-3.598.03-5.396-.543a1 1 0 0 1-.649-1.257Zm-4.194-4.55 1.293-1.292a.5.5 0 0 1 .707 0l1.293 1.292a.5.5 0 0 1 0 .708l-1.293 1.292a.5.5 0 0 1-.707 0l-1.293-1.292a.5.5 0 0 1 0-.708Zm9.717-.537a.165.165 0 0 1 .03-.155c.707-.863 1.067-1.28.972-1.484-.095-.204-.646-.196-1.762-.21a.165.165 0 0 1-.137-.076c-.602-.946-.887-1.422-1.11-1.394-.222.027-.382.555-.734 1.617a.164.164 0 0 1-.114.107c-1.08.278-1.616.403-1.659.623-.043.221.411.54 1.309 1.208.045.033.07.087.067.143-.066 1.117-.113 1.67.084 1.779.196.108.635-.222 1.543-.87a.164.164 0 0 1 .156-.02c1.04.414 1.547.63 1.71.478.165-.153-.017-.677-.355-1.746Z",
		clipRule: "evenodd"
	}));
h.forwardRef(sAe);
const uAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M6.346 10.897A3.5 3.5 0 1 1 8.856 6.5h6.289A3.502 3.502 0 0 1 22 7.5a3.5 3.5 0 0 1-4.346 3.397l-3.087 5.224a3.5 3.5 0 1 1-5.135 0l-3.086-5.224ZM4 7.5a1.5 1.5 0 1 1 2.418 1.187 1.006 1.006 0 0 0-.322.19A1.5 1.5 0 0 1 4 7.5Zm4.067 2.379 3.087 5.224a3.508 3.508 0 0 1 1.692 0l3.087-5.224a3.496 3.496 0 0 1-.788-1.379h-6.29c-.155.52-.428.99-.788 1.379Zm9.997-.943a.998.998 0 0 0-.61-.362 1.5 1.5 0 1 1 .61.361ZM12 17a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3Z",
		clipRule: "evenodd"
	})),
	Pat = h.forwardRef(uAe),
	lAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7 5a3 3 0 0 1 3-3h9a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3h-2v2a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3v-9a3 3 0 0 1 3-3h2V5Zm2 2h5a3 3 0 0 1 3 3v5h2a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1h-9a1 1 0 0 0-1 1v2ZM5 9a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1H5Z",
		clipRule: "evenodd"
	})),
	sD = h.forwardRef(lAe),
	cAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12.5 3.444a1 1 0 0 0-1 0l-6.253 3.61 6.768 3.807 6.955-3.682-6.47-3.735Zm7.16 5.632L13 12.602v7.666l6.16-3.556a1 1 0 0 0 .5-.867V9.076ZM11 20.268v-7.683L4.34 8.839v7.006a1 1 0 0 0 .5.867L11 20.268Zm-.5-18.557a3 3 0 0 1 3 0l6.66 3.846a3 3 0 0 1 1.5 2.598v7.69a3 3 0 0 1-1.5 2.598L13.5 22.29a3 3 0 0 1-3 0l-6.66-3.846a3 3 0 0 1-1.5-2.598v-7.69a3 3 0 0 1 1.5-2.598L10.5 1.71Z",
		clipRule: "evenodd"
	})),
	Lat = h.forwardRef(cAe),
	fAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M14.5 4a5.5 5.5 0 0 0-5.078 7.616 1 1 0 0 1-.216 1.092l-4.749 4.75a1.475 1.475 0 0 0 2.086 2.085l4.749-4.749a1 1 0 0 1 1.092-.216A5.5 5.5 0 0 0 20 9.414l-1.293 1.293a3.828 3.828 0 1 1-5.414-5.414L14.585 4H14.5ZM7 9.5a7.5 7.5 0 0 1 9.969-7.084 1 1 0 0 1 .378 1.651l-2.64 2.64a1.829 1.829 0 0 0 2.586 2.586l2.64-2.64a1 1 0 0 1 1.651.378 7.5 7.5 0 0 1-9.328 9.627l-4.299 4.3a3.475 3.475 0 0 1-4.914-4.915l4.299-4.299A7.497 7.497 0 0 1 7 9.5Z",
		clipRule: "evenodd"
	}));
h.forwardRef(fAe);
const dAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12.784 2.47a1 1 0 0 1 .047.975A8 8 0 0 0 20 15h.057a1 1 0 0 1 .902 1.445A10 10 0 0 1 12 22C6.477 22 2 17.523 2 12c0-5.499 4.438-9.961 9.928-10a1 1 0 0 1 .856.47ZM10.41 4.158a8 8 0 1 0 7.942 12.707C13.613 16.079 10 11.96 10 7c0-.986.143-1.94.41-2.842Z",
		clipRule: "evenodd"
	})),
	pAe = h.forwardRef(dAe),
	hAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M6.006 5.5a.749.749 0 0 0 .19.21c.229.193.62.412 1.19.616C8.52 6.731 10.152 7 12 7c1.85 0 3.48-.27 4.613-.674.571-.204.962-.423 1.192-.617a.75.75 0 0 0 .189-.209.75.75 0 0 0-.19-.21c-.229-.193-.62-.412-1.19-.616C15.48 4.269 13.848 4 12 4c-1.85 0-3.48.27-4.613.674-.571.204-.962.423-1.192.617a.749.749 0 0 0-.189.209ZM18 7.917a8.063 8.063 0 0 1-.714.293c-1.4.5-3.27.79-5.286.79-2.017 0-3.886-.29-5.286-.79A8.063 8.063 0 0 1 6 7.917v4.07c.008.02.04.08.143.175.177.166.489.363.963.557.942.385 2.324.674 3.945.757a1 1 0 1 1-.102 1.997c-1.772-.09-3.39-.408-4.6-.903A7.487 7.487 0 0 1 6 14.417v4.07c.008.02.04.08.143.175.177.166.489.363.963.557.942.385 2.324.674 3.945.757a1 1 0 1 1-.102 1.997c-1.772-.09-3.39-.408-4.6-.903-.601-.245-1.153-.555-1.57-.945-.42-.39-.779-.938-.779-1.625v-13c0-.754.43-1.337.905-1.737.479-.405 1.113-.724 1.809-.973C8.114 2.29 9.984 2 12 2c2.017 0 3.886.29 5.286.79.696.249 1.33.568 1.81.973.474.4.904.983.904 1.737V10a1 1 0 1 1-2 0V7.917ZM17.5 13a1 1 0 0 1 1 1v.67c.351.125.672.312.95.55l.58-.336a1 1 0 1 1 1 1.732l-.58.335a3.018 3.018 0 0 1 0 1.098l.58.335a1 1 0 0 1-1 1.732l-.58-.336a2.997 2.997 0 0 1-.95.55V21a1 1 0 1 1-2 0v-.67a2.996 2.996 0 0 1-.95-.55l-.581.336a1 1 0 0 1-1-1.732l.581-.336a3.021 3.021 0 0 1 0-1.096l-.58-.336a1 1 0 1 1 1-1.732l.58.336c.278-.238.599-.425.95-.55V14a1 1 0 0 1 1-1Zm-.876 4.017.01-.017a1 1 0 0 1 1.732 0l.008.014a.996.996 0 0 1-.02 1.006 1 1 0 0 1-1.73-1.003Z",
		clipRule: "evenodd"
	})),
	Nat = h.forwardRef(hAe),
	vAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M10.556 4a1 1 0 0 0-.97.751l-.292 1.14h5.421l-.293-1.14A1 1 0 0 0 13.453 4h-2.897Zm6.224 1.892-.421-1.639A3 3 0 0 0 13.453 2h-2.897A3 3 0 0 0 7.65 4.253l-.421 1.639H4a1 1 0 1 0 0 2h.1l1.215 11.425A3 3 0 0 0 8.3 22h7.4a3 3 0 0 0 2.984-2.683l1.214-11.425H20a1 1 0 1 0 0-2h-3.22Zm1.108 2H6.112l1.192 11.214A1 1 0 0 0 8.3 20h7.4a1 1 0 0 0 .995-.894l1.192-11.214ZM10 10a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1Zm4 0a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0v-5a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	})),
	Dat = h.forwardRef(vAe),
	gAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7 4a1 1 0 0 0-1 1v11.17c.313-.11.65-.17 1-.17h11V4H7Zm10.657 14H7a1 1 0 1 0 0 2h10.657a5.48 5.48 0 0 1 0-2ZM4 19V5a3 3 0 0 1 3-3h12a1 1 0 0 1 1 1v14a1 1 0 0 1-.078.386c-.476 1.14-.476 2.089 0 3.228A1 1 0 0 1 19 22H7a3 3 0 0 1-3-3Z",
		clipRule: "evenodd"
	})),
	$at = h.forwardRef(gAe),
	mAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M3 12a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm7 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Zm7 0a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z",
		clipRule: "evenodd"
	})),
	Fat = h.forwardRef(mAe),
	yAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 21a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-7a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm0-7a2 2 0 1 1 0-4 2 2 0 0 1 0 4Z",
		clipRule: "evenodd"
	}));
h.forwardRef(yAe);
const wAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M7.707 10.293a1 1 0 1 0-1.414 1.414l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 0 0-1.414-1.414L13 13.586V4a1 1 0 1 0-2 0v9.586l-3.293-3.293ZM5 19a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2H5Z"
	})),
	jat = h.forwardRef(wAe),
	_Ae = (e, t) => h.createElement("svg", {
		width: "1em",
		height: "1em",
		viewBox: "0 0 10 16",
		fill: "currentColor",
		xmlns: "http://www.w3.org/2000/svg",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		clipRule: "evenodd",
		d: "M4.34151 0.747423C4.71854 0.417526 5.28149 0.417526 5.65852 0.747423L9.65852 4.24742C10.0742 4.61111 10.1163 5.24287 9.75259 5.6585C9.38891 6.07414 8.75715 6.11626 8.34151 5.75258L5.00001 2.82877L1.65852 5.75258C1.24288 6.11626 0.61112 6.07414 0.247438 5.6585C-0.116244 5.24287 -0.0741267 4.61111 0.34151 4.24742L4.34151 0.747423ZM0.246065 10.3578C0.608879 9.94139 1.24055 9.89795 1.65695 10.2608L5.00001 13.1737L8.34308 10.2608C8.75948 9.89795 9.39115 9.94139 9.75396 10.3578C10.1168 10.7742 10.0733 11.4058 9.65695 11.7687L5.65695 15.2539C5.28043 15.582 4.7196 15.582 4.34308 15.2539L0.343082 11.7687C-0.0733128 11.4058 -0.116749 10.7742 0.246065 10.3578Z"
	})),
	bAe = h.forwardRef(_Ae),
	SAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M11.341 4.747a1 1 0 0 1 1.318 0l4 3.5a1 1 0 1 1-1.317 1.506L12 6.829 8.659 9.753a1 1 0 0 1-1.317-1.506l4-3.5Zm-4.095 9.61a1 1 0 0 1 1.41-.096L12 17.174l3.343-2.913a1 1 0 1 1 1.314 1.508l-4 3.485a1 1 0 0 1-1.314 0l-4-3.485a1 1 0 0 1-.097-1.411Z",
		clipRule: "evenodd"
	})),
	xAe = h.forwardRef(SAe),
	EAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M13.293 4.293a4.536 4.536 0 1 1 6.414 6.414l-1 1-7.547 7.547a3 3 0 0 1-1.628.838l-5.368.894a1 1 0 0 1-1.15-1.15l.894-5.368a3 3 0 0 1 .838-1.628l8.547-8.547ZM13 7.414l-6.84 6.84a1 1 0 0 0-.279.543l-.664 3.986 3.986-.664a1 1 0 0 0 .543-.28L16.586 11 13 7.414Zm5 2.172L14.414 6l.293-.293a2.536 2.536 0 0 1 3.586 3.586L18 9.586Z",
		clipRule: "evenodd"
	})),
	Uat = h.forwardRef(EAe),
	CAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M16.793 2.793a3.121 3.121 0 1 1 4.414 4.414l-8.5 8.5A1 1 0 0 1 12 16H9a1 1 0 0 1-1-1v-3a1 1 0 0 1 .293-.707l8.5-8.5Zm3 1.414a1.121 1.121 0 0 0-1.586 0L10 12.414V14h1.586l8.207-8.207a1.121 1.121 0 0 0 0-1.586ZM6 5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-4a1 1 0 1 1 2 0v4a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h4a1 1 0 1 1 0 2H6Z",
		clipRule: "evenodd"
	})),
	Hat = h.forwardRef(CAe),
	OAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M11.521 2.122a1 1 0 0 1 .958 0l11 6A1 1 0 0 1 24 9v6a1 1 0 1 1-2 0v-4.316l-2.033 1.11v4.511a3 3 0 0 1-1.578 2.642l-4.967 2.673a3 3 0 0 1-2.844 0l-4.967-2.673a3 3 0 0 1-1.578-2.642v-4.511L.521 9.878a1 1 0 0 1 0-1.756l11-6Zm-5.993 8.209a1.058 1.058 0 0 0-.034-.019L3.088 9 12 4.14 20.912 9l-2.406 1.312a1.13 1.13 0 0 0-.035.019L12 13.861l-6.472-3.53Zm.505 2.553v3.421a1 1 0 0 0 .526.88l4.967 2.674a1 1 0 0 0 .948 0l4.967-2.673a1 1 0 0 0 .526-.88v-3.422l-5.488 2.994a1 1 0 0 1-.958 0l-5.488-2.994Z",
		clipRule: "evenodd"
	}));
h.forwardRef(OAe);
const TAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Z",
		clipRule: "evenodd"
	})),
	Vat = h.forwardRef(TAe),
	RAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Z",
		clipRule: "evenodd"
	})),
	Bat = h.forwardRef(RAe),
	IAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 7a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0V8h-3a1 1 0 0 1-1-1Zm-5 5a1 1 0 0 1 1 1v3h3a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1v-4a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	})),
	zat = h.forwardRef(IAe),
	kAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8-10C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm4.465 6.763a1 1 0 0 0-1.228-1.228l-5.5 1.5a1 1 0 0 0-.702.702l-1.5 5.5a1 1 0 0 0 1.228 1.228l5.5-1.5a1 1 0 0 0 .702-.702l1.5-5.5Zm-6.54 5.312.89-3.26 3.26-.89-.89 3.26-3.26.89Z",
		clipRule: "evenodd"
	})),
	Gat = h.forwardRef(kAe),
	AAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M15 5a1 1 0 1 1 0-2h5a1 1 0 0 1 1 1v5a1 1 0 1 1-2 0V6.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L17.586 5H15ZM4 7a3 3 0 0 1 3-3h3a1 1 0 1 1 0 2H7a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-3a1 1 0 1 1 2 0v3a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7Z",
		clipRule: "evenodd"
	})),
	Wat = h.forwardRef(AAe),
	MAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2.293 2.293a1 1 0 0 1 1.414 0l18 18a1 1 0 0 1-1.414 1.414l-2.514-2.514C16.204 20.24 14.274 21 12 21c-3.154 0-5.64-1.459-7.441-3.12-1.797-1.658-2.974-3.568-3.547-4.624a2.625 2.625 0 0 1 0-2.513c.578-1.065 1.78-3.017 3.624-4.693L2.293 3.707a1 1 0 0 1 0-1.414Zm3.759 5.173c-1.645 1.473-2.745 3.241-3.281 4.23a.625.625 0 0 0 0 .607c.518.955 1.57 2.656 3.143 4.106C7.482 17.855 9.506 19 12 19c1.65 0 3.09-.5 4.33-1.256l-1.934-1.934A4.502 4.502 0 0 1 8.19 9.604L6.052 7.466Zm3.62 3.62 3.242 3.242a2.5 2.5 0 0 1-3.242-3.242Zm.551-5.886c.56-.128 1.152-.2 1.777-.2 2.494 0 4.518 1.146 6.086 2.591 1.572 1.45 2.625 3.15 3.144 4.106a.627.627 0 0 1-.002.608 17.316 17.316 0 0 1-1.344 2.095 1 1 0 0 0 1.6 1.2 19.327 19.327 0 0 0 1.503-2.342 2.627 2.627 0 0 0 0-2.514c-.572-1.056-1.749-2.966-3.546-4.623C17.64 4.459 15.154 3 12 3c-.779 0-1.52.09-2.223.25a1 1 0 0 0 .446 1.95Z",
		clipRule: "evenodd"
	}));
h.forwardRef(MAe);
const PAe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M2.77 11.697c.519-.955 1.572-2.656 3.144-4.106C7.482 6.145 9.506 5 12 5s4.518 1.146 6.085 2.591c1.573 1.45 2.626 3.15 3.145 4.106a.624.624 0 0 1 0 .606c-.519.955-1.572 2.656-3.145 4.106C16.518 17.855 14.495 19 12 19c-2.494 0-4.518-1.145-6.086-2.591-1.572-1.45-2.625-3.15-3.143-4.106a.624.624 0 0 1 0-.606ZM12 3C8.846 3 6.36 4.459 4.559 6.12c-1.797 1.658-2.974 3.568-3.547 4.624a2.624 2.624 0 0 0 0 2.512c.573 1.056 1.75 2.966 3.547 4.623C6.36 19.541 8.846 21 12 21s5.64-1.459 7.441-3.12c1.797-1.658 2.974-3.568 3.547-4.624a2.624 2.624 0 0 0 0-2.512c-.573-1.056-1.75-2.966-3.547-4.623C17.64 4.459 15.154 3 12 3Zm-2.5 9a2.5 2.5 0 1 1 5 0 2.5 2.5 0 0 1-5 0ZM12 7.5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9Z",
	clipRule: "evenodd"
}));
h.forwardRef(PAe);
const LAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M18.032 5.024C17.75 5 17.377 5 16.8 5h-5.3c-.2 1-.401 1.911-.61 2.854-.131.596-.247 1.119-.523 1.56a2.998 2.998 0 0 1-.953.954c-.441.275-.964.39-1.56.522l-.125.028-2.512.558A1.003 1.003 0 0 1 5 11.5v5.3c0 .577 0 .949.024 1.232.022.272.06.372.085.422a1 1 0 0 0 .437.437c.05.025.15.063.422.085C6.25 19 6.623 19 7.2 19H10a1 1 0 1 1 0 2H7.161c-.527 0-.981 0-1.356-.03-.395-.033-.789-.104-1.167-.297a3 3 0 0 1-1.311-1.311c-.193-.378-.264-.772-.296-1.167A17.9 17.9 0 0 1 3 16.838V11c0-2.075 1.028-4.067 2.48-5.52C6.933 4.028 8.925 3 11 3h5.838c.528 0 .982 0 1.357.03.395.033.789.104 1.167.297a3 3 0 0 1 1.311 1.311c.193.378.264.772.296 1.167.031.375.031.83.031 1.356V10a1 1 0 1 1-2 0V7.2c0-.577 0-.949-.024-1.232-.022-.272-.06-.373-.085-.422a1 1 0 0 0-.437-.437c-.05-.025-.15-.063-.422-.085ZM5.28 9.414l2.015-.448c.794-.177.948-.225 1.059-.294a1 1 0 0 0 .318-.318c.069-.11.117-.265.294-1.059l.447-2.015c-.903.313-1.778.874-2.518 1.615-.741.74-1.302 1.615-1.615 2.518ZM17 15a1 1 0 1 1 2 0v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2v-2Z",
		clipRule: "evenodd"
	})),
	Kat = h.forwardRef(LAe),
	NAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7 2a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V8.828a3 3 0 0 0-.879-2.12l-3.828-3.83A3 3 0 0 0 13.172 2H7Zm5 2H7a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1v-9h-3a3 3 0 0 1-3-3V4Zm5.586 4H15a1 1 0 0 1-1-1V4.414L17.586 8Z",
		clipRule: "evenodd"
	})),
	Zat = h.forwardRef(NAe),
	DAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M14.5 5a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-3.874 1a4.002 4.002 0 0 1 7.748 0H20a1 1 0 1 1 0 2h-1.626a4.002 4.002 0 0 1-7.748 0H4a1 1 0 0 1 0-2h6.626ZM9.5 15a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-3.874 1a4.002 4.002 0 0 1 7.748 0H20a1 1 0 1 1 0 2h-6.626a4.002 4.002 0 0 1-7.748 0H4a1 1 0 1 1 0-2h1.626Z",
		clipRule: "evenodd"
	})),
	qat = h.forwardRef(DAe),
	$Ae = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fill: "none",
		stroke: "currentColor",
		strokeLinecap: "round",
		strokeLinejoin: "round",
		strokeWidth: 1.5,
		d: "M13 10V3L5 14h6v7l8-11z"
	}));
h.forwardRef($Ae);
const FAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 6a3 3 0 0 1 3-3h4.172a3 3 0 0 1 2.12.879l.83.828a1 1 0 0 0 .706.293H19a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V6Zm3-1a1 1 0 0 0-1 1v4h16V8a1 1 0 0 0-1-1h-6.172a3 3 0 0 1-2.12-.879l-.83-.828A1 1 0 0 0 9.173 5H5Zm15 7H4v6a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-6Z",
		clipRule: "evenodd"
	})),
	Yat = h.forwardRef(FAe),
	jAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M10.5 8.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0ZM12 5a3.5 3.5 0 1 0 0 7 3.5 3.5 0 0 0 0-7ZM3 9.5a1 1 0 1 1 2 0 1 1 0 0 1-2 0Zm1-3a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm16 2a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-3 1a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM8 18c0-.974.438-1.684 1.142-2.185C9.876 15.293 10.911 15 12 15c1.09 0 2.124.293 2.858.815.704.5 1.142 1.21 1.142 2.185a1 1 0 1 0 2 0c0-1.692-.812-2.982-1.983-3.815C14.876 13.373 13.411 13 12 13c-1.41 0-2.876.373-4.017 1.185C6.812 15.018 6 16.308 6 18a1 1 0 1 0 2 0Zm-3.016-3.675a1 1 0 0 1-.809 1.16C2.79 15.732 2 16.486 2 17.5a1 1 0 1 1-2 0c0-2.41 1.978-3.655 3.825-3.985a1 1 0 0 1 1.16.81Zm14.84 1.16a1 1 0 1 1 .351-1.97C22.022 13.845 24 15.09 24 17.5a1 1 0 1 1-2 0c0-1.014-.79-1.768-2.175-2.015Z",
		clipRule: "evenodd"
	})),
	UAe = h.forwardRef(jAe),
	HAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		clipRule: "evenodd",
		d: "M7.00003 3C4.79089 3 3.00003 4.79086 3.00003 7C3.00003 7.27711 3.00537 7.5494 3.0104 7.8054L3.01115 7.84333C3.01645 8.1142 3.02106 8.3655 3.01965 8.60685C3.01679 9.09512 2.98866 9.48762 2.91211 9.81374C2.8384 10.1278 2.72568 10.3539 2.56571 10.5316C2.40635 10.7085 2.14766 10.8956 1.69126 11.0488C1.67827 11.053 1.66539 11.0575 1.6526 11.0623C1.50917 11.1153 1.38482 11.1982 1.28424 11.3014C1.19514 11.3925 1.12235 11.502 1.07233 11.6266C1.02502 11.744 0.999736 11.8706 0.999756 12C0.999736 12.1294 1.02502 12.256 1.07233 12.3734C1.12233 12.498 1.19512 12.6075 1.28419 12.6986C1.38477 12.8018 1.50915 12.8847 1.6526 12.9377C1.66536 12.9425 1.67823 12.947 1.69119 12.9512C2.1288 13.0981 2.38018 13.2793 2.53768 13.4538C2.69653 13.6298 2.81141 13.856 2.88877 14.1715C2.96884 14.498 3.00222 14.8925 3.01014 15.3824C3.01493 15.6786 3.01096 15.959 3.00667 16.262L3.00666 16.262C3.00344 16.4899 3.00003 16.7304 3.00003 17C3.00003 19.2092 4.79089 21 7.00003 21C7.55231 21 8.00003 20.5523 8.00003 20C8.00003 19.4477 7.55231 19 7.00003 19C5.89546 19 5.00003 18.1046 5.00003 17C5.00003 16.7963 5.00293 16.5738 5.00588 16.3473L5.00588 16.3472V16.3472V16.3471C5.01031 16.0069 5.01486 15.6578 5.00988 15.3501C5.00112 14.8086 4.96449 14.2386 4.83121 13.6952C4.69523 13.1406 4.45343 12.5913 4.02229 12.1137C3.98945 12.0773 3.95581 12.0417 3.92137 12.0068C3.96625 11.9623 4.00979 11.9167 4.05198 11.8698C4.48842 11.3851 4.7281 10.8292 4.85918 10.2708C4.98743 9.72447 5.01648 9.15415 5.01962 8.61856C5.0212 8.34797 5.01601 8.07208 5.01076 7.80416L5.01013 7.77202C5.00502 7.51143 5.00003 7.25693 5.00003 7C5.00003 5.89543 5.89546 5 7.00003 5C7.55231 5 8.00003 4.55228 8.00003 4C8.00003 3.44772 7.55231 3 7.00003 3ZM20.0602 12C20.0198 12.0399 19.9806 12.0807 19.9425 12.1225C19.5024 12.6049 19.2619 13.1586 19.1317 13.7172C19.0047 14.2621 18.9783 14.8319 18.9771 15.3676C18.9765 15.636 18.9824 15.9109 18.9882 16.1786L18.9883 16.1855C18.9942 16.4593 19 16.7279 19 17C19 18.1046 18.1046 19 17 19C16.4477 19 16 19.4477 16 20C16 20.5523 16.4477 21 17 21C19.2091 21 21 19.2092 21 17C21 16.7043 20.9938 16.4158 20.988 16.1463L20.9879 16.1424C20.982 15.8678 20.9765 15.6148 20.9771 15.3721C20.9782 14.881 21.0046 14.4922 21.0795 14.1712C21.1511 13.8637 21.2615 13.6442 21.42 13.4704C21.5794 13.2957 21.8415 13.108 22.3087 12.9512C22.3217 12.947 22.3346 12.9425 22.3474 12.9377C22.4909 12.8847 22.6152 12.8018 22.7158 12.6986C22.8964 12.5133 23.0003 12.2622 23.0003 12C23.0003 11.8706 22.975 11.744 22.9277 11.6266C22.8776 11.5019 22.8048 11.3924 22.7156 11.3012C22.615 11.1981 22.4908 11.1153 22.3474 11.0623C22.3346 11.0575 22.3217 11.053 22.3087 11.0488C21.8415 10.892 21.5794 10.7043 21.42 10.5296C21.2615 10.3558 21.1511 10.1363 21.0795 9.82884C21.0046 9.50782 20.9782 9.11899 20.9771 8.62794C20.9765 8.38527 20.982 8.13224 20.9879 7.85765L20.988 7.85375C20.9938 7.58421 21 7.29574 21 7C21 4.79086 19.2091 3 17 3C16.4477 3 16 3.44772 16 4C16 4.55228 16.4477 5 17 5C18.1046 5 19 5.89543 19 7C19 7.27216 18.9942 7.54074 18.9883 7.81451L18.9882 7.82144C18.9824 8.08909 18.9765 8.36405 18.9771 8.63245C18.9783 9.16818 19.0047 9.73794 19.1317 10.2829C19.2619 10.8414 19.5024 11.3951 19.9425 11.8775C19.9806 11.9193 20.0198 11.9602 20.0602 12ZM14.9762 6.78304C15.096 7.32217 14.7561 7.85635 14.2169 7.97616C13.8809 8.05082 13.6823 8.19691 13.5356 8.39076C13.3704 8.60888 13.2323 8.94179 13.1385 9.43276C13.1039 9.61357 13.0772 9.80275 13.0567 10H13.5C14.0523 10 14.5 10.4477 14.5 11C14.5 11.5523 14.0523 12 13.5 12H12.9932C12.9939 12.1369 12.9949 12.2761 12.996 12.4175V12.4176V12.4176C12.998 12.6871 13 12.9646 13 13.25C13 14.7156 12.739 15.906 12.1176 16.7494C11.4526 17.6519 10.4958 18 9.5 18C8.94772 18 8.5 17.5523 8.5 17C8.5 16.4477 8.94772 16 9.5 16C10.0042 16 10.2974 15.8481 10.5074 15.563C10.761 15.219 11 14.5343 11 13.25C11 13.0132 10.9979 12.7688 10.9957 12.5198C10.9942 12.3484 10.9927 12.1748 10.9919 12H10.5C9.94771 12 9.5 11.5523 9.5 11C9.5 10.4477 9.94771 10 10.5 10H11.0495C11.077 9.67287 11.1169 9.35612 11.174 9.05719C11.2989 8.40399 11.5202 7.73939 11.941 7.18356C12.3802 6.60345 12.9941 6.19912 13.7831 6.02378C14.3222 5.90398 14.8564 6.24391 14.9762 6.78304Z"
	})),
	Xat = h.forwardRef(HAe),
	VAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm-2.75.75a2.75 2.75 0 1 1 5.5 0 2.75 2.75 0 0 1-5.5 0ZM6.096 7.725a.75.75 0 1 0-.75 1.3.75.75 0 0 0 .75-1.3ZM3.34 7a2.75 2.75 0 1 1 4.763 2.75A2.75 2.75 0 0 1 3.34 7Zm15.588 1a.75.75 0 1 0-1.299.75.75.75 0 0 0 1.299-.75Zm-2.024-2.006a2.75 2.75 0 1 1 2.75 4.762 2.75 2.75 0 0 1-2.75-4.762ZM12 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM8.5 12a3.5 3.5 0 1 1 7 0 3.5 3.5 0 0 1-7 0Zm10.154 2.976a.75.75 0 1 0-.75 1.299.75.75 0 0 0 .75-1.3Zm-2.757-.726A2.75 2.75 0 1 1 20.66 17a2.75 2.75 0 0 1-4.763-2.75Zm-9.526 1a.75.75 0 1 0-1.3.75.75.75 0 0 0 1.3-.75Zm-2.025-2.007a2.75 2.75 0 1 1 2.75 4.764 2.75 2.75 0 0 1-2.75-4.764ZM12 18.5a.75.75 0 1 0 0 1.5.75.75 0 0 0 0-1.5Zm-2.75.75a2.75 2.75 0 1 1 5.5 0 2.75 2.75 0 0 1-5.5 0Z",
		clipRule: "evenodd"
	}));
h.forwardRef(VAe);
const BAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M6.75 4.5a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM2.5 6.75a4.25 4.25 0 1 1 8.5 0 4.25 4.25 0 0 1-8.5 0ZM17.25 4.5a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM13 6.75a4.25 4.25 0 1 1 8.5 0 4.25 4.25 0 0 1-8.5 0ZM6.75 15a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM2.5 17.25a4.25 4.25 0 1 1 8.5 0 4.25 4.25 0 0 1-8.5 0ZM17.25 15a2.25 2.25 0 1 0 0 4.5 2.25 2.25 0 0 0 0-4.5ZM13 17.25a4.25 4.25 0 1 1 8.5 0 4.25 4.25 0 0 1-8.5 0Z",
		clipRule: "evenodd"
	})),
	Jat = h.forwardRef(BAe),
	zAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M10.25 4a.75.75 0 0 0-.75.75V10a1 1 0 1 1-2 0V6.75a.75.75 0 0 0-1.5 0V14a6 6 0 0 0 12 0V9.333A.333.333 0 0 0 17.667 9C16.747 9 16 9.746 16 10.667V12.5a1 1 0 0 1-.684.949l-.628.21A2.469 2.469 0 0 0 13 16a1 1 0 1 1-2 0 4.469 4.469 0 0 1 3-4.22v-1.113c0-.675.182-1.307.5-1.85V5.75a.75.75 0 0 0-1.5 0V9a1 1 0 1 1-2 0V4.75a.75.75 0 0 0-.75-.75Zm2.316-.733A2.75 2.75 0 0 1 16.5 5.75v1.44A3.66 3.66 0 0 1 17.667 7 2.333 2.333 0 0 1 20 9.333V14a8 8 0 1 1-16 0V6.75a2.75 2.75 0 0 1 3.571-2.625 2.751 2.751 0 0 1 4.995-.858Z",
		clipRule: "evenodd"
	}));
h.forwardRef(zAe);
const GAe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M4 15.833v1.334A2.333 2.333 0 0 0 6.333 19.5.667.667 0 0 0 7 18.833v-4.666a.667.667 0 0 0-.667-.667A2.333 2.333 0 0 0 4 15.833ZM2 12.5c0-5.523 4.477-10 10-10s10 4.477 10 10v4.667a4.333 4.333 0 0 1-4.333 4.333A2.667 2.667 0 0 1 15 18.833v-4.666a2.667 2.667 0 0 1 2.667-2.667c.856 0 1.654.248 2.327.677a8 8 0 0 0-15.988 0 4.313 4.313 0 0 1 2.327-.677A2.667 2.667 0 0 1 9 14.167v4.666A2.667 2.667 0 0 1 6.333 21.5 4.333 4.333 0 0 1 2 17.167V12.5Zm18 3.333a2.333 2.333 0 0 0-2.333-2.333.667.667 0 0 0-.667.667v4.666c0 .369.299.667.667.667A2.333 2.333 0 0 0 20 17.167v-1.334Z",
	clipRule: "evenodd"
}));
h.forwardRef(GAe);
const WAe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M5.68 7.094A7.965 7.965 0 0 0 4 12c0 1.849.627 3.551 1.68 4.906l2.148-2.149A4.977 4.977 0 0 1 7 12c0-1.02.305-1.967.828-2.757L5.68 7.094ZM4.258 5.67A9.959 9.959 0 0 0 2 12a9.96 9.96 0 0 0 2.258 6.33 1 1 0 0 0 1.412 1.412A9.959 9.959 0 0 0 12 22a9.959 9.959 0 0 0 6.33-2.258 1 1 0 0 0 1.412-1.412A9.959 9.959 0 0 0 22 12a9.959 9.959 0 0 0-2.258-6.33 1 1 0 0 0-1.412-1.412A9.959 9.959 0 0 0 12 2a9.959 9.959 0 0 0-6.33 2.258A1 1 0 0 0 4.258 5.67Zm2.836.01 2.149 2.148A4.977 4.977 0 0 1 12 7c1.02 0 1.967.305 2.757.828l2.149-2.148A7.965 7.965 0 0 0 12 4a7.965 7.965 0 0 0-4.906 1.68ZM18.32 7.094l-2.148 2.149c.523.79.828 1.738.828 2.757 0 1.02-.305 1.967-.828 2.757l2.148 2.149A7.965 7.965 0 0 0 20 12a7.966 7.966 0 0 0-1.68-4.906ZM16.906 18.32l-2.149-2.148A4.977 4.977 0 0 1 12 17a4.977 4.977 0 0 1-2.757-.828L7.094 18.32A7.966 7.966 0 0 0 12 20a7.965 7.965 0 0 0 4.906-1.68ZM12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z",
	clipRule: "evenodd"
}));
h.forwardRef(WAe);
const KAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2.954 7.807A1 1 0 0 0 3.968 9c.064.002.13-.003.196-.014l3-.5a1 1 0 0 0-.328-1.972l-.778.13a8 8 0 1 1-2.009 6.247 1 1 0 0 0-1.988.219C2.614 18.11 6.852 22 12 22c5.523 0 10-4.477 10-10S17.523 2 12 2a9.975 9.975 0 0 0-7.434 3.312l-.08-.476a1 1 0 0 0-1.972.328l.44 2.643ZM12 7a1 1 0 0 1 1 1v3.586l2.207 2.207a1 1 0 0 1-1.414 1.414l-2.5-2.5A1 1 0 0 1 11 12V8a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	})),
	Qat = h.forwardRef(KAe),
	ZAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7.161 3h9.678c.527 0 .982 0 1.356.03.395.033.789.104 1.167.297a3 3 0 0 1 1.311 1.311c.193.378.264.772.296 1.167.031.375.031.83.031 1.356v9.678c0 .527 0 .982-.03 1.356-.033.395-.104.789-.297 1.167a3 3 0 0 1-1.311 1.311c-.378.193-.772.264-1.167.296-.375.031-.83.031-1.356.031H7.16c-.527 0-.981 0-1.356-.03-.395-.033-.789-.104-1.167-.297a3 3 0 0 1-1.311-1.311c-.193-.378-.264-.772-.296-1.167A17.9 17.9 0 0 1 3 16.838V7.162c0-.527 0-.981.03-1.356.033-.395.104-.789.297-1.167a3 3 0 0 1 1.311-1.311c.378-.193.772-.264 1.167-.296C6.18 3 6.635 3 7.161 3ZM5.968 5.024c-.272.022-.373.06-.422.085a1 1 0 0 0-.437.437c-.025.05-.063.15-.085.422C5 6.25 5 6.623 5 7.2v6.386l.879-.879a3 3 0 0 1 4.242 0L16.414 19h.386c.577 0 .949 0 1.232-.024.272-.022.372-.06.422-.085a1 1 0 0 0 .437-.437c.025-.05.063-.15.085-.422C19 17.75 19 17.377 19 16.8V7.2c0-.577 0-.949-.024-1.232-.022-.272-.06-.373-.085-.422a1 1 0 0 0-.437-.437c-.05-.025-.15-.063-.422-.085C17.75 5 17.377 5 16.8 5H7.2c-.577 0-.949 0-1.232.024ZM13.586 19l-4.879-4.879a1 1 0 0 0-1.414 0L5 16.414v.386c0 .577 0 .949.024 1.232.022.272.06.372.085.422a1 1 0 0 0 .437.437c.05.025.15.063.422.085C6.25 19 6.623 19 7.2 19h6.386ZM14.5 8.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-3 1a3 3 0 1 1 6 0 3 3 0 0 1-6 0Z",
		clipRule: "evenodd"
	})),
	est = h.forwardRef(ZAe),
	qAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M6.161 3H17.84c.527 0 .982 0 1.356.03.395.033.789.104 1.167.297a3 3 0 0 1 1.311 1.311c.193.378.264.772.296 1.167.031.375.031.83.031 1.356v9.678c0 .527 0 .982-.03 1.356-.033.395-.104.789-.297 1.167a3 3 0 0 1-1.311 1.311c-.378.193-.772.264-1.167.296-.375.031-.83.031-1.356.031H6.16c-.527 0-.981 0-1.356-.03-.395-.033-.789-.104-1.167-.297a3 3 0 0 1-1.311-1.311c-.193-.378-.264-.772-.296-1.167A17.9 17.9 0 0 1 2 16.838V7.162c0-.527 0-.981.03-1.356.033-.395.104-.789.297-1.167a3 3 0 0 1 1.311-1.311c.378-.193.772-.264 1.167-.296C5.18 3 5.635 3 6.161 3ZM4.968 5.024c-.272.022-.373.06-.422.085a1 1 0 0 0-.437.437c-.025.05-.063.15-.085.422C4 6.25 4 6.623 4 7.2v5.386l.879-.879a3 3 0 0 1 4.242 0L16.414 19H17.8c.577 0 .949 0 1.232-.024.272-.022.372-.06.422-.085a1 1 0 0 0 .437-.437c.025-.05.063-.15.085-.422C20 17.75 20 17.377 20 16.8V7.2c0-.577 0-.949-.024-1.232-.022-.272-.06-.373-.085-.422a1 1 0 0 0-.437-.437c-.05-.025-.15-.063-.422-.085C18.75 5 18.377 5 17.8 5H6.2c-.577 0-.949 0-1.232.024ZM13.586 19l-5.879-5.879a1 1 0 0 0-1.414 0L4 15.414V16.8c0 .577 0 .949.024 1.232.022.272.06.372.085.422a1 1 0 0 0 .437.437c.05.025.15.063.422.085C5.25 19 5.623 19 6.2 19h7.386ZM15 8.5a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm-3 1a3 3 0 1 1 6 0 3 3 0 0 1-6 0Z",
		clipRule: "evenodd"
	}));
h.forwardRef(qAe);
const YAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M12.588 11.646a1.5 1.5 0 1 1-2.97.418 1.5 1.5 0 0 1 2.97-.418Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M11.297 1.03c-1.732-.232-3.403.918-3.66 2.674L7.04 7.759l-3.33.468a3.148 3.148 0 0 0-2.68 3.555l1.197 8.508a3.148 3.148 0 0 0 3.555 2.68l8.508-1.197a3.148 3.148 0 0 0 2.68-3.555l-.2-1.42 1.285.172c1.732.233 3.403-.918 3.661-2.674l1.251-8.508c.26-1.766-1.03-3.329-2.769-3.562L11.297 1.03Zm5.183 13.71 1.842.248c.727.097 1.328-.389 1.415-.983l1.252-8.508c.085-.582-.338-1.192-1.057-1.289l-8.901-1.196c-.727-.097-1.329.389-1.416.983l-.51 3.474 3.113-.438a3.148 3.148 0 0 1 3.555 2.68l.707 5.03Zm-2.687-4.752a1.148 1.148 0 0 0-1.297-.977l-8.508 1.196a1.148 1.148 0 0 0-.977 1.297l.619 4.4 1.068-1.063a3.148 3.148 0 0 1 4.115-.283l6.08 4.582c.09-.195.128-.416.096-.644l-1.196-8.508Zm-1.109 9.991L7.61 16.155a1.148 1.148 0 0 0-1.5.103L3.978 18.38l.23 1.632a1.148 1.148 0 0 0 1.296.977l7.18-1.01Z",
		clipRule: "evenodd"
	})),
	tst = h.forwardRef(YAe),
	XAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M13 12a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4Zm-1-2.5A1.25 1.25 0 1 0 12 7a1.25 1.25 0 0 0 0 2.5Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z",
		clipRule: "evenodd"
	})),
	nst = h.forwardRef(XAe),
	JAe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 7a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V7Zm3-1a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5Zm4 8a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Zm-2.46-2.89a1.11 1.11 0 1 0 0-2.22 1.11 1.11 0 0 0 0 2.22Zm3.64 0a1.11 1.11 0 1 0 0-2.22 1.11 1.11 0 0 0 0 2.22ZM14.93 10a1.11 1.11 0 1 1-2.22 0 1.11 1.11 0 0 1 2.22 0Zm2.53 1.11a1.11 1.11 0 1 0 0-2.22 1.11 1.11 0 0 0 0 2.22ZM7.65 14a1.11 1.11 0 1 1-2.22 0 1.11 1.11 0 0 1 2.22 0Zm10.92 0a1.11 1.11 0 1 1-2.22 0 1.11 1.11 0 0 1 2.22 0Z",
		clipRule: "evenodd"
	}));
h.forwardRef(JAe);
const QAe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M8 3.5a1 1 0 0 1 1 1V5h3a1 1 0 1 1 0 2h-.627c-.313 1.912-.929 3.524-1.936 4.819.752.525 1.675.928 2.806 1.21a1 1 0 1 1-.486 1.941c-1.461-.365-2.717-.928-3.757-1.725-1.04.797-2.296 1.36-3.757 1.725a1 1 0 1 1-.486-1.94c1.131-.283 2.054-.686 2.806-1.211C5.556 10.524 4.94 8.912 4.628 7H4a1 1 0 0 1 0-2h3v-.5a1 1 0 0 1 1-1ZM9.342 7C9.076 8.414 8.626 9.527 8 10.401 7.374 9.527 6.924 8.414 6.658 7h2.684Zm8.552 3.553a1 1 0 0 0-1.788 0l-4 8a1 1 0 1 0 1.788.894L14.618 18h4.764l.724 1.447a1 1 0 1 0 1.788-.894l-4-8ZM17 13.236 18.382 16h-2.764L17 13.236Z",
	clipRule: "evenodd"
}));
h.forwardRef(QAe);
const eMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M8.759 3h6.482c.805 0 1.47 0 2.01.044.563.046 1.08.145 1.565.392a4 4 0 0 1 1.748 1.748c.247.485.346 1.002.392 1.564C21 7.29 21 7.954 21 8.758v6.483c0 .805 0 1.47-.044 2.01-.046.563-.145 1.08-.392 1.565a4 4 0 0 1-1.748 1.748c-.485.247-1.002.346-1.564.392-.541.044-1.206.044-2.01.044H8.758c-.805 0-1.47 0-2.01-.044-.563-.046-1.08-.145-1.565-.392a4 4 0 0 1-1.748-1.748c-.247-.485-.346-1.002-.392-1.564C3 16.71 3 16.046 3 15.242V8.758c0-.805 0-1.47.044-2.01.046-.563.145-1.08.392-1.565a4 4 0 0 1 1.748-1.748c.485-.247 1.002-.346 1.564-.392C7.29 3 7.954 3 8.758 3ZM5 13v2.2c0 .857 0 1.439.038 1.889.035.438.1.663.18.819a2 2 0 0 0 .874.874c.156.08.38.145.819.18C7.361 19 7.943 19 8.8 19h6.4c.857 0 1.439 0 1.889-.038.438-.035.663-.1.819-.18a2 2 0 0 0 .874-.874c.08-.156.145-.38.18-.819.037-.45.038-1.032.038-1.889V13h-2a1 1 0 0 1-.814-.419l-1.686-2.36-4.186 5.86a1 1 0 0 1-1.628 0L6.486 13H5Zm14-2V8.8c0-.857 0-1.439-.038-1.889-.035-.438-.1-.663-.18-.819a2 2 0 0 0-.874-.874c-.156-.08-.38-.145-.819-.18C16.639 5 16.057 5 15.2 5H8.8c-.857 0-1.439 0-1.889.038-.438.035-.663.1-.819.18a2 2 0 0 0-.874.874c-.08.156-.145.38-.18.819C5 7.361 5 7.943 5 8.8V11h2a1 1 0 0 1 .814.419l1.686 2.36 4.186-5.86a1 1 0 0 1 1.628 0l2.2 3.081H19Z",
		clipRule: "evenodd"
	})),
	rst = h.forwardRef(eMe),
	tMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 1a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0V2a1 1 0 0 1 1-1ZM1 12a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2H2a1 1 0 0 1-1-1Zm19 0a1 1 0 0 1 1-1h1a1 1 0 1 1 0 2h-1a1 1 0 0 1-1-1Zm-8 8a1 1 0 0 1 1 1v1a1 1 0 1 1-2 0v-1a1 1 0 0 1 1-1Zm0-12a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-6 4a6 6 0 1 1 12 0 6 6 0 0 1-12 0Zm-.364-7.778a1 1 0 1 0-1.414 1.414l.707.707A1 1 0 0 0 6.343 4.93l-.707-.707ZM4.222 18.364a1 1 0 1 0 1.414 1.414l.707-.707a1 1 0 1 0-1.414-1.414l-.707.707ZM17.657 4.929a1 1 0 1 0 1.414 1.414l.707-.707a1 1 0 0 0-1.414-1.414l-.707.707Zm1.414 12.728a1 1 0 1 0-1.414 1.414l.707.707a1 1 0 0 0 1.414-1.414l-.707-.707Z",
		clipRule: "evenodd"
	})),
	nMe = h.forwardRef(tMe),
	rMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M18.293 5.707a4.657 4.657 0 0 0-6.586 0l-1 1a1 1 0 1 1-1.414-1.414l1-1a6.657 6.657 0 1 1 9.414 9.414l-1 1a1 1 0 0 1-1.414-1.414l1-1a4.657 4.657 0 0 0 0-6.586Zm-2.586 2.586a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414l6-6a1 1 0 0 1 1.414 0Zm-9 1a1 1 0 0 1 0 1.414l-1 1a4.657 4.657 0 0 0 6.586 6.586l1-1a1 1 0 0 1 1.414 1.414l-1 1a6.657 6.657 0 1 1-9.414-9.414l1-1a1 1 0 0 1 1.414 0Z",
		clipRule: "evenodd"
	})),
	ist = h.forwardRef(rMe),
	iMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a4 4 0 0 0-4 4h8a4 4 0 0 0-4-4Zm-6 6a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1H6Zm0-2a6 6 0 1 1 12 0 3 3 0 0 1 3 3v8a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-8a3 3 0 0 1 3-3Zm4 6a2 2 0 1 1 3 1.732V17a1 1 0 1 1-2 0v-1.268A2 2 0 0 1 10 14Z",
		clipRule: "evenodd"
	})),
	ost = h.forwardRef(iMe),
	oMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 158 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M22.486 7.312a5.98 5.98 0 0 1-.273 2.51 6.048 6.048 0 0 1 .747 7.088 5.979 5.979 0 0 1-3.998 2.9A6.047 6.047 0 0 1 13.19 24a5.976 5.976 0 0 1-4.51-2.01 6.047 6.047 0 0 1-6.512-2.902 5.98 5.98 0 0 1-.513-4.91 6.048 6.048 0 0 1-.745-7.09 5.982 5.982 0 0 1 3.998-2.901A6.048 6.048 0 0 1 10.677 0a5.979 5.979 0 0 1 4.51 2.01 6.047 6.047 0 0 1 6.512 2.902c.43.734.699 1.553.787 2.4ZM10.313 21.39c.808.674 1.732 1.041 2.926 1.041 2.34 0 4.447-1.968 4.447-4.5v-5.577a.072.072 0 0 0-.04-.055l-2.02-1.166v6.736a.777.777 0 0 1-.392.68l-4.779 2.76a3.255 3.255 0 0 1-.142.081Zm-7.32-6.1a4.482 4.482 0 0 0 .536 3.014 4.502 4.502 0 0 0 6.143 1.646l4.831-2.79a.071.071 0 0 0 .029-.061v-2.333l-5.834 3.369a.777.777 0 0 1-.785 0l-4.779-2.76a6.528 6.528 0 0 1-.142-.085ZM4.61 5.9a4.483 4.483 0 0 0-2.34 1.972 4.502 4.502 0 0 0 1.648 6.141l4.83 2.792a.073.073 0 0 0 .069-.006l2.02-1.166-5.834-3.369a.774.774 0 0 1-.392-.68V5.9Zm8.421 2.465 5.834 3.369a.775.775 0 0 1 .39.679v5.686a4.499 4.499 0 0 0 .695-8.116l-4.83-2.79a.073.073 0 0 0-.069.006l-2.02 1.166Zm7.703.256.142.085a4.498 4.498 0 0 0-6.68-4.658l-4.83 2.787a.073.073 0 0 0-.029.062V9.23l5.834-3.37a.779.779 0 0 1 .785 0l4.779 2.761ZM6.219 11.7l2.02 1.166.003-6.734a.777.777 0 0 1 .393-.68l4.779-2.76c.042-.026.105-.06.142-.08a4.498 4.498 0 0 0-7.377 3.453v5.58a.07.07 0 0 0 .04.055ZM11.934 9l-2.598 1.5v3l2.598 1.5 2.599-1.5v-3L11.935 9Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		d: "M86.888 5.287v13.12H84.55V5.287h2.34Zm-11 0h2.65l4.97 13.12h-2.357l-1.133-2.997h-5.665l-1.114 2.997h-2.321l4.97-13.12Zm1.28 2.595-2.047 5.482h4.13l-2.084-5.482ZM61.974 18.407V8.813h2.193v1.024a3.385 3.385 0 0 1 2.649-1.206c2.01 0 3.216 1.389 3.216 3.453v6.323H67.84v-5.683c0-1.188-.475-2.047-1.68-2.047-.988 0-1.993.731-1.993 2.102v5.628h-2.192Zm-5.428.201c-2.741 0-4.66-2.029-4.66-4.989 0-2.814 1.9-4.988 4.569-4.988 2.777 0 4.257 2.101 4.257 4.732v.731h-6.724c.164 1.645 1.15 2.65 2.558 2.65 1.078 0 1.937-.548 2.23-1.535l1.881.713c-.676 1.68-2.192 2.686-4.111 2.686Zm-.11-8.132c-1.133 0-2.01.676-2.339 1.974h4.404c-.018-1.06-.676-1.974-2.065-1.974Zm-9.478 8.132c-1.243 0-2.157-.494-2.76-1.206v4.294h-2.193V8.813h2.193v1.024c.603-.713 1.517-1.206 2.76-1.206 2.686 0 4.22 2.266 4.22 4.988 0 2.723-1.534 4.989-4.22 4.989Zm-2.814-5.263v.567c0 1.772 1.023 2.777 2.375 2.777 1.59 0 2.449-1.242 2.449-3.07 0-1.827-.86-3.07-2.449-3.07-1.352 0-2.375.987-2.375 2.796Zm-15.687-1.498c0-3.984 2.558-6.761 6.103-6.761s6.103 2.777 6.103 6.76c0 3.984-2.558 6.762-6.103 6.762s-6.103-2.778-6.103-6.761Zm9.867 0c0-2.85-1.553-4.696-3.764-4.696s-3.764 1.845-3.764 4.696c0 2.85 1.553 4.696 3.764 4.696 2.21 0 3.764-1.846 3.764-4.696Zm107.383.84v5.72h-1.644V8.85h1.644v1.297a3.208 3.208 0 0 1 2.759-1.48c1.28 0 2.175.64 2.65 1.627.53-.786 1.553-1.627 3.052-1.627 1.973 0 3.161 1.407 3.161 3.436v6.304h-1.645V12.54c0-1.334-.548-2.339-1.9-2.339-1.096 0-2.266.932-2.266 2.485v5.72h-1.644V12.54c0-1.334-.549-2.339-1.901-2.339-1.096 0-2.266.932-2.266 2.485Zm-3.072-3.874v1.663a3.758 3.758 0 0 0-.804-.073c-1.389 0-2.503 1.097-2.503 2.778v5.226h-1.645V8.85h1.645v1.626c.42-.968 1.352-1.7 2.649-1.7.256 0 .494.02.658.037Zm-6.66 4.825c0 2.96-1.827 4.97-4.44 4.97-2.613 0-4.44-2.01-4.44-4.97s1.827-4.97 4.44-4.97c2.613 0 4.44 2.01 4.44 4.97Zm-7.217 0c0 2.174 1.096 3.563 2.777 3.563s2.778-1.389 2.778-3.563c0-2.193-1.097-3.582-2.778-3.582s-2.777 1.389-2.777 3.582Zm-2.005-8.516v1.462c-.274-.036-.439-.036-.713-.036-.968 0-1.498.42-1.498 1.644v.658h2.12v1.407h-2.12v8.15h-1.645v-8.15h-2.225V8.85h2.225v-.767c0-1.864 1.024-2.997 2.979-2.997.329 0 .511.018.877.036Z"
	}), h.createElement("path", {
		d: "M117.195 16.123v-5.866h-1.48V8.85h1.48V6.054h1.626V8.85h2.174v1.407h-2.174v5.61c0 1.005.493 1.188 1.334 1.188a4.03 4.03 0 0 0 1.041-.11v1.407c-.42.091-.895.146-1.443.146-1.626 0-2.558-.548-2.558-2.375Zm-7.097 2.448c-1.736 0-3.143-1.023-3.143-2.74 0-1.901 1.48-2.687 3.618-3.125l2.321-.476v-.402c0-1.096-.603-1.717-1.882-1.717-1.206 0-1.919.566-2.211 1.626l-1.554-.402c.457-1.553 1.864-2.668 3.82-2.668 2.137 0 3.453 1.042 3.453 3.088v4.66c0 .621.384.822 1.023.676v1.316c-1.461.183-2.302-.165-2.503-1.078-.585.749-1.645 1.242-2.942 1.242Zm2.796-3.417V13.51l-1.864.402c-1.462.292-2.449.694-2.449 1.845 0 .932.676 1.48 1.718 1.48 1.407 0 2.595-.858 2.595-2.083Zm-7.551-9.867v13.12h-1.645V5.287h1.645Zm-10.658 7.62v5.5H92.93V5.287h5.006c2.778 0 4.55 1.297 4.55 3.8 0 2.468-1.772 3.82-4.55 3.82h-3.252Zm0-1.517h3.161c1.864 0 2.905-.822 2.905-2.302s-1.041-2.285-2.905-2.285h-3.161v4.587Z"
	})),
	aMe = h.forwardRef(oMe),
	sMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M22.418 9.822a5.903 5.903 0 0 0-.52-4.91 6.1 6.1 0 0 0-2.822-2.513 6.204 6.204 0 0 0-3.78-.389A6.055 6.055 0 0 0 13.232.518 6.129 6.129 0 0 0 10.726 0a6.185 6.185 0 0 0-3.615 1.153A6.052 6.052 0 0 0 4.88 4.187a6.102 6.102 0 0 0-2.344 1.018A6.008 6.008 0 0 0 .828 7.087a5.981 5.981 0 0 0 .754 7.09 5.904 5.904 0 0 0 .52 4.911 6.101 6.101 0 0 0 2.821 2.513 6.205 6.205 0 0 0 3.78.389 6.057 6.057 0 0 0 2.065 1.492 6.13 6.13 0 0 0 2.505.518 6.185 6.185 0 0 0 3.617-1.154 6.052 6.052 0 0 0 2.232-3.035 6.101 6.101 0 0 0 2.343-1.018 6.009 6.009 0 0 0 1.709-1.883 5.981 5.981 0 0 0-.756-7.088Zm-9.143 12.609a4.583 4.583 0 0 1-2.918-1.04c.037-.02.102-.056.144-.081l4.844-2.76a.783.783 0 0 0 .397-.68v-6.738L17.79 12.3a.072.072 0 0 1 .04.055v5.58a4.473 4.473 0 0 1-1.335 3.176 4.596 4.596 0 0 1-3.219 1.321Zm-9.793-4.127a4.432 4.432 0 0 1-.544-3.014c.036.021.099.06.144.085l4.843 2.76a.796.796 0 0 0 .795 0l5.913-3.369V17.1a.071.071 0 0 1-.029.062L9.708 19.95a4.617 4.617 0 0 1-3.458.447 4.556 4.556 0 0 1-2.768-2.093ZM2.208 7.872A4.527 4.527 0 0 1 4.58 5.9l-.002.164v5.52a.768.768 0 0 0 .397.68l5.913 3.369-2.047 1.166a.075.075 0 0 1-.069.006l-4.896-2.792a4.51 4.51 0 0 1-2.12-2.73 4.45 4.45 0 0 1 .452-3.411Zm16.818 3.861-5.913-3.368 2.047-1.166a.074.074 0 0 1 .07-.006l4.896 2.789a4.526 4.526 0 0 1 1.762 1.815 4.448 4.448 0 0 1-.418 4.808 4.556 4.556 0 0 1-2.049 1.494v-5.686a.767.767 0 0 0-.395-.68Zm2.038-3.025a6.874 6.874 0 0 0-.144-.085l-4.843-2.76a.797.797 0 0 0-.796 0L9.368 9.23V6.9a.072.072 0 0 1 .03-.062l4.895-2.787a4.608 4.608 0 0 1 4.885.207 4.51 4.51 0 0 1 1.599 1.955c.333.788.433 1.654.287 2.496ZM8.255 12.865 6.208 11.7a.071.071 0 0 1-.04-.056v-5.58c0-.854.248-1.69.713-2.412a4.54 4.54 0 0 1 1.913-1.658 4.614 4.614 0 0 1 4.85.616c-.037.02-.102.055-.144.08L8.657 5.452a.782.782 0 0 0-.398.68l-.004 6.734ZM9.367 10.5 12.001 9l2.633 1.5v3L12.001 15l-2.634-1.5v-3Z"
	})),
	Jb = h.forwardRef(sMe),
	uMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7 4a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h4a1 1 0 1 1 0 2H7a3 3 0 0 1-3-3V5a3 3 0 0 1 3-3h4a1 1 0 1 1 0 2H7Zm8.293 3.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414-1.414L17.586 13H11a1 1 0 1 1 0-2h6.586l-2.293-2.293a1 1 0 0 1 0-1.414Z",
		clipRule: "evenodd"
	}));
h.forwardRef(uMe);
const lMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M5 4a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H5ZM4 7.329V17a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V7.329L13.976 12.6a3 3 0 0 1-3.952 0L4 7.33ZM18.481 6H5.52l5.822 5.095a1 1 0 0 0 1.318 0L18.48 6Z",
	clipRule: "evenodd"
}));
h.forwardRef(lMe);
const cMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M12 7.5a4 4 0 1 0 0 8 4 4 0 0 0 0-8Zm-2 4a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z",
	clipRule: "evenodd"
}), h.createElement("path", {
	fillRule: "evenodd",
	d: "M11.574 22.904 12 22l-.426.904c.27.127.582.128.852 0L12 22l.426.905.004-.002.006-.003.023-.011.08-.04a21.164 21.164 0 0 0 1.302-.718 22.823 22.823 0 0 0 3.058-2.183c2.195-1.872 4.601-4.75 4.601-8.448a9.5 9.5 0 0 0-19 0c0 3.697 2.406 6.576 4.601 8.448a22.824 22.824 0 0 0 4.36 2.901l.08.04.023.01.006.004.004.002ZM4.5 11.5a7.5 7.5 0 1 1 15 0c0 2.803-1.844 5.174-3.899 6.927A20.824 20.824 0 0 1 12 20.877a20.82 20.82 0 0 1-3.601-2.45C6.344 16.674 4.5 14.303 4.5 11.5Z",
	clipRule: "evenodd"
}));
h.forwardRef(cMe);
const fMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 7a3 3 0 0 1 3-3h1a1 1 0 0 1 0 2H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 1 1 0 2H5a3 3 0 0 1-3-3V7Zm15-2a1 1 0 0 1 1-1h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-1a1 1 0 1 1 0-2h1a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a1 1 0 0 1-1-1ZM7.793 9.043a1 1 0 0 1 1.414 0l2.25 2.25a1 1 0 0 1 0 1.414l-2.25 2.25a1 1 0 0 1-1.414-1.414L9.336 12l-1.543-1.543a1 1 0 0 1 0-1.414Zm4.457 5.207a1 1 0 0 1 1-1h2.25a1 1 0 1 1 0 2h-2.25a1 1 0 0 1-1-1Z",
		clipRule: "evenodd"
	})),
	ast = h.forwardRef(fMe),
	dMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 7a3 3 0 0 1 3-3h1a1 1 0 0 1 0 2H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 1 1 0 2H5a3 3 0 0 1-3-3V7Zm15-2a1 1 0 0 1 1-1h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-1a1 1 0 1 1 0-2h1a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a1 1 0 0 1-1-1Zm-5 4a1 1 0 0 1 1 1v4a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1Zm3.5 1.5a1 1 0 0 1 1 1V14a1 1 0 1 1-2 0v-2.5a1 1 0 0 1 1-1Zm-7 1a1 1 0 0 1 1 1V14a1 1 0 1 1-2 0v-1.5a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	})),
	sst = h.forwardRef(dMe),
	pMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 7a3 3 0 0 1 3-3h1a1 1 0 0 1 0 2H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 1 1 0 2H5a3 3 0 0 1-3-3V7Zm15-2a1 1 0 0 1 1-1h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-1a1 1 0 1 1 0-2h1a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a1 1 0 0 1-1-1Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		d: "M13.3 12a1.3 1.3 0 1 1-2.6 0 1.3 1.3 0 0 1 2.6 0Zm4 0a1.3 1.3 0 1 1-2.6 0 1.3 1.3 0 0 1 2.6 0Zm-8 0a1.3 1.3 0 1 1-2.6 0 1.3 1.3 0 0 1 2.6 0Z"
	}));
h.forwardRef(pMe);
const hMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	d: "M2 7a3 3 0 0 1 3-3h1a1 1 0 0 1 0 2H5a1 1 0 0 0-1 1v10a1 1 0 0 0 1 1h1a1 1 0 1 1 0 2H5a3 3 0 0 1-3-3V7Zm15-2a1 1 0 0 1 1-1h1a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-1a1 1 0 1 1 0-2h1a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1h-1a1 1 0 0 1-1-1Zm-7.675 7.723-.075.002c-.966 0-1.75-.89-1.75-1.988 0-1.097.784-1.987 1.75-1.987.51 0 .966.105 1.375.476.545.495.875 1.317.875 2.476 0 1.992-2.951 4.76-3.476 2.972-.149-.505.181-.72.546-.958.344-.224.719-.468.755-.993Zm4.925.002.075-.002c-.036.525-.411.77-.755.993-.365.238-.694.453-.546.958.525 1.788 3.476-.98 3.476-2.971 0-1.16-.33-1.982-.875-2.477-.41-.371-.865-.476-1.375-.476-.966 0-1.75.89-1.75 1.987 0 1.098.784 1.988 1.75 1.988Z"
}));
h.forwardRef(hMe);
const vMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M3 8a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm0 8a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Z",
		clipRule: "evenodd"
	})),
	gMe = h.forwardRef(vMe),
	mMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M15 7v3.757l1.764 1.765c.153-.48.236-.991.236-1.522V7a5 5 0 0 0-8.894-3.137l1.428 1.428A3 3 0 0 1 15 7ZM7 8.414V11a5 5 0 0 0 7.117 4.531l1.477 1.477c-1.05.63-2.28.992-3.594.992h-.003a7.003 7.003 0 0 1-6.489-4.375 1 1 0 1 0-1.853.75A9.008 9.008 0 0 0 11 19.945V21a1 1 0 1 0 2 0v-1.055a8.947 8.947 0 0 0 4.042-1.489l2.25 2.251a1 1 0 0 0 1.415-1.414l-16-16a1 1 0 0 0-1.414 1.414L7 8.414Zm5.538 5.538L9 10.414V11a3 3 0 0 0 3.538 2.952Zm5.761.105 1.477 1.477c.216-.37.407-.758.57-1.159a1 1 0 0 0-1.854-.75c-.06.146-.124.29-.193.432Z",
		clipRule: "evenodd"
	})),
	ust = h.forwardRef(mMe),
	yMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7 7a5 5 0 0 1 10 0v4a5 5 0 0 1-10 0V7Zm5-3a3 3 0 0 0-3 3v4a3 3 0 1 0 6 0V7a3 3 0 0 0-3-3Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		d: "M11 19.945V21a1 1 0 1 0 2 0v-1.055a9.008 9.008 0 0 0 7.345-5.57 1 1 0 0 0-1.854-.75A7.002 7.002 0 0 1 12 18h-.003a7.003 7.003 0 0 1-6.489-4.375 1 1 0 1 0-1.853.75A9.008 9.008 0 0 0 11 19.945Z"
	})),
	lst = h.forwardRef(yMe),
	wMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M5 19a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2H5Zm2.707-8.707a1 1 0 1 0-1.414 1.414l5 5a1 1 0 0 0 1.414 0l5-5a1 1 0 0 0-1.414-1.414L13 13.586V4a1 1 0 1 0-2 0v9.586l-3.293-3.293Z"
	})),
	cst = h.forwardRef(wMe),
	_Me = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M5 5a1 1 0 0 0-2 0v14a1 1 0 1 0 2 0V5Zm8.707 2.707a1 1 0 0 0-1.414-1.414l-5 5a1 1 0 0 0 0 1.414l5 5a1 1 0 0 0 1.414-1.414L10.414 13H20a1 1 0 1 0 0-2h-9.586l3.293-3.293Z"
	}));
h.forwardRef(_Me);
const bMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	d: "M19 19a1 1 0 1 0 2 0V5a1 1 0 1 0-2 0v14Zm-8.707-2.707a1 1 0 1 0 1.414 1.414l5-5a1 1 0 0 0 0-1.414l-5-5a1 1 0 1 0-1.414 1.414L13.586 11H4a1 1 0 1 0 0 2h9.586l-3.293 3.293Z"
}));
h.forwardRef(bMe);
const SMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	d: "M19 5a1 1 0 1 0 0-2H5a1 1 0 1 0 0 2h14Zm-2.707 8.707a1 1 0 0 0 1.414-1.414l-5-5a1 1 0 0 0-1.414 0l-5 5a1 1 0 1 0 1.414 1.414L11 10.414V20a1 1 0 1 0 2 0v-9.586l3.293 3.293Z"
}));
h.forwardRef(SMe);
const xMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm-3 9a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H9Z",
	clipRule: "evenodd"
}));
h.forwardRef(xMe);
const EMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M9 11a1 1 0 1 0 0 2h6a1 1 0 1 0 0-2H9Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z",
		clipRule: "evenodd"
	})),
	fst = h.forwardRef(EMe),
	CMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M6 12a1 1 0 0 1 1-1h10a1 1 0 1 1 0 2H7a1 1 0 0 1-1-1Z",
		clipRule: "evenodd"
	}));
h.forwardRef(CMe);
const OMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M18 6.062a1 1 0 0 0-1.242-.97l-6 1.5a1 1 0 0 0-.758.97V17.5c0 2.096-1.97 3.5-4 3.5-2.03 0-4-1.404-4-3.5S3.97 14 6 14c.7 0 1.393.167 2 .471v-6.91a3 3 0 0 1 2.272-2.91l6-1.5A3 3 0 0 1 20 6.061V14.5c0 2.096-1.97 3.5-4 3.5-2.03 0-4-1.404-4-3.5s1.97-3.5 4-3.5c.7 0 1.393.167 2 .471v-5.41Zm0 8.438c0-.665-.717-1.5-2-1.5s-2 .835-2 1.5.717 1.5 2 1.5 2-.835 2-1.5Zm-10 3c0-.666-.717-1.5-2-1.5s-2 .834-2 1.5c0 .665.717 1.5 2 1.5s2-.835 2-1.5Z",
	clipRule: "evenodd"
}));
h.forwardRef(OMe);
const TMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M13 2a1 1 0 1 0-2 0v5a1 1 0 1 0 2 0V2ZM7.589 5.934A1 1 0 0 0 6.41 4.317a9.5 9.5 0 1 0 11.178 0 1 1 0 0 0-1.178 1.617 7.5 7.5 0 1 1-8.822 0Z",
	clipRule: "evenodd"
}));
h.forwardRef(TMe);
const RMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm-2 7a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h.25a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H10Zm3.75 0a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1H14a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-.25Z",
	clipRule: "evenodd"
}));
h.forwardRef(RMe);
const IMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M6 8a2 2 0 0 1 2-2h.5a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8Zm7.5 0a2 2 0 0 1 2-2h.5a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-.5a2 2 0 0 1-2-2V8Z"
	})),
	dst = h.forwardRef(IMe),
	kMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M17.485 2.88a3.003 3.003 0 0 0-4.558.363L9.797 7.57c-.188.26-.49.415-.81.415h-2.54c-2.706 0-4.173 3.692-2.278 5.587l2.422 2.422-4.298 4.298a1.001 1.001 0 0 0 1.416 1.416l4.298-4.298 2.422 2.422c1.895 1.895 5.587.428 5.587-2.278v-2.54c0-.32.155-.622.415-.81l4.326-3.13a3.003 3.003 0 0 0 .363-4.558L17.484 2.88Zm-5.64 15.535c.654.654 2.17.078 2.17-.862v-2.54c0-.963.461-1.868 1.242-2.433l4.326-3.13a1 1 0 0 0 .121-1.519L16.07 4.296a1.001 1.001 0 0 0-1.52.12l-3.13 4.328a3.004 3.004 0 0 1-2.433 1.243h-2.54c-.94 0-1.516 1.515-.862 2.17l6.26 6.259Z",
		clipRule: "evenodd"
	})),
	pst = h.forwardRef(kMe),
	AMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "none",
		viewBox: "0 0 108 29",
		ref: t,
		...e
	}, h.createElement("path", {
		fill: "#353740",
		fillRule: "evenodd",
		d: "M25.483 12.146a6.864 6.864 0 0 0-.59-5.636 6.941 6.941 0 0 0-7.475-3.33A6.863 6.863 0 0 0 12.242.871 6.942 6.942 0 0 0 5.62 5.678a6.867 6.867 0 0 0-4.589 3.329 6.942 6.942 0 0 0 .855 8.138 6.863 6.863 0 0 0 .589 5.637 6.941 6.941 0 0 0 7.475 3.33 6.86 6.86 0 0 0 5.177 2.308 6.941 6.941 0 0 0 6.625-4.809 6.864 6.864 0 0 0 4.59-3.329 6.941 6.941 0 0 0-.859-8.136Zm-10.3 14.473c-1.37 0-2.432-.42-3.359-1.195.042-.023.115-.063.163-.092l5.485-3.168a.891.891 0 0 0 .451-.78V13.65l2.319 1.339a.083.083 0 0 1 .045.064v6.402c0 2.905-2.419 5.164-5.104 5.164ZM4.037 21.882a5.144 5.144 0 0 1-.616-3.46l.034.021.129.076 5.485 3.169a.892.892 0 0 0 .9 0l6.698-3.867v2.677a.083.083 0 0 1-.033.072l-5.545 3.201a5.168 5.168 0 0 1-7.052-1.89ZM2.592 9.907a5.146 5.146 0 0 1 2.687-2.263v6.525a.89.89 0 0 0 .45.78l6.696 3.867-2.318 1.338a.085.085 0 0 1-.078.007l-5.546-3.204a5.168 5.168 0 0 1-1.891-7.05Zm19.05 4.433-6.697-3.866 2.319-1.339a.084.084 0 0 1 .078-.007l5.545 3.203a5.163 5.163 0 0 1-.799 9.315V15.12a.89.89 0 0 0-.446-.78Zm2.308-3.475a7.553 7.553 0 0 0-.163-.098L18.302 7.6a.894.894 0 0 0-.901 0l-6.697 3.867V8.788a.082.082 0 0 1 .033-.07l5.545-3.2a5.163 5.163 0 0 1 7.668 5.347ZM9.443 15.639 7.124 14.3a.08.08 0 0 1-.045-.063V7.833a5.163 5.163 0 0 1 8.467-3.965 4.732 4.732 0 0 0-.163.092L9.898 7.13a.892.892 0 0 0-.451.78l-.004 7.73Zm1.26-2.715 2.982-1.723 2.983 1.721v3.445l-2.983 1.72-2.982-1.72v-3.444ZM71.89 6.73v2.203c-.294-.021-.44-.021-.755-.021-.986 0-1.531.293-1.531 1.552v.524h2.244v2.14h-2.244V22h-2.517v-8.872h-4.03v5.705c0 .986.566 1.09 1.468 1.09.42 0 .65-.02 1.028-.063v2.119a10.16 10.16 0 0 1-1.74.147c-2.098 0-3.23-.65-3.23-2.895v-6.103h-1.532v-2.14h1.531v-3.23h2.475v3.23h4.029v-.713c0-2.286 1.28-3.566 3.755-3.566.399 0 .588 0 1.05.021ZM35.111 22v-5.831h3.335c3.356 0 5.454-1.615 5.454-4.614 0-3.042-2.098-4.615-5.454-4.615h-6.02V22h2.685Zm3.188-8.138h-3.188V9.247h3.188c1.93 0 2.958.818 2.958 2.308 0 1.468-1.028 2.307-2.958 2.307ZM47.446 22V6.94h-2.517V22h2.517Zm5.12.189c-2.098 0-3.713-1.28-3.713-3.251 0-2.098 1.573-3.02 3.691-3.461l3.042-.63v-.188c0-1.049-.545-1.7-1.888-1.7-1.195 0-1.825.546-2.118 1.616l-2.37-.545c.545-1.825 2.16-3.252 4.593-3.252 2.643 0 4.237 1.259 4.237 3.797v4.74c0 .63.273.818.965.734V22c-1.825.21-2.79-.147-3.167-1.049-.693.776-1.846 1.238-3.273 1.238Zm3.02-4.07v-1.342l-2.37.504c-1.07.23-1.867.566-1.867 1.552 0 .86.63 1.342 1.594 1.342 1.342 0 2.643-.713 2.643-2.055Zm21.773 4.112c3.104 0 5.307-2.308 5.307-5.726 0-3.42-2.203-5.726-5.307-5.726-3.104 0-5.307 2.307-5.307 5.726s2.203 5.726 5.307 5.726Zm0-2.119c-1.699 0-2.769-1.363-2.769-3.607 0-2.245 1.07-3.608 2.769-3.608s2.769 1.363 2.769 3.608c0 2.244-1.07 3.607-2.769 3.607Zm13.076-9.145v2.517a6.389 6.389 0 0 0-.923-.063c-1.594 0-2.81 1.028-2.81 2.79V22h-2.518V10.988h2.517v1.636c.483-1.027 1.615-1.699 3.02-1.699.294 0 .525.021.714.042ZM94.249 22v-6.46c0-1.573 1.112-2.412 2.182-2.412 1.342 0 1.846.986 1.846 2.349V22h2.516v-6.46c0-1.573 1.112-2.412 2.182-2.412 1.342 0 1.846.986 1.846 2.349V22h2.517v-7.257c0-2.37-1.469-3.965-3.734-3.965-1.699 0-2.748.819-3.419 1.532-.608-.944-1.594-1.532-2.915-1.532-1.469 0-2.412.65-3.02 1.385v-1.175h-2.518V22h2.517Z",
		clipRule: "evenodd"
	}));
h.forwardRef(AMe);
const MMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM9.5 9.332v5.336a1 1 0 0 0 1.54.841l4.152-2.668a1 1 0 0 0 0-1.682L11.04 8.49a1 1 0 0 0-1.541.842Z",
	clipRule: "evenodd"
}));
h.forwardRef(MMe);
const PMe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M7 7.638v8.724c0 1.294 1.464 2.075 2.577 1.376l6.94-4.363a1.615 1.615 0 0 0 0-2.75l-6.94-4.363C8.464 5.562 7 6.344 7 7.638Z",
	clipRule: "evenodd"
}));
h.forwardRef(PMe);
const LMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7 7.638v8.724c0 1.294 1.464 2.075 2.577 1.376l6.94-4.363a1.615 1.615 0 0 0 0-2.75l-6.94-4.363C8.464 5.562 7 6.344 7 7.638Z",
		clipRule: "evenodd"
	})),
	hst = h.forwardRef(LMe),
	NMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Zm3-1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H6Zm1.293 4.293a1 1 0 0 1 1.414 0l2 2a1 1 0 0 1 0 1.414l-2 2a1 1 0 0 1-1.414-1.414L8.586 12l-1.293-1.293a1 1 0 0 1 0-1.414ZM12 14a1 1 0 0 1 1-1h3a1 1 0 1 1 0 2h-3a1 1 0 0 1-1-1Z",
		clipRule: "evenodd"
	})),
	vst = h.forwardRef(NMe),
	DMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M15.465 19a3.501 3.501 0 0 1-6.93 0H6a3 3 0 0 1-3-3v-2.5a1 1 0 0 1 1-1h.5a1.5 1.5 0 0 0 0-3H4a1 1 0 0 1-1-1V6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-2.535ZM12 20a1.5 1.5 0 0 0 1.5-1.5V18a1 1 0 0 1 1-1H18a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v1.535a3.5 3.5 0 0 1 0 6.93V16a1 1 0 0 0 1 1h3.5a1 1 0 0 1 1 1v.5A1.5 1.5 0 0 0 12 20Z",
		clipRule: "evenodd"
	})),
	gst = h.forwardRef(DMe),
	$Me = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm1 7a1 1 0 1 0-2 0v2H9a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V9Z",
		clipRule: "evenodd"
	}));
h.forwardRef($Me);
const FMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M13 9a1 1 0 1 0-2 0v2H9a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2h-2V9Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z",
		clipRule: "evenodd"
	})),
	mst = h.forwardRef(FMe),
	jMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 5a1 1 0 0 1 1 1v5h5a1 1 0 1 1 0 2h-5v5a1 1 0 1 1-2 0v-5H6a1 1 0 1 1 0-2h5V6a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	})),
	UMe = h.forwardRef(jMe),
	HMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16ZM2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 9a1 1 0 0 0-.879.522 1 1 0 0 1-1.754-.96A3 3 0 0 1 12 7c1.515 0 2.567 1.006 2.866 2.189.302 1.189-.156 2.574-1.524 3.258A.618.618 0 0 0 13 13a1 1 0 1 1-2 0c0-.992.56-1.898 1.447-2.342.455-.227.572-.618.48-.978C12.836 9.314 12.529 9 12 9Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		d: "M13.1 16a1.1 1.1 0 1 1-2.2 0 1.1 1.1 0 0 1 2.2 0Z"
	})),
	VMe = h.forwardRef(HMe),
	BMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M3.07 10.876A9.001 9.001 0 0 1 12 3a9.15 9.15 0 0 1 6.012 2.254V4a1 1 0 1 1 2 0v4a1 1 0 0 1-1 1h-4a1 1 0 1 1 0-2h1.945A7.15 7.15 0 0 0 12 5a7.001 7.001 0 0 0-6.946 6.124 1 1 0 1 1-1.984-.248Zm16.992 1.132a1 1 0 0 1 .868 1.116A9.001 9.001 0 0 1 12 21a9.15 9.15 0 0 1-6-2.244V20a1 1 0 1 1-2 0v-4a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2H7.043A7.151 7.151 0 0 0 12 19a7.001 7.001 0 0 0 6.946-6.124 1 1 0 0 1 1.116-.868Z",
		clipRule: "evenodd"
	})),
	yst = h.forwardRef(BMe),
	zMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M4.5 2.5a1 1 0 0 1 1 1v1.572A9.5 9.5 0 1 1 12 21.5c-4.87 0-8.882-3.663-9.435-8.384a1 1 0 0 1 1.986-.232A7.501 7.501 0 0 0 19.5 12 7.5 7.5 0 0 0 6.41 7H9a1 1 0 0 1 0 2H4.5a1 1 0 0 1-1-1.024V3.5a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	})),
	wst = h.forwardRef(zMe),
	GMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3v-1a1 1 0 1 1 0-2v-2a1 1 0 1 1 0-2V9a1 1 0 0 1 0-2V6Zm2 3a1 1 0 0 0 0-2V6a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-1a1 1 0 1 0 0-2v-2a1 1 0 1 0 0-2V9Zm9.996-.368a1 1 0 0 1 .372 1.364l-2.857 5a1 1 0 0 1-1.64.139l-1.644-2a1 1 0 1 1 1.546-1.27l.722.879 2.137-3.74a1 1 0 0 1 1.364-.372Z",
		clipRule: "evenodd"
	})),
	_st = h.forwardRef(GMe),
	WMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "none",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fill: "#353740",
		d: "M11 12a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm3.5 1.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"
	}), h.createElement("path", {
		fill: "#353740",
		fillRule: "evenodd",
		d: "M12 5.5a1 1 0 0 1 1 1V7h4a3 3 0 0 1 3 3v3.5a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5V10a3 3 0 0 1 3-3h4v-.5a1 1 0 0 1 1-1ZM7 9h10a1 1 0 0 1 1 1v3.5a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V10a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	})),
	bst = h.forwardRef(WMe),
	KMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M10.5 2a8.5 8.5 0 1 0 5.262 15.176l4.53 4.531a1 1 0 0 0 1.415-1.414l-4.531-4.531A8.5 8.5 0 0 0 10.5 2ZM4 10.5a6.5 6.5 0 1 1 13 0 6.5 6.5 0 0 1-13 0Z",
		clipRule: "evenodd"
	})),
	ZMe = h.forwardRef(KMe),
	qMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M11.568 3.5a1 1 0 0 0-.863.494l-.811 1.381A3.001 3.001 0 0 1 7.33 6.856l-1.596.013a1 1 0 0 0-.858.501l-.439.761a1 1 0 0 0-.004.992l.792 1.4a3 3 0 0 1 0 2.954l-.792 1.4a1 1 0 0 0 .004.992l.439.76a1 1 0 0 0 .858.502l1.596.013a3 3 0 0 1 2.564 1.48l.811 1.382a1 1 0 0 0 .863.494h.87a1 1 0 0 0 .862-.494l.812-1.381a3.001 3.001 0 0 1 2.563-1.481l1.596-.013a1 1 0 0 0 .86-.501l.438-.761a1 1 0 0 0 .004-.992l-.793-1.4a3 3 0 0 1 0-2.954l.793-1.4a1 1 0 0 0-.004-.992l-.439-.76a1 1 0 0 0-.858-.502l-1.597-.013a3 3 0 0 1-2.563-1.48L13.3 3.993a1 1 0 0 0-.862-.494h-.87ZM8.98 2.981A3.001 3.001 0 0 1 11.568 1.5h.87c1.064 0 2.049.564 2.588 1.481l.811 1.382a1 1 0 0 0 .855.494l1.596.013a3 3 0 0 1 2.575 1.502l.44.76a3 3 0 0 1 .011 2.975l-.792 1.4a1 1 0 0 0 0 .985l.792 1.401a3 3 0 0 1-.012 2.974l-.439.761a3.001 3.001 0 0 1-2.575 1.503l-1.597.012a1 1 0 0 0-.854.494l-.811 1.382a3.001 3.001 0 0 1-2.588 1.481h-.87a3.001 3.001 0 0 1-2.588-1.481l-.811-1.382a1 1 0 0 0-.855-.494l-1.596-.012a3.001 3.001 0 0 1-2.576-1.503l-.438-.76a3 3 0 0 1-.013-2.975l.793-1.4a1 1 0 0 0 0-.985l-.793-1.4a3 3 0 0 1 .013-2.975l.438-.761A3.001 3.001 0 0 1 5.718 4.87l1.596-.013a1 1 0 0 0 .855-.494l.81-1.382Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M12.003 10.5a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3ZM8.502 12a3.5 3.5 0 1 1 7 .001 3.5 3.5 0 0 1-7-.001Z",
		clipRule: "evenodd"
	})),
	qK = h.forwardRef(qMe),
	YMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 2a1 1 0 0 1 .707.293l3 3a1 1 0 1 1-1.414 1.414L13 5.414V11.5a1 1 0 1 1-2 0V5.414L9.707 6.707a1 1 0 1 1-1.414-1.414l3-3A1 1 0 0 1 12 2ZM4.38 7.104a1 1 0 0 1 .451 1.341A7.963 7.963 0 0 0 4 12c0 2.194.882 4.18 2.313 5.627a1 1 0 0 1 .147 1.217L5.766 20H12a8 8 0 0 0 7.169-11.555 1 1 0 1 1 1.791-.89A9.963 9.963 0 0 1 22 12c0 5.523-4.477 10-10 10H4a1 1 0 0 1-.857-1.515l1.218-2.03A9.964 9.964 0 0 1 2 12c0-1.595.374-3.105 1.04-4.445a1 1 0 0 1 1.34-.45Z",
		clipRule: "evenodd"
	}));
h.forwardRef(YMe);
const XMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M12.707 3.293a1 1 0 0 0-1.414 0l-4 4a1 1 0 0 0 1.414 1.414L11 6.414V15a1 1 0 1 0 2 0V6.414l2.293 2.293a1 1 0 1 0 1.414-1.414l-4-4Z"
	}), h.createElement("path", {
		d: "M5 14a1 1 0 1 0-2 0v4a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-4a1 1 0 1 0-2 0v4a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-4Z"
	})),
	Sst = h.forwardRef(XMe),
	JMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M15.344 10.036a1 1 0 1 0-1.688-1.072l-2.474 3.896-.943-1.034a1 1 0 0 0-1.478 1.348l1.826 2a1 1 0 0 0 1.583-.138l3.174-5Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M13.203 1.935a3 3 0 0 0-2.405 0l-6 2.625A3 3 0 0 0 3 7.308V13a9 9 0 1 0 18 0V7.308a3 3 0 0 0-1.797-2.748l-6-2.625Zm-1.604 1.832a1 1 0 0 1 .802 0l6 2.625a1 1 0 0 1 .599.916V13a7 7 0 1 1-14 0V7.308a1 1 0 0 1 .6-.916l6-2.625Z",
		clipRule: "evenodd"
	})),
	xst = h.forwardRef(JMe),
	QMe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12.4 3.767a1 1 0 0 0-.8 0l-6 2.625a1 1 0 0 0-.6.916V13a7 7 0 1 0 14 0V7.308a1 1 0 0 0-.6-.916l-6-2.625Zm-1.603-1.832a3 3 0 0 1 2.405 0l6 2.625A3 3 0 0 1 21 7.308V13a9 9 0 1 1-18 0V7.308A3 3 0 0 1 4.798 4.56l6-2.625ZM12 9a1 1 0 1 0 0 2 1 1 0 0 0 0-2Zm1 3.83a3.001 3.001 0 1 0-2 0V16a1 1 0 0 0 1 1h1a1 1 0 1 0 0-2v-2.17Z",
		clipRule: "evenodd"
	}));
h.forwardRef(QMe);
const ePe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12.4 3.767a1 1 0 0 0-.8 0l-6 2.625a1 1 0 0 0-.6.916V13c0 1.714.616 3.283 1.638 4.5A6.985 6.985 0 0 1 12 15c2.153 0 4.078.972 5.362 2.5A6.971 6.971 0 0 0 19 13V7.308a1 1 0 0 0-.6-.916l-6-2.625Zm3.47 15.067A4.99 4.99 0 0 0 12 17a4.99 4.99 0 0 0-3.87 1.834A6.968 6.968 0 0 0 12 20c1.43 0 2.761-.43 3.87-1.166Zm-5.072-16.9a3 3 0 0 1 2.405 0l6 2.626A3 3 0 0 1 21 7.308V13a9 9 0 1 1-18 0V7.308A3 3 0 0 1 4.798 4.56l6-2.625ZM12 8.5a1.75 1.75 0 1 0 0 3.5 1.75 1.75 0 0 0 0-3.5Zm-3.75 1.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0Z",
		clipRule: "evenodd"
	})),
	Est = h.forwardRef(ePe),
	tPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M6 5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h2V5H6Zm4 0v14h8a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-8ZM3 6a3 3 0 0 1 3-3h12a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V6Z",
		clipRule: "evenodd"
	})),
	uD = h.forwardRef(tPe),
	nPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M18 5a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2V5h2Zm-4 0v14H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h8Zm7 1a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V6Z",
		clipRule: "evenodd"
	})),
	Cst = h.forwardRef(nPe),
	rPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M19.398 1.355a.4.4 0 0 0-.795 0c-.123 1.064-.44 1.802-.943 2.305-.503.503-1.241.82-2.306.943a.4.4 0 0 0 .001.794c1.047.119 1.801.436 2.317.942.512.504.836 1.241.93 2.296a.4.4 0 0 0 .796 0c.09-1.038.413-1.792.93-2.308.515-.516 1.269-.839 2.306-.928a.4.4 0 0 0 .001-.797c-1.055-.094-1.792-.418-2.296-.93-.506-.516-.823-1.27-.941-2.317Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M11 3a1 1 0 0 1 .984.821c.48 2.64 1.295 4.419 2.536 5.66 1.24 1.24 3.02 2.055 5.659 2.535a1 1 0 0 1 0 1.968c-2.64.48-4.419 1.295-5.66 2.536-1.24 1.24-2.055 3.02-2.535 5.659a1 1 0 0 1-1.968 0c-.48-2.64-1.295-4.419-2.536-5.66-1.24-1.24-3.02-2.055-5.659-2.535a1 1 0 0 1 0-1.968c2.64-.48 4.419-1.295 5.66-2.536 1.24-1.24 2.055-3.02 2.535-5.659A1 1 0 0 1 11 3ZM5.666 13c1.259.523 2.332 1.209 3.229 2.105.896.897 1.582 1.97 2.105 3.229.523-1.259 1.209-2.332 2.105-3.229.897-.896 1.97-1.582 3.229-2.105-1.259-.523-2.332-1.209-3.229-2.105-.896-.897-1.582-1.97-2.105-3.229-.523 1.259-1.209 2.332-2.105 3.229-.897.896-1.97 1.582-3.229 2.105Z",
		clipRule: "evenodd"
	}));
h.forwardRef(rPe);
const iPe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M7.401 4.035a5 5 0 0 1 9.198 0A5 5 0 0 1 21.197 12a5 5 0 0 1-4.598 7.965 5 5 0 0 1-9.198 0A5 5 0 0 1 2.803 12 5 5 0 0 1 7.4 4.035Zm1.908.638a4.997 4.997 0 0 1 2.495 4.32 3.058 3.058 0 0 0 1.152-.148A3.002 3.002 0 0 0 12 3a3 3 0 0 0-2.691 1.673Zm2.093 6.291A5.04 5.04 0 0 1 10.804 12a5.044 5.044 0 0 1 .598 1.036 5.027 5.027 0 0 1 1.196 0A5.02 5.02 0 0 1 13.196 12a5.033 5.033 0 0 1-.598-1.036 5.028 5.028 0 0 1-1.196 0Zm3.104-.636a3.059 3.059 0 0 0 .705.922 3.002 3.002 0 0 0 4.583-3.75A3.001 3.001 0 0 0 17 6.005a4.997 4.997 0 0 1-2.494 4.323Zm.195 3.006a3.053 3.053 0 0 0-.446 1.072 3.002 3.002 0 0 0 5.54 2.094 3.001 3.001 0 0 0-.104-3.167 4.997 4.997 0 0 1-4.99 0Zm-2.505 1.672A2.994 2.994 0 0 0 9 18a3.001 3.001 0 0 0 5.691 1.327 4.997 4.997 0 0 1-2.495-4.32Zm-2.702-1.334a2.996 2.996 0 0 0-4.677-.922A3.001 3.001 0 0 0 7 17.995a4.997 4.997 0 0 1 2.494-4.322ZM9.3 10.666a3.059 3.059 0 0 0 .446-1.072A3.002 3.002 0 0 0 4.205 7.5a3.001 3.001 0 0 0 .104 3.167 4.997 4.997 0 0 1 4.99 0Z",
	clipRule: "evenodd"
}));
h.forwardRef(iPe);
const oPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M5.949 4.683A2 2 0 0 1 7.454 4h9.092a2 2 0 0 1 1.505.683l3.5 4C22.683 9.976 21.765 12 20.046 12H3.954c-1.719 0-2.637-2.024-1.505-3.317l3.5-4ZM16.546 6H7.454l-3.5 4h16.092l-3.5-4Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		d: "M3 15a1 1 0 0 1 1-1h16a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Zm2 3a1 1 0 1 0 0 2h14a1 1 0 1 0 0-2H5Z"
	})),
	Ost = h.forwardRef(oPe),
	aPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M9.822 2.077c.956-1.696 3.4-1.696 4.356 0l2.085 3.7a.5.5 0 0 0 .337.245l4.164.84c1.91.386 2.664 2.71 1.346 4.143l-2.875 3.127a.5.5 0 0 0-.128.396l.487 4.22c.224 1.934-1.753 3.37-3.524 2.56l-3.862-1.768a.5.5 0 0 0-.416 0L7.93 21.308c-1.771.81-3.748-.626-3.524-2.56l.487-4.22a.5.5 0 0 0-.128-.396L1.89 11.005C.572 9.571 1.327 7.248 3.236 6.862l4.164-.84a.5.5 0 0 0 .336-.244l2.086-3.7Zm2.614.982a.5.5 0 0 0-.872 0L9.48 6.76a2.5 2.5 0 0 1-1.684 1.224l-4.163.84a.5.5 0 0 0-.27.828l2.875 3.127a2.5 2.5 0 0 1 .643 1.98l-.488 4.22a.5.5 0 0 0 .705.511l3.863-1.768a2.5 2.5 0 0 1 2.08 0l3.863 1.768a.5.5 0 0 0 .705-.512l-.488-4.22a2.5 2.5 0 0 1 .643-1.979l2.875-3.127a.5.5 0 0 0-.27-.828l-4.163-.84A2.5 2.5 0 0 1 14.52 6.76l-2.085-3.7Z",
		clipRule: "evenodd"
	}));
h.forwardRef(aPe);
const sPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M6.344 4.929a1 1 0 0 1 0 1.414 8 8 0 0 0 0 11.314 1 1 0 1 1-1.415 1.414c-3.905-3.905-3.905-10.237 0-14.142a1 1 0 0 1 1.415 0Zm11.314 0a1 1 0 0 1 1.415 0c3.905 3.905 3.905 10.237 0 14.142a1 1 0 0 1-1.415-1.414 8 8 0 0 0 0-11.314 1 1 0 0 1 0-1.414Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M9.172 7.757a1 1 0 0 1 0 1.415 4 4 0 0 0 0 5.656 1 1 0 1 1-1.414 1.415 6 6 0 0 1 0-8.486 1 1 0 0 1 1.414 0Zm5.658 0a1 1 0 0 1 1.414 0 6 6 0 0 1 0 8.486 1 1 0 0 1-1.414-1.415 4 4 0 0 0 0-5.656 1 1 0 0 1 0-1.415Z",
		clipRule: "evenodd"
	}), h.createElement("path", {
		d: "M14.001 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z"
	})),
	Tst = h.forwardRef(sPe),
	uPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm-2 7a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h4a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-4Z",
		clipRule: "evenodd"
	})),
	Rst = h.forwardRef(uPe),
	lPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M6 8a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2V8Z"
	})),
	Ist = h.forwardRef(lPe),
	cPe = (e, t) => h.createElement("svg", {
		width: "1em",
		height: "1em",
		viewBox: "0 0 20 20",
		fill: "currentColor",
		xmlns: "http://www.w3.org/2000/svg",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		clipRule: "evenodd",
		d: "M10.8658 18.3114C10.8691 18.3113 10.8724 18.3112 10.8758 18.311C12.3521 18.2356 13.7005 17.9703 14.7085 17.5585C15.2099 17.3536 15.6698 17.0953 16.018 16.7706C16.367 16.445 16.6666 15.9887 16.6666 15.4165V4.58317C16.6666 3.9551 16.3079 3.46939 15.9125 3.13553C15.5132 2.79841 14.9849 2.53236 14.405 2.32525C14.2591 2.27315 14.1071 2.22378 13.9496 2.17727C12.8466 1.85173 11.4703 1.6665 9.99992 1.6665C8.31943 1.6665 6.76192 1.90843 5.59485 2.32525C5.5586 2.33819 5.52256 2.35137 5.48674 2.36477C4.9494 2.56589 4.46167 2.81948 4.08737 3.13553C3.69198 3.46939 3.33325 3.9551 3.33325 4.58317V15.4165C3.33325 15.9887 3.63282 16.445 3.98186 16.7706C4.33001 17.0953 4.78992 17.3536 5.29133 17.5585C6.29937 17.9703 7.64778 18.2356 9.12407 18.311C9.13612 18.3116 9.14812 18.312 9.16007 18.3121L9.16484 18.3121C9.16647 18.3121 9.1681 18.3121 9.16973 18.3121H10.8301C10.8317 18.3121 10.8334 18.3121 10.835 18.3121L10.8658 18.3114ZM5.14387 4.74126C5.05378 4.66233 5.01838 4.6091 5.0052 4.58317C5.01926 4.55551 5.0586 4.49679 5.16262 4.40896C5.35374 4.24758 5.67969 4.06472 6.15541 3.89482C6.27343 3.85267 6.39794 3.81228 6.52847 3.77387C7.44222 3.50501 8.6514 3.33317 9.99992 3.33317C11.5411 3.33317 12.9003 3.55761 13.8444 3.89482C14.2607 4.04348 14.5623 4.20207 14.7592 4.3475C14.7873 4.36828 14.8133 4.38878 14.8372 4.40896C14.9412 4.49679 14.9806 4.55551 14.9946 4.58317C14.9806 4.61083 14.9412 4.66955 14.8372 4.75739C14.8133 4.77756 14.7873 4.79806 14.7592 4.81884C14.5623 4.96427 14.2607 5.12286 13.8444 5.27152C12.9003 5.60873 11.5411 5.83317 9.99992 5.83317C8.45875 5.83317 7.09959 5.60873 6.15541 5.27152C5.67969 5.10163 5.35374 4.91876 5.16262 4.75739L5.14387 4.74126ZM14.405 6.84109C14.611 6.76753 14.8104 6.68653 14.9999 6.59755V9.9887C14.9931 10.0059 14.9672 10.0549 14.8811 10.1352C14.7335 10.2729 14.4734 10.4375 14.0782 10.5989C13.2929 10.9197 12.1414 11.1608 10.7907 11.2298L10.7822 11.2303H9.21767L9.2091 11.2298C7.85848 11.1608 6.70689 10.9197 5.92166 10.5989C5.52643 10.4375 5.26639 10.2729 5.11874 10.1352C5.03268 10.0549 5.00669 10.0059 4.99992 9.9887V6.59755C5.18941 6.68653 5.38887 6.76753 5.59485 6.84109C6.76192 7.25791 8.31943 7.49984 9.99992 7.49984C11.6804 7.49984 13.2379 7.25791 14.405 6.84109ZM9.16007 12.9002V12.8954C9.14812 12.8953 9.13612 12.8949 9.12407 12.8943C7.64778 12.8189 6.29937 12.5536 5.29133 12.1418C5.1924 12.1014 5.09508 12.0589 4.99992 12.0142V15.4054C5.00669 15.4226 5.03268 15.4716 5.11874 15.5518C5.26639 15.6896 5.52643 15.8541 5.92166 16.0156C6.69737 16.3325 7.83061 16.5716 9.16007 16.6439V16.6422H10.8658C12.184 16.5682 13.3075 16.3304 14.0782 16.0156C14.4734 15.8541 14.7335 15.6896 14.8811 15.5518C14.9672 15.4716 14.9931 15.4226 14.9999 15.4054V12.0142C14.9048 12.0589 14.8074 12.1014 14.7085 12.1418C13.7005 12.5536 12.3521 12.8189 10.8758 12.8943L10.8658 12.8948V12.9002H9.16007Z",
		fill: "currentColor"
	})),
	kst = h.forwardRef(cPe),
	fPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M13 13a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M7 6V5a3 3 0 0 1 3-3h4a3 3 0 0 1 3 3v1h2a3 3 0 0 1 3 3v9a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h2Zm2-1a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v1H9V5Zm10 3a1 1 0 0 1 1 1v3.5a2.5 2.5 0 0 1-2.5 2.5H6a2 2 0 0 1-2-2V9a1 1 0 0 1 1-1h14ZM4 16.465c.588.34 1.271.535 2 .535h11.5c.925 0 1.785-.28 2.5-.758V18a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-1.535Z",
		clipRule: "evenodd"
	})),
	Ast = h.forwardRef(fPe),
	dPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M5 4a3 3 0 0 0-3 3v8a3 3 0 0 0 3 3h3v2a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-2h3a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3H5Zm9 14v1h-4v-1h4Zm5-2a1 1 0 0 0 1-1V7a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h14Z",
		clipRule: "evenodd"
	})),
	pPe = h.forwardRef(dPe),
	hPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M4 5a1 1 0 0 1 1-1h6.172a1 1 0 0 1 .707.293l8 8a1 1 0 0 1 0 1.414l-6.172 6.172a1 1 0 0 1-1.414 0l-8-8A1 1 0 0 1 4 11.172V5Zm1-3a3 3 0 0 0-3 3v6.172a3 3 0 0 0 .879 2.12l8 8a3 3 0 0 0 4.242 0l6.172-6.17a3 3 0 0 0 0-4.243l-8-8A3 3 0 0 0 11.172 2H5Zm3 7a1 1 0 1 1 2 0 1 1 0 0 1-2 0Zm1-3a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z",
		clipRule: "evenodd"
	}));
h.forwardRef(hPe);
const vPe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M15.572 7.634c-1.126-2.933-4.536-4.418-7.662-3.218-3.126 1.2-4.667 4.586-3.541 7.519.13.338.29.656.474.952a1 1 0 0 1-1.696 1.06 7.552 7.552 0 0 1-.645-1.296C.956 8.624 3.1 4.121 7.192 2.55c4.094-1.57 8.7.34 10.247 4.368.034.09.067.18.098.271a1 1 0 0 1-1.893.646 5.514 5.514 0 0 0-.072-.2ZM10.994 9.66a1 1 0 1 0-1.868.717l2.15 5.602a1 1 0 0 1-1.236 1.311l-1.126-.359c-.793-.215-1.33.017-1.647.35l3.391 2.967a1 1 0 0 1-1.316 1.506l-3.507-3.069c-.538-.47-.975-1.442-.382-2.328.646-.965 1.809-1.63 3.254-1.49L7.26 11.093a3 3 0 0 1 5.602-2.15l1.071 2.791c.919-.324 1.84-.535 2.718-.592 1.188-.077 2.367.125 3.335.787 2.014 1.378 2.504 4.237 1.485 8.313a1 1 0 1 1-1.94-.485c.98-3.923.221-5.564-.675-6.177-.487-.334-1.178-.5-2.076-.442-.896.058-1.931.337-3.017.813a1 1 0 0 1-1.335-.557l-1.433-3.735Z",
	clipRule: "evenodd"
}));
h.forwardRef(vPe);
const gPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M4 5a3 3 0 0 1 3-3h10a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3v-2a1 1 0 1 1 0-2v-2a1 1 0 1 1 0-2V9a1 1 0 0 1 0-2V5Zm2 4a1 1 0 0 0 0-2V5a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-2a1 1 0 1 0 0-2v-2a1 1 0 1 0 0-2V9Zm3-1a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Zm0 4a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Z",
		clipRule: "evenodd"
	})),
	Mst = h.forwardRef(gPe),
	mPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 4a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v1.778a1 1 0 0 1-2 0V5H8v6h.334a1 1 0 1 1 0 2H5.667a1 1 0 1 1 0-2H6V5H4v.778a1 1 0 0 1-2 0V4Zm12.001 3a1 1 0 0 1 1 1v12a1 1 0 0 1-2 0V8a1 1 0 0 1 1-1Zm3.5 3a1 1 0 0 1 1 1v6a1 1 0 0 1-2 0v-6a1 1 0 0 1 1-1Zm3.5 2a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Zm-10.5 2a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1Z",
		clipRule: "evenodd"
	}));
h.forwardRef(mPe);
const yPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M2 6a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8v5a1 1 0 1 1-2 0V7H3a1 1 0 0 1-1-1Zm14 0a1 1 0 0 1 1-1h4a1 1 0 1 1 0 2h-4a1 1 0 0 1-1-1Zm-4 6a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2h-8a1 1 0 0 1-1-1Zm-9 6a1 1 0 0 1 1-1h17a1 1 0 1 1 0 2H4a1 1 0 0 1-1-1Z",
		clipRule: "evenodd"
	})),
	Pst = h.forwardRef(yPe),
	wPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M8.522 6.536a7.25 7.25 0 1 1 11.996 8.106l.83 1.328a1 1 0 0 1-.848 1.53h-5.044a7.246 7.246 0 0 1-6.389 3.498A1.004 1.004 0 0 1 9 21H3.5a1 1 0 0 1-.848-1.53l.83-1.328a7.25 7.25 0 0 1 5.04-11.606Zm2.372.151a7.253 7.253 0 0 1 5.393 8.813h2.409l-.261-.417a1 1 0 0 1 .123-1.219 5.25 5.25 0 1 0-7.664-7.177ZM8.895 19a.997.997 0 0 1 .141-.004A5.25 5.25 0 1 0 4 13.75c0 1.401.547 2.672 1.442 3.614a1 1 0 0 1 .123 1.219l-.26.417h3.59Z",
		clipRule: "evenodd"
	})),
	Lst = h.forwardRef(wPe),
	_Pe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M11.873 21.496a1 1 0 0 1-.992.496l-.454-.056A4 4 0 0 1 7.1 16.79L7.65 15h-.718c-2.637 0-4.553-2.508-3.859-5.052l1.364-5A4 4 0 0 1 8.296 2h9.709a3 3 0 0 1 3 3v7a3 3 0 0 1-3 3h-2c-.26 0-.5.14-.628.364l-3.504 6.132ZM14.005 4h-5.71a2 2 0 0 0-1.929 1.474l-1.363 5A2 2 0 0 0 6.933 13h2.072a1 1 0 0 1 .955 1.294l-.949 3.084a2 2 0 0 0 1.462 2.537l3.167-5.543a2.723 2.723 0 0 1 1.364-1.182V5a1 1 0 0 0-1-1Zm3 9V5c0-.35-.06-.687-.171-1h1.17a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1h-1Z",
		clipRule: "evenodd"
	})),
	Nst = h.forwardRef(_Pe),
	bPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12.132 2.504a1 1 0 0 1 .992-.496l.454.056a4 4 0 0 1 3.327 5.146L16.354 9h.718c2.638 0 4.553 2.508 3.86 5.053l-1.364 5A4 4 0 0 1 15.708 22H6a3 3 0 0 1-3-3v-7a3 3 0 0 1 3-3h2c.26 0 .5-.14.628-.364l3.504-6.132ZM10 20h5.709a2 2 0 0 0 1.93-1.474l1.363-5A2 2 0 0 0 17.072 11H15a1 1 0 0 1-.956-1.294l.95-3.084a2 2 0 0 0-1.462-2.537l-3.168 5.543A2.723 2.723 0 0 1 9 10.81V19a1 1 0 0 0 1 1Zm-3-9v8c0 .35.06.687.17 1H6a1 1 0 0 1-1-1v-7a1 1 0 0 1 1-1h1Z",
		clipRule: "evenodd"
	})),
	Dst = h.forwardRef(bPe),
	SPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fill: "none",
		stroke: "currentColor",
		strokeLinecap: "round",
		strokeLinejoin: "round",
		strokeWidth: 1.5,
		d: "M9 2h6m-3 8v4m0 8a8 8 0 1 0 0-16a8 8 0 0 0 0 16"
	}));
h.forwardRef(SPe);
const xPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M14.5 4a5.5 5.5 0 0 0-5.078 7.616 1 1 0 0 1-.216 1.092l-4.749 4.75a1.475 1.475 0 0 0 2.086 2.085l4.749-4.749a1 1 0 0 1 1.092-.216A5.5 5.5 0 0 0 20 9.414l-1.293 1.293a3.828 3.828 0 1 1-5.414-5.414L14.585 4H14.5ZM7 9.5a7.5 7.5 0 0 1 9.969-7.084 1 1 0 0 1 .378 1.651l-2.64 2.64a1.829 1.829 0 0 0 2.586 2.586l2.64-2.64a1 1 0 0 1 1.651.378 7.5 7.5 0 0 1-9.328 9.627l-4.299 4.3a3.475 3.475 0 0 1-4.914-4.915l4.299-4.299A7.497 7.497 0 0 1 7 9.5Z"
	})),
	$st = h.forwardRef(xPe),
	EPe = (e, t) => h.createElement("svg", {
		width: "1em",
		height: "1em",
		viewBox: "0 0 16 16",
		fill: "none",
		xmlns: "http://www.w3.org/2000/svg",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		clipRule: "evenodd",
		d: "M12.1953 3.80424C10.9828 2.59183 9.01714 2.59183 7.80473 3.80424L7.13806 4.47091C6.87771 4.73126 6.4556 4.73126 6.19525 4.47091C5.9349 4.21056 5.9349 3.78845 6.19525 3.5281L6.86192 2.86143C8.59503 1.12832 11.405 1.12832 13.1381 2.86143C14.8712 4.59454 14.8712 7.40446 13.1381 9.13757L12.4714 9.80424C12.211 10.0646 11.7889 10.0646 11.5286 9.80424C11.2682 9.54389 11.2682 9.12178 11.5286 8.86143L12.1953 8.19476C13.4077 6.98236 13.4077 5.01665 12.1953 3.80424ZM4.4714 6.19477C4.73175 6.45511 4.73175 6.87722 4.4714 7.13757L3.80473 7.80424C2.59232 9.01665 2.59232 10.9824 3.80473 12.1948C5.01714 13.4072 6.98284 13.4072 8.19525 12.1948L8.86192 11.5281C9.12227 11.2677 9.54438 11.2677 9.80473 11.5281C10.0651 11.7884 10.0651 12.2106 9.80473 12.4709L9.13806 13.1376C7.40495 14.8707 4.59503 14.8707 2.86192 13.1376C1.12881 11.4045 1.12881 8.59454 2.86192 6.86143L3.52859 6.19477C3.78894 5.93442 4.21105 5.93442 4.4714 6.19477Z",
		fill: "#282828"
	}), h.createElement("path", {
		fillRule: "evenodd",
		clipRule: "evenodd",
		d: "M4.17164 0.686078C4.52883 0.596779 4.89079 0.813953 4.98009 1.17115L5.31342 2.50448C5.40272 2.86168 5.18555 3.22364 4.82835 3.31294C4.47116 3.40223 4.1092 3.18506 4.0199 2.82786L3.68657 1.49453C3.59727 1.13733 3.81444 0.775377 4.17164 0.686078ZM0.686567 4.17115C0.775866 3.81395 1.13782 3.59678 1.49502 3.68608L2.82835 4.01941C3.18555 4.10871 3.40272 4.47067 3.31342 4.82786C3.22412 5.18506 2.86217 5.40223 2.50497 5.31293L1.17164 4.9796C0.814441 4.8903 0.597267 4.52835 0.686567 4.17115ZM12.6866 11.1712C12.7759 10.814 13.1378 10.5968 13.495 10.6861L14.8284 11.0194C15.1855 11.1087 15.4027 11.4707 15.3134 11.8279C15.2241 12.1851 14.8622 12.4022 14.505 12.3129L13.1716 11.9796C12.8144 11.8903 12.5973 11.5283 12.6866 11.1712ZM11.1716 12.6861C11.5288 12.5968 11.8908 12.814 11.9801 13.1711L12.3134 14.5045C12.4027 14.8617 12.1855 15.2236 11.8284 15.3129C11.4712 15.4022 11.1092 15.1851 11.0199 14.8279L10.6866 13.4945C10.5973 13.1373 10.8144 12.7754 11.1716 12.6861Z",
		fill: "#353740"
	}));
h.forwardRef(EPe);
const CPe = (e, t) => h.createElement("svg", {
	xmlns: "http://www.w3.org/2000/svg",
	width: "1em",
	height: "1em",
	fill: "currentColor",
	viewBox: "0 0 24 24",
	ref: t,
	...e
}, h.createElement("path", {
	fillRule: "evenodd",
	d: "M12.964 3.215a3.002 3.002 0 0 1 4.55-.32l3.622 3.674a3.003 3.003 0 0 1-.388 4.547l-2.152 1.545a1 1 0 1 1-1.167-1.626l2.152-1.545a1 1 0 0 0 .13-1.516L16.088 4.3a1 1 0 0 0-1.517.107l-1.76 2.375a1 1 0 1 1-1.608-1.192l1.76-2.375Zm-9.67.061a1 1 0 0 1 1.415 0l16.013 16.015a1.001 1.001 0 0 1-1.416 1.415l-3.295-3.296v.145c0 1.292-.827 2.44-2.053 2.848l-.46.154a3.002 3.002 0 0 1-3.072-.726l-2.421-2.42-4.297 4.296a1 1 0 1 1-1.415-1.416l4.296-4.296-2.42-2.421a3.003 3.003 0 0 1-.726-3.073l.154-.46a3.002 3.002 0 0 1 2.848-2.053h.144L3.294 4.692a1.001 1.001 0 0 1 0-1.416ZM8.59 9.99H6.445a1 1 0 0 0-.95.685l-.153.46a1 1 0 0 0 .242 1.024l3.128 3.128v.002l3.129 3.128a1 1 0 0 0 1.024.241l.46-.153a1 1 0 0 0 .684-.95v-2.146L8.591 9.99Z",
	clipRule: "evenodd"
}));
h.forwardRef(CPe);
const OPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M11.33 5a1 1 0 0 0-1 1v13h3.33V6a1 1 0 0 0-1-1h-1.33Zm4.33 14H18a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1h-2.34v10Zm0-12V6a3 3 0 0 0-3-3h-1.33a3 3 0 0 0-3 3v5H6a3 3 0 0 0-3 3v4a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3v-8a3 3 0 0 0-3-3h-2.34Zm-7.33 6H6a1 1 0 0 0-1 1v4a1 1 0 0 0 1 1h2.33v-6Z",
		clipRule: "evenodd"
	})),
	Fst = h.forwardRef(OPe),
	TPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M10 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM5 7a5 5 0 1 1 10 0A5 5 0 0 1 5 7Zm15 1a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2V9a1 1 0 0 1 1-1ZM4 21c0-2.062.763-3.535 1.852-4.503C6.959 15.514 8.463 15 10 15c1.537 0 3.041.514 4.148 1.497C15.237 17.465 16 18.938 16 21a1 1 0 1 0 2 0c0-2.605-.987-4.632-2.523-5.997C13.959 13.653 11.963 13 10 13c-1.963 0-3.959.653-5.477 2.003C2.987 16.368 2 18.395 2 21a1 1 0 1 0 2 0Z",
		clipRule: "evenodd"
	}));
h.forwardRef(TPe);
const RPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM7 7a5 5 0 1 1 10 0A5 5 0 0 1 7 7Zm10.5 7.5a1 1 0 0 0-1 1v.5h2v-.5a1 1 0 0 0-1-1Zm3 1.708V15.5a3 3 0 1 0-6 0v.708A2.5 2.5 0 0 0 13 18.5v2a2.5 2.5 0 0 0 2.5 2.5h4a2.5 2.5 0 0 0 2.5-2.5v-2a2.5 2.5 0 0 0-1.5-2.292Zm-8.505-2.257a1 1 0 0 1-.897 1.093c-1.652.162-3.19.765-4.296 1.756C5.715 17.772 5 19.15 5 21a1 1 0 1 1-2 0c0-2.428.965-4.346 2.468-5.69 1.483-1.327 3.446-2.061 5.434-2.256a1 1 0 0 1 1.093.897ZM15.5 18a.5.5 0 0 0-.5.5v2a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-2a.5.5 0 0 0-.5-.5h-4Z",
		clipRule: "evenodd"
	})),
	jst = h.forwardRef(RPe),
	IPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6ZM7 7a5 5 0 1 1 10 0A5 5 0 0 1 7 7Zm5 8c-3.656 0-6.5 2.75-6.5 6a1 1 0 1 1-2 0c0-4.482 3.872-8 8.5-8s8.5 3.518 8.5 8a1 1 0 1 1-2 0c0-3.25-2.844-6-6.5-6Z",
		clipRule: "evenodd"
	})),
	Ust = h.forwardRef(IPe),
	kPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M7.5 5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5ZM3 7.5a4.5 4.5 0 1 1 9 0 4.5 4.5 0 0 1-9 0ZM17 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm-4 2a4 4 0 1 1 8 0 4 4 0 0 1-8 0Zm-8.96 8.247C3.137 17.048 2.5 18.271 2.5 20a1 1 0 1 1-2 0c0-2.271.862-4.049 2.21-5.248C4.042 13.57 5.788 13 7.5 13s3.459.57 4.79 1.752c1.348 1.2 2.21 2.977 2.21 5.248a1 1 0 1 1-2 0c0-1.729-.638-2.952-1.54-3.753C10.042 15.43 8.788 15 7.5 15s-2.541.43-3.46 1.247Zm15.757-.607c-1.009-.638-2.338-.807-3.526-.472a1 1 0 0 1-.542-1.925c1.695-.478 3.616-.255 5.136.706 1.558.984 2.635 2.707 2.635 5.051a1 1 0 1 1-2 0c0-1.665-.732-2.746-1.703-3.36Z",
		clipRule: "evenodd"
	}));
h.forwardRef(kPe);
const APe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M17.928 1.629a1 1 0 0 1-.554 1.298h-.001l-.002.001L17 2l-.372-.928a1 1 0 0 1 1.3.557Zm-1.3-.557L17 2l.371.928-.001.001-.029.012a8.059 8.059 0 0 0-.647.328c-.438.248-1.038.633-1.665 1.175-1.044.902-2.148 2.22-2.748 4.056H14a1 1 0 0 1 .993 1.12v.001L14 9.5l.992.121-.002.02-.008.083a8.846 8.846 0 0 0-.004 1.427c.075.91.306 1.719.73 2.142.384.385 1.02.519 1.752.476a5.466 5.466 0 0 0 1.211-.214l.01-.003.304.904-.303-.904h.001a1 1 0 0 1 .636 1.896l-.32-.948.32.948h-.003l-.004.002-.01.004-.033.01c-.026.008-.063.02-.108.032a7.455 7.455 0 0 1-1.586.27c-.922.053-2.286-.063-3.282-1.059-.958-.958-1.227-2.4-1.307-3.394a10.492 10.492 0 0 1-.034-.813H11a1 1 0 0 1-.984-1.179c.552-3.034 2.21-5.099 3.705-6.39a12.395 12.395 0 0 1 1.99-1.403 10.042 10.042 0 0 1 .89-.445l.017-.007.006-.003h.003v-.001ZM5.033 12a1 1 0 0 1 .97 1.03 8.004 8.004 0 0 0 6.01 7.975 1 1 0 0 1-.494 1.938 10.004 10.004 0 0 1-7.515-9.973 1 1 0 0 1 1.03-.97Zm3.916.565a1 1 0 0 1 1.059.937 4.006 4.006 0 0 0 2.654 3.523 1 1 0 0 1-.667 1.886 6.006 6.006 0 0 1-3.983-5.287 1 1 0 0 1 .937-1.06ZM18.5 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z",
		clipRule: "evenodd"
	})),
	Hst = h.forwardRef(APe),
	MPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M13 12a1 1 0 1 0-2 0v4a1 1 0 1 0 2 0v-4Zm-1-2.5A1.25 1.25 0 1 0 12 7a1.25 1.25 0 0 0 0 2.5Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z",
		clipRule: "evenodd"
	})),
	Vst = h.forwardRef(MPe),
	PPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 5a1 1 0 0 1 1 1v12a1 1 0 1 1-2 0V6a1 1 0 0 1 1-1Zm4 5a1 1 0 0 1 1 1v2a1 1 0 1 1-2 0v-2a1 1 0 0 1 1-1Zm5-1a1 1 0 1 0-2 0v6a1 1 0 1 0 2 0V9ZM8 8a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V9a1 1 0 0 1 1-1Zm-3 3a1 1 0 1 0-2 0v2a1 1 0 1 0 2 0v-2Z",
		clipRule: "evenodd"
	})),
	Bst = h.forwardRef(PPe),
	LPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M3 6a3 3 0 0 1 3-3h6a3 3 0 0 1 3 3v1h3a3 3 0 0 1 3 3v9h1a1 1 0 1 1 0 2H2a1 1 0 1 1 0-2h1V6Zm2 13h3v-2a1 1 0 1 1 2 0v2h3V6a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1v13Zm10 0h4v-9a1 1 0 0 0-1-1h-3v10Z",
		clipRule: "evenodd"
	})),
	NPe = h.forwardRef(LPe),
	DPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M16.22 2.805a3 3 0 0 0-3.446-.57L6.475 5.333a3 3 0 0 0-1.643 2.251L3.01 19.854a1 1 0 0 0 1.137 1.135l12.256-1.838a3 3 0 0 0 2.244-1.636l3.111-6.285a3 3 0 0 0-.567-3.452L16.22 2.805ZM13.657 4.03a1 1 0 0 1 1.148.19l4.973 4.973a1 1 0 0 1 .19 1.15l-3.112 6.286a1 1 0 0 1-.748.545l-9.276 1.391 4.947-4.947a2.5 2.5 0 1 0-1.414-1.414L5.437 17.13 6.81 7.878a1 1 0 0 1 .548-.75l6.299-3.099Z",
		clipRule: "evenodd"
	}));
h.forwardRef(DPe);
const $Pe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2Zm-1.793 6.793a1 1 0 0 0-1.414 1.414L10.586 12l-1.793 1.793a1 1 0 1 0 1.414 1.414L12 13.414l1.793 1.793a1 1 0 0 0 1.414-1.414L13.414 12l1.793-1.793a1 1 0 0 0-1.414-1.414L12 10.586l-1.793-1.793Z",
		clipRule: "evenodd"
	})),
	zst = h.forwardRef($Pe),
	FPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		d: "M10.207 8.793a1 1 0 0 0-1.414 1.414L10.586 12l-1.793 1.793a1 1 0 1 0 1.414 1.414L12 13.414l1.793 1.793a1 1 0 0 0 1.414-1.414L13.414 12l1.793-1.793a1 1 0 0 0-1.414-1.414L12 10.586l-1.793-1.793Z"
	}), h.createElement("path", {
		fillRule: "evenodd",
		d: "M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Z",
		clipRule: "evenodd"
	})),
	Gst = h.forwardRef(FPe),
	jPe = (e, t) => h.createElement("svg", {
		xmlns: "http://www.w3.org/2000/svg",
		width: "1em",
		height: "1em",
		fill: "currentColor",
		viewBox: "0 0 24 24",
		ref: t,
		...e
	}, h.createElement("path", {
		fillRule: "evenodd",
		d: "M5.636 5.636a1 1 0 0 1 1.414 0l4.95 4.95 4.95-4.95a1 1 0 0 1 1.414 1.414L13.414 12l4.95 4.95a1 1 0 0 1-1.414 1.414L12 13.414l-4.95 4.95a1 1 0 0 1-1.414-1.414l4.95-4.95-4.95-4.95a1 1 0 0 1 0-1.414Z",
		clipRule: "evenodd"
	})),
	UPe = h.forwardRef(jPe),
	HPe = xt("div", {
		target: "ee0cuan0"
	})("max-width:100%;margin:15vh auto 0;display:flex;flex-direction:column;align-items:center;"),
	VPe = xt("div", {
		target: "ee0cuan1"
	})("font-size:18px;color:var(--gray-900);font-weight:bold;margin:16px 0 8px;"),
	BPe = xt("div", {
		target: "ee0cuan2"
	})("font-size:18px;color:var(--gray-900);");

function zPe() {
	return C.jsx("div", {
		className: "page-body",
		children: C.jsx(GPe, {
			className: "mt-8"
		})
	})
}

function GPe(e) {
	const {
		loginWithRedirect: t
	} = ft(), n = h.useCallback(() => {
		const {
			pathname: i,
			search: o,
			hash: a
		} = window.location, s = t({
			appState: {
				targetPath: i + o + a
			}
		});
		s && s.catch(u => {
			console.error(u)
		})
	}, [t]), r = h.useCallback(() => {
		const {
			pathname: i,
			search: o,
			hash: a
		} = window.location, s = t({
			appState: {
				targetPath: i + o + a
			},
			screen_hint: "signup"
		});
		s && s.catch(u => {
			console.error(u)
		})
	}, [t]);
	return C.jsxs(HPe, {
		...e,
		children: [C.jsx(Jb, {
			color: "var(--gray-400)",
			width: "36px",
			height: "36px"
		}), C.jsx(VPe, {
			children: "Authentication required"
		}), C.jsx(BPe, {
			children: "Please log in to access this page"
		}), C.jsxs("p", {
			children: [C.jsx(ir, {
				size: "small",
				color: Ci.neutral,
				onClick: n,
				children: "Log in"
			}), C.jsx(ir, {
				size: "small",
				color: Ci.neutral,
				onClick: r,
				children: "Sign up"
			})]
		})]
	})
}
const YK = e => {
		if (!(e.target instanceof HTMLElement)) return;
		const t = e.target,
			r = t.offsetWidth >= 300 ? ".99" : ".95";
		t.style.setProperty("--scale", r)
	},
	HC = e => {
		let t = requestAnimationFrame(() => {
			t = requestAnimationFrame(e)
		});
		return () => {
			cancelAnimationFrame(t)
		}
	},
	Qb = e => Object.keys(e).reduce((n, r) => {
		const i = e[r];
		if (i || i === 0) {
			const o = r.startsWith("--") ? "" : "--",
				a = typeof i == "number" ? "".concat(i, "px") : i;
			n["".concat(o).concat(r)] = a
		}
		return n
	}, {}),
	WPe = "jYGOC",
	KPe = "qCm0E",
	ZPe = "_8ufcO",
	qPe = "mImKu",
	YPe = "_9uyMP",
	XPe = "ar3Zu",
	Zp = {
		AvatarTrigger: WPe,
		Avatar: KPe,
		AvatarImageContainer: ZPe,
		AvatarImage: qPe,
		AvatarInitial: YPe,
		AvatarIcon: XPe
	},
	wT = h.forwardRef((e, t) => {
		const n = eLe(e.imageUrl);
		return h.createElement(JPe, {
			...e,
			imageUrl: n,
			ref: t,
			key: n
		})
	}),
	JPe = h.forwardRef((e, t) => {
		const {
			size: n,
			name: r,
			variant: i = "light",
			initialNudge: o,
			imageUrl: a,
			Icon: s,
			onClick: u,
			...l
		} = e, [c, d] = h.useState(), p = {
			onClick: u,
			...l
		};
		return C.jsx(QPe, {
			...p,
			ref: t,
			children: C.jsx("span", {
				className: Zp.Avatar,
				style: Qb({
					"avatar-size": n,
					"avatar-initial-nudge": o
				}),
				role: "presentation",
				"data-variant": i,
				children: a && c !== "error" ? C.jsx(tLe, {
					status: c,
					url: a,
					onError: () => d("error"),
					onLoad: () => d("loaded")
				}) : s ? C.jsx(s, {
					className: Zp.AvatarIcon
				}) : C.jsx(nLe, {
					name: r
				})
			})
		})
	}),
	QPe = h.forwardRef(({
		children: e,
		...t
	}, n) => !(t.onPointerDown || t.onClick) ? C.jsx(C.Fragment, {
		children: e
	}) : C.jsx("button", {
		className: Zp.AvatarTrigger,
		ref: n,
		type: "button",
		...t,
		children: e
	})),
	eLe = e => {
		if (e && !(e.includes("gravatar.com") && e.includes("cdn.auth0.com"))) return e
	},
	tLe = ({
		url: e,
		status: t,
		onLoad: n,
		onError: r
	}) => C.jsx("div", {
		className: Zp.AvatarImageContainer,
		children: C.jsx("img", {
			src: e,
			className: Zp.AvatarImage,
			"data-loaded": t === "loaded" ? "" : void 0,
			onLoad: n,
			onError: r,
			alt: "",
			role: "presentation"
		})
	}),
	nLe = ({
		name: e = ""
	}) => {
		const t = h.useMemo(() => e.charAt(0).toUpperCase(), [e]);
		return C.jsx("div", {
			className: Zp.AvatarInitial,
			children: t
		})
	},
	rLe = "_3eM4t",
	iLe = "WvIOg",
	oLe = {
		LoadingIndicator: rLe,
		rotate: iLe
	},
	aLe = () => C.jsx("div", {
		className: oLe.LoadingIndicator
	});

function sLe(e) {
	return t => {
		e.forEach(n => {
			typeof n == "function" ? n(t) : n != null && (n.current = t)
		})
	}
}
const uLe = () => H0,
	XK = {
		enter: !1,
		enterActive: !1,
		exit: !1,
		exitActive: !1,
		interrupted: !1
	},
	lLe = e => ({
		...XK,
		enter: !e
	}),
	cLe = (e, t) => {
		switch (t.type) {
			case "enter-before":
				return {
					enter: !0, enterActive: !1, exit: !1, exitActive: !1, interrupted: e.interrupted || e.exit
				};
			case "enter-active":
				return {
					enter: !0, enterActive: !0, exit: !1, exitActive: !1, interrupted: !1
				};
			case "exit-before":
				return {
					enter: !1, enterActive: !1, exit: !0, exitActive: !1, interrupted: e.interrupted || e.enter
				};
			case "exit-active":
				return {
					enter: !1, enterActive: !1, exit: !0, exitActive: !0, interrupted: !1
				};
			case "done":
			default:
				return XK
		}
	},
	fLe = h.forwardRef(({
		as: e,
		children: t,
		className: n,
		preventMountTransition: r,
		shouldRender: i,
		enterDuration: o,
		exitDuration: a,
		removeChild: s,
		onEnter: u,
		onEnterActive: l,
		onEnterComplete: c,
		onExit: d,
		onExitActive: p,
		onExitComplete: g
	}, m) => {
		const [_, S] = h.useReducer(cLe, lLe(r || !1)), y = h.useRef(!1), w = h.useRef(null), b = h.useRef(o);
		b.current = o;
		const E = h.useRef(a);
		return E.current = a, J.useEffect(() => {
			const T = w.current;
			if (!i) {
				let k;
				S({
					type: "exit-before"
				}), T && d(T);
				const M = HC(() => {
					S({
						type: "exit-active"
					}), T && p(T), k = setTimeout(() => {
						T && g(T), s()
					}, E.current)
				});
				return () => {
					M(), k !== void 0 && clearTimeout(k)
				}
			}
			if (r && !y.current) {
				y.current = !0;
				return
			}
			let O;
			S({
				type: "enter-before"
			}), T && u(T);
			const R = HC(() => {
				S({
					type: "enter-active"
				}), T && l(T), O = setTimeout(() => {
					S({
						type: "done"
					}), T && c(T)
				}, b.current)
			});
			return () => {
				R(), O !== void 0 && clearTimeout(O)
			}
		}, [i, r, u, l, c, s, d, p, g]), h.useEffect(() => () => {
			y.current = !1
		}, []), C.jsx(e, {
			ref: sLe([w, m]),
			className: n,
			"data-entering": _.enter ? "" : void 0,
			"data-entering-active": _.enterActive ? "" : void 0,
			"data-exiting": _.exit ? "" : void 0,
			"data-exiting-active": _.exitActive ? "" : void 0,
			"data-interrupted": _.interrupted ? "" : void 0,
			children: t
		})
	}),
	lD = (e, t = !1) => {
		const n = [];
		return h.Children.forEach(e, r => {
			if (r && typeof r == "object" && "key" in r && r.key) n.push(r);
			else if (t) throw new Error("Child elements of <TransitionGroup /> must include a `key`")
		}), n
	},
	vd = () => {},
	gd = e => {
		const t = h.useRef(e);
		return t.current = e, h.useCallback(n => t.current(n), [])
	},
	o1 = h.forwardRef((e, t) => {
		var E, T, O, R, k, M, D, P, U, H;
		const {
			as: n = "div",
			children: r,
			className: i,
			duration: o,
			preventInitialTransition: a = !0,
			insertMethod: s = "append",
			disableAnimations: u = uLe()
		} = e, l = (T = (E = e.enterDuration) != null ? E : o) != null ? T : 0, c = (R = (O = e.exitDuration) != null ? O : o) != null ? R : 0, d = gd((k = e.onEnter) != null ? k : vd), p = gd((M = e.onEnterActive) != null ? M : vd), g = gd((D = e.onEnterComplete) != null ? D : vd), m = gd((P = e.onExit) != null ? P : vd), _ = gd((U = e.onExitActive) != null ? U : vd), S = gd((H = e.onExitComplete) != null ? H : vd);
		h.Children.forEach(r, G => {
			if (G && !G.key) throw new Error("Child elements of <TransitionGroup /> must include a `key`")
		});
		const y = h.useCallback(G => ({
				component: G,
				shouldRender: !0,
				removeChild: () => {
					b(K => K.filter(ee => G.key !== ee.component.key))
				},
				onEnter: d,
				onEnterActive: p,
				onEnterComplete: g,
				onExit: m,
				onExitActive: _,
				onExitComplete: S
			}), [d, p, g, m, _, S]),
			[w, b] = h.useState(() => lD(r).map(G => ({
				...y(G),
				preventMountTransition: a
			})));
		return h.useEffect(() => {
			b(G => {
				const K = lD(r),
					ee = K.reduce((j, B) => ({
						...j,
						[B.key]: 1
					}), {}),
					te = G.reduce((j, B) => ({
						...j,
						[B.component.key]: 1
					}), {}),
					q = K.filter(j => !te[j.key]).map(y),
					F = G.map(j => ({
						...j,
						component: K.find(({
							key: B
						}) => B === j.component.key) || j.component,
						shouldRender: !!ee[j.component.key]
					}));
				return s === "append" ? F.concat(q) : q.concat(F)
			})
		}, [r, s, y]), u ? C.jsx(C.Fragment, {
			children: h.Children.map(r, G => C.jsx(n, {
				className: i,
				ref: t,
				children: G
			}))
		}) : C.jsx(C.Fragment, {
			children: w.map(({
				component: G,
				...K
			}) => C.jsx(fLe, {
				...K,
				as: n,
				className: i,
				enterDuration: l,
				exitDuration: c,
				ref: t,
				children: G
			}, G.key))
		})
	});
var dLe = "Expected a function",
	cD = NaN,
	pLe = "[object Symbol]",
	hLe = /^\s+|\s+$/g,
	vLe = /^[-+]0x[0-9a-f]+$/i,
	gLe = /^0b[01]+$/i,
	mLe = /^0o[0-7]+$/i,
	yLe = parseInt,
	wLe = typeof window == "object" && window && window.Object === Object && window,
	_Le = typeof self == "object" && self && self.Object === Object && self,
	bLe = wLe || _Le || Function("return this")(),
	SLe = Object.prototype,
	xLe = SLe.toString,
	ELe = Math.max,
	CLe = Math.min,
	xx = function() {
		return bLe.Date.now()
	};

function OLe(e, t, n) {
	var r, i, o, a, s, u, l = 0,
		c = !1,
		d = !1,
		p = !0;
	if (typeof e != "function") throw new TypeError(dLe);
	t = fD(t) || 0, VC(n) && (c = !!n.leading, d = "maxWait" in n, o = d ? ELe(fD(n.maxWait) || 0, t) : o, p = "trailing" in n ? !!n.trailing : p);

	function g(O) {
		var R = r,
			k = i;
		return r = i = void 0, l = O, a = e.apply(k, R), a
	}

	function m(O) {
		return l = O, s = setTimeout(y, t), c ? g(O) : a
	}

	function _(O) {
		var R = O - u,
			k = O - l,
			M = t - R;
		return d ? CLe(M, o - k) : M
	}

	function S(O) {
		var R = O - u,
			k = O - l;
		return u === void 0 || R >= t || R < 0 || d && k >= o
	}

	function y() {
		var O = xx();
		if (S(O)) return w(O);
		s = setTimeout(y, _(O))
	}

	function w(O) {
		return s = void 0, p && r ? g(O) : (r = i = void 0, a)
	}

	function b() {
		s !== void 0 && clearTimeout(s), l = 0, r = u = i = s = void 0
	}

	function E() {
		return s === void 0 ? a : w(xx())
	}

	function T() {
		var O = xx(),
			R = S(O);
		if (r = arguments, i = this, u = O, R) {
			if (s === void 0) return m(u);
			if (d) return s = setTimeout(y, t), g(u)
		}
		return s === void 0 && (s = setTimeout(y, t)), a
	}
	return T.cancel = b, T.flush = E, T
}

function VC(e) {
	var t = typeof e;
	return !!e && (t == "object" || t == "function")
}

function TLe(e) {
	return !!e && typeof e == "object"
}

function RLe(e) {
	return typeof e == "symbol" || TLe(e) && xLe.call(e) == pLe
}

function fD(e) {
	if (typeof e == "number") return e;
	if (RLe(e)) return cD;
	if (VC(e)) {
		var t = typeof e.valueOf == "function" ? e.valueOf() : e;
		e = VC(t) ? t + "" : t
	}
	if (typeof e != "string") return e === 0 ? e : +e;
	e = e.replace(hLe, "");
	var n = gLe.test(e);
	return n || mLe.test(e) ? yLe(e.slice(2), n ? 2 : 8) : vLe.test(e) ? cD : +e
}
var ILe = OLe;
const Wst = Et(ILe);
var _T = typeof window < "u" ? h.useLayoutEffect : h.useEffect;

function kLe(e, t, n, r) {
	const i = h.useRef(t);
	_T(() => {
		i.current = t
	}, [t]), h.useEffect(() => {
		const o = window;
		if (!(o && o.addEventListener)) return;
		const a = s => {
			i.current(s)
		};
		return o.addEventListener(e, a, r), () => {
			o.removeEventListener(e, a, r)
		}
	}, [e, n, r])
}
var ALe = typeof window > "u";

function MLe(e, {
	defaultValue: t = !1,
	initializeWithValue: n = !0
} = {}) {
	const r = s => ALe ? t : window.matchMedia(s).matches,
		[i, o] = h.useState(() => n ? r(e) : t);

	function a() {
		o(r(e))
	}
	return _T(() => {
		const s = window.matchMedia(e);
		return a(), s.addListener ? s.addListener(a) : s.addEventListener("change", a), () => {
			s.removeListener ? s.removeListener(a) : s.removeEventListener("change", a)
		}
	}, [e]), i
}

function Kst(e, t, n = "mousedown", r = {}) {
	kLe(n, i => {
		const o = i.target;
		if (!o || !o.isConnected) return;
		(Array.isArray(e) ? e.filter(s => !!s.current).every(s => s.current && !s.current.contains(o)) : e.current && !e.current.contains(o)) && t(i)
	}, void 0, r)
}
var Ex = new Map;

function PLe(e) {
	const t = document.querySelector('script[src="'.concat(e, '"]')),
		n = t == null ? void 0 : t.getAttribute("data-status");
	return {
		node: t,
		status: n
	}
}

function Zst(e, t) {
	const [n, r] = h.useState(() => {
		var i;
		return typeof window > "u" ? "loading" : (i = Ex.get(e)) != null ? i : "loading"
	});
	return h.useEffect(() => {
		var u, l;
		const i = Ex.get(e);
		if (i === "ready" || i === "error") {
			r(i);
			return
		}
		const o = PLe(e);
		let a = o.node;
		if (a) r((l = (u = o.status) != null ? u : i) != null ? l : "loading");
		else {
			a = document.createElement("script"), a.src = e, a.async = !0, a.setAttribute("data-status", "loading"), document.body.appendChild(a);
			const c = d => {
				const p = d.type === "load" ? "ready" : "error";
				a == null || a.setAttribute("data-status", p)
			};
			a.addEventListener("load", c), a.addEventListener("error", c)
		}
		const s = c => {
			const d = c.type === "load" ? "ready" : "error";
			r(d), Ex.set(e, d)
		};
		return a.addEventListener("load", s), a.addEventListener("error", s), () => {
			a && (a.removeEventListener("load", s), a.removeEventListener("error", s))
		}
	}, [e, void 0, void 0, void 0]), n
}

function LLe(e, t) {
	const n = h.useRef(e);
	_T(() => {
		n.current = e
	}, [e]), h.useEffect(() => {
		if (!t && t !== 0) return;
		const r = setTimeout(() => {
			n.current()
		}, t);
		return () => {
			clearTimeout(r)
		}
	}, [t])
}
const JK = {
		sm: 576,
		md: 768,
		lg: 1024,
		xl: 1280,
		"2xl": 1536,
		mobile: 576,
		tablet: 768,
		desktop: 1024
	},
	ag = e => MLe("(min-width: ".concat(JK[e], "px)")),
	qst = e => "@media (min-width: ".concat(JK[e], "px)");
var NLe = globalThis != null && globalThis.document ? h.useLayoutEffect : () => {},
	DLe = wE.useId || (() => {}),
	$Le = 0;

function _l(e) {
	const [t, n] = h.useState(DLe());
	return NLe(() => {
		n(r => r != null ? r : String($Le++))
	}, [e]), t ? "radix-".concat(t) : ""
}

function He(e, t, {
	checkForDefaultPrevented: n = !0
} = {}) {
	return function(i) {
		if (e == null || e(i), n === !1 || !i.defaultPrevented) return t == null ? void 0 : t(i)
	}
}

function FLe(e, t) {
	typeof e == "function" ? e(t) : e != null && (e.current = t)
}

function QK(...e) {
	return t => e.forEach(n => FLe(n, t))
}

function $l(...e) {
	return h.useCallback(QK(...e), e)
}

function eZ(e, t = []) {
	let n = [];

	function r(o, a) {
		const s = h.createContext(a),
			u = n.length;
		n = [...n, a];

		function l(d) {
			const {
				scope: p,
				children: g,
				...m
			} = d, _ = (p == null ? void 0 : p[e][u]) || s, S = h.useMemo(() => m, Object.values(m));
			return C.jsx(_.Provider, {
				value: S,
				children: g
			})
		}

		function c(d, p) {
			const g = (p == null ? void 0 : p[e][u]) || s,
				m = h.useContext(g);
			if (m) return m;
			if (a !== void 0) return a;
			throw new Error("`".concat(d, "` must be used within `").concat(o, "`"))
		}
		return l.displayName = o + "Provider", [l, c]
	}
	const i = () => {
		const o = n.map(a => h.createContext(a));
		return function(s) {
			const u = (s == null ? void 0 : s[e]) || o;
			return h.useMemo(() => ({
				["__scope".concat(e)]: {
					...s,
					[e]: u
				}
			}), [s, u])
		}
	};
	return i.scopeName = e, [r, jLe(i, ...t)]
}

function jLe(...e) {
	const t = e[0];
	if (e.length === 1) return t;
	const n = () => {
		const r = e.map(i => ({
			useScope: i(),
			scopeName: i.scopeName
		}));
		return function(o) {
			const a = r.reduce((s, {
				useScope: u,
				scopeName: l
			}) => {
				const d = u(o)["__scope".concat(l)];
				return {
					...s,
					...d
				}
			}, {});
			return h.useMemo(() => ({
				["__scope".concat(t.scopeName)]: a
			}), [a])
		}
	};
	return n.scopeName = t.scopeName, n
}
var bT = h.forwardRef((e, t) => {
	const {
		children: n,
		...r
	} = e, i = h.Children.toArray(n), o = i.find(HLe);
	if (o) {
		const a = o.props.children,
			s = i.map(u => u === o ? h.Children.count(a) > 1 ? h.Children.only(null) : h.isValidElement(a) ? a.props.children : null : u);
		return C.jsx(BC, {
			...r,
			ref: t,
			children: h.isValidElement(a) ? h.cloneElement(a, void 0, s) : null
		})
	}
	return C.jsx(BC, {
		...r,
		ref: t,
		children: n
	})
});
bT.displayName = "Slot";
var BC = h.forwardRef((e, t) => {
	const {
		children: n,
		...r
	} = e;
	if (h.isValidElement(n)) {
		const i = BLe(n);
		return h.cloneElement(n, {
			...VLe(r, n.props),
			ref: t ? QK(t, i) : i
		})
	}
	return h.Children.count(n) > 1 ? h.Children.only(null) : null
});
BC.displayName = "SlotClone";
var ULe = ({
	children: e
}) => C.jsx(C.Fragment, {
	children: e
});

function HLe(e) {
	return h.isValidElement(e) && e.type === ULe
}

function VLe(e, t) {
	const n = {
		...t
	};
	for (const r in t) {
		const i = e[r],
			o = t[r];
		/^on[A-Z]/.test(r) ? i && o ? n[r] = (...s) => {
			o(...s), i(...s)
		} : i && (n[r] = i) : r === "style" ? n[r] = {
			...i,
			...o
		} : r === "className" && (n[r] = [i, o].filter(Boolean).join(" "))
	}
	return {
		...e,
		...n
	}
}

function BLe(e) {
	var r, i;
	let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get,
		n = t && "isReactWarning" in t && t.isReactWarning;
	return n ? e.ref : (t = (i = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : i.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref)
}
var zLe = ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"],
	Xs = zLe.reduce((e, t) => {
		const n = h.forwardRef((r, i) => {
			const {
				asChild: o,
				...a
			} = r, s = o ? bT : t;
			return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), C.jsx(s, {
				...a,
				ref: i
			})
		});
		return n.displayName = "Primitive.".concat(t), {
			...e,
			[t]: n
		}
	}, {});

function GLe(e, t) {
	e && Qa.flushSync(() => e.dispatchEvent(t))
}

function bl(e) {
	const t = h.useRef(e);
	return h.useEffect(() => {
		t.current = e
	}), h.useMemo(() => (...n) => {
		var r;
		return (r = t.current) == null ? void 0 : r.call(t, ...n)
	}, [])
}

function WLe(e, t = globalThis == null ? void 0 : globalThis.document) {
	const n = bl(e);
	h.useEffect(() => {
		const r = i => {
			i.key === "Escape" && n(i)
		};
		return t.addEventListener("keydown", r, {
			capture: !0
		}), () => t.removeEventListener("keydown", r, {
			capture: !0
		})
	}, [n, t])
}
var KLe = "DismissableLayer",
	zC = "dismissableLayer.update",
	ZLe = "dismissableLayer.pointerDownOutside",
	qLe = "dismissableLayer.focusOutside",
	dD, tZ = h.createContext({
		layers: new Set,
		layersWithOutsidePointerEventsDisabled: new Set,
		branches: new Set
	}),
	nZ = h.forwardRef((e, t) => {
		var R;
		const {
			disableOutsidePointerEvents: n = !1,
			onEscapeKeyDown: r,
			onPointerDownOutside: i,
			onFocusOutside: o,
			onInteractOutside: a,
			onDismiss: s,
			...u
		} = e, l = h.useContext(tZ), [c, d] = h.useState(null), p = (R = c == null ? void 0 : c.ownerDocument) != null ? R : globalThis == null ? void 0 : globalThis.document, [, g] = h.useState({}), m = $l(t, k => d(k)), _ = Array.from(l.layers), [S] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), y = _.indexOf(S), w = c ? _.indexOf(c) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, E = w >= y, T = JLe(k => {
			const M = k.target,
				D = [...l.branches].some(P => P.contains(M));
			!E || D || (i == null || i(k), a == null || a(k), k.defaultPrevented || s == null || s())
		}, p), O = QLe(k => {
			const M = k.target;
			[...l.branches].some(P => P.contains(M)) || (o == null || o(k), a == null || a(k), k.defaultPrevented || s == null || s())
		}, p);
		return WLe(k => {
			w === l.layers.size - 1 && (r == null || r(k), !k.defaultPrevented && s && (k.preventDefault(), s()))
		}, p), h.useEffect(() => {
			if (c) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (dD = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(c)), l.layers.add(c), pD(), () => {
				n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (p.body.style.pointerEvents = dD)
			}
		}, [c, p, n, l]), h.useEffect(() => () => {
			c && (l.layers.delete(c), l.layersWithOutsidePointerEventsDisabled.delete(c), pD())
		}, [c, l]), h.useEffect(() => {
			const k = () => g({});
			return document.addEventListener(zC, k), () => document.removeEventListener(zC, k)
		}, []), C.jsx(Xs.div, {
			...u,
			ref: m,
			style: {
				pointerEvents: b ? E ? "auto" : "none" : void 0,
				...e.style
			},
			onFocusCapture: He(e.onFocusCapture, O.onFocusCapture),
			onBlurCapture: He(e.onBlurCapture, O.onBlurCapture),
			onPointerDownCapture: He(e.onPointerDownCapture, T.onPointerDownCapture)
		})
	});
nZ.displayName = KLe;
var YLe = "DismissableLayerBranch",
	XLe = h.forwardRef((e, t) => {
		const n = h.useContext(tZ),
			r = h.useRef(null),
			i = $l(t, r);
		return h.useEffect(() => {
			const o = r.current;
			if (o) return n.branches.add(o), () => {
				n.branches.delete(o)
			}
		}, [n.branches]), C.jsx(Xs.div, {
			...e,
			ref: i
		})
	});
XLe.displayName = YLe;

function JLe(e, t = globalThis == null ? void 0 : globalThis.document) {
	const n = bl(e),
		r = h.useRef(!1),
		i = h.useRef(() => {});
	return h.useEffect(() => {
		const o = s => {
				if (s.target && !r.current) {
					let u = function() {
						rZ(ZLe, n, l, {
							discrete: !0
						})
					};
					const l = {
						originalEvent: s
					};
					s.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = u, t.addEventListener("click", i.current, {
						once: !0
					})) : u()
				} else t.removeEventListener("click", i.current);
				r.current = !1
			},
			a = window.setTimeout(() => {
				t.addEventListener("pointerdown", o)
			}, 0);
		return () => {
			window.clearTimeout(a), t.removeEventListener("pointerdown", o), t.removeEventListener("click", i.current)
		}
	}, [t, n]), {
		onPointerDownCapture: () => r.current = !0
	}
}

function QLe(e, t = globalThis == null ? void 0 : globalThis.document) {
	const n = bl(e),
		r = h.useRef(!1);
	return h.useEffect(() => {
		const i = o => {
			o.target && !r.current && rZ(qLe, n, {
				originalEvent: o
			}, {
				discrete: !1
			})
		};
		return t.addEventListener("focusin", i), () => t.removeEventListener("focusin", i)
	}, [t, n]), {
		onFocusCapture: () => r.current = !0,
		onBlurCapture: () => r.current = !1
	}
}

function pD() {
	const e = new CustomEvent(zC);
	document.dispatchEvent(e)
}

function rZ(e, t, n, {
	discrete: r
}) {
	const i = n.originalEvent.target,
		o = new CustomEvent(e, {
			bubbles: !1,
			cancelable: !0,
			detail: n
		});
	t && i.addEventListener(e, t, {
		once: !0
	}), r ? GLe(i, o) : i.dispatchEvent(o)
}
var Cx = 0;

function eNe() {
	h.useEffect(() => {
		var t, n;
		const e = document.querySelectorAll("[data-radix-focus-guard]");
		return document.body.insertAdjacentElement("afterbegin", (t = e[0]) != null ? t : hD()), document.body.insertAdjacentElement("beforeend", (n = e[1]) != null ? n : hD()), Cx++, () => {
			Cx === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(r => r.remove()), Cx--
		}
	}, [])
}

function hD() {
	const e = document.createElement("span");
	return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e
}
var Ox = "focusScope.autoFocusOnMount",
	Tx = "focusScope.autoFocusOnUnmount",
	vD = {
		bubbles: !1,
		cancelable: !0
	},
	tNe = "FocusScope",
	iZ = h.forwardRef((e, t) => {
		const {
			loop: n = !1,
			trapped: r = !1,
			onMountAutoFocus: i,
			onUnmountAutoFocus: o,
			...a
		} = e, [s, u] = h.useState(null), l = bl(i), c = bl(o), d = h.useRef(null), p = $l(t, _ => u(_)), g = h.useRef({
			paused: !1,
			pause() {
				this.paused = !0
			},
			resume() {
				this.paused = !1
			}
		}).current;
		h.useEffect(() => {
			if (r) {
				let _ = function(b) {
						if (g.paused || !s) return;
						const E = b.target;
						s.contains(E) ? d.current = E : Tu(d.current, {
							select: !0
						})
					},
					S = function(b) {
						if (g.paused || !s) return;
						const E = b.relatedTarget;
						E !== null && (s.contains(E) || Tu(d.current, {
							select: !0
						}))
					},
					y = function(b) {
						if (document.activeElement === document.body)
							for (const T of b) T.removedNodes.length > 0 && Tu(s)
					};
				document.addEventListener("focusin", _), document.addEventListener("focusout", S);
				const w = new MutationObserver(y);
				return s && w.observe(s, {
					childList: !0,
					subtree: !0
				}), () => {
					document.removeEventListener("focusin", _), document.removeEventListener("focusout", S), w.disconnect()
				}
			}
		}, [r, s, g.paused]), h.useEffect(() => {
			if (s) {
				mD.add(g);
				const _ = document.activeElement;
				if (!s.contains(_)) {
					const y = new CustomEvent(Ox, vD);
					s.addEventListener(Ox, l), s.dispatchEvent(y), y.defaultPrevented || (nNe(sNe(oZ(s)), {
						select: !0
					}), document.activeElement === _ && Tu(s))
				}
				return () => {
					s.removeEventListener(Ox, l), setTimeout(() => {
						const y = new CustomEvent(Tx, vD);
						s.addEventListener(Tx, c), s.dispatchEvent(y), y.defaultPrevented || Tu(_ != null ? _ : document.body, {
							select: !0
						}), s.removeEventListener(Tx, c), mD.remove(g)
					}, 0)
				}
			}
		}, [s, l, c, g]);
		const m = h.useCallback(_ => {
			if (!n && !r || g.paused) return;
			const S = _.key === "Tab" && !_.altKey && !_.ctrlKey && !_.metaKey,
				y = document.activeElement;
			if (S && y) {
				const w = _.currentTarget,
					[b, E] = rNe(w);
				b && E ? !_.shiftKey && y === E ? (_.preventDefault(), n && Tu(b, {
					select: !0
				})) : _.shiftKey && y === b && (_.preventDefault(), n && Tu(E, {
					select: !0
				})) : y === w && _.preventDefault()
			}
		}, [n, r, g.paused]);
		return C.jsx(Xs.div, {
			tabIndex: -1,
			...a,
			ref: p,
			onKeyDown: m
		})
	});
iZ.displayName = tNe;

function nNe(e, {
	select: t = !1
} = {}) {
	const n = document.activeElement;
	for (const r of e)
		if (Tu(r, {
				select: t
			}), document.activeElement !== n) return
}

function rNe(e) {
	const t = oZ(e),
		n = gD(t, e),
		r = gD(t.reverse(), e);
	return [n, r]
}

function oZ(e) {
	const t = [],
		n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
			acceptNode: r => {
				const i = r.tagName === "INPUT" && r.type === "hidden";
				return r.disabled || r.hidden || i ? NodeFilter.FILTER_SKIP : r.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP
			}
		});
	for (; n.nextNode();) t.push(n.currentNode);
	return t
}

function gD(e, t) {
	for (const n of e)
		if (!iNe(n, {
				upTo: t
			})) return n
}

function iNe(e, {
	upTo: t
}) {
	if (getComputedStyle(e).visibility === "hidden") return !0;
	for (; e;) {
		if (t !== void 0 && e === t) return !1;
		if (getComputedStyle(e).display === "none") return !0;
		e = e.parentElement
	}
	return !1
}

function oNe(e) {
	return e instanceof HTMLInputElement && "select" in e
}

function Tu(e, {
	select: t = !1
} = {}) {
	if (e && e.focus) {
		const n = document.activeElement;
		e.focus({
			preventScroll: !0
		}), e !== n && oNe(e) && t && e.select()
	}
}
var mD = aNe();

function aNe() {
	let e = [];
	return {
		add(t) {
			const n = e[0];
			t !== n && (n == null || n.pause()), e = yD(e, t), e.unshift(t)
		},
		remove(t) {
			var n;
			e = yD(e, t), (n = e[0]) == null || n.resume()
		}
	}
}

function yD(e, t) {
	const n = [...e],
		r = n.indexOf(t);
	return r !== -1 && n.splice(r, 1), n
}

function sNe(e) {
	return e.filter(t => t.tagName !== "A")
}
const uNe = ["top", "right", "bottom", "left"],
	$a = Math.min,
	$i = Math.max,
	Gw = Math.round,
	sy = Math.floor,
	Sl = e => ({
		x: e,
		y: e
	}),
	lNe = {
		left: "right",
		right: "left",
		bottom: "top",
		top: "bottom"
	},
	cNe = {
		start: "end",
		end: "start"
	};

function GC(e, t, n) {
	return $i(e, $a(t, n))
}

function zs(e, t) {
	return typeof e == "function" ? e(t) : e
}

function Gs(e) {
	return e.split("-")[0]
}

function Hh(e) {
	return e.split("-")[1]
}

function ST(e) {
	return e === "x" ? "y" : "x"
}

function xT(e) {
	return e === "y" ? "height" : "width"
}

function xl(e) {
	return ["top", "bottom"].includes(Gs(e)) ? "y" : "x"
}

function ET(e) {
	return ST(xl(e))
}

function fNe(e, t, n) {
	n === void 0 && (n = !1);
	const r = Hh(e),
		i = ET(e),
		o = xT(i);
	let a = i === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
	return t.reference[o] > t.floating[o] && (a = Ww(a)), [a, Ww(a)]
}

function dNe(e) {
	const t = Ww(e);
	return [WC(e), t, WC(t)]
}

function WC(e) {
	return e.replace(/start|end/g, t => cNe[t])
}

function pNe(e, t, n) {
	const r = ["left", "right"],
		i = ["right", "left"],
		o = ["top", "bottom"],
		a = ["bottom", "top"];
	switch (e) {
		case "top":
		case "bottom":
			return n ? t ? i : r : t ? r : i;
		case "left":
		case "right":
			return t ? o : a;
		default:
			return []
	}
}

function hNe(e, t, n, r) {
	const i = Hh(e);
	let o = pNe(Gs(e), n === "start", r);
	return i && (o = o.map(a => a + "-" + i), t && (o = o.concat(o.map(WC)))), o
}

function Ww(e) {
	return e.replace(/left|right|bottom|top/g, t => lNe[t])
}

function vNe(e) {
	return {
		top: 0,
		right: 0,
		bottom: 0,
		left: 0,
		...e
	}
}

function aZ(e) {
	return typeof e != "number" ? vNe(e) : {
		top: e,
		right: e,
		bottom: e,
		left: e
	}
}

function Kw(e) {
	const {
		x: t,
		y: n,
		width: r,
		height: i
	} = e;
	return {
		width: r,
		height: i,
		top: n,
		left: t,
		right: t + r,
		bottom: n + i,
		x: t,
		y: n
	}
}

function wD(e, t, n) {
	let {
		reference: r,
		floating: i
	} = e;
	const o = xl(t),
		a = ET(t),
		s = xT(a),
		u = Gs(t),
		l = o === "y",
		c = r.x + r.width / 2 - i.width / 2,
		d = r.y + r.height / 2 - i.height / 2,
		p = r[s] / 2 - i[s] / 2;
	let g;
	switch (u) {
		case "top":
			g = {
				x: c,
				y: r.y - i.height
			};
			break;
		case "bottom":
			g = {
				x: c,
				y: r.y + r.height
			};
			break;
		case "right":
			g = {
				x: r.x + r.width,
				y: d
			};
			break;
		case "left":
			g = {
				x: r.x - i.width,
				y: d
			};
			break;
		default:
			g = {
				x: r.x,
				y: r.y
			}
	}
	switch (Hh(t)) {
		case "start":
			g[a] -= p * (n && l ? -1 : 1);
			break;
		case "end":
			g[a] += p * (n && l ? -1 : 1);
			break
	}
	return g
}
const gNe = async (e, t, n) => {
	const {
		placement: r = "bottom",
		strategy: i = "absolute",
		middleware: o = [],
		platform: a
	} = n, s = o.filter(Boolean), u = await (a.isRTL == null ? void 0 : a.isRTL(t));
	let l = await a.getElementRects({
			reference: e,
			floating: t,
			strategy: i
		}),
		{
			x: c,
			y: d
		} = wD(l, r, u),
		p = r,
		g = {},
		m = 0;
	for (let _ = 0; _ < s.length; _++) {
		const {
			name: S,
			fn: y
		} = s[_], {
			x: w,
			y: b,
			data: E,
			reset: T
		} = await y({
			x: c,
			y: d,
			initialPlacement: r,
			placement: p,
			strategy: i,
			middlewareData: g,
			rects: l,
			platform: a,
			elements: {
				reference: e,
				floating: t
			}
		});
		c = w != null ? w : c, d = b != null ? b : d, g = {
			...g,
			[S]: {
				...g[S],
				...E
			}
		}, T && m <= 50 && (m++, typeof T == "object" && (T.placement && (p = T.placement), T.rects && (l = T.rects === !0 ? await a.getElementRects({
			reference: e,
			floating: t,
			strategy: i
		}) : T.rects), {
			x: c,
			y: d
		} = wD(l, p, u)), _ = -1)
	}
	return {
		x: c,
		y: d,
		placement: p,
		strategy: i,
		middlewareData: g
	}
};
async function a1(e, t) {
	var n;
	t === void 0 && (t = {});
	const {
		x: r,
		y: i,
		platform: o,
		rects: a,
		elements: s,
		strategy: u
	} = e, {
		boundary: l = "clippingAncestors",
		rootBoundary: c = "viewport",
		elementContext: d = "floating",
		altBoundary: p = !1,
		padding: g = 0
	} = zs(t, e), m = aZ(g), S = s[p ? d === "floating" ? "reference" : "floating" : d], y = Kw(await o.getClippingRect({
		element: (n = await (o.isElement == null ? void 0 : o.isElement(S))) == null || n ? S : S.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(s.floating)),
		boundary: l,
		rootBoundary: c,
		strategy: u
	})), w = d === "floating" ? {
		x: r,
		y: i,
		width: a.floating.width,
		height: a.floating.height
	} : a.reference, b = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(s.floating)), E = await (o.isElement == null ? void 0 : o.isElement(b)) ? await (o.getScale == null ? void 0 : o.getScale(b)) || {
		x: 1,
		y: 1
	} : {
		x: 1,
		y: 1
	}, T = Kw(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({
		elements: s,
		rect: w,
		offsetParent: b,
		strategy: u
	}) : w);
	return {
		top: (y.top - T.top + m.top) / E.y,
		bottom: (T.bottom - y.bottom + m.bottom) / E.y,
		left: (y.left - T.left + m.left) / E.x,
		right: (T.right - y.right + m.right) / E.x
	}
}
const mNe = e => ({
		name: "arrow",
		options: e,
		async fn(t) {
			const {
				x: n,
				y: r,
				placement: i,
				rects: o,
				platform: a,
				elements: s,
				middlewareData: u
			} = t, {
				element: l,
				padding: c = 0
			} = zs(e, t) || {};
			if (l == null) return {};
			const d = aZ(c),
				p = {
					x: n,
					y: r
				},
				g = ET(i),
				m = xT(g),
				_ = await a.getDimensions(l),
				S = g === "y",
				y = S ? "top" : "left",
				w = S ? "bottom" : "right",
				b = S ? "clientHeight" : "clientWidth",
				E = o.reference[m] + o.reference[g] - p[g] - o.floating[m],
				T = p[g] - o.reference[g],
				O = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l));
			let R = O ? O[b] : 0;
			(!R || !await (a.isElement == null ? void 0 : a.isElement(O))) && (R = s.floating[b] || o.floating[m]);
			const k = E / 2 - T / 2,
				M = R / 2 - _[m] / 2 - 1,
				D = $a(d[y], M),
				P = $a(d[w], M),
				U = D,
				H = R - _[m] - P,
				G = R / 2 - _[m] / 2 + k,
				K = GC(U, G, H),
				ee = !u.arrow && Hh(i) != null && G !== K && o.reference[m] / 2 - (G < U ? D : P) - _[m] / 2 < 0,
				te = ee ? G < U ? G - U : G - H : 0;
			return {
				[g]: p[g] + te,
				data: {
					[g]: K,
					centerOffset: G - K - te,
					...ee && {
						alignmentOffset: te
					}
				},
				reset: ee
			}
		}
	}),
	yNe = function(e) {
		return e === void 0 && (e = {}), {
			name: "flip",
			options: e,
			async fn(t) {
				var n, r;
				const {
					placement: i,
					middlewareData: o,
					rects: a,
					initialPlacement: s,
					platform: u,
					elements: l
				} = t, {
					mainAxis: c = !0,
					crossAxis: d = !0,
					fallbackPlacements: p,
					fallbackStrategy: g = "bestFit",
					fallbackAxisSideDirection: m = "none",
					flipAlignment: _ = !0,
					...S
				} = zs(e, t);
				if ((n = o.arrow) != null && n.alignmentOffset) return {};
				const y = Gs(i),
					w = xl(s),
					b = Gs(s) === s,
					E = await (u.isRTL == null ? void 0 : u.isRTL(l.floating)),
					T = p || (b || !_ ? [Ww(s)] : dNe(s)),
					O = m !== "none";
				!p && O && T.push(...hNe(s, _, m, E));
				const R = [s, ...T],
					k = await a1(t, S),
					M = [];
				let D = ((r = o.flip) == null ? void 0 : r.overflows) || [];
				if (c && M.push(k[y]), d) {
					const G = fNe(i, a, E);
					M.push(k[G[0]], k[G[1]])
				}
				if (D = [...D, {
						placement: i,
						overflows: M
					}], !M.every(G => G <= 0)) {
					var P, U;
					const G = (((P = o.flip) == null ? void 0 : P.index) || 0) + 1,
						K = R[G];
					if (K) return {
						data: {
							index: G,
							overflows: D
						},
						reset: {
							placement: K
						}
					};
					let ee = (U = D.filter(te => te.overflows[0] <= 0).sort((te, q) => te.overflows[1] - q.overflows[1])[0]) == null ? void 0 : U.placement;
					if (!ee) switch (g) {
						case "bestFit": {
							var H;
							const te = (H = D.filter(q => {
								if (O) {
									const F = xl(q.placement);
									return F === w || F === "y"
								}
								return !0
							}).map(q => [q.placement, q.overflows.filter(F => F > 0).reduce((F, j) => F + j, 0)]).sort((q, F) => q[1] - F[1])[0]) == null ? void 0 : H[0];
							te && (ee = te);
							break
						}
						case "initialPlacement":
							ee = s;
							break
					}
					if (i !== ee) return {
						reset: {
							placement: ee
						}
					}
				}
				return {}
			}
		}
	};

function _D(e, t) {
	return {
		top: e.top - t.height,
		right: e.right - t.width,
		bottom: e.bottom - t.height,
		left: e.left - t.width
	}
}

function bD(e) {
	return uNe.some(t => e[t] >= 0)
}
const wNe = function(e) {
	return e === void 0 && (e = {}), {
		name: "hide",
		options: e,
		async fn(t) {
			const {
				rects: n
			} = t, {
				strategy: r = "referenceHidden",
				...i
			} = zs(e, t);
			switch (r) {
				case "referenceHidden": {
					const o = await a1(t, {
							...i,
							elementContext: "reference"
						}),
						a = _D(o, n.reference);
					return {
						data: {
							referenceHiddenOffsets: a,
							referenceHidden: bD(a)
						}
					}
				}
				case "escaped": {
					const o = await a1(t, {
							...i,
							altBoundary: !0
						}),
						a = _D(o, n.floating);
					return {
						data: {
							escapedOffsets: a,
							escaped: bD(a)
						}
					}
				}
				default:
					return {}
			}
		}
	}
};
async function _Ne(e, t) {
	const {
		placement: n,
		platform: r,
		elements: i
	} = e, o = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), a = Gs(n), s = Hh(n), u = xl(n) === "y", l = ["left", "top"].includes(a) ? -1 : 1, c = o && u ? -1 : 1, d = zs(t, e);
	let {
		mainAxis: p,
		crossAxis: g,
		alignmentAxis: m
	} = typeof d == "number" ? {
		mainAxis: d,
		crossAxis: 0,
		alignmentAxis: null
	} : {
		mainAxis: 0,
		crossAxis: 0,
		alignmentAxis: null,
		...d
	};
	return s && typeof m == "number" && (g = s === "end" ? m * -1 : m), u ? {
		x: g * c,
		y: p * l
	} : {
		x: p * l,
		y: g * c
	}
}
const bNe = function(e) {
		return e === void 0 && (e = 0), {
			name: "offset",
			options: e,
			async fn(t) {
				var n, r;
				const {
					x: i,
					y: o,
					placement: a,
					middlewareData: s
				} = t, u = await _Ne(t, e);
				return a === ((n = s.offset) == null ? void 0 : n.placement) && (r = s.arrow) != null && r.alignmentOffset ? {} : {
					x: i + u.x,
					y: o + u.y,
					data: {
						...u,
						placement: a
					}
				}
			}
		}
	},
	SNe = function(e) {
		return e === void 0 && (e = {}), {
			name: "shift",
			options: e,
			async fn(t) {
				const {
					x: n,
					y: r,
					placement: i
				} = t, {
					mainAxis: o = !0,
					crossAxis: a = !1,
					limiter: s = {
						fn: S => {
							let {
								x: y,
								y: w
							} = S;
							return {
								x: y,
								y: w
							}
						}
					},
					...u
				} = zs(e, t), l = {
					x: n,
					y: r
				}, c = await a1(t, u), d = xl(Gs(i)), p = ST(d);
				let g = l[p],
					m = l[d];
				if (o) {
					const S = p === "y" ? "top" : "left",
						y = p === "y" ? "bottom" : "right",
						w = g + c[S],
						b = g - c[y];
					g = GC(w, g, b)
				}
				if (a) {
					const S = d === "y" ? "top" : "left",
						y = d === "y" ? "bottom" : "right",
						w = m + c[S],
						b = m - c[y];
					m = GC(w, m, b)
				}
				const _ = s.fn({
					...t,
					[p]: g,
					[d]: m
				});
				return {
					..._,
					data: {
						x: _.x - n,
						y: _.y - r
					}
				}
			}
		}
	},
	xNe = function(e) {
		return e === void 0 && (e = {}), {
			options: e,
			fn(t) {
				const {
					x: n,
					y: r,
					placement: i,
					rects: o,
					middlewareData: a
				} = t, {
					offset: s = 0,
					mainAxis: u = !0,
					crossAxis: l = !0
				} = zs(e, t), c = {
					x: n,
					y: r
				}, d = xl(i), p = ST(d);
				let g = c[p],
					m = c[d];
				const _ = zs(s, t),
					S = typeof _ == "number" ? {
						mainAxis: _,
						crossAxis: 0
					} : {
						mainAxis: 0,
						crossAxis: 0,
						..._
					};
				if (u) {
					const b = p === "y" ? "height" : "width",
						E = o.reference[p] - o.floating[b] + S.mainAxis,
						T = o.reference[p] + o.reference[b] - S.mainAxis;
					g < E ? g = E : g > T && (g = T)
				}
				if (l) {
					var y, w;
					const b = p === "y" ? "width" : "height",
						E = ["top", "left"].includes(Gs(i)),
						T = o.reference[d] - o.floating[b] + (E && ((y = a.offset) == null ? void 0 : y[d]) || 0) + (E ? 0 : S.crossAxis),
						O = o.reference[d] + o.reference[b] + (E ? 0 : ((w = a.offset) == null ? void 0 : w[d]) || 0) - (E ? S.crossAxis : 0);
					m < T ? m = T : m > O && (m = O)
				}
				return {
					[p]: g,
					[d]: m
				}
			}
		}
	},
	ENe = function(e) {
		return e === void 0 && (e = {}), {
			name: "size",
			options: e,
			async fn(t) {
				const {
					placement: n,
					rects: r,
					platform: i,
					elements: o
				} = t, {
					apply: a = () => {},
					...s
				} = zs(e, t), u = await a1(t, s), l = Gs(n), c = Hh(n), d = xl(n) === "y", {
					width: p,
					height: g
				} = r.floating;
				let m, _;
				l === "top" || l === "bottom" ? (m = l, _ = c === (await (i.isRTL == null ? void 0 : i.isRTL(o.floating)) ? "start" : "end") ? "left" : "right") : (_ = l, m = c === "end" ? "top" : "bottom");
				const S = g - u.top - u.bottom,
					y = p - u.left - u.right,
					w = $a(g - u[m], S),
					b = $a(p - u[_], y),
					E = !t.middlewareData.shift;
				let T = w,
					O = b;
				if (d ? O = c || E ? $a(b, y) : y : T = c || E ? $a(w, S) : S, E && !c) {
					const k = $i(u.left, 0),
						M = $i(u.right, 0),
						D = $i(u.top, 0),
						P = $i(u.bottom, 0);
					d ? O = p - 2 * (k !== 0 || M !== 0 ? k + M : $i(u.left, u.right)) : T = g - 2 * (D !== 0 || P !== 0 ? D + P : $i(u.top, u.bottom))
				}
				await a({
					...t,
					availableWidth: O,
					availableHeight: T
				});
				const R = await i.getDimensions(o.floating);
				return p !== R.width || g !== R.height ? {
					reset: {
						rects: !0
					}
				} : {}
			}
		}
	};

function Vh(e) {
	return sZ(e) ? (e.nodeName || "").toLowerCase() : "#document"
}

function Bi(e) {
	var t;
	return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window
}

function Js(e) {
	var t;
	return (t = (sZ(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement
}

function sZ(e) {
	return e instanceof Node || e instanceof Bi(e).Node
}

function Za(e) {
	return e instanceof Element || e instanceof Bi(e).Element
}

function qa(e) {
	return e instanceof HTMLElement || e instanceof Bi(e).HTMLElement
}

function SD(e) {
	return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Bi(e).ShadowRoot
}

function sg(e) {
	const {
		overflow: t,
		overflowX: n,
		overflowY: r,
		display: i
	} = ua(e);
	return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(i)
}

function CNe(e) {
	return ["table", "td", "th"].includes(Vh(e))
}

function e4(e) {
	return [":popover-open", ":modal"].some(t => {
		try {
			return e.matches(t)
		} catch (n) {
			return !1
		}
	})
}

function CT(e) {
	const t = OT(),
		n = ua(e);
	return n.transform !== "none" || n.perspective !== "none" || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "perspective", "filter"].some(r => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some(r => (n.contain || "").includes(r))
}

function ONe(e) {
	let t = El(e);
	for (; qa(t) && !qp(t);) {
		if (e4(t)) return null;
		if (CT(t)) return t;
		t = El(t)
	}
	return null
}

function OT() {
	return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none")
}

function qp(e) {
	return ["html", "body", "#document"].includes(Vh(e))
}

function ua(e) {
	return Bi(e).getComputedStyle(e)
}

function t4(e) {
	return Za(e) ? {
		scrollLeft: e.scrollLeft,
		scrollTop: e.scrollTop
	} : {
		scrollLeft: e.scrollX,
		scrollTop: e.scrollY
	}
}

function El(e) {
	if (Vh(e) === "html") return e;
	const t = e.assignedSlot || e.parentNode || SD(e) && e.host || Js(e);
	return SD(t) ? t.host : t
}

function uZ(e) {
	const t = El(e);
	return qp(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : qa(t) && sg(t) ? t : uZ(t)
}

function s1(e, t, n) {
	var r;
	t === void 0 && (t = []), n === void 0 && (n = !0);
	const i = uZ(e),
		o = i === ((r = e.ownerDocument) == null ? void 0 : r.body),
		a = Bi(i);
	return o ? t.concat(a, a.visualViewport || [], sg(i) ? i : [], a.frameElement && n ? s1(a.frameElement) : []) : t.concat(i, s1(i, [], n))
}

function lZ(e) {
	const t = ua(e);
	let n = parseFloat(t.width) || 0,
		r = parseFloat(t.height) || 0;
	const i = qa(e),
		o = i ? e.offsetWidth : n,
		a = i ? e.offsetHeight : r,
		s = Gw(n) !== o || Gw(r) !== a;
	return s && (n = o, r = a), {
		width: n,
		height: r,
		$: s
	}
}

function TT(e) {
	return Za(e) ? e : e.contextElement
}

function fp(e) {
	const t = TT(e);
	if (!qa(t)) return Sl(1);
	const n = t.getBoundingClientRect(),
		{
			width: r,
			height: i,
			$: o
		} = lZ(t);
	let a = (o ? Gw(n.width) : n.width) / r,
		s = (o ? Gw(n.height) : n.height) / i;
	return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {
		x: a,
		y: s
	}
}
const TNe = Sl(0);

function cZ(e) {
	const t = Bi(e);
	return !OT() || !t.visualViewport ? TNe : {
		x: t.visualViewport.offsetLeft,
		y: t.visualViewport.offsetTop
	}
}

function RNe(e, t, n) {
	return t === void 0 && (t = !1), !n || t && n !== Bi(e) ? !1 : t
}

function df(e, t, n, r) {
	t === void 0 && (t = !1), n === void 0 && (n = !1);
	const i = e.getBoundingClientRect(),
		o = TT(e);
	let a = Sl(1);
	t && (r ? Za(r) && (a = fp(r)) : a = fp(e));
	const s = RNe(o, n, r) ? cZ(o) : Sl(0);
	let u = (i.left + s.x) / a.x,
		l = (i.top + s.y) / a.y,
		c = i.width / a.x,
		d = i.height / a.y;
	if (o) {
		const p = Bi(o),
			g = r && Za(r) ? Bi(r) : r;
		let m = p,
			_ = m.frameElement;
		for (; _ && r && g !== m;) {
			const S = fp(_),
				y = _.getBoundingClientRect(),
				w = ua(_),
				b = y.left + (_.clientLeft + parseFloat(w.paddingLeft)) * S.x,
				E = y.top + (_.clientTop + parseFloat(w.paddingTop)) * S.y;
			u *= S.x, l *= S.y, c *= S.x, d *= S.y, u += b, l += E, m = Bi(_), _ = m.frameElement
		}
	}
	return Kw({
		width: c,
		height: d,
		x: u,
		y: l
	})
}

function INe(e) {
	let {
		elements: t,
		rect: n,
		offsetParent: r,
		strategy: i
	} = e;
	const o = i === "fixed",
		a = Js(r),
		s = t ? e4(t.floating) : !1;
	if (r === a || s && o) return n;
	let u = {
			scrollLeft: 0,
			scrollTop: 0
		},
		l = Sl(1);
	const c = Sl(0),
		d = qa(r);
	if ((d || !d && !o) && ((Vh(r) !== "body" || sg(a)) && (u = t4(r)), qa(r))) {
		const p = df(r);
		l = fp(r), c.x = p.x + r.clientLeft, c.y = p.y + r.clientTop
	}
	return {
		width: n.width * l.x,
		height: n.height * l.y,
		x: n.x * l.x - u.scrollLeft * l.x + c.x,
		y: n.y * l.y - u.scrollTop * l.y + c.y
	}
}

function kNe(e) {
	return Array.from(e.getClientRects())
}

function fZ(e) {
	return df(Js(e)).left + t4(e).scrollLeft
}

function ANe(e) {
	const t = Js(e),
		n = t4(e),
		r = e.ownerDocument.body,
		i = $i(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth),
		o = $i(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
	let a = -n.scrollLeft + fZ(e);
	const s = -n.scrollTop;
	return ua(r).direction === "rtl" && (a += $i(t.clientWidth, r.clientWidth) - i), {
		width: i,
		height: o,
		x: a,
		y: s
	}
}

function MNe(e, t) {
	const n = Bi(e),
		r = Js(e),
		i = n.visualViewport;
	let o = r.clientWidth,
		a = r.clientHeight,
		s = 0,
		u = 0;
	if (i) {
		o = i.width, a = i.height;
		const l = OT();
		(!l || l && t === "fixed") && (s = i.offsetLeft, u = i.offsetTop)
	}
	return {
		width: o,
		height: a,
		x: s,
		y: u
	}
}

function PNe(e, t) {
	const n = df(e, !0, t === "fixed"),
		r = n.top + e.clientTop,
		i = n.left + e.clientLeft,
		o = qa(e) ? fp(e) : Sl(1),
		a = e.clientWidth * o.x,
		s = e.clientHeight * o.y,
		u = i * o.x,
		l = r * o.y;
	return {
		width: a,
		height: s,
		x: u,
		y: l
	}
}

function xD(e, t, n) {
	let r;
	if (t === "viewport") r = MNe(e, n);
	else if (t === "document") r = ANe(Js(e));
	else if (Za(t)) r = PNe(t, n);
	else {
		const i = cZ(e);
		r = {
			...t,
			x: t.x - i.x,
			y: t.y - i.y
		}
	}
	return Kw(r)
}

function dZ(e, t) {
	const n = El(e);
	return n === t || !Za(n) || qp(n) ? !1 : ua(n).position === "fixed" || dZ(n, t)
}

function LNe(e, t) {
	const n = t.get(e);
	if (n) return n;
	let r = s1(e, [], !1).filter(s => Za(s) && Vh(s) !== "body"),
		i = null;
	const o = ua(e).position === "fixed";
	let a = o ? El(e) : e;
	for (; Za(a) && !qp(a);) {
		const s = ua(a),
			u = CT(a);
		!u && s.position === "fixed" && (i = null), (o ? !u && !i : !u && s.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || sg(a) && !u && dZ(e, a)) ? r = r.filter(c => c !== a) : i = s, a = El(a)
	}
	return t.set(e, r), r
}

function NNe(e) {
	let {
		element: t,
		boundary: n,
		rootBoundary: r,
		strategy: i
	} = e;
	const a = [...n === "clippingAncestors" ? e4(t) ? [] : LNe(t, this._c) : [].concat(n), r],
		s = a[0],
		u = a.reduce((l, c) => {
			const d = xD(t, c, i);
			return l.top = $i(d.top, l.top), l.right = $a(d.right, l.right), l.bottom = $a(d.bottom, l.bottom), l.left = $i(d.left, l.left), l
		}, xD(t, s, i));
	return {
		width: u.right - u.left,
		height: u.bottom - u.top,
		x: u.left,
		y: u.top
	}
}

function DNe(e) {
	const {
		width: t,
		height: n
	} = lZ(e);
	return {
		width: t,
		height: n
	}
}

function $Ne(e, t, n) {
	const r = qa(t),
		i = Js(t),
		o = n === "fixed",
		a = df(e, !0, o, t);
	let s = {
		scrollLeft: 0,
		scrollTop: 0
	};
	const u = Sl(0);
	if (r || !r && !o)
		if ((Vh(t) !== "body" || sg(i)) && (s = t4(t)), r) {
			const d = df(t, !0, o, t);
			u.x = d.x + t.clientLeft, u.y = d.y + t.clientTop
		} else i && (u.x = fZ(i));
	const l = a.left + s.scrollLeft - u.x,
		c = a.top + s.scrollTop - u.y;
	return {
		x: l,
		y: c,
		width: a.width,
		height: a.height
	}
}

function Rx(e) {
	return ua(e).position === "static"
}

function ED(e, t) {
	return !qa(e) || ua(e).position === "fixed" ? null : t ? t(e) : e.offsetParent
}

function pZ(e, t) {
	const n = Bi(e);
	if (e4(e)) return n;
	if (!qa(e)) {
		let i = El(e);
		for (; i && !qp(i);) {
			if (Za(i) && !Rx(i)) return i;
			i = El(i)
		}
		return n
	}
	let r = ED(e, t);
	for (; r && CNe(r) && Rx(r);) r = ED(r, t);
	return r && qp(r) && Rx(r) && !CT(r) ? n : r || ONe(e) || n
}
const FNe = async function(e) {
	const t = this.getOffsetParent || pZ,
		n = this.getDimensions,
		r = await n(e.floating);
	return {
		reference: $Ne(e.reference, await t(e.floating), e.strategy),
		floating: {
			x: 0,
			y: 0,
			width: r.width,
			height: r.height
		}
	}
};

function jNe(e) {
	return ua(e).direction === "rtl"
}
const UNe = {
	convertOffsetParentRelativeRectToViewportRelativeRect: INe,
	getDocumentElement: Js,
	getClippingRect: NNe,
	getOffsetParent: pZ,
	getElementRects: FNe,
	getClientRects: kNe,
	getDimensions: DNe,
	getScale: fp,
	isElement: Za,
	isRTL: jNe
};

function HNe(e, t) {
	let n = null,
		r;
	const i = Js(e);

	function o() {
		var s;
		clearTimeout(r), (s = n) == null || s.disconnect(), n = null
	}

	function a(s, u) {
		s === void 0 && (s = !1), u === void 0 && (u = 1), o();
		const {
			left: l,
			top: c,
			width: d,
			height: p
		} = e.getBoundingClientRect();
		if (s || t(), !d || !p) return;
		const g = sy(c),
			m = sy(i.clientWidth - (l + d)),
			_ = sy(i.clientHeight - (c + p)),
			S = sy(l),
			w = {
				rootMargin: -g + "px " + -m + "px " + -_ + "px " + -S + "px",
				threshold: $i(0, $a(1, u)) || 1
			};
		let b = !0;

		function E(T) {
			const O = T[0].intersectionRatio;
			if (O !== u) {
				if (!b) return a();
				O ? a(!1, O) : r = setTimeout(() => {
					a(!1, 1e-7)
				}, 1e3)
			}
			b = !1
		}
		try {
			n = new IntersectionObserver(E, {
				...w,
				root: i.ownerDocument
			})
		} catch (T) {
			n = new IntersectionObserver(E, w)
		}
		n.observe(e)
	}
	return a(!0), o
}

function hZ(e, t, n, r) {
	r === void 0 && (r = {});
	const {
		ancestorScroll: i = !0,
		ancestorResize: o = !0,
		elementResize: a = typeof ResizeObserver == "function",
		layoutShift: s = typeof IntersectionObserver == "function",
		animationFrame: u = !1
	} = r, l = TT(e), c = i || o ? [...l ? s1(l) : [], ...s1(t)] : [];
	c.forEach(y => {
		i && y.addEventListener("scroll", n, {
			passive: !0
		}), o && y.addEventListener("resize", n)
	});
	const d = l && s ? HNe(l, n) : null;
	let p = -1,
		g = null;
	a && (g = new ResizeObserver(y => {
		let [w] = y;
		w && w.target === l && g && (g.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
			var b;
			(b = g) == null || b.observe(t)
		})), n()
	}), l && !u && g.observe(l), g.observe(t));
	let m, _ = u ? df(e) : null;
	u && S();

	function S() {
		const y = df(e);
		_ && (y.x !== _.x || y.y !== _.y || y.width !== _.width || y.height !== _.height) && n(), _ = y, m = requestAnimationFrame(S)
	}
	return n(), () => {
		var y;
		c.forEach(w => {
			i && w.removeEventListener("scroll", n), o && w.removeEventListener("resize", n)
		}), d == null || d(), (y = g) == null || y.disconnect(), g = null, u && cancelAnimationFrame(m)
	}
}
const VNe = bNe,
	BNe = SNe,
	zNe = yNe,
	GNe = ENe,
	WNe = wNe,
	CD = mNe,
	KNe = xNe,
	ZNe = (e, t, n) => {
		const r = new Map,
			i = {
				platform: UNe,
				...n
			},
			o = {
				...i.platform,
				_c: r
			};
		return gNe(e, t, {
			...i,
			platform: o
		})
	};
var d2 = typeof document < "u" ? h.useLayoutEffect : h.useEffect;

function Zw(e, t) {
	if (e === t) return !0;
	if (typeof e != typeof t) return !1;
	if (typeof e == "function" && e.toString() === t.toString()) return !0;
	let n, r, i;
	if (e && t && typeof e == "object") {
		if (Array.isArray(e)) {
			if (n = e.length, n !== t.length) return !1;
			for (r = n; r-- !== 0;)
				if (!Zw(e[r], t[r])) return !1;
			return !0
		}
		if (i = Object.keys(e), n = i.length, n !== Object.keys(t).length) return !1;
		for (r = n; r-- !== 0;)
			if (!{}.hasOwnProperty.call(t, i[r])) return !1;
		for (r = n; r-- !== 0;) {
			const o = i[r];
			if (!(o === "_owner" && e.$$typeof) && !Zw(e[o], t[o])) return !1
		}
		return !0
	}
	return e !== e && t !== t
}

function vZ(e) {
	return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1
}

function OD(e, t) {
	const n = vZ(e);
	return Math.round(t * n) / n
}

function TD(e) {
	const t = h.useRef(e);
	return d2(() => {
		t.current = e
	}), t
}

function gZ(e) {
	e === void 0 && (e = {});
	const {
		placement: t = "bottom",
		strategy: n = "absolute",
		middleware: r = [],
		platform: i,
		elements: {
			reference: o,
			floating: a
		} = {},
		transform: s = !0,
		whileElementsMounted: u,
		open: l
	} = e, [c, d] = h.useState({
		x: 0,
		y: 0,
		strategy: n,
		placement: t,
		middlewareData: {},
		isPositioned: !1
	}), [p, g] = h.useState(r);
	Zw(p, r) || g(r);
	const [m, _] = h.useState(null), [S, y] = h.useState(null), w = h.useCallback(te => {
		te !== O.current && (O.current = te, _(te))
	}, []), b = h.useCallback(te => {
		te !== R.current && (R.current = te, y(te))
	}, []), E = o || m, T = a || S, O = h.useRef(null), R = h.useRef(null), k = h.useRef(c), M = u != null, D = TD(u), P = TD(i), U = h.useCallback(() => {
		if (!O.current || !R.current) return;
		const te = {
			placement: t,
			strategy: n,
			middleware: p
		};
		P.current && (te.platform = P.current), ZNe(O.current, R.current, te).then(q => {
			const F = {
				...q,
				isPositioned: !0
			};
			H.current && !Zw(k.current, F) && (k.current = F, Qa.flushSync(() => {
				d(F)
			}))
		})
	}, [p, t, n, P]);
	d2(() => {
		l === !1 && k.current.isPositioned && (k.current.isPositioned = !1, d(te => ({
			...te,
			isPositioned: !1
		})))
	}, [l]);
	const H = h.useRef(!1);
	d2(() => (H.current = !0, () => {
		H.current = !1
	}), []), d2(() => {
		if (E && (O.current = E), T && (R.current = T), E && T) {
			if (D.current) return D.current(E, T, U);
			U()
		}
	}, [E, T, U, D, M]);
	const G = h.useMemo(() => ({
			reference: O,
			floating: R,
			setReference: w,
			setFloating: b
		}), [w, b]),
		K = h.useMemo(() => ({
			reference: E,
			floating: T
		}), [E, T]),
		ee = h.useMemo(() => {
			const te = {
				position: n,
				left: 0,
				top: 0
			};
			if (!K.floating) return te;
			const q = OD(K.floating, c.x),
				F = OD(K.floating, c.y);
			return s ? {
				...te,
				transform: "translate(" + q + "px, " + F + "px)",
				...vZ(K.floating) >= 1.5 && {
					willChange: "transform"
				}
			} : {
				position: n,
				left: q,
				top: F
			}
		}, [n, s, K.floating, c.x, c.y]);
	return h.useMemo(() => ({
		...c,
		update: U,
		refs: G,
		elements: K,
		floatingStyles: ee
	}), [c, U, G, K, ee])
}
const qNe = e => {
		function t(n) {
			return {}.hasOwnProperty.call(n, "current")
		}
		return {
			name: "arrow",
			options: e,
			fn(n) {
				const {
					element: r,
					padding: i
				} = typeof e == "function" ? e(n) : e;
				return r && t(r) ? r.current != null ? CD({
					element: r.current,
					padding: i
				}).fn(n) : {} : r ? CD({
					element: r,
					padding: i
				}).fn(n) : {}
			}
		}
	},
	mZ = (e, t) => ({
		...VNe(e),
		options: [e, t]
	}),
	yZ = (e, t) => ({
		...BNe(e),
		options: [e, t]
	}),
	wZ = (e, t) => ({
		...KNe(e),
		options: [e, t]
	}),
	_Z = (e, t) => ({
		...zNe(e),
		options: [e, t]
	}),
	bZ = (e, t) => ({
		...GNe(e),
		options: [e, t]
	}),
	SZ = (e, t) => ({
		...WNe(e),
		options: [e, t]
	}),
	xZ = (e, t) => ({
		...qNe(e),
		options: [e, t]
	});
var YNe = "Arrow",
	EZ = h.forwardRef((e, t) => {
		const {
			children: n,
			width: r = 10,
			height: i = 5,
			...o
		} = e;
		return C.jsx(Xs.svg, {
			...o,
			ref: t,
			width: r,
			height: i,
			viewBox: "0 0 30 10",
			preserveAspectRatio: "none",
			children: e.asChild ? n : C.jsx("polygon", {
				points: "0,0 30,0 15,10"
			})
		})
	});
EZ.displayName = YNe;
var XNe = EZ,
	Yp = globalThis != null && globalThis.document ? h.useLayoutEffect : () => {};

function JNe(e) {
	const [t, n] = h.useState(void 0);
	return Yp(() => {
		if (e) {
			n({
				width: e.offsetWidth,
				height: e.offsetHeight
			});
			const r = new ResizeObserver(i => {
				if (!Array.isArray(i) || !i.length) return;
				const o = i[0];
				let a, s;
				if ("borderBoxSize" in o) {
					const u = o.borderBoxSize,
						l = Array.isArray(u) ? u[0] : u;
					a = l.inlineSize, s = l.blockSize
				} else a = e.offsetWidth, s = e.offsetHeight;
				n({
					width: a,
					height: s
				})
			});
			return r.observe(e, {
				box: "border-box"
			}), () => r.unobserve(e)
		} else n(void 0)
	}, [e]), t
}
var RT = "Popper",
	[CZ, OZ] = eZ(RT),
	[QNe, TZ] = CZ(RT),
	RZ = e => {
		const {
			__scopePopper: t,
			children: n
		} = e, [r, i] = h.useState(null);
		return C.jsx(QNe, {
			scope: t,
			anchor: r,
			onAnchorChange: i,
			children: n
		})
	};
RZ.displayName = RT;
var IZ = "PopperAnchor",
	kZ = h.forwardRef((e, t) => {
		const {
			__scopePopper: n,
			virtualRef: r,
			...i
		} = e, o = TZ(IZ, n), a = h.useRef(null), s = $l(t, a);
		return h.useEffect(() => {
			o.onAnchorChange((r == null ? void 0 : r.current) || a.current)
		}), r ? null : C.jsx(Xs.div, {
			...i,
			ref: s
		})
	});
kZ.displayName = IZ;
var IT = "PopperContent",
	[eDe, tDe] = CZ(IT),
	AZ = h.forwardRef((e, t) => {
		var pe, Ee, be, st, _t, Ve, Mt, gt;
		const {
			__scopePopper: n,
			side: r = "bottom",
			sideOffset: i = 0,
			align: o = "center",
			alignOffset: a = 0,
			arrowPadding: s = 0,
			avoidCollisions: u = !0,
			collisionBoundary: l = [],
			collisionPadding: c = 0,
			sticky: d = "partial",
			hideWhenDetached: p = !1,
			updatePositionStrategy: g = "optimized",
			onPlaced: m,
			..._
		} = e, S = TZ(IT, n), [y, w] = h.useState(null), b = $l(t, mt => w(mt)), [E, T] = h.useState(null), O = JNe(E), R = (pe = O == null ? void 0 : O.width) != null ? pe : 0, k = (Ee = O == null ? void 0 : O.height) != null ? Ee : 0, M = r + (o !== "center" ? "-" + o : ""), D = typeof c == "number" ? c : {
			top: 0,
			right: 0,
			bottom: 0,
			left: 0,
			...c
		}, P = Array.isArray(l) ? l : [l], U = P.length > 0, H = {
			padding: D,
			boundary: P.filter(rDe),
			altBoundary: U
		}, {
			refs: G,
			floatingStyles: K,
			placement: ee,
			isPositioned: te,
			middlewareData: q
		} = gZ({
			strategy: "fixed",
			placement: M,
			whileElementsMounted: (...mt) => hZ(...mt, {
				animationFrame: g === "always"
			}),
			elements: {
				reference: S.anchor
			},
			middleware: [mZ({
				mainAxis: i + k,
				alignmentAxis: a
			}), u && yZ({
				mainAxis: !0,
				crossAxis: !1,
				limiter: d === "partial" ? wZ() : void 0,
				...H
			}), u && _Z({
				...H
			}), bZ({
				...H,
				apply: ({
					elements: mt,
					rects: Je,
					availableWidth: ze,
					availableHeight: Ct
				}) => {
					const {
						width: Zt,
						height: ei
					} = Je.reference, qt = mt.floating.style;
					qt.setProperty("--radix-popper-available-width", "".concat(ze, "px")), qt.setProperty("--radix-popper-available-height", "".concat(Ct, "px")), qt.setProperty("--radix-popper-anchor-width", "".concat(Zt, "px")), qt.setProperty("--radix-popper-anchor-height", "".concat(ei, "px"))
				}
			}), E && xZ({
				element: E,
				padding: s
			}), iDe({
				arrowWidth: R,
				arrowHeight: k
			}), p && SZ({
				strategy: "referenceHidden",
				...H
			})]
		}), [F, j] = LZ(ee), B = bl(m);
		Yp(() => {
			te && (B == null || B())
		}, [te, B]);
		const Z = (be = q.arrow) == null ? void 0 : be.x,
			z = (st = q.arrow) == null ? void 0 : st.y,
			Q = ((_t = q.arrow) == null ? void 0 : _t.centerOffset) !== 0,
			[ie, le] = h.useState();
		return Yp(() => {
			y && le(window.getComputedStyle(y).zIndex)
		}, [y]), C.jsx("div", {
			ref: G.setFloating,
			"data-radix-popper-content-wrapper": "",
			style: {
				...K,
				transform: te ? K.transform : "translate(0, -200%)",
				minWidth: "max-content",
				zIndex: ie,
				"--radix-popper-transform-origin": [(Ve = q.transformOrigin) == null ? void 0 : Ve.x, (Mt = q.transformOrigin) == null ? void 0 : Mt.y].join(" "),
				...((gt = q.hide) == null ? void 0 : gt.referenceHidden) && {
					visibility: "hidden",
					pointerEvents: "none"
				}
			},
			dir: e.dir,
			children: C.jsx(eDe, {
				scope: n,
				placedSide: F,
				onArrowChange: T,
				arrowX: Z,
				arrowY: z,
				shouldHideArrow: Q,
				children: C.jsx(Xs.div, {
					"data-side": F,
					"data-align": j,
					..._,
					ref: b,
					style: {
						..._.style,
						animation: te ? void 0 : "none"
					}
				})
			})
		})
	});
AZ.displayName = IT;
var MZ = "PopperArrow",
	nDe = {
		top: "bottom",
		right: "left",
		bottom: "top",
		left: "right"
	},
	PZ = h.forwardRef(function(t, n) {
		const {
			__scopePopper: r,
			...i
		} = t, o = tDe(MZ, r), a = nDe[o.placedSide];
		return C.jsx("span", {
			ref: o.onArrowChange,
			style: {
				position: "absolute",
				left: o.arrowX,
				top: o.arrowY,
				[a]: 0,
				transformOrigin: {
					top: "",
					right: "0 0",
					bottom: "center 0",
					left: "100% 0"
				} [o.placedSide],
				transform: {
					top: "translateY(100%)",
					right: "translateY(50%) rotate(90deg) translateX(-50%)",
					bottom: "rotate(180deg)",
					left: "translateY(50%) rotate(-90deg) translateX(50%)"
				} [o.placedSide],
				visibility: o.shouldHideArrow ? "hidden" : void 0
			},
			children: C.jsx(XNe, {
				...i,
				ref: n,
				style: {
					...i.style,
					display: "block"
				}
			})
		})
	});
PZ.displayName = MZ;

function rDe(e) {
	return e !== null
}
var iDe = e => ({
	name: "transformOrigin",
	options: e,
	fn(t) {
		var S, y, w, b, E;
		const {
			placement: n,
			rects: r,
			middlewareData: i
		} = t, a = ((S = i.arrow) == null ? void 0 : S.centerOffset) !== 0, s = a ? 0 : e.arrowWidth, u = a ? 0 : e.arrowHeight, [l, c] = LZ(n), d = {
			start: "0%",
			center: "50%",
			end: "100%"
		} [c], p = ((w = (y = i.arrow) == null ? void 0 : y.x) != null ? w : 0) + s / 2, g = ((E = (b = i.arrow) == null ? void 0 : b.y) != null ? E : 0) + u / 2;
		let m = "",
			_ = "";
		return l === "bottom" ? (m = a ? d : "".concat(p, "px"), _ = "".concat(-u, "px")) : l === "top" ? (m = a ? d : "".concat(p, "px"), _ = "".concat(r.floating.height + u, "px")) : l === "right" ? (m = "".concat(-u, "px"), _ = a ? d : "".concat(g, "px")) : l === "left" && (m = "".concat(r.floating.width + u, "px"), _ = a ? d : "".concat(g, "px")), {
			data: {
				x: m,
				y: _
			}
		}
	}
});

function LZ(e) {
	const [t, n = "center"] = e.split("-");
	return [t, n]
}
var oDe = RZ,
	NZ = kZ,
	aDe = AZ,
	sDe = PZ,
	uDe = "Portal",
	DZ = h.forwardRef((e, t) => {
		var s;
		const {
			container: n,
			...r
		} = e, [i, o] = h.useState(!1);
		Yp(() => o(!0), []);
		const a = n || i && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
		return a ? hl.createPortal(C.jsx(Xs.div, {
			...r,
			ref: t
		}), a) : null
	});
DZ.displayName = uDe;

function lDe(e, t) {
	return h.useReducer((n, r) => {
		const i = t[n][r];
		return i != null ? i : n
	}, e)
}
var kT = e => {
	const {
		present: t,
		children: n
	} = e, r = cDe(t), i = typeof n == "function" ? n({
		present: r.isPresent
	}) : h.Children.only(n), o = $l(r.ref, fDe(i));
	return typeof n == "function" || r.isPresent ? h.cloneElement(i, {
		ref: o
	}) : null
};
kT.displayName = "Presence";

function cDe(e) {
	const [t, n] = h.useState(), r = h.useRef({}), i = h.useRef(e), o = h.useRef("none"), a = e ? "mounted" : "unmounted", [s, u] = lDe(a, {
		mounted: {
			UNMOUNT: "unmounted",
			ANIMATION_OUT: "unmountSuspended"
		},
		unmountSuspended: {
			MOUNT: "mounted",
			ANIMATION_END: "unmounted"
		},
		unmounted: {
			MOUNT: "mounted"
		}
	});
	return h.useEffect(() => {
		const l = uy(r.current);
		o.current = s === "mounted" ? l : "none"
	}, [s]), Yp(() => {
		const l = r.current,
			c = i.current;
		if (c !== e) {
			const p = o.current,
				g = uy(l);
			e ? u("MOUNT") : g === "none" || (l == null ? void 0 : l.display) === "none" ? u("UNMOUNT") : u(c && p !== g ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e
		}
	}, [e, u]), Yp(() => {
		if (t) {
			const l = d => {
					const g = uy(r.current).includes(d.animationName);
					d.target === t && g && Qa.flushSync(() => u("ANIMATION_END"))
				},
				c = d => {
					d.target === t && (o.current = uy(r.current))
				};
			return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", l), t.addEventListener("animationend", l), () => {
				t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", l), t.removeEventListener("animationend", l)
			}
		} else u("ANIMATION_END")
	}, [t, u]), {
		isPresent: ["mounted", "unmountSuspended"].includes(s),
		ref: h.useCallback(l => {
			l && (r.current = getComputedStyle(l)), n(l)
		}, [])
	}
}

function uy(e) {
	return (e == null ? void 0 : e.animationName) || "none"
}

function fDe(e) {
	var r, i;
	let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get,
		n = t && "isReactWarning" in t && t.isReactWarning;
	return n ? e.ref : (t = (i = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : i.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref)
}

function dDe({
	prop: e,
	defaultProp: t,
	onChange: n = () => {}
}) {
	const [r, i] = pDe({
		defaultProp: t,
		onChange: n
	}), o = e !== void 0, a = o ? e : r, s = bl(n), u = h.useCallback(l => {
		if (o) {
			const d = typeof l == "function" ? l(e) : l;
			d !== e && s(d)
		} else i(l)
	}, [o, e, i, s]);
	return [a, u]
}

function pDe({
	defaultProp: e,
	onChange: t
}) {
	const n = h.useState(e),
		[r] = n,
		i = h.useRef(r),
		o = bl(t);
	return h.useEffect(() => {
		i.current !== r && (o(r), i.current = r)
	}, [r, i, o]), n
}
var hDe = function(e) {
		if (typeof document > "u") return null;
		var t = Array.isArray(e) ? e[0] : e;
		return t.ownerDocument.body
	},
	md = new WeakMap,
	ly = new WeakMap,
	cy = {},
	Ix = 0,
	$Z = function(e) {
		return e && (e.host || $Z(e.parentNode))
	},
	vDe = function(e, t) {
		return t.map(function(n) {
			if (e.contains(n)) return n;
			var r = $Z(n);
			return r && e.contains(r) ? r : (console.error("aria-hidden", n, "in not contained inside", e, ". Doing nothing"), null)
		}).filter(function(n) {
			return !!n
		})
	},
	gDe = function(e, t, n, r) {
		var i = vDe(t, Array.isArray(e) ? e : [e]);
		cy[n] || (cy[n] = new WeakMap);
		var o = cy[n],
			a = [],
			s = new Set,
			u = new Set(i),
			l = function(d) {
				!d || s.has(d) || (s.add(d), l(d.parentNode))
			};
		i.forEach(l);
		var c = function(d) {
			!d || u.has(d) || Array.prototype.forEach.call(d.children, function(p) {
				if (s.has(p)) c(p);
				else try {
					var g = p.getAttribute(r),
						m = g !== null && g !== "false",
						_ = (md.get(p) || 0) + 1,
						S = (o.get(p) || 0) + 1;
					md.set(p, _), o.set(p, S), a.push(p), _ === 1 && m && ly.set(p, !0), S === 1 && p.setAttribute(n, "true"), m || p.setAttribute(r, "true")
				} catch (y) {
					console.error("aria-hidden: cannot operate on ", p, y)
				}
			})
		};
		return c(t), s.clear(), Ix++,
			function() {
				a.forEach(function(d) {
					var p = md.get(d) - 1,
						g = o.get(d) - 1;
					md.set(d, p), o.set(d, g), p || (ly.has(d) || d.removeAttribute(r), ly.delete(d)), g || d.removeAttribute(n)
				}), Ix--, Ix || (md = new WeakMap, md = new WeakMap, ly = new WeakMap, cy = {})
			}
	},
	FZ = function(e, t, n) {
		n === void 0 && (n = "data-aria-hidden");
		var r = Array.from(Array.isArray(e) ? e : [e]),
			i = hDe(e);
		return i ? (r.push.apply(r, Array.from(i.querySelectorAll("[aria-live]"))), gDe(r, i, n, "aria-hidden")) : function() {
			return null
		}
	},
	Vu = function() {
		return Vu = Object.assign || function(t) {
			for (var n, r = 1, i = arguments.length; r < i; r++) {
				n = arguments[r];
				for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o])
			}
			return t
		}, Vu.apply(this, arguments)
	};

function mDe(e, t) {
	var n = {};
	for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
	if (e != null && typeof Object.getOwnPropertySymbols == "function")
		for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
	return n
}

function yDe(e, t, n) {
	if (n || arguments.length === 2)
		for (var r = 0, i = t.length, o; r < i; r++)(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
	return e.concat(o || Array.prototype.slice.call(t))
}
var p2 = "right-scroll-bar-position",
	h2 = "width-before-scroll-bar",
	wDe = "with-scroll-bars-hidden",
	_De = "--removed-body-scroll-bar-size";

function kx(e, t) {
	return typeof e == "function" ? e(t) : e && (e.current = t), e
}

function bDe(e, t) {
	var n = h.useState(function() {
		return {
			value: e,
			callback: t,
			facade: {
				get current() {
					return n.value
				},
				set current(r) {
					var i = n.value;
					i !== r && (n.value = r, n.callback(r, i))
				}
			}
		}
	})[0];
	return n.callback = t, n.facade
}
var SDe = typeof window < "u" ? h.useLayoutEffect : h.useEffect,
	RD = new WeakMap;

function xDe(e, t) {
	var n = bDe(null, function(r) {
		return e.forEach(function(i) {
			return kx(i, r)
		})
	});
	return SDe(function() {
		var r = RD.get(n);
		if (r) {
			var i = new Set(r),
				o = new Set(e),
				a = n.current;
			i.forEach(function(s) {
				o.has(s) || kx(s, null)
			}), o.forEach(function(s) {
				i.has(s) || kx(s, a)
			})
		}
		RD.set(n, e)
	}, [e]), n
}
var qw = function() {
	return qw = Object.assign || function(t) {
		for (var n, r = 1, i = arguments.length; r < i; r++) {
			n = arguments[r];
			for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o])
		}
		return t
	}, qw.apply(this, arguments)
};

function EDe(e, t) {
	var n = {};
	for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
	if (e != null && typeof Object.getOwnPropertySymbols == "function")
		for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
	return n
}

function CDe(e) {
	return e
}

function ODe(e, t) {
	t === void 0 && (t = CDe);
	var n = [],
		r = !1,
		i = {
			read: function() {
				if (r) throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
				return n.length ? n[n.length - 1] : e
			},
			useMedium: function(o) {
				var a = t(o, r);
				return n.push(a),
					function() {
						n = n.filter(function(s) {
							return s !== a
						})
					}
			},
			assignSyncMedium: function(o) {
				for (r = !0; n.length;) {
					var a = n;
					n = [], a.forEach(o)
				}
				n = {
					push: function(s) {
						return o(s)
					},
					filter: function() {
						return n
					}
				}
			},
			assignMedium: function(o) {
				r = !0;
				var a = [];
				if (n.length) {
					var s = n;
					n = [], s.forEach(o), a = n
				}
				var u = function() {
						var c = a;
						a = [], c.forEach(o)
					},
					l = function() {
						return Promise.resolve().then(u)
					};
				l(), n = {
					push: function(c) {
						a.push(c), l()
					},
					filter: function(c) {
						return a = a.filter(c), n
					}
				}
			}
		};
	return i
}

function TDe(e) {
	e === void 0 && (e = {});
	var t = ODe(null);
	return t.options = qw({
		async: !0,
		ssr: !1
	}, e), t
}
var jZ = function(e) {
	var t = e.sideCar,
		n = EDe(e, ["sideCar"]);
	if (!t) throw new Error("Sidecar: please provide `sideCar` property to import the right car");
	var r = t.read();
	if (!r) throw new Error("Sidecar medium not found");
	return h.createElement(r, qw({}, n))
};
jZ.isSideCarExport = !0;

function RDe(e, t) {
	return e.useMedium(t), jZ
}
var UZ = TDe(),
	Ax = function() {},
	n4 = h.forwardRef(function(e, t) {
		var n = h.useRef(null),
			r = h.useState({
				onScrollCapture: Ax,
				onWheelCapture: Ax,
				onTouchMoveCapture: Ax
			}),
			i = r[0],
			o = r[1],
			a = e.forwardProps,
			s = e.children,
			u = e.className,
			l = e.removeScrollBar,
			c = e.enabled,
			d = e.shards,
			p = e.sideCar,
			g = e.noIsolation,
			m = e.inert,
			_ = e.allowPinchZoom,
			S = e.as,
			y = S === void 0 ? "div" : S,
			w = e.gapMode,
			b = mDe(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]),
			E = p,
			T = xDe([n, t]),
			O = Vu(Vu({}, b), i);
		return h.createElement(h.Fragment, null, c && h.createElement(E, {
			sideCar: UZ,
			removeScrollBar: l,
			shards: d,
			noIsolation: g,
			inert: m,
			setCallbacks: o,
			allowPinchZoom: !!_,
			lockRef: n,
			gapMode: w
		}), a ? h.cloneElement(h.Children.only(s), Vu(Vu({}, O), {
			ref: T
		})) : h.createElement(y, Vu({}, O, {
			className: u,
			ref: T
		}), s))
	});
n4.defaultProps = {
	enabled: !0,
	removeScrollBar: !0,
	inert: !1
};
n4.classNames = {
	fullWidth: h2,
	zeroRight: p2
};
var HZ = function() {
	if (typeof __webpack_nonce__ < "u") return __webpack_nonce__
};

function IDe() {
	if (!document) return null;
	var e = document.createElement("style");
	e.type = "text/css";
	var t = HZ();
	return t && e.setAttribute("nonce", t), e
}

function kDe(e, t) {
	e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t))
}

function ADe(e) {
	var t = document.head || document.getElementsByTagName("head")[0];
	t.appendChild(e)
}
var MDe = function() {
		var e = 0,
			t = null;
		return {
			add: function(n) {
				e == 0 && (t = IDe()) && (kDe(t, n), ADe(t)), e++
			},
			remove: function() {
				e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null)
			}
		}
	},
	PDe = function() {
		var e = MDe();
		return function(t, n) {
			h.useEffect(function() {
				return e.add(t),
					function() {
						e.remove()
					}
			}, [t && n])
		}
	},
	VZ = function() {
		var e = PDe(),
			t = function(n) {
				var r = n.styles,
					i = n.dynamic;
				return e(r, i), null
			};
		return t
	},
	LDe = {
		left: 0,
		top: 0,
		right: 0,
		gap: 0
	},
	Mx = function(e) {
		return parseInt(e || "", 10) || 0
	},
	NDe = function(e) {
		var t = window.getComputedStyle(document.body),
			n = t[e === "padding" ? "paddingLeft" : "marginLeft"],
			r = t[e === "padding" ? "paddingTop" : "marginTop"],
			i = t[e === "padding" ? "paddingRight" : "marginRight"];
		return [Mx(n), Mx(r), Mx(i)]
	},
	DDe = function(e) {
		if (e === void 0 && (e = "margin"), typeof window > "u") return LDe;
		var t = NDe(e),
			n = document.documentElement.clientWidth,
			r = window.innerWidth;
		return {
			left: t[0],
			top: t[1],
			right: t[2],
			gap: Math.max(0, r - n + t[2] - t[0])
		}
	},
	$De = VZ(),
	dp = "data-scroll-locked",
	FDe = function(e, t, n, r) {
		var i = e.left,
			o = e.top,
			a = e.right,
			s = e.gap;
		return n === void 0 && (n = "margin"), "\n  .".concat(wDe, " {\n   overflow: hidden ").concat(r, ";\n   padding-right: ").concat(s, "px ").concat(r, ";\n  }\n  body[").concat(dp, "] {\n    overflow: hidden ").concat(r, ";\n    overscroll-behavior: contain;\n    ").concat([t && "position: relative ".concat(r, ";"), n === "margin" && "\n    padding-left: ".concat(i, "px;\n    padding-top: ").concat(o, "px;\n    padding-right: ").concat(a, "px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s, "px ").concat(r, ";\n    "), n === "padding" && "padding-right: ".concat(s, "px ").concat(r, ";")].filter(Boolean).join(""), "\n  }\n  \n  .").concat(p2, " {\n    right: ").concat(s, "px ").concat(r, ";\n  }\n  \n  .").concat(h2, " {\n    margin-right: ").concat(s, "px ").concat(r, ";\n  }\n  \n  .").concat(p2, " .").concat(p2, " {\n    right: 0 ").concat(r, ";\n  }\n  \n  .").concat(h2, " .").concat(h2, " {\n    margin-right: 0 ").concat(r, ";\n  }\n  \n  body[").concat(dp, "] {\n    ").concat(_De, ": ").concat(s, "px;\n  }\n")
	},
	ID = function() {
		var e = parseInt(document.body.getAttribute(dp) || "0", 10);
		return isFinite(e) ? e : 0
	},
	jDe = function() {
		h.useEffect(function() {
			return document.body.setAttribute(dp, (ID() + 1).toString()),
				function() {
					var e = ID() - 1;
					e <= 0 ? document.body.removeAttribute(dp) : document.body.setAttribute(dp, e.toString())
				}
		}, [])
	},
	UDe = function(e) {
		var t = e.noRelative,
			n = e.noImportant,
			r = e.gapMode,
			i = r === void 0 ? "margin" : r;
		jDe();
		var o = h.useMemo(function() {
			return DDe(i)
		}, [i]);
		return h.createElement($De, {
			styles: FDe(o, !t, i, n ? "" : "!important")
		})
	},
	KC = !1;
if (typeof window < "u") try {
	var fy = Object.defineProperty({}, "passive", {
		get: function() {
			return KC = !0, !0
		}
	});
	window.addEventListener("test", fy, fy), window.removeEventListener("test", fy, fy)
} catch (e) {
	KC = !1
}
var yd = KC ? {
		passive: !1
	} : !1,
	HDe = function(e) {
		return e.tagName === "TEXTAREA"
	},
	BZ = function(e, t) {
		var n = window.getComputedStyle(e);
		return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !HDe(e) && n[t] === "visible")
	},
	VDe = function(e) {
		return BZ(e, "overflowY")
	},
	BDe = function(e) {
		return BZ(e, "overflowX")
	},
	kD = function(e, t) {
		var n = t.ownerDocument,
			r = t;
		do {
			typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
			var i = zZ(e, r);
			if (i) {
				var o = GZ(e, r),
					a = o[1],
					s = o[2];
				if (a > s) return !0
			}
			r = r.parentNode
		} while (r && r !== n.body);
		return !1
	},
	zDe = function(e) {
		var t = e.scrollTop,
			n = e.scrollHeight,
			r = e.clientHeight;
		return [t, n, r]
	},
	GDe = function(e) {
		var t = e.scrollLeft,
			n = e.scrollWidth,
			r = e.clientWidth;
		return [t, n, r]
	},
	zZ = function(e, t) {
		return e === "v" ? VDe(t) : BDe(t)
	},
	GZ = function(e, t) {
		return e === "v" ? zDe(t) : GDe(t)
	},
	WDe = function(e, t) {
		return e === "h" && t === "rtl" ? -1 : 1
	},
	KDe = function(e, t, n, r, i) {
		var o = WDe(e, window.getComputedStyle(t).direction),
			a = o * r,
			s = n.target,
			u = t.contains(s),
			l = !1,
			c = a > 0,
			d = 0,
			p = 0;
		do {
			var g = GZ(e, s),
				m = g[0],
				_ = g[1],
				S = g[2],
				y = _ - S - o * m;
			(m || y) && zZ(e, s) && (d += y, p += m), s instanceof ShadowRoot ? s = s.host : s = s.parentNode
		} while (!u && s !== document.body || u && (t.contains(s) || t === s));
		return (c && (Math.abs(d) < 1 || !i) || !c && (Math.abs(p) < 1 || !i)) && (l = !0), l
	},
	dy = function(e) {
		return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0]
	},
	AD = function(e) {
		return [e.deltaX, e.deltaY]
	},
	MD = function(e) {
		return e && "current" in e ? e.current : e
	},
	ZDe = function(e, t) {
		return e[0] === t[0] && e[1] === t[1]
	},
	qDe = function(e) {
		return "\n  .block-interactivity-".concat(e, " {pointer-events: none;}\n  .allow-interactivity-").concat(e, " {pointer-events: all;}\n")
	},
	YDe = 0,
	wd = [];

function XDe(e) {
	var t = h.useRef([]),
		n = h.useRef([0, 0]),
		r = h.useRef(),
		i = h.useState(YDe++)[0],
		o = h.useState(VZ)[0],
		a = h.useRef(e);
	h.useEffect(function() {
		a.current = e
	}, [e]), h.useEffect(function() {
		if (e.inert) {
			document.body.classList.add("block-interactivity-".concat(i));
			var _ = yDe([e.lockRef.current], (e.shards || []).map(MD), !0).filter(Boolean);
			return _.forEach(function(S) {
					return S.classList.add("allow-interactivity-".concat(i))
				}),
				function() {
					document.body.classList.remove("block-interactivity-".concat(i)), _.forEach(function(S) {
						return S.classList.remove("allow-interactivity-".concat(i))
					})
				}
		}
	}, [e.inert, e.lockRef.current, e.shards]);
	var s = h.useCallback(function(_, S) {
			if ("touches" in _ && _.touches.length === 2) return !a.current.allowPinchZoom;
			var y = dy(_),
				w = n.current,
				b = "deltaX" in _ ? _.deltaX : w[0] - y[0],
				E = "deltaY" in _ ? _.deltaY : w[1] - y[1],
				T, O = _.target,
				R = Math.abs(b) > Math.abs(E) ? "h" : "v";
			if ("touches" in _ && R === "h" && O.type === "range") return !1;
			var k = kD(R, O);
			if (!k) return !0;
			if (k ? T = R : (T = R === "v" ? "h" : "v", k = kD(R, O)), !k) return !1;
			if (!r.current && "changedTouches" in _ && (b || E) && (r.current = T), !T) return !0;
			var M = r.current || T;
			return KDe(M, S, _, M === "h" ? b : E, !0)
		}, []),
		u = h.useCallback(function(_) {
			var S = _;
			if (!(!wd.length || wd[wd.length - 1] !== o)) {
				var y = "deltaY" in S ? AD(S) : dy(S),
					w = t.current.filter(function(T) {
						return T.name === S.type && (T.target === S.target || S.target === T.shadowParent) && ZDe(T.delta, y)
					})[0];
				if (w && w.should) {
					S.cancelable && S.preventDefault();
					return
				}
				if (!w) {
					var b = (a.current.shards || []).map(MD).filter(Boolean).filter(function(T) {
							return T.contains(S.target)
						}),
						E = b.length > 0 ? s(S, b[0]) : !a.current.noIsolation;
					E && S.cancelable && S.preventDefault()
				}
			}
		}, []),
		l = h.useCallback(function(_, S, y, w) {
			var b = {
				name: _,
				delta: S,
				target: y,
				should: w,
				shadowParent: JDe(y)
			};
			t.current.push(b), setTimeout(function() {
				t.current = t.current.filter(function(E) {
					return E !== b
				})
			}, 1)
		}, []),
		c = h.useCallback(function(_) {
			n.current = dy(_), r.current = void 0
		}, []),
		d = h.useCallback(function(_) {
			l(_.type, AD(_), _.target, s(_, e.lockRef.current))
		}, []),
		p = h.useCallback(function(_) {
			l(_.type, dy(_), _.target, s(_, e.lockRef.current))
		}, []);
	h.useEffect(function() {
		return wd.push(o), e.setCallbacks({
				onScrollCapture: d,
				onWheelCapture: d,
				onTouchMoveCapture: p
			}), document.addEventListener("wheel", u, yd), document.addEventListener("touchmove", u, yd), document.addEventListener("touchstart", c, yd),
			function() {
				wd = wd.filter(function(_) {
					return _ !== o
				}), document.removeEventListener("wheel", u, yd), document.removeEventListener("touchmove", u, yd), document.removeEventListener("touchstart", c, yd)
			}
	}, []);
	var g = e.removeScrollBar,
		m = e.inert;
	return h.createElement(h.Fragment, null, m ? h.createElement(o, {
		styles: qDe(i)
	}) : null, g ? h.createElement(UDe, {
		gapMode: e.gapMode
	}) : null)
}

function JDe(e) {
	for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
	return t
}
const QDe = RDe(UZ, XDe);
var WZ = h.forwardRef(function(e, t) {
	return h.createElement(n4, Vu({}, e, {
		ref: t,
		sideCar: QDe
	}))
});
WZ.classNames = n4.classNames;
var AT = "Popover",
	[KZ, Yst] = eZ(AT, [OZ]),
	ug = OZ(),
	[e$e, Fl] = KZ(AT),
	ZZ = e => {
		const {
			__scopePopover: t,
			children: n,
			open: r,
			defaultOpen: i,
			onOpenChange: o,
			modal: a = !1
		} = e, s = ug(t), u = h.useRef(null), [l, c] = h.useState(!1), [d = !1, p] = dDe({
			prop: r,
			defaultProp: i,
			onChange: o
		});
		return C.jsx(oDe, {
			...s,
			children: C.jsx(e$e, {
				scope: t,
				contentId: _l(),
				triggerRef: u,
				open: d,
				onOpenChange: p,
				onOpenToggle: h.useCallback(() => p(g => !g), [p]),
				hasCustomAnchor: l,
				onCustomAnchorAdd: h.useCallback(() => c(!0), []),
				onCustomAnchorRemove: h.useCallback(() => c(!1), []),
				modal: a,
				children: n
			})
		})
	};
ZZ.displayName = AT;
var qZ = "PopoverAnchor",
	t$e = h.forwardRef((e, t) => {
		const {
			__scopePopover: n,
			...r
		} = e, i = Fl(qZ, n), o = ug(n), {
			onCustomAnchorAdd: a,
			onCustomAnchorRemove: s
		} = i;
		return h.useEffect(() => (a(), () => s()), [a, s]), C.jsx(NZ, {
			...o,
			...r,
			ref: t
		})
	});
t$e.displayName = qZ;
var YZ = "PopoverTrigger",
	XZ = h.forwardRef((e, t) => {
		const {
			__scopePopover: n,
			...r
		} = e, i = Fl(YZ, n), o = ug(n), a = $l(t, i.triggerRef), s = C.jsx(Xs.button, {
			type: "button",
			"aria-haspopup": "dialog",
			"aria-expanded": i.open,
			"aria-controls": i.contentId,
			"data-state": nq(i.open),
			...r,
			ref: a,
			onClick: He(e.onClick, i.onOpenToggle)
		});
		return i.hasCustomAnchor ? s : C.jsx(NZ, {
			asChild: !0,
			...o,
			children: s
		})
	});
XZ.displayName = YZ;
var MT = "PopoverPortal",
	[n$e, r$e] = KZ(MT, {
		forceMount: void 0
	}),
	JZ = e => {
		const {
			__scopePopover: t,
			forceMount: n,
			children: r,
			container: i
		} = e, o = Fl(MT, t);
		return C.jsx(n$e, {
			scope: t,
			forceMount: n,
			children: C.jsx(kT, {
				present: n || o.open,
				children: C.jsx(DZ, {
					asChild: !0,
					container: i,
					children: r
				})
			})
		})
	};
JZ.displayName = MT;
var Xp = "PopoverContent",
	QZ = h.forwardRef((e, t) => {
		const n = r$e(Xp, e.__scopePopover),
			{
				forceMount: r = n.forceMount,
				...i
			} = e,
			o = Fl(Xp, e.__scopePopover);
		return C.jsx(kT, {
			present: r || o.open,
			children: o.modal ? C.jsx(i$e, {
				...i,
				ref: t
			}) : C.jsx(o$e, {
				...i,
				ref: t
			})
		})
	});
QZ.displayName = Xp;
var i$e = h.forwardRef((e, t) => {
		const n = Fl(Xp, e.__scopePopover),
			r = h.useRef(null),
			i = $l(t, r),
			o = h.useRef(!1);
		return h.useEffect(() => {
			const a = r.current;
			if (a) return FZ(a)
		}, []), C.jsx(WZ, {
			as: bT,
			allowPinchZoom: !0,
			children: C.jsx(eq, {
				...e,
				ref: i,
				trapFocus: n.open,
				disableOutsidePointerEvents: !0,
				onCloseAutoFocus: He(e.onCloseAutoFocus, a => {
					var s;
					a.preventDefault(), o.current || (s = n.triggerRef.current) == null || s.focus()
				}),
				onPointerDownOutside: He(e.onPointerDownOutside, a => {
					const s = a.detail.originalEvent,
						u = s.button === 0 && s.ctrlKey === !0,
						l = s.button === 2 || u;
					o.current = l
				}, {
					checkForDefaultPrevented: !1
				}),
				onFocusOutside: He(e.onFocusOutside, a => a.preventDefault(), {
					checkForDefaultPrevented: !1
				})
			})
		})
	}),
	o$e = h.forwardRef((e, t) => {
		const n = Fl(Xp, e.__scopePopover),
			r = h.useRef(!1),
			i = h.useRef(!1);
		return C.jsx(eq, {
			...e,
			ref: t,
			trapFocus: !1,
			disableOutsidePointerEvents: !1,
			onCloseAutoFocus: o => {
				var a, s;
				(a = e.onCloseAutoFocus) == null || a.call(e, o), o.defaultPrevented || (r.current || (s = n.triggerRef.current) == null || s.focus(), o.preventDefault()), r.current = !1, i.current = !1
			},
			onInteractOutside: o => {
				var u, l;
				(u = e.onInteractOutside) == null || u.call(e, o), o.defaultPrevented || (r.current = !0, o.detail.originalEvent.type === "pointerdown" && (i.current = !0));
				const a = o.target;
				((l = n.triggerRef.current) == null ? void 0 : l.contains(a)) && o.preventDefault(), o.detail.originalEvent.type === "focusin" && i.current && o.preventDefault()
			}
		})
	}),
	eq = h.forwardRef((e, t) => {
		const {
			__scopePopover: n,
			trapFocus: r,
			onOpenAutoFocus: i,
			onCloseAutoFocus: o,
			disableOutsidePointerEvents: a,
			onEscapeKeyDown: s,
			onPointerDownOutside: u,
			onFocusOutside: l,
			onInteractOutside: c,
			...d
		} = e, p = Fl(Xp, n), g = ug(n);
		return eNe(), C.jsx(iZ, {
			asChild: !0,
			loop: !0,
			trapped: r,
			onMountAutoFocus: i,
			onUnmountAutoFocus: o,
			children: C.jsx(nZ, {
				asChild: !0,
				disableOutsidePointerEvents: a,
				onInteractOutside: c,
				onEscapeKeyDown: s,
				onPointerDownOutside: u,
				onFocusOutside: l,
				onDismiss: () => p.onOpenChange(!1),
				children: C.jsx(aDe, {
					"data-state": nq(p.open),
					role: "dialog",
					id: p.contentId,
					...g,
					...d,
					ref: t,
					style: {
						...d.style,
						"--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
						"--radix-popover-content-available-width": "var(--radix-popper-available-width)",
						"--radix-popover-content-available-height": "var(--radix-popper-available-height)",
						"--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
						"--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
					}
				})
			})
		})
	}),
	tq = "PopoverClose",
	a$e = h.forwardRef((e, t) => {
		const {
			__scopePopover: n,
			...r
		} = e, i = Fl(tq, n);
		return C.jsx(Xs.button, {
			type: "button",
			...r,
			ref: t,
			onClick: He(e.onClick, () => i.onOpenChange(!1))
		})
	});
a$e.displayName = tq;
var s$e = "PopoverArrow",
	u$e = h.forwardRef((e, t) => {
		const {
			__scopePopover: n,
			...r
		} = e, i = ug(n);
		return C.jsx(sDe, {
			...i,
			...r,
			ref: t
		})
	});
u$e.displayName = s$e;

function nq(e) {
	return e ? "open" : "closed"
}
var l$e = ZZ,
	c$e = XZ,
	f$e = JZ,
	d$e = QZ;
const p$e = "ICo9Y",
	h$e = "bvkc-",
	v$e = "RWOJJ",
	g$e = "uF-Qb",
	m$e = "WbByO",
	y$e = "tij3F",
	w$e = "_4F2D7",
	_$e = "iP0qP",
	b$e = "nKesF",
	S$e = "_30r04",
	x$e = "EWV4V",
	E$e = "cHmWN",
	C$e = "VJ-L2",
	O$e = "GCymC",
	T$e = "UDVGW",
	R$e = "oQzxY",
	I$e = "rAeS9",
	k$e = "qakOU",
	A$e = "F4CEK",
	M$e = "kX9Jo",
	P$e = "ZU8lN",
	L$e = "-mAGD",
	N$e = "Q5cos",
	D$e = "jL4GQ",
	vt = {
		Trigger: p$e,
		NativeSelect: h$e,
		TriggerText: v$e,
		TriggerIcon: g$e,
		TriggerClear: m$e,
		ClearIcon: y$e,
		Menu: w$e,
		Dropdown: _$e,
		OptionsList: b$e,
		Option: S$e,
		PressableInner: x$e,
		OptionInner: E$e,
		OptionCheck: C$e,
		OptionIndicatorSlot: O$e,
		OptionGroupHeading: T$e,
		OptionHardLimitHeading: R$e,
		OptionsLimit: I$e,
		Action: k$e,
		ActionInner: A$e,
		ActionsContainer: M$e,
		Search: P$e,
		SearchInputWrapper: L$e,
		SearchInput: N$e,
		SearchEmpty: D$e
	},
	rq = h.createContext({}),
	ts = () => {
		const e = h.useContext(rq);
		if (!e) throw new Error("Select components must be wrapped in <Select />");
		return e
	},
	$$e = ({
		label: e
	}) => C.jsx(C.Fragment, {
		children: e
	}),
	PT = e => {
		var z, Q, ie, le;
		const {
			value: t,
			name: n,
			variant: r = "outline",
			size: i = "md",
			iconType: o = "dropdown",
			loading: a = !1,
			clearable: s = !1,
			disabled: u = !1,
			placeholder: l = "Select...",
			options: c,
			actions: d = [],
			side: p = "bottom",
			avoidCollisions: g = !0,
			onChange: m,
			OptionView: _ = $$e,
			alignOffset: S = -5,
			TriggerView: y,
			searchPlaceholder: w = "",
			searchPredicate: b = X$e,
			searchEmptyMessage: E = "No results found."
		} = e, T = (z = e.block) != null ? z : r !== "bare", O = (Q = e.align) != null ? Q : T ? "center" : "start", R = (ie = e.gutterSize) != null ? ie : i, k = (le = e.listMinWidth) != null ? le : T ? "auto" : 300, M = y != null ? y : _, D = h.useRef(m);
		D.current = m;
		const P = h.useRef(b);
		P.current = b;
		const U = h.useMemo(() => d, [d.length]),
			H = h.useRef(d);
		H.current = d;
		const G = h.useCallback(pe => {
				var Ee;
				(Ee = H.current.find(be => be.id === pe)) == null || Ee.onSelect(pe)
			}, []),
			K = h.useMemo(() => LT(c) ? c.reduce((pe, Ee) => pe + Ee.options.length, 0) : c.length, [c]),
			ee = _l(),
			te = "select-trigger-".concat(ee),
			q = ag("md"),
			F = K > 20,
			j = !!(U != null && U.length),
			B = q || F || j || s,
			Z = h.useMemo(() => ({
				triggerId: te,
				value: t,
				name: n,
				options: c,
				placeholder: l,
				loading: a,
				clearable: s,
				variant: r,
				size: i,
				gutterSize: R,
				iconType: o,
				block: T,
				align: O,
				alignOffset: S,
				side: p,
				avoidCollisions: g,
				listMinWidth: k,
				searchPlaceholder: w,
				searchEmptyMessage: E,
				TriggerView: M,
				OptionView: _,
				actions: U,
				onActionSelect: G,
				onChangeRef: D,
				searchPredicateRef: P,
				searchable: F,
				disabled: u
			}), [te, t, n, c, l, a, s, r, i, R, o, T, O, S, p, g, k, w, E, M, _, U, G, F, u]);
		return C.jsx(rq.Provider, {
			value: Z,
			children: B ? C.jsx(H$e, {}) : C.jsx(j$e, {})
		})
	},
	iq = h.forwardRef((e, t) => {
		const {
			triggerId: n,
			value: r,
			options: i,
			loading: o,
			disabled: a,
			clearable: s,
			variant: u,
			size: l,
			gutterSize: c,
			iconType: d,
			placeholder: p,
			block: g,
			TriggerView: m,
			onChangeRef: _
		} = ts(), {
			onOpenChange: S,
			...y
		} = e, w = h.useMemo(() => lq(i, r) || {
			value: "",
			label: p
		}, [r, i, p]), b = o || !r, E = s && w.value, T = h.useMemo(() => dq(), []), O = k => {
			if (a) return;
			const M = k.key;
			switch (M) {
				case "ArrowDown":
				case "ArrowUp":
				case " ":
					k.preventDefault(), S == null || S(!0);
					break
			}
			if (pq(M)) {
				const D = T(M);
				k.stopPropagation();
				const P = hq(i, D, r);
				P && _.current(P)
			}
		}, R = k => {
			k.button === 2 || a || (k.preventDefault(), S == null || S())
		};
		return C.jsxs("button", {
			id: n,
			ref: t,
			type: "button",
			className: vt.Trigger,
			"data-block": g ? "" : void 0,
			"data-variant": u,
			"data-size": l,
			"data-gutter-size": c,
			"aria-busy": o ? "true" : void 0,
			"data-loading": o ? "" : void 0,
			disabled: a,
			onKeyDown: o ? void 0 : O,
			onPointerEnter: YK,
			onPointerDown: R,
			...y,
			onClick: void 0,
			children: [C.jsx("span", {
				className: vt.TriggerText,
				"data-placeholder": b ? "" : void 0,
				children: C.jsx(m, {
					...w
				})
			}), C.jsxs("div", {
				className: "relative flex items-center gap-2",
				children: [E && C.jsx(F$e, {
					onOpenChange: S
				}), o && C.jsx(aLe, {}), d === "chevronDown" ? C.jsx(zke, {
					className: vt.TriggerIcon,
					width: 10,
					height: 10
				}) : C.jsx(bAe, {
					className: vt.TriggerIcon,
					width: 8,
					height: 11
				})]
			})]
		})
	}),
	F$e = ({
		onOpenChange: e
	}) => {
		const {
			onChangeRef: t
		} = ts(), n = o => {
			o.stopPropagation()
		}, r = () => {
			t.current({
				value: "",
				label: ""
			}), e == null || e(!1)
		}, i = o => {
			switch (o.stopPropagation(), o.key) {
				case "Enter":
				case " ":
					t.current({
						value: "",
						label: ""
					});
					break
			}
		};
		return C.jsx("span", {
			"aria-label": "Clear current value",
			className: vt.TriggerClear,
			onKeyDown: i,
			onPointerEnter: YK,
			onPointerDown: n,
			onClick: r,
			tabIndex: 0,
			children: C.jsx("span", {
				className: vt.PressableInner,
				children: C.jsx(UPe, {
					className: vt.ClearIcon,
					width: 15,
					height: 15
				})
			})
		})
	},
	j$e = () => {
		const {
			value: e,
			name: t,
			options: n,
			placeholder: r,
			block: i,
			loading: o,
			onChangeRef: a
		} = ts(), s = l => {
			const c = l.target.value,
				d = lq(n, c);
			d && a.current(d)
		}, u = l => {
			l.stopPropagation()
		};
		return C.jsx("div", {
			className: "flex",
			children: C.jsxs("div", {
				className: Pe("relative", i && "w-full"),
				children: [C.jsxs("select", {
					name: t,
					className: vt.NativeSelect,
					value: e,
					onKeyDown: u,
					onChange: s,
					disabled: o,
					children: [!e && C.jsx("option", {
						value: "",
						children: r
					}), n.map(l => lg(l) ? C.jsx(U$e, {
						...l
					}, l.label) : C.jsx(oq, {
						...l
					}, l.value))]
				}), C.jsx(iq, {
					tabIndex: -1,
					"aria-hidden": "true"
				})]
			})
		})
	},
	U$e = ({
		label: e,
		options: t
	}) => C.jsx("optgroup", {
		label: e,
		children: t.map(n => C.jsx(oq, {
			...n
		}, n.value))
	}),
	oq = ({
		value: e,
		label: t,
		disabled: n
	}) => C.jsx("option", {
		value: e,
		disabled: n,
		children: t
	}),
	H$e = () => {
		const {
			triggerId: e,
			loading: t,
			side: n,
			align: r,
			alignOffset: i,
			avoidCollisions: o,
			listMinWidth: a
		} = ts(), [s, u] = h.useState(!1), l = h.useRef(!1);
		h.useEffect(() => {
			s && (l.current = !1)
		}, [s]);
		const c = d => {
			const p = d === void 0 ? !s : d;
			u(p), p || setTimeout(() => {
				var g;
				l.current || (g = document.getElementById(e)) == null || g.focus()
			})
		};
		return C.jsxs(l$e, {
			open: s,
			onOpenChange: d => {
				t && d || c(d)
			},
			modal: !1,
			children: [C.jsx(c$e, {
				asChild: !0,
				children: C.jsx(iq, {
					onOpenChange: c
				})
			}), C.jsx(f$e, {
				forceMount: !0,
				children: C.jsx(o1, {
					enterDuration: 300,
					exitDuration: 250,
					children: s && C.jsx(d$e, {
						forceMount: !0,
						className: vt.Dropdown,
						side: n,
						sideOffset: 5,
						align: r,
						alignOffset: i,
						avoidCollisions: o,
						collisionPadding: {
							bottom: 30,
							top: 30
						},
						onOpenAutoFocus: d => {
							d.preventDefault()
						},
						onPointerDownOutside: () => {
							l.current = !0
						},
						onCloseAutoFocus: d => {
							d.preventDefault()
						},
						style: Qb({
							"select-list-min-width": a
						}),
						children: C.jsx(V$e, {
							onOpenChange: c
						})
					}, "dropdown")
				})
			})]
		})
	},
	aq = h.createContext({}),
	Bh = () => {
		const e = h.useContext(aq);
		if (!e) throw new Error("CustomSelectMenu components must be wrapped in <CustomSelectMenu />");
		return e
	},
	V$e = ({
		onOpenChange: e
	}) => {
		const {
			name: t,
			value: n,
			options: r,
			searchable: i,
			searchPredicateRef: o
		} = ts(), a = h.useRef(() => e(!1)), s = h.useRef(null), u = h.useRef(null), l = h.useRef(null), [c, d] = h.useState(""), [p, g] = h.useState(() => {
			var k, M;
			return (M = n || ((k = py(r)) == null ? void 0 : k.value)) != null ? M : ""
		}), m = h.useMemo(() => dq(), []), _ = _l(), S = "select-list-".concat(_), y = h.useRef(n), w = h.useMemo(() => c.trim().toLocaleLowerCase(), [c]), b = h.useMemo(() => J$e(r, w, o.current), [r, w, o]), E = h.useMemo(() => py(b), [b]), T = h.useRef(!1), O = k => {
			const M = k.key,
				D = p || (E == null ? void 0 : E.value) || n,
				P = document.activeElement === l.current,
				U = s.current;
			if (!U) return;
			const H = () => {
					const ee = new PointerEvent("pointerup", {
							bubbles: !0,
							cancelable: !0,
							pointerType: "mouse"
						}),
						te = ys(p, U);
					te == null || te.dispatchEvent(ee)
				},
				G = (ee, te) => {
					g(ee), te.scrollIntoView({
						block: "nearest"
					})
				},
				K = () => {
					if (n) {
						const te = ys(n, U);
						if (te) {
							G(n, te);
							return
						}
					}
					const ee = py(r);
					if (ee) {
						const te = ys(ee.value, U);
						te && G(ee.value, te)
					}
				};
			switch (M) {
				case "ArrowDown": {
					if (k.preventDefault(), !p || !ys(p, U)) {
						K();
						return
					}
					const ee = Q$e(p, U),
						te = ee == null ? void 0 : ee.getAttribute("data-option-id");
					ee && te && G(te, ee);
					return
				}
				case "ArrowUp": {
					if (k.preventDefault(), !p || !ys(p, U)) {
						K();
						return
					}
					const ee = eFe(D, U),
						te = ee == null ? void 0 : ee.getAttribute("data-option-id");
					ee && te && G(te, ee);
					return
				}
				case "Enter":
					k.preventDefault(), H();
					return;
				case " ":
					if (w && P) return;
					k.preventDefault(), H();
					return
			}
			if (pq(M)) {
				if (P) return;
				const ee = m(M);
				k.stopPropagation();
				const te = hq(r, ee, p);
				if (te) {
					const q = ys(te.value, U);
					q && (g(te.value), q.scrollIntoView({
						block: "nearest"
					}))
				}
			}
		}, R = h.useMemo(() => ({
			valueRef: y,
			listId: S,
			highlightedValue: p,
			setHighlightedValue: g,
			requestCloseRef: a,
			searchTerm: c,
			setSearchTerm: d,
			searchInputRef: l,
			listRef: u
		}), [S, p, g, c, d]);
		return h.useEffect(() => {
			HC(() => {
				if (!s.current) return;
				const M = ys(p, s.current);
				M == null || M.scrollIntoView({
					block: "center"
				})
			});
			const k = l.current || s.current;
			k == null || k.focus()
		}, []), h.useLayoutEffect(() => {
			if (!T.current) {
				T.current = !0;
				return
			}
			if (!u.current) return;
			u.current.scrollTop = 0;
			const k = py(b);
			k && g(k.value)
		}, [b]), C.jsx(aq.Provider, {
			value: R,
			children: C.jsxs("div", {
				id: S,
				className: vt.Menu,
				onKeyDown: O,
				ref: s,
				tabIndex: 0,
				children: [i && C.jsx(B$e, {
					value: c,
					onChange: d
				}), C.jsx(z$e, {
					filteredOptions: b
				}), C.jsx(q$e, {}), t && C.jsx("input", {
					type: "hidden",
					name: t,
					value: n
				})]
			})
		})
	},
	B$e = ({
		value: e,
		onChange: t
	}) => {
		const {
			searchPlaceholder: n
		} = ts(), [r, i] = h.useState(!1), {
			listId: o,
			searchInputRef: a
		} = Bh(), s = u => {
			t(u.target.value)
		};
		return C.jsx("div", {
			className: vt.Search,
			children: C.jsxs("div", {
				className: vt.SearchInputWrapper,
				"data-focused": r ? "" : void 0,
				onClick: () => {
					var u;
					return (u = a == null ? void 0 : a.current) == null ? void 0 : u.focus()
				},
				children: [C.jsx(ZMe, {}), C.jsx("input", {
					ref: a,
					className: vt.SearchInput,
					type: "text",
					value: e,
					placeholder: n,
					onChange: s,
					onFocus: () => i(!0),
					onBlur: () => i(!1),
					autoComplete: "off",
					autoCorrect: "off",
					spellCheck: !1,
					"aria-autocomplete": "list",
					role: "combobox",
					"aria-controls": o,
					"aria-expanded": !0
				})]
			})
		})
	},
	lg = e => "options" in e,
	LT = e => e[0] && lg(e[0]),
	pp = 300,
	z$e = ({
		filteredOptions: e
	}) => {
		const {
			searchEmptyMessage: t
		} = ts(), {
			listRef: n
		} = Bh();
		if (!e.length) return C.jsx("p", {
			className: vt.SearchEmpty,
			children: t
		});
		const r = LT(e),
			i = !r && e.length > pp,
			o = r ? e.map(a => C.jsx(W$e, {
				...a
			}, a.label)) : e.slice(0, pp).map(a => C.jsx(uq, {
				...a
			}, a.value));
		return C.jsxs("div", {
			className: vt.OptionsList,
			ref: n,
			children: [o, i && C.jsx(sq, {
				numHidden: e.length - pp
			})]
		})
	},
	G$e = {
		limit: 100,
		label: "Show all"
	},
	W$e = ({
		label: e,
		options: t,
		optionsLimit: n = G$e
	}) => {
		const r = _l(),
			{
				searchTerm: i,
				setHighlightedValue: o
			} = Bh(),
			[a, s] = h.useState(!1),
			u = n.limit < t.length && !i && !a,
			l = pp < t.length && !u;
		let c = t;
		u ? c = t.slice(0, n.limit) : l && (c = t.slice(0, pp));
		const d = () => {
			s(!0), o(t[n.limit].value)
		};
		return C.jsxs(C.Fragment, {
			children: [C.jsxs("div", {
				className: vt.OptionGroupHeading,
				children: [C.jsx("div", {
					className: vt.OptionIndicatorSlot
				}), e]
			}), c.map(p => C.jsx(uq, {
				...p
			}, p.value)), u && C.jsx(K$e, {
				value: "group-limit-".concat(r),
				label: n.label,
				onPointerUp: d
			}), l && C.jsx(sq, {
				numHidden: t.length - pp
			})]
		})
	},
	sq = ({
		numHidden: e
	}) => C.jsxs("div", {
		className: vt.OptionHardLimitHeading,
		children: [C.jsx("div", {
			className: vt.OptionIndicatorSlot
		}), "…and ".concat(e.toLocaleString(), " more options. Use search to refine results.")]
	}),
	K$e = ({
		value: e,
		label: t,
		onPointerUp: n
	}) => {
		const {
			highlightedValue: r,
			setHighlightedValue: i
		} = Bh(), o = e === r, a = () => {
			o || i(e)
		}, s = () => {
			i(u => u !== e ? u : "")
		};
		return C.jsx("div", {
			className: Pe(vt.Option, vt.OptionsLimit),
			"data-option-id": e,
			"data-highlight": o ? "" : void 0,
			role: "option",
			"aria-selected": o,
			onPointerUp: n,
			onPointerMove: a,
			onPointerLeave: s,
			children: C.jsxs("div", {
				className: Pe(vt.PressableInner, vt.OptionInner),
				children: [C.jsx("div", {
					className: vt.OptionIndicatorSlot
				}), t]
			})
		})
	},
	Z$e = "data-option-id",
	uq = e => {
		const {
			OptionView: t,
			onChangeRef: n
		} = ts(), {
			valueRef: r,
			requestCloseRef: i,
			highlightedValue: o,
			setHighlightedValue: a
		} = Bh(), {
			value: s,
			disabled: u
		} = e, l = r.current, c = s === l, d = s === o, p = () => {
			var _;
			n.current(e), (_ = i.current) == null || _.call(i)
		}, g = () => {
			d || a(s)
		}, m = () => {
			a(_ => _ !== s ? _ : "")
		};
		return C.jsx("div", {
			className: vt.Option,
			"data-highlight": d ? "" : void 0,
			role: "option",
			"aria-selected": d,
			"data-selected": c ? "" : void 0,
			[Z$e]: s,
			onPointerUp: u ? void 0 : p,
			onPointerMove: u ? void 0 : g,
			onPointerLeave: u ? void 0 : m,
			"aria-disabled": u,
			"data-disabled": u ? "" : void 0,
			children: C.jsxs("div", {
				className: vt.PressableInner,
				children: [C.jsxs("div", {
					className: vt.OptionInner,
					children: [C.jsx("div", {
						className: vt.OptionIndicatorSlot,
						children: c && C.jsx(Vke, {
							className: vt.OptionCheck
						})
					}), C.jsx(t, {
						...e
					})]
				}), e.description && C.jsxs("div", {
					className: vt.OptionInner,
					children: [C.jsx("div", {
						className: vt.OptionIndicatorSlot
					}), e.description]
				})]
			})
		})
	},
	q$e = () => {
		const {
			actions: e
		} = ts();
		return e.length === 0 ? null : C.jsx("div", {
			className: vt.ActionsContainer,
			children: e.map(t => C.jsx(Y$e, {
				...t
			}, t.id))
		})
	},
	Y$e = ({
		id: e,
		label: t,
		Icon: n
	}) => {
		const {
			onActionSelect: r
		} = ts(), {
			requestCloseRef: i
		} = Bh(), o = s => {
			switch (s.key) {
				case "Tab":
					break;
				case "Enter":
				case " ":
					s.stopPropagation(), a();
					break;
				default:
					s.stopPropagation()
			}
		}, a = () => {
			var s;
			r(e), (s = i.current) == null || s.call(i)
		};
		return C.jsx("div", {
			className: vt.Action,
			onPointerUp: a,
			onKeyDown: o,
			tabIndex: 0,
			children: C.jsxs("div", {
				className: vt.ActionInner,
				children: [C.jsx(n, {
					role: "presentation"
				}), t]
			})
		})
	},
	X$e = (e, t) => e.label.toLowerCase().includes(t),
	J$e = (e, t, n) => {
		const r = t.trim().toLocaleLowerCase();
		if (!r) return e;
		const i = o => n(o, r);
		return LT(e) ? e.reduce((o, a) => {
			const s = a.options.filter(i);
			return s.length && o.push({
				...a,
				options: s
			}), o
		}, []) : e.reduce((o, a) => (i(a) && o.push(a), o), [])
	},
	py = e => {
		if (!e.length) return;
		let t;
		for (const n of e)
			if (lg(n)) {
				const r = n.options.find(i => !i.disabled);
				if (r) {
					t = r;
					break
				}
			} else if (!n.disabled) {
			t = n;
			break
		}
		return t
	},
	lq = (e, t) => {
		let n;
		for (const r of e)
			if (lg(r)) {
				const i = r.options.find(o => o.value === t);
				if (i) {
					n = i;
					break
				}
			} else if (r.value === t) {
			n = r;
			break
		}
		return n
	},
	cq = 40,
	ys = (e, t) => t.querySelector('[data-option-id="'.concat(e, '"]')),
	fq = e => e.matches("[data-option-id]:not([data-disabled])"),
	Q$e = (e, t) => {
		const n = ys(e, t);
		let r = n == null ? void 0 : n.nextElementSibling,
			i = 0;
		for (; r && i < cq;) {
			if (fq(r)) return r;
			r = r.nextElementSibling, i += 1
		}
	},
	eFe = (e, t) => {
		const n = ys(e, t);
		let r = n == null ? void 0 : n.previousElementSibling,
			i = 0;
		for (; r && i < cq;) {
			if (fq(r)) return r;
			r = r.previousElementSibling, i += 1
		}
	},
	dq = () => {
		let e = "",
			t;
		return n => (n = n.toLowerCase(), e += n, t && clearTimeout(t), t = setTimeout(() => {
			e = ""
		}, 500), n.repeat(e.length) === e ? n : e)
	},
	pq = e => /^[a-zA-Z0-9]$/.test(e),
	hq = (e, t, n) => {
		if (!e.length) return;
		let r, i, o = !n;
		const a = ({
			disabled: s,
			label: u,
			value: l
		}) => l === n ? (o = !0, !1) : !s && u.toLowerCase().startsWith(t);
		for (const s of e)
			if (lg(s)) {
				for (const u of s.options)
					if (a(u))
						if (o) {
							i = u;
							break
						} else r = r || u
			} else if (a(s))
			if (o) {
				i = s;
				break
			} else r = r || s;
		return i || r
	},
	tFe = [],
	nFe = ({
		value: e,
		label: t
	}) => C.jsxs("span", {
		className: "flex items-center gap-2 font-medium",
		children: [C.jsx(wT, {
			name: e ? t : "?",
			size: 25,
			variant: "dark",
			initialNudge: 0
		}), t]
	}),
	rFe = ({
		label: e
	}) => C.jsxs("span", {
		className: "flex items-center gap-2",
		children: [C.jsx(wT, {
			name: e,
			size: 25,
			variant: "dark",
			initialNudge: 0
		}), e]
	}),
	iFe = J.memo(() => {
		var s;
		const {
			user: e
		} = ft(), {
			activeOrgId: t,
			setActiveOrgId: n,
			activeOrg: r
		} = Ro(), i = e.orgs.data || tFe, o = h.useMemo(() => {
			const u = i.sort((m, _) => m.title.toLowerCase().localeCompare(_.title.toLowerCase())),
				l = u.filter(m => m.parent_org_id === null || i.find(_ => _.id === m.parent_org_id) === void 0),
				c = u.filter(m => m.parent_org_id === t || m.parent_org_id === (r == null ? void 0 : r.parent_org_id) && m.parent_org_id !== null && i.find(_ => _.id === m.parent_org_id) !== void 0),
				d = r != null && r.parent_org_id ? i.find(m => m.id === (r == null ? void 0 : r.parent_org_id)) : r,
				g = [{
					label: "Organizations",
					options: l.map(({
						id: m,
						title: _
					}) => ({
						label: _,
						value: m
					}))
				}];
			return c.length && g.push({
				label: "Part of ".concat((d == null ? void 0 : d.title) || "(Unnamed Parent)"),
				options: c.map(({
					id: m,
					title: _
				}) => ({
					label: _,
					value: m
				}))
			}), g
		}, [i, r, t]), a = h.useCallback(u => {
			n(u.value)
		}, [n]);
		return C.jsx(PT, {
			variant: "bare",
			value: (s = r == null ? void 0 : r.id) != null ? s : "",
			options: o,
			side: "bottom",
			align: "start",
			listMinWidth: 260,
			size: "lg",
			gutterSize: "sm",
			onChange: a,
			TriggerView: nFe,
			OptionView: rFe
		})
	});
var oFe = zb,
	aFe = Z1;

function sFe(e, t, n) {
	(n !== void 0 && !aFe(e[t], n) || n === void 0 && !(t in e)) && oFe(e, t, n)
}
var vq = sFe;

function uFe(e) {
	return function(t, n, r) {
		for (var i = -1, o = Object(t), a = r(t), s = a.length; s--;) {
			var u = a[e ? s : ++i];
			if (n(o[u], u, o) === !1) break
		}
		return t
	}
}
var lFe = uFe,
	cFe = lFe,
	fFe = cFe(),
	gq = fFe,
	Yw = {
		exports: {}
	};
Yw.exports;
(function(e, t) {
	var n = da,
		r = t && !t.nodeType && t,
		i = r && !0 && e && !e.nodeType && e,
		o = i && i.exports === r,
		a = o ? n.Buffer : void 0,
		s = a ? a.allocUnsafe : void 0;

	function u(l, c) {
		if (c) return l.slice();
		var d = l.length,
			p = s ? s(d) : new l.constructor(d);
		return l.copy(p), p
	}
	e.exports = u
})(Yw, Yw.exports);
var dFe = Yw.exports,
	PD = $G;

function pFe(e) {
	var t = new e.constructor(e.byteLength);
	return new PD(t).set(new PD(e)), t
}
var hFe = pFe,
	vFe = hFe;

function gFe(e, t) {
	var n = t ? vFe(e.buffer) : e.buffer;
	return new e.constructor(n, e.byteOffset, e.length)
}
var mFe = gFe;

function yFe(e, t) {
	var n = -1,
		r = e.length;
	for (t || (t = Array(r)); ++n < r;) t[n] = e[n];
	return t
}
var wFe = yFe,
	_Fe = Yi,
	LD = Object.create,
	bFe = function() {
		function e() {}
		return function(t) {
			if (!_Fe(t)) return {};
			if (LD) return LD(t);
			e.prototype = t;
			var n = new e;
			return e.prototype = void 0, n
		}
	}(),
	SFe = bFe,
	xFe = SFe,
	EFe = M8,
	CFe = C8;

function OFe(e) {
	return typeof e.constructor == "function" && !CFe(e) ? xFe(EFe(e)) : {}
}
var TFe = OFe,
	RFe = q1,
	IFe = Tf;

function kFe(e) {
	return IFe(e) && RFe(e)
}
var AFe = kFe,
	MFe = Ih,
	PFe = M8,
	LFe = Tf,
	NFe = "[object Object]",
	DFe = Function.prototype,
	$Fe = Object.prototype,
	mq = DFe.toString,
	FFe = $Fe.hasOwnProperty,
	jFe = mq.call(Object);

function UFe(e) {
	if (!LFe(e) || MFe(e) != NFe) return !1;
	var t = PFe(e);
	if (t === null) return !0;
	var n = FFe.call(t, "constructor") && t.constructor;
	return typeof n == "function" && n instanceof n && mq.call(n) == jFe
}
var yq = UFe;
const HFe = Et(yq);

function VFe(e, t) {
	if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__") return e[t]
}
var wq = VFe,
	BFe = eW,
	zFe = zb;

function GFe(e, t, n, r) {
	var i = !n;
	n || (n = {});
	for (var o = -1, a = t.length; ++o < a;) {
		var s = t[o],
			u = r ? r(n[s], e[s], s, n, e) : void 0;
		u === void 0 && (u = e[s]), i ? zFe(n, s, u) : BFe(n, s, u)
	}
	return n
}
var WFe = GFe,
	KFe = WFe,
	ZFe = P8;

function qFe(e) {
	return KFe(e, ZFe(e))
}
var YFe = qFe,
	ND = vq,
	XFe = dFe,
	JFe = mFe,
	QFe = wFe,
	eje = TFe,
	DD = b8,
	$D = pa,
	tje = AFe,
	nje = S8,
	rje = Fb,
	ije = Yi,
	oje = yq,
	aje = E8,
	FD = wq,
	sje = YFe;

function uje(e, t, n, r, i, o, a) {
	var s = FD(e, n),
		u = FD(t, n),
		l = a.get(u);
	if (l) {
		ND(e, n, l);
		return
	}
	var c = o ? o(s, u, n + "", e, t, a) : void 0,
		d = c === void 0;
	if (d) {
		var p = $D(u),
			g = !p && nje(u),
			m = !p && !g && aje(u);
		c = u, p || g || m ? $D(s) ? c = s : tje(s) ? c = QFe(s) : g ? (d = !1, c = XFe(u, !0)) : m ? (d = !1, c = JFe(u, !0)) : c = [] : oje(u) || DD(u) ? (c = s, DD(s) ? c = sje(s) : (!ije(s) || rje(s)) && (c = eje(u))) : d = !1
	}
	d && (a.set(u, c), i(c, u, r, o, a), a.delete(u)), ND(e, n, c)
}
var lje = uje,
	cje = _8,
	fje = vq,
	dje = gq,
	pje = lje,
	hje = Yi,
	vje = P8,
	gje = wq;

function _q(e, t, n, r, i) {
	e !== t && dje(t, function(o, a) {
		if (i || (i = new cje), hje(o)) pje(e, t, a, n, _q, r, i);
		else {
			var s = r ? r(gje(e, a), o, a + "", e, t, i) : void 0;
			s === void 0 && (s = o), fje(e, a, s)
		}
	}, vje)
}
var mje = _q;

function yje(e, t, n) {
	switch (n.length) {
		case 0:
			return e.call(t);
		case 1:
			return e.call(t, n[0]);
		case 2:
			return e.call(t, n[0], n[1]);
		case 3:
			return e.call(t, n[0], n[1], n[2])
	}
	return e.apply(t, n)
}
var wje = yje,
	_je = wje,
	jD = Math.max;

function bje(e, t, n) {
	return t = jD(t === void 0 ? e.length - 1 : t, 0),
		function() {
			for (var r = arguments, i = -1, o = jD(r.length - t, 0), a = Array(o); ++i < o;) a[i] = r[t + i];
			i = -1;
			for (var s = Array(t + 1); ++i < t;) s[i] = r[i];
			return s[t] = n(a), _je(e, this, s)
		}
}
var Sje = bje;

function xje(e) {
	return function() {
		return e
	}
}
var Eje = xje,
	Cje = Eje,
	UD = QG,
	Oje = A8,
	Tje = UD ? function(e, t) {
		return UD(e, "toString", {
			configurable: !0,
			enumerable: !1,
			value: Cje(t),
			writable: !0
		})
	} : Oje,
	Rje = Tje,
	Ije = 800,
	kje = 16,
	Aje = Date.now;

function Mje(e) {
	var t = 0,
		n = 0;
	return function() {
		var r = Aje(),
			i = kje - (r - n);
		if (n = r, i > 0) {
			if (++t >= Ije) return arguments[0]
		} else t = 0;
		return e.apply(void 0, arguments)
	}
}
var Pje = Mje,
	Lje = Rje,
	Nje = Pje,
	Dje = Nje(Lje),
	$je = Dje,
	Fje = A8,
	jje = Sje,
	Uje = $je;

function Hje(e, t) {
	return Uje(jje(e, t, Fje), e + "")
}
var Vje = Hje,
	Bje = Z1,
	zje = q1,
	Gje = Hb,
	Wje = Yi;

function Kje(e, t, n) {
	if (!Wje(n)) return !1;
	var r = typeof t;
	return (r == "number" ? zje(n) && Gje(t, n.length) : r == "string" && t in n) ? Bje(n[t], e) : !1
}
var Zje = Kje,
	qje = Vje,
	Yje = Zje;

function Xje(e) {
	return qje(function(t, n) {
		var r = -1,
			i = n.length,
			o = i > 1 ? n[i - 1] : void 0,
			a = i > 2 ? n[2] : void 0;
		for (o = e.length > 3 && typeof o == "function" ? (i--, o) : void 0, a && Yje(n[0], n[1], a) && (o = i < 3 ? void 0 : o, i = 1), t = Object(t); ++r < i;) {
			var s = n[r];
			s && e(t, s, r, o)
		}
		return t
	})
}
var Jje = Xje,
	Qje = mje,
	eUe = Jje,
	tUe = eUe(function(e, t, n) {
		Qje(e, t, n)
	}),
	nUe = tUe;
const rUe = Et(nUe);

function Xst(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 16 16",
			fill: "currentColor"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				clipRule: "evenodd",
				d: "M7.976 10.072l4.357-4.357.62.618L8.284 11h-.618L3 6.333l.619-.618 4.357 4.357z"
			}
		}]
	})(e)
}

function Jst(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 16 16",
			fill: "currentColor"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				clipRule: "evenodd",
				d: "M8.024 5.928l-4.357 4.357-.62-.618L7.716 5h.618L13 9.667l-.619.618-4.357-4.357z"
			}
		}]
	})(e)
}

function ZC(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 16 16",
			fill: "currentColor"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				clipRule: "evenodd",
				d: "M8 8.707l3.646 3.647.708-.707L8.707 8l3.647-3.646-.707-.708L8 7.293 4.354 3.646l-.707.708L7.293 8l-3.646 3.646.707.708L8 8.707z"
			}
		}]
	})(e)
}

function Oi(e) {
	"@babel/helpers - typeof";
	return Oi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
		return typeof t
	} : function(t) {
		return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
	}, Oi(e)
}
const Qst = Object.freeze(Object.defineProperty({
	__proto__: null,
	get default() {
		return Oi
	}
}, Symbol.toStringTag, {
	value: "Module"
}));

function iUe(e, t) {
	if (Oi(e) != "object" || !e) return e;
	var n = e[Symbol.toPrimitive];
	if (n !== void 0) {
		var r = n.call(e, t || "default");
		if (Oi(r) != "object") return r;
		throw new TypeError("@@toPrimitive must return a primitive value.")
	}
	return (t === "string" ? String : Number)(e)
}

function bq(e) {
	var t = iUe(e, "string");
	return Oi(t) == "symbol" ? t : t + ""
}

function De(e, t, n) {
	return (t = bq(t)) in e ? Object.defineProperty(e, t, {
		value: n,
		enumerable: !0,
		configurable: !0,
		writable: !0
	}) : e[t] = n, e
}

function HD(e, t) {
	var n = Object.keys(e);
	if (Object.getOwnPropertySymbols) {
		var r = Object.getOwnPropertySymbols(e);
		t && (r = r.filter(function(i) {
			return Object.getOwnPropertyDescriptor(e, i).enumerable
		})), n.push.apply(n, r)
	}
	return n
}

function ce(e) {
	for (var t = 1; t < arguments.length; t++) {
		var n = arguments[t] != null ? arguments[t] : {};
		t % 2 ? HD(Object(n), !0).forEach(function(r) {
			De(e, r, n[r])
		}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HD(Object(n)).forEach(function(r) {
			Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r))
		})
	}
	return e
}

function oUe(e) {
	if (Array.isArray(e)) return e
}

function aUe(e, t) {
	var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
	if (n != null) {
		var r, i, o, a, s = [],
			u = !0,
			l = !1;
		try {
			if (o = (n = n.call(e)).next, t === 0) {
				if (Object(n) !== n) return;
				u = !1
			} else
				for (; !(u = (r = o.call(n)).done) && (s.push(r.value), s.length !== t); u = !0);
		} catch (c) {
			l = !0, i = c
		} finally {
			try {
				if (!u && n.return != null && (a = n.return(), Object(a) !== a)) return
			} finally {
				if (l) throw i
			}
		}
		return s
	}
}

function qC(e, t) {
	(t == null || t > e.length) && (t = e.length);
	for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
	return r
}

function Sq(e, t) {
	if (e) {
		if (typeof e == "string") return qC(e, t);
		var n = {}.toString.call(e).slice(8, -1);
		return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? qC(e, t) : void 0
	}
}

function sUe() {
	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 jt(e, t) {
	return oUe(e) || aUe(e, t) || Sq(e, t) || sUe()
}

function or(e, t) {
	if (e == null) return {};
	var n, r, i = Rf(e, t);
	if (Object.getOwnPropertySymbols) {
		var o = Object.getOwnPropertySymbols(e);
		for (r = 0; r < o.length; r++) n = o[r], t.indexOf(n) >= 0 || {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n])
	}
	return i
}
const eut = Object.freeze(Object.defineProperty({
	__proto__: null,
	default: or
}, Symbol.toStringTag, {
	value: "Module"
}));
var uUe = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];

function xq(e) {
	var t = e.defaultInputValue,
		n = t === void 0 ? "" : t,
		r = e.defaultMenuIsOpen,
		i = r === void 0 ? !1 : r,
		o = e.defaultValue,
		a = o === void 0 ? null : o,
		s = e.inputValue,
		u = e.menuIsOpen,
		l = e.onChange,
		c = e.onInputChange,
		d = e.onMenuClose,
		p = e.onMenuOpen,
		g = e.value,
		m = or(e, uUe),
		_ = h.useState(s !== void 0 ? s : n),
		S = jt(_, 2),
		y = S[0],
		w = S[1],
		b = h.useState(u !== void 0 ? u : i),
		E = jt(b, 2),
		T = E[0],
		O = E[1],
		R = h.useState(g !== void 0 ? g : a),
		k = jt(R, 2),
		M = k[0],
		D = k[1],
		P = h.useCallback(function(q, F) {
			typeof l == "function" && l(q, F), D(q)
		}, [l]),
		U = h.useCallback(function(q, F) {
			var j;
			typeof c == "function" && (j = c(q, F)), w(j !== void 0 ? j : q)
		}, [c]),
		H = h.useCallback(function() {
			typeof p == "function" && p(), O(!0)
		}, [p]),
		G = h.useCallback(function() {
			typeof d == "function" && d(), O(!1)
		}, [d]),
		K = s !== void 0 ? s : y,
		ee = u !== void 0 ? u : T,
		te = g !== void 0 ? g : M;
	return ce(ce({}, m), {}, {
		inputValue: K,
		menuIsOpen: ee,
		onChange: P,
		onInputChange: U,
		onMenuClose: G,
		onMenuOpen: H,
		value: te
	})
}

function Qs(e, t) {
	if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
}
const tut = Object.freeze(Object.defineProperty({
	__proto__: null,
	default: Qs
}, Symbol.toStringTag, {
	value: "Module"
}));

function VD(e, t) {
	for (var n = 0; n < t.length; n++) {
		var r = t[n];
		r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, bq(r.key), r)
	}
}

function eu(e, t, n) {
	return t && VD(e.prototype, t), n && VD(e, n), Object.defineProperty(e, "prototype", {
		writable: !1
	}), e
}
const nut = Object.freeze(Object.defineProperty({
	__proto__: null,
	default: eu
}, Symbol.toStringTag, {
	value: "Module"
}));

function tu(e, t) {
	if (typeof t != "function" && t !== null) 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 && Aw(e, t)
}
const rut = Object.freeze(Object.defineProperty({
	__proto__: null,
	default: tu
}, Symbol.toStringTag, {
	value: "Module"
}));

function Ps(e) {
	return Ps = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
		return t.__proto__ || Object.getPrototypeOf(t)
	}, Ps(e)
}
const iut = Object.freeze(Object.defineProperty({
	__proto__: null,
	get default() {
		return Ps
	}
}, Symbol.toStringTag, {
	value: "Module"
}));

function Eq() {
	try {
		var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}))
	} catch (t) {}
	return (Eq = function() {
		return !!e
	})()
}

function Cq(e) {
	if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
	return e
}

function Oq(e, t) {
	if (t && (Oi(t) == "object" || typeof t == "function")) return t;
	if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
	return Cq(e)
}
const out = Object.freeze(Object.defineProperty({
	__proto__: null,
	default: Oq
}, Symbol.toStringTag, {
	value: "Module"
}));

function jl(e) {
	var t = Eq();
	return function() {
		var n, r = Ps(e);
		if (t) {
			var i = Ps(this).constructor;
			n = Reflect.construct(r, arguments, i)
		} else n = r.apply(this, arguments);
		return Oq(this, n)
	}
}

function lUe(e) {
	if (Array.isArray(e)) return qC(e)
}

function cUe(e) {
	if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e)
}

function fUe() {
	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 vi(e) {
	return lUe(e) || cUe(e) || Sq(e) || fUe()
}

function dUe(e, t) {
	return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, {
		raw: {
			value: Object.freeze(t)
		}
	}))
}
const pUe = Math.min,
	hUe = Math.max,
	Xw = Math.round,
	hy = Math.floor,
	Jw = e => ({
		x: e,
		y: e
	});

function vUe(e) {
	return {
		...e,
		top: e.y,
		left: e.x,
		right: e.x + e.width,
		bottom: e.y + e.height
	}
}

function Tq(e) {
	return Iq(e) ? (e.nodeName || "").toLowerCase() : "#document"
}

function Ws(e) {
	var t;
	return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window
}

function Rq(e) {
	var t;
	return (t = (Iq(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement
}

function Iq(e) {
	return e instanceof Node || e instanceof Ws(e).Node
}

function gUe(e) {
	return e instanceof Element || e instanceof Ws(e).Element
}

function NT(e) {
	return e instanceof HTMLElement || e instanceof Ws(e).HTMLElement
}

function BD(e) {
	return typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Ws(e).ShadowRoot
}

function kq(e) {
	const {
		overflow: t,
		overflowX: n,
		overflowY: r,
		display: i
	} = DT(e);
	return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(i)
}

function mUe() {
	return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none")
}

function yUe(e) {
	return ["html", "body", "#document"].includes(Tq(e))
}

function DT(e) {
	return Ws(e).getComputedStyle(e)
}

function wUe(e) {
	if (Tq(e) === "html") return e;
	const t = e.assignedSlot || e.parentNode || BD(e) && e.host || Rq(e);
	return BD(t) ? t.host : t
}

function Aq(e) {
	const t = wUe(e);
	return yUe(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : NT(t) && kq(t) ? t : Aq(t)
}

function Qw(e, t, n) {
	var r;
	t === void 0 && (t = []), n === void 0 && (n = !0);
	const i = Aq(e),
		o = i === ((r = e.ownerDocument) == null ? void 0 : r.body),
		a = Ws(i);
	return o ? t.concat(a, a.visualViewport || [], kq(i) ? i : [], a.frameElement && n ? Qw(a.frameElement) : []) : t.concat(i, Qw(i, [], n))
}

function _Ue(e) {
	const t = DT(e);
	let n = parseFloat(t.width) || 0,
		r = parseFloat(t.height) || 0;
	const i = NT(e),
		o = i ? e.offsetWidth : n,
		a = i ? e.offsetHeight : r,
		s = Xw(n) !== o || Xw(r) !== a;
	return s && (n = o, r = a), {
		width: n,
		height: r,
		$: s
	}
}

function $T(e) {
	return gUe(e) ? e : e.contextElement
}

function zD(e) {
	const t = $T(e);
	if (!NT(t)) return Jw(1);
	const n = t.getBoundingClientRect(),
		{
			width: r,
			height: i,
			$: o
		} = _Ue(t);
	let a = (o ? Xw(n.width) : n.width) / r,
		s = (o ? Xw(n.height) : n.height) / i;
	return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {
		x: a,
		y: s
	}
}
const bUe = Jw(0);

function SUe(e) {
	const t = Ws(e);
	return !mUe() || !t.visualViewport ? bUe : {
		x: t.visualViewport.offsetLeft,
		y: t.visualViewport.offsetTop
	}
}

function xUe(e, t, n) {
	return !1
}

function GD(e, t, n, r) {
	t === void 0 && (t = !1);
	const i = e.getBoundingClientRect(),
		o = $T(e);
	let a = Jw(1);
	t && (a = zD(e));
	const s = xUe() ? SUe(o) : Jw(0);
	let u = (i.left + s.x) / a.x,
		l = (i.top + s.y) / a.y,
		c = i.width / a.x,
		d = i.height / a.y;
	if (o) {
		const p = Ws(o),
			g = r;
		let m = p.frameElement;
		for (; m && r && g !== p;) {
			const _ = zD(m),
				S = m.getBoundingClientRect(),
				y = DT(m),
				w = S.left + (m.clientLeft + parseFloat(y.paddingLeft)) * _.x,
				b = S.top + (m.clientTop + parseFloat(y.paddingTop)) * _.y;
			u *= _.x, l *= _.y, c *= _.x, d *= _.y, u += w, l += b, m = Ws(m).frameElement
		}
	}
	return vUe({
		width: c,
		height: d,
		x: u,
		y: l
	})
}

function EUe(e, t) {
	let n = null,
		r;
	const i = Rq(e);

	function o() {
		clearTimeout(r), n && n.disconnect(), n = null
	}

	function a(s, u) {
		s === void 0 && (s = !1), u === void 0 && (u = 1), o();
		const {
			left: l,
			top: c,
			width: d,
			height: p
		} = e.getBoundingClientRect();
		if (s || t(), !d || !p) return;
		const g = hy(c),
			m = hy(i.clientWidth - (l + d)),
			_ = hy(i.clientHeight - (c + p)),
			S = hy(l),
			w = {
				rootMargin: -g + "px " + -m + "px " + -_ + "px " + -S + "px",
				threshold: hUe(0, pUe(1, u)) || 1
			};
		let b = !0;

		function E(T) {
			const O = T[0].intersectionRatio;
			if (O !== u) {
				if (!b) return a();
				O ? a(!1, O) : r = setTimeout(() => {
					a(!1, 1e-7)
				}, 100)
			}
			b = !1
		}
		try {
			n = new IntersectionObserver(E, {
				...w,
				root: i.ownerDocument
			})
		} catch (T) {
			n = new IntersectionObserver(E, w)
		}
		n.observe(e)
	}
	return a(!0), o
}

function CUe(e, t, n, r) {
	r === void 0 && (r = {});
	const {
		ancestorScroll: i = !0,
		ancestorResize: o = !0,
		elementResize: a = typeof ResizeObserver == "function",
		layoutShift: s = typeof IntersectionObserver == "function",
		animationFrame: u = !1
	} = r, l = $T(e), c = i || o ? [...l ? Qw(l) : [], ...Qw(t)] : [];
	c.forEach(y => {
		i && y.addEventListener("scroll", n, {
			passive: !0
		}), o && y.addEventListener("resize", n)
	});
	const d = l && s ? EUe(l, n) : null;
	let p = -1,
		g = null;
	a && (g = new ResizeObserver(y => {
		let [w] = y;
		w && w.target === l && g && (g.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
			g && g.observe(t)
		})), n()
	}), l && !u && g.observe(l), g.observe(t));
	let m, _ = u ? GD(e) : null;
	u && S();

	function S() {
		const y = GD(e);
		_ && (y.x !== _.x || y.y !== _.y || y.width !== _.width || y.height !== _.height) && n(), _ = y, m = requestAnimationFrame(S)
	}
	return n(), () => {
		c.forEach(y => {
			i && y.removeEventListener("scroll", n), o && y.removeEventListener("resize", n)
		}), d && d(), g && g.disconnect(), g = null, u && cancelAnimationFrame(m)
	}
}
var e_ = h.useLayoutEffect,
	OUe = ["className", "clearValue", "cx", "getStyles", "getClassNames", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"],
	t_ = function() {};

function TUe(e, t) {
	return t ? t[0] === "-" ? e + t : e + "__" + t : e
}

function RUe(e, t) {
	for (var n = arguments.length, r = new Array(n > 2 ? n - 2 : 0), i = 2; i < n; i++) r[i - 2] = arguments[i];
	var o = [].concat(r);
	if (t && e)
		for (var a in t) t.hasOwnProperty(a) && t[a] && o.push("".concat(TUe(e, a)));
	return o.filter(function(s) {
		return s
	}).map(function(s) {
		return String(s).trim()
	}).join(" ")
}
var n_ = function(t) {
		return $Ue(t) ? t.filter(Boolean) : Oi(t) === "object" && t !== null ? [t] : []
	},
	Mq = function(t) {
		t.className, t.clearValue, t.cx, t.getStyles, t.getClassNames, t.getValue, t.hasValue, t.isMulti, t.isRtl, t.options, t.selectOption, t.selectProps, t.setValue, t.theme;
		var n = or(t, OUe);
		return ce({}, n)
	},
	bn = function(t, n, r) {
		var i = t.cx,
			o = t.getStyles,
			a = t.getClassNames,
			s = t.className;
		return {
			css: o(n, t),
			className: i(r != null ? r : {}, a(n, t), s)
		}
	};

function r4(e) {
	return [document.documentElement, document.body, window].indexOf(e) > -1
}

function IUe(e) {
	return r4(e) ? window.innerHeight : e.clientHeight
}

function Pq(e) {
	return r4(e) ? window.pageYOffset : e.scrollTop
}

function r_(e, t) {
	if (r4(e)) {
		window.scrollTo(0, t);
		return
	}
	e.scrollTop = t
}

function kUe(e) {
	var t = getComputedStyle(e),
		n = t.position === "absolute",
		r = /(auto|scroll)/;
	if (t.position === "fixed") return document.documentElement;
	for (var i = e; i = i.parentElement;)
		if (t = getComputedStyle(i), !(n && t.position === "static") && r.test(t.overflow + t.overflowY + t.overflowX)) return i;
	return document.documentElement
}

function AUe(e, t, n, r) {
	return n * ((e = e / r - 1) * e * e + 1) + t
}

function vy(e, t) {
	var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 200,
		r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : t_,
		i = Pq(e),
		o = t - i,
		a = 10,
		s = 0;

	function u() {
		s += a;
		var l = AUe(s, i, o, n);
		r_(e, l), s < n ? window.requestAnimationFrame(u) : r(e)
	}
	u()
}

function WD(e, t) {
	var n = e.getBoundingClientRect(),
		r = t.getBoundingClientRect(),
		i = t.offsetHeight / 3;
	r.bottom + i > n.bottom ? r_(e, Math.min(t.offsetTop + t.clientHeight - e.offsetHeight + i, e.scrollHeight)) : r.top - i < n.top && r_(e, Math.max(t.offsetTop - i, 0))
}

function MUe(e) {
	var t = e.getBoundingClientRect();
	return {
		bottom: t.bottom,
		height: t.height,
		left: t.left,
		right: t.right,
		top: t.top,
		width: t.width
	}
}

function KD() {
	try {
		return document.createEvent("TouchEvent"), !0
	} catch (e) {
		return !1
	}
}

function PUe() {
	try {
		return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
	} catch (e) {
		return !1
	}
}
var Lq = !1,
	LUe = {
		get passive() {
			return Lq = !0
		}
	},
	gy = typeof window < "u" ? window : {};
gy.addEventListener && gy.removeEventListener && (gy.addEventListener("p", t_, LUe), gy.removeEventListener("p", t_, !1));
var NUe = Lq;

function DUe(e) {
	return e != null
}

function $Ue(e) {
	return Array.isArray(e)
}

function q0(e, t, n) {
	return e ? t : n
}
var FUe = function(t) {
		for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++) r[i - 1] = arguments[i];
		var o = Object.entries(t).filter(function(a) {
			var s = jt(a, 1),
				u = s[0];
			return !r.includes(u)
		});
		return o.reduce(function(a, s) {
			var u = jt(s, 2),
				l = u[0],
				c = u[1];
			return a[l] = c, a
		}, {})
	},
	jUe = ["children", "innerProps"],
	UUe = ["children", "innerProps"];

function HUe(e) {
	var t = e.maxHeight,
		n = e.menuEl,
		r = e.minHeight,
		i = e.placement,
		o = e.shouldScroll,
		a = e.isFixedPosition,
		s = e.controlHeight,
		u = kUe(n),
		l = {
			placement: "bottom",
			maxHeight: t
		};
	if (!n || !n.offsetParent) return l;
	var c = u.getBoundingClientRect(),
		d = c.height,
		p = n.getBoundingClientRect(),
		g = p.bottom,
		m = p.height,
		_ = p.top,
		S = n.offsetParent.getBoundingClientRect(),
		y = S.top,
		w = a ? window.innerHeight : IUe(u),
		b = Pq(u),
		E = parseInt(getComputedStyle(n).marginBottom, 10),
		T = parseInt(getComputedStyle(n).marginTop, 10),
		O = y - T,
		R = w - _,
		k = O + b,
		M = d - b - _,
		D = g - w + b + E,
		P = b + _ - T,
		U = 160;
	switch (i) {
		case "auto":
		case "bottom":
			if (R >= m) return {
				placement: "bottom",
				maxHeight: t
			};
			if (M >= m && !a) return o && vy(u, D, U), {
				placement: "bottom",
				maxHeight: t
			};
			if (!a && M >= r || a && R >= r) {
				o && vy(u, D, U);
				var H = a ? R - E : M - E;
				return {
					placement: "bottom",
					maxHeight: H
				}
			}
			if (i === "auto" || a) {
				var G = t,
					K = a ? O : k;
				return K >= r && (G = Math.min(K - E - s, t)), {
					placement: "top",
					maxHeight: G
				}
			}
			if (i === "bottom") return o && r_(u, D), {
				placement: "bottom",
				maxHeight: t
			};
			break;
		case "top":
			if (O >= m) return {
				placement: "top",
				maxHeight: t
			};
			if (k >= m && !a) return o && vy(u, P, U), {
				placement: "top",
				maxHeight: t
			};
			if (!a && k >= r || a && O >= r) {
				var ee = t;
				return (!a && k >= r || a && O >= r) && (ee = a ? O - T : k - T), o && vy(u, P, U), {
					placement: "top",
					maxHeight: ee
				}
			}
			return {
				placement: "bottom", maxHeight: t
			};
		default:
			throw new Error('Invalid placement provided "'.concat(i, '".'))
	}
	return l
}

function VUe(e) {
	var t = {
		bottom: "top",
		top: "bottom"
	};
	return e ? t[e] : "bottom"
}
var Nq = function(t) {
		return t === "auto" ? "bottom" : t
	},
	BUe = function(t, n) {
		var r, i = t.placement,
			o = t.theme,
			a = o.borderRadius,
			s = o.spacing,
			u = o.colors;
		return ce((r = {
			label: "menu"
		}, De(r, VUe(i), "100%"), De(r, "position", "absolute"), De(r, "width", "100%"), De(r, "zIndex", 1), r), n ? {} : {
			backgroundColor: u.neutral0,
			borderRadius: a,
			boxShadow: "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",
			marginBottom: s.menuGutter,
			marginTop: s.menuGutter
		})
	},
	Dq = h.createContext(null),
	zUe = function(t) {
		var n = t.children,
			r = t.minMenuHeight,
			i = t.maxMenuHeight,
			o = t.menuPlacement,
			a = t.menuPosition,
			s = t.menuShouldScrollIntoView,
			u = t.theme,
			l = h.useContext(Dq) || {},
			c = l.setPortalPlacement,
			d = h.useRef(null),
			p = h.useState(i),
			g = jt(p, 2),
			m = g[0],
			_ = g[1],
			S = h.useState(null),
			y = jt(S, 2),
			w = y[0],
			b = y[1],
			E = u.spacing.controlHeight;
		return e_(function() {
			var T = d.current;
			if (T) {
				var O = a === "fixed",
					R = s && !O,
					k = HUe({
						maxHeight: i,
						menuEl: T,
						minHeight: r,
						placement: o,
						shouldScroll: R,
						isFixedPosition: O,
						controlHeight: E
					});
				_(k.maxHeight), b(k.placement), c == null || c(k.placement)
			}
		}, [i, o, a, s, r, c, E]), n({
			ref: d,
			placerProps: ce(ce({}, t), {}, {
				placement: w || Nq(o),
				maxHeight: m
			})
		})
	},
	GUe = function(t) {
		var n = t.children,
			r = t.innerRef,
			i = t.innerProps;
		return $e("div", ge({}, bn(t, "menu", {
			menu: !0
		}), {
			ref: r
		}, i), n)
	},
	WUe = GUe,
	KUe = function(t, n) {
		var r = t.maxHeight,
			i = t.theme.spacing.baseUnit;
		return ce({
			maxHeight: r,
			overflowY: "auto",
			position: "relative",
			WebkitOverflowScrolling: "touch"
		}, n ? {} : {
			paddingBottom: i,
			paddingTop: i
		})
	},
	ZUe = function(t) {
		var n = t.children,
			r = t.innerProps,
			i = t.innerRef,
			o = t.isMulti;
		return $e("div", ge({}, bn(t, "menuList", {
			"menu-list": !0,
			"menu-list--is-multi": o
		}), {
			ref: i
		}, r), n)
	},
	$q = function(t, n) {
		var r = t.theme,
			i = r.spacing.baseUnit,
			o = r.colors;
		return ce({
			textAlign: "center"
		}, n ? {} : {
			color: o.neutral40,
			padding: "".concat(i * 2, "px ").concat(i * 3, "px")
		})
	},
	qUe = $q,
	YUe = $q,
	XUe = function(t) {
		var n = t.children,
			r = n === void 0 ? "No options" : n,
			i = t.innerProps,
			o = or(t, jUe);
		return $e("div", ge({}, bn(ce(ce({}, o), {}, {
			children: r,
			innerProps: i
		}), "noOptionsMessage", {
			"menu-notice": !0,
			"menu-notice--no-options": !0
		}), i), r)
	},
	JUe = function(t) {
		var n = t.children,
			r = n === void 0 ? "Loading..." : n,
			i = t.innerProps,
			o = or(t, UUe);
		return $e("div", ge({}, bn(ce(ce({}, o), {}, {
			children: r,
			innerProps: i
		}), "loadingMessage", {
			"menu-notice": !0,
			"menu-notice--loading": !0
		}), i), r)
	},
	QUe = function(t) {
		var n = t.rect,
			r = t.offset,
			i = t.position;
		return {
			left: n.left,
			position: i,
			top: r,
			width: n.width,
			zIndex: 1
		}
	},
	eHe = function(t) {
		var n = t.appendTo,
			r = t.children,
			i = t.controlElement,
			o = t.innerProps,
			a = t.menuPlacement,
			s = t.menuPosition,
			u = h.useRef(null),
			l = h.useRef(null),
			c = h.useState(Nq(a)),
			d = jt(c, 2),
			p = d[0],
			g = d[1],
			m = h.useMemo(function() {
				return {
					setPortalPlacement: g
				}
			}, []),
			_ = h.useState(null),
			S = jt(_, 2),
			y = S[0],
			w = S[1],
			b = h.useCallback(function() {
				if (i) {
					var R = MUe(i),
						k = s === "fixed" ? 0 : window.pageYOffset,
						M = R[p] + k;
					(M !== (y == null ? void 0 : y.offset) || R.left !== (y == null ? void 0 : y.rect.left) || R.width !== (y == null ? void 0 : y.rect.width)) && w({
						offset: M,
						rect: R
					})
				}
			}, [i, s, p, y == null ? void 0 : y.offset, y == null ? void 0 : y.rect.left, y == null ? void 0 : y.rect.width]);
		e_(function() {
			b()
		}, [b]);
		var E = h.useCallback(function() {
			typeof l.current == "function" && (l.current(), l.current = null), i && u.current && (l.current = CUe(i, u.current, b, {
				elementResize: "ResizeObserver" in window
			}))
		}, [i, b]);
		e_(function() {
			E()
		}, [E]);
		var T = h.useCallback(function(R) {
			u.current = R, E()
		}, [E]);
		if (!n && s !== "fixed" || !y) return null;
		var O = $e("div", ge({
			ref: T
		}, bn(ce(ce({}, t), {}, {
			offset: y.offset,
			position: s,
			rect: y.rect
		}), "menuPortal", {
			"menu-portal": !0
		}), o), r);
		return $e(Dq.Provider, {
			value: m
		}, n ? Qa.createPortal(O, n) : O)
	},
	tHe = function(t) {
		var n = t.isDisabled,
			r = t.isRtl;
		return {
			label: "container",
			direction: r ? "rtl" : void 0,
			pointerEvents: n ? "none" : void 0,
			position: "relative"
		}
	},
	nHe = function(t) {
		var n = t.children,
			r = t.innerProps,
			i = t.isDisabled,
			o = t.isRtl;
		return $e("div", ge({}, bn(t, "container", {
			"--is-disabled": i,
			"--is-rtl": o
		}), r), n)
	},
	rHe = function(t, n) {
		var r = t.theme.spacing,
			i = t.isMulti,
			o = t.hasValue,
			a = t.selectProps.controlShouldRenderValue;
		return ce({
			alignItems: "center",
			display: i && o && a ? "flex" : "grid",
			flex: 1,
			flexWrap: "wrap",
			WebkitOverflowScrolling: "touch",
			position: "relative",
			overflow: "hidden"
		}, n ? {} : {
			padding: "".concat(r.baseUnit / 2, "px ").concat(r.baseUnit * 2, "px")
		})
	},
	iHe = function(t) {
		var n = t.children,
			r = t.innerProps,
			i = t.isMulti,
			o = t.hasValue;
		return $e("div", ge({}, bn(t, "valueContainer", {
			"value-container": !0,
			"value-container--is-multi": i,
			"value-container--has-value": o
		}), r), n)
	},
	oHe = function() {
		return {
			alignItems: "center",
			alignSelf: "stretch",
			display: "flex",
			flexShrink: 0
		}
	},
	aHe = function(t) {
		var n = t.children,
			r = t.innerProps;
		return $e("div", ge({}, bn(t, "indicatorsContainer", {
			indicators: !0
		}), r), n)
	},
	ZD, sHe = ["size"],
	uHe = ["innerProps", "isRtl", "size"],
	lHe = {
		name: "8mmkcg",
		styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"
	},
	Fq = function(t) {
		var n = t.size,
			r = or(t, sHe);
		return $e("svg", ge({
			height: n,
			width: n,
			viewBox: "0 0 20 20",
			"aria-hidden": "true",
			focusable: "false",
			css: lHe
		}, r))
	},
	FT = function(t) {
		return $e(Fq, ge({
			size: 20
		}, t), $e("path", {
			d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
		}))
	},
	jq = function(t) {
		return $e(Fq, ge({
			size: 20
		}, t), $e("path", {
			d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
		}))
	},
	Uq = function(t, n) {
		var r = t.isFocused,
			i = t.theme,
			o = i.spacing.baseUnit,
			a = i.colors;
		return ce({
			label: "indicatorContainer",
			display: "flex",
			transition: "color 150ms"
		}, n ? {} : {
			color: r ? a.neutral60 : a.neutral20,
			padding: o * 2,
			":hover": {
				color: r ? a.neutral80 : a.neutral40
			}
		})
	},
	cHe = Uq,
	fHe = function(t) {
		var n = t.children,
			r = t.innerProps;
		return $e("div", ge({}, bn(t, "dropdownIndicator", {
			indicator: !0,
			"dropdown-indicator": !0
		}), r), n || $e(jq, null))
	},
	dHe = Uq,
	pHe = function(t) {
		var n = t.children,
			r = t.innerProps;
		return $e("div", ge({}, bn(t, "clearIndicator", {
			indicator: !0,
			"clear-indicator": !0
		}), r), n || $e(FT, null))
	},
	hHe = function(t, n) {
		var r = t.isDisabled,
			i = t.theme,
			o = i.spacing.baseUnit,
			a = i.colors;
		return ce({
			label: "indicatorSeparator",
			alignSelf: "stretch",
			width: 1
		}, n ? {} : {
			backgroundColor: r ? a.neutral10 : a.neutral20,
			marginBottom: o * 2,
			marginTop: o * 2
		})
	},
	vHe = function(t) {
		var n = t.innerProps;
		return $e("span", ge({}, n, bn(t, "indicatorSeparator", {
			"indicator-separator": !0
		})))
	},
	gHe = dke(ZD || (ZD = dUe(["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"]))),
	mHe = function(t, n) {
		var r = t.isFocused,
			i = t.size,
			o = t.theme,
			a = o.colors,
			s = o.spacing.baseUnit;
		return ce({
			label: "loadingIndicator",
			display: "flex",
			transition: "color 150ms",
			alignSelf: "center",
			fontSize: i,
			lineHeight: 1,
			marginRight: i,
			textAlign: "center",
			verticalAlign: "middle"
		}, n ? {} : {
			color: r ? a.neutral60 : a.neutral20,
			padding: s * 2
		})
	},
	Px = function(t) {
		var n = t.delay,
			r = t.offset;
		return $e("span", {
			css: mT({
				animation: "".concat(gHe, " 1s ease-in-out ").concat(n, "ms infinite;"),
				backgroundColor: "currentColor",
				borderRadius: "1em",
				display: "inline-block",
				marginLeft: r ? "1em" : void 0,
				height: "1em",
				verticalAlign: "top",
				width: "1em"
			}, "", "")
		})
	},
	yHe = function(t) {
		var n = t.innerProps,
			r = t.isRtl,
			i = t.size,
			o = i === void 0 ? 4 : i,
			a = or(t, uHe);
		return $e("div", ge({}, bn(ce(ce({}, a), {}, {
			innerProps: n,
			isRtl: r,
			size: o
		}), "loadingIndicator", {
			indicator: !0,
			"loading-indicator": !0
		}), n), $e(Px, {
			delay: 0,
			offset: r
		}), $e(Px, {
			delay: 160,
			offset: !0
		}), $e(Px, {
			delay: 320,
			offset: !r
		}))
	},
	wHe = function(t, n) {
		var r = t.isDisabled,
			i = t.isFocused,
			o = t.theme,
			a = o.colors,
			s = o.borderRadius,
			u = o.spacing;
		return ce({
			label: "control",
			alignItems: "center",
			cursor: "default",
			display: "flex",
			flexWrap: "wrap",
			justifyContent: "space-between",
			minHeight: u.controlHeight,
			outline: "0 !important",
			position: "relative",
			transition: "all 100ms"
		}, n ? {} : {
			backgroundColor: r ? a.neutral5 : a.neutral0,
			borderColor: r ? a.neutral10 : i ? a.primary : a.neutral20,
			borderRadius: s,
			borderStyle: "solid",
			borderWidth: 1,
			boxShadow: i ? "0 0 0 1px ".concat(a.primary) : void 0,
			"&:hover": {
				borderColor: i ? a.primary : a.neutral30
			}
		})
	},
	_He = function(t) {
		var n = t.children,
			r = t.isDisabled,
			i = t.isFocused,
			o = t.innerRef,
			a = t.innerProps,
			s = t.menuIsOpen;
		return $e("div", ge({
			ref: o
		}, bn(t, "control", {
			control: !0,
			"control--is-disabled": r,
			"control--is-focused": i,
			"control--menu-is-open": s
		}), a, {
			"aria-disabled": r || void 0
		}), n)
	},
	bHe = _He,
	SHe = ["data"],
	xHe = function(t, n) {
		var r = t.theme.spacing;
		return n ? {} : {
			paddingBottom: r.baseUnit * 2,
			paddingTop: r.baseUnit * 2
		}
	},
	EHe = function(t) {
		var n = t.children,
			r = t.cx,
			i = t.getStyles,
			o = t.getClassNames,
			a = t.Heading,
			s = t.headingProps,
			u = t.innerProps,
			l = t.label,
			c = t.theme,
			d = t.selectProps;
		return $e("div", ge({}, bn(t, "group", {
			group: !0
		}), u), $e(a, ge({}, s, {
			selectProps: d,
			theme: c,
			getStyles: i,
			getClassNames: o,
			cx: r
		}), l), $e("div", null, n))
	},
	CHe = function(t, n) {
		var r = t.theme,
			i = r.colors,
			o = r.spacing;
		return ce({
			label: "group",
			cursor: "default",
			display: "block"
		}, n ? {} : {
			color: i.neutral40,
			fontSize: "75%",
			fontWeight: 500,
			marginBottom: "0.25em",
			paddingLeft: o.baseUnit * 3,
			paddingRight: o.baseUnit * 3,
			textTransform: "uppercase"
		})
	},
	OHe = function(t) {
		var n = Mq(t);
		n.data;
		var r = or(n, SHe);
		return $e("div", ge({}, bn(t, "groupHeading", {
			"group-heading": !0
		}), r))
	},
	THe = EHe,
	RHe = ["innerRef", "isDisabled", "isHidden", "inputClassName"],
	IHe = function(t, n) {
		var r = t.isDisabled,
			i = t.value,
			o = t.theme,
			a = o.spacing,
			s = o.colors;
		return ce(ce({
			visibility: r ? "hidden" : "visible",
			transform: i ? "translateZ(0)" : ""
		}, kHe), n ? {} : {
			margin: a.baseUnit / 2,
			paddingBottom: a.baseUnit / 2,
			paddingTop: a.baseUnit / 2,
			color: s.neutral80
		})
	},
	Hq = {
		gridArea: "1 / 2",
		font: "inherit",
		minWidth: "2px",
		border: 0,
		margin: 0,
		outline: 0,
		padding: 0
	},
	kHe = {
		flex: "1 1 auto",
		display: "inline-grid",
		gridArea: "1 / 1 / 2 / 3",
		gridTemplateColumns: "0 min-content",
		"&:after": ce({
			content: 'attr(data-value) " "',
			visibility: "hidden",
			whiteSpace: "pre"
		}, Hq)
	},
	AHe = function(t) {
		return ce({
			label: "input",
			color: "inherit",
			background: 0,
			opacity: t ? 0 : 1,
			width: "100%"
		}, Hq)
	},
	MHe = function(t) {
		var n = t.cx,
			r = t.value,
			i = Mq(t),
			o = i.innerRef,
			a = i.isDisabled,
			s = i.isHidden,
			u = i.inputClassName,
			l = or(i, RHe);
		return $e("div", ge({}, bn(t, "input", {
			"input-container": !0
		}), {
			"data-value": r || ""
		}), $e("input", ge({
			className: n({
				input: !0
			}, u),
			ref: o,
			style: AHe(s),
			disabled: a
		}, l)))
	},
	PHe = MHe,
	LHe = function(t, n) {
		var r = t.theme,
			i = r.spacing,
			o = r.borderRadius,
			a = r.colors;
		return ce({
			label: "multiValue",
			display: "flex",
			minWidth: 0
		}, n ? {} : {
			backgroundColor: a.neutral10,
			borderRadius: o / 2,
			margin: i.baseUnit / 2
		})
	},
	NHe = function(t, n) {
		var r = t.theme,
			i = r.borderRadius,
			o = r.colors,
			a = t.cropWithEllipsis;
		return ce({
			overflow: "hidden",
			textOverflow: a || a === void 0 ? "ellipsis" : void 0,
			whiteSpace: "nowrap"
		}, n ? {} : {
			borderRadius: i / 2,
			color: o.neutral80,
			fontSize: "85%",
			padding: 3,
			paddingLeft: 6
		})
	},
	DHe = function(t, n) {
		var r = t.theme,
			i = r.spacing,
			o = r.borderRadius,
			a = r.colors,
			s = t.isFocused;
		return ce({
			alignItems: "center",
			display: "flex"
		}, n ? {} : {
			borderRadius: o / 2,
			backgroundColor: s ? a.dangerLight : void 0,
			paddingLeft: i.baseUnit,
			paddingRight: i.baseUnit,
			":hover": {
				backgroundColor: a.dangerLight,
				color: a.danger
			}
		})
	},
	Vq = function(t) {
		var n = t.children,
			r = t.innerProps;
		return $e("div", r, n)
	},
	$He = Vq,
	FHe = Vq;

function jHe(e) {
	var t = e.children,
		n = e.innerProps;
	return $e("div", ge({
		role: "button"
	}, n), t || $e(FT, {
		size: 14
	}))
}
var UHe = function(t) {
		var n = t.children,
			r = t.components,
			i = t.data,
			o = t.innerProps,
			a = t.isDisabled,
			s = t.removeProps,
			u = t.selectProps,
			l = r.Container,
			c = r.Label,
			d = r.Remove;
		return $e(l, {
			data: i,
			innerProps: ce(ce({}, bn(t, "multiValue", {
				"multi-value": !0,
				"multi-value--is-disabled": a
			})), o),
			selectProps: u
		}, $e(c, {
			data: i,
			innerProps: ce({}, bn(t, "multiValueLabel", {
				"multi-value__label": !0
			})),
			selectProps: u
		}, n), $e(d, {
			data: i,
			innerProps: ce(ce({}, bn(t, "multiValueRemove", {
				"multi-value__remove": !0
			})), {}, {
				"aria-label": "Remove ".concat(n || "option")
			}, s),
			selectProps: u
		}))
	},
	HHe = UHe,
	VHe = function(t, n) {
		var r = t.isDisabled,
			i = t.isFocused,
			o = t.isSelected,
			a = t.theme,
			s = a.spacing,
			u = a.colors;
		return ce({
			label: "option",
			cursor: "default",
			display: "block",
			fontSize: "inherit",
			width: "100%",
			userSelect: "none",
			WebkitTapHighlightColor: "rgba(0, 0, 0, 0)"
		}, n ? {} : {
			backgroundColor: o ? u.primary : i ? u.primary25 : "transparent",
			color: r ? u.neutral20 : o ? u.neutral0 : "inherit",
			padding: "".concat(s.baseUnit * 2, "px ").concat(s.baseUnit * 3, "px"),
			":active": {
				backgroundColor: r ? void 0 : o ? u.primary : u.primary50
			}
		})
	},
	BHe = function(t) {
		var n = t.children,
			r = t.isDisabled,
			i = t.isFocused,
			o = t.isSelected,
			a = t.innerRef,
			s = t.innerProps;
		return $e("div", ge({}, bn(t, "option", {
			option: !0,
			"option--is-disabled": r,
			"option--is-focused": i,
			"option--is-selected": o
		}), {
			ref: a,
			"aria-disabled": r
		}, s), n)
	},
	zHe = BHe,
	GHe = function(t, n) {
		var r = t.theme,
			i = r.spacing,
			o = r.colors;
		return ce({
			label: "placeholder",
			gridArea: "1 / 1 / 2 / 3"
		}, n ? {} : {
			color: o.neutral50,
			marginLeft: i.baseUnit / 2,
			marginRight: i.baseUnit / 2
		})
	},
	WHe = function(t) {
		var n = t.children,
			r = t.innerProps;
		return $e("div", ge({}, bn(t, "placeholder", {
			placeholder: !0
		}), r), n)
	},
	KHe = WHe,
	ZHe = function(t, n) {
		var r = t.isDisabled,
			i = t.theme,
			o = i.spacing,
			a = i.colors;
		return ce({
			label: "singleValue",
			gridArea: "1 / 1 / 2 / 3",
			maxWidth: "100%",
			overflow: "hidden",
			textOverflow: "ellipsis",
			whiteSpace: "nowrap"
		}, n ? {} : {
			color: r ? a.neutral40 : a.neutral80,
			marginLeft: o.baseUnit / 2,
			marginRight: o.baseUnit / 2
		})
	},
	qHe = function(t) {
		var n = t.children,
			r = t.isDisabled,
			i = t.innerProps;
		return $e("div", ge({}, bn(t, "singleValue", {
			"single-value": !0,
			"single-value--is-disabled": r
		}), i), n)
	},
	YHe = qHe,
	u1 = {
		ClearIndicator: pHe,
		Control: bHe,
		DropdownIndicator: fHe,
		DownChevron: jq,
		CrossIcon: FT,
		Group: THe,
		GroupHeading: OHe,
		IndicatorsContainer: aHe,
		IndicatorSeparator: vHe,
		Input: PHe,
		LoadingIndicator: yHe,
		Menu: WUe,
		MenuList: ZUe,
		MenuPortal: eHe,
		LoadingMessage: JUe,
		NoOptionsMessage: XUe,
		MultiValue: HHe,
		MultiValueContainer: $He,
		MultiValueLabel: FHe,
		MultiValueRemove: jHe,
		Option: zHe,
		Placeholder: KHe,
		SelectContainer: nHe,
		SingleValue: YHe,
		ValueContainer: iHe
	},
	XHe = function(t) {
		return ce(ce({}, u1), t.components)
	},
	qD = Number.isNaN || function(t) {
		return typeof t == "number" && t !== t
	};

function JHe(e, t) {
	return !!(e === t || qD(e) && qD(t))
}

function QHe(e, t) {
	if (e.length !== t.length) return !1;
	for (var n = 0; n < e.length; n++)
		if (!JHe(e[n], t[n])) return !1;
	return !0
}

function eVe(e, t) {
	t === void 0 && (t = QHe);
	var n = null;

	function r() {
		for (var i = [], o = 0; o < arguments.length; o++) i[o] = arguments[o];
		if (n && n.lastThis === this && t(i, n.lastArgs)) return n.lastResult;
		var a = e.apply(this, i);
		return n = {
			lastResult: a,
			lastArgs: i,
			lastThis: this
		}, a
	}
	return r.clear = function() {
		n = null
	}, r
}
var tVe = {
		name: "7pg0cj-a11yText",
		styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"
	},
	nVe = function(t) {
		return $e("span", ge({
			css: tVe
		}, t))
	},
	YD = nVe,
	rVe = {
		guidance: function(t) {
			var n = t.isSearchable,
				r = t.isMulti,
				i = t.isDisabled,
				o = t.tabSelectsValue,
				a = t.context;
			switch (a) {
				case "menu":
					return "Use Up and Down to choose options".concat(i ? "" : ", press Enter to select the currently focused option", ", press Escape to exit the menu").concat(o ? ", press Tab to select the option and exit the menu" : "", ".");
				case "input":
					return "".concat(t["aria-label"] || "Select", " is focused ").concat(n ? ",type to refine list" : "", ", press Down to open the menu, ").concat(r ? " press left to focus selected values" : "");
				case "value":
					return "Use left and right to toggle between focused values, press Backspace to remove the currently focused value";
				default:
					return ""
			}
		},
		onChange: function(t) {
			var n = t.action,
				r = t.label,
				i = r === void 0 ? "" : r,
				o = t.labels,
				a = t.isDisabled;
			switch (n) {
				case "deselect-option":
				case "pop-value":
				case "remove-value":
					return "option ".concat(i, ", deselected.");
				case "clear":
					return "All selected options have been cleared.";
				case "initial-input-focus":
					return "option".concat(o.length > 1 ? "s" : "", " ").concat(o.join(","), ", selected.");
				case "select-option":
					return a ? "option ".concat(i, " is disabled. Select another option.") : "option ".concat(i, ", selected.");
				default:
					return ""
			}
		},
		onFocus: function(t) {
			var n = t.context,
				r = t.focused,
				i = t.options,
				o = t.label,
				a = o === void 0 ? "" : o,
				s = t.selectValue,
				u = t.isDisabled,
				l = t.isSelected,
				c = function(m, _) {
					return m && m.length ? "".concat(m.indexOf(_) + 1, " of ").concat(m.length) : ""
				};
			if (n === "value" && s) return "value ".concat(a, " focused, ").concat(c(s, r), ".");
			if (n === "menu") {
				var d = u ? " disabled" : "",
					p = "".concat(l ? "selected" : "focused").concat(d);
				return "option ".concat(a, " ").concat(p, ", ").concat(c(i, r), ".")
			}
			return ""
		},
		onFilter: function(t) {
			var n = t.inputValue,
				r = t.resultsMessage;
			return "".concat(r).concat(n ? " for search term " + n : "", ".")
		}
	},
	iVe = function(t) {
		var n = t.ariaSelection,
			r = t.focusedOption,
			i = t.focusedValue,
			o = t.focusableOptions,
			a = t.isFocused,
			s = t.selectValue,
			u = t.selectProps,
			l = t.id,
			c = u.ariaLiveMessages,
			d = u.getOptionLabel,
			p = u.inputValue,
			g = u.isMulti,
			m = u.isOptionDisabled,
			_ = u.isSearchable,
			S = u.menuIsOpen,
			y = u.options,
			w = u.screenReaderStatus,
			b = u.tabSelectsValue,
			E = u["aria-label"],
			T = u["aria-live"],
			O = h.useMemo(function() {
				return ce(ce({}, rVe), c || {})
			}, [c]),
			R = h.useMemo(function() {
				var G = "";
				if (n && O.onChange) {
					var K = n.option,
						ee = n.options,
						te = n.removedValue,
						q = n.removedValues,
						F = n.value,
						j = function(pe) {
							return Array.isArray(pe) ? null : pe
						},
						B = te || K || j(F),
						Z = B ? d(B) : "",
						z = ee || q || void 0,
						Q = z ? z.map(d) : [],
						ie = ce({
							isDisabled: B && m(B, s),
							label: Z,
							labels: Q
						}, n);
					G = O.onChange(ie)
				}
				return G
			}, [n, O, m, s, d]),
			k = h.useMemo(function() {
				var G = "",
					K = r || i,
					ee = !!(r && s && s.includes(r));
				if (K && O.onFocus) {
					var te = {
						focused: K,
						label: d(K),
						isDisabled: m(K, s),
						isSelected: ee,
						options: o,
						context: K === r ? "menu" : "value",
						selectValue: s
					};
					G = O.onFocus(te)
				}
				return G
			}, [r, i, d, m, O, o, s]),
			M = h.useMemo(function() {
				var G = "";
				if (S && y.length && O.onFilter) {
					var K = w({
						count: o.length
					});
					G = O.onFilter({
						inputValue: p,
						resultsMessage: K
					})
				}
				return G
			}, [o, p, S, O, y, w]),
			D = h.useMemo(function() {
				var G = "";
				if (O.guidance) {
					var K = i ? "value" : S ? "menu" : "input";
					G = O.guidance({
						"aria-label": E,
						context: K,
						isDisabled: r && m(r, s),
						isMulti: g,
						isSearchable: _,
						tabSelectsValue: b
					})
				}
				return G
			}, [E, r, i, g, m, _, S, O, s, b]),
			P = "".concat(k, " ").concat(M, " ").concat(D),
			U = $e(h.Fragment, null, $e("span", {
				id: "aria-selection"
			}, R), $e("span", {
				id: "aria-context"
			}, P)),
			H = (n == null ? void 0 : n.action) === "initial-input-focus";
		return $e(h.Fragment, null, $e(YD, {
			id: l
		}, H && U), $e(YD, {
			"aria-live": T,
			"aria-atomic": "false",
			"aria-relevant": "additions text"
		}, a && !H && U))
	},
	oVe = iVe,
	YC = [{
		base: "A",
		letters: "AⒶＡÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
	}, {
		base: "AA",
		letters: "Ꜳ"
	}, {
		base: "AE",
		letters: "ÆǼǢ"
	}, {
		base: "AO",
		letters: "Ꜵ"
	}, {
		base: "AU",
		letters: "Ꜷ"
	}, {
		base: "AV",
		letters: "ꜸꜺ"
	}, {
		base: "AY",
		letters: "Ꜽ"
	}, {
		base: "B",
		letters: "BⒷＢḂḄḆɃƂƁ"
	}, {
		base: "C",
		letters: "CⒸＣĆĈĊČÇḈƇȻꜾ"
	}, {
		base: "D",
		letters: "DⒹＤḊĎḌḐḒḎĐƋƊƉꝹ"
	}, {
		base: "DZ",
		letters: "ǱǄ"
	}, {
		base: "Dz",
		letters: "ǲǅ"
	}, {
		base: "E",
		letters: "EⒺＥÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"
	}, {
		base: "F",
		letters: "FⒻＦḞƑꝻ"
	}, {
		base: "G",
		letters: "GⒼＧǴĜḠĞĠǦĢǤƓꞠꝽꝾ"
	}, {
		base: "H",
		letters: "HⒽＨĤḢḦȞḤḨḪĦⱧⱵꞍ"
	}, {
		base: "I",
		letters: "IⒾＩÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"
	}, {
		base: "J",
		letters: "JⒿＪĴɈ"
	}, {
		base: "K",
		letters: "KⓀＫḰǨḲĶḴƘⱩꝀꝂꝄꞢ"
	}, {
		base: "L",
		letters: "LⓁＬĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"
	}, {
		base: "LJ",
		letters: "Ǉ"
	}, {
		base: "Lj",
		letters: "ǈ"
	}, {
		base: "M",
		letters: "MⓂＭḾṀṂⱮƜ"
	}, {
		base: "N",
		letters: "NⓃＮǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"
	}, {
		base: "NJ",
		letters: "Ǌ"
	}, {
		base: "Nj",
		letters: "ǋ"
	}, {
		base: "O",
		letters: "OⓄＯÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"
	}, {
		base: "OI",
		letters: "Ƣ"
	}, {
		base: "OO",
		letters: "Ꝏ"
	}, {
		base: "OU",
		letters: "Ȣ"
	}, {
		base: "P",
		letters: "PⓅＰṔṖƤⱣꝐꝒꝔ"
	}, {
		base: "Q",
		letters: "QⓆＱꝖꝘɊ"
	}, {
		base: "R",
		letters: "RⓇＲŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"
	}, {
		base: "S",
		letters: "SⓈＳẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"
	}, {
		base: "T",
		letters: "TⓉＴṪŤṬȚŢṰṮŦƬƮȾꞆ"
	}, {
		base: "TZ",
		letters: "Ꜩ"
	}, {
		base: "U",
		letters: "UⓊＵÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"
	}, {
		base: "V",
		letters: "VⓋＶṼṾƲꝞɅ"
	}, {
		base: "VY",
		letters: "Ꝡ"
	}, {
		base: "W",
		letters: "WⓌＷẀẂŴẆẄẈⱲ"
	}, {
		base: "X",
		letters: "XⓍＸẊẌ"
	}, {
		base: "Y",
		letters: "YⓎＹỲÝŶỸȲẎŸỶỴƳɎỾ"
	}, {
		base: "Z",
		letters: "ZⓏＺŹẐŻŽẒẔƵȤⱿⱫꝢ"
	}, {
		base: "a",
		letters: "aⓐａẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"
	}, {
		base: "aa",
		letters: "ꜳ"
	}, {
		base: "ae",
		letters: "æǽǣ"
	}, {
		base: "ao",
		letters: "ꜵ"
	}, {
		base: "au",
		letters: "ꜷ"
	}, {
		base: "av",
		letters: "ꜹꜻ"
	}, {
		base: "ay",
		letters: "ꜽ"
	}, {
		base: "b",
		letters: "bⓑｂḃḅḇƀƃɓ"
	}, {
		base: "c",
		letters: "cⓒｃćĉċčçḉƈȼꜿↄ"
	}, {
		base: "d",
		letters: "dⓓｄḋďḍḑḓḏđƌɖɗꝺ"
	}, {
		base: "dz",
		letters: "ǳǆ"
	}, {
		base: "e",
		letters: "eⓔｅèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"
	}, {
		base: "f",
		letters: "fⓕｆḟƒꝼ"
	}, {
		base: "g",
		letters: "gⓖｇǵĝḡğġǧģǥɠꞡᵹꝿ"
	}, {
		base: "h",
		letters: "hⓗｈĥḣḧȟḥḩḫẖħⱨⱶɥ"
	}, {
		base: "hv",
		letters: "ƕ"
	}, {
		base: "i",
		letters: "iⓘｉìíîĩīĭïḯỉǐȉȋịįḭɨı"
	}, {
		base: "j",
		letters: "jⓙｊĵǰɉ"
	}, {
		base: "k",
		letters: "kⓚｋḱǩḳķḵƙⱪꝁꝃꝅꞣ"
	}, {
		base: "l",
		letters: "lⓛｌŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"
	}, {
		base: "lj",
		letters: "ǉ"
	}, {
		base: "m",
		letters: "mⓜｍḿṁṃɱɯ"
	}, {
		base: "n",
		letters: "nⓝｎǹńñṅňṇņṋṉƞɲŉꞑꞥ"
	}, {
		base: "nj",
		letters: "ǌ"
	}, {
		base: "o",
		letters: "oⓞｏòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"
	}, {
		base: "oi",
		letters: "ƣ"
	}, {
		base: "ou",
		letters: "ȣ"
	}, {
		base: "oo",
		letters: "ꝏ"
	}, {
		base: "p",
		letters: "pⓟｐṕṗƥᵽꝑꝓꝕ"
	}, {
		base: "q",
		letters: "qⓠｑɋꝗꝙ"
	}, {
		base: "r",
		letters: "rⓡｒŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"
	}, {
		base: "s",
		letters: "sⓢｓßśṥŝṡšṧṣṩșşȿꞩꞅẛ"
	}, {
		base: "t",
		letters: "tⓣｔṫẗťṭțţṱṯŧƭʈⱦꞇ"
	}, {
		base: "tz",
		letters: "ꜩ"
	}, {
		base: "u",
		letters: "uⓤｕùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"
	}, {
		base: "v",
		letters: "vⓥｖṽṿʋꝟʌ"
	}, {
		base: "vy",
		letters: "ꝡ"
	}, {
		base: "w",
		letters: "wⓦｗẁẃŵẇẅẘẉⱳ"
	}, {
		base: "x",
		letters: "xⓧｘẋẍ"
	}, {
		base: "y",
		letters: "yⓨｙỳýŷỹȳẏÿỷẙỵƴɏỿ"
	}, {
		base: "z",
		letters: "zⓩｚźẑżžẓẕƶȥɀⱬꝣ"
	}],
	aVe = new RegExp("[" + YC.map(function(e) {
		return e.letters
	}).join("") + "]", "g"),
	Bq = {};
for (var Lx = 0; Lx < YC.length; Lx++)
	for (var Nx = YC[Lx], Dx = 0; Dx < Nx.letters.length; Dx++) Bq[Nx.letters[Dx]] = Nx.base;
var zq = function(t) {
		return t.replace(aVe, function(n) {
			return Bq[n]
		})
	},
	sVe = eVe(zq),
	XD = function(t) {
		return t.replace(/^\s+|\s+$/g, "")
	},
	uVe = function(t) {
		return "".concat(t.label, " ").concat(t.value)
	},
	lVe = function(t) {
		return function(n, r) {
			if (n.data.__isNew__) return !0;
			var i = ce({
					ignoreCase: !0,
					ignoreAccents: !0,
					stringify: uVe,
					trim: !0,
					matchFrom: "any"
				}, t),
				o = i.ignoreCase,
				a = i.ignoreAccents,
				s = i.stringify,
				u = i.trim,
				l = i.matchFrom,
				c = u ? XD(r) : r,
				d = u ? XD(s(n)) : s(n);
			return o && (c = c.toLowerCase(), d = d.toLowerCase()), a && (c = sVe(c), d = zq(d)), l === "start" ? d.substr(0, c.length) === c : d.indexOf(c) > -1
		}
	},
	cVe = ["innerRef"];

function fVe(e) {
	var t = e.innerRef,
		n = or(e, cVe),
		r = FUe(n, "onExited", "in", "enter", "exit", "appear");
	return $e("input", ge({
		ref: t
	}, r, {
		css: mT({
			label: "dummyInput",
			background: 0,
			border: 0,
			caretColor: "transparent",
			fontSize: "inherit",
			gridArea: "1 / 1 / 2 / 3",
			outline: 0,
			padding: 0,
			width: 1,
			color: "transparent",
			left: -100,
			opacity: 0,
			position: "relative",
			transform: "scale(.01)"
		}, "", "")
	}))
}
var dVe = function(t) {
	t.cancelable && t.preventDefault(), t.stopPropagation()
};

function pVe(e) {
	var t = e.isEnabled,
		n = e.onBottomArrive,
		r = e.onBottomLeave,
		i = e.onTopArrive,
		o = e.onTopLeave,
		a = h.useRef(!1),
		s = h.useRef(!1),
		u = h.useRef(0),
		l = h.useRef(null),
		c = h.useCallback(function(S, y) {
			if (l.current !== null) {
				var w = l.current,
					b = w.scrollTop,
					E = w.scrollHeight,
					T = w.clientHeight,
					O = l.current,
					R = y > 0,
					k = E - T - b,
					M = !1;
				k > y && a.current && (r && r(S), a.current = !1), R && s.current && (o && o(S), s.current = !1), R && y > k ? (n && !a.current && n(S), O.scrollTop = E, M = !0, a.current = !0) : !R && -y > b && (i && !s.current && i(S), O.scrollTop = 0, M = !0, s.current = !0), M && dVe(S)
			}
		}, [n, r, i, o]),
		d = h.useCallback(function(S) {
			c(S, S.deltaY)
		}, [c]),
		p = h.useCallback(function(S) {
			u.current = S.changedTouches[0].clientY
		}, []),
		g = h.useCallback(function(S) {
			var y = u.current - S.changedTouches[0].clientY;
			c(S, y)
		}, [c]),
		m = h.useCallback(function(S) {
			if (S) {
				var y = NUe ? {
					passive: !1
				} : !1;
				S.addEventListener("wheel", d, y), S.addEventListener("touchstart", p, y), S.addEventListener("touchmove", g, y)
			}
		}, [g, p, d]),
		_ = h.useCallback(function(S) {
			S && (S.removeEventListener("wheel", d, !1), S.removeEventListener("touchstart", p, !1), S.removeEventListener("touchmove", g, !1))
		}, [g, p, d]);
	return h.useEffect(function() {
			if (t) {
				var S = l.current;
				return m(S),
					function() {
						_(S)
					}
			}
		}, [t, m, _]),
		function(S) {
			l.current = S
		}
}
var JD = ["boxSizing", "height", "overflow", "paddingRight", "position"],
	QD = {
		boxSizing: "border-box",
		overflow: "hidden",
		position: "relative",
		height: "100%"
	};

function e$(e) {
	e.preventDefault()
}

function t$(e) {
	e.stopPropagation()
}

function n$() {
	var e = this.scrollTop,
		t = this.scrollHeight,
		n = e + this.offsetHeight;
	e === 0 ? this.scrollTop = 1 : n === t && (this.scrollTop = e - 1)
}

function r$() {
	return "ontouchstart" in window || navigator.maxTouchPoints
}
var i$ = !!(typeof window < "u" && window.document && window.document.createElement),
	D0 = 0,
	_d = {
		capture: !1,
		passive: !1
	};

function hVe(e) {
	var t = e.isEnabled,
		n = e.accountForScrollbars,
		r = n === void 0 ? !0 : n,
		i = h.useRef({}),
		o = h.useRef(null),
		a = h.useCallback(function(u) {
			if (i$) {
				var l = document.body,
					c = l && l.style;
				if (r && JD.forEach(function(m) {
						var _ = c && c[m];
						i.current[m] = _
					}), r && D0 < 1) {
					var d = parseInt(i.current.paddingRight, 10) || 0,
						p = document.body ? document.body.clientWidth : 0,
						g = window.innerWidth - p + d || 0;
					Object.keys(QD).forEach(function(m) {
						var _ = QD[m];
						c && (c[m] = _)
					}), c && (c.paddingRight = "".concat(g, "px"))
				}
				l && r$() && (l.addEventListener("touchmove", e$, _d), u && (u.addEventListener("touchstart", n$, _d), u.addEventListener("touchmove", t$, _d))), D0 += 1
			}
		}, [r]),
		s = h.useCallback(function(u) {
			if (i$) {
				var l = document.body,
					c = l && l.style;
				D0 = Math.max(D0 - 1, 0), r && D0 < 1 && JD.forEach(function(d) {
					var p = i.current[d];
					c && (c[d] = p)
				}), l && r$() && (l.removeEventListener("touchmove", e$, _d), u && (u.removeEventListener("touchstart", n$, _d), u.removeEventListener("touchmove", t$, _d)))
			}
		}, [r]);
	return h.useEffect(function() {
			if (t) {
				var u = o.current;
				return a(u),
					function() {
						s(u)
					}
			}
		}, [t, a, s]),
		function(u) {
			o.current = u
		}
}
var vVe = function(t) {
		var n = t.target;
		return n.ownerDocument.activeElement && n.ownerDocument.activeElement.blur()
	},
	gVe = {
		name: "1kfdb0e",
		styles: "position:fixed;left:0;bottom:0;right:0;top:0"
	};

function mVe(e) {
	var t = e.children,
		n = e.lockEnabled,
		r = e.captureEnabled,
		i = r === void 0 ? !0 : r,
		o = e.onBottomArrive,
		a = e.onBottomLeave,
		s = e.onTopArrive,
		u = e.onTopLeave,
		l = pVe({
			isEnabled: i,
			onBottomArrive: o,
			onBottomLeave: a,
			onTopArrive: s,
			onTopLeave: u
		}),
		c = hVe({
			isEnabled: n
		}),
		d = function(g) {
			l(g), c(g)
		};
	return $e(h.Fragment, null, n && $e("div", {
		onClick: vVe,
		css: gVe
	}), t(d))
}
var yVe = {
		name: "1a0ro4n-requiredInput",
		styles: "label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"
	},
	wVe = function(t) {
		var n = t.name,
			r = t.onFocus;
		return $e("input", {
			required: !0,
			name: n,
			tabIndex: -1,
			"aria-hidden": "true",
			onFocus: r,
			css: yVe,
			value: "",
			onChange: function() {}
		})
	},
	_Ve = wVe,
	bVe = function(t) {
		return t.label
	},
	Gq = function(t) {
		return t.label
	},
	Wq = function(t) {
		return t.value
	},
	SVe = function(t) {
		return !!t.isDisabled
	},
	xVe = {
		clearIndicator: dHe,
		container: tHe,
		control: wHe,
		dropdownIndicator: cHe,
		group: xHe,
		groupHeading: CHe,
		indicatorsContainer: oHe,
		indicatorSeparator: hHe,
		input: IHe,
		loadingIndicator: mHe,
		loadingMessage: YUe,
		menu: BUe,
		menuList: KUe,
		menuPortal: QUe,
		multiValue: LHe,
		multiValueLabel: NHe,
		multiValueRemove: DHe,
		noOptionsMessage: qUe,
		option: VHe,
		placeholder: GHe,
		singleValue: ZHe,
		valueContainer: rHe
	},
	EVe = {
		primary: "#2684FF",
		primary75: "#4C9AFF",
		primary50: "#B2D4FF",
		primary25: "#DEEBFF",
		danger: "#DE350B",
		dangerLight: "#FFBDAD",
		neutral0: "hsl(0, 0%, 100%)",
		neutral5: "hsl(0, 0%, 95%)",
		neutral10: "hsl(0, 0%, 90%)",
		neutral20: "hsl(0, 0%, 80%)",
		neutral30: "hsl(0, 0%, 70%)",
		neutral40: "hsl(0, 0%, 60%)",
		neutral50: "hsl(0, 0%, 50%)",
		neutral60: "hsl(0, 0%, 40%)",
		neutral70: "hsl(0, 0%, 30%)",
		neutral80: "hsl(0, 0%, 20%)",
		neutral90: "hsl(0, 0%, 10%)"
	},
	CVe = 4,
	Kq = 4,
	OVe = 38,
	TVe = Kq * 2,
	RVe = {
		baseUnit: Kq,
		controlHeight: OVe,
		menuGutter: TVe
	},
	_v = {
		borderRadius: CVe,
		colors: EVe,
		spacing: RVe
	},
	IVe = {
		"aria-live": "polite",
		backspaceRemovesValue: !0,
		blurInputOnSelect: KD(),
		captureMenuScroll: !KD(),
		classNames: {},
		closeMenuOnSelect: !0,
		closeMenuOnScroll: !1,
		components: {},
		controlShouldRenderValue: !0,
		escapeClearsValue: !1,
		filterOption: lVe(),
		formatGroupLabel: bVe,
		getOptionLabel: Gq,
		getOptionValue: Wq,
		isDisabled: !1,
		isLoading: !1,
		isMulti: !1,
		isRtl: !1,
		isSearchable: !0,
		isOptionDisabled: SVe,
		loadingMessage: function() {
			return "Loading..."
		},
		maxMenuHeight: 300,
		minMenuHeight: 140,
		menuIsOpen: !1,
		menuPlacement: "bottom",
		menuPosition: "absolute",
		menuShouldBlockScroll: !1,
		menuShouldScrollIntoView: !PUe(),
		noOptionsMessage: function() {
			return "No options"
		},
		openMenuOnFocus: !1,
		openMenuOnClick: !0,
		options: [],
		pageSize: 5,
		placeholder: "Select...",
		screenReaderStatus: function(t) {
			var n = t.count;
			return "".concat(n, " result").concat(n !== 1 ? "s" : "", " available")
		},
		styles: {},
		tabIndex: 0,
		tabSelectsValue: !0,
		unstyled: !1
	};

function o$(e, t, n, r) {
	var i = Xq(e, t, n),
		o = Jq(e, t, n),
		a = Yq(e, t),
		s = i_(e, t);
	return {
		type: "option",
		data: t,
		isDisabled: i,
		isSelected: o,
		label: a,
		value: s,
		index: r
	}
}

function Zq(e, t) {
	return e.options.map(function(n, r) {
		if ("options" in n) {
			var i = n.options.map(function(a, s) {
				return o$(e, a, t, s)
			}).filter(function(a) {
				return a$(e, a)
			});
			return i.length > 0 ? {
				type: "group",
				data: n,
				options: i,
				index: r
			} : void 0
		}
		var o = o$(e, n, t, r);
		return a$(e, o) ? o : void 0
	}).filter(DUe)
}

function qq(e) {
	return e.reduce(function(t, n) {
		return n.type === "group" ? t.push.apply(t, vi(n.options.map(function(r) {
			return r.data
		}))) : t.push(n.data), t
	}, [])
}

function kVe(e, t) {
	return qq(Zq(e, t))
}

function a$(e, t) {
	var n = e.inputValue,
		r = n === void 0 ? "" : n,
		i = t.data,
		o = t.isSelected,
		a = t.label,
		s = t.value;
	return (!eY(e) || !o) && Qq(e, {
		label: a,
		value: s,
		data: i
	}, r)
}

function AVe(e, t) {
	var n = e.focusedValue,
		r = e.selectValue,
		i = r.indexOf(n);
	if (i > -1) {
		var o = t.indexOf(n);
		if (o > -1) return n;
		if (i < t.length) return t[i]
	}
	return null
}

function MVe(e, t) {
	var n = e.focusedOption;
	return n && t.indexOf(n) > -1 ? n : t[0]
}
var Yq = function(t, n) {
		return t.getOptionLabel(n)
	},
	i_ = function(t, n) {
		return t.getOptionValue(n)
	};

function Xq(e, t, n) {
	return typeof e.isOptionDisabled == "function" ? e.isOptionDisabled(t, n) : !1
}

function Jq(e, t, n) {
	if (n.indexOf(t) > -1) return !0;
	if (typeof e.isOptionSelected == "function") return e.isOptionSelected(t, n);
	var r = i_(e, t);
	return n.some(function(i) {
		return i_(e, i) === r
	})
}

function Qq(e, t, n) {
	return e.filterOption ? e.filterOption(t, n) : !0
}
var eY = function(t) {
		var n = t.hideSelectedOptions,
			r = t.isMulti;
		return n === void 0 ? r : n
	},
	PVe = 1,
	jT = function(e) {
		tu(n, e);
		var t = jl(n);

		function n(r) {
			var i;
			if (Qs(this, n), i = t.call(this, r), i.state = {
					ariaSelection: null,
					focusedOption: null,
					focusedValue: null,
					inputIsHidden: !1,
					isFocused: !1,
					selectValue: [],
					clearFocusValueOnUpdate: !1,
					prevWasFocused: !1,
					inputIsHiddenAfterUpdate: void 0,
					prevProps: void 0
				}, i.blockOptionHover = !1, i.isComposing = !1, i.commonProps = void 0, i.initialTouchX = 0, i.initialTouchY = 0, i.instancePrefix = "", i.openAfterFocus = !1, i.scrollToFocusedOptionOnUpdate = !1, i.userIsDragging = void 0, i.controlRef = null, i.getControlRef = function(s) {
					i.controlRef = s
				}, i.focusedOptionRef = null, i.getFocusedOptionRef = function(s) {
					i.focusedOptionRef = s
				}, i.menuListRef = null, i.getMenuListRef = function(s) {
					i.menuListRef = s
				}, i.inputRef = null, i.getInputRef = function(s) {
					i.inputRef = s
				}, i.focus = i.focusInput, i.blur = i.blurInput, i.onChange = function(s, u) {
					var l = i.props,
						c = l.onChange,
						d = l.name;
					u.name = d, i.ariaOnChange(s, u), c(s, u)
				}, i.setValue = function(s, u, l) {
					var c = i.props,
						d = c.closeMenuOnSelect,
						p = c.isMulti,
						g = c.inputValue;
					i.onInputChange("", {
						action: "set-value",
						prevInputValue: g
					}), d && (i.setState({
						inputIsHiddenAfterUpdate: !p
					}), i.onMenuClose()), i.setState({
						clearFocusValueOnUpdate: !0
					}), i.onChange(s, {
						action: u,
						option: l
					})
				}, i.selectOption = function(s) {
					var u = i.props,
						l = u.blurInputOnSelect,
						c = u.isMulti,
						d = u.name,
						p = i.state.selectValue,
						g = c && i.isOptionSelected(s, p),
						m = i.isOptionDisabled(s, p);
					if (g) {
						var _ = i.getOptionValue(s);
						i.setValue(p.filter(function(S) {
							return i.getOptionValue(S) !== _
						}), "deselect-option", s)
					} else if (!m) c ? i.setValue([].concat(vi(p), [s]), "select-option", s) : i.setValue(s, "select-option");
					else {
						i.ariaOnChange(s, {
							action: "select-option",
							option: s,
							name: d
						});
						return
					}
					l && i.blurInput()
				}, i.removeValue = function(s) {
					var u = i.props.isMulti,
						l = i.state.selectValue,
						c = i.getOptionValue(s),
						d = l.filter(function(g) {
							return i.getOptionValue(g) !== c
						}),
						p = q0(u, d, d[0] || null);
					i.onChange(p, {
						action: "remove-value",
						removedValue: s
					}), i.focusInput()
				}, i.clearValue = function() {
					var s = i.state.selectValue;
					i.onChange(q0(i.props.isMulti, [], null), {
						action: "clear",
						removedValues: s
					})
				}, i.popValue = function() {
					var s = i.props.isMulti,
						u = i.state.selectValue,
						l = u[u.length - 1],
						c = u.slice(0, u.length - 1),
						d = q0(s, c, c[0] || null);
					i.onChange(d, {
						action: "pop-value",
						removedValue: l
					})
				}, i.getValue = function() {
					return i.state.selectValue
				}, i.cx = function() {
					for (var s = arguments.length, u = new Array(s), l = 0; l < s; l++) u[l] = arguments[l];
					return RUe.apply(void 0, [i.props.classNamePrefix].concat(u))
				}, i.getOptionLabel = function(s) {
					return Yq(i.props, s)
				}, i.getOptionValue = function(s) {
					return i_(i.props, s)
				}, i.getStyles = function(s, u) {
					var l = i.props.unstyled,
						c = xVe[s](u, l);
					c.boxSizing = "border-box";
					var d = i.props.styles[s];
					return d ? d(c, u) : c
				}, i.getClassNames = function(s, u) {
					var l, c;
					return (l = (c = i.props.classNames)[s]) === null || l === void 0 ? void 0 : l.call(c, u)
				}, i.getElementId = function(s) {
					return "".concat(i.instancePrefix, "-").concat(s)
				}, i.getComponents = function() {
					return XHe(i.props)
				}, i.buildCategorizedOptions = function() {
					return Zq(i.props, i.state.selectValue)
				}, i.getCategorizedOptions = function() {
					return i.props.menuIsOpen ? i.buildCategorizedOptions() : []
				}, i.buildFocusableOptions = function() {
					return qq(i.buildCategorizedOptions())
				}, i.getFocusableOptions = function() {
					return i.props.menuIsOpen ? i.buildFocusableOptions() : []
				}, i.ariaOnChange = function(s, u) {
					i.setState({
						ariaSelection: ce({
							value: s
						}, u)
					})
				}, i.onMenuMouseDown = function(s) {
					s.button === 0 && (s.stopPropagation(), s.preventDefault(), i.focusInput())
				}, i.onMenuMouseMove = function(s) {
					i.blockOptionHover = !1
				}, i.onControlMouseDown = function(s) {
					if (!s.defaultPrevented) {
						var u = i.props.openMenuOnClick;
						i.state.isFocused ? i.props.menuIsOpen ? s.target.tagName !== "INPUT" && s.target.tagName !== "TEXTAREA" && i.onMenuClose() : u && i.openMenu("first") : (u && (i.openAfterFocus = !0), i.focusInput()), s.target.tagName !== "INPUT" && s.target.tagName !== "TEXTAREA" && s.preventDefault()
					}
				}, i.onDropdownIndicatorMouseDown = function(s) {
					if (!(s && s.type === "mousedown" && s.button !== 0) && !i.props.isDisabled) {
						var u = i.props,
							l = u.isMulti,
							c = u.menuIsOpen;
						i.focusInput(), c ? (i.setState({
							inputIsHiddenAfterUpdate: !l
						}), i.onMenuClose()) : i.openMenu("first"), s.preventDefault()
					}
				}, i.onClearIndicatorMouseDown = function(s) {
					s && s.type === "mousedown" && s.button !== 0 || (i.clearValue(), s.preventDefault(), i.openAfterFocus = !1, s.type === "touchend" ? i.focusInput() : setTimeout(function() {
						return i.focusInput()
					}))
				}, i.onScroll = function(s) {
					typeof i.props.closeMenuOnScroll == "boolean" ? s.target instanceof HTMLElement && r4(s.target) && i.props.onMenuClose() : typeof i.props.closeMenuOnScroll == "function" && i.props.closeMenuOnScroll(s) && i.props.onMenuClose()
				}, i.onCompositionStart = function() {
					i.isComposing = !0
				}, i.onCompositionEnd = function() {
					i.isComposing = !1
				}, i.onTouchStart = function(s) {
					var u = s.touches,
						l = u && u.item(0);
					l && (i.initialTouchX = l.clientX, i.initialTouchY = l.clientY, i.userIsDragging = !1)
				}, i.onTouchMove = function(s) {
					var u = s.touches,
						l = u && u.item(0);
					if (l) {
						var c = Math.abs(l.clientX - i.initialTouchX),
							d = Math.abs(l.clientY - i.initialTouchY),
							p = 5;
						i.userIsDragging = c > p || d > p
					}
				}, i.onTouchEnd = function(s) {
					i.userIsDragging || (i.controlRef && !i.controlRef.contains(s.target) && i.menuListRef && !i.menuListRef.contains(s.target) && i.blurInput(), i.initialTouchX = 0, i.initialTouchY = 0)
				}, i.onControlTouchEnd = function(s) {
					i.userIsDragging || i.onControlMouseDown(s)
				}, i.onClearIndicatorTouchEnd = function(s) {
					i.userIsDragging || i.onClearIndicatorMouseDown(s)
				}, i.onDropdownIndicatorTouchEnd = function(s) {
					i.userIsDragging || i.onDropdownIndicatorMouseDown(s)
				}, i.handleInputChange = function(s) {
					var u = i.props.inputValue,
						l = s.currentTarget.value;
					i.setState({
						inputIsHiddenAfterUpdate: !1
					}), i.onInputChange(l, {
						action: "input-change",
						prevInputValue: u
					}), i.props.menuIsOpen || i.onMenuOpen()
				}, i.onInputFocus = function(s) {
					i.props.onFocus && i.props.onFocus(s), i.setState({
						inputIsHiddenAfterUpdate: !1,
						isFocused: !0
					}), (i.openAfterFocus || i.props.openMenuOnFocus) && i.openMenu("first"), i.openAfterFocus = !1
				}, i.onInputBlur = function(s) {
					var u = i.props.inputValue;
					if (i.menuListRef && i.menuListRef.contains(document.activeElement)) {
						i.inputRef.focus();
						return
					}
					i.props.onBlur && i.props.onBlur(s), i.onInputChange("", {
						action: "input-blur",
						prevInputValue: u
					}), i.onMenuClose(), i.setState({
						focusedValue: null,
						isFocused: !1
					})
				}, i.onOptionHover = function(s) {
					i.blockOptionHover || i.state.focusedOption === s || i.setState({
						focusedOption: s
					})
				}, i.shouldHideSelectedOptions = function() {
					return eY(i.props)
				}, i.onValueInputFocus = function(s) {
					s.preventDefault(), s.stopPropagation(), i.focus()
				}, i.onKeyDown = function(s) {
					var u = i.props,
						l = u.isMulti,
						c = u.backspaceRemovesValue,
						d = u.escapeClearsValue,
						p = u.inputValue,
						g = u.isClearable,
						m = u.isDisabled,
						_ = u.menuIsOpen,
						S = u.onKeyDown,
						y = u.tabSelectsValue,
						w = u.openMenuOnFocus,
						b = i.state,
						E = b.focusedOption,
						T = b.focusedValue,
						O = b.selectValue;
					if (!m && !(typeof S == "function" && (S(s), s.defaultPrevented))) {
						switch (i.blockOptionHover = !0, s.key) {
							case "ArrowLeft":
								if (!l || p) return;
								i.focusValue("previous");
								break;
							case "ArrowRight":
								if (!l || p) return;
								i.focusValue("next");
								break;
							case "Delete":
							case "Backspace":
								if (p) return;
								if (T) i.removeValue(T);
								else {
									if (!c) return;
									l ? i.popValue() : g && i.clearValue()
								}
								break;
							case "Tab":
								if (i.isComposing || s.shiftKey || !_ || !y || !E || w && i.isOptionSelected(E, O)) return;
								i.selectOption(E);
								break;
							case "Enter":
								if (s.keyCode === 229) break;
								if (_) {
									if (!E || i.isComposing) return;
									i.selectOption(E);
									break
								}
								return;
							case "Escape":
								_ ? (i.setState({
									inputIsHiddenAfterUpdate: !1
								}), i.onInputChange("", {
									action: "menu-close",
									prevInputValue: p
								}), i.onMenuClose()) : g && d && i.clearValue();
								break;
							case " ":
								if (p) return;
								if (!_) {
									i.openMenu("first");
									break
								}
								if (!E) return;
								i.selectOption(E);
								break;
							case "ArrowUp":
								_ ? i.focusOption("up") : i.openMenu("last");
								break;
							case "ArrowDown":
								_ ? i.focusOption("down") : i.openMenu("first");
								break;
							case "PageUp":
								if (!_) return;
								i.focusOption("pageup");
								break;
							case "PageDown":
								if (!_) return;
								i.focusOption("pagedown");
								break;
							case "Home":
								if (!_) return;
								i.focusOption("first");
								break;
							case "End":
								if (!_) return;
								i.focusOption("last");
								break;
							default:
								return
						}
						s.preventDefault()
					}
				}, i.instancePrefix = "react-select-" + (i.props.instanceId || ++PVe), i.state.selectValue = n_(r.value), r.menuIsOpen && i.state.selectValue.length) {
				var o = i.buildFocusableOptions(),
					a = o.indexOf(i.state.selectValue[0]);
				i.state.focusedOption = o[a]
			}
			return i
		}
		return eu(n, [{
			key: "componentDidMount",
			value: function() {
				this.startListeningComposition(), this.startListeningToTouch(), this.props.closeMenuOnScroll && document && document.addEventListener && document.addEventListener("scroll", this.onScroll, !0), this.props.autoFocus && this.focusInput(), this.props.menuIsOpen && this.state.focusedOption && this.menuListRef && this.focusedOptionRef && WD(this.menuListRef, this.focusedOptionRef)
			}
		}, {
			key: "componentDidUpdate",
			value: function(i) {
				var o = this.props,
					a = o.isDisabled,
					s = o.menuIsOpen,
					u = this.state.isFocused;
				(u && !a && i.isDisabled || u && s && !i.menuIsOpen) && this.focusInput(), u && a && !i.isDisabled ? this.setState({
					isFocused: !1
				}, this.onMenuClose) : !u && !a && i.isDisabled && this.inputRef === document.activeElement && this.setState({
					isFocused: !0
				}), this.menuListRef && this.focusedOptionRef && this.scrollToFocusedOptionOnUpdate && (WD(this.menuListRef, this.focusedOptionRef), this.scrollToFocusedOptionOnUpdate = !1)
			}
		}, {
			key: "componentWillUnmount",
			value: function() {
				this.stopListeningComposition(), this.stopListeningToTouch(), document.removeEventListener("scroll", this.onScroll, !0)
			}
		}, {
			key: "onMenuOpen",
			value: function() {
				this.props.onMenuOpen()
			}
		}, {
			key: "onMenuClose",
			value: function() {
				this.onInputChange("", {
					action: "menu-close",
					prevInputValue: this.props.inputValue
				}), this.props.onMenuClose()
			}
		}, {
			key: "onInputChange",
			value: function(i, o) {
				this.props.onInputChange(i, o)
			}
		}, {
			key: "focusInput",
			value: function() {
				this.inputRef && this.inputRef.focus()
			}
		}, {
			key: "blurInput",
			value: function() {
				this.inputRef && this.inputRef.blur()
			}
		}, {
			key: "openMenu",
			value: function(i) {
				var o = this,
					a = this.state,
					s = a.selectValue,
					u = a.isFocused,
					l = this.buildFocusableOptions(),
					c = i === "first" ? 0 : l.length - 1;
				if (!this.props.isMulti) {
					var d = l.indexOf(s[0]);
					d > -1 && (c = d)
				}
				this.scrollToFocusedOptionOnUpdate = !(u && this.menuListRef), this.setState({
					inputIsHiddenAfterUpdate: !1,
					focusedValue: null,
					focusedOption: l[c]
				}, function() {
					return o.onMenuOpen()
				})
			}
		}, {
			key: "focusValue",
			value: function(i) {
				var o = this.state,
					a = o.selectValue,
					s = o.focusedValue;
				if (this.props.isMulti) {
					this.setState({
						focusedOption: null
					});
					var u = a.indexOf(s);
					s || (u = -1);
					var l = a.length - 1,
						c = -1;
					if (a.length) {
						switch (i) {
							case "previous":
								u === 0 ? c = 0 : u === -1 ? c = l : c = u - 1;
								break;
							case "next":
								u > -1 && u < l && (c = u + 1);
								break
						}
						this.setState({
							inputIsHidden: c !== -1,
							focusedValue: a[c]
						})
					}
				}
			}
		}, {
			key: "focusOption",
			value: function() {
				var i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "first",
					o = this.props.pageSize,
					a = this.state.focusedOption,
					s = this.getFocusableOptions();
				if (s.length) {
					var u = 0,
						l = s.indexOf(a);
					a || (l = -1), i === "up" ? u = l > 0 ? l - 1 : s.length - 1 : i === "down" ? u = (l + 1) % s.length : i === "pageup" ? (u = l - o, u < 0 && (u = 0)) : i === "pagedown" ? (u = l + o, u > s.length - 1 && (u = s.length - 1)) : i === "last" && (u = s.length - 1), this.scrollToFocusedOptionOnUpdate = !0, this.setState({
						focusedOption: s[u],
						focusedValue: null
					})
				}
			}
		}, {
			key: "getTheme",
			value: function() {
				return this.props.theme ? typeof this.props.theme == "function" ? this.props.theme(_v) : ce(ce({}, _v), this.props.theme) : _v
			}
		}, {
			key: "getCommonProps",
			value: function() {
				var i = this.clearValue,
					o = this.cx,
					a = this.getStyles,
					s = this.getClassNames,
					u = this.getValue,
					l = this.selectOption,
					c = this.setValue,
					d = this.props,
					p = d.isMulti,
					g = d.isRtl,
					m = d.options,
					_ = this.hasValue();
				return {
					clearValue: i,
					cx: o,
					getStyles: a,
					getClassNames: s,
					getValue: u,
					hasValue: _,
					isMulti: p,
					isRtl: g,
					options: m,
					selectOption: l,
					selectProps: d,
					setValue: c,
					theme: this.getTheme()
				}
			}
		}, {
			key: "hasValue",
			value: function() {
				var i = this.state.selectValue;
				return i.length > 0
			}
		}, {
			key: "hasOptions",
			value: function() {
				return !!this.getFocusableOptions().length
			}
		}, {
			key: "isClearable",
			value: function() {
				var i = this.props,
					o = i.isClearable,
					a = i.isMulti;
				return o === void 0 ? a : o
			}
		}, {
			key: "isOptionDisabled",
			value: function(i, o) {
				return Xq(this.props, i, o)
			}
		}, {
			key: "isOptionSelected",
			value: function(i, o) {
				return Jq(this.props, i, o)
			}
		}, {
			key: "filterOption",
			value: function(i, o) {
				return Qq(this.props, i, o)
			}
		}, {
			key: "formatOptionLabel",
			value: function(i, o) {
				if (typeof this.props.formatOptionLabel == "function") {
					var a = this.props.inputValue,
						s = this.state.selectValue;
					return this.props.formatOptionLabel(i, {
						context: o,
						inputValue: a,
						selectValue: s
					})
				} else return this.getOptionLabel(i)
			}
		}, {
			key: "formatGroupLabel",
			value: function(i) {
				return this.props.formatGroupLabel(i)
			}
		}, {
			key: "startListeningComposition",
			value: function() {
				document && document.addEventListener && (document.addEventListener("compositionstart", this.onCompositionStart, !1), document.addEventListener("compositionend", this.onCompositionEnd, !1))
			}
		}, {
			key: "stopListeningComposition",
			value: function() {
				document && document.removeEventListener && (document.removeEventListener("compositionstart", this.onCompositionStart), document.removeEventListener("compositionend", this.onCompositionEnd))
			}
		}, {
			key: "startListeningToTouch",
			value: function() {
				document && document.addEventListener && (document.addEventListener("touchstart", this.onTouchStart, !1), document.addEventListener("touchmove", this.onTouchMove, !1), document.addEventListener("touchend", this.onTouchEnd, !1))
			}
		}, {
			key: "stopListeningToTouch",
			value: function() {
				document && document.removeEventListener && (document.removeEventListener("touchstart", this.onTouchStart), document.removeEventListener("touchmove", this.onTouchMove), document.removeEventListener("touchend", this.onTouchEnd))
			}
		}, {
			key: "renderInput",
			value: function() {
				var i = this.props,
					o = i.isDisabled,
					a = i.isSearchable,
					s = i.inputId,
					u = i.inputValue,
					l = i.tabIndex,
					c = i.form,
					d = i.menuIsOpen,
					p = i.required,
					g = this.getComponents(),
					m = g.Input,
					_ = this.state,
					S = _.inputIsHidden,
					y = _.ariaSelection,
					w = this.commonProps,
					b = s || this.getElementId("input"),
					E = ce(ce(ce({
						"aria-autocomplete": "list",
						"aria-expanded": d,
						"aria-haspopup": !0,
						"aria-errormessage": this.props["aria-errormessage"],
						"aria-invalid": this.props["aria-invalid"],
						"aria-label": this.props["aria-label"],
						"aria-labelledby": this.props["aria-labelledby"],
						"aria-required": p,
						role: "combobox"
					}, d && {
						"aria-controls": this.getElementId("listbox"),
						"aria-owns": this.getElementId("listbox")
					}), !a && {
						"aria-readonly": !0
					}), this.hasValue() ? (y == null ? void 0 : y.action) === "initial-input-focus" && {
						"aria-describedby": this.getElementId("live-region")
					} : {
						"aria-describedby": this.getElementId("placeholder")
					});
				return a ? h.createElement(m, ge({}, w, {
					autoCapitalize: "none",
					autoComplete: "off",
					autoCorrect: "off",
					id: b,
					innerRef: this.getInputRef,
					isDisabled: o,
					isHidden: S,
					onBlur: this.onInputBlur,
					onChange: this.handleInputChange,
					onFocus: this.onInputFocus,
					spellCheck: "false",
					tabIndex: l,
					form: c,
					type: "text",
					value: u
				}, E)) : h.createElement(fVe, ge({
					id: b,
					innerRef: this.getInputRef,
					onBlur: this.onInputBlur,
					onChange: t_,
					onFocus: this.onInputFocus,
					disabled: o,
					tabIndex: l,
					inputMode: "none",
					form: c,
					value: ""
				}, E))
			}
		}, {
			key: "renderPlaceholderOrValue",
			value: function() {
				var i = this,
					o = this.getComponents(),
					a = o.MultiValue,
					s = o.MultiValueContainer,
					u = o.MultiValueLabel,
					l = o.MultiValueRemove,
					c = o.SingleValue,
					d = o.Placeholder,
					p = this.commonProps,
					g = this.props,
					m = g.controlShouldRenderValue,
					_ = g.isDisabled,
					S = g.isMulti,
					y = g.inputValue,
					w = g.placeholder,
					b = this.state,
					E = b.selectValue,
					T = b.focusedValue,
					O = b.isFocused;
				if (!this.hasValue() || !m) return y ? null : h.createElement(d, ge({}, p, {
					key: "placeholder",
					isDisabled: _,
					isFocused: O,
					innerProps: {
						id: this.getElementId("placeholder")
					}
				}), w);
				if (S) return E.map(function(k, M) {
					var D = k === T,
						P = "".concat(i.getOptionLabel(k), "-").concat(i.getOptionValue(k));
					return h.createElement(a, ge({}, p, {
						components: {
							Container: s,
							Label: u,
							Remove: l
						},
						isFocused: D,
						isDisabled: _,
						key: P,
						index: M,
						removeProps: {
							onClick: function() {
								return i.removeValue(k)
							},
							onTouchEnd: function() {
								return i.removeValue(k)
							},
							onMouseDown: function(H) {
								H.preventDefault()
							}
						},
						data: k
					}), i.formatOptionLabel(k, "value"))
				});
				if (y) return null;
				var R = E[0];
				return h.createElement(c, ge({}, p, {
					data: R,
					isDisabled: _
				}), this.formatOptionLabel(R, "value"))
			}
		}, {
			key: "renderClearIndicator",
			value: function() {
				var i = this.getComponents(),
					o = i.ClearIndicator,
					a = this.commonProps,
					s = this.props,
					u = s.isDisabled,
					l = s.isLoading,
					c = this.state.isFocused;
				if (!this.isClearable() || !o || u || !this.hasValue() || l) return null;
				var d = {
					onMouseDown: this.onClearIndicatorMouseDown,
					onTouchEnd: this.onClearIndicatorTouchEnd,
					"aria-hidden": "true"
				};
				return h.createElement(o, ge({}, a, {
					innerProps: d,
					isFocused: c
				}))
			}
		}, {
			key: "renderLoadingIndicator",
			value: function() {
				var i = this.getComponents(),
					o = i.LoadingIndicator,
					a = this.commonProps,
					s = this.props,
					u = s.isDisabled,
					l = s.isLoading,
					c = this.state.isFocused;
				if (!o || !l) return null;
				var d = {
					"aria-hidden": "true"
				};
				return h.createElement(o, ge({}, a, {
					innerProps: d,
					isDisabled: u,
					isFocused: c
				}))
			}
		}, {
			key: "renderIndicatorSeparator",
			value: function() {
				var i = this.getComponents(),
					o = i.DropdownIndicator,
					a = i.IndicatorSeparator;
				if (!o || !a) return null;
				var s = this.commonProps,
					u = this.props.isDisabled,
					l = this.state.isFocused;
				return h.createElement(a, ge({}, s, {
					isDisabled: u,
					isFocused: l
				}))
			}
		}, {
			key: "renderDropdownIndicator",
			value: function() {
				var i = this.getComponents(),
					o = i.DropdownIndicator;
				if (!o) return null;
				var a = this.commonProps,
					s = this.props.isDisabled,
					u = this.state.isFocused,
					l = {
						onMouseDown: this.onDropdownIndicatorMouseDown,
						onTouchEnd: this.onDropdownIndicatorTouchEnd,
						"aria-hidden": "true"
					};
				return h.createElement(o, ge({}, a, {
					innerProps: l,
					isDisabled: s,
					isFocused: u
				}))
			}
		}, {
			key: "renderMenu",
			value: function() {
				var i = this,
					o = this.getComponents(),
					a = o.Group,
					s = o.GroupHeading,
					u = o.Menu,
					l = o.MenuList,
					c = o.MenuPortal,
					d = o.LoadingMessage,
					p = o.NoOptionsMessage,
					g = o.Option,
					m = this.commonProps,
					_ = this.state.focusedOption,
					S = this.props,
					y = S.captureMenuScroll,
					w = S.inputValue,
					b = S.isLoading,
					E = S.loadingMessage,
					T = S.minMenuHeight,
					O = S.maxMenuHeight,
					R = S.menuIsOpen,
					k = S.menuPlacement,
					M = S.menuPosition,
					D = S.menuPortalTarget,
					P = S.menuShouldBlockScroll,
					U = S.menuShouldScrollIntoView,
					H = S.noOptionsMessage,
					G = S.onMenuScrollToTop,
					K = S.onMenuScrollToBottom;
				if (!R) return null;
				var ee = function(z, Q) {
						var ie = z.type,
							le = z.data,
							pe = z.isDisabled,
							Ee = z.isSelected,
							be = z.label,
							st = z.value,
							_t = _ === le,
							Ve = pe ? void 0 : function() {
								return i.onOptionHover(le)
							},
							Mt = pe ? void 0 : function() {
								return i.selectOption(le)
							},
							gt = "".concat(i.getElementId("option"), "-").concat(Q),
							mt = {
								id: gt,
								onClick: Mt,
								onMouseMove: Ve,
								onMouseOver: Ve,
								tabIndex: -1
							};
						return h.createElement(g, ge({}, m, {
							innerProps: mt,
							data: le,
							isDisabled: pe,
							isSelected: Ee,
							key: gt,
							label: be,
							type: ie,
							value: st,
							isFocused: _t,
							innerRef: _t ? i.getFocusedOptionRef : void 0
						}), i.formatOptionLabel(z.data, "menu"))
					},
					te;
				if (this.hasOptions()) te = this.getCategorizedOptions().map(function(Z) {
					if (Z.type === "group") {
						var z = Z.data,
							Q = Z.options,
							ie = Z.index,
							le = "".concat(i.getElementId("group"), "-").concat(ie),
							pe = "".concat(le, "-heading");
						return h.createElement(a, ge({}, m, {
							key: le,
							data: z,
							options: Q,
							Heading: s,
							headingProps: {
								id: pe,
								data: Z.data
							},
							label: i.formatGroupLabel(Z.data)
						}), Z.options.map(function(Ee) {
							return ee(Ee, "".concat(ie, "-").concat(Ee.index))
						}))
					} else if (Z.type === "option") return ee(Z, "".concat(Z.index))
				});
				else if (b) {
					var q = E({
						inputValue: w
					});
					if (q === null) return null;
					te = h.createElement(d, m, q)
				} else {
					var F = H({
						inputValue: w
					});
					if (F === null) return null;
					te = h.createElement(p, m, F)
				}
				var j = {
						minMenuHeight: T,
						maxMenuHeight: O,
						menuPlacement: k,
						menuPosition: M,
						menuShouldScrollIntoView: U
					},
					B = h.createElement(zUe, ge({}, m, j), function(Z) {
						var z = Z.ref,
							Q = Z.placerProps,
							ie = Q.placement,
							le = Q.maxHeight;
						return h.createElement(u, ge({}, m, j, {
							innerRef: z,
							innerProps: {
								onMouseDown: i.onMenuMouseDown,
								onMouseMove: i.onMenuMouseMove,
								id: i.getElementId("listbox")
							},
							isLoading: b,
							placement: ie
						}), h.createElement(mVe, {
							captureEnabled: y,
							onTopArrive: G,
							onBottomArrive: K,
							lockEnabled: P
						}, function(pe) {
							return h.createElement(l, ge({}, m, {
								innerRef: function(be) {
									i.getMenuListRef(be), pe(be)
								},
								isLoading: b,
								maxHeight: le,
								focusedOption: _
							}), te)
						}))
					});
				return D || M === "fixed" ? h.createElement(c, ge({}, m, {
					appendTo: D,
					controlElement: this.controlRef,
					menuPlacement: k,
					menuPosition: M
				}), B) : B
			}
		}, {
			key: "renderFormField",
			value: function() {
				var i = this,
					o = this.props,
					a = o.delimiter,
					s = o.isDisabled,
					u = o.isMulti,
					l = o.name,
					c = o.required,
					d = this.state.selectValue;
				if (c && !this.hasValue() && !s) return h.createElement(_Ve, {
					name: l,
					onFocus: this.onValueInputFocus
				});
				if (!(!l || s))
					if (u)
						if (a) {
							var p = d.map(function(_) {
								return i.getOptionValue(_)
							}).join(a);
							return h.createElement("input", {
								name: l,
								type: "hidden",
								value: p
							})
						} else {
							var g = d.length > 0 ? d.map(function(_, S) {
								return h.createElement("input", {
									key: "i-".concat(S),
									name: l,
									type: "hidden",
									value: i.getOptionValue(_)
								})
							}) : h.createElement("input", {
								name: l,
								type: "hidden",
								value: ""
							});
							return h.createElement("div", null, g)
						}
				else {
					var m = d[0] ? this.getOptionValue(d[0]) : "";
					return h.createElement("input", {
						name: l,
						type: "hidden",
						value: m
					})
				}
			}
		}, {
			key: "renderLiveRegion",
			value: function() {
				var i = this.commonProps,
					o = this.state,
					a = o.ariaSelection,
					s = o.focusedOption,
					u = o.focusedValue,
					l = o.isFocused,
					c = o.selectValue,
					d = this.getFocusableOptions();
				return h.createElement(oVe, ge({}, i, {
					id: this.getElementId("live-region"),
					ariaSelection: a,
					focusedOption: s,
					focusedValue: u,
					isFocused: l,
					selectValue: c,
					focusableOptions: d
				}))
			}
		}, {
			key: "render",
			value: function() {
				var i = this.getComponents(),
					o = i.Control,
					a = i.IndicatorsContainer,
					s = i.SelectContainer,
					u = i.ValueContainer,
					l = this.props,
					c = l.className,
					d = l.id,
					p = l.isDisabled,
					g = l.menuIsOpen,
					m = this.state.isFocused,
					_ = this.commonProps = this.getCommonProps();
				return h.createElement(s, ge({}, _, {
					className: c,
					innerProps: {
						id: d,
						onKeyDown: this.onKeyDown
					},
					isDisabled: p,
					isFocused: m
				}), this.renderLiveRegion(), h.createElement(o, ge({}, _, {
					innerRef: this.getControlRef,
					innerProps: {
						onMouseDown: this.onControlMouseDown,
						onTouchEnd: this.onControlTouchEnd
					},
					isDisabled: p,
					isFocused: m,
					menuIsOpen: g
				}), h.createElement(u, ge({}, _, {
					isDisabled: p
				}), this.renderPlaceholderOrValue(), this.renderInput()), h.createElement(a, ge({}, _, {
					isDisabled: p
				}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField())
			}
		}], [{
			key: "getDerivedStateFromProps",
			value: function(i, o) {
				var a = o.prevProps,
					s = o.clearFocusValueOnUpdate,
					u = o.inputIsHiddenAfterUpdate,
					l = o.ariaSelection,
					c = o.isFocused,
					d = o.prevWasFocused,
					p = i.options,
					g = i.value,
					m = i.menuIsOpen,
					_ = i.inputValue,
					S = i.isMulti,
					y = n_(g),
					w = {};
				if (a && (g !== a.value || p !== a.options || m !== a.menuIsOpen || _ !== a.inputValue)) {
					var b = m ? kVe(i, y) : [],
						E = s ? AVe(o, y) : null,
						T = MVe(o, b);
					w = {
						selectValue: y,
						focusedOption: T,
						focusedValue: E,
						clearFocusValueOnUpdate: !1
					}
				}
				var O = u != null && i !== a ? {
						inputIsHidden: u,
						inputIsHiddenAfterUpdate: void 0
					} : {},
					R = l,
					k = c && d;
				return c && !k && (R = {
					value: q0(S, y, y[0] || null),
					options: y,
					action: "initial-input-focus"
				}, k = !d), (l == null ? void 0 : l.action) === "initial-input-focus" && (R = null), ce(ce(ce({}, w), O), {}, {
					prevProps: i,
					ariaSelection: R,
					prevWasFocused: k
				})
			}
		}]), n
	}(h.Component);
jT.defaultProps = IVe;
var LVe = h.forwardRef(function(e, t) {
		var n = xq(e);
		return h.createElement(jT, ge({
			ref: t
		}, n))
	}),
	NVe = LVe;
const tY = {
		borderRadius: 8,
		colors: {
			..._v.colors,
			primary: "var(--primary)",
			primary75: "var(--primary-600)",
			primary50: "var(--medium-wash)",
			primary25: "var(--medium-wash)",
			neutral5: "var(--gray-50)",
			neutral10: "var(--gray-100)",
			neutral20: "var(--gray-200)",
			neutral30: "var(--gray-300)",
			neutral40: "var(--gray-400)",
			neutral50: "var(--gray-500)",
			neutral60: "var(--gray-600)",
			neutral70: "var(--gray-700)",
			neutral80: "var(--gray-800)",
			neutral90: "var(--gray-900)"
		},
		spacing: _v.spacing
	},
	DVe = e => {
		const {
			styles: t,
			height: n = 36,
			className: r,
			components: i,
			...o
		} = e, a = h.useMemo(() => {
			const u = n - 2,
				l = {
					control: (c, d) => ({
						...c,
						height: "".concat(n, "px"),
						minHeight: "".concat(n, "px"),
						paddingLeft: "12px",
						paddingRight: "4px",
						backgroundColor: d.isDisabled ? "var(--disabled-input)" : "transparent",
						boxShadow: d.isFocused ? "var(--input-focus-ring)" : "none",
						borderColor: "var(--gray-200)",
						color: d.isDisabled ? "var(--text-disabled)" : "var(--text-default)"
					}),
					valueContainer: c => ({
						...c,
						height: "".concat(u, "px"),
						minHeight: "".concat(u, "px"),
						fontSize: "14px",
						lineHeight: "18px",
						paddingLeft: "0px"
					}),
					indicatorsContainer: c => ({
						...c,
						height: "".concat(u, "px")
					}),
					clearIndicator: (c, d) => ({
						...c,
						color: d.isFocused ? "var(--gray-600)" : "var(--gray-400)"
					}),
					dropdownIndicator: (c, d) => ({
						...c,
						":not(:first-of-type)": {
							paddingLeft: "0px"
						},
						padding: "7px",
						color: d.isFocused ? "var(--gray-600)" : "var(--gray-400)"
					}),
					option: (c, {
						isFocused: d,
						isSelected: p
					}) => ({
						...c,
						fontSize: "14px",
						lineHeight: "20px",
						padding: "5px 12px",
						borderRadius: 6,
						backgroundColor: p ? "var(--pill-success-bg)" : d ? "var(--gray-50)" : "var(--elevated)",
						color: p ? "var(--pill-success-text)" : "var(--text-default)",
						":active": {
							...c[":active"],
							backgroundColor: p ? "var(--pill-success-bg)" : d ? "var(--gray-50)" : "var(--elevated)"
						}
					}),
					menu: c => ({
						...c,
						backgroundColor: "var(--elevated)",
						border: "1px solid var(--gray-100)",
						boxShadow: "var(--shadow)"
					}),
					menuList: c => ({
						...c,
						padding: 2
					}),
					menuPortal: c => ({
						...c,
						zIndex: 9999
					})
				};
			return t ? $Ve(l, t) : l
		}, [n, t]), s = h.useMemo(() => ({
			...i,
			IndicatorSeparator: () => null,
			ClearIndicator: u => C.jsx(u1.ClearIndicator, {
				...u,
				className: Pe("select-clear-indicator", u.className),
				children: C.jsx(ZC, {
					size: "20px"
				})
			}),
			DropdownIndicator: u => C.jsx(u1.DropdownIndicator, {
				...u,
				className: Pe("select-dropdown-indicator", u.className),
				children: C.jsx(xAe, {})
			})
		}), [i]);
		return C.jsx(NVe, {
			className: Pe("select-base", r),
			theme: tY,
			styles: a,
			components: s,
			...o
		})
	};

function $Ve(e, t) {
	const n = {
		...e
	};
	return Object.keys(t).forEach(r => {
		const i = r;
		n[i] ? n[i] = function(o, a) {
			const s = e[i].apply(null, [o, a]),
				u = t[i].apply(null, [s, a]);
			return rUe(s, u)
		} : n[i] = t[i]
	}), n
}
const nY = J.memo(DVe);

function UT(e) {
	return function(...n) {
		const r = n.pop(),
			{
				deps: i = [],
				skip: o = !1
			} = r || {},
			[a, s] = h.useState(null),
			[u, l] = h.useState(!0),
			[c, d] = h.useState(null),
			[p, g] = h.useState(0);
		i.unshift(p);
		const m = h.useCallback(() => {
			g(p + 1)
		}, [p]);
		return h.useEffect(() => {
			if (o) {
				l(!1);
				return
			}
			l(!0);
			let _ = !1;
			return e(...n).then(S => {
				_ || (s(S), l(!1))
			}).catch(S => {
				_ || (d(S), l(!1))
			}), () => {
				_ = !0
			}
		}, [...i, o]), {
			data: a,
			loading: u,
			error: c,
			refresh: m
		}
	}
}
const FVe = {
		features: void 0,
		optionalFlags: [],
		getFlag: () => !1,
		getGroup: () => !1,
		updateFlag: () => {},
		loading: !0,
		showFlagModal: !1,
		openFlagModal: () => {},
		closeFlagModal: () => {}
	},
	rY = J.createContext(FVe),
	Ul = () => h.useContext(rY),
	jVe = UT(e => Nn.getFeatures(e)),
	UVe = UT(e => Nn.getFeatureFlags(e)),
	HVe = J.memo(({
		children: e
	}) => {
		const {
			activeOrgId: t,
			activeOrg: n
		} = Ro(), [r, i] = h.useState({}), [o, a] = h.useState(!1), {
			data: s,
			loading: u
		} = jVe(t, {
			deps: [t],
			skip: !t
		}), {
			data: l,
			loading: c
		} = UVe(t, {
			deps: [t],
			skip: !t
		}), d = h.useMemo(() => l ? Object.keys(l).filter(_ => l[_].optional) : [], [l]), p = h.useMemo(() => {
			const _ = [];
			return d.forEach(S => {
				_.push({
					key: S,
					displayName: l == null ? void 0 : l[S].display_name,
					description: l == null ? void 0 : l[S].description
				})
			}), _
		}, [d, l]);
		h.useEffect(() => {
			if (!l) return;
			const _ = {},
				S = Object.keys(l).reduce((y, w) => {
					var T, O, R;
					const b = l[w];
					if (!b.enabled) return y[w] = !1, y;
					if (!b.optional) return y[w] = !0, y;
					const E = Fn.getItem(tr.FeatureFlagConfig, "oai/".concat(w, "/flag-config"));
					return !E || E.version !== b.version ? (E && Fn.removeItem(tr.FeatureFlagConfig, "oai/".concat(w, "/flag-config")), y[w] = (T = b.default_value) != null ? T : !0, y) : (y[w] = (R = (O = E.value) != null ? O : b.default_value) != null ? R : !0, y)
				}, _);
			i(S)
		}, [l]);
		const g = h.useCallback((_, S) => {
			if (!d.includes(_)) throw new Error("Flag ".concat(_, " is not configurable"));
			Fn.setItem(tr.FeatureFlagConfig, "oai/".concat(_, "/flag-config"), {
				value: S,
				version: l == null ? void 0 : l[_].version
			}), i(y => ({
				...y,
				[_]: S
			}))
		}, [d, l]);
		h.useEffect(() => {
			d.length === 0 && a(!1)
		}, [d]);
		const m = h.useMemo(() => ({
			features: s || {},
			optionalFlags: p,
			getFlag: _ => {
				var S;
				return (S = r[_]) != null ? S : !1
			},
			getGroup: _ => ((n == null ? void 0 : n.groups) || []).includes(_),
			updateFlag: g,
			loading: u || c,
			showFlagModal: o,
			openFlagModal: () => {
				p.length !== 0 && a(!0)
			},
			closeFlagModal: () => a(!1)
		}), [s, u, c, r, g, p, o, n]);
		return C.jsx(rY.Provider, {
			value: m,
			children: e
		})
	});

function VVe() {
	const {
		activeOrgId: e
	} = Ro(), [t, n] = h.useState(null), {
		isLoading: r,
		data: i
	} = S7({
		queryKey: ["subscription", e],
		queryFn: () => Nn.getSubscription(e).then(o => (n(null), o)).catch(o => (console.error(o), Ui.danger("Failed to load subscription for selected organization"), null)),
		enabled: !!e
	});
	return {
		subscription: i != null ? i : t,
		isSubscriptionLoading: r,
		setSubscription: n
	}
}

function BVe() {
	const {
		getFlag: e
	} = Ul();
	return e("has_evals_access")
}

function aut() {
	const {
		getFlag: e
	} = Ul();
	return e("sdk_required")
}

function zVe() {
	const {
		getFlag: e
	} = Ul();
	return e("has_geography_access")
}

function iY(e = !1) {
	const {
		activeOrg: t
	} = Ro();
	return (t == null ? void 0 : t.role) === "owner" || e
}

function GVe() {
	var r;
	const {
		user: e
	} = ft(), {
		activeOrg: t
	} = Ro(), n = ((t == null ? void 0 : t.groups) || []).includes("scale-tier-enabled");
	return (r = ((t == null ? void 0 : t.role) === "owner" || (e == null ? void 0 : e.is_authorized_scale_tier_purchaser)) && n) != null ? r : !1
}

function sut() {
	var r;
	const {
		user: e
	} = ft(), {
		activeOrg: t
	} = Ro();
	return (r = ((t == null ? void 0 : t.groups) || []).includes("scale-tier-enabled") && (e == null ? void 0 : e.is_authorized_scale_tier_purchaser)) != null ? r : !1
}

function WVe() {
	const {
		getGroup: e
	} = Ul();
	return e("custom-voice-access")
}

function KVe() {
	var a;
	const {
		getFlag: e
	} = Ul(), {
		activeOrg: t
	} = Ro(), {
		subscription: n
	} = VVe(), r = e("sso_self_service"), i = (t == null ? void 0 : t.role) === "owner", o = ["unlimited", "custom"].includes((a = n == null ? void 0 : n.plan.id) != null ? a : "");
	return r && i && o
}

function uut() {
	const {
		getFlag: e
	} = Ul();
	return e("tool3_enabled")
}

function ZVe() {
	const {
		activeOrg: e
	} = Ro();
	return (e == null ? void 0 : e.role) === "owner"
}

function s$({
	children: e,
	inline: t,
	label: n,
	optional: r,
	description: i,
	htmlFor: o
}) {
	return C.jsxs("label", {
		htmlFor: o,
		className: Pe("form-label mb-2", t && "form-label-inline"),
		children: [C.jsxs("div", {
			className: "body-small flex items-center",
			children: [C.jsx("div", {
				className: "mr-2",
				style: {
					fontWeight: 500
				},
				children: e || n
			}), r && C.jsx("div", {
				style: {
					color: "var(--text-secondary)"
				},
				children: "Optional"
			})]
		}), i && C.jsx("div", {
			className: "caption mt-1",
			children: i
		})]
	})
}
var u$;
(function(e) {
	e.Small = "small", e.Medium = "medium", e.Large = "large"
})(u$ || (u$ = {}));
const qVe = {
		small: "text-input-sm",
		medium: "text-input-md",
		large: "text-input-lg"
	},
	oY = J.memo(J.forwardRef(function(t, n) {
		const {
			size: r = "medium",
			fullWidth: i,
			className: o,
			textarea: a,
			error: s,
			description: u,
			value: l,
			leftAdornment: c,
			...d
		} = t, p = Pe("text-input", qVe[r], i && "text-input-full", s && "text-input-error", o), g = a ? "textarea" : "input", m = {
			className: p,
			ref: n
		};
		a || (m.type = "text"), l !== void 0 && (m.value = l || "");
		const _ = C.jsx(g, {
			"aria-label": u,
			...m,
			...d
		});
		return c ? C.jsxs("div", {
			className: "text-input-adorned",
			children: [C.jsx("div", {
				className: "text-input-left-adornment text-input-adornment",
				children: c
			}), _]
		}) : _
	}));
var Kc;
(function(e) {
	e.small = "small", e.medium = "medium", e.large = "large", e.full = "full", e.auto = "auto"
})(Kc || (Kc = {}));
var XC;
(function(e) {
	e.dialog = "dialog", e.alertdialog = "alertdialog"
})(XC || (XC = {}));
var bv;
(function(e) {
	e.closeButton = "closeButton", e.backdrop = "backdrop", e.escape = "escape"
})(bv || (bv = {}));
var JC = "data-focus-lock",
	aY = "data-focus-lock-disabled",
	YVe = "data-no-focus-lock",
	XVe = "data-autofocus-inside",
	JVe = "data-no-autofocus";

function $x(e, t) {
	return typeof e == "function" ? e(t) : e && (e.current = t), e
}

function QVe(e, t) {
	var n = h.useState(function() {
		return {
			value: e,
			callback: t,
			facade: {
				get current() {
					return n.value
				},
				set current(r) {
					var i = n.value;
					i !== r && (n.value = r, n.callback(r, i))
				}
			}
		}
	})[0];
	return n.callback = t, n.facade
}
var eBe = typeof window < "u" ? h.useLayoutEffect : h.useEffect,
	l$ = new WeakMap;

function tBe(e, t) {
	var n = QVe(null, function(r) {
		return e.forEach(function(i) {
			return $x(i, r)
		})
	});
	return eBe(function() {
		var r = l$.get(n);
		if (r) {
			var i = new Set(r),
				o = new Set(e),
				a = n.current;
			i.forEach(function(s) {
				o.has(s) || $x(s, null)
			}), o.forEach(function(s) {
				i.has(s) || $x(s, a)
			})
		}
		l$.set(n, e)
	}, [e]), n
}
var Fx = {
	width: "1px",
	height: "0px",
	padding: 0,
	overflow: "hidden",
	position: "fixed",
	top: "1px",
	left: "1px"
};

function sY(e) {
	return e
}

function uY(e, t) {
	t === void 0 && (t = sY);
	var n = [],
		r = !1,
		i = {
			read: function() {
				if (r) throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
				return n.length ? n[n.length - 1] : e
			},
			useMedium: function(o) {
				var a = t(o, r);
				return n.push(a),
					function() {
						n = n.filter(function(s) {
							return s !== a
						})
					}
			},
			assignSyncMedium: function(o) {
				for (r = !0; n.length;) {
					var a = n;
					n = [], a.forEach(o)
				}
				n = {
					push: function(s) {
						return o(s)
					},
					filter: function() {
						return n
					}
				}
			},
			assignMedium: function(o) {
				r = !0;
				var a = [];
				if (n.length) {
					var s = n;
					n = [], s.forEach(o), a = n
				}
				var u = function() {
						var c = a;
						a = [], c.forEach(o)
					},
					l = function() {
						return Promise.resolve().then(u)
					};
				l(), n = {
					push: function(c) {
						a.push(c), l()
					},
					filter: function(c) {
						return a = a.filter(c), n
					}
				}
			}
		};
	return i
}

function HT(e, t) {
	return t === void 0 && (t = sY), uY(e, t)
}

function nBe(e) {
	e === void 0 && (e = {});
	var t = uY(null);
	return t.options = ve({
		async: !0,
		ssr: !1
	}, e), t
}
var lY = HT({}, function(e) {
		var t = e.target,
			n = e.currentTarget;
		return {
			target: t,
			currentTarget: n
		}
	}),
	cY = HT(),
	rBe = HT(),
	iBe = nBe({
		async: !0,
		ssr: typeof document < "u"
	}),
	oBe = h.createContext(void 0),
	aBe = [],
	VT = h.forwardRef(function(t, n) {
		var r, i = h.useState(),
			o = i[0],
			a = i[1],
			s = h.useRef(),
			u = h.useRef(!1),
			l = h.useRef(null),
			c = h.useState({}),
			d = c[1],
			p = t.children,
			g = t.disabled,
			m = g === void 0 ? !1 : g,
			_ = t.noFocusGuards,
			S = _ === void 0 ? !1 : _,
			y = t.persistentFocus,
			w = y === void 0 ? !1 : y,
			b = t.crossFrame,
			E = b === void 0 ? !0 : b,
			T = t.autoFocus,
			O = T === void 0 ? !0 : T;
		t.allowTextSelection;
		var R = t.group,
			k = t.className,
			M = t.whiteList,
			D = t.hasPositiveIndices,
			P = t.shards,
			U = P === void 0 ? aBe : P,
			H = t.as,
			G = H === void 0 ? "div" : H,
			K = t.lockProps,
			ee = K === void 0 ? {} : K,
			te = t.sideCar,
			q = t.returnFocus,
			F = q === void 0 ? !1 : q,
			j = t.focusOptions,
			B = t.onActivation,
			Z = t.onDeactivation,
			z = h.useState({}),
			Q = z[0],
			ie = h.useCallback(function(Je) {
				var ze = Je.captureFocusRestore;
				if (!l.current) {
					var Ct, Zt = (Ct = document) == null ? void 0 : Ct.activeElement;
					l.current = Zt, Zt !== document.body && (l.current = ze(Zt))
				}
				s.current && B && B(s.current), u.current = !0, d()
			}, [B]),
			le = h.useCallback(function() {
				u.current = !1, Z && Z(s.current), d()
			}, [Z]),
			pe = h.useCallback(function(Je) {
				var ze = l.current;
				if (ze) {
					var Ct = (typeof ze == "function" ? ze() : ze) || document.body,
						Zt = typeof F == "function" ? F(Ct) : F;
					if (Zt) {
						var ei = typeof Zt == "object" ? Zt : void 0;
						l.current = null, Je ? Promise.resolve().then(function() {
							return Ct.focus(ei)
						}) : Ct.focus(ei)
					}
				}
			}, [F]),
			Ee = h.useCallback(function(Je) {
				u.current && lY.useMedium(Je)
			}, []),
			be = cY.useMedium,
			st = h.useCallback(function(Je) {
				s.current !== Je && (s.current = Je, a(Je))
			}, []),
			_t = ge((r = {}, r[aY] = m && "disabled", r[JC] = R, r), ee),
			Ve = S !== !0,
			Mt = Ve && S !== "tail",
			gt = tBe([n, st]),
			mt = h.useMemo(function() {
				return {
					observed: s,
					shards: U,
					enabled: !m,
					active: u.current
				}
			}, [m, u.current, U, o]);
		return h.createElement(h.Fragment, null, Ve && [h.createElement("div", {
			key: "guard-first",
			"data-focus-guard": !0,
			tabIndex: m ? -1 : 0,
			style: Fx
		}), D ? h.createElement("div", {
			key: "guard-nearest",
			"data-focus-guard": !0,
			tabIndex: m ? -1 : 1,
			style: Fx
		}) : null], !m && h.createElement(te, {
			id: Q,
			sideCar: iBe,
			observed: o,
			disabled: m,
			persistentFocus: w,
			crossFrame: E,
			autoFocus: O,
			whiteList: M,
			shards: U,
			onActivation: ie,
			onDeactivation: le,
			returnFocus: pe,
			focusOptions: j
		}), h.createElement(G, ge({
			ref: gt
		}, _t, {
			className: k,
			onBlur: be,
			onFocus: Ee
		}), h.createElement(oBe.Provider, {
			value: mt
		}, p)), Mt && h.createElement("div", {
			"data-focus-guard": !0,
			tabIndex: m ? -1 : 0,
			style: Fx
		}))
	});
VT.propTypes = {};

function sBe(e, t) {
	function n(r) {
		return r.displayName || r.name || "Component"
	}
	return function(i) {
		var o = [],
			a;

		function s() {
			a = e(o.map(function(l) {
				return l.props
			})), t(a)
		}
		var u = function(l) {
			ia(c, l);

			function c() {
				return l.apply(this, arguments) || this
			}
			c.peek = function() {
				return a
			};
			var d = c.prototype;
			return d.componentDidMount = function() {
				o.push(this), s()
			}, d.componentDidUpdate = function() {
				s()
			}, d.componentWillUnmount = function() {
				var g = o.indexOf(this);
				o.splice(g, 1), s()
			}, d.render = function() {
				return J.createElement(i, this.props)
			}, c
		}(h.PureComponent);
		return De(u, "displayName", "SideEffect(" + n(i) + ")"), u
	}
}
var ns = function(e) {
		for (var t = Array(e.length), n = 0; n < e.length; ++n) t[n] = e[n];
		return t
	},
	pf = function(e) {
		return Array.isArray(e) ? e : [e]
	},
	fY = function(e) {
		return Array.isArray(e) ? e[0] : e
	},
	uBe = function(e) {
		if (e.nodeType !== Node.ELEMENT_NODE) return !1;
		var t = window.getComputedStyle(e, null);
		return !t || !t.getPropertyValue ? !1 : t.getPropertyValue("display") === "none" || t.getPropertyValue("visibility") === "hidden"
	},
	dY = function(e) {
		return e.parentNode && e.parentNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? e.parentNode.host : e.parentNode
	},
	pY = function(e) {
		return e === document || e && e.nodeType === Node.DOCUMENT_NODE
	},
	lBe = function(e) {
		return e.hasAttribute("inert")
	},
	cBe = function(e, t) {
		return !e || pY(e) || !uBe(e) && !lBe(e) && t(dY(e))
	},
	hY = function(e, t) {
		var n = e.get(t);
		if (n !== void 0) return n;
		var r = cBe(t, hY.bind(void 0, e));
		return e.set(t, r), r
	},
	fBe = function(e, t) {
		return e && !pY(e) ? hBe(e) ? t(dY(e)) : !1 : !0
	},
	vY = function(e, t) {
		var n = e.get(t);
		if (n !== void 0) return n;
		var r = fBe(t, vY.bind(void 0, e));
		return e.set(t, r), r
	},
	gY = function(e) {
		return e.dataset
	},
	dBe = function(e) {
		return e.tagName === "BUTTON"
	},
	mY = function(e) {
		return e.tagName === "INPUT"
	},
	yY = function(e) {
		return mY(e) && e.type === "radio"
	},
	pBe = function(e) {
		return !((mY(e) || dBe(e)) && (e.type === "hidden" || e.disabled))
	},
	hBe = function(e) {
		var t = e.getAttribute(JVe);
		return ![!0, "true", ""].includes(t)
	},
	BT = function(e) {
		var t;
		return !!(e && (!((t = gY(e)) === null || t === void 0) && t.focusGuard))
	},
	QC = function(e) {
		return !BT(e)
	},
	vBe = function(e) {
		return !!e
	},
	gBe = function(e, t) {
		var n = Math.max(0, e.tabIndex),
			r = Math.max(0, t.tabIndex),
			i = n - r,
			o = e.index - t.index;
		if (i) {
			if (!n) return 1;
			if (!r) return -1
		}
		return i || o
	},
	mBe = function(e) {
		return e.tabIndex < 0 && !e.hasAttribute("tabindex") ? 0 : e.tabIndex
	},
	zT = function(e, t, n) {
		return ns(e).map(function(r, i) {
			var o = mBe(r);
			return {
				node: r,
				index: i,
				tabIndex: n && o === -1 ? (r.dataset || {}).focusGuard ? 0 : -1 : o
			}
		}).filter(function(r) {
			return !t || r.tabIndex >= 0
		}).sort(gBe)
	},
	yBe = ["button:enabled", "select:enabled", "textarea:enabled", "input:enabled", "a[href]", "area[href]", "summary", "iframe", "object", "embed", "audio[controls]", "video[controls]", "[tabindex]", "[contenteditable]", "[autofocus]"],
	GT = yBe.join(","),
	wBe = "".concat(GT, ", [data-focus-guard]"),
	wY = function(e, t) {
		return ns((e.shadowRoot || e).children).reduce(function(n, r) {
			return n.concat(r.matches(t ? wBe : GT) ? [r] : [], wY(r))
		}, [])
	},
	_Be = function(e, t) {
		var n;
		return e instanceof HTMLIFrameElement && (!((n = e.contentDocument) === null || n === void 0) && n.body) ? Jp([e.contentDocument.body], t) : [e]
	},
	Jp = function(e, t) {
		return e.reduce(function(n, r) {
			var i, o = wY(r, t),
				a = (i = []).concat.apply(i, o.map(function(s) {
					return _Be(s, t)
				}));
			return n.concat(a, r.parentNode ? ns(r.parentNode.querySelectorAll(GT)).filter(function(s) {
				return s === r
			}) : [])
		}, [])
	},
	bBe = function(e) {
		var t = e.querySelectorAll("[".concat(XVe, "]"));
		return ns(t).map(function(n) {
			return Jp([n])
		}).reduce(function(n, r) {
			return n.concat(r)
		}, [])
	},
	WT = function(e, t) {
		return ns(e).filter(function(n) {
			return hY(t, n)
		}).filter(function(n) {
			return pBe(n)
		})
	},
	c$ = function(e, t) {
		return t === void 0 && (t = new Map), ns(e).filter(function(n) {
			return vY(t, n)
		})
	},
	KT = function(e, t, n) {
		return zT(WT(Jp(e, n), t), !0, n)
	},
	o_ = function(e, t) {
		return zT(WT(Jp(e), t), !1)
	},
	SBe = function(e, t) {
		return WT(bBe(e), t)
	},
	Zc = function(e, t) {
		return e.shadowRoot ? Zc(e.shadowRoot, t) : Object.getPrototypeOf(e).contains !== void 0 && Object.getPrototypeOf(e).contains.call(e, t) ? !0 : ns(e.children).some(function(n) {
			var r;
			if (n instanceof HTMLIFrameElement) {
				var i = (r = n.contentDocument) === null || r === void 0 ? void 0 : r.body;
				return i ? Zc(i, t) : !1
			}
			return Zc(n, t)
		})
	},
	xBe = function(e) {
		for (var t = new Set, n = e.length, r = 0; r < n; r += 1)
			for (var i = r + 1; i < n; i += 1) {
				var o = e[r].compareDocumentPosition(e[i]);
				(o & Node.DOCUMENT_POSITION_CONTAINED_BY) > 0 && t.add(i), (o & Node.DOCUMENT_POSITION_CONTAINS) > 0 && t.add(r)
			}
		return e.filter(function(a, s) {
			return !t.has(s)
		})
	},
	_Y = function(e) {
		return e.parentNode ? _Y(e.parentNode) : e
	},
	ZT = function(e) {
		var t = pf(e);
		return t.filter(Boolean).reduce(function(n, r) {
			var i = r.getAttribute(JC);
			return n.push.apply(n, i ? xBe(ns(_Y(r).querySelectorAll("[".concat(JC, '="').concat(i, '"]:not([').concat(aY, '="disabled"])')))) : [r]), n
		}, [])
	},
	EBe = function(e) {
		try {
			return e()
		} catch (t) {
			return
		}
	},
	l1 = function(e) {
		if (e === void 0 && (e = document), !(!e || !e.activeElement)) {
			var t = e.activeElement;
			return t.shadowRoot ? l1(t.shadowRoot) : t instanceof HTMLIFrameElement && EBe(function() {
				return t.contentWindow.document
			}) ? l1(t.contentWindow.document) : t
		}
	},
	CBe = function(e, t) {
		return e === t
	},
	OBe = function(e, t) {
		return !!ns(e.querySelectorAll("iframe")).some(function(n) {
			return CBe(n, t)
		})
	},
	bY = function(e, t) {
		return t === void 0 && (t = l1(fY(e).ownerDocument)), !t || t.dataset && t.dataset.focusGuard ? !1 : ZT(e).some(function(n) {
			return Zc(n, t) || OBe(n, t)
		})
	},
	TBe = function(e) {
		e === void 0 && (e = document);
		var t = l1(e);
		return t ? ns(e.querySelectorAll("[".concat(YVe, "]"))).some(function(n) {
			return Zc(n, t)
		}) : !1
	},
	RBe = function(e, t) {
		return t.filter(yY).filter(function(n) {
			return n.name === e.name
		}).filter(function(n) {
			return n.checked
		})[0] || e
	},
	qT = function(e, t) {
		return yY(e) && e.name ? RBe(e, t) : e
	},
	IBe = function(e) {
		var t = new Set;
		return e.forEach(function(n) {
			return t.add(qT(n, e))
		}), e.filter(function(n) {
			return t.has(n)
		})
	},
	f$ = function(e) {
		return e[0] && e.length > 1 ? qT(e[0], e) : e[0]
	},
	d$ = function(e, t) {
		return e.indexOf(qT(t, e))
	},
	e6 = "NEW_FOCUS",
	kBe = function(e, t, n, r, i) {
		var o = e.length,
			a = e[0],
			s = e[o - 1],
			u = BT(r);
		if (!(r && e.indexOf(r) >= 0)) {
			var l = r !== void 0 ? n.indexOf(r) : -1,
				c = i ? n.indexOf(i) : l,
				d = i ? e.indexOf(i) : -1;
			if (l === -1) return d !== -1 ? d : e6;
			if (d === -1) return e6;
			var p = l - c,
				g = n.indexOf(a),
				m = n.indexOf(s),
				_ = IBe(n),
				S = r !== void 0 ? _.indexOf(r) : -1,
				y = S - (i ? _.indexOf(i) : l);
			if (!p && d >= 0 || t.length === 0) return d;
			var w = d$(e, t[0]),
				b = d$(e, t[t.length - 1]);
			if (l <= g && u && Math.abs(p) > 1) return b;
			if (l >= m && u && Math.abs(p) > 1) return w;
			if (p && Math.abs(y) > 1) return d;
			if (l <= g) return b;
			if (l > m) return w;
			if (p) return Math.abs(p) > 1 ? d : (o + d + p) % o
		}
	},
	ABe = function(e) {
		return function(t) {
			var n, r = (n = gY(t)) === null || n === void 0 ? void 0 : n.autofocus;
			return t.autofocus || r !== void 0 && r !== "false" || e.indexOf(t) >= 0
		}
	},
	p$ = function(e, t, n) {
		var r = e.map(function(o) {
				var a = o.node;
				return a
			}),
			i = c$(r.filter(ABe(n)));
		return i && i.length ? f$(i) : f$(c$(t))
	},
	t6 = function(e, t) {
		return t === void 0 && (t = []), t.push(e), e.parentNode && t6(e.parentNode.host || e.parentNode, t), t
	},
	jx = function(e, t) {
		for (var n = t6(e), r = t6(t), i = 0; i < n.length; i += 1) {
			var o = n[i];
			if (r.indexOf(o) >= 0) return o
		}
		return !1
	},
	SY = function(e, t, n) {
		var r = pf(e),
			i = pf(t),
			o = r[0],
			a = !1;
		return i.filter(Boolean).forEach(function(s) {
			a = jx(a || s, s) || a, n.filter(Boolean).forEach(function(u) {
				var l = jx(o, u);
				l && (!a || Zc(l, a) ? a = l : a = jx(l, a))
			})
		}), a
	},
	h$ = function(e, t) {
		return e.reduce(function(n, r) {
			return n.concat(SBe(r, t))
		}, [])
	},
	MBe = function(e, t) {
		var n = new Map;
		return t.forEach(function(r) {
			return n.set(r.node, r)
		}), e.map(function(r) {
			return n.get(r)
		}).filter(vBe)
	},
	PBe = function(e, t) {
		var n = l1(pf(e).length > 0 ? document : fY(e).ownerDocument),
			r = ZT(e).filter(QC),
			i = SY(n || e, e, r),
			o = new Map,
			a = o_(r, o),
			s = a.filter(function(m) {
				var _ = m.node;
				return QC(_)
			});
		if (s[0]) {
			var u = o_([i], o).map(function(m) {
					var _ = m.node;
					return _
				}),
				l = MBe(u, s),
				c = l.map(function(m) {
					var _ = m.node;
					return _
				}),
				d = l.filter(function(m) {
					var _ = m.tabIndex;
					return _ >= 0
				}).map(function(m) {
					var _ = m.node;
					return _
				}),
				p = kBe(c, d, u, n, t);
			if (p === e6) {
				var g = p$(a, d, h$(r, o)) || p$(a, c, h$(r, o));
				if (g) return {
					node: g
				};
				console.warn("focus-lock: cannot find any node to move focus into");
				return
			}
			return p === void 0 ? p : l[p]
		}
	},
	LBe = function(e) {
		var t = ZT(e).filter(QC),
			n = SY(e, e, t),
			r = zT(Jp([n], !0), !0, !0),
			i = Jp(t, !1);
		return r.map(function(o) {
			var a = o.node,
				s = o.index;
			return {
				node: a,
				index: s,
				lockItem: i.indexOf(a) >= 0,
				guard: BT(a)
			}
		})
	},
	YT = function(e, t) {
		e && ("focus" in e && e.focus(t), "contentWindow" in e && e.contentWindow && e.contentWindow.focus())
	},
	Ux = 0,
	Hx = !1,
	xY = function(e, t, n) {
		n === void 0 && (n = {});
		var r = PBe(e, t);
		if (!Hx && r) {
			if (Ux > 2) {
				console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"), Hx = !0, setTimeout(function() {
					Hx = !1
				}, 1);
				return
			}
			Ux++, YT(r.node, n.focusOptions), Ux--
		}
	};

function $0(e) {
	if (!e) return null;
	if (typeof WeakRef > "u") return function() {
		return e || null
	};
	var t = e ? new WeakRef(e) : null;
	return function() {
		return (t == null ? void 0 : t.deref()) || null
	}
}
var NBe = function(e) {
		if (!e) return null;
		for (var t = [], n = e; n && n !== document.body;) t.push({
			current: $0(n),
			parent: $0(n.parentElement),
			left: $0(n.previousElementSibling),
			right: $0(n.nextElementSibling)
		}), n = n.parentElement;
		return {
			element: $0(e),
			stack: t,
			ownerDocument: e.ownerDocument
		}
	},
	DBe = function(e) {
		var t, n, r, i, o;
		if (e)
			for (var a = e.stack, s = e.ownerDocument, u = new Map, l = 0, c = a; l < c.length; l++) {
				var d = c[l],
					p = (t = d.parent) === null || t === void 0 ? void 0 : t.call(d);
				if (p && s.contains(p)) {
					for (var g = (n = d.left) === null || n === void 0 ? void 0 : n.call(d), m = d.current(), _ = p.contains(m) ? m : void 0, S = (r = d.right) === null || r === void 0 ? void 0 : r.call(d), y = KT([p], u), w = (o = (i = _ != null ? _ : g == null ? void 0 : g.nextElementSibling) !== null && i !== void 0 ? i : S) !== null && o !== void 0 ? o : g; w;) {
						for (var b = 0, E = y; b < E.length; b++) {
							var T = E[b];
							if (w != null && w.contains(T.node)) return T.node
						}
						w = w.nextElementSibling
					}
					if (y.length) return y[0].node
				}
			}
	},
	$Be = function(e) {
		var t = NBe(e);
		return function() {
			return DBe(t)
		}
	},
	FBe = function(e, t, n) {
		if (!e || !t) return console.error("no element or scope given"), {};
		var r = pf(t);
		if (r.every(function(a) {
				return !Zc(a, e)
			})) return console.error("Active element is not contained in the scope"), {};
		var i = n ? KT(r, new Map) : o_(r, new Map),
			o = i.findIndex(function(a) {
				var s = a.node;
				return s === e
			});
		if (o !== -1) return {
			prev: i[o - 1],
			next: i[o + 1],
			first: i[0],
			last: i[i.length - 1]
		}
	},
	jBe = function(e, t) {
		var n = t ? KT(pf(e), new Map) : o_(pf(e), new Map);
		return {
			first: n[0],
			last: n[n.length - 1]
		}
	},
	UBe = function(e) {
		return Object.assign({
			scope: document.body,
			cycle: !0,
			onlyTabbable: !0
		}, e)
	},
	EY = function(e, t, n) {
		t === void 0 && (t = {});
		var r = UBe(t),
			i = FBe(e, r.scope, r.onlyTabbable);
		if (i) {
			var o = n(i, r.cycle);
			o && YT(o.node, r.focusOptions)
		}
	},
	HBe = function(e, t) {
		t === void 0 && (t = {}), EY(e, t, function(n, r) {
			var i = n.next,
				o = n.first;
			return i || r && o
		})
	},
	VBe = function(e, t) {
		t === void 0 && (t = {}), EY(e, t, function(n, r) {
			var i = n.prev,
				o = n.last;
			return i || r && o
		})
	},
	CY = function(e, t, n) {
		var r, i = jBe(e, (r = t.onlyTabbable) !== null && r !== void 0 ? r : !0),
			o = i[n];
		o && YT(o.node, t.focusOptions)
	},
	BBe = function(e, t) {
		t === void 0 && (t = {}), CY(e, t, "first")
	},
	zBe = function(e, t) {
		t === void 0 && (t = {}), CY(e, t, "last")
	};

function XT(e) {
	setTimeout(e, 1)
}
var GBe = function(t) {
		return t && "current" in t ? t.current : t
	},
	WBe = function() {
		return document && document.activeElement === document.body
	},
	KBe = function() {
		return WBe() || TBe()
	},
	hp = null,
	zd = null,
	vp = null,
	c1 = !1,
	ZBe = function() {
		return !0
	},
	qBe = function(t) {
		return (hp.whiteList || ZBe)(t)
	},
	YBe = function(t, n) {
		vp = {
			observerNode: t,
			portaledElement: n
		}
	},
	XBe = function(t) {
		return vp && vp.portaledElement === t
	};

function v$(e, t, n, r) {
	var i = null,
		o = e;
	do {
		var a = r[o];
		if (a.guard) a.node.dataset.focusAutoGuard && (i = a);
		else if (a.lockItem) {
			if (o !== e) return;
			i = null
		} else break
	} while ((o += n) !== t);
	i && (i.node.tabIndex = 0)
}
var JBe = function(t) {
		return t ? !!c1 : c1 === "meanwhile"
	},
	QBe = function e(t, n, r) {
		return n && (n.host === t && (!n.activeElement || r.contains(n.activeElement)) || n.parentNode && e(t, n.parentNode, r))
	},
	eze = function(t, n) {
		return n.some(function(r) {
			return QBe(t, r, r)
		})
	},
	a_ = function() {
		var t = !1;
		if (hp) {
			var n = hp,
				r = n.observed,
				i = n.persistentFocus,
				o = n.autoFocus,
				a = n.shards,
				s = n.crossFrame,
				u = n.focusOptions,
				l = r || vp && vp.portaledElement,
				c = document && document.activeElement;
			if (l) {
				var d = [l].concat(a.map(GBe).filter(Boolean));
				if ((!c || qBe(c)) && (i || JBe(s) || !KBe() || !zd && o) && (l && !(bY(d) || c && eze(c, d) || XBe(c)) && (document && !zd && c && !o ? (c.blur && c.blur(), document.body.focus()) : (t = xY(d, zd, {
						focusOptions: u
					}), vp = {})), c1 = !1, zd = document && document.activeElement), document && c !== document.activeElement && document.querySelector("[data-focus-auto-guard]")) {
					var p = document && document.activeElement,
						g = LBe(d),
						m = g.map(function(_) {
							var S = _.node;
							return S
						}).indexOf(p);
					m > -1 && (g.filter(function(_) {
						var S = _.guard,
							y = _.node;
						return S && y.dataset.focusAutoGuard
					}).forEach(function(_) {
						var S = _.node;
						return S.removeAttribute("tabIndex")
					}), v$(m, g.length, 1, g), v$(m, -1, -1, g))
				}
			}
		}
		return t
	},
	OY = function(t) {
		a_() && t && (t.stopPropagation(), t.preventDefault())
	},
	JT = function() {
		return XT(a_)
	},
	tze = function(t) {
		var n = t.target,
			r = t.currentTarget;
		r.contains(n) || YBe(r, n)
	},
	nze = function() {
		return null
	},
	TY = function() {
		c1 = "just", XT(function() {
			c1 = "meanwhile"
		})
	},
	rze = function() {
		document.addEventListener("focusin", OY), document.addEventListener("focusout", JT), window.addEventListener("blur", TY)
	},
	ize = function() {
		document.removeEventListener("focusin", OY), document.removeEventListener("focusout", JT), window.removeEventListener("blur", TY)
	};

function oze(e) {
	return e.filter(function(t) {
		var n = t.disabled;
		return !n
	})
}
var RY = {
	moveFocusInside: xY,
	focusInside: bY,
	focusNextElement: HBe,
	focusPrevElement: VBe,
	focusFirstElement: BBe,
	focusLastElement: zBe,
	captureFocusRestore: $Be
};

function aze(e) {
	var t = e.slice(-1)[0];
	t && !hp && rze();
	var n = hp,
		r = n && t && t.id === n.id;
	hp = t, n && !r && (n.onDeactivation(), e.filter(function(i) {
		var o = i.id;
		return o === n.id
	}).length || n.returnFocus(!t)), t ? (zd = null, (!r || n.observed !== t.observed) && t.onActivation(RY), a_(), XT(a_)) : (ize(), zd = null)
}
lY.assignSyncMedium(tze);
cY.assignMedium(JT);
rBe.assignMedium(function(e) {
	return e(RY)
});
const sze = sBe(oze, aze)(nze);
var QT = h.forwardRef(function(t, n) {
		return h.createElement(VT, ge({
			sideCar: sze,
			ref: n
		}, t))
	}),
	IY = VT.propTypes || {};
IY.sideCar;
Rf(IY, ["sideCar"]);
QT.propTypes = {};

function lut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "polyline",
			attr: {
				points: "22 12 18 12 15 21 9 3 6 12 2 12"
			}
		}]
	})(e)
}

function cut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "circle",
			attr: {
				cx: "12",
				cy: "12",
				r: "10"
			}
		}, {
			tag: "line",
			attr: {
				x1: "12",
				y1: "8",
				x2: "12",
				y2: "12"
			}
		}, {
			tag: "line",
			attr: {
				x1: "12",
				y1: "16",
				x2: "12.01",
				y2: "16"
			}
		}]
	})(e)
}

function fut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"
			}
		}, {
			tag: "line",
			attr: {
				x1: "12",
				y1: "9",
				x2: "12",
				y2: "13"
			}
		}, {
			tag: "line",
			attr: {
				x1: "12",
				y1: "17",
				x2: "12.01",
				y2: "17"
			}
		}]
	})(e)
}

function uze(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "line",
			attr: {
				x1: "5",
				y1: "12",
				x2: "19",
				y2: "12"
			}
		}, {
			tag: "polyline",
			attr: {
				points: "12 5 19 12 12 19"
			}
		}]
	})(e)
}

function kY(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "line",
			attr: {
				x1: "7",
				y1: "17",
				x2: "17",
				y2: "7"
			}
		}, {
			tag: "polyline",
			attr: {
				points: "7 7 17 7 17 17"
			}
		}]
	})(e)
}

function dut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "rect",
			attr: {
				x: "3",
				y: "4",
				width: "18",
				height: "18",
				rx: "2",
				ry: "2"
			}
		}, {
			tag: "line",
			attr: {
				x1: "16",
				y1: "2",
				x2: "16",
				y2: "6"
			}
		}, {
			tag: "line",
			attr: {
				x1: "8",
				y1: "2",
				x2: "8",
				y2: "6"
			}
		}, {
			tag: "line",
			attr: {
				x1: "3",
				y1: "10",
				x2: "21",
				y2: "10"
			}
		}]
	})(e)
}

function put(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "rect",
			attr: {
				x: "9",
				y: "9",
				width: "13",
				height: "13",
				rx: "2",
				ry: "2"
			}
		}, {
			tag: "path",
			attr: {
				d: "M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"
			}
		}]
	})(e)
}

function hut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "polyline",
			attr: {
				points: "15 10 20 15 15 20"
			}
		}, {
			tag: "path",
			attr: {
				d: "M4 4v7a4 4 0 0 0 4 4h12"
			}
		}]
	})(e)
}

function lze(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "circle",
			attr: {
				cx: "12",
				cy: "12",
				r: "10"
			}
		}, {
			tag: "line",
			attr: {
				x1: "12",
				y1: "16",
				x2: "12",
				y2: "12"
			}
		}, {
			tag: "line",
			attr: {
				x1: "12",
				y1: "8",
				x2: "12.01",
				y2: "8"
			}
		}]
	})(e)
}

function vut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "polyline",
			attr: {
				points: "23 4 23 10 17 10"
			}
		}, {
			tag: "polyline",
			attr: {
				points: "1 20 1 14 7 14"
			}
		}, {
			tag: "path",
			attr: {
				d: "M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"
			}
		}]
	})(e)
}

function cze(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "polyline",
			attr: {
				points: "1 4 1 10 7 10"
			}
		}, {
			tag: "path",
			attr: {
				d: "M3.51 15a9 9 0 1 0 2.13-9.36L1 10"
			}
		}]
	})(e)
}

function gut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "line",
			attr: {
				x1: "22",
				y1: "2",
				x2: "11",
				y2: "13"
			}
		}, {
			tag: "polygon",
			attr: {
				points: "22 2 15 22 11 13 2 9 22 2"
			}
		}]
	})(e)
}

function mut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M10 15v4a3 3 0 0 0 3 3l4-9V2H5.72a2 2 0 0 0-2 1.7l-1.38 9a2 2 0 0 0 2 2.3zm7-13h2.67A2.31 2.31 0 0 1 22 4v7a2.31 2.31 0 0 1-2.33 2H17"
			}
		}]
	})(e)
}

function yut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M14 9V5a3 3 0 0 0-3-3l-4 9v11h11.28a2 2 0 0 0 2-1.7l1.38-9a2 2 0 0 0-2-2.3zM7 22H4a2 2 0 0 1-2-2v-7a2 2 0 0 1 2-2h3"
			}
		}]
	})(e)
}

function fze(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 24 24",
			fill: "none",
			stroke: "currentColor",
			strokeWidth: "2",
			strokeLinecap: "round",
			strokeLinejoin: "round"
		},
		child: [{
			tag: "line",
			attr: {
				x1: "18",
				y1: "6",
				x2: "6",
				y2: "18"
			}
		}, {
			tag: "line",
			attr: {
				x1: "6",
				y1: "6",
				x2: "18",
				y2: "18"
			}
		}]
	})(e)
}

function my() {}
const e9 = J.createContext({
		addEscapeHandler: my,
		removeEscapeHandler: my,
		addDocClickHandler: my,
		removeDocClickHandler: my,
		host: void 0,
		zIndex: void 0
	}),
	dze = e9.Provider,
	AY = e9.Consumer;
class pze extends J.PureComponent {
	constructor(t) {
		super(t), this.host = J.createRef(), this.containerRef = J.createRef(), this.onDocumentClick = n => {
			const r = this.state.docClickHandlers[this.state.docClickHandlers.length - 1];
			r && r(n)
		}, this.onKeyUp = n => {
			if (n.key === "Escape") {
				const r = this.state.escapeKeyHandlers[this.state.escapeKeyHandlers.length - 1];
				r && r()
			}
		}, this.onAddEscapeHandler = n => {
			this.setState(r => ({
				escapeKeyHandlers: [...r.escapeKeyHandlers, n]
			}))
		}, this.onRemoveEscapeHandler = n => {
			this.setState(r => ({
				escapeKeyHandlers: r.escapeKeyHandlers.filter(i => i !== n)
			}))
		}, this.onAddDocClickHandler = n => {
			this.setState(r => ({
				docClickHandlers: [...r.docClickHandlers, n]
			}))
		}, this.onRemoveDocClickHandler = n => {
			this.setState(r => ({
				docClickHandlers: r.docClickHandlers.filter(i => i !== n)
			}))
		}, this.state = {
			escapeKeyHandlers: [],
			docClickHandlers: []
		}
	}
	componentDidMount() {
		this.forceUpdate(), _E && (document.addEventListener("keyup", this.onKeyUp), document.addEventListener("mousedown", this.onDocumentClick))
	}
	componentWillUnmount() {
		_E && (document.removeEventListener("keyup", this.onKeyUp), document.removeEventListener("mousedown", this.onDocumentClick))
	}
	render() {
		return C.jsx(AY, {
			children: ({
				host: t
			}) => C.jsxs(dze, {
				value: {
					host: t || this.host.current,
					zIndex: this.props.zIndex,
					addEscapeHandler: this.onAddEscapeHandler,
					removeEscapeHandler: this.onRemoveEscapeHandler,
					addDocClickHandler: this.onAddDocClickHandler,
					removeDocClickHandler: this.onRemoveDocClickHandler
				},
				children: [this.props.children, C.jsx("div", {
					className: "layers-root",
					ref: this.host
				})]
			})
		})
	}
}
const hze = xt("div", {
		target: "e6sm2130"
	})("position:absolute;top:0;left:0;right:0;"),
	H9 = class H9 extends J.Component {
		constructor() {
			super(...arguments), this.state = {
				container: null
			}, this.onEscape = () => {
				this.props.onEscape && this.props.onEscape()
			}, this.onDocumentClick = t => {
				this.props.onDocumentClick && this.props.onDocumentClick(t)
			}
		}
		componentDidMount() {
			this.context.addEscapeHandler(this.onEscape), this.context.addDocClickHandler(this.onDocumentClick);
			const {
				onMount: t,
				mountNode: n,
				host: r
			} = this.props;
			if (n) {
				t && t();
				return
			}
			const o = r !== void 0 ? r : document.body;
			o && this.addContainer(o)
		}
		componentDidUpdate(t) {
			const {
				host: n,
				mountNode: r
			} = this.props;
			r || n && n !== t.host && t.host === null && this.addContainer(n)
		}
		componentWillUnmount() {
			this.context.removeEscapeHandler(this.onEscape), this.context.removeDocClickHandler(this.onDocumentClick), this.props.onUnmount && this.props.onUnmount();
			const t = this.props.host,
				n = this.state.container;
			t && n && t.contains(n) && t.removeChild(n)
		}
		addContainer(t) {
			const {
				index: n,
				mountNode: r,
				onMount: i
			} = this.props;
			if (!r && t) {
				const o = t.ownerDocument.createElement("div"),
					a = typeof n == "number" ? t.children[n] : null;
				a ? t.insertBefore(o, a) : t.appendChild(o), this.setState({
					container: o
				}, () => {
					i && i()
				})
			}
		}
		render() {
			const {
				container: t
			} = this.state, {
				children: n,
				mountNode: r,
				zIndex: i
			} = this.props, o = i ? C.jsx(hze, {
				style: {
					zIndex: i
				},
				children: n
			}) : n;
			if (_E) {
				const a = r || t;
				return a ? hl.createPortal(o, a) : null
			}
			return null
		}
	};
H9.contextType = e9;
let n6 = H9;

function t9(e) {
	return C.jsx(AY, {
		children: ({
			host: t,
			zIndex: n
		}) => C.jsx(n6, {
			...e,
			host: t,
			zIndex: n
		})
	})
}
const V9 = class V9 extends J.Component {
	constructor() {
		super(...arguments), this.animateOutTimer = null, this.animateStartTimer = null, this.lastMountNodeOverflowStyle = null, this._refs = {}, this.state = {
			isVisible: !1,
			mounted: !1,
			isFocusVisible: !1
		}, this.onEscape = () => {
			!this.props.closeable || this.props.closeOnEscape === !1 || this.triggerClose(bv.escape)
		}, this.onBackdropClick = () => {
			this.props.closeable && this.triggerClose(bv.backdrop)
		}, this.onCloseClick = () => {
			this.triggerClose(bv.closeButton)
		}, this.handleWrapperClick = t => {
			this.props.lockFocus && t.stopPropagation()
		}, this.animateOutComplete = () => {
			this.setState({
				isVisible: !1
			})
		}
	}
	componentDidMount() {
		this.setState({
			mounted: !0
		})
	}
	componentWillUnmount() {
		this.resetMountNodeScroll(), this.clearTimers()
	}
	componentDidUpdate(t, n) {
		const {
			isOpen: r
		} = this.props;
		(r !== t.isOpen || r && this.state.mounted && !n.mounted) && (r ? this.didOpen() : this.didClose())
	}
	disableMountNodeScroll() {
		const t = this.getMountNode();
		this.lastMountNodeOverflowStyle = t.style.overflow || "", t.style.overflow = "hidden"
	}
	resetMountNodeScroll() {
		const t = this.getMountNode(),
			n = this.lastMountNodeOverflowStyle;
		t && n !== null && (t.style.overflow === "hidden" && (t.style.overflow = n || ""), this.lastMountNodeOverflowStyle = null)
	}
	clearTimers() {
		this.animateOutTimer && clearTimeout(this.animateOutTimer), this.animateStartTimer && cancelAnimationFrame(this.animateStartTimer)
	}
	didOpen() {
		const t = this.getRef("Root").current;
		t && (t.scrollTop = 0), this.clearTimers(), this.disableMountNodeScroll(), this.animateStartTimer = requestAnimationFrame(() => {
			this.setState({
				isVisible: !0
			})
		})
	}
	didClose() {
		this.resetMountNodeScroll(), this.animateOutTimer = setTimeout(this.animateOutComplete, 500)
	}
	triggerClose(t) {
		this.props.onClose && t && this.props.onClose({
			closeSource: t
		})
	}
	getMountNode() {
		const {
			mountNode: t
		} = this.props;
		return t || document.body
	}
	getChildren() {
		const {
			children: t
		} = this.props;
		return typeof t == "function" ? t() : t
	}
	getRef(t) {
		return this._refs[t] || (this._refs[t] = J.createRef()), this._refs[t]
	}
	renderModal() {
		const {
			closeable: t,
			role: n,
			autoFocus: r,
			lockFocus: i,
			isOpen: o,
			style: a,
			className: s,
			size: u,
			modalId: l
		} = this.props, c = this.getChildren();
		let d;
		typeof u == "string" && !(u in Kc) ? d = {
			width: u
		} : typeof u == "number" && (d = {
			width: "".concat(u, "px")
		});
		const p = this.props.closeIcon === !0 ? fze : this.props.closeIcon;
		return C.jsx(QT, {
			disabled: i === !1,
			returnFocus: !0,
			autoFocus: r,
			children: C.jsxs("div", {
				id: l,
				className: Pe("modal-root", o && this.state.isVisible && "modal-is-open", t && "modal-closeable", s),
				onClick: this.handleWrapperClick,
				ref: this.getRef("Root"),
				style: a,
				children: [this.props.showBackdrop && C.jsx("div", {
					className: "modal-backdrop",
					ref: this.getRef("Backdrop"),
					onClick: this.onBackdropClick
				}), C.jsx("div", {
					className: "modal-dialog-container",
					ref: this.getRef("DialogContainer"),
					tabIndex: 0,
					children: C.jsxs("div", {
						className: Pe("modal-dialog", u in Kc && "modal-size-".concat(u)),
						tabIndex: -1,
						"aria-modal": "true",
						role: n,
						ref: this.getRef("Dialog"),
						style: d,
						children: [c, t && p ? C.jsx(ir, {
							color: "neutral",
							variant: "minimal",
							className: "modal-close",
							"aria-label": "Close",
							onClick: this.onCloseClick,
							children: C.jsx(p, {})
						}) : null]
					})
				})]
			})
		})
	}
	render() {
		return !this.state.mounted || !this.props.isOpen && !this.state.isVisible ? null : C.jsx(t9, {
			onEscape: this.onEscape,
			mountNode: this.props.mountNode,
			children: this.renderModal()
		})
	}
};
V9.defaultProps = {
	animate: !0,
	autoFocus: !0,
	closeable: !0,
	closeIcon: null,
	closeOnEscape: !0,
	isOpen: !1,
	overrides: {},
	role: XC.dialog,
	size: Kc.medium,
	showBackdrop: !0
};
let Cl = V9;

function i4({
	children: e,
	className: t
}) {
	return C.jsx("div", {
		className: Pe("modal-header heading-medium", t),
		children: e
	})
}

function zh({
	children: e,
	className: t
}) {
	return C.jsx("div", {
		className: Pe("modal-body body-small", t),
		children: e
	})
}

function n9({
	children: e,
	className: t,
	shrinkMargin: n
}) {
	return C.jsx("div", {
		className: Pe("modal-footer", n && "modal-footer-shrink-margin", t),
		children: e
	})
}

function r6(e) {
	const {
		children: t,
		className: n,
		...r
	} = e;
	return C.jsx(ir, {
		className: Pe("modal-button", n),
		size: "small",
		...r,
		children: e.children
	})
}
const vze = xt("div", {
		target: "e12klglm0"
	})("margin-bottom:16px;"),
	gze = xt(oY, {
		target: "e12klglm1"
	})("width:100%;"),
	mze = xt(nY, {
		target: "e12klglm2"
	})("width:100%;"),
	g$ = xt("div", {
		target: "e12klglm3"
	})("&:not(:first-child){margin-top:8px;}"),
	Vx = [{
		value: null,
		label: "None"
	}, {
		value: "US",
		label: "US"
	}, {
		value: "EU",
		label: "EU"
	}];

function yze(e) {
	const {
		org: t,
		onClose: n,
		setActiveProjId: r
	} = e, [i, o] = h.useState(!1), [a, s] = h.useState(""), {
		fetchUser: u
	} = ft(), [l, c] = h.useState(""), d = zVe(), p = h.useCallback(() => {
		if (!a.trim()) {
			Ui.danger("Project name is a required field");
			return
		}
		o(!0), Nn.createProject(t.id, a, l).then(S => {
			r(S.id), Ui.success("Project ".concat(S.title, " created!")), n()
		}).catch(S => {
			Ui.danger("Could not create project: ".concat(S.message))
		}).finally(() => {
			u(), o(!1)
		})
	}, [t, a, n, r, u, l]), g = h.useCallback(S => {
		s(S.target.value)
	}, []), m = Vx.find(S => S.value === l) || Vx[0], _ = h.useCallback(S => {
		c(S.value)
	}, []);
	return C.jsxs(Cl, {
		isOpen: !0,
		closeable: !0,
		onClose: () => n(),
		children: [C.jsx(i4, {
			children: "Create a new project"
		}), C.jsxs(zh, {
			children: [C.jsxs(vze, {
				children: ["Projects are shared environments where teams can collaborate and share API resources. You can set custom rate limits and manage access to resources.", " ", C.jsx("a", {
					href: "https://help.openai.com/en/articles/9186755-managing-your-work-in-platform-with-projects",
					children: "Learn more."
				})]
			}), C.jsxs("div", {
				children: [C.jsxs(g$, {
					children: [C.jsx(s$, {
						description: "Human-friendly label for your project, shown in user interfaces and on exports",
						children: "Name"
					}), C.jsx(gze, {
						autoFocus: !0,
						size: "small",
						rows: 1,
						value: a,
						onChange: g,
						placeholder: "Project name",
						maxLength: 96
					})]
				}), d && C.jsxs(g$, {
					children: [C.jsx(s$, {
						description: "Enables data residency in the selected geography for this project",
						children: "Geography"
					}), C.jsx(mze, {
						onChange: _,
						value: m,
						options: Vx
					})]
				})]
			})]
		}), C.jsxs(n9, {
			children: [C.jsx(r6, {
				color: Ci.neutral,
				onClick: () => n(),
				children: "Cancel"
			}), C.jsx(r6, {
				color: Ci.primary,
				onClick: p,
				disabled: i,
				children: "Create"
			})]
		})]
	})
}
const Gd = {
		OWNER: "owner",
		WRITER: "writer",
		READER: "reader",
		MEMBER: "member"
	},
	wut = {
		[Gd.OWNER]: "Owner",
		[Gd.WRITER]: "Writer",
		[Gd.READER]: "Reader",
		[Gd.MEMBER]: "Member"
	};

function _ut() {
	const {
		activeOrg: e
	} = Ro();
	return h.useMemo(() => {
		if (!e || e.settings.threads_ui_visibility === "NONE") return !1;
		if (e.settings.threads_ui_visibility === "ANY_ROLE") return !0;
		if (e.settings.threads_ui_visibility === "OWNERS") return e.role === Gd.OWNER
	}, [e])
}

function MY() {
	const {
		activeOrg: e
	} = Ro();
	return h.useMemo(() => {
		if (!e) return !1;
		if (e.settings.usage_dashboard_visibility === "ANY_ROLE") return !0;
		if (e.settings.usage_dashboard_visibility === "OWNERS") return e.role === Gd.OWNER
	}, [e])
}
const wze = ({
		label: e
	}) => {
		const t = H8("/organization");
		return C.jsx("span", {
			className: "font-medium",
			style: {
				color: "var(--text-default)"
			},
			children: t ? "Organization overview" : e || "(no project selected)"
		})
	},
	_ze = J.memo(() => {
		const e = U8(),
			t = ha(),
			n = iY(),
			r = MY(),
			[i, o] = J.useState(!1),
			{
				activeOrg: a,
				setActiveProjId: s,
				activeProjId: u
			} = Ro(),
			l = t.pathname.startsWith("/organization/") ? "" : u || "",
			c = h.useCallback(p => {
				l || e.replace("/playground"), s(p.value)
			}, [s, l, e]),
			d = h.useMemo(() => {
				var _;
				const p = (((_ = a == null ? void 0 : a.projects) == null ? void 0 : _.data) || []).slice();
				p.sort((S, y) => S.title.toLowerCase().localeCompare(y.title.toLowerCase()));
				const g = p.findIndex(S => xK(S));
				g !== -1 && p.unshift(p.splice(g, 1)[0]);
				const m = p.map(S => ({
					value: S.id,
					label: S.title
				}));
				return m.length < 20 ? [{
					label: "Projects",
					options: m
				}] : m
			}, [a]);
		return C.jsxs(C.Fragment, {
			children: [C.jsx(PT, {
				variant: "bare",
				value: l,
				options: d,
				side: "bottom",
				align: "start",
				searchPlaceholder: "Change project...",
				listMinWidth: 260,
				size: "lg",
				gutterSize: "sm",
				onChange: c,
				TriggerView: wze,
				actions: [{
					id: "create",
					label: "Create project",
					Icon: UMe,
					onSelect: () => {
						o(!0)
					}
				}, {
					id: "overview",
					label: "Organization overview",
					Icon: NPe,
					onSelect: () => {
						const p = n ? "/organization/projects" : r ? "/organization/usage" : "/organization/api-keys";
						e.push(p)
					}
				}]
			}), i && C.jsx(yze, {
				org: a,
				onClose: () => o(!1),
				setActiveProjId: p => s(p)
			})]
		})
	}),
	bze = "_5Amyn",
	Sze = "u-pgg",
	m$ = {
		Container: bze,
		Spacer: Sze
	};

function xze() {
	return C.jsxs("div", {
		className: m$.Container,
		children: [C.jsx(iFe, {}), C.jsx("div", {
			className: m$.Spacer,
			children: "/"
		}), C.jsx(_ze, {})]
	})
}

function Eze({
	children: e,
	url: t,
	onClick: n,
	className: r,
	exact: i = !1,
	isActive: o
}) {
	const a = {
		className: Pe("nav-item", r),
		onClick: n
	};
	if (t) {
		if (t.indexOf("/") === 0) return C.jsx(B8, {
			...a,
			to: t,
			exact: i,
			isActive: o,
			children: e
		})
	} else return C.jsx("div", {
		...a,
		role: "button",
		children: e
	});
	return C.jsx("a", {
		...a,
		href: t,
		target: "_blank",
		rel: "noopener noreferrer",
		children: e
	})
}
/**!
 * @fileOverview Kickass library to create and place poppers near their reference elements.
 * @version 1.16.1
 * @license
 * Copyright (c) 2016 Federico Zivolo and contributors
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
var cg = typeof window < "u" && typeof document < "u" && typeof navigator < "u",
	Cze = function() {
		for (var e = ["Edge", "Trident", "Firefox"], t = 0; t < e.length; t += 1)
			if (cg && navigator.userAgent.indexOf(e[t]) >= 0) return 1;
		return 0
	}();

function Oze(e) {
	var t = !1;
	return function() {
		t || (t = !0, window.Promise.resolve().then(function() {
			t = !1, e()
		}))
	}
}

function Tze(e) {
	var t = !1;
	return function() {
		t || (t = !0, setTimeout(function() {
			t = !1, e()
		}, Cze))
	}
}
var Rze = cg && window.Promise,
	Ize = Rze ? Oze : Tze;

function PY(e) {
	var t = {};
	return e && t.toString.call(e) === "[object Function]"
}

function Lf(e, t) {
	if (e.nodeType !== 1) return [];
	var n = e.ownerDocument.defaultView,
		r = n.getComputedStyle(e, null);
	return t ? r[t] : r
}

function r9(e) {
	return e.nodeName === "HTML" ? e : e.parentNode || e.host
}

function fg(e) {
	if (!e) return document.body;
	switch (e.nodeName) {
		case "HTML":
		case "BODY":
			return e.ownerDocument.body;
		case "#document":
			return e.body
	}
	var t = Lf(e),
		n = t.overflow,
		r = t.overflowX,
		i = t.overflowY;
	return /(auto|scroll|overlay)/.test(n + i + r) ? e : fg(r9(e))
}

function LY(e) {
	return e && e.referenceNode ? e.referenceNode : e
}
var y$ = cg && !!(window.MSInputMethodContext && document.documentMode),
	w$ = cg && /MSIE 10/.test(navigator.userAgent);

function Gh(e) {
	return e === 11 ? y$ : e === 10 ? w$ : y$ || w$
}

function Qp(e) {
	if (!e) return document.documentElement;
	for (var t = Gh(10) ? document.body : null, n = e.offsetParent || null; n === t && e.nextElementSibling;) n = (e = e.nextElementSibling).offsetParent;
	var r = n && n.nodeName;
	return !r || r === "BODY" || r === "HTML" ? e ? e.ownerDocument.documentElement : document.documentElement : ["TH", "TD", "TABLE"].indexOf(n.nodeName) !== -1 && Lf(n, "position") === "static" ? Qp(n) : n
}

function kze(e) {
	var t = e.nodeName;
	return t === "BODY" ? !1 : t === "HTML" || Qp(e.firstElementChild) === e
}

function i6(e) {
	return e.parentNode !== null ? i6(e.parentNode) : e
}

function s_(e, t) {
	if (!e || !e.nodeType || !t || !t.nodeType) return document.documentElement;
	var n = e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_FOLLOWING,
		r = n ? e : t,
		i = n ? t : e,
		o = document.createRange();
	o.setStart(r, 0), o.setEnd(i, 0);
	var a = o.commonAncestorContainer;
	if (e !== a && t !== a || r.contains(i)) return kze(a) ? a : Qp(a);
	var s = i6(e);
	return s.host ? s_(s.host, t) : s_(e, i6(t).host)
}

function eh(e) {
	var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "top",
		n = t === "top" ? "scrollTop" : "scrollLeft",
		r = e.nodeName;
	if (r === "BODY" || r === "HTML") {
		var i = e.ownerDocument.documentElement,
			o = e.ownerDocument.scrollingElement || i;
		return o[n]
	}
	return e[n]
}

function Aze(e, t) {
	var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1,
		r = eh(t, "top"),
		i = eh(t, "left"),
		o = n ? -1 : 1;
	return e.top += r * o, e.bottom += r * o, e.left += i * o, e.right += i * o, e
}

function _$(e, t) {
	var n = t === "x" ? "Left" : "Top",
		r = n === "Left" ? "Right" : "Bottom";
	return parseFloat(e["border" + n + "Width"]) + parseFloat(e["border" + r + "Width"])
}

function b$(e, t, n, r) {
	return Math.max(t["offset" + e], t["scroll" + e], n["client" + e], n["offset" + e], n["scroll" + e], Gh(10) ? parseInt(n["offset" + e]) + parseInt(r["margin" + (e === "Height" ? "Top" : "Left")]) + parseInt(r["margin" + (e === "Height" ? "Bottom" : "Right")]) : 0)
}

function NY(e) {
	var t = e.body,
		n = e.documentElement,
		r = Gh(10) && getComputedStyle(n);
	return {
		height: b$("Height", t, n, r),
		width: b$("Width", t, n, r)
	}
}
var Mze = function(e, t) {
		if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function")
	},
	Pze = function() {
		function e(t, n) {
			for (var r = 0; r < n.length; r++) {
				var i = n[r];
				i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
			}
		}
		return function(t, n, r) {
			return n && e(t.prototype, n), r && e(t, r), t
		}
	}(),
	th = function(e, t, n) {
		return t in e ? Object.defineProperty(e, t, {
			value: n,
			enumerable: !0,
			configurable: !0,
			writable: !0
		}) : e[t] = n, e
	},
	So = Object.assign || function(e) {
		for (var t = 1; t < arguments.length; t++) {
			var n = arguments[t];
			for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r])
		}
		return e
	};

function Ol(e) {
	return So({}, e, {
		right: e.left + e.width,
		bottom: e.top + e.height
	})
}

function o6(e) {
	var t = {};
	try {
		if (Gh(10)) {
			t = e.getBoundingClientRect();
			var n = eh(e, "top"),
				r = eh(e, "left");
			t.top += n, t.left += r, t.bottom += n, t.right += r
		} else t = e.getBoundingClientRect()
	} catch (d) {}
	var i = {
			left: t.left,
			top: t.top,
			width: t.right - t.left,
			height: t.bottom - t.top
		},
		o = e.nodeName === "HTML" ? NY(e.ownerDocument) : {},
		a = o.width || e.clientWidth || i.width,
		s = o.height || e.clientHeight || i.height,
		u = e.offsetWidth - a,
		l = e.offsetHeight - s;
	if (u || l) {
		var c = Lf(e);
		u -= _$(c, "x"), l -= _$(c, "y"), i.width -= u, i.height -= l
	}
	return Ol(i)
}

function i9(e, t) {
	var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1,
		r = Gh(10),
		i = t.nodeName === "HTML",
		o = o6(e),
		a = o6(t),
		s = fg(e),
		u = Lf(t),
		l = parseFloat(u.borderTopWidth),
		c = parseFloat(u.borderLeftWidth);
	n && i && (a.top = Math.max(a.top, 0), a.left = Math.max(a.left, 0));
	var d = Ol({
		top: o.top - a.top - l,
		left: o.left - a.left - c,
		width: o.width,
		height: o.height
	});
	if (d.marginTop = 0, d.marginLeft = 0, !r && i) {
		var p = parseFloat(u.marginTop),
			g = parseFloat(u.marginLeft);
		d.top -= l - p, d.bottom -= l - p, d.left -= c - g, d.right -= c - g, d.marginTop = p, d.marginLeft = g
	}
	return (r && !n ? t.contains(s) : t === s && s.nodeName !== "BODY") && (d = Aze(d, t)), d
}

function Lze(e) {
	var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
		n = e.ownerDocument.documentElement,
		r = i9(e, n),
		i = Math.max(n.clientWidth, window.innerWidth || 0),
		o = Math.max(n.clientHeight, window.innerHeight || 0),
		a = t ? 0 : eh(n),
		s = t ? 0 : eh(n, "left"),
		u = {
			top: a - r.top + r.marginTop,
			left: s - r.left + r.marginLeft,
			width: i,
			height: o
		};
	return Ol(u)
}

function DY(e) {
	var t = e.nodeName;
	if (t === "BODY" || t === "HTML") return !1;
	if (Lf(e, "position") === "fixed") return !0;
	var n = r9(e);
	return n ? DY(n) : !1
}

function $Y(e) {
	if (!e || !e.parentElement || Gh()) return document.documentElement;
	for (var t = e.parentElement; t && Lf(t, "transform") === "none";) t = t.parentElement;
	return t || document.documentElement
}

function o9(e, t, n, r) {
	var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !1,
		o = {
			top: 0,
			left: 0
		},
		a = i ? $Y(e) : s_(e, LY(t));
	if (r === "viewport") o = Lze(a, i);
	else {
		var s = void 0;
		r === "scrollParent" ? (s = fg(r9(t)), s.nodeName === "BODY" && (s = e.ownerDocument.documentElement)) : r === "window" ? s = e.ownerDocument.documentElement : s = r;
		var u = i9(s, a, i);
		if (s.nodeName === "HTML" && !DY(a)) {
			var l = NY(e.ownerDocument),
				c = l.height,
				d = l.width;
			o.top += u.top - u.marginTop, o.bottom = c + u.top, o.left += u.left - u.marginLeft, o.right = d + u.left
		} else o = u
	}
	n = n || 0;
	var p = typeof n == "number";
	return o.left += p ? n : n.left || 0, o.top += p ? n : n.top || 0, o.right -= p ? n : n.right || 0, o.bottom -= p ? n : n.bottom || 0, o
}

function Nze(e) {
	var t = e.width,
		n = e.height;
	return t * n
}

function FY(e, t, n, r, i) {
	var o = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : 0;
	if (e.indexOf("auto") === -1) return e;
	var a = o9(n, r, o, i),
		s = {
			top: {
				width: a.width,
				height: t.top - a.top
			},
			right: {
				width: a.right - t.right,
				height: a.height
			},
			bottom: {
				width: a.width,
				height: a.bottom - t.bottom
			},
			left: {
				width: t.left - a.left,
				height: a.height
			}
		},
		u = Object.keys(s).map(function(p) {
			return So({
				key: p
			}, s[p], {
				area: Nze(s[p])
			})
		}).sort(function(p, g) {
			return g.area - p.area
		}),
		l = u.filter(function(p) {
			var g = p.width,
				m = p.height;
			return g >= n.clientWidth && m >= n.clientHeight
		}),
		c = l.length > 0 ? l[0].key : u[0].key,
		d = e.split("-")[1];
	return c + (d ? "-" + d : "")
}

function jY(e, t, n) {
	var r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null,
		i = r ? $Y(t) : s_(t, LY(n));
	return i9(n, i, r)
}

function UY(e) {
	var t = e.ownerDocument.defaultView,
		n = t.getComputedStyle(e),
		r = parseFloat(n.marginTop || 0) + parseFloat(n.marginBottom || 0),
		i = parseFloat(n.marginLeft || 0) + parseFloat(n.marginRight || 0),
		o = {
			width: e.offsetWidth + i,
			height: e.offsetHeight + r
		};
	return o
}

function u_(e) {
	var t = {
		left: "right",
		right: "left",
		bottom: "top",
		top: "bottom"
	};
	return e.replace(/left|right|bottom|top/g, function(n) {
		return t[n]
	})
}

function HY(e, t, n) {
	n = n.split("-")[0];
	var r = UY(e),
		i = {
			width: r.width,
			height: r.height
		},
		o = ["right", "left"].indexOf(n) !== -1,
		a = o ? "top" : "left",
		s = o ? "left" : "top",
		u = o ? "height" : "width",
		l = o ? "width" : "height";
	return i[a] = t[a] + t[u] / 2 - r[u] / 2, n === s ? i[s] = t[s] - r[l] : i[s] = t[u_(s)], i
}

function dg(e, t) {
	return Array.prototype.find ? e.find(t) : e.filter(t)[0]
}

function Dze(e, t, n) {
	if (Array.prototype.findIndex) return e.findIndex(function(i) {
		return i[t] === n
	});
	var r = dg(e, function(i) {
		return i[t] === n
	});
	return e.indexOf(r)
}

function VY(e, t, n) {
	var r = n === void 0 ? e : e.slice(0, Dze(e, "name", n));
	return r.forEach(function(i) {
		i.function && console.warn("`modifier.function` is deprecated, use `modifier.fn`!");
		var o = i.function || i.fn;
		i.enabled && PY(o) && (t.offsets.popper = Ol(t.offsets.popper), t.offsets.reference = Ol(t.offsets.reference), t = o(t, i))
	}), t
}

function $ze() {
	if (!this.state.isDestroyed) {
		var e = {
			instance: this,
			styles: {},
			arrowStyles: {},
			attributes: {},
			flipped: !1,
			offsets: {}
		};
		e.offsets.reference = jY(this.state, this.popper, this.reference, this.options.positionFixed), e.placement = FY(this.options.placement, e.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding), e.originalPlacement = e.placement, e.positionFixed = this.options.positionFixed, e.offsets.popper = HY(this.popper, e.offsets.reference, e.placement), e.offsets.popper.position = this.options.positionFixed ? "fixed" : "absolute", e = VY(this.modifiers, e), this.state.isCreated ? this.options.onUpdate(e) : (this.state.isCreated = !0, this.options.onCreate(e))
	}
}

function BY(e, t) {
	return e.some(function(n) {
		var r = n.name,
			i = n.enabled;
		return i && r === t
	})
}

function a9(e) {
	for (var t = [!1, "ms", "Webkit", "Moz", "O"], n = e.charAt(0).toUpperCase() + e.slice(1), r = 0; r < t.length; r++) {
		var i = t[r],
			o = i ? "" + i + n : e;
		if (typeof document.body.style[o] < "u") return o
	}
	return null
}

function Fze() {
	return this.state.isDestroyed = !0, BY(this.modifiers, "applyStyle") && (this.popper.removeAttribute("x-placement"), this.popper.style.position = "", this.popper.style.top = "", this.popper.style.left = "", this.popper.style.right = "", this.popper.style.bottom = "", this.popper.style.willChange = "", this.popper.style[a9("transform")] = ""), this.disableEventListeners(), this.options.removeOnDestroy && this.popper.parentNode.removeChild(this.popper), this
}

function zY(e) {
	var t = e.ownerDocument;
	return t ? t.defaultView : window
}

function GY(e, t, n, r) {
	var i = e.nodeName === "BODY",
		o = i ? e.ownerDocument.defaultView : e;
	o.addEventListener(t, n, {
		passive: !0
	}), i || GY(fg(o.parentNode), t, n, r), r.push(o)
}

function jze(e, t, n, r) {
	n.updateBound = r, zY(e).addEventListener("resize", n.updateBound, {
		passive: !0
	});
	var i = fg(e);
	return GY(i, "scroll", n.updateBound, n.scrollParents), n.scrollElement = i, n.eventsEnabled = !0, n
}

function Uze() {
	this.state.eventsEnabled || (this.state = jze(this.reference, this.options, this.state, this.scheduleUpdate))
}

function Hze(e, t) {
	return zY(e).removeEventListener("resize", t.updateBound), t.scrollParents.forEach(function(n) {
		n.removeEventListener("scroll", t.updateBound)
	}), t.updateBound = null, t.scrollParents = [], t.scrollElement = null, t.eventsEnabled = !1, t
}

function Vze() {
	this.state.eventsEnabled && (cancelAnimationFrame(this.scheduleUpdate), this.state = Hze(this.reference, this.state))
}

function s9(e) {
	return e !== "" && !isNaN(parseFloat(e)) && isFinite(e)
}

function a6(e, t) {
	Object.keys(t).forEach(function(n) {
		var r = "";
		["width", "height", "top", "right", "bottom", "left"].indexOf(n) !== -1 && s9(t[n]) && (r = "px"), e.style[n] = t[n] + r
	})
}

function Bze(e, t) {
	Object.keys(t).forEach(function(n) {
		var r = t[n];
		r !== !1 ? e.setAttribute(n, t[n]) : e.removeAttribute(n)
	})
}

function zze(e) {
	return a6(e.instance.popper, e.styles), Bze(e.instance.popper, e.attributes), e.arrowElement && Object.keys(e.arrowStyles).length && a6(e.arrowElement, e.arrowStyles), e
}

function Gze(e, t, n, r, i) {
	var o = jY(i, t, e, n.positionFixed),
		a = FY(n.placement, o, t, e, n.modifiers.flip.boundariesElement, n.modifiers.flip.padding);
	return t.setAttribute("x-placement", a), a6(t, {
		position: n.positionFixed ? "fixed" : "absolute"
	}), n
}

function Wze(e, t) {
	var n = e.offsets,
		r = n.popper,
		i = n.reference,
		o = Math.round,
		a = Math.floor,
		s = function(y) {
			return y
		},
		u = o(i.width),
		l = o(r.width),
		c = ["left", "right"].indexOf(e.placement) !== -1,
		d = e.placement.indexOf("-") !== -1,
		p = u % 2 === l % 2,
		g = u % 2 === 1 && l % 2 === 1,
		m = t ? c || d || p ? o : a : s,
		_ = t ? o : s;
	return {
		left: m(g && !d && t ? r.left - 1 : r.left),
		top: _(r.top),
		bottom: _(r.bottom),
		right: m(r.right)
	}
}
var Kze = cg && /Firefox/i.test(navigator.userAgent);

function Zze(e, t) {
	var n = t.x,
		r = t.y,
		i = e.offsets.popper,
		o = dg(e.instance.modifiers, function(b) {
			return b.name === "applyStyle"
		}).gpuAcceleration;
	o !== void 0 && console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");
	var a = o !== void 0 ? o : t.gpuAcceleration,
		s = Qp(e.instance.popper),
		u = o6(s),
		l = {
			position: i.position
		},
		c = Wze(e, window.devicePixelRatio < 2 || !Kze),
		d = n === "bottom" ? "top" : "bottom",
		p = r === "right" ? "left" : "right",
		g = a9("transform"),
		m = void 0,
		_ = void 0;
	if (d === "bottom" ? s.nodeName === "HTML" ? _ = -s.clientHeight + c.bottom : _ = -u.height + c.bottom : _ = c.top, p === "right" ? s.nodeName === "HTML" ? m = -s.clientWidth + c.right : m = -u.width + c.right : m = c.left, a && g) l[g] = "translate3d(" + m + "px, " + _ + "px, 0)", l[d] = 0, l[p] = 0, l.willChange = "transform";
	else {
		var S = d === "bottom" ? -1 : 1,
			y = p === "right" ? -1 : 1;
		l[d] = _ * S, l[p] = m * y, l.willChange = d + ", " + p
	}
	var w = {
		"x-placement": e.placement
	};
	return e.attributes = So({}, w, e.attributes), e.styles = So({}, l, e.styles), e.arrowStyles = So({}, e.offsets.arrow, e.arrowStyles), e
}

function WY(e, t, n) {
	var r = dg(e, function(s) {
			var u = s.name;
			return u === t
		}),
		i = !!r && e.some(function(s) {
			return s.name === n && s.enabled && s.order < r.order
		});
	if (!i) {
		var o = "`" + t + "`",
			a = "`" + n + "`";
		console.warn(a + " modifier is required by " + o + " modifier in order to work, be sure to include it before " + o + "!")
	}
	return i
}

function qze(e, t) {
	var n;
	if (!WY(e.instance.modifiers, "arrow", "keepTogether")) return e;
	var r = t.element;
	if (typeof r == "string") {
		if (r = e.instance.popper.querySelector(r), !r) return e
	} else if (!e.instance.popper.contains(r)) return console.warn("WARNING: `arrow.element` must be child of its popper element!"), e;
	var i = e.placement.split("-")[0],
		o = e.offsets,
		a = o.popper,
		s = o.reference,
		u = ["left", "right"].indexOf(i) !== -1,
		l = u ? "height" : "width",
		c = u ? "Top" : "Left",
		d = c.toLowerCase(),
		p = u ? "left" : "top",
		g = u ? "bottom" : "right",
		m = UY(r)[l];
	s[g] - m < a[d] && (e.offsets.popper[d] -= a[d] - (s[g] - m)), s[d] + m > a[g] && (e.offsets.popper[d] += s[d] + m - a[g]), e.offsets.popper = Ol(e.offsets.popper);
	var _ = s[d] + s[l] / 2 - m / 2,
		S = Lf(e.instance.popper),
		y = parseFloat(S["margin" + c]),
		w = parseFloat(S["border" + c + "Width"]),
		b = _ - e.offsets.popper[d] - y - w;
	return b = Math.max(Math.min(a[l] - m, b), 0), e.arrowElement = r, e.offsets.arrow = (n = {}, th(n, d, Math.round(b)), th(n, p, ""), n), e
}

function Yze(e) {
	return e === "end" ? "start" : e === "start" ? "end" : e
}
var KY = ["auto-start", "auto", "auto-end", "top-start", "top", "top-end", "right-start", "right", "right-end", "bottom-end", "bottom", "bottom-start", "left-end", "left", "left-start"],
	Bx = KY.slice(3);

function S$(e) {
	var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1,
		n = Bx.indexOf(e),
		r = Bx.slice(n + 1).concat(Bx.slice(0, n));
	return t ? r.reverse() : r
}
var zx = {
	FLIP: "flip",
	CLOCKWISE: "clockwise",
	COUNTERCLOCKWISE: "counterclockwise"
};

function Xze(e, t) {
	if (BY(e.instance.modifiers, "inner") || e.flipped && e.placement === e.originalPlacement) return e;
	var n = o9(e.instance.popper, e.instance.reference, t.padding, t.boundariesElement, e.positionFixed),
		r = e.placement.split("-")[0],
		i = u_(r),
		o = e.placement.split("-")[1] || "",
		a = [];
	switch (t.behavior) {
		case zx.FLIP:
			a = [r, i];
			break;
		case zx.CLOCKWISE:
			a = S$(r);
			break;
		case zx.COUNTERCLOCKWISE:
			a = S$(r, !0);
			break;
		default:
			a = t.behavior
	}
	return a.forEach(function(s, u) {
		if (r !== s || a.length === u + 1) return e;
		r = e.placement.split("-")[0], i = u_(r);
		var l = e.offsets.popper,
			c = e.offsets.reference,
			d = Math.floor,
			p = r === "left" && d(l.right) > d(c.left) || r === "right" && d(l.left) < d(c.right) || r === "top" && d(l.bottom) > d(c.top) || r === "bottom" && d(l.top) < d(c.bottom),
			g = d(l.left) < d(n.left),
			m = d(l.right) > d(n.right),
			_ = d(l.top) < d(n.top),
			S = d(l.bottom) > d(n.bottom),
			y = r === "left" && g || r === "right" && m || r === "top" && _ || r === "bottom" && S,
			w = ["top", "bottom"].indexOf(r) !== -1,
			b = !!t.flipVariations && (w && o === "start" && g || w && o === "end" && m || !w && o === "start" && _ || !w && o === "end" && S),
			E = !!t.flipVariationsByContent && (w && o === "start" && m || w && o === "end" && g || !w && o === "start" && S || !w && o === "end" && _),
			T = b || E;
		(p || y || T) && (e.flipped = !0, (p || y) && (r = a[u + 1]), T && (o = Yze(o)), e.placement = r + (o ? "-" + o : ""), e.offsets.popper = So({}, e.offsets.popper, HY(e.instance.popper, e.offsets.reference, e.placement)), e = VY(e.instance.modifiers, e, "flip"))
	}), e
}

function Jze(e) {
	var t = e.offsets,
		n = t.popper,
		r = t.reference,
		i = e.placement.split("-")[0],
		o = Math.floor,
		a = ["top", "bottom"].indexOf(i) !== -1,
		s = a ? "right" : "bottom",
		u = a ? "left" : "top",
		l = a ? "width" : "height";
	return n[s] < o(r[u]) && (e.offsets.popper[u] = o(r[u]) - n[l]), n[u] > o(r[s]) && (e.offsets.popper[u] = o(r[s])), e
}

function Qze(e, t, n, r) {
	var i = e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),
		o = +i[1],
		a = i[2];
	if (!o) return e;
	if (a.indexOf("%") === 0) {
		var s = void 0;
		switch (a) {
			case "%p":
				s = n;
				break;
			case "%":
			case "%r":
			default:
				s = r
		}
		var u = Ol(s);
		return u[t] / 100 * o
	} else if (a === "vh" || a === "vw") {
		var l = void 0;
		return a === "vh" ? l = Math.max(document.documentElement.clientHeight, window.innerHeight || 0) : l = Math.max(document.documentElement.clientWidth, window.innerWidth || 0), l / 100 * o
	} else return o
}

function eGe(e, t, n, r) {
	var i = [0, 0],
		o = ["right", "left"].indexOf(r) !== -1,
		a = e.split(/(\+|\-)/).map(function(c) {
			return c.trim()
		}),
		s = a.indexOf(dg(a, function(c) {
			return c.search(/,|\s/) !== -1
		}));
	a[s] && a[s].indexOf(",") === -1 && console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");
	var u = /\s*,\s*|\s+/,
		l = s !== -1 ? [a.slice(0, s).concat([a[s].split(u)[0]]), [a[s].split(u)[1]].concat(a.slice(s + 1))] : [a];
	return l = l.map(function(c, d) {
		var p = (d === 1 ? !o : o) ? "height" : "width",
			g = !1;
		return c.reduce(function(m, _) {
			return m[m.length - 1] === "" && ["+", "-"].indexOf(_) !== -1 ? (m[m.length - 1] = _, g = !0, m) : g ? (m[m.length - 1] += _, g = !1, m) : m.concat(_)
		}, []).map(function(m) {
			return Qze(m, p, t, n)
		})
	}), l.forEach(function(c, d) {
		c.forEach(function(p, g) {
			s9(p) && (i[d] += p * (c[g - 1] === "-" ? -1 : 1))
		})
	}), i
}

function tGe(e, t) {
	var n = t.offset,
		r = e.placement,
		i = e.offsets,
		o = i.popper,
		a = i.reference,
		s = r.split("-")[0],
		u = void 0;
	return s9(+n) ? u = [+n, 0] : u = eGe(n, o, a, s), s === "left" ? (o.top += u[0], o.left -= u[1]) : s === "right" ? (o.top += u[0], o.left += u[1]) : s === "top" ? (o.left += u[0], o.top -= u[1]) : s === "bottom" && (o.left += u[0], o.top += u[1]), e.popper = o, e
}

function nGe(e, t) {
	var n = t.boundariesElement || Qp(e.instance.popper);
	e.instance.reference === n && (n = Qp(n));
	var r = a9("transform"),
		i = e.instance.popper.style,
		o = i.top,
		a = i.left,
		s = i[r];
	i.top = "", i.left = "", i[r] = "";
	var u = o9(e.instance.popper, e.instance.reference, t.padding, n, e.positionFixed);
	i.top = o, i.left = a, i[r] = s, t.boundaries = u;
	var l = t.priority,
		c = e.offsets.popper,
		d = {
			primary: function(g) {
				var m = c[g];
				return c[g] < u[g] && !t.escapeWithReference && (m = Math.max(c[g], u[g])), th({}, g, m)
			},
			secondary: function(g) {
				var m = g === "right" ? "left" : "top",
					_ = c[m];
				return c[g] > u[g] && !t.escapeWithReference && (_ = Math.min(c[m], u[g] - (g === "right" ? c.width : c.height))), th({}, m, _)
			}
		};
	return l.forEach(function(p) {
		var g = ["left", "top"].indexOf(p) !== -1 ? "primary" : "secondary";
		c = So({}, c, d[g](p))
	}), e.offsets.popper = c, e
}

function rGe(e) {
	var t = e.placement,
		n = t.split("-")[0],
		r = t.split("-")[1];
	if (r) {
		var i = e.offsets,
			o = i.reference,
			a = i.popper,
			s = ["bottom", "top"].indexOf(n) !== -1,
			u = s ? "left" : "top",
			l = s ? "width" : "height",
			c = {
				start: th({}, u, o[u]),
				end: th({}, u, o[u] + o[l] - a[l])
			};
		e.offsets.popper = So({}, a, c[r])
	}
	return e
}

function iGe(e) {
	if (!WY(e.instance.modifiers, "hide", "preventOverflow")) return e;
	var t = e.offsets.reference,
		n = dg(e.instance.modifiers, function(r) {
			return r.name === "preventOverflow"
		}).boundaries;
	if (t.bottom < n.top || t.left > n.right || t.top > n.bottom || t.right < n.left) {
		if (e.hide === !0) return e;
		e.hide = !0, e.attributes["x-out-of-boundaries"] = ""
	} else {
		if (e.hide === !1) return e;
		e.hide = !1, e.attributes["x-out-of-boundaries"] = !1
	}
	return e
}

function oGe(e) {
	var t = e.placement,
		n = t.split("-")[0],
		r = e.offsets,
		i = r.popper,
		o = r.reference,
		a = ["left", "right"].indexOf(n) !== -1,
		s = ["top", "left"].indexOf(n) === -1;
	return i[a ? "left" : "top"] = o[n] - (s ? i[a ? "width" : "height"] : 0), e.placement = u_(t), e.offsets.popper = Ol(i), e
}
var aGe = {
		shift: {
			order: 100,
			enabled: !0,
			fn: rGe
		},
		offset: {
			order: 200,
			enabled: !0,
			fn: tGe,
			offset: 0
		},
		preventOverflow: {
			order: 300,
			enabled: !0,
			fn: nGe,
			priority: ["left", "right", "top", "bottom"],
			padding: 5,
			boundariesElement: "scrollParent"
		},
		keepTogether: {
			order: 400,
			enabled: !0,
			fn: Jze
		},
		arrow: {
			order: 500,
			enabled: !0,
			fn: qze,
			element: "[x-arrow]"
		},
		flip: {
			order: 600,
			enabled: !0,
			fn: Xze,
			behavior: "flip",
			padding: 5,
			boundariesElement: "viewport",
			flipVariations: !1,
			flipVariationsByContent: !1
		},
		inner: {
			order: 700,
			enabled: !1,
			fn: oGe
		},
		hide: {
			order: 800,
			enabled: !0,
			fn: iGe
		},
		computeStyle: {
			order: 850,
			enabled: !0,
			fn: Zze,
			gpuAcceleration: !0,
			x: "bottom",
			y: "right"
		},
		applyStyle: {
			order: 900,
			enabled: !0,
			fn: zze,
			onLoad: Gze,
			gpuAcceleration: void 0
		}
	},
	sGe = {
		placement: "bottom",
		positionFixed: !1,
		eventsEnabled: !0,
		removeOnDestroy: !1,
		onCreate: function() {},
		onUpdate: function() {},
		modifiers: aGe
	},
	o4 = function() {
		function e(t, n) {
			var r = this,
				i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
			Mze(this, e), this.scheduleUpdate = function() {
				return requestAnimationFrame(r.update)
			}, this.update = Ize(this.update.bind(this)), this.options = So({}, e.Defaults, i), this.state = {
				isDestroyed: !1,
				isCreated: !1,
				scrollParents: []
			}, this.reference = t && t.jquery ? t[0] : t, this.popper = n && n.jquery ? n[0] : n, this.options.modifiers = {}, Object.keys(So({}, e.Defaults.modifiers, i.modifiers)).forEach(function(a) {
				r.options.modifiers[a] = So({}, e.Defaults.modifiers[a] || {}, i.modifiers ? i.modifiers[a] : {})
			}), this.modifiers = Object.keys(this.options.modifiers).map(function(a) {
				return So({
					name: a
				}, r.options.modifiers[a])
			}).sort(function(a, s) {
				return a.order - s.order
			}), this.modifiers.forEach(function(a) {
				a.enabled && PY(a.onLoad) && a.onLoad(r.reference, r.popper, r.options, a, r.state)
			}), this.update();
			var o = this.options.eventsEnabled;
			o && this.enableEventListeners(), this.state.eventsEnabled = o
		}
		return Pze(e, [{
			key: "update",
			value: function() {
				return $ze.call(this)
			}
		}, {
			key: "destroy",
			value: function() {
				return Fze.call(this)
			}
		}, {
			key: "enableEventListeners",
			value: function() {
				return Uze.call(this)
			}
		}, {
			key: "disableEventListeners",
			value: function() {
				return Vze.call(this)
			}
		}]), e
	}();
o4.Utils = window.PopperUtils;
o4.placements = KY;
o4.Defaults = sGe;
var zi;
(function(e) {
	e.auto = "auto", e.topLeft = "topLeft", e.top = "top", e.topRight = "topRight", e.rightTop = "rightTop", e.right = "right", e.rightBottom = "rightBottom", e.bottomRight = "bottomRight", e.bottom = "bottom", e.bottomLeft = "bottomLeft", e.leftBottom = "leftBottom", e.left = "left", e.leftTop = "leftTop"
})(zi || (zi = {}));
const B9 = class B9 extends J.Component {
	constructor() {
		super(...arguments), this.popperHeight = 0, this.popperWidth = 0, this.popper = null, this.state = {
			isMounted: !1
		}, this.onPopperUpdate = t => {
			const n = {
				popper: x$(t.offsets.popper),
				arrow: t.offsets.arrow ? x$(t.offsets.arrow) : {
					top: 0,
					left: 0
				}
			};
			return this.props.onPopperUpdate(n, t), t
		}
	}
	componentDidMount() {
		this.setState({
			isMounted: !0
		})
	}
	componentDidUpdate(t, n) {
		if (this.props.popperRef) {
			const {
				height: r,
				width: i
			} = this.props.popperRef.getBoundingClientRect();
			(this.popperHeight !== r || this.popperWidth !== i) && (this.popperHeight = r, this.popperWidth = i, this.popper && this.popper.scheduleUpdate()), this.state.isMounted !== n.isMounted && this.props.anchorRef && this.initializePopper()
		}
	}
	componentWillUnmount() {
		this.destroyPopover()
	}
	initializePopper() {
		const {
			placement: t,
			popperOptions: n
		} = this.props, {
			modifiers: r,
			...i
		} = n;
		!this.props.anchorRef || !this.props.popperRef || (this.popper = new o4(this.props.anchorRef, this.props.popperRef, {
			placement: uGe(t),
			modifiers: {
				arrow: {
					element: this.props.arrowRef,
					enabled: !!this.props.arrowRef
				},
				computeStyle: {
					gpuAcceleration: !1
				},
				applyStyle: {
					enabled: !1
				},
				applyReactStyle: {
					enabled: !0,
					fn: this.onPopperUpdate,
					order: 900
				},
				preventOverflow: {
					enabled: !0,
					boundariesElement: "viewport"
				},
				hide: {
					enabled: !1
				},
				...r
			},
			...i
		}))
	}
	destroyPopover() {
		this.popper && (this.popper.destroy(), this.popper = null)
	}
	render() {
		return this.props.children || null
	}
};
B9.defaultProps = {
	anchorRef: null,
	onPopperUpdate: () => null,
	placement: "auto",
	popperRef: null,
	popperOptions: {}
};
let s6 = B9;

function uGe(e) {
	return e.replace(/(Top|Left)$/, "-start").replace(/(Right|Bottom)$/, "-end")
}

function x$(e) {
	return {
		top: Math.floor(e.top || 0),
		left: Math.floor(e.left || 0)
	}
}
var nh;
(function(e) {
	e.click = "click", e.hover = "hover", e.none = "none"
})(nh || (nh = {}));
var f1;
(function(e) {
	e.none = "none", e.menu = "menu", e.tooltip = "tooltip"
})(f1 || (f1 = {}));
const lGe = 8,
	u9 = 6,
	E$ = Math.ceil(Math.sqrt((u9 * 2) ** 2 / 2));

function cGe(e) {
	return e.toLowerCase().replace(/[^a-z0-9-_]+/gi, "-").replace(/-+/g, "-").replace(/^-+|-+$/g, "")
}

function fGe(e) {
	return e.charAt(0).toUpperCase() + e.slice(1)
}
const dGe = {
	top: "bottom",
	bottom: "top",
	right: "left",
	left: "right"
};

function l_(e) {
	return dGe[e]
}

function u6(e) {
	return e === "top" || e === "bottom"
}

function pGe(e) {
	const t = e.replace(/(top|bottom)-start$/, "$1Left").replace(/(top|bottom)-end$/, "$1Right").replace(/(left|right)-start$/, "$1Top").replace(/(left|right)-end$/, "$1Bottom");
	return zi[t] || null
}

function l9(e) {
	return (e.match(/^([a-z]+)([A-Z][a-z]+)?/) || []).slice(1, 3).filter(Boolean).map(n => n.toLowerCase())
}

function hGe(e, t, n) {
	const [r] = l9(t), i = l_(r);
	return i ? {
		["margin".concat(fGe(i))]: "".concat(e ? u9 : n, "px")
	} : null
}

function vGe(e, t) {
	const [n] = l9(t), r = u6(n) ? l_(n) : "".concat(e.top, "px");
	return [u6(n) ? "".concat(e.left, "px") : l_(n), r].join(" ")
}

function gGe(e, t) {
	const [n] = l9(t), r = l_(n);
	if (!r) return null;
	const i = u6(n) ? "left" : "top";
	return {
		[i]: "".concat(e[i], "px"),
		[r]: "-".concat(u9 - 2, "px")
	}
}
let mGe = 0;
const yGe = {
		accessibilityType: f1.menu,
		autoFocus: !0,
		defaultIsOpen: !1,
		dismissOnClickOutside: !0,
		dismissOnEsc: !0,
		focusLock: !1,
		interactive: !0,
		mobilePlacementEnabled: !1,
		onMouseEnterDelay: 50,
		onMouseLeaveDelay: 200,
		placement: zi.auto,
		returnFocus: !0,
		showArrow: !1,
		transitionDuration: 100,
		triggerType: nh.click
	},
	z9 = class z9 extends J.Component {
		constructor(t, n) {
			super(t, n), this.generatedId = "", this.anchorRef = J.createRef(), this.popperRef = J.createRef(), this.arrowRef = J.createRef(), this.animateInTimer = null, this.animateOutTimer = null, this.animateOutCompleteTimer = null, this.onMouseEnterTimer = null, this.onMouseLeaveTimer = null, this.animateIn = () => {
				this.isOpen() && this.setState({
					isAnimating: !0
				})
			}, this.animateOut = () => {
				this.setState({
					isAnimating: !0
				}), this.animateOutCompleteTimer = setTimeout(() => {
					this.setState({
						isAnimating: !1,
						arrowOffset: {
							left: 0,
							top: 0
						},
						popoverOffset: {
							left: 0,
							top: 0
						},
						placement: this.props.placement
					})
				}, this.props.transitionDuration)
			}, this.onAnchorPointerEnter = r => {
				r.pointerType !== "mouse" && this.isInteractiveElement(r.currentTarget) || (this.onMouseLeaveTimer && clearTimeout(this.onMouseLeaveTimer), this.triggerOnMouseEnterWithDelay(r))
			}, this.onAnchorPointerLeave = r => {
				r.pointerType === "mouse" && (this.onMouseEnterTimer && clearTimeout(this.onMouseEnterTimer), this.triggerOnMouseLeaveWithDelay(r))
			}, this.onAnchorClick = r => {
				this.props.onClick && this.props.onClick(r), this.isControlled() || (this.isOpen() ? this.close() : this.open())
			}, this.onClickOutside = r => {
				this.props.onClickOutside && this.props.onClickOutside(r), !this.isControlled() && this.props.dismissOnClickOutside && this.close()
			}, this.onEsc = () => {
				this.props.onEsc && this.props.onEsc(), !this.isControlled() && this.props.dismissOnEsc && this.close()
			}, this.onContentClose = () => {
				this.isControlled() || this.close()
			}, this.onPopoverPointerEnter = () => {
				this.onMouseLeaveTimer && clearTimeout(this.onMouseLeaveTimer)
			}, this.onPopoverPointerLeave = r => {
				this.triggerOnMouseLeaveWithDelay(r)
			}, this.onPopperUpdate = (r, i) => {
				const o = pGe(i.placement) || zi.top;
				return this.setState({
					arrowOffset: r.arrow,
					popoverOffset: r.popper,
					placement: o
				}), this.animateInTimer = setTimeout(this.animateIn, 20), i
			}, this.onLayerMount = () => {
				this.setState({
					isLayerMounted: !0
				})
			}, this.onLayerUnmount = () => {
				this.setState({
					isLayerMounted: !1
				})
			}, this.triggerOnMouseLeave = r => {
				this.props.onMouseLeave && this.props.onMouseLeave(r), this.isControlled() || this.close()
			}, this.triggerOnMouseEnter = r => {
				this.props.onMouseEnter && this.props.onMouseEnter(r), this.isControlled() || this.open()
			}, this.onDocumentClick = r => {
				const i = r.target,
					o = this.popperRef.current,
					a = this.anchorRef.current;
				!o || o === i || o.contains(i) || !a || a === i || a.contains(i) || this.onClickOutside(r)
			}, this.state = {
				isOpen: !!t.defaultIsOpen,
				isAnimating: !1,
				arrowOffset: {
					left: 0,
					top: 0
				},
				popoverOffset: {
					left: 0,
					top: 0
				},
				placement: t.placement,
				isMounted: !1,
				isLayerMounted: !1,
				autoFocusAfterPositioning: !1
			}
		}
		componentDidMount() {
			this.generatedId = "popover-".concat(++mGe), this.setState({
				isMounted: !0
			})
		}
		componentDidUpdate(t, n) {
			const r = typeof t.isOpen == "boolean",
				i = typeof this.props.isOpen == "boolean";
			!r && i && this.setState({
				isOpen: !!this.props.defaultIsOpen
			});
			const o = r ? t.isOpen : !!n.isOpen,
				a = i ? this.props.isOpen : !!this.state.isOpen;
			if (a !== o || this.state.isMounted !== n.isMounted || this.state.isLayerMounted !== n.isLayerMounted) {
				if (a && this.state.isLayerMounted) {
					this.clearTimers();
					return
				}
				if (!a && o) {
					this.animateOutTimer = setTimeout(this.animateOut, 20);
					return
				}
			}
			this.props.autoFocus && this.props.focusLock && !this.state.autoFocusAfterPositioning && this.popperRef.current !== null && this.popperRef.current.getBoundingClientRect().top > 0 && this.setState({
				autoFocusAfterPositioning: !0
			})
		}
		componentWillUnmount() {
			this.clearTimers()
		}
		isControlled() {
			return typeof this.props.isOpen == "boolean"
		}
		isOpen() {
			return this.isControlled() ? this.props.isOpen : this.state.isOpen
		}
		open() {
			this.isOpen() || (this.setState({
				isOpen: !0
			}), this.props.onOpen && this.props.onOpen())
		}
		close() {
			this.isOpen() && (this.setState({
				isOpen: !1
			}), this.props.onClose && this.props.onClose())
		}
		clearTimers() {
			[this.animateInTimer, this.animateOutTimer, this.animateOutCompleteTimer, this.onMouseEnterTimer, this.onMouseLeaveTimer].forEach(t => {
				t && clearTimeout(t)
			})
		}
		isInteractiveElement(t) {
			const n = t.tagName.toLowerCase();
			return n === "button" || n === "a" || t.getAttribute("role") === "button"
		}
		triggerOnMouseLeaveWithDelay(t) {
			const {
				onMouseLeaveDelay: n
			} = this.props;
			n ? this.onMouseLeaveTimer = setTimeout(() => this.triggerOnMouseLeave(t), n) : this.triggerOnMouseLeave(t)
		}
		triggerOnMouseEnterWithDelay(t) {
			const {
				onMouseEnterDelay: n
			} = this.props;
			n ? this.onMouseEnterTimer = setTimeout(() => this.triggerOnMouseEnter(t), n) : this.triggerOnMouseEnter(t)
		}
		isClickTrigger() {
			return this.props.triggerType === nh.click
		}
		isHoverTrigger() {
			return this.props.triggerType === nh.hover
		}
		isAccessibilityTypeMenu() {
			return this.props.accessibilityType === f1.menu
		}
		isAccessibilityTypeTooltip() {
			return this.props.accessibilityType === f1.tooltip
		}
		getAnchorIdAttr() {
			const t = this.getPopoverIdAttr();
			return t ? "".concat(t, "__anchor") : null
		}
		getPopoverIdAttr() {
			return this.props.id || this.generatedId || null
		}
		getAnchorProps() {
			const t = this.isOpen(),
				n = {
					"aria-haspopup": "true",
					"aria-expanded": t ? "true" : "false",
					ref: this.anchorRef
				},
				r = this.getPopoverIdAttr();
			if (this.isAccessibilityTypeMenu()) {
				const i = this.isClickTrigger() ? "aria-controls" : "aria-owns";
				n[i] = (t ? r : null) || void 0
			} else this.isAccessibilityTypeTooltip() && (n.id = this.getAnchorIdAttr() || "", n["aria-describedby"] = (t ? r : null) || "");
			return this.isHoverTrigger() ? (n.onPointerEnter = this.onAnchorPointerEnter, n.onPointerLeave = this.onAnchorPointerLeave) : n.onClick = this.onAnchorClick, n
		}
		getPopoverBodyProps() {
			const t = {},
				n = this.getPopoverIdAttr();
			return this.isAccessibilityTypeMenu() ? t.id = n || void 0 : this.isAccessibilityTypeTooltip() && (t.id = n || void 0, t.role = "tooltip"), this.isHoverTrigger() && this.props.interactive && (t.onPointerEnter = this.onPopoverPointerEnter, t.onPointerLeave = this.onPopoverPointerLeave), t
		}
		getAnchorFromChildren() {
			const {
				children: t
			} = this.props, n = J.Children.toArray(t);
			return n.length !== 1 && console.error("Exactly 1 child must be passed to Popover/Tooltip, found ".concat(n.length, " children")), n[0]
		}
		renderAnchor() {
			const t = this.getAnchorFromChildren();
			if (!t) return null;
			const n = J.isValidElement(t),
				r = this.getAnchorProps();
			return typeof t == "object" && n ? J.cloneElement(t, r) : C.jsx("span", {
				...r,
				children: t
			})
		}
		renderPopover(t) {
			const n = this.isOpen(),
				{
					arrowOffset: r,
					popoverOffset: i,
					isAnimating: o
				} = this.state,
				{
					className: a = "",
					interactive: s,
					mobilePlacementEnabled: u,
					popoverMargin: l = lGe,
					showArrow: c,
					style: d
				} = this.props,
				p = this.state.placement === "auto" ? zi.top : this.state.placement,
				g = {
					transitionDuration: o ? "".concat(this.props.transitionDuration, "ms") : "0s",
					opacity: o && n ? 1 : 0,
					transformOrigin: vGe(r, p),
					transform: "translate3d(".concat(i.left, "px, ").concat(i.top, "px, 0) scale(").concat(o && n ? 1 : .9, ")"),
					...hGe(!!c, p, l),
					...d
				},
				m = {
					width: "".concat(c ? E$ : 0, "px"),
					height: "".concat(c ? E$ : 0, "px"),
					...gGe(r, p),
					...g.backgroundColor ? {
						backgroundColor: g.backgroundColor
					} : {}
				};
			return C.jsxs("div", {
				className: Pe("popover-body", a, !s && "popover-noninteractive", u && "popover-body-mobile-enabled"),
				ref: this.popperRef,
				style: g,
				...this.getPopoverBodyProps(),
				children: [C.jsx("div", {
					className: "popover-arrow ".concat(c ? "visible" : ""),
					ref: this.arrowRef,
					style: m
				}), C.jsx("div", {
					className: "popover-inner",
					children: t
				})]
			})
		}
		renderContent() {
			const {
				content: t
			} = this.props;
			return typeof t == "function" ? t({
				close: this.onContentClose
			}) : t
		}
		render() {
			const {
				isAnimating: t
			} = this.state, n = this.isOpen(), i = this.state.isMounted && (n || t) ? this.renderContent() : null;
			return C.jsxs(C.Fragment, {
				children: [this.renderAnchor(), i && C.jsx(t9, {
					onEscape: this.onEsc,
					onDocumentClick: this.onDocumentClick,
					onMount: this.onLayerMount,
					onUnmount: this.onLayerUnmount,
					children: C.jsx(s6, {
						anchorRef: this.anchorRef.current,
						arrowRef: this.arrowRef.current,
						popperRef: this.popperRef.current,
						popperOptions: this.props.popperOptions,
						onPopperUpdate: this.onPopperUpdate,
						placement: this.state.placement,
						children: C.jsx(QT, {
							disabled: !this.props.focusLock,
							noFocusGuards: !1,
							returnFocus: this.props.returnFocus && !this.isHoverTrigger(),
							autoFocus: this.state.autoFocusAfterPositioning,
							children: this.renderPopover(i)
						})
					})
				})]
			})
		}
	};
z9.defaultProps = yGe;
let c_ = z9;
const wGe = zi;

function hf(e) {
	const {
		compact: t,
		className: n,
		header: r,
		content: i,
		noPadding: o,
		...a
	} = e, s = h.useCallback(u => C.jsxs(C.Fragment, {
		children: [r ? C.jsx("div", {
			className: "tooltip-header",
			children: r
		}) : null, typeof i == "function" ? i(u) : i]
	}), [r, i]);
	return C.jsx(c_, {
		className: Pe("tooltip", t ? "tooltip-compact" : "tooltip-normal", !o && "tooltip-with-padding", n),
		focusLock: !0,
		interactive: !1,
		triggerType: nh.hover,
		placement: zi.top,
		content: s,
		...a
	})
}
var l6;
(function(e) {
	e.dark = "dark", e.light = "light", e.auto = "auto"
})(l6 || (l6 = {}));
const ZY = "oai/theme";

function qY() {
	var e;
	return (e = window.localStorage.getItem(ZY)) != null ? e : "auto"
}
const _Ge = {
		selectedTheme: "auto",
		setTheme: e => {
			throw new Error("useTheme must be called within a ThemeProvider")
		}
	},
	YY = J.createContext(_Ge),
	XY = () => h.useContext(YY);

function JY() {
	return window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"
}
const c6 = e => {
		const t = e === "auto" ? JY() : e;
		document.body.classList.remove("dark", "light"), document.body.classList.add(t), document.body.setAttribute("data-theme", t), document.documentElement.style.colorScheme = t
	},
	bGe = J.memo(({
		children: e
	}) => {
		const [t, n] = h.useState(qY());
		h.useEffect(() => {
			c6(t);
			const o = window.matchMedia("(prefers-color-scheme: dark)"),
				a = () => {
					t === "auto" && c6("auto")
				};
			return o.addEventListener("change", a), () => {
				o.removeEventListener("change", a)
			}
		}, [t]);
		const r = h.useCallback(o => {
				n(o), window.localStorage.setItem(ZY, o)
			}, []),
			i = h.useMemo(() => ({
				selectedTheme: t,
				setTheme: r
			}), [t, r]);
		return C.jsx(YY.Provider, {
			value: i,
			children: e
		})
	});

function but() {
	const {
		selectedTheme: e
	} = XY();
	return e === "auto" ? JY() : e
}

function SGe(e, t) {
	typeof e == "function" ? e(t) : e != null && (e.current = t)
}

function a4(...e) {
	return t => e.forEach(n => SGe(n, t))
}

function Ti(...e) {
	return h.useCallback(a4(...e), e)
}

function pg(e, t = []) {
	let n = [];

	function r(o, a) {
		const s = h.createContext(a),
			u = n.length;
		n = [...n, a];

		function l(d) {
			const {
				scope: p,
				children: g,
				...m
			} = d, _ = (p == null ? void 0 : p[e][u]) || s, S = h.useMemo(() => m, Object.values(m));
			return C.jsx(_.Provider, {
				value: S,
				children: g
			})
		}

		function c(d, p) {
			const g = (p == null ? void 0 : p[e][u]) || s,
				m = h.useContext(g);
			if (m) return m;
			if (a !== void 0) return a;
			throw new Error("`".concat(d, "` must be used within `").concat(o, "`"))
		}
		return l.displayName = o + "Provider", [l, c]
	}
	const i = () => {
		const o = n.map(a => h.createContext(a));
		return function(s) {
			const u = (s == null ? void 0 : s[e]) || o;
			return h.useMemo(() => ({
				["__scope".concat(e)]: {
					...s,
					[e]: u
				}
			}), [s, u])
		}
	};
	return i.scopeName = e, [r, xGe(i, ...t)]
}

function xGe(...e) {
	const t = e[0];
	if (e.length === 1) return t;
	const n = () => {
		const r = e.map(i => ({
			useScope: i(),
			scopeName: i.scopeName
		}));
		return function(o) {
			const a = r.reduce((s, {
				useScope: u,
				scopeName: l
			}) => {
				const d = u(o)["__scope".concat(l)];
				return {
					...s,
					...d
				}
			}, {});
			return h.useMemo(() => ({
				["__scope".concat(t.scopeName)]: a
			}), [a])
		}
	};
	return n.scopeName = t.scopeName, n
}

function la(e) {
	const t = h.useRef(e);
	return h.useEffect(() => {
		t.current = e
	}), h.useMemo(() => (...n) => {
		var r;
		return (r = t.current) == null ? void 0 : r.call(t, ...n)
	}, [])
}

function QY({
	prop: e,
	defaultProp: t,
	onChange: n = () => {}
}) {
	const [r, i] = EGe({
		defaultProp: t,
		onChange: n
	}), o = e !== void 0, a = o ? e : r, s = la(n), u = h.useCallback(l => {
		if (o) {
			const d = typeof l == "function" ? l(e) : l;
			d !== e && s(d)
		} else i(l)
	}, [o, e, i, s]);
	return [a, u]
}

function EGe({
	defaultProp: e,
	onChange: t
}) {
	const n = h.useState(e),
		[r] = n,
		i = h.useRef(r),
		o = la(t);
	return h.useEffect(() => {
		i.current !== r && (o(r), i.current = r)
	}, [r, i, o]), n
}
var d1 = h.forwardRef((e, t) => {
	const {
		children: n,
		...r
	} = e, i = h.Children.toArray(n), o = i.find(OGe);
	if (o) {
		const a = o.props.children,
			s = i.map(u => u === o ? h.Children.count(a) > 1 ? h.Children.only(null) : h.isValidElement(a) ? a.props.children : null : u);
		return C.jsx(f6, {
			...r,
			ref: t,
			children: h.isValidElement(a) ? h.cloneElement(a, void 0, s) : null
		})
	}
	return C.jsx(f6, {
		...r,
		ref: t,
		children: n
	})
});
d1.displayName = "Slot";
var f6 = h.forwardRef((e, t) => {
	const {
		children: n,
		...r
	} = e;
	if (h.isValidElement(n)) {
		const i = RGe(n);
		return h.cloneElement(n, {
			...TGe(r, n.props),
			ref: t ? a4(t, i) : i
		})
	}
	return h.Children.count(n) > 1 ? h.Children.only(null) : null
});
f6.displayName = "SlotClone";
var CGe = ({
	children: e
}) => C.jsx(C.Fragment, {
	children: e
});

function OGe(e) {
	return h.isValidElement(e) && e.type === CGe
}

function TGe(e, t) {
	const n = {
		...t
	};
	for (const r in t) {
		const i = e[r],
			o = t[r];
		/^on[A-Z]/.test(r) ? i && o ? n[r] = (...s) => {
			o(...s), i(...s)
		} : i && (n[r] = i) : r === "style" ? n[r] = {
			...i,
			...o
		} : r === "className" && (n[r] = [i, o].filter(Boolean).join(" "))
	}
	return {
		...e,
		...n
	}
}

function RGe(e) {
	var r, i;
	let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get,
		n = t && "isReactWarning" in t && t.isReactWarning;
	return n ? e.ref : (t = (i = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : i.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref)
}
var IGe = ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"],
	Jr = IGe.reduce((e, t) => {
		const n = h.forwardRef((r, i) => {
			const {
				asChild: o,
				...a
			} = r, s = o ? d1 : t;
			return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), C.jsx(s, {
				...a,
				ref: i
			})
		});
		return n.displayName = "Primitive.".concat(t), {
			...e,
			[t]: n
		}
	}, {});

function eX(e, t) {
	e && Qa.flushSync(() => e.dispatchEvent(t))
}

function tX(e) {
	const t = e + "CollectionProvider",
		[n, r] = pg(t),
		[i, o] = n(t, {
			collectionRef: {
				current: null
			},
			itemMap: new Map
		}),
		a = g => {
			const {
				scope: m,
				children: _
			} = g, S = J.useRef(null), y = J.useRef(new Map).current;
			return C.jsx(i, {
				scope: m,
				itemMap: y,
				collectionRef: S,
				children: _
			})
		};
	a.displayName = t;
	const s = e + "CollectionSlot",
		u = J.forwardRef((g, m) => {
			const {
				scope: _,
				children: S
			} = g, y = o(s, _), w = Ti(m, y.collectionRef);
			return C.jsx(d1, {
				ref: w,
				children: S
			})
		});
	u.displayName = s;
	const l = e + "CollectionItemSlot",
		c = "data-radix-collection-item",
		d = J.forwardRef((g, m) => {
			const {
				scope: _,
				children: S,
				...y
			} = g, w = J.useRef(null), b = Ti(m, w), E = o(l, _);
			return J.useEffect(() => (E.itemMap.set(w, {
				ref: w,
				...y
			}), () => void E.itemMap.delete(w))), C.jsx(d1, {
				[c]: "",
				ref: b,
				children: S
			})
		});
	d.displayName = l;

	function p(g) {
		const m = o(e + "CollectionConsumer", g);
		return J.useCallback(() => {
			const S = m.collectionRef.current;
			if (!S) return [];
			const y = Array.from(S.querySelectorAll("[".concat(c, "]")));
			return Array.from(m.itemMap.values()).sort((E, T) => y.indexOf(E.ref.current) - y.indexOf(T.ref.current))
		}, [m.collectionRef, m.itemMap])
	}
	return [{
		Provider: a,
		Slot: u,
		ItemSlot: d
	}, p, r]
}
var kGe = h.createContext(void 0);

function nX(e) {
	const t = h.useContext(kGe);
	return e || t || "ltr"
}

function AGe(e, t = globalThis == null ? void 0 : globalThis.document) {
	const n = la(e);
	h.useEffect(() => {
		const r = i => {
			i.key === "Escape" && n(i)
		};
		return t.addEventListener("keydown", r, {
			capture: !0
		}), () => t.removeEventListener("keydown", r, {
			capture: !0
		})
	}, [n, t])
}
var MGe = "DismissableLayer",
	d6 = "dismissableLayer.update",
	PGe = "dismissableLayer.pointerDownOutside",
	LGe = "dismissableLayer.focusOutside",
	C$, rX = h.createContext({
		layers: new Set,
		layersWithOutsidePointerEventsDisabled: new Set,
		branches: new Set
	}),
	iX = h.forwardRef((e, t) => {
		var R;
		const {
			disableOutsidePointerEvents: n = !1,
			onEscapeKeyDown: r,
			onPointerDownOutside: i,
			onFocusOutside: o,
			onInteractOutside: a,
			onDismiss: s,
			...u
		} = e, l = h.useContext(rX), [c, d] = h.useState(null), p = (R = c == null ? void 0 : c.ownerDocument) != null ? R : globalThis == null ? void 0 : globalThis.document, [, g] = h.useState({}), m = Ti(t, k => d(k)), _ = Array.from(l.layers), [S] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), y = _.indexOf(S), w = c ? _.indexOf(c) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, E = w >= y, T = $Ge(k => {
			const M = k.target,
				D = [...l.branches].some(P => P.contains(M));
			!E || D || (i == null || i(k), a == null || a(k), k.defaultPrevented || s == null || s())
		}, p), O = FGe(k => {
			const M = k.target;
			[...l.branches].some(P => P.contains(M)) || (o == null || o(k), a == null || a(k), k.defaultPrevented || s == null || s())
		}, p);
		return AGe(k => {
			w === l.layers.size - 1 && (r == null || r(k), !k.defaultPrevented && s && (k.preventDefault(), s()))
		}, p), h.useEffect(() => {
			if (c) return n && (l.layersWithOutsidePointerEventsDisabled.size === 0 && (C$ = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), l.layersWithOutsidePointerEventsDisabled.add(c)), l.layers.add(c), O$(), () => {
				n && l.layersWithOutsidePointerEventsDisabled.size === 1 && (p.body.style.pointerEvents = C$)
			}
		}, [c, p, n, l]), h.useEffect(() => () => {
			c && (l.layers.delete(c), l.layersWithOutsidePointerEventsDisabled.delete(c), O$())
		}, [c, l]), h.useEffect(() => {
			const k = () => g({});
			return document.addEventListener(d6, k), () => document.removeEventListener(d6, k)
		}, []), C.jsx(Jr.div, {
			...u,
			ref: m,
			style: {
				pointerEvents: b ? E ? "auto" : "none" : void 0,
				...e.style
			},
			onFocusCapture: He(e.onFocusCapture, O.onFocusCapture),
			onBlurCapture: He(e.onBlurCapture, O.onBlurCapture),
			onPointerDownCapture: He(e.onPointerDownCapture, T.onPointerDownCapture)
		})
	});
iX.displayName = MGe;
var NGe = "DismissableLayerBranch",
	DGe = h.forwardRef((e, t) => {
		const n = h.useContext(rX),
			r = h.useRef(null),
			i = Ti(t, r);
		return h.useEffect(() => {
			const o = r.current;
			if (o) return n.branches.add(o), () => {
				n.branches.delete(o)
			}
		}, [n.branches]), C.jsx(Jr.div, {
			...e,
			ref: i
		})
	});
DGe.displayName = NGe;

function $Ge(e, t = globalThis == null ? void 0 : globalThis.document) {
	const n = la(e),
		r = h.useRef(!1),
		i = h.useRef(() => {});
	return h.useEffect(() => {
		const o = s => {
				if (s.target && !r.current) {
					let u = function() {
						oX(PGe, n, l, {
							discrete: !0
						})
					};
					const l = {
						originalEvent: s
					};
					s.pointerType === "touch" ? (t.removeEventListener("click", i.current), i.current = u, t.addEventListener("click", i.current, {
						once: !0
					})) : u()
				} else t.removeEventListener("click", i.current);
				r.current = !1
			},
			a = window.setTimeout(() => {
				t.addEventListener("pointerdown", o)
			}, 0);
		return () => {
			window.clearTimeout(a), t.removeEventListener("pointerdown", o), t.removeEventListener("click", i.current)
		}
	}, [t, n]), {
		onPointerDownCapture: () => r.current = !0
	}
}

function FGe(e, t = globalThis == null ? void 0 : globalThis.document) {
	const n = la(e),
		r = h.useRef(!1);
	return h.useEffect(() => {
		const i = o => {
			o.target && !r.current && oX(LGe, n, {
				originalEvent: o
			}, {
				discrete: !1
			})
		};
		return t.addEventListener("focusin", i), () => t.removeEventListener("focusin", i)
	}, [t, n]), {
		onFocusCapture: () => r.current = !0,
		onBlurCapture: () => r.current = !1
	}
}

function O$() {
	const e = new CustomEvent(d6);
	document.dispatchEvent(e)
}

function oX(e, t, n, {
	discrete: r
}) {
	const i = n.originalEvent.target,
		o = new CustomEvent(e, {
			bubbles: !1,
			cancelable: !0,
			detail: n
		});
	t && i.addEventListener(e, t, {
		once: !0
	}), r ? eX(i, o) : i.dispatchEvent(o)
}
var Gx = 0;

function jGe() {
	h.useEffect(() => {
		var t, n;
		const e = document.querySelectorAll("[data-radix-focus-guard]");
		return document.body.insertAdjacentElement("afterbegin", (t = e[0]) != null ? t : T$()), document.body.insertAdjacentElement("beforeend", (n = e[1]) != null ? n : T$()), Gx++, () => {
			Gx === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach(r => r.remove()), Gx--
		}
	}, [])
}

function T$() {
	const e = document.createElement("span");
	return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.cssText = "outline: none; opacity: 0; position: fixed; pointer-events: none", e
}
var Wx = "focusScope.autoFocusOnMount",
	Kx = "focusScope.autoFocusOnUnmount",
	R$ = {
		bubbles: !1,
		cancelable: !0
	},
	UGe = "FocusScope",
	aX = h.forwardRef((e, t) => {
		const {
			loop: n = !1,
			trapped: r = !1,
			onMountAutoFocus: i,
			onUnmountAutoFocus: o,
			...a
		} = e, [s, u] = h.useState(null), l = la(i), c = la(o), d = h.useRef(null), p = Ti(t, _ => u(_)), g = h.useRef({
			paused: !1,
			pause() {
				this.paused = !0
			},
			resume() {
				this.paused = !1
			}
		}).current;
		h.useEffect(() => {
			if (r) {
				let _ = function(b) {
						if (g.paused || !s) return;
						const E = b.target;
						s.contains(E) ? d.current = E : Ru(d.current, {
							select: !0
						})
					},
					S = function(b) {
						if (g.paused || !s) return;
						const E = b.relatedTarget;
						E !== null && (s.contains(E) || Ru(d.current, {
							select: !0
						}))
					},
					y = function(b) {
						if (document.activeElement === document.body)
							for (const T of b) T.removedNodes.length > 0 && Ru(s)
					};
				document.addEventListener("focusin", _), document.addEventListener("focusout", S);
				const w = new MutationObserver(y);
				return s && w.observe(s, {
					childList: !0,
					subtree: !0
				}), () => {
					document.removeEventListener("focusin", _), document.removeEventListener("focusout", S), w.disconnect()
				}
			}
		}, [r, s, g.paused]), h.useEffect(() => {
			if (s) {
				k$.add(g);
				const _ = document.activeElement;
				if (!s.contains(_)) {
					const y = new CustomEvent(Wx, R$);
					s.addEventListener(Wx, l), s.dispatchEvent(y), y.defaultPrevented || (HGe(WGe(sX(s)), {
						select: !0
					}), document.activeElement === _ && Ru(s))
				}
				return () => {
					s.removeEventListener(Wx, l), setTimeout(() => {
						const y = new CustomEvent(Kx, R$);
						s.addEventListener(Kx, c), s.dispatchEvent(y), y.defaultPrevented || Ru(_ != null ? _ : document.body, {
							select: !0
						}), s.removeEventListener(Kx, c), k$.remove(g)
					}, 0)
				}
			}
		}, [s, l, c, g]);
		const m = h.useCallback(_ => {
			if (!n && !r || g.paused) return;
			const S = _.key === "Tab" && !_.altKey && !_.ctrlKey && !_.metaKey,
				y = document.activeElement;
			if (S && y) {
				const w = _.currentTarget,
					[b, E] = VGe(w);
				b && E ? !_.shiftKey && y === E ? (_.preventDefault(), n && Ru(b, {
					select: !0
				})) : _.shiftKey && y === b && (_.preventDefault(), n && Ru(E, {
					select: !0
				})) : y === w && _.preventDefault()
			}
		}, [n, r, g.paused]);
		return C.jsx(Jr.div, {
			tabIndex: -1,
			...a,
			ref: p,
			onKeyDown: m
		})
	});
aX.displayName = UGe;

function HGe(e, {
	select: t = !1
} = {}) {
	const n = document.activeElement;
	for (const r of e)
		if (Ru(r, {
				select: t
			}), document.activeElement !== n) return
}

function VGe(e) {
	const t = sX(e),
		n = I$(t, e),
		r = I$(t.reverse(), e);
	return [n, r]
}

function sX(e) {
	const t = [],
		n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
			acceptNode: r => {
				const i = r.tagName === "INPUT" && r.type === "hidden";
				return r.disabled || r.hidden || i ? NodeFilter.FILTER_SKIP : r.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP
			}
		});
	for (; n.nextNode();) t.push(n.currentNode);
	return t
}

function I$(e, t) {
	for (const n of e)
		if (!BGe(n, {
				upTo: t
			})) return n
}

function BGe(e, {
	upTo: t
}) {
	if (getComputedStyle(e).visibility === "hidden") return !0;
	for (; e;) {
		if (t !== void 0 && e === t) return !1;
		if (getComputedStyle(e).display === "none") return !0;
		e = e.parentElement
	}
	return !1
}

function zGe(e) {
	return e instanceof HTMLInputElement && "select" in e
}

function Ru(e, {
	select: t = !1
} = {}) {
	if (e && e.focus) {
		const n = document.activeElement;
		e.focus({
			preventScroll: !0
		}), e !== n && zGe(e) && t && e.select()
	}
}
var k$ = GGe();

function GGe() {
	let e = [];
	return {
		add(t) {
			const n = e[0];
			t !== n && (n == null || n.pause()), e = A$(e, t), e.unshift(t)
		},
		remove(t) {
			var n;
			e = A$(e, t), (n = e[0]) == null || n.resume()
		}
	}
}

function A$(e, t) {
	const n = [...e],
		r = n.indexOf(t);
	return r !== -1 && n.splice(r, 1), n
}

function WGe(e) {
	return e.filter(t => t.tagName !== "A")
}
var KGe = "Arrow",
	uX = h.forwardRef((e, t) => {
		const {
			children: n,
			width: r = 10,
			height: i = 5,
			...o
		} = e;
		return C.jsx(Jr.svg, {
			...o,
			ref: t,
			width: r,
			height: i,
			viewBox: "0 0 30 10",
			preserveAspectRatio: "none",
			children: e.asChild ? n : C.jsx("polygon", {
				points: "0,0 30,0 15,10"
			})
		})
	});
uX.displayName = KGe;
var ZGe = uX,
	rh = globalThis != null && globalThis.document ? h.useLayoutEffect : () => {};

function qGe(e) {
	const [t, n] = h.useState(void 0);
	return rh(() => {
		if (e) {
			n({
				width: e.offsetWidth,
				height: e.offsetHeight
			});
			const r = new ResizeObserver(i => {
				if (!Array.isArray(i) || !i.length) return;
				const o = i[0];
				let a, s;
				if ("borderBoxSize" in o) {
					const u = o.borderBoxSize,
						l = Array.isArray(u) ? u[0] : u;
					a = l.inlineSize, s = l.blockSize
				} else a = e.offsetWidth, s = e.offsetHeight;
				n({
					width: a,
					height: s
				})
			});
			return r.observe(e, {
				box: "border-box"
			}), () => r.unobserve(e)
		} else n(void 0)
	}, [e]), t
}
var c9 = "Popper",
	[lX, cX] = pg(c9),
	[YGe, fX] = lX(c9),
	dX = e => {
		const {
			__scopePopper: t,
			children: n
		} = e, [r, i] = h.useState(null);
		return C.jsx(YGe, {
			scope: t,
			anchor: r,
			onAnchorChange: i,
			children: n
		})
	};
dX.displayName = c9;
var pX = "PopperAnchor",
	hX = h.forwardRef((e, t) => {
		const {
			__scopePopper: n,
			virtualRef: r,
			...i
		} = e, o = fX(pX, n), a = h.useRef(null), s = Ti(t, a);
		return h.useEffect(() => {
			o.onAnchorChange((r == null ? void 0 : r.current) || a.current)
		}), r ? null : C.jsx(Jr.div, {
			...i,
			ref: s
		})
	});
hX.displayName = pX;
var f9 = "PopperContent",
	[XGe, JGe] = lX(f9),
	vX = h.forwardRef((e, t) => {
		var pe, Ee, be, st, _t, Ve, Mt, gt;
		const {
			__scopePopper: n,
			side: r = "bottom",
			sideOffset: i = 0,
			align: o = "center",
			alignOffset: a = 0,
			arrowPadding: s = 0,
			avoidCollisions: u = !0,
			collisionBoundary: l = [],
			collisionPadding: c = 0,
			sticky: d = "partial",
			hideWhenDetached: p = !1,
			updatePositionStrategy: g = "optimized",
			onPlaced: m,
			..._
		} = e, S = fX(f9, n), [y, w] = h.useState(null), b = Ti(t, mt => w(mt)), [E, T] = h.useState(null), O = qGe(E), R = (pe = O == null ? void 0 : O.width) != null ? pe : 0, k = (Ee = O == null ? void 0 : O.height) != null ? Ee : 0, M = r + (o !== "center" ? "-" + o : ""), D = typeof c == "number" ? c : {
			top: 0,
			right: 0,
			bottom: 0,
			left: 0,
			...c
		}, P = Array.isArray(l) ? l : [l], U = P.length > 0, H = {
			padding: D,
			boundary: P.filter(eWe),
			altBoundary: U
		}, {
			refs: G,
			floatingStyles: K,
			placement: ee,
			isPositioned: te,
			middlewareData: q
		} = gZ({
			strategy: "fixed",
			placement: M,
			whileElementsMounted: (...mt) => hZ(...mt, {
				animationFrame: g === "always"
			}),
			elements: {
				reference: S.anchor
			},
			middleware: [mZ({
				mainAxis: i + k,
				alignmentAxis: a
			}), u && yZ({
				mainAxis: !0,
				crossAxis: !1,
				limiter: d === "partial" ? wZ() : void 0,
				...H
			}), u && _Z({
				...H
			}), bZ({
				...H,
				apply: ({
					elements: mt,
					rects: Je,
					availableWidth: ze,
					availableHeight: Ct
				}) => {
					const {
						width: Zt,
						height: ei
					} = Je.reference, qt = mt.floating.style;
					qt.setProperty("--radix-popper-available-width", "".concat(ze, "px")), qt.setProperty("--radix-popper-available-height", "".concat(Ct, "px")), qt.setProperty("--radix-popper-anchor-width", "".concat(Zt, "px")), qt.setProperty("--radix-popper-anchor-height", "".concat(ei, "px"))
				}
			}), E && xZ({
				element: E,
				padding: s
			}), tWe({
				arrowWidth: R,
				arrowHeight: k
			}), p && SZ({
				strategy: "referenceHidden",
				...H
			})]
		}), [F, j] = yX(ee), B = la(m);
		rh(() => {
			te && (B == null || B())
		}, [te, B]);
		const Z = (be = q.arrow) == null ? void 0 : be.x,
			z = (st = q.arrow) == null ? void 0 : st.y,
			Q = ((_t = q.arrow) == null ? void 0 : _t.centerOffset) !== 0,
			[ie, le] = h.useState();
		return rh(() => {
			y && le(window.getComputedStyle(y).zIndex)
		}, [y]), C.jsx("div", {
			ref: G.setFloating,
			"data-radix-popper-content-wrapper": "",
			style: {
				...K,
				transform: te ? K.transform : "translate(0, -200%)",
				minWidth: "max-content",
				zIndex: ie,
				"--radix-popper-transform-origin": [(Ve = q.transformOrigin) == null ? void 0 : Ve.x, (Mt = q.transformOrigin) == null ? void 0 : Mt.y].join(" "),
				...((gt = q.hide) == null ? void 0 : gt.referenceHidden) && {
					visibility: "hidden",
					pointerEvents: "none"
				}
			},
			dir: e.dir,
			children: C.jsx(XGe, {
				scope: n,
				placedSide: F,
				onArrowChange: T,
				arrowX: Z,
				arrowY: z,
				shouldHideArrow: Q,
				children: C.jsx(Jr.div, {
					"data-side": F,
					"data-align": j,
					..._,
					ref: b,
					style: {
						..._.style,
						animation: te ? void 0 : "none"
					}
				})
			})
		})
	});
vX.displayName = f9;
var gX = "PopperArrow",
	QGe = {
		top: "bottom",
		right: "left",
		bottom: "top",
		left: "right"
	},
	mX = h.forwardRef(function(t, n) {
		const {
			__scopePopper: r,
			...i
		} = t, o = JGe(gX, r), a = QGe[o.placedSide];
		return C.jsx("span", {
			ref: o.onArrowChange,
			style: {
				position: "absolute",
				left: o.arrowX,
				top: o.arrowY,
				[a]: 0,
				transformOrigin: {
					top: "",
					right: "0 0",
					bottom: "center 0",
					left: "100% 0"
				} [o.placedSide],
				transform: {
					top: "translateY(100%)",
					right: "translateY(50%) rotate(90deg) translateX(-50%)",
					bottom: "rotate(180deg)",
					left: "translateY(50%) rotate(-90deg) translateX(50%)"
				} [o.placedSide],
				visibility: o.shouldHideArrow ? "hidden" : void 0
			},
			children: C.jsx(ZGe, {
				...i,
				ref: n,
				style: {
					...i.style,
					display: "block"
				}
			})
		})
	});
mX.displayName = gX;

function eWe(e) {
	return e !== null
}
var tWe = e => ({
	name: "transformOrigin",
	options: e,
	fn(t) {
		var S, y, w, b, E;
		const {
			placement: n,
			rects: r,
			middlewareData: i
		} = t, a = ((S = i.arrow) == null ? void 0 : S.centerOffset) !== 0, s = a ? 0 : e.arrowWidth, u = a ? 0 : e.arrowHeight, [l, c] = yX(n), d = {
			start: "0%",
			center: "50%",
			end: "100%"
		} [c], p = ((w = (y = i.arrow) == null ? void 0 : y.x) != null ? w : 0) + s / 2, g = ((E = (b = i.arrow) == null ? void 0 : b.y) != null ? E : 0) + u / 2;
		let m = "",
			_ = "";
		return l === "bottom" ? (m = a ? d : "".concat(p, "px"), _ = "".concat(-u, "px")) : l === "top" ? (m = a ? d : "".concat(p, "px"), _ = "".concat(r.floating.height + u, "px")) : l === "right" ? (m = "".concat(-u, "px"), _ = a ? d : "".concat(g, "px")) : l === "left" && (m = "".concat(r.floating.width + u, "px"), _ = a ? d : "".concat(g, "px")), {
			data: {
				x: m,
				y: _
			}
		}
	}
});

function yX(e) {
	const [t, n = "center"] = e.split("-");
	return [t, n]
}
var nWe = dX,
	rWe = hX,
	iWe = vX,
	oWe = mX,
	aWe = "Portal",
	wX = h.forwardRef((e, t) => {
		var s;
		const {
			container: n,
			...r
		} = e, [i, o] = h.useState(!1);
		rh(() => o(!0), []);
		const a = n || i && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
		return a ? hl.createPortal(C.jsx(Jr.div, {
			...r,
			ref: t
		}), a) : null
	});
wX.displayName = aWe;

function sWe(e, t) {
	return h.useReducer((n, r) => {
		const i = t[n][r];
		return i != null ? i : n
	}, e)
}
var hg = e => {
	const {
		present: t,
		children: n
	} = e, r = uWe(t), i = typeof n == "function" ? n({
		present: r.isPresent
	}) : h.Children.only(n), o = Ti(r.ref, lWe(i));
	return typeof n == "function" || r.isPresent ? h.cloneElement(i, {
		ref: o
	}) : null
};
hg.displayName = "Presence";

function uWe(e) {
	const [t, n] = h.useState(), r = h.useRef({}), i = h.useRef(e), o = h.useRef("none"), a = e ? "mounted" : "unmounted", [s, u] = sWe(a, {
		mounted: {
			UNMOUNT: "unmounted",
			ANIMATION_OUT: "unmountSuspended"
		},
		unmountSuspended: {
			MOUNT: "mounted",
			ANIMATION_END: "unmounted"
		},
		unmounted: {
			MOUNT: "mounted"
		}
	});
	return h.useEffect(() => {
		const l = yy(r.current);
		o.current = s === "mounted" ? l : "none"
	}, [s]), rh(() => {
		const l = r.current,
			c = i.current;
		if (c !== e) {
			const p = o.current,
				g = yy(l);
			e ? u("MOUNT") : g === "none" || (l == null ? void 0 : l.display) === "none" ? u("UNMOUNT") : u(c && p !== g ? "ANIMATION_OUT" : "UNMOUNT"), i.current = e
		}
	}, [e, u]), rh(() => {
		if (t) {
			const l = d => {
					const g = yy(r.current).includes(d.animationName);
					d.target === t && g && Qa.flushSync(() => u("ANIMATION_END"))
				},
				c = d => {
					d.target === t && (o.current = yy(r.current))
				};
			return t.addEventListener("animationstart", c), t.addEventListener("animationcancel", l), t.addEventListener("animationend", l), () => {
				t.removeEventListener("animationstart", c), t.removeEventListener("animationcancel", l), t.removeEventListener("animationend", l)
			}
		} else u("ANIMATION_END")
	}, [t, u]), {
		isPresent: ["mounted", "unmountSuspended"].includes(s),
		ref: h.useCallback(l => {
			l && (r.current = getComputedStyle(l)), n(l)
		}, [])
	}
}

function yy(e) {
	return (e == null ? void 0 : e.animationName) || "none"
}

function lWe(e) {
	var r, i;
	let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get,
		n = t && "isReactWarning" in t && t.isReactWarning;
	return n ? e.ref : (t = (i = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : i.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref)
}
var Zx = "rovingFocusGroup.onEntryFocus",
	cWe = {
		bubbles: !1,
		cancelable: !0
	},
	s4 = "RovingFocusGroup",
	[p6, _X, fWe] = tX(s4),
	[dWe, bX] = pg(s4, [fWe]),
	[pWe, hWe] = dWe(s4),
	SX = h.forwardRef((e, t) => C.jsx(p6.Provider, {
		scope: e.__scopeRovingFocusGroup,
		children: C.jsx(p6.Slot, {
			scope: e.__scopeRovingFocusGroup,
			children: C.jsx(vWe, {
				...e,
				ref: t
			})
		})
	}));
SX.displayName = s4;
var vWe = h.forwardRef((e, t) => {
		const {
			__scopeRovingFocusGroup: n,
			orientation: r,
			loop: i = !1,
			dir: o,
			currentTabStopId: a,
			defaultCurrentTabStopId: s,
			onCurrentTabStopIdChange: u,
			onEntryFocus: l,
			preventScrollOnEntryFocus: c = !1,
			...d
		} = e, p = h.useRef(null), g = Ti(t, p), m = nX(o), [_ = null, S] = QY({
			prop: a,
			defaultProp: s,
			onChange: u
		}), [y, w] = h.useState(!1), b = la(l), E = _X(n), T = h.useRef(!1), [O, R] = h.useState(0);
		return h.useEffect(() => {
			const k = p.current;
			if (k) return k.addEventListener(Zx, b), () => k.removeEventListener(Zx, b)
		}, [b]), C.jsx(pWe, {
			scope: n,
			orientation: r,
			dir: m,
			loop: i,
			currentTabStopId: _,
			onItemFocus: h.useCallback(k => S(k), [S]),
			onItemShiftTab: h.useCallback(() => w(!0), []),
			onFocusableItemAdd: h.useCallback(() => R(k => k + 1), []),
			onFocusableItemRemove: h.useCallback(() => R(k => k - 1), []),
			children: C.jsx(Jr.div, {
				tabIndex: y || O === 0 ? -1 : 0,
				"data-orientation": r,
				...d,
				ref: g,
				style: {
					outline: "none",
					...e.style
				},
				onMouseDown: He(e.onMouseDown, () => {
					T.current = !0
				}),
				onFocus: He(e.onFocus, k => {
					const M = !T.current;
					if (k.target === k.currentTarget && M && !y) {
						const D = new CustomEvent(Zx, cWe);
						if (k.currentTarget.dispatchEvent(D), !D.defaultPrevented) {
							const P = E().filter(ee => ee.focusable),
								U = P.find(ee => ee.active),
								H = P.find(ee => ee.id === _),
								K = [U, H, ...P].filter(Boolean).map(ee => ee.ref.current);
							CX(K, c)
						}
					}
					T.current = !1
				}),
				onBlur: He(e.onBlur, () => w(!1))
			})
		})
	}),
	xX = "RovingFocusGroupItem",
	EX = h.forwardRef((e, t) => {
		const {
			__scopeRovingFocusGroup: n,
			focusable: r = !0,
			active: i = !1,
			tabStopId: o,
			...a
		} = e, s = _l(), u = o || s, l = hWe(xX, n), c = l.currentTabStopId === u, d = _X(n), {
			onFocusableItemAdd: p,
			onFocusableItemRemove: g
		} = l;
		return h.useEffect(() => {
			if (r) return p(), () => g()
		}, [r, p, g]), C.jsx(p6.ItemSlot, {
			scope: n,
			id: u,
			focusable: r,
			active: i,
			children: C.jsx(Jr.span, {
				tabIndex: c ? 0 : -1,
				"data-orientation": l.orientation,
				...a,
				ref: t,
				onMouseDown: He(e.onMouseDown, m => {
					r ? l.onItemFocus(u) : m.preventDefault()
				}),
				onFocus: He(e.onFocus, () => l.onItemFocus(u)),
				onKeyDown: He(e.onKeyDown, m => {
					if (m.key === "Tab" && m.shiftKey) {
						l.onItemShiftTab();
						return
					}
					if (m.target !== m.currentTarget) return;
					const _ = yWe(m, l.orientation, l.dir);
					if (_ !== void 0) {
						if (m.metaKey || m.ctrlKey || m.altKey || m.shiftKey) return;
						m.preventDefault();
						let y = d().filter(w => w.focusable).map(w => w.ref.current);
						if (_ === "last") y.reverse();
						else if (_ === "prev" || _ === "next") {
							_ === "prev" && y.reverse();
							const w = y.indexOf(m.currentTarget);
							y = l.loop ? wWe(y, w + 1) : y.slice(w + 1)
						}
						setTimeout(() => CX(y))
					}
				})
			})
		})
	});
EX.displayName = xX;
var gWe = {
	ArrowLeft: "prev",
	ArrowUp: "prev",
	ArrowRight: "next",
	ArrowDown: "next",
	PageUp: "first",
	Home: "first",
	PageDown: "last",
	End: "last"
};

function mWe(e, t) {
	return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e
}

function yWe(e, t, n) {
	const r = mWe(e.key, n);
	if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return gWe[r]
}

function CX(e, t = !1) {
	const n = document.activeElement;
	for (const r of e)
		if (r === n || (r.focus({
				preventScroll: t
			}), document.activeElement !== n)) return
}

function wWe(e, t) {
	return e.map((n, r) => e[(t + r) % e.length])
}
var _We = SX,
	bWe = EX,
	Bu = function() {
		return Bu = Object.assign || function(t) {
			for (var n, r = 1, i = arguments.length; r < i; r++) {
				n = arguments[r];
				for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o])
			}
			return t
		}, Bu.apply(this, arguments)
	};

function SWe(e, t) {
	var n = {};
	for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
	if (e != null && typeof Object.getOwnPropertySymbols == "function")
		for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
	return n
}

function xWe(e, t, n) {
	if (n || arguments.length === 2)
		for (var r = 0, i = t.length, o; r < i; r++)(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
	return e.concat(o || Array.prototype.slice.call(t))
}
var v2 = "right-scroll-bar-position",
	g2 = "width-before-scroll-bar",
	EWe = "with-scroll-bars-hidden",
	CWe = "--removed-body-scroll-bar-size";

function qx(e, t) {
	return typeof e == "function" ? e(t) : e && (e.current = t), e
}

function OWe(e, t) {
	var n = h.useState(function() {
		return {
			value: e,
			callback: t,
			facade: {
				get current() {
					return n.value
				},
				set current(r) {
					var i = n.value;
					i !== r && (n.value = r, n.callback(r, i))
				}
			}
		}
	})[0];
	return n.callback = t, n.facade
}
var TWe = typeof window < "u" ? h.useLayoutEffect : h.useEffect,
	M$ = new WeakMap;

function RWe(e, t) {
	var n = OWe(null, function(r) {
		return e.forEach(function(i) {
			return qx(i, r)
		})
	});
	return TWe(function() {
		var r = M$.get(n);
		if (r) {
			var i = new Set(r),
				o = new Set(e),
				a = n.current;
			i.forEach(function(s) {
				o.has(s) || qx(s, null)
			}), o.forEach(function(s) {
				i.has(s) || qx(s, a)
			})
		}
		M$.set(n, e)
	}, [e]), n
}
var f_ = function() {
	return f_ = Object.assign || function(t) {
		for (var n, r = 1, i = arguments.length; r < i; r++) {
			n = arguments[r];
			for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o])
		}
		return t
	}, f_.apply(this, arguments)
};

function IWe(e, t) {
	var n = {};
	for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
	if (e != null && typeof Object.getOwnPropertySymbols == "function")
		for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
	return n
}

function kWe(e) {
	return e
}

function AWe(e, t) {
	t === void 0 && (t = kWe);
	var n = [],
		r = !1,
		i = {
			read: function() {
				if (r) throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
				return n.length ? n[n.length - 1] : e
			},
			useMedium: function(o) {
				var a = t(o, r);
				return n.push(a),
					function() {
						n = n.filter(function(s) {
							return s !== a
						})
					}
			},
			assignSyncMedium: function(o) {
				for (r = !0; n.length;) {
					var a = n;
					n = [], a.forEach(o)
				}
				n = {
					push: function(s) {
						return o(s)
					},
					filter: function() {
						return n
					}
				}
			},
			assignMedium: function(o) {
				r = !0;
				var a = [];
				if (n.length) {
					var s = n;
					n = [], s.forEach(o), a = n
				}
				var u = function() {
						var c = a;
						a = [], c.forEach(o)
					},
					l = function() {
						return Promise.resolve().then(u)
					};
				l(), n = {
					push: function(c) {
						a.push(c), l()
					},
					filter: function(c) {
						return a = a.filter(c), n
					}
				}
			}
		};
	return i
}

function MWe(e) {
	e === void 0 && (e = {});
	var t = AWe(null);
	return t.options = f_({
		async: !0,
		ssr: !1
	}, e), t
}
var OX = function(e) {
	var t = e.sideCar,
		n = IWe(e, ["sideCar"]);
	if (!t) throw new Error("Sidecar: please provide `sideCar` property to import the right car");
	var r = t.read();
	if (!r) throw new Error("Sidecar medium not found");
	return h.createElement(r, f_({}, n))
};
OX.isSideCarExport = !0;

function PWe(e, t) {
	return e.useMedium(t), OX
}
var TX = MWe(),
	Yx = function() {},
	u4 = h.forwardRef(function(e, t) {
		var n = h.useRef(null),
			r = h.useState({
				onScrollCapture: Yx,
				onWheelCapture: Yx,
				onTouchMoveCapture: Yx
			}),
			i = r[0],
			o = r[1],
			a = e.forwardProps,
			s = e.children,
			u = e.className,
			l = e.removeScrollBar,
			c = e.enabled,
			d = e.shards,
			p = e.sideCar,
			g = e.noIsolation,
			m = e.inert,
			_ = e.allowPinchZoom,
			S = e.as,
			y = S === void 0 ? "div" : S,
			w = e.gapMode,
			b = SWe(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]),
			E = p,
			T = RWe([n, t]),
			O = Bu(Bu({}, b), i);
		return h.createElement(h.Fragment, null, c && h.createElement(E, {
			sideCar: TX,
			removeScrollBar: l,
			shards: d,
			noIsolation: g,
			inert: m,
			setCallbacks: o,
			allowPinchZoom: !!_,
			lockRef: n,
			gapMode: w
		}), a ? h.cloneElement(h.Children.only(s), Bu(Bu({}, O), {
			ref: T
		})) : h.createElement(y, Bu({}, O, {
			className: u,
			ref: T
		}), s))
	});
u4.defaultProps = {
	enabled: !0,
	removeScrollBar: !0,
	inert: !1
};
u4.classNames = {
	fullWidth: g2,
	zeroRight: v2
};

function LWe() {
	if (!document) return null;
	var e = document.createElement("style");
	e.type = "text/css";
	var t = HZ();
	return t && e.setAttribute("nonce", t), e
}

function NWe(e, t) {
	e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t))
}

function DWe(e) {
	var t = document.head || document.getElementsByTagName("head")[0];
	t.appendChild(e)
}
var $We = function() {
		var e = 0,
			t = null;
		return {
			add: function(n) {
				e == 0 && (t = LWe()) && (NWe(t, n), DWe(t)), e++
			},
			remove: function() {
				e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null)
			}
		}
	},
	FWe = function() {
		var e = $We();
		return function(t, n) {
			h.useEffect(function() {
				return e.add(t),
					function() {
						e.remove()
					}
			}, [t && n])
		}
	},
	RX = function() {
		var e = FWe(),
			t = function(n) {
				var r = n.styles,
					i = n.dynamic;
				return e(r, i), null
			};
		return t
	},
	jWe = {
		left: 0,
		top: 0,
		right: 0,
		gap: 0
	},
	Xx = function(e) {
		return parseInt(e || "", 10) || 0
	},
	UWe = function(e) {
		var t = window.getComputedStyle(document.body),
			n = t[e === "padding" ? "paddingLeft" : "marginLeft"],
			r = t[e === "padding" ? "paddingTop" : "marginTop"],
			i = t[e === "padding" ? "paddingRight" : "marginRight"];
		return [Xx(n), Xx(r), Xx(i)]
	},
	HWe = function(e) {
		if (e === void 0 && (e = "margin"), typeof window > "u") return jWe;
		var t = UWe(e),
			n = document.documentElement.clientWidth,
			r = window.innerWidth;
		return {
			left: t[0],
			top: t[1],
			right: t[2],
			gap: Math.max(0, r - n + t[2] - t[0])
		}
	},
	VWe = RX(),
	gp = "data-scroll-locked",
	BWe = function(e, t, n, r) {
		var i = e.left,
			o = e.top,
			a = e.right,
			s = e.gap;
		return n === void 0 && (n = "margin"), "\n  .".concat(EWe, " {\n   overflow: hidden ").concat(r, ";\n   padding-right: ").concat(s, "px ").concat(r, ";\n  }\n  body[").concat(gp, "] {\n    overflow: hidden ").concat(r, ";\n    overscroll-behavior: contain;\n    ").concat([t && "position: relative ".concat(r, ";"), n === "margin" && "\n    padding-left: ".concat(i, "px;\n    padding-top: ").concat(o, "px;\n    padding-right: ").concat(a, "px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s, "px ").concat(r, ";\n    "), n === "padding" && "padding-right: ".concat(s, "px ").concat(r, ";")].filter(Boolean).join(""), "\n  }\n  \n  .").concat(v2, " {\n    right: ").concat(s, "px ").concat(r, ";\n  }\n  \n  .").concat(g2, " {\n    margin-right: ").concat(s, "px ").concat(r, ";\n  }\n  \n  .").concat(v2, " .").concat(v2, " {\n    right: 0 ").concat(r, ";\n  }\n  \n  .").concat(g2, " .").concat(g2, " {\n    margin-right: 0 ").concat(r, ";\n  }\n  \n  body[").concat(gp, "] {\n    ").concat(CWe, ": ").concat(s, "px;\n  }\n")
	},
	P$ = function() {
		var e = parseInt(document.body.getAttribute(gp) || "0", 10);
		return isFinite(e) ? e : 0
	},
	zWe = function() {
		h.useEffect(function() {
			return document.body.setAttribute(gp, (P$() + 1).toString()),
				function() {
					var e = P$() - 1;
					e <= 0 ? document.body.removeAttribute(gp) : document.body.setAttribute(gp, e.toString())
				}
		}, [])
	},
	GWe = function(e) {
		var t = e.noRelative,
			n = e.noImportant,
			r = e.gapMode,
			i = r === void 0 ? "margin" : r;
		zWe();
		var o = h.useMemo(function() {
			return HWe(i)
		}, [i]);
		return h.createElement(VWe, {
			styles: BWe(o, !t, i, n ? "" : "!important")
		})
	},
	h6 = !1;
if (typeof window < "u") try {
	var wy = Object.defineProperty({}, "passive", {
		get: function() {
			return h6 = !0, !0
		}
	});
	window.addEventListener("test", wy, wy), window.removeEventListener("test", wy, wy)
} catch (e) {
	h6 = !1
}
var bd = h6 ? {
		passive: !1
	} : !1,
	WWe = function(e) {
		return e.tagName === "TEXTAREA"
	},
	IX = function(e, t) {
		var n = window.getComputedStyle(e);
		return n[t] !== "hidden" && !(n.overflowY === n.overflowX && !WWe(e) && n[t] === "visible")
	},
	KWe = function(e) {
		return IX(e, "overflowY")
	},
	ZWe = function(e) {
		return IX(e, "overflowX")
	},
	L$ = function(e, t) {
		var n = t.ownerDocument,
			r = t;
		do {
			typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
			var i = kX(e, r);
			if (i) {
				var o = AX(e, r),
					a = o[1],
					s = o[2];
				if (a > s) return !0
			}
			r = r.parentNode
		} while (r && r !== n.body);
		return !1
	},
	qWe = function(e) {
		var t = e.scrollTop,
			n = e.scrollHeight,
			r = e.clientHeight;
		return [t, n, r]
	},
	YWe = function(e) {
		var t = e.scrollLeft,
			n = e.scrollWidth,
			r = e.clientWidth;
		return [t, n, r]
	},
	kX = function(e, t) {
		return e === "v" ? KWe(t) : ZWe(t)
	},
	AX = function(e, t) {
		return e === "v" ? qWe(t) : YWe(t)
	},
	XWe = function(e, t) {
		return e === "h" && t === "rtl" ? -1 : 1
	},
	JWe = function(e, t, n, r, i) {
		var o = XWe(e, window.getComputedStyle(t).direction),
			a = o * r,
			s = n.target,
			u = t.contains(s),
			l = !1,
			c = a > 0,
			d = 0,
			p = 0;
		do {
			var g = AX(e, s),
				m = g[0],
				_ = g[1],
				S = g[2],
				y = _ - S - o * m;
			(m || y) && kX(e, s) && (d += y, p += m), s instanceof ShadowRoot ? s = s.host : s = s.parentNode
		} while (!u && s !== document.body || u && (t.contains(s) || t === s));
		return (c && (Math.abs(d) < 1 || !i) || !c && (Math.abs(p) < 1 || !i)) && (l = !0), l
	},
	_y = function(e) {
		return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0]
	},
	N$ = function(e) {
		return [e.deltaX, e.deltaY]
	},
	D$ = function(e) {
		return e && "current" in e ? e.current : e
	},
	QWe = function(e, t) {
		return e[0] === t[0] && e[1] === t[1]
	},
	eKe = function(e) {
		return "\n  .block-interactivity-".concat(e, " {pointer-events: none;}\n  .allow-interactivity-").concat(e, " {pointer-events: all;}\n")
	},
	tKe = 0,
	Sd = [];

function nKe(e) {
	var t = h.useRef([]),
		n = h.useRef([0, 0]),
		r = h.useRef(),
		i = h.useState(tKe++)[0],
		o = h.useState(RX)[0],
		a = h.useRef(e);
	h.useEffect(function() {
		a.current = e
	}, [e]), h.useEffect(function() {
		if (e.inert) {
			document.body.classList.add("block-interactivity-".concat(i));
			var _ = xWe([e.lockRef.current], (e.shards || []).map(D$), !0).filter(Boolean);
			return _.forEach(function(S) {
					return S.classList.add("allow-interactivity-".concat(i))
				}),
				function() {
					document.body.classList.remove("block-interactivity-".concat(i)), _.forEach(function(S) {
						return S.classList.remove("allow-interactivity-".concat(i))
					})
				}
		}
	}, [e.inert, e.lockRef.current, e.shards]);
	var s = h.useCallback(function(_, S) {
			if ("touches" in _ && _.touches.length === 2) return !a.current.allowPinchZoom;
			var y = _y(_),
				w = n.current,
				b = "deltaX" in _ ? _.deltaX : w[0] - y[0],
				E = "deltaY" in _ ? _.deltaY : w[1] - y[1],
				T, O = _.target,
				R = Math.abs(b) > Math.abs(E) ? "h" : "v";
			if ("touches" in _ && R === "h" && O.type === "range") return !1;
			var k = L$(R, O);
			if (!k) return !0;
			if (k ? T = R : (T = R === "v" ? "h" : "v", k = L$(R, O)), !k) return !1;
			if (!r.current && "changedTouches" in _ && (b || E) && (r.current = T), !T) return !0;
			var M = r.current || T;
			return JWe(M, S, _, M === "h" ? b : E, !0)
		}, []),
		u = h.useCallback(function(_) {
			var S = _;
			if (!(!Sd.length || Sd[Sd.length - 1] !== o)) {
				var y = "deltaY" in S ? N$(S) : _y(S),
					w = t.current.filter(function(T) {
						return T.name === S.type && (T.target === S.target || S.target === T.shadowParent) && QWe(T.delta, y)
					})[0];
				if (w && w.should) {
					S.cancelable && S.preventDefault();
					return
				}
				if (!w) {
					var b = (a.current.shards || []).map(D$).filter(Boolean).filter(function(T) {
							return T.contains(S.target)
						}),
						E = b.length > 0 ? s(S, b[0]) : !a.current.noIsolation;
					E && S.cancelable && S.preventDefault()
				}
			}
		}, []),
		l = h.useCallback(function(_, S, y, w) {
			var b = {
				name: _,
				delta: S,
				target: y,
				should: w,
				shadowParent: rKe(y)
			};
			t.current.push(b), setTimeout(function() {
				t.current = t.current.filter(function(E) {
					return E !== b
				})
			}, 1)
		}, []),
		c = h.useCallback(function(_) {
			n.current = _y(_), r.current = void 0
		}, []),
		d = h.useCallback(function(_) {
			l(_.type, N$(_), _.target, s(_, e.lockRef.current))
		}, []),
		p = h.useCallback(function(_) {
			l(_.type, _y(_), _.target, s(_, e.lockRef.current))
		}, []);
	h.useEffect(function() {
		return Sd.push(o), e.setCallbacks({
				onScrollCapture: d,
				onWheelCapture: d,
				onTouchMoveCapture: p
			}), document.addEventListener("wheel", u, bd), document.addEventListener("touchmove", u, bd), document.addEventListener("touchstart", c, bd),
			function() {
				Sd = Sd.filter(function(_) {
					return _ !== o
				}), document.removeEventListener("wheel", u, bd), document.removeEventListener("touchmove", u, bd), document.removeEventListener("touchstart", c, bd)
			}
	}, []);
	var g = e.removeScrollBar,
		m = e.inert;
	return h.createElement(h.Fragment, null, m ? h.createElement(o, {
		styles: eKe(i)
	}) : null, g ? h.createElement(GWe, {
		gapMode: e.gapMode
	}) : null)
}

function rKe(e) {
	for (var t = null; e !== null;) e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
	return t
}
const iKe = PWe(TX, nKe);
var MX = h.forwardRef(function(e, t) {
	return h.createElement(u4, Bu({}, e, {
		ref: t,
		sideCar: iKe
	}))
});
MX.classNames = u4.classNames;
var v6 = ["Enter", " "],
	oKe = ["ArrowDown", "PageUp", "Home"],
	PX = ["ArrowUp", "PageDown", "End"],
	aKe = [...oKe, ...PX],
	sKe = {
		ltr: [...v6, "ArrowRight"],
		rtl: [...v6, "ArrowLeft"]
	},
	uKe = {
		ltr: ["ArrowLeft"],
		rtl: ["ArrowRight"]
	},
	vg = "Menu",
	[p1, lKe, cKe] = tX(vg),
	[Nf, LX] = pg(vg, [cKe, cX, bX]),
	l4 = cX(),
	NX = bX(),
	[fKe, Df] = Nf(vg),
	[dKe, gg] = Nf(vg),
	DX = e => {
		const {
			__scopeMenu: t,
			open: n = !1,
			children: r,
			dir: i,
			onOpenChange: o,
			modal: a = !0
		} = e, s = l4(t), [u, l] = h.useState(null), c = h.useRef(!1), d = la(o), p = nX(i);
		return h.useEffect(() => {
			const g = () => {
					c.current = !0, document.addEventListener("pointerdown", m, {
						capture: !0,
						once: !0
					}), document.addEventListener("pointermove", m, {
						capture: !0,
						once: !0
					})
				},
				m = () => c.current = !1;
			return document.addEventListener("keydown", g, {
				capture: !0
			}), () => {
				document.removeEventListener("keydown", g, {
					capture: !0
				}), document.removeEventListener("pointerdown", m, {
					capture: !0
				}), document.removeEventListener("pointermove", m, {
					capture: !0
				})
			}
		}, []), C.jsx(nWe, {
			...s,
			children: C.jsx(fKe, {
				scope: t,
				open: n,
				onOpenChange: d,
				content: u,
				onContentChange: l,
				children: C.jsx(dKe, {
					scope: t,
					onClose: h.useCallback(() => d(!1), [d]),
					isUsingKeyboardRef: c,
					dir: p,
					modal: a,
					children: r
				})
			})
		})
	};
DX.displayName = vg;
var pKe = "MenuAnchor",
	d9 = h.forwardRef((e, t) => {
		const {
			__scopeMenu: n,
			...r
		} = e, i = l4(n);
		return C.jsx(rWe, {
			...i,
			...r,
			ref: t
		})
	});
d9.displayName = pKe;
var p9 = "MenuPortal",
	[hKe, $X] = Nf(p9, {
		forceMount: void 0
	}),
	FX = e => {
		const {
			__scopeMenu: t,
			forceMount: n,
			children: r,
			container: i
		} = e, o = Df(p9, t);
		return C.jsx(hKe, {
			scope: t,
			forceMount: n,
			children: C.jsx(hg, {
				present: n || o.open,
				children: C.jsx(wX, {
					asChild: !0,
					container: i,
					children: r
				})
			})
		})
	};
FX.displayName = p9;
var Eo = "MenuContent",
	[vKe, h9] = Nf(Eo),
	jX = h.forwardRef((e, t) => {
		const n = $X(Eo, e.__scopeMenu),
			{
				forceMount: r = n.forceMount,
				...i
			} = e,
			o = Df(Eo, e.__scopeMenu),
			a = gg(Eo, e.__scopeMenu);
		return C.jsx(p1.Provider, {
			scope: e.__scopeMenu,
			children: C.jsx(hg, {
				present: r || o.open,
				children: C.jsx(p1.Slot, {
					scope: e.__scopeMenu,
					children: a.modal ? C.jsx(gKe, {
						...i,
						ref: t
					}) : C.jsx(mKe, {
						...i,
						ref: t
					})
				})
			})
		})
	}),
	gKe = h.forwardRef((e, t) => {
		const n = Df(Eo, e.__scopeMenu),
			r = h.useRef(null),
			i = Ti(t, r);
		return h.useEffect(() => {
			const o = r.current;
			if (o) return FZ(o)
		}, []), C.jsx(v9, {
			...e,
			ref: i,
			trapFocus: n.open,
			disableOutsidePointerEvents: n.open,
			disableOutsideScroll: !0,
			onFocusOutside: He(e.onFocusOutside, o => o.preventDefault(), {
				checkForDefaultPrevented: !1
			}),
			onDismiss: () => n.onOpenChange(!1)
		})
	}),
	mKe = h.forwardRef((e, t) => {
		const n = Df(Eo, e.__scopeMenu);
		return C.jsx(v9, {
			...e,
			ref: t,
			trapFocus: !1,
			disableOutsidePointerEvents: !1,
			disableOutsideScroll: !1,
			onDismiss: () => n.onOpenChange(!1)
		})
	}),
	v9 = h.forwardRef((e, t) => {
		const {
			__scopeMenu: n,
			loop: r = !1,
			trapFocus: i,
			onOpenAutoFocus: o,
			onCloseAutoFocus: a,
			disableOutsidePointerEvents: s,
			onEntryFocus: u,
			onEscapeKeyDown: l,
			onPointerDownOutside: c,
			onFocusOutside: d,
			onInteractOutside: p,
			onDismiss: g,
			disableOutsideScroll: m,
			..._
		} = e, S = Df(Eo, n), y = gg(Eo, n), w = l4(n), b = NX(n), E = lKe(n), [T, O] = h.useState(null), R = h.useRef(null), k = Ti(t, R, S.onContentChange), M = h.useRef(0), D = h.useRef(""), P = h.useRef(0), U = h.useRef(null), H = h.useRef("right"), G = h.useRef(0), K = m ? MX : h.Fragment, ee = m ? {
			as: d1,
			allowPinchZoom: !0
		} : void 0, te = F => {
			var pe, Ee;
			const j = D.current + F,
				B = E().filter(be => !be.disabled),
				Z = document.activeElement,
				z = (pe = B.find(be => be.ref.current === Z)) == null ? void 0 : pe.textValue,
				Q = B.map(be => be.textValue),
				ie = IKe(Q, j, z),
				le = (Ee = B.find(be => be.textValue === ie)) == null ? void 0 : Ee.ref.current;
			(function be(st) {
				D.current = st, window.clearTimeout(M.current), st !== "" && (M.current = window.setTimeout(() => be(""), 1e3))
			})(j), le && setTimeout(() => le.focus())
		};
		h.useEffect(() => () => window.clearTimeout(M.current), []), jGe();
		const q = h.useCallback(F => {
			var B, Z;
			return H.current === ((B = U.current) == null ? void 0 : B.side) && AKe(F, (Z = U.current) == null ? void 0 : Z.area)
		}, []);
		return C.jsx(vKe, {
			scope: n,
			searchRef: D,
			onItemEnter: h.useCallback(F => {
				q(F) && F.preventDefault()
			}, [q]),
			onItemLeave: h.useCallback(F => {
				var j;
				q(F) || ((j = R.current) == null || j.focus(), O(null))
			}, [q]),
			onTriggerLeave: h.useCallback(F => {
				q(F) && F.preventDefault()
			}, [q]),
			pointerGraceTimerRef: P,
			onPointerGraceIntentChange: h.useCallback(F => {
				U.current = F
			}, []),
			children: C.jsx(K, {
				...ee,
				children: C.jsx(aX, {
					asChild: !0,
					trapped: i,
					onMountAutoFocus: He(o, F => {
						var j;
						F.preventDefault(), (j = R.current) == null || j.focus({
							preventScroll: !0
						})
					}),
					onUnmountAutoFocus: a,
					children: C.jsx(iX, {
						asChild: !0,
						disableOutsidePointerEvents: s,
						onEscapeKeyDown: l,
						onPointerDownOutside: c,
						onFocusOutside: d,
						onInteractOutside: p,
						onDismiss: g,
						children: C.jsx(_We, {
							asChild: !0,
							...b,
							dir: y.dir,
							orientation: "vertical",
							loop: r,
							currentTabStopId: T,
							onCurrentTabStopIdChange: O,
							onEntryFocus: He(u, F => {
								y.isUsingKeyboardRef.current || F.preventDefault()
							}),
							preventScrollOnEntryFocus: !0,
							children: C.jsx(iWe, {
								role: "menu",
								"aria-orientation": "vertical",
								"data-state": tJ(S.open),
								"data-radix-menu-content": "",
								dir: y.dir,
								...w,
								..._,
								ref: k,
								style: {
									outline: "none",
									..._.style
								},
								onKeyDown: He(_.onKeyDown, F => {
									const B = F.target.closest("[data-radix-menu-content]") === F.currentTarget,
										Z = F.ctrlKey || F.altKey || F.metaKey,
										z = F.key.length === 1;
									B && (F.key === "Tab" && F.preventDefault(), !Z && z && te(F.key));
									const Q = R.current;
									if (F.target !== Q || !aKe.includes(F.key)) return;
									F.preventDefault();
									const le = E().filter(pe => !pe.disabled).map(pe => pe.ref.current);
									PX.includes(F.key) && le.reverse(), TKe(le)
								}),
								onBlur: He(e.onBlur, F => {
									F.currentTarget.contains(F.target) || (window.clearTimeout(M.current), D.current = "")
								}),
								onPointerMove: He(e.onPointerMove, h1(F => {
									const j = F.target,
										B = G.current !== F.clientX;
									if (F.currentTarget.contains(j) && B) {
										const Z = F.clientX > G.current ? "right" : "left";
										H.current = Z, G.current = F.clientX
									}
								}))
							})
						})
					})
				})
			})
		})
	});
jX.displayName = Eo;
var yKe = "MenuGroup",
	g9 = h.forwardRef((e, t) => {
		const {
			__scopeMenu: n,
			...r
		} = e;
		return C.jsx(Jr.div, {
			role: "group",
			...r,
			ref: t
		})
	});
g9.displayName = yKe;
var wKe = "MenuLabel",
	UX = h.forwardRef((e, t) => {
		const {
			__scopeMenu: n,
			...r
		} = e;
		return C.jsx(Jr.div, {
			...r,
			ref: t
		})
	});
UX.displayName = wKe;
var d_ = "MenuItem",
	$$ = "menu.itemSelect",
	c4 = h.forwardRef((e, t) => {
		const {
			disabled: n = !1,
			onSelect: r,
			...i
		} = e, o = h.useRef(null), a = gg(d_, e.__scopeMenu), s = h9(d_, e.__scopeMenu), u = Ti(t, o), l = h.useRef(!1), c = () => {
			const d = o.current;
			if (!n && d) {
				const p = new CustomEvent($$, {
					bubbles: !0,
					cancelable: !0
				});
				d.addEventListener($$, g => r == null ? void 0 : r(g), {
					once: !0
				}), eX(d, p), p.defaultPrevented ? l.current = !1 : a.onClose()
			}
		};
		return C.jsx(HX, {
			...i,
			ref: u,
			disabled: n,
			onClick: He(e.onClick, c),
			onPointerDown: d => {
				var p;
				(p = e.onPointerDown) == null || p.call(e, d), l.current = !0
			},
			onPointerUp: He(e.onPointerUp, d => {
				var p;
				l.current || (p = d.currentTarget) == null || p.click()
			}),
			onKeyDown: He(e.onKeyDown, d => {
				const p = s.searchRef.current !== "";
				n || p && d.key === " " || v6.includes(d.key) && (d.currentTarget.click(), d.preventDefault())
			})
		})
	});
c4.displayName = d_;
var HX = h.forwardRef((e, t) => {
		const {
			__scopeMenu: n,
			disabled: r = !1,
			textValue: i,
			...o
		} = e, a = h9(d_, n), s = NX(n), u = h.useRef(null), l = Ti(t, u), [c, d] = h.useState(!1), [p, g] = h.useState("");
		return h.useEffect(() => {
			var _;
			const m = u.current;
			m && g(((_ = m.textContent) != null ? _ : "").trim())
		}, [o.children]), C.jsx(p1.ItemSlot, {
			scope: n,
			disabled: r,
			textValue: i != null ? i : p,
			children: C.jsx(bWe, {
				asChild: !0,
				...s,
				focusable: !r,
				children: C.jsx(Jr.div, {
					role: "menuitem",
					"data-highlighted": c ? "" : void 0,
					"aria-disabled": r || void 0,
					"data-disabled": r ? "" : void 0,
					...o,
					ref: l,
					onPointerMove: He(e.onPointerMove, h1(m => {
						r ? a.onItemLeave(m) : (a.onItemEnter(m), m.defaultPrevented || m.currentTarget.focus({
							preventScroll: !0
						}))
					})),
					onPointerLeave: He(e.onPointerLeave, h1(m => a.onItemLeave(m))),
					onFocus: He(e.onFocus, () => d(!0)),
					onBlur: He(e.onBlur, () => d(!1))
				})
			})
		})
	}),
	_Ke = "MenuCheckboxItem",
	VX = h.forwardRef((e, t) => {
		const {
			checked: n = !1,
			onCheckedChange: r,
			...i
		} = e;
		return C.jsx(KX, {
			scope: e.__scopeMenu,
			checked: n,
			children: C.jsx(c4, {
				role: "menuitemcheckbox",
				"aria-checked": p_(n) ? "mixed" : n,
				...i,
				ref: t,
				"data-state": y9(n),
				onSelect: He(i.onSelect, () => r == null ? void 0 : r(p_(n) ? !0 : !n), {
					checkForDefaultPrevented: !1
				})
			})
		})
	});
VX.displayName = _Ke;
var BX = "MenuRadioGroup",
	[bKe, SKe] = Nf(BX, {
		value: void 0,
		onValueChange: () => {}
	}),
	zX = h.forwardRef((e, t) => {
		const {
			value: n,
			onValueChange: r,
			...i
		} = e, o = la(r);
		return C.jsx(bKe, {
			scope: e.__scopeMenu,
			value: n,
			onValueChange: o,
			children: C.jsx(g9, {
				...i,
				ref: t
			})
		})
	});
zX.displayName = BX;
var GX = "MenuRadioItem",
	WX = h.forwardRef((e, t) => {
		const {
			value: n,
			...r
		} = e, i = SKe(GX, e.__scopeMenu), o = n === i.value;
		return C.jsx(KX, {
			scope: e.__scopeMenu,
			checked: o,
			children: C.jsx(c4, {
				role: "menuitemradio",
				"aria-checked": o,
				...r,
				ref: t,
				"data-state": y9(o),
				onSelect: He(r.onSelect, () => {
					var a;
					return (a = i.onValueChange) == null ? void 0 : a.call(i, n)
				}, {
					checkForDefaultPrevented: !1
				})
			})
		})
	});
WX.displayName = GX;
var m9 = "MenuItemIndicator",
	[KX, xKe] = Nf(m9, {
		checked: !1
	}),
	ZX = h.forwardRef((e, t) => {
		const {
			__scopeMenu: n,
			forceMount: r,
			...i
		} = e, o = xKe(m9, n);
		return C.jsx(hg, {
			present: r || p_(o.checked) || o.checked === !0,
			children: C.jsx(Jr.span, {
				...i,
				ref: t,
				"data-state": y9(o.checked)
			})
		})
	});
ZX.displayName = m9;
var EKe = "MenuSeparator",
	qX = h.forwardRef((e, t) => {
		const {
			__scopeMenu: n,
			...r
		} = e;
		return C.jsx(Jr.div, {
			role: "separator",
			"aria-orientation": "horizontal",
			...r,
			ref: t
		})
	});
qX.displayName = EKe;
var CKe = "MenuArrow",
	YX = h.forwardRef((e, t) => {
		const {
			__scopeMenu: n,
			...r
		} = e, i = l4(n);
		return C.jsx(oWe, {
			...i,
			...r,
			ref: t
		})
	});
YX.displayName = CKe;
var OKe = "MenuSub",
	[Sut, XX] = Nf(OKe),
	Y0 = "MenuSubTrigger",
	JX = h.forwardRef((e, t) => {
		const n = Df(Y0, e.__scopeMenu),
			r = gg(Y0, e.__scopeMenu),
			i = XX(Y0, e.__scopeMenu),
			o = h9(Y0, e.__scopeMenu),
			a = h.useRef(null),
			{
				pointerGraceTimerRef: s,
				onPointerGraceIntentChange: u
			} = o,
			l = {
				__scopeMenu: e.__scopeMenu
			},
			c = h.useCallback(() => {
				a.current && window.clearTimeout(a.current), a.current = null
			}, []);
		return h.useEffect(() => c, [c]), h.useEffect(() => {
			const d = s.current;
			return () => {
				window.clearTimeout(d), u(null)
			}
		}, [s, u]), C.jsx(d9, {
			asChild: !0,
			...l,
			children: C.jsx(HX, {
				id: i.triggerId,
				"aria-haspopup": "menu",
				"aria-expanded": n.open,
				"aria-controls": i.contentId,
				"data-state": tJ(n.open),
				...e,
				ref: a4(t, i.onTriggerChange),
				onClick: d => {
					var p;
					(p = e.onClick) == null || p.call(e, d), !(e.disabled || d.defaultPrevented) && (d.currentTarget.focus(), n.open || n.onOpenChange(!0))
				},
				onPointerMove: He(e.onPointerMove, h1(d => {
					o.onItemEnter(d), !d.defaultPrevented && !e.disabled && !n.open && !a.current && (o.onPointerGraceIntentChange(null), a.current = window.setTimeout(() => {
						n.onOpenChange(!0), c()
					}, 100))
				})),
				onPointerLeave: He(e.onPointerLeave, h1(d => {
					var g, m;
					c();
					const p = (g = n.content) == null ? void 0 : g.getBoundingClientRect();
					if (p) {
						const _ = (m = n.content) == null ? void 0 : m.dataset.side,
							S = _ === "right",
							y = S ? -5 : 5,
							w = p[S ? "left" : "right"],
							b = p[S ? "right" : "left"];
						o.onPointerGraceIntentChange({
							area: [{
								x: d.clientX + y,
								y: d.clientY
							}, {
								x: w,
								y: p.top
							}, {
								x: b,
								y: p.top
							}, {
								x: b,
								y: p.bottom
							}, {
								x: w,
								y: p.bottom
							}],
							side: _
						}), window.clearTimeout(s.current), s.current = window.setTimeout(() => o.onPointerGraceIntentChange(null), 300)
					} else {
						if (o.onTriggerLeave(d), d.defaultPrevented) return;
						o.onPointerGraceIntentChange(null)
					}
				})),
				onKeyDown: He(e.onKeyDown, d => {
					var g;
					const p = o.searchRef.current !== "";
					e.disabled || p && d.key === " " || sKe[r.dir].includes(d.key) && (n.onOpenChange(!0), (g = n.content) == null || g.focus(), d.preventDefault())
				})
			})
		})
	});
JX.displayName = Y0;
var QX = "MenuSubContent",
	eJ = h.forwardRef((e, t) => {
		const n = $X(Eo, e.__scopeMenu),
			{
				forceMount: r = n.forceMount,
				...i
			} = e,
			o = Df(Eo, e.__scopeMenu),
			a = gg(Eo, e.__scopeMenu),
			s = XX(QX, e.__scopeMenu),
			u = h.useRef(null),
			l = Ti(t, u);
		return C.jsx(p1.Provider, {
			scope: e.__scopeMenu,
			children: C.jsx(hg, {
				present: r || o.open,
				children: C.jsx(p1.Slot, {
					scope: e.__scopeMenu,
					children: C.jsx(v9, {
						id: s.contentId,
						"aria-labelledby": s.triggerId,
						...i,
						ref: l,
						align: "start",
						side: a.dir === "rtl" ? "left" : "right",
						disableOutsidePointerEvents: !1,
						disableOutsideScroll: !1,
						trapFocus: !1,
						onOpenAutoFocus: c => {
							var d;
							a.isUsingKeyboardRef.current && ((d = u.current) == null || d.focus()), c.preventDefault()
						},
						onCloseAutoFocus: c => c.preventDefault(),
						onFocusOutside: He(e.onFocusOutside, c => {
							c.target !== s.trigger && o.onOpenChange(!1)
						}),
						onEscapeKeyDown: He(e.onEscapeKeyDown, c => {
							a.onClose(), c.preventDefault()
						}),
						onKeyDown: He(e.onKeyDown, c => {
							var g;
							const d = c.currentTarget.contains(c.target),
								p = uKe[a.dir].includes(c.key);
							d && p && (o.onOpenChange(!1), (g = s.trigger) == null || g.focus(), c.preventDefault())
						})
					})
				})
			})
		})
	});
eJ.displayName = QX;

function tJ(e) {
	return e ? "open" : "closed"
}

function p_(e) {
	return e === "indeterminate"
}

function y9(e) {
	return p_(e) ? "indeterminate" : e ? "checked" : "unchecked"
}

function TKe(e) {
	const t = document.activeElement;
	for (const n of e)
		if (n === t || (n.focus(), document.activeElement !== t)) return
}

function RKe(e, t) {
	return e.map((n, r) => e[(t + r) % e.length])
}

function IKe(e, t, n) {
	const i = t.length > 1 && Array.from(t).every(l => l === t[0]) ? t[0] : t,
		o = n ? e.indexOf(n) : -1;
	let a = RKe(e, Math.max(o, 0));
	i.length === 1 && (a = a.filter(l => l !== n));
	const u = a.find(l => l.toLowerCase().startsWith(i.toLowerCase()));
	return u !== n ? u : void 0
}

function kKe(e, t) {
	const {
		x: n,
		y: r
	} = e;
	let i = !1;
	for (let o = 0, a = t.length - 1; o < t.length; a = o++) {
		const s = t[o].x,
			u = t[o].y,
			l = t[a].x,
			c = t[a].y;
		u > r != c > r && n < (l - s) * (r - u) / (c - u) + s && (i = !i)
	}
	return i
}

function AKe(e, t) {
	if (!t) return !1;
	const n = {
		x: e.clientX,
		y: e.clientY
	};
	return kKe(n, t)
}

function h1(e) {
	return t => t.pointerType === "mouse" ? e(t) : void 0
}
var MKe = DX,
	PKe = d9,
	LKe = FX,
	NKe = jX,
	DKe = g9,
	$Ke = UX,
	FKe = c4,
	jKe = VX,
	UKe = zX,
	HKe = WX,
	VKe = ZX,
	BKe = qX,
	zKe = YX,
	GKe = JX,
	WKe = eJ,
	w9 = "DropdownMenu",
	[KKe, xut] = pg(w9, [LX]),
	Qr = LX(),
	[ZKe, nJ] = KKe(w9),
	rJ = e => {
		const {
			__scopeDropdownMenu: t,
			children: n,
			dir: r,
			open: i,
			defaultOpen: o,
			onOpenChange: a,
			modal: s = !0
		} = e, u = Qr(t), l = h.useRef(null), [c = !1, d] = QY({
			prop: i,
			defaultProp: o,
			onChange: a
		});
		return C.jsx(ZKe, {
			scope: t,
			triggerId: _l(),
			triggerRef: l,
			contentId: _l(),
			open: c,
			onOpenChange: d,
			onOpenToggle: h.useCallback(() => d(p => !p), [d]),
			modal: s,
			children: C.jsx(MKe, {
				...u,
				open: c,
				onOpenChange: d,
				dir: r,
				modal: s,
				children: n
			})
		})
	};
rJ.displayName = w9;
var iJ = "DropdownMenuTrigger",
	oJ = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			disabled: r = !1,
			...i
		} = e, o = nJ(iJ, n), a = Qr(n);
		return C.jsx(PKe, {
			asChild: !0,
			...a,
			children: C.jsx(Jr.button, {
				type: "button",
				id: o.triggerId,
				"aria-haspopup": "menu",
				"aria-expanded": o.open,
				"aria-controls": o.open ? o.contentId : void 0,
				"data-state": o.open ? "open" : "closed",
				"data-disabled": r ? "" : void 0,
				disabled: r,
				...i,
				ref: a4(t, o.triggerRef),
				onPointerDown: He(e.onPointerDown, s => {
					!r && s.button === 0 && s.ctrlKey === !1 && (o.onOpenToggle(), o.open || s.preventDefault())
				}),
				onKeyDown: He(e.onKeyDown, s => {
					r || (["Enter", " "].includes(s.key) && o.onOpenToggle(), s.key === "ArrowDown" && o.onOpenChange(!0), ["Enter", " ", "ArrowDown"].includes(s.key) && s.preventDefault())
				})
			})
		})
	});
oJ.displayName = iJ;
var qKe = "DropdownMenuPortal",
	aJ = e => {
		const {
			__scopeDropdownMenu: t,
			...n
		} = e, r = Qr(t);
		return C.jsx(LKe, {
			...r,
			...n
		})
	};
aJ.displayName = qKe;
var sJ = "DropdownMenuContent",
	uJ = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = nJ(sJ, n), o = Qr(n), a = h.useRef(!1);
		return C.jsx(NKe, {
			id: i.contentId,
			"aria-labelledby": i.triggerId,
			...o,
			...r,
			ref: t,
			onCloseAutoFocus: He(e.onCloseAutoFocus, s => {
				var u;
				a.current || (u = i.triggerRef.current) == null || u.focus(), a.current = !1, s.preventDefault()
			}),
			onInteractOutside: He(e.onInteractOutside, s => {
				const u = s.detail.originalEvent,
					l = u.button === 0 && u.ctrlKey === !0,
					c = u.button === 2 || l;
				(!i.modal || c) && (a.current = !0)
			}),
			style: {
				...e.style,
				"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
				"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
				"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
				"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
				"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
			}
		})
	});
uJ.displayName = sJ;
var YKe = "DropdownMenuGroup",
	XKe = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(DKe, {
			...i,
			...r,
			ref: t
		})
	});
XKe.displayName = YKe;
var JKe = "DropdownMenuLabel",
	QKe = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx($Ke, {
			...i,
			...r,
			ref: t
		})
	});
QKe.displayName = JKe;
var eZe = "DropdownMenuItem",
	lJ = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(FKe, {
			...i,
			...r,
			ref: t
		})
	});
lJ.displayName = eZe;
var tZe = "DropdownMenuCheckboxItem",
	nZe = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(jKe, {
			...i,
			...r,
			ref: t
		})
	});
nZe.displayName = tZe;
var rZe = "DropdownMenuRadioGroup",
	iZe = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(UKe, {
			...i,
			...r,
			ref: t
		})
	});
iZe.displayName = rZe;
var oZe = "DropdownMenuRadioItem",
	aZe = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(HKe, {
			...i,
			...r,
			ref: t
		})
	});
aZe.displayName = oZe;
var sZe = "DropdownMenuItemIndicator",
	uZe = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(VKe, {
			...i,
			...r,
			ref: t
		})
	});
uZe.displayName = sZe;
var lZe = "DropdownMenuSeparator",
	cJ = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(BKe, {
			...i,
			...r,
			ref: t
		})
	});
cJ.displayName = lZe;
var cZe = "DropdownMenuArrow",
	fZe = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(zKe, {
			...i,
			...r,
			ref: t
		})
	});
fZe.displayName = cZe;
var dZe = "DropdownMenuSubTrigger",
	pZe = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(GKe, {
			...i,
			...r,
			ref: t
		})
	});
pZe.displayName = dZe;
var hZe = "DropdownMenuSubContent",
	vZe = h.forwardRef((e, t) => {
		const {
			__scopeDropdownMenu: n,
			...r
		} = e, i = Qr(n);
		return C.jsx(WKe, {
			...i,
			...r,
			ref: t,
			style: {
				...e.style,
				"--radix-dropdown-menu-content-transform-origin": "var(--radix-popper-transform-origin)",
				"--radix-dropdown-menu-content-available-width": "var(--radix-popper-available-width)",
				"--radix-dropdown-menu-content-available-height": "var(--radix-popper-available-height)",
				"--radix-dropdown-menu-trigger-width": "var(--radix-popper-anchor-width)",
				"--radix-dropdown-menu-trigger-height": "var(--radix-popper-anchor-height)"
			}
		})
	});
vZe.displayName = hZe;
var gZe = rJ,
	mZe = oJ,
	yZe = aJ,
	wZe = uJ,
	Jx = lJ,
	_Ze = cJ;
const bZe = "Vuw0R",
	SZe = "SMFQU",
	xZe = "I0eEM",
	EZe = "RupgQ",
	CZe = "YtvuM",
	ws = {
		MenuList: bZe,
		MenuItemContent: SZe,
		MenuItem: xZe,
		PressableInner: EZe,
		Separator: CZe
	},
	fJ = h.createContext({}),
	OZe = () => {
		const e = h.useContext(fJ);
		if (!e) throw new Error("Menu components must be wrapped in <Menu />");
		return e
	},
	ci = ({
		children: e,
		forceOpen: t
	}) => {
		const [n, r] = h.useState(!1), i = t != null ? t : n, o = h.useCallback(() => s => {
			r(s)
		}, []), a = h.useMemo(() => ({
			open: i,
			setOpen: o
		}), [i, o]);
		return C.jsx(fJ.Provider, {
			value: a,
			children: C.jsx(gZe, {
				open: n,
				onOpenChange: r,
				modal: !1,
				children: e
			})
		})
	},
	TZe = ({
		children: e,
		to: t,
		disabled: n,
		onSelect: r
	}) => r ? C.jsx(Jx, {
		className: ws.MenuItem,
		onSelect: r,
		disabled: n,
		children: C.jsx("div", {
			className: ws.PressableInner,
			children: e
		})
	}) : t != null && t.startsWith("https://") ? C.jsx(Jx, {
		asChild: !0,
		className: ws.MenuItem,
		disabled: n,
		children: C.jsx("a", {
			href: t,
			target: "_blank",
			rel: "noreferrer noopener",
			children: C.jsx("div", {
				className: ws.PressableInner,
				children: e
			})
		})
	}) : t ? C.jsx(Jx, {
		asChild: !0,
		className: ws.MenuItem,
		disabled: n,
		children: C.jsx(aa, {
			to: t,
			children: C.jsx("div", {
				className: ws.PressableInner,
				children: e
			})
		})
	}) : C.jsx("div", {
		className: ws.MenuItemContent,
		children: e
	}),
	RZe = () => C.jsx(_Ze, {
		className: ws.Separator,
		role: "separator"
	}),
	IZe = ({
		children: e,
		side: t,
		align: n,
		width: r,
		minWidth: i,
		layersCompatibilityMode: o
	}) => {
		const {
			open: a
		} = OZe(), s = h.useRef(null);
		return o && s.current === null && (s.current = document.querySelector(".layers-root")), C.jsx(yZe, {
			forceMount: !0,
			container: s.current,
			children: C.jsx(o1, {
				enterDuration: 300,
				exitDuration: 250,
				children: a && C.jsx(wZe, {
					forceMount: !0,
					className: ws.MenuList,
					side: t,
					sideOffset: 5,
					align: n,
					alignOffset: -5,
					avoidCollisions: !0,
					collisionPadding: {
						bottom: 30,
						top: 30
					},
					style: Qb({
						"menu-width": r,
						"menu-min-width": i
					}),
					children: e
				}, "dropdown")
			})
		})
	},
	kZe = ({
		children: e
	}) => C.jsx(mZe, {
		asChild: !0,
		children: e
	});
ci.Content = IZe;
ci.Item = TZe;
ci.Separator = RZe;
ci.Trigger = kZe;

function _9(e, t = []) {
	let n = [];

	function r(o, a) {
		const s = h.createContext(a),
			u = n.length;
		n = [...n, a];

		function l(d) {
			const {
				scope: p,
				children: g,
				...m
			} = d, _ = (p == null ? void 0 : p[e][u]) || s, S = h.useMemo(() => m, Object.values(m));
			return C.jsx(_.Provider, {
				value: S,
				children: g
			})
		}

		function c(d, p) {
			const g = (p == null ? void 0 : p[e][u]) || s,
				m = h.useContext(g);
			if (m) return m;
			if (a !== void 0) return a;
			throw new Error("`".concat(d, "` must be used within `").concat(o, "`"))
		}
		return l.displayName = o + "Provider", [l, c]
	}
	const i = () => {
		const o = n.map(a => h.createContext(a));
		return function(s) {
			const u = (s == null ? void 0 : s[e]) || o;
			return h.useMemo(() => ({
				["__scope".concat(e)]: {
					...s,
					[e]: u
				}
			}), [s, u])
		}
	};
	return i.scopeName = e, [r, AZe(i, ...t)]
}

function AZe(...e) {
	const t = e[0];
	if (e.length === 1) return t;
	const n = () => {
		const r = e.map(i => ({
			useScope: i(),
			scopeName: i.scopeName
		}));
		return function(o) {
			const a = r.reduce((s, {
				useScope: u,
				scopeName: l
			}) => {
				const d = u(o)["__scope".concat(l)];
				return {
					...s,
					...d
				}
			}, {});
			return h.useMemo(() => ({
				["__scope".concat(t.scopeName)]: a
			}), [a])
		}
	};
	return n.scopeName = t.scopeName, n
}

function MZe(e, t) {
	typeof e == "function" ? e(t) : e != null && (e.current = t)
}

function dJ(...e) {
	return t => e.forEach(n => MZe(n, t))
}

function g6(...e) {
	return h.useCallback(dJ(...e), e)
}
var h_ = h.forwardRef((e, t) => {
	const {
		children: n,
		...r
	} = e, i = h.Children.toArray(n), o = i.find(LZe);
	if (o) {
		const a = o.props.children,
			s = i.map(u => u === o ? h.Children.count(a) > 1 ? h.Children.only(null) : h.isValidElement(a) ? a.props.children : null : u);
		return C.jsx(m6, {
			...r,
			ref: t,
			children: h.isValidElement(a) ? h.cloneElement(a, void 0, s) : null
		})
	}
	return C.jsx(m6, {
		...r,
		ref: t,
		children: n
	})
});
h_.displayName = "Slot";
var m6 = h.forwardRef((e, t) => {
	const {
		children: n,
		...r
	} = e;
	if (h.isValidElement(n)) {
		const i = DZe(n);
		return h.cloneElement(n, {
			...NZe(r, n.props),
			ref: t ? dJ(t, i) : i
		})
	}
	return h.Children.count(n) > 1 ? h.Children.only(null) : null
});
m6.displayName = "SlotClone";
var PZe = ({
	children: e
}) => C.jsx(C.Fragment, {
	children: e
});

function LZe(e) {
	return h.isValidElement(e) && e.type === PZe
}

function NZe(e, t) {
	const n = {
		...t
	};
	for (const r in t) {
		const i = e[r],
			o = t[r];
		/^on[A-Z]/.test(r) ? i && o ? n[r] = (...s) => {
			o(...s), i(...s)
		} : i && (n[r] = i) : r === "style" ? n[r] = {
			...i,
			...o
		} : r === "className" && (n[r] = [i, o].filter(Boolean).join(" "))
	}
	return {
		...e,
		...n
	}
}

function DZe(e) {
	var r, i;
	let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get,
		n = t && "isReactWarning" in t && t.isReactWarning;
	return n ? e.ref : (t = (i = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : i.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref)
}
var $Ze = ["a", "button", "div", "form", "h2", "h3", "img", "input", "label", "li", "nav", "ol", "p", "span", "svg", "ul"],
	v1 = $Ze.reduce((e, t) => {
		const n = h.forwardRef((r, i) => {
			const {
				asChild: o,
				...a
			} = r, s = o ? h_ : t;
			return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), C.jsx(s, {
				...a,
				ref: i
			})
		});
		return n.displayName = "Primitive.".concat(t), {
			...e,
			[t]: n
		}
	}, {});

function FZe(e) {
	const t = e + "CollectionProvider",
		[n, r] = _9(t),
		[i, o] = n(t, {
			collectionRef: {
				current: null
			},
			itemMap: new Map
		}),
		a = g => {
			const {
				scope: m,
				children: _
			} = g, S = J.useRef(null), y = J.useRef(new Map).current;
			return C.jsx(i, {
				scope: m,
				itemMap: y,
				collectionRef: S,
				children: _
			})
		};
	a.displayName = t;
	const s = e + "CollectionSlot",
		u = J.forwardRef((g, m) => {
			const {
				scope: _,
				children: S
			} = g, y = o(s, _), w = g6(m, y.collectionRef);
			return C.jsx(h_, {
				ref: w,
				children: S
			})
		});
	u.displayName = s;
	const l = e + "CollectionItemSlot",
		c = "data-radix-collection-item",
		d = J.forwardRef((g, m) => {
			const {
				scope: _,
				children: S,
				...y
			} = g, w = J.useRef(null), b = g6(m, w), E = o(l, _);
			return J.useEffect(() => (E.itemMap.set(w, {
				ref: w,
				...y
			}), () => void E.itemMap.delete(w))), C.jsx(h_, {
				[c]: "",
				ref: b,
				children: S
			})
		});
	d.displayName = l;

	function p(g) {
		const m = o(e + "CollectionConsumer", g);
		return J.useCallback(() => {
			const S = m.collectionRef.current;
			if (!S) return [];
			const y = Array.from(S.querySelectorAll("[".concat(c, "]")));
			return Array.from(m.itemMap.values()).sort((E, T) => y.indexOf(E.ref.current) - y.indexOf(T.ref.current))
		}, [m.collectionRef, m.itemMap])
	}
	return [{
		Provider: a,
		Slot: u,
		ItemSlot: d
	}, p, r]
}

function b9(e) {
	const t = h.useRef(e);
	return h.useEffect(() => {
		t.current = e
	}), h.useMemo(() => (...n) => {
		var r;
		return (r = t.current) == null ? void 0 : r.call(t, ...n)
	}, [])
}

function f4({
	prop: e,
	defaultProp: t,
	onChange: n = () => {}
}) {
	const [r, i] = jZe({
		defaultProp: t,
		onChange: n
	}), o = e !== void 0, a = o ? e : r, s = b9(n), u = h.useCallback(l => {
		if (o) {
			const d = typeof l == "function" ? l(e) : l;
			d !== e && s(d)
		} else i(l)
	}, [o, e, i, s]);
	return [a, u]
}

function jZe({
	defaultProp: e,
	onChange: t
}) {
	const n = h.useState(e),
		[r] = n,
		i = h.useRef(r),
		o = b9(t);
	return h.useEffect(() => {
		i.current !== r && (o(r), i.current = r)
	}, [r, i, o]), n
}
var UZe = h.createContext(void 0);

function pJ(e) {
	const t = h.useContext(UZe);
	return e || t || "ltr"
}
var Qx = "rovingFocusGroup.onEntryFocus",
	HZe = {
		bubbles: !1,
		cancelable: !0
	},
	d4 = "RovingFocusGroup",
	[y6, hJ, VZe] = FZe(d4),
	[BZe, vJ] = _9(d4, [VZe]),
	[zZe, GZe] = BZe(d4),
	gJ = h.forwardRef((e, t) => C.jsx(y6.Provider, {
		scope: e.__scopeRovingFocusGroup,
		children: C.jsx(y6.Slot, {
			scope: e.__scopeRovingFocusGroup,
			children: C.jsx(WZe, {
				...e,
				ref: t
			})
		})
	}));
gJ.displayName = d4;
var WZe = h.forwardRef((e, t) => {
		const {
			__scopeRovingFocusGroup: n,
			orientation: r,
			loop: i = !1,
			dir: o,
			currentTabStopId: a,
			defaultCurrentTabStopId: s,
			onCurrentTabStopIdChange: u,
			onEntryFocus: l,
			preventScrollOnEntryFocus: c = !1,
			...d
		} = e, p = h.useRef(null), g = g6(t, p), m = pJ(o), [_ = null, S] = f4({
			prop: a,
			defaultProp: s,
			onChange: u
		}), [y, w] = h.useState(!1), b = b9(l), E = hJ(n), T = h.useRef(!1), [O, R] = h.useState(0);
		return h.useEffect(() => {
			const k = p.current;
			if (k) return k.addEventListener(Qx, b), () => k.removeEventListener(Qx, b)
		}, [b]), C.jsx(zZe, {
			scope: n,
			orientation: r,
			dir: m,
			loop: i,
			currentTabStopId: _,
			onItemFocus: h.useCallback(k => S(k), [S]),
			onItemShiftTab: h.useCallback(() => w(!0), []),
			onFocusableItemAdd: h.useCallback(() => R(k => k + 1), []),
			onFocusableItemRemove: h.useCallback(() => R(k => k - 1), []),
			children: C.jsx(v1.div, {
				tabIndex: y || O === 0 ? -1 : 0,
				"data-orientation": r,
				...d,
				ref: g,
				style: {
					outline: "none",
					...e.style
				},
				onMouseDown: He(e.onMouseDown, () => {
					T.current = !0
				}),
				onFocus: He(e.onFocus, k => {
					const M = !T.current;
					if (k.target === k.currentTarget && M && !y) {
						const D = new CustomEvent(Qx, HZe);
						if (k.currentTarget.dispatchEvent(D), !D.defaultPrevented) {
							const P = E().filter(ee => ee.focusable),
								U = P.find(ee => ee.active),
								H = P.find(ee => ee.id === _),
								K = [U, H, ...P].filter(Boolean).map(ee => ee.ref.current);
							wJ(K, c)
						}
					}
					T.current = !1
				}),
				onBlur: He(e.onBlur, () => w(!1))
			})
		})
	}),
	mJ = "RovingFocusGroupItem",
	yJ = h.forwardRef((e, t) => {
		const {
			__scopeRovingFocusGroup: n,
			focusable: r = !0,
			active: i = !1,
			tabStopId: o,
			...a
		} = e, s = _l(), u = o || s, l = GZe(mJ, n), c = l.currentTabStopId === u, d = hJ(n), {
			onFocusableItemAdd: p,
			onFocusableItemRemove: g
		} = l;
		return h.useEffect(() => {
			if (r) return p(), () => g()
		}, [r, p, g]), C.jsx(y6.ItemSlot, {
			scope: n,
			id: u,
			focusable: r,
			active: i,
			children: C.jsx(v1.span, {
				tabIndex: c ? 0 : -1,
				"data-orientation": l.orientation,
				...a,
				ref: t,
				onMouseDown: He(e.onMouseDown, m => {
					r ? l.onItemFocus(u) : m.preventDefault()
				}),
				onFocus: He(e.onFocus, () => l.onItemFocus(u)),
				onKeyDown: He(e.onKeyDown, m => {
					if (m.key === "Tab" && m.shiftKey) {
						l.onItemShiftTab();
						return
					}
					if (m.target !== m.currentTarget) return;
					const _ = qZe(m, l.orientation, l.dir);
					if (_ !== void 0) {
						if (m.metaKey || m.ctrlKey || m.altKey || m.shiftKey) return;
						m.preventDefault();
						let y = d().filter(w => w.focusable).map(w => w.ref.current);
						if (_ === "last") y.reverse();
						else if (_ === "prev" || _ === "next") {
							_ === "prev" && y.reverse();
							const w = y.indexOf(m.currentTarget);
							y = l.loop ? YZe(y, w + 1) : y.slice(w + 1)
						}
						setTimeout(() => wJ(y))
					}
				})
			})
		})
	});
yJ.displayName = mJ;
var KZe = {
	ArrowLeft: "prev",
	ArrowUp: "prev",
	ArrowRight: "next",
	ArrowDown: "next",
	PageUp: "first",
	Home: "first",
	PageDown: "last",
	End: "last"
};

function ZZe(e, t) {
	return t !== "rtl" ? e : e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e
}

function qZe(e, t, n) {
	const r = ZZe(e.key, n);
	if (!(t === "vertical" && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === "horizontal" && ["ArrowUp", "ArrowDown"].includes(r))) return KZe[r]
}

function wJ(e, t = !1) {
	const n = document.activeElement;
	for (const r of e)
		if (r === n || (r.focus({
				preventScroll: t
			}), document.activeElement !== n)) return
}

function YZe(e, t) {
	return e.map((n, r) => e[(t + r) % e.length])
}
var XZe = gJ,
	JZe = yJ,
	QZe = "Toggle",
	_J = h.forwardRef((e, t) => {
		const {
			pressed: n,
			defaultPressed: r = !1,
			onPressedChange: i,
			...o
		} = e, [a = !1, s] = f4({
			prop: n,
			onChange: i,
			defaultProp: r
		});
		return C.jsx(v1.button, {
			type: "button",
			"aria-pressed": a,
			"data-state": a ? "on" : "off",
			"data-disabled": e.disabled ? "" : void 0,
			...o,
			ref: t,
			onClick: He(e.onClick, () => {
				e.disabled || s(!a)
			})
		})
	});
_J.displayName = QZe;
var Wh = "ToggleGroup",
	[bJ, Eut] = _9(Wh, [vJ]),
	SJ = vJ(),
	S9 = J.forwardRef((e, t) => {
		const {
			type: n,
			...r
		} = e;
		if (n === "single") {
			const i = r;
			return C.jsx(eqe, {
				...i,
				ref: t
			})
		}
		if (n === "multiple") {
			const i = r;
			return C.jsx(tqe, {
				...i,
				ref: t
			})
		}
		throw new Error("Missing prop `type` expected on `".concat(Wh, "`"))
	});
S9.displayName = Wh;
var [xJ, EJ] = bJ(Wh), eqe = J.forwardRef((e, t) => {
	const {
		value: n,
		defaultValue: r,
		onValueChange: i = () => {},
		...o
	} = e, [a, s] = f4({
		prop: n,
		defaultProp: r,
		onChange: i
	});
	return C.jsx(xJ, {
		scope: e.__scopeToggleGroup,
		type: "single",
		value: a ? [a] : [],
		onItemActivate: s,
		onItemDeactivate: J.useCallback(() => s(""), [s]),
		children: C.jsx(CJ, {
			...o,
			ref: t
		})
	})
}), tqe = J.forwardRef((e, t) => {
	const {
		value: n,
		defaultValue: r,
		onValueChange: i = () => {},
		...o
	} = e, [a = [], s] = f4({
		prop: n,
		defaultProp: r,
		onChange: i
	}), u = J.useCallback(c => s((d = []) => [...d, c]), [s]), l = J.useCallback(c => s((d = []) => d.filter(p => p !== c)), [s]);
	return C.jsx(xJ, {
		scope: e.__scopeToggleGroup,
		type: "multiple",
		value: a,
		onItemActivate: u,
		onItemDeactivate: l,
		children: C.jsx(CJ, {
			...o,
			ref: t
		})
	})
});
S9.displayName = Wh;
var [nqe, rqe] = bJ(Wh), CJ = J.forwardRef((e, t) => {
	const {
		__scopeToggleGroup: n,
		disabled: r = !1,
		rovingFocus: i = !0,
		orientation: o,
		dir: a,
		loop: s = !0,
		...u
	} = e, l = SJ(n), c = pJ(a), d = {
		role: "group",
		dir: c,
		...u
	};
	return C.jsx(nqe, {
		scope: n,
		rovingFocus: i,
		disabled: r,
		children: i ? C.jsx(XZe, {
			asChild: !0,
			...l,
			orientation: o,
			dir: c,
			loop: s,
			children: C.jsx(v1.div, {
				...d,
				ref: t
			})
		}) : C.jsx(v1.div, {
			...d,
			ref: t
		})
	})
}), v_ = "ToggleGroupItem", OJ = J.forwardRef((e, t) => {
	const n = EJ(v_, e.__scopeToggleGroup),
		r = rqe(v_, e.__scopeToggleGroup),
		i = SJ(e.__scopeToggleGroup),
		o = n.value.includes(e.value),
		a = r.disabled || e.disabled,
		s = {
			...e,
			pressed: o,
			disabled: a
		},
		u = J.useRef(null);
	return r.rovingFocus ? C.jsx(JZe, {
		asChild: !0,
		...i,
		focusable: !a,
		active: o,
		ref: u,
		children: C.jsx(F$, {
			...s,
			ref: t
		})
	}) : C.jsx(F$, {
		...s,
		ref: t
	})
});
OJ.displayName = v_;
var F$ = J.forwardRef((e, t) => {
		const {
			__scopeToggleGroup: n,
			value: r,
			...i
		} = e, o = EJ(v_, n), a = {
			role: "radio",
			"aria-checked": e.pressed,
			"aria-pressed": void 0
		}, s = o.type === "single" ? a : void 0;
		return C.jsx(_J, {
			...s,
			...i,
			ref: t,
			onPressedChange: u => {
				u ? o.onItemActivate(r) : o.onItemDeactivate(r)
			}
		})
	}),
	iqe = S9,
	oqe = OJ;
const aqe = "Z6PRs",
	sqe = "fC8KU",
	uqe = "ZDw29",
	lqe = "-X3Ew",
	g_ = {
		SegmentedControl: aqe,
		SegmentedControlOption: sqe,
		SegmentedControlOptionText: uqe,
		SegmentedControlThumb: lqe
	},
	X0 = ({
		value: e,
		onChange: t,
		children: n,
		size: r = "md",
		...i
	}) => {
		const o = h.useRef(null),
			a = h.useRef(null);
		h.useLayoutEffect(() => {
			const u = o.current,
				l = a.current;
			if (!u || !l) return;
			const c = u == null ? void 0 : u.querySelector('[data-state="on"]');
			c && (l.style.width = "".concat(Math.floor(c.clientWidth), "px"), l.style.transform = "translateX(".concat(c.offsetLeft, "px)"), l.style.transition || requestAnimationFrame(() => {
				l.style.transition = "width 0.3s cubic-bezier(0.19, 1, 0.22, 1), transform .3s cubic-bezier(0.19, 1, 0.22, 1)"
			}))
		}, [e]);
		const s = u => {
			u && t(u)
		};
		return C.jsx("div", {
			className: "flex",
			children: C.jsxs(iqe, {
				ref: o,
				className: g_.SegmentedControl,
				type: "single",
				value: e,
				loop: !1,
				onValueChange: s,
				"data-size": r,
				...i,
				children: [C.jsx("div", {
					className: g_.SegmentedControlThumb,
					ref: a
				}), n]
			})
		})
	},
	cqe = ({
		children: e,
		...t
	}) => C.jsx(oqe, {
		className: g_.SegmentedControlOption,
		...t,
		children: C.jsx("span", {
			className: g_.SegmentedControlOptionText,
			children: e
		})
	});
X0.Option = cqe;
const fqe = "LwKwt",
	dqe = "qMH4e",
	j$ = {
		UserDropdownContainer: fqe,
		UserEmail: dqe
	},
	pqe = () => {
		const {
			selectedTheme: e,
			setTheme: t
		} = XY();
		return C.jsx("div", {
			className: "flex pt-2.5",
			children: C.jsxs(X0, {
				value: e,
				onChange: n => t(n || l6.auto),
				"aria-label": "Color theme mode",
				size: "xs",
				children: [C.jsx(X0.Option, {
					value: "light",
					"aria-label": "Light mode",
					children: C.jsx(nMe, {})
				}), C.jsx(X0.Option, {
					value: "dark",
					"aria-label": "Dark mode",
					children: C.jsx(pAe, {})
				}), C.jsx(X0.Option, {
					value: "system",
					"aria-label": "System mode",
					children: C.jsx(pPe, {})
				})]
			})
		})
	},
	TJ = h.memo(() => {
		var l, c;
		const {
			user: e,
			logout: t
		} = ft(), {
			showCookieOptions: n,
			openCookieOptionsModal: r
		} = jh(), {
			optionalFlags: i,
			openFlagModal: o
		} = Ul(), [a, s] = h.useState(!1), u = h.useCallback(async d => {
			d.preventDefault(), s(!0), await t()
		}, [t]);
		return e ? C.jsx("div", {
			className: j$.UserDropdownContainer,
			children: C.jsxs(ci, {
				children: [C.jsx(ci.Trigger, {
					children: C.jsx(wT, {
						name: (l = e.name) != null ? l : "",
						imageUrl: (c = e == null ? void 0 : e.auth0.picture) != null ? c : ""
					})
				}), C.jsxs(ci.Content, {
					width: 210,
					minWidth: 210,
					side: "bottom",
					align: "end",
					children: [C.jsx(ci.Item, {
						children: C.jsxs(C.Fragment, {
							children: [C.jsx("div", {
								className: "font-medium",
								children: e.name
							}), e.email !== e.name && C.jsx("div", {
								className: j$.UserEmail,
								children: e.email
							}), C.jsx(pqe, {})]
						})
					}), C.jsx(ci.Separator, {}), n && r && C.jsx(ci.Item, {
						onSelect: () => {
							r()
						},
						children: "Manage cookies"
					}), C.jsx(ci.Item, {
						to: "/settings/profile",
						children: "Your profile"
					}), i.length > 0 && C.jsx(ci.Item, {
						onSelect: o,
						children: "Feature flags"
					}), C.jsx(ci.Item, {
						to: Vn,
						children: "Terms & policies"
					}), C.jsx(ci.Item, {
						onSelect: u,
						disabled: a,
						children: a ? C.jsx(yT, {}) : "Log out"
					})]
				})]
			})
		}) : null
	}),
	x9 = h.createContext({});
x9.Provider;
const p4 = () => {
		const e = h.useContext(x9);
		if (!e) throw new Error("AppState must be wrapped in <AppStateProvider>");
		return e
	},
	hqe = ({
		children: e
	}) => {
		const [t, n] = h.useState(() => !!Fn.getItem(tr.PreferSidebarCollapsed)), [r, i] = h.useState(!1), o = h.useCallback(s => {
			n(s), Fn.setItem(tr.PreferSidebarCollapsed, s)
		}, []), a = h.useMemo(() => ({
			preferSidebarCollapsed: t,
			mobileMenuVisible: r,
			setPreferSidebarCollapsed: o,
			setMobileMenuVisible: i
		}), [t, r, o, i]);
		return C.jsx(x9.Provider, {
			value: a,
			children: e
		})
	},
	vqe = "_8dPNb",
	gqe = "tfB-7",
	mqe = "_3Tbwl",
	yqe = "UuUwq",
	wqe = "RMlM5",
	_qe = "gw2x5",
	vs = {
		MenuToggle: vqe,
		Lines: gqe,
		Line: mqe,
		Line__top: yqe,
		Line__bottom: wqe,
		LinePull: _qe
	},
	bqe = () => {
		const {
			mobileMenuVisible: e,
			setMobileMenuVisible: t
		} = p4(), n = () => {
			t(!e)
		};
		return h.useEffect(() => () => {
			t(!1)
		}, [t]), h.useEffect(() => {
			const r = i => {
				if (!e) return;
				const o = i.target;
				if (o && o instanceof HTMLElement && !(o.closest(".".concat(vs.MenuToggle)) || o.matches(".".concat(vs.MenuToggle))) && !(o.closest("[data-primary-nav-item]:not([aria-current])") || o.matches("[data-primary-nav-item]:not([aria-current])")) && !(o.closest("[data-side-nav-subitems='hidden']") || o.matches("[data-side-nav-subitems='hidden']"))) {
					if (o.closest("a") || o.matches("a")) {
						t(!1);
						return
					}!o.closest("[data-sidebar]") && !o.closest("[data-radix-menu-content]") && t(!1)
				}
			};
			return document.addEventListener("click", r, {
				capture: !0
			}), () => {
				document.removeEventListener("click", r, {
					capture: !0
				})
			}
		}, [e, t]), C.jsx("button", {
			className: vs.MenuToggle,
			onClick: n,
			"data-expanded": e ? "" : void 0,
			children: C.jsxs("span", {
				className: vs.Lines,
				children: [C.jsx("span", {
					className: Pe(vs.Line, vs.Line__top)
				}), C.jsx("span", {
					className: vs.LinePull,
					children: C.jsx("span", {
						className: Pe(vs.Line, vs.Line__bottom)
					})
				})]
			})
		})
	},
	Sqe = "okBd0",
	xqe = "w9s17",
	Eqe = "_1T-tk",
	Cqe = "EsOWR",
	Oqe = "vaD2P",
	Tqe = "ksWxL",
	mc = {
		PrimaryNav: Sqe,
		PrimaryNavItem: xqe,
		PrimaryNavItem__active: Eqe,
		PrimaryNavLabel: Cqe,
		PrimaryNavLabel__long: Oqe,
		PrimaryNavLabel__short: Tqe
	},
	Rqe = {
		"/docs/guides/text-generation": "/docs/api-reference/chat",
		"/docs/guides/text-generation/completions-api": "/docs/api-reference/completions",
		"/docs/guides/function-calling": "/docs/api-reference/chat",
		"/docs/guides/embeddings": "/docs/api-reference/embeddings",
		"/docs/guides/fine-tuning": "/docs/api-reference/fine-tuning",
		"/docs/guides/images": "/docs/api-reference/images",
		"/docs/guides/vision": "/docs/api-reference/chat",
		"/docs/guides/text-to-speech": "/docs/api-reference/audio/createSpeech",
		"/docs/guides/speech-to-text": "/docs/api-reference/audio/createTranscription",
		"/docs/guides/moderation": "/docs/api-reference/moderations",
		"/docs/assistants": "/docs/api-reference/assistants",
		"/docs/guides/batch": "/docs/api-reference/batch"
	},
	Iqe = {
		"/docs/api-reference/chat": "/docs/guides/text-generation",
		"/docs/api-reference/completions": "/docs/guides/text-generation/completions-api",
		"/docs/api-reference/embeddings": "/docs/guides/embeddings",
		"/docs/api-reference/fine-tuning": "/docs/guides/fine-tuning",
		"/docs/api-reference/images": "/docs/guides/images",
		"/docs/api-reference/audio": "/docs/guides/text-to-speech",
		"/docs/api-reference/audio/createTranscription": "/docs/guides/speech-to-text",
		"/docs/api-reference/moderations": "/docs/guides/moderation",
		"/docs/api-reference/assistants": "/docs/assistants",
		"/docs/api-reference/batch": "/docs/guides/batch"
	},
	U$ = (e, t) => {
		const n = e[t];
		if (n) return n;
		const r = Object.keys(e).find(i => t.startsWith("".concat(i, "/")));
		return r ? e[r] : ""
	},
	kqe = () => {
		const {
			pathname: e
		} = ha(), [t, n] = h.useState(""), [r, i] = h.useState("");
		return h.useEffect(() => {
			i(U$(Rqe, e)), n(U$(Iqe, e))
		}, [e]), {
			docsLink: t,
			apiLink: r
		}
	},
	Aqe = (e, t) => !Ka(t.pathname, {
		path: ["/playground", "/docs", "/settings"],
		exact: !1
	}),
	Mqe = (e, t) => t.pathname.startsWith("/docs/") && !t.pathname.startsWith("/docs/api-reference"),
	Pqe = (e, t) => t.pathname.startsWith("/docs/api-reference"),
	RJ = () => {
		const {
			user: e
		} = ft(), {
			apiLink: t,
			docsLink: n
		} = kqe();
		return C.jsxs("nav", {
			className: mc.PrimaryNav,
			children: [e && C.jsx(by, {
				label: "Playground",
				url: "/playground"
			}), e && C.jsx(by, {
				label: "Dashboard",
				url: "/assistants",
				isActive: Aqe
			}), C.jsx(by, {
				label: "Docs",
				url: n || "/docs",
				isActive: Mqe
			}), C.jsx(by, {
				label: "API reference",
				shortLabel: "API",
				url: t || "/docs/api-reference/introduction",
				isActive: Pqe
			})]
		})
	},
	by = ({
		url: e,
		label: t,
		shortLabel: n = t,
		isActive: r
	}) => C.jsxs(B8, {
		className: mc.PrimaryNavItem,
		activeClassName: mc.PrimaryNavItem__active,
		to: e,
		isActive: r,
		"data-primary-nav-item": "",
		children: [C.jsx("span", {
			className: Pe(mc.PrimaryNavLabel, mc.PrimaryNavLabel__long),
			"data-title": t,
			children: t
		}), C.jsx("span", {
			className: Pe(mc.PrimaryNavLabel, mc.PrimaryNavLabel__short),
			"data-title": n,
			children: n
		})]
	});

function h4(e) {
	return h.forwardRef(function(t, n) {
		const {
			className: r,
			children: i,
			...o
		} = t;
		return C.jsx("div", {
			className: Pe(e, r),
			ref: n,
			...o,
			children: i
		})
	})
}
const Lqe = h4("menu-root"),
	Cut = h4("menu-group"),
	Out = h4("menu-header"),
	Tut = h4("menu-separator");

function Sy(e) {
	const {
		className: t,
		disabled: n,
		selected: r,
		children: i,
		onClick: o,
		href: a,
		...s
	} = e, l = {
		className: Pe("menu-item", (o || a) && "menu-item-selectable", r && "menu-item-selected", n && "menu-item-disabled", t),
		role: o && !a ? "button" : void 0,
		onClick: o,
		...s
	};
	return a ? a.startsWith("/") ? C.jsx(aa, {
		to: a,
		...l,
		children: i
	}) : C.jsx("a", {
		href: a,
		target: "_blank",
		rel: "noopener noreferrer",
		...l,
		children: i
	}) : C.jsx("div", {
		...l,
		children: i
	})
}
const Nqe = ({
		openCookieOptionsModal: e
	}) => {
		const t = h.useCallback(() => C.jsxs(Lqe, {
			children: [C.jsx(Sy, {
				href: Rj,
				children: "Help"
			}), C.jsx(Sy, {
				href: Tj,
				children: "Pricing"
			}), C.jsx(Sy, {
				onClick: () => e(),
				children: "Manage cookies"
			}), C.jsx(Sy, {
				href: Vn,
				children: "Terms & policies"
			})]
		}), [e]);
		return C.jsx(c_, {
			content: t,
			placement: zi.bottomRight,
			children: C.jsx(ir, {
				variant: Xb.minimal,
				color: Ci.neutral,
				children: C.jsx(gMe, {})
			})
		})
	},
	Dqe = "uOzP5",
	$qe = "VwKvp",
	eE = {
		UnauthenticatedActions: Dqe,
		UnauthenticatedAction: $qe
	},
	IJ = () => {
		const {
			loginWithRedirect: e
		} = ft(), {
			showCookieOptions: t,
			openCookieOptionsModal: n
		} = jh(), r = () => {
			const {
				pathname: i,
				search: o,
				hash: a
			} = window.location, s = i + o + a;
			e({
				appState: s !== "/" ? {
					targetPath: s
				} : {},
				max_age: 0
			})
		};
		return C.jsxs("div", {
			className: eE.UnauthenticatedActions,
			children: [C.jsx(ir, {
				size: "small",
				color: "dark",
				className: eE.UnauthenticatedAction,
				onClick: r,
				children: "Log in"
			}), C.jsx(ir, {
				href: "/signup",
				size: "small",
				color: Ci.primary,
				className: eE.UnauthenticatedAction,
				children: "Sign up"
			}), t && n && C.jsx(Nqe, {
				openCookieOptionsModal: n
			})]
		})
	},
	Fqe = "hDvly",
	jqe = "vpev1",
	Uqe = "Aip-a",
	Hqe = "qcq-H",
	Vqe = "KAMRO",
	Bqe = "nwsve",
	Wd = {
		Header: Fqe,
		Left: jqe,
		Right: Uqe,
		Logo: Hqe,
		SettingsLink: Vqe,
		SettingsLink__active: Bqe
	},
	zqe = () => {
		const e = H8("/settings");
		return C.jsx(Eze, {
			url: "/settings",
			className: Pe(Wd.SettingsLink, e && Wd.SettingsLink__active),
			children: C.jsx(hf, {
				compact: !0,
				content: "Settings",
				placement: wGe.bottom,
				children: C.jsx(qK, {})
			})
		})
	},
	Gqe = () => {
		const {
			user: e
		} = ft();
		return C.jsxs(C.Fragment, {
			children: [C.jsx(RJ, {}), e ? C.jsxs(C.Fragment, {
				children: [C.jsx(zqe, {}), C.jsx(TJ, {})]
			}) : C.jsx(IJ, {})]
		})
	},
	Wqe = h.memo(() => {
		const {
			user: e
		} = ft(), t = ag("md");
		return C.jsx(C.Fragment, {
			children: C.jsxs("div", {
				className: Wd.Header,
				children: [C.jsx("div", {
					className: Wd.Left,
					children: e ? C.jsx(xze, {}) : C.jsx(aa, {
						to: "/docs/overview",
						className: Wd.Logo,
						children: C.jsx(aMe, {
							width: 157,
							height: 24
						})
					})
				}), C.jsx("div", {
					className: Wd.Right,
					children: t ? C.jsx(Gqe, {}) : C.jsx(bqe, {})
				})]
			})
		})
	}),
	Kqe = J.memo(Wqe),
	H$ = "dgkjq2bp";

function Zqe(e) {
	h.useEffect(() => {
		(function() {
			const n = window,
				r = n.Intercom;
			if (typeof r == "function") r("reattach_activator"), r("update", n.intercomSettings);
			else {
				const i = document,
					o = function() {
						o.c(arguments)
					};
				o.q = [], o.c = function(s) {
					o.q.push(s)
				}, n.Intercom = o;
				const a = function() {
					const s = i.createElement("script");
					s.type = "text/javascript", s.async = !0, s.src = "https://widget.intercom.io/widget/" + H$;
					const u = i.getElementsByTagName("script")[0];
					u.parentNode.insertBefore(s, u)
				};
				document.readyState === "complete" ? a() : n.attachEvent ? n.attachEvent("onload", a) : n.addEventListener("load", a, !1)
			}
		})();
		const t = window.Intercom;
		t("boot", {
			app_id: H$,
			email: (e == null ? void 0 : e.email) || null,
			user_id: (e == null ? void 0 : e.id) || null,
			user_hash: (e == null ? void 0 : e.intercom_hash) || null,
			name: (e == null ? void 0 : e.name) || null,
			api_user: !0,
			hide_default_launcher: !0
		}), t("onShow", () => {
			window.intercomIsShown = !0
		}), t("onHide", () => {
			window.intercomIsShown = !1
		}), "launchIntercom" in Ue.parse(window.location.search) && t("show")
	}, [e])
}
const F0 = (e, t) => {
		const n = h.useRef(e);
		return t || (n.current = e), n.current
	},
	qqe = h.lazy(() => Re(() => import("https://platform.openai.com/L_15bqAsRv.js"), __vite__mapDeps([3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]))),
	Yqe = h.lazy(() => Re(() => import("https://platform.openai.com/CdgtFt0ubg.js"), __vite__mapDeps([14, 15, 4, 16, 11, 17, 5, 6, 18, 19, 20, 21, 22, 10, 12]))),
	Xqe = h.lazy(() => Re(() => import("https://platform.openai.com/BBhpnxof8t.js"), __vite__mapDeps([23, 10, 11, 12, 4, 24, 25, 26, 27, 7, 8, 9, 28, 29, 30, 31, 32, 33, 18, 19, 34]))),
	Jqe = h.lazy(() => Re(() => import("https://platform.openai.com/CNM2m0Wmma.js"), __vite__mapDeps([35, 4, 10, 11, 12, 24, 25, 26, 27, 36, 37, 38, 31, 39, 40, 41, 42, 18, 19]))),
	Qqe = h.lazy(() => Re(() => import("https://platform.openai.com/hKhHChBvWf.js"), __vite__mapDeps([43, 44, 45, 40, 46, 47, 48, 26, 27, 4, 10, 11, 12, 49]))),
	eYe = h.lazy(() => Re(() => import("https://platform.openai.com/Cn74X5VvUV.js"), __vite__mapDeps([50, 4, 8, 9, 22, 10, 11, 12, 28, 31, 33, 51, 24, 25, 26, 27, 7, 52]))),
	tYe = h.lazy(() => Re(() => import("https://platform.openai.com/C6-tTd8GYX.js"), [])),
	nYe = h.lazy(() => Re(() => import("https://platform.openai.com/D2ndX3jWCw.js"), __vite__mapDeps([53, 54, 55, 11, 56, 57, 32, 58, 4, 17, 5, 6, 18, 19, 20, 59, 60, 45, 8, 9, 61, 39, 40, 24, 25, 26, 27, 62, 10, 12, 63]))),
	rYe = h.lazy(() => Re(() => import("https://platform.openai.com/NzGRAMD1EL.js"), __vite__mapDeps([64, 4, 8, 9, 65, 7, 10, 11, 12]))),
	iYe = h.lazy(() => Re(() => import("https://platform.openai.com/joSaOM0fyb.js"), __vite__mapDeps([66, 4, 8, 9, 28, 7, 18, 19, 26, 27, 51, 10, 11, 12]))),
	oYe = h.lazy(() => Re(() => import("https://platform.openai.com/Bk7NHmXT8p.js"), __vite__mapDeps([67, 15, 4, 8, 9, 16, 11, 17, 5, 6, 18, 19, 20, 21, 22, 10, 12]))),
	aYe = [{
		path: "/settings/organization/general",
		content: qqe
	}, {
		path: "/settings/organization/team",
		content: Yqe
	}, {
		path: "/settings/organization/billing",
		content: Xqe
	}, {
		path: "/settings/organization/limits",
		content: eYe
	}, {
		path: ["/organization/mfa_enabled", "/account/mfa_enabled"],
		content: tYe
	}, {
		path: "/settings/profile",
		content: nYe
	}, {
		path: "/settings/:projectId",
		exact: !0,
		content: rYe
	}, {
		path: "/settings/:projectId/limits",
		content: iYe
	}, {
		path: "/settings/:projectId/team",
		content: oYe
	}],
	sYe = [{
		path: "/settings/organization/scale-tier",
		content: Jqe
	}],
	uYe = [{
		path: "/settings/organization/sso",
		content: Qqe
	}],
	lYe = () => {
		const {
			user: e
		} = ft(), t = GVe(), n = KVe();
		return h.useMemo(() => {
			if (!e) return [];
			const i = [...aYe];
			return t && i.push(...sYe), n && i.push(...uYe), i
		}, [e, t, n])
	},
	cYe = h.lazy(() => Re(() => import("https://platform.openai.com/Dw238alQtP.js"), __vite__mapDeps([68, 11, 59, 60, 45, 4, 17, 5, 6, 18, 19, 20, 8, 9, 54, 55, 56, 57, 32, 58, 61, 39, 40, 24, 25, 26, 27, 62]))),
	fYe = h.lazy(() => Re(() => import("https://platform.openai.com/Cd3EJgH8YI.js"), __vite__mapDeps([69, 11, 59, 60, 45, 4, 17, 5, 6, 18, 19, 20, 8, 9, 54, 55, 56, 57, 32, 58, 61, 39, 40, 24, 25, 26, 27, 62]))),
	dYe = h.lazy(() => Re(() => import("https://platform.openai.com/pMzdlwrDub.js"), __vite__mapDeps([70, 11, 59, 60, 45, 4, 17, 5, 6, 18, 19, 20, 8, 9, 54, 55, 56, 57, 32, 58, 61, 39, 40, 24, 25, 26, 27, 62]))),
	pYe = h.lazy(() => Re(() => import("https://platform.openai.com/BbwrDuKmkt.js").then(e => e.k), __vite__mapDeps([71, 39, 40, 72, 60, 45, 4, 73, 74, 44, 75, 46, 76, 77, 78, 24, 25, 79, 36, 80, 61, 81, 82, 83, 84, 26, 27, 5, 6, 41, 42, 85]))),
	hYe = h.lazy(() => Re(() => import("https://platform.openai.com/BIzAgfh2Qw.js"), __vite__mapDeps([86, 39, 40, 72, 60, 45, 4, 36, 87, 31, 79, 80, 61, 81, 44, 5, 6, 38, 88, 37, 75, 89, 46, 76, 78, 90, 91, 92, 55, 82, 93]))),
	vYe = h.lazy(() => Re(() => import("https://platform.openai.com/9S_6Oc1oh5.js"), __vite__mapDeps([94, 39, 40, 72, 60, 45, 4, 44, 73, 74, 75, 89, 46, 76, 78, 90, 91, 82, 36, 87, 31, 79, 80, 61, 81, 5, 6, 38, 95, 96]))),
	V$ = h.lazy(() => Re(() => import("https://platform.openai.com/BEGziRYdqn.js"), __vite__mapDeps([97, 39, 40, 60, 45, 24, 25, 46, 26, 27, 4, 65]))),
	gYe = h.lazy(() => Re(() => import("https://platform.openai.com/qZNjh-G-2L.js"), __vite__mapDeps([98, 99, 4, 8, 9, 100, 60, 45, 77, 24, 25, 92, 55, 6, 41, 42, 26, 27, 75, 40, 56, 57, 36, 5, 101]))),
	mYe = h.lazy(() => Re(() => import("https://platform.openai.com/DclbQtPC1o.js"), __vite__mapDeps([102, 99, 4, 8, 9, 100, 60, 45, 77, 24, 25, 92, 55, 6, 41, 42, 26, 27, 75, 40, 56, 57, 36, 5, 101]))),
	yYe = h.lazy(() => Re(() => import("https://platform.openai.com/CgdXor_Q73.js"), __vite__mapDeps([103, 99, 4, 8, 9, 100, 60, 45, 77, 24, 25, 92, 55, 6, 41, 42, 26, 27, 75, 40, 56, 57, 36, 5, 101]))),
	wYe = h.lazy(() => Re(() => import("https://platform.openai.com/PBYnd-8g7g.js"), __vite__mapDeps([104, 99, 4, 8, 9, 100, 60, 45, 77, 24, 25, 92, 55, 6, 41, 42, 26, 27, 75, 40, 56, 57, 36, 5, 101]))),
	_Ye = h.lazy(() => Re(() => import("https://platform.openai.com/BmjeFwyfub.js"), __vite__mapDeps([105, 39, 40, 72, 60, 45, 71, 4, 73, 74, 44, 75, 46, 76, 77, 78, 24, 25, 79, 36, 80, 61, 81, 82, 83, 84, 26, 27, 5, 6, 41, 42, 85, 100, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116]))),
	bYe = h.lazy(() => Re(() => import("https://platform.openai.com/BUqTkTdIEK.js"), __vite__mapDeps([117, 118, 78, 71, 39, 40, 72, 60, 45, 4, 73, 74, 44, 75, 46, 76, 77, 24, 25, 79, 36, 80, 61, 81, 82, 83, 84, 26, 27, 5, 6, 41, 42, 85, 119, 115, 112, 120, 106, 107, 121, 122]))),
	SYe = h.lazy(() => Re(() => import("https://platform.openai.com/Cjf1eaDWcQ.js"), __vite__mapDeps([123, 4, 60, 45, 44, 40, 38, 31, 124, 47, 48, 119, 115, 112, 120, 83, 125, 88, 87, 79, 36, 80, 61, 81, 5, 6, 95, 39, 26, 27]))),
	xYe = h.lazy(() => Re(() => import("https://platform.openai.com/1zm2KpCDlB.js"), __vite__mapDeps([126, 4, 60, 45, 24, 25, 46, 109, 110, 76, 127]))),
	EYe = h.lazy(() => Re(() => import("https://platform.openai.com/Dk2PrJknKw.js"), __vite__mapDeps([128, 39, 40, 72, 60, 45, 4, 44, 75, 46, 89, 78, 76, 26, 27, 82]))),
	CYe = h.lazy(() => Re(() => import("https://platform.openai.com/BbcHczvofR.js"), __vite__mapDeps([129, 39, 40, 72, 60, 45, 24, 25, 76, 130, 74, 4]))),
	OYe = [{
		path: "/api-keys",
		content: cYe
	}, {
		path: "/organization/api-keys",
		exact: !0,
		content: fYe
	}, {
		path: "/finetune/:jobId?",
		content: hYe
	}, {
		path: "/batches/:batchId?",
		content: vYe
	}, {
		path: "/storage/:storageType?/:entityId?",
		content: pYe
	}, {
		path: "/threads/:threadId?",
		content: _Ye
	}, {
		path: "/assistants",
		content: bYe
	}, {
		path: "/usage",
		exact: !0,
		content: gYe
	}, {
		path: "/usage/activity",
		exact: !0,
		content: mYe
	}],
	TYe = {
		path: "/organization/admin-keys",
		exact: !0,
		content: dYe
	},
	RYe = [{
		path: "/evals/create",
		content: SYe
	}, {
		path: "/evals/:runId/output-items",
		content: xYe,
		hideSidebar: !0
	}, {
		path: "/evals/:runId?",
		content: EYe
	}],
	IYe = [{
		path: "/projects",
		content: V$
	}, {
		path: "/organization/projects",
		exact: !0,
		content: V$
	}],
	kYe = [{
		path: ["/voices", "/voices/create", "/voices/:voiceId?"],
		exact: !0,
		content: CYe
	}],
	AYe = [{
		path: "/organization/usage",
		exact: !0,
		content: yYe
	}, {
		path: "/organization/usage/activity",
		exact: !0,
		content: wYe
	}],
	MYe = () => {
		const {
			user: e
		} = ft(), t = BVe(), n = iY(), r = MY(), i = WVe(), o = ZVe();
		return h.useMemo(() => {
			if (!e) return [];
			const s = [...OYe];
			return t && s.push(...RYe), n && s.push(...IYe), i && s.push(...kYe), r && s.push(...AYe), o && s.push(TYe), s
		}, [e, t, n, i, r, o])
	},
	PYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/CCp-8vjshJ.js"), __vite__mapDeps([131, 44, 45, 40, 60, 132, 47, 48, 133, 111, 112, 6, 90, 91, 134, 4, 84, 61, 80, 81, 114, 115, 113, 119, 120, 124, 83, 125]))),
	LYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/DbTngGQHJI.js"), __vite__mapDeps([135, 47, 48, 90, 91, 132, 133, 45, 111, 112, 6, 134, 61, 136, 137, 4, 80, 81, 41, 42, 82, 138]))),
	NYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/CJoc17pLZ8.js"), __vite__mapDeps([139, 41, 42, 71, 39, 40, 72, 60, 45, 4, 73, 74, 44, 75, 46, 76, 77, 78, 24, 25, 79, 36, 80, 61, 81, 82, 83, 84, 26, 27, 5, 6, 85, 136, 137, 108, 106, 107, 109, 110, 111, 112, 113, 114, 115, 116, 118, 119, 120, 121, 15, 140]))),
	DYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/D34MfM3lFx.js"), __vite__mapDeps([141, 39, 40, 130, 74, 114, 111, 112, 4]))),
	$Ye = [{
		path: "/playground/chat",
		content: PYe
	}, {
		path: "/playground/complete",
		content: LYe
	}, {
		path: "/playground/assistants",
		content: NYe
	}, {
		path: "/playground/tts",
		content: DYe
	}],
	FYe = () => {
		const {
			user: e
		} = ft();
		return e ? $Ye : []
	},
	jYe = (e, t) => {
		const r = new URLSearchParams(t.search).get("mode");
		return r === Lr.chat ? "/playground/chat".concat(t.search) : r === Lr.assistant ? "/playground/assistants".concat(t.search) : r === Lr.freeform || r === "complete" ? "/playground/complete".concat(t.search) : "/playground/chat".concat(t.search)
	},
	UYe = (e, t) => "/playground/chat".concat(t.search),
	HYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/BsK-WHijb1.js"), [])),
	VYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/BPd1I7cEhv.js"), __vite__mapDeps([142, 12]))),
	BYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/BbBajR-l4K.js"), __vite__mapDeps([143, 12]))),
	zYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/C0xKMQOaJM.js"), [])),
	GYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/DsMOlQO_AF.js"), __vite__mapDeps([144, 145, 146, 147, 12, 148]))),
	WYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/0Qgg2egARN.js"), __vite__mapDeps([149, 145, 146, 12, 148]))),
	KYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/CJGYUEVAIN.js"), __vite__mapDeps([150, 4, 8, 9, 109, 110, 22, 147, 151, 148]))),
	ZYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/iDHK_aSpSD.js"), __vite__mapDeps([152, 8, 9, 22, 29, 30, 4, 153, 154, 110, 155, 12, 148]))),
	qYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/D2pAMXzmCg.js"), __vite__mapDeps([156, 18, 19, 157, 158]))),
	YYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/D718I69By2.js"), __vite__mapDeps([159, 153, 4, 154, 110, 160]))),
	XYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/D_wfOWap7C.js"), __vite__mapDeps([161, 162]))),
	JYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/DY0WADkvWu.js"), __vite__mapDeps([163, 164]))),
	QYe = h.lazy(() => Re(() => import("https://platform.openai.com/static/6HSpWR_4Zm.js"), __vite__mapDeps([165, 166, 100]))),
	eXe = h.lazy(() => Re(() => import("https://platform.openai.com/static/DzgR0U-0S3.js"), __vite__mapDeps([167, 166, 100, 168]))),
	tXe = h.lazy(() => Re(() => import("https://platform.openai.com/static/D88nRrsY0e.js"), __vite__mapDeps([169, 166, 100, 168]))),
	nXe = [{
		path: "/playground",
		sidebar: HYe,
		collapsible: !0
	}, {
		path: ["/assistants", "/threads", "/projects", "/api-keys", "/usage", "/finetune", "/batch", "/batches", "/storage", "/evals", "/voices"],
		sidebar: VYe,
		collapsible: !0
	}, {
		path: "/organization",
		sidebar: BYe,
		collapsible: !0
	}, {
		path: "/settings",
		sidebar: zYe
	}, {
		path: "/docs/api-reference",
		public: !0,
		sidebar: GYe
	}, {
		path: "/docs",
		public: !0,
		sidebar: WYe
	}],
	rXe = [{
		path: "/docs/api-reference",
		public: !0,
		content: KYe
	}, {
		path: "/docs",
		public: !0,
		content: ZYe
	}, {
		path: "/tokenizer",
		public: !0,
		content: qYe
	}, {
		path: "/subprocessors",
		public: !0,
		content: YYe
	}, {
		path: "/enterprise-pricing",
		content: XYe
	}, {
		path: "/ambassadors",
		content: JYe
	}, {
		path: "/verify-age",
		content: QYe
	}, {
		path: "/verify-age/callback",
		content: eXe
	}, {
		path: "/verify-age/cancel",
		content: tXe
	}],
	iXe = () => {
		const e = FYe(),
			t = MYe(),
			n = lYe();
		return h.useMemo(() => [].concat(rXe, e, t, n), [e, t, n])
	},
	kJ = () => {
		var r, i;
		const {
			user: e
		} = ft(), {
			pathname: t
		} = ha(), n = h.useMemo(() => nXe.find(({
			path: o,
			exact: a
		}) => Ka(t, {
			path: o,
			exact: a
		})), [t]);
		return !(n != null && n.public) && !e ? {
			currentSidebar: void 0,
			currentSidebarKey: ""
		} : {
			currentSidebar: n,
			currentSidebarKey: Array.isArray(n == null ? void 0 : n.path) ? (r = n == null ? void 0 : n.path.join("")) != null ? r : "" : (i = n == null ? void 0 : n.path) != null ? i : ""
		}
	},
	AJ = () => {
		var i, o;
		const {
			user: e
		} = ft(), {
			pathname: t
		} = ha(), n = iXe(), r = h.useMemo(() => n.find(({
			path: a,
			exact: s
		}) => Ka(t, {
			path: a,
			exact: s
		})), [n, t]);
		return !(r != null && r.public) && !e ? {
			currentPage: void 0,
			currentPageKey: "auth-required"
		} : {
			currentPage: r,
			currentPageKey: Array.isArray(r == null ? void 0 : r.path) ? (i = r == null ? void 0 : r.path.join("")) != null ? i : "" : (o = r == null ? void 0 : r.path) != null ? o : "not-found"
		}
	},
	MJ = () => {
		const {
			preferSidebarCollapsed: e
		} = p4(), {
			currentSidebar: t
		} = kJ(), {
			currentPage: n
		} = AJ(), r = !!t, i = t == null ? void 0 : t.collapsible, o = n == null ? void 0 : n.hideSidebar;
		return {
			state: !r || o ? "hidden" : e && i ? "collapsed" : "expanded",
			collapsible: !!i,
			preferCollapsed: e
		}
	},
	B$ = {
		"/playground": jYe,
		"/playground/compare": UYe,
		"/playground/p/:presetId": "/playground/chat?preset=:presetId",
		"/batch": "/batches",
		"/batch/:id": "/batches/:id",
		"/files": "/storage/files",
		"/files/:fileId?": "/storage/files/:fileId?",
		"/account": "/settings/organization/general",
		"/account/organization": "/settings/organization/general",
		"/account/org-settings": "/settings/organization/general",
		"/account/rate-limits": "/settings/organization/limits",
		"/account/billing/limits": "/settings/organization/limits",
		"/account/usage": "/usage",
		"/settings": "/settings/organization/general",
		"/account/billing": "/settings/organization/billing/overview",
		"/account/billing/overview": "/settings/organization/billing/overview",
		"/account/billing/payment-methods": "/settings/organization/billing/payment-methods",
		"/account/billing/history": "/settings/organization/billing/history",
		"/account/billing/preferences": "/settings/organization/billing/preferences",
		"/account/limits": "/settings/organization/limits",
		"/account/api-keys": "/api-keys",
		"/account/members": "/settings/organization/team",
		"/account/team": "/settings/organization/team",
		"/account/user-settings": "/account/profile",
		"/settings/organization": "/settings/organization/general",
		"/settings/organization/scale-tier": "/settings/organization/scale-tier/overview",
		"/projects": "/organization/projects",
		"/overview": "/docs/overview",
		"/docs": "/docs/overview",
		"/examples": "/docs/examples",
		"/docs/guides": "/docs/guides/text-generation",
		"/docs/plugins/:subpath?": "/docs/actions",
		"/docs/gptbot": "/docs/bots",
		"/docs/api-reference": "/docs/api-reference/introduction",
		"/docs/api-reference/list-engines": "/docs/api-reference/models/list",
		"/docs/api-reference/retrieve-engine": "/docs/api-reference/models/retrieve",
		"/docs/api-reference/requesting-organization": "/docs/api-reference/organization-optional",
		"/docs/api-reference/create-completion": "/docs/api-reference/completions/create"
	},
	oXe = () => {
		const e = ha(),
			{
				pathname: t
			} = e,
			n = U8(),
			r = h.useMemo(() => Ka(t, {
				path: Object.keys(B$),
				exact: !0
			}), [t]);
		return h.useEffect(() => {
			if (!r) return;
			const {
				path: i,
				params: o
			} = r, a = B$[i];
			let s = "";
			a && (typeof a == "function" ? s = a(r, e) : s = RC(a, o), n.replace(s, {
				isAppRedirect: !0
			}))
		}, [r, e, n]), !!r
	},
	aXe = xt("div", {
		target: "e13ezjgo0"
	})("overflow:auto;border-radius:8px;background-color:var(--gray-100);body.dark &{background-color:var(--gray-0);}"),
	sXe = xt("div", {
		target: "e13ezjgo1"
	})("border:2px solid var(--gray-100);display:flex;flex-direction:row;align-items:stretch;gap:0;display:flex;flex-direction:row;align-items:stretch;white-space:nowrap;padding:0;gap:0;.btn{border-radius:6px;border:1px solid transparent;background-color:var(--bg-color);color:var(--text-primary);padding:4px 12px;margin:0 !important;}.btn:hover{background-color:var(--gray-0);color:var(--text-primary);}.btn-outlined{border:1px solid transparent;background-color:transparent;color:var(--text-secondary);box-shadow:none;}.btn-outlined:hover{background-color:transparent;}.btn.btn-neutral .btn-outlined{border:1px solid transparent;background-color:transparent;color:var(--text-secondary);}.btn:focus,btn:active{box-shadow:none;border:1px solid transparent;}.btn-primary:focus-visible{box-shadow:var(--input-focus-ring);border:1px solid var(--input-border-focus);}.btn:focus-visible{box-shadow:var(--input-focus-ring);border:1px solid var(--input-border-focus);}body.dark &{border:2px solid var(--gray-0);.btn{background-color:var(--gray-0);color:var(--text-disabled);}.btn-primary{color:var(--green-600);background-color:var(--gray-50);}.btn-primary:focus-visible{box-shadow:var(--input-focus-ring);border:1px solid var(--input-border-focus);}.btn-outlined{border:1px solid transparent;background-color:transparent;color:var(--text-disabled);box-shadow:none;}.btn-outlined:hover{color:var(--text-secondary);}.btn:focus{box-shadow:none;}.btn:focus-visible{box-shadow:var(--input-focus-ring);border:1px solid var(--input-border-focus);}}}"),
	uXe = ({
		children: e,
		style: t,
		className: n
	}) => C.jsx(aXe, {
		style: t,
		className: n,
		children: C.jsx(sXe, {
			children: e
		})
	}),
	z$ = xt("button", {
		target: "e14rt5eu0"
	})("display:flex;height:36px;padding:6px 12px;justify-content:center;align-items:center;flex:1 0 0;border-radius:4px;border:1px solid var(--gray-200);background:var(--bg-color);"),
	lXe = xt("div", {
		target: "e14rt5eu1"
	})("position:fixed;right:20px;bottom:20px;max-width:90%;width:400px;z-index:10;");

function cXe() {
	const {
		openCookieOptionsModal: e,
		updateCookieSettings: t
	} = jh(), n = r => {
		t(r).then(i => {
			i && Ui.danger("Error updating cookie settings: ".concat(i.message))
		})
	};
	return C.jsx(t9, {
		children: C.jsx(lXe, {
			"data-testid": "cookie-consent-banner",
			children: C.jsx(JV, {
				intent: Zu.neutral,
				children: C.jsxs("div", {
					style: {
						padding: 4
					},
					children: [C.jsxs("div", {
						children: ["We use cookies and similar technologies to deliver, maintain, improve our services and for security purposes. Check our", " ", C.jsx("a", {
							href: "https://openai.com/policies/cookie-policy",
							target: "_blank",
							rel: "noreferrer",
							children: "Cookie Policy"
						}), " ", "for details. Click 'Accept all' to let OpenAI and partners use cookies for these purposes. Click 'Reject all' to say no to cookies, except those that are strictly necessary. Choose", " ", C.jsx("span", {
							className: "link-style",
							onClick: e,
							children: "'Manage Cookies'"
						}), " ", "to pick specific cookies you're okay with or to change your preferences."]
					}), C.jsxs(uXe, {
						style: {
							justifyContent: "space-between",
							gap: 8,
							marginTop: 12
						},
						children: [C.jsx(z$, {
							onClick: () => n(!1),
							children: "Reject all"
						}), C.jsx(z$, {
							onClick: () => n(!0),
							children: "Accept all"
						})]
					})]
				})
			})
		})
	})
}
const fXe = () => C.jsx("svg", {
		width: 12,
		height: 8.4,
		viewBox: "0 0 10 7",
		children: C.jsx("path", {
			fill: "currentColor",
			fillRule: "evenodd",
			d: "M4 4.586L1.707 2.293A1 1 0 1 0 .293 3.707l3 3a.997.997 0 0 0 1.414 0l5-5A1 1 0 1 0 8.293.293L4 4.586z"
		})
	}),
	dXe = () => C.jsx("svg", {
		width: 16,
		height: 16,
		viewBox: "0 0 16 16",
		children: C.jsx("path", {
			fill: "currentColor",
			fillRule: "evenodd",
			d: "M11 7H5c-.55 0-1 .45-1 1s.45 1 1 1h6c.55 0 1-.45 1-1s-.45-1-1-1z"
		})
	}),
	mg = J.memo(e => {
		const {
			asToggle: t = !1,
			checked: n = !1,
			className: r,
			defaultChecked: i,
			disabled: o,
			id: a,
			indeterminate: s = !1,
			inputRef: u,
			isInvalid: l,
			label: c,
			name: d,
			onChange: p,
			value: g,
			style: m,
			..._
		} = e, S = h.useRef(null), y = h.useCallback(w => {
			p(w.target.checked, w)
		}, [p]);
		return h.useEffect(() => {
			const w = S.current.querySelector(".cb-input");
			w.indeterminate = s
		}, [s]), t && e.indeterminate !== void 0 && Oj && console.error("Checkboxes rendered as toggles cannot use the indeterminate prop"), C.jsxs("label", {
			className: Pe("cb", o && "cb-disabled", r),
			ref: S,
			style: m,
			children: [C.jsx("input", {
				..._,
				className: Pe("cb-input", (n || s) && "cb-checked"),
				id: a,
				type: "checkbox",
				name: d,
				value: g,
				checked: n || s,
				defaultChecked: i,
				onBlur: e.onBlur,
				onChange: y,
				disabled: o,
				"aria-invalid": l,
				ref: u
			}), t ? C.jsx("div", {
				className: "cb-toggle",
				children: C.jsx("div", {
					className: "cb-toggle-knob"
				})
			}) : C.jsx("div", {
				className: "cb-checkbox",
				children: s ? C.jsx(dXe, {}) : n ? C.jsx(fXe, {}) : null
			}), c && C.jsx("div", {
				className: Pe("cb-label", o && "cb-label-disabled"),
				children: c
			})]
		})
	}),
	tE = xt("div", {
		target: "e1c9x2k00"
	})("border-bottom:1px solid var(--gray-200);padding-bottom:16px;"),
	pXe = xt("div", {
		target: "e1c9x2k01"
	})("color:var(--gray-600);font-size:14px;font-style:normal;font-weight:400;line-height:20px;"),
	G$ = xt("div", {
		target: "e1c9x2k02"
	})("display:flex;justify-content:space-between;margin-top:16px;"),
	W$ = xt("div", {
		target: "e1c9x2k03"
	})("color:var(--gray-600);font-size:12px;font-style:normal;font-weight:400;line-height:16px;"),
	hXe = xt(mg, {
		target: "e1c9x2k04"
	})(".cb-toggle{background:rgba(16,163,127,0.5);}");

function vXe() {
	const {
		cookieOptionsModalOpen: e,
		closeCookieOptionsModal: t,
		allowAnalyticsCookies: n,
		updateCookieSettings: r
	} = jh(), [i, o] = J.useState(n);
	h.useEffect(() => {
		o(n)
	}, [n]);
	const a = (s, u) => {
		const l = n;
		o(s), r(s).then(c => {
			c ? (o(l), Ui.danger("Error updating cookie settings: ".concat(c.message))) : u && u()
		})
	};
	return C.jsx("span", {
		"data-testid": "cookie-consent-modal-header",
		children: C.jsxs(Cl, {
			isOpen: e,
			onClose: t,
			closeOnEscape: !0,
			closeIcon: !0,
			children: [C.jsx(i4, {
				children: C.jsx("div", {
					className: "heading-small",
					children: "Manage cookies"
				})
			}), C.jsxs(zh, {
				children: [C.jsx(tE, {
					children: C.jsxs(pXe, {
						children: ["OpenAI uses cookies to improve your experience and analyze site traffic. For more information, read our", " ", C.jsx("a", {
							href: "https://openai.com/policies/privacy-policy",
							target: "_blank",
							rel: "noreferrer",
							children: "cookie policy"
						}), "."]
					})
				}), C.jsx(tE, {
					children: C.jsxs(G$, {
						children: [C.jsxs("div", {
							children: [C.jsx("div", {
								children: "Essential"
							}), C.jsx(W$, {
								children: "Cookies that are necessary to operate the service, such as logging you in and keeping your account secure."
							})]
						}), C.jsx(hXe, {
							asToggle: !0,
							checked: !0,
							disabled: !0,
							onChange: t1.noop
						})]
					})
				}), C.jsx(tE, {
					children: C.jsxs(G$, {
						children: [C.jsxs("div", {
							children: [C.jsx("div", {
								children: "Analytics"
							}), C.jsx(W$, {
								children: "Cookies that are used by OpenAI and our partners to helps us understand how our websites are used in order to improve our services."
							})]
						}), C.jsx(mg, {
							asToggle: !0,
							checked: i,
							onChange: () => a(!i)
						})]
					})
				})]
			}), C.jsx(n9, {
				children: C.jsxs("div", {
					className: "flex",
					children: [C.jsx(ir, {
						size: "small",
						color: Ci.neutral,
						onClick: () => {
							a(!1, t)
						},
						children: "Decline all"
					}), C.jsx(ir, {
						size: "small",
						color: Ci.primary,
						onClick: () => {
							a(!0, t)
						},
						children: "Accept all"
					})]
				})
			})]
		})
	})
}

function gXe() {
	const {
		showConsentBanner: e,
		showCookieOptions: t
	} = jh();
	return C.jsxs("div", {
		"data-testid": "compliance-management-wrapper",
		children: [e && C.jsx(cXe, {}), t && C.jsx(vXe, {})]
	})
}
const mXe = xt("div", {
		target: "e12wmaeb0"
	})("border-bottom:1px solid var(--gray-200);padding-bottom:16px;margin-bottom:16px;&:last-child{border-bottom:none;}"),
	yXe = xt("div", {
		target: "e12wmaeb1"
	})("display:flex;justify-content:space-between;"),
	wXe = xt("div", {
		target: "e12wmaeb2"
	})("font-size:14px;font-weight:700;"),
	_Xe = xt("div", {
		target: "e12wmaeb3"
	})("font-size:12px;color:var(--text-secondary);"),
	bXe = () => {
		const {
			optionalFlags: e,
			getFlag: t,
			updateFlag: n,
			showFlagModal: r,
			closeFlagModal: i
		} = Ul();
		return C.jsxs(Cl, {
			onClose: i,
			isOpen: r && e.length > 0,
			closeIcon: !0,
			closeOnEscape: !0,
			children: [C.jsx(i4, {
				children: "Manage feature flags"
			}), C.jsx(zh, {
				children: e.map(o => {
					var a;
					return C.jsxs(mXe, {
						children: [C.jsxs(yXe, {
							children: [C.jsx(wXe, {
								children: (a = o.displayName) != null ? a : o.key
							}), C.jsx(mg, {
								asToggle: !0,
								checked: t(o.key),
								onChange: () => n(o.key, !t(o.key))
							})]
						}), o.description && C.jsx(_Xe, {
							children: o.description
						})]
					}, o.key)
				})
			})]
		})
	},
	SXe = "_7j8ow",
	xXe = "qLnXc",
	K$ = {
		Page: SXe,
		PageWrapper: xXe
	},
	EXe = h.memo(({
		children: e
	}) => C.jsx("div", {
		className: K$.Page,
		children: C.jsx("div", {
			className: K$.PageWrapper,
			children: e
		})
	})),
	CXe = "EpwGB",
	OXe = "VO47n",
	TXe = "qyrrQ",
	RXe = "GVIPA",
	IXe = "aTuAl",
	kXe = "DH-HY",
	AXe = "FDGXZ",
	MXe = "_1h-SG",
	PXe = "-ySo1",
	LXe = "lT-iZ",
	NXe = "-k7Gw",
	DXe = "_0MyKb",
	$Xe = "ia2hd",
	FXe = "iCKi8",
	jXe = "EDOEc",
	UXe = "_0LIzz",
	HXe = "q3jBs",
	VXe = "QeXPj",
	BXe = "tFBvw",
	zXe = "_9EWJR",
	Vt = {
		Sidebar: CXe,
		Sidebar__mobile: OXe,
		Container: TXe,
		SidebarInner: RXe,
		SidebarContent: IXe,
		SidebarMenu: kXe,
		Pressable: AXe,
		PressableInner: MXe,
		NavItem: PXe,
		NavItem__active: LXe,
		NavItemIcon: NXe,
		SidebarHeader: DXe,
		Sidebar__atTop: $Xe,
		Title: FXe,
		SidebarFooter: jXe,
		NavItemLabel: UXe,
		SidebarFooterItems: HXe,
		SidebarMenu__scrollable: VXe,
		Title__static: BXe,
		TitleLabel: zXe
	},
	GXe = h.memo(({
		children: e
	}) => {
		const t = ag("md");
		return C.jsxs("aside", {
			className: Pe(Vt.Sidebar, !t && Vt.Sidebar__mobile),
			children: [!t && C.jsx(RJ, {}), C.jsx("div", {
				className: Vt.SidebarInner,
				children: e
			}), C.jsx(qXe, {})]
		})
	}),
	Rut = h.memo(({
		children: e
	}) => C.jsx("div", {
		className: Pe(Vt.SidebarHeader, Vt.Container),
		children: e
	})),
	WXe = h.memo(({
		children: e,
		collapsible: t
	}) => C.jsx("div", {
		className: Pe(Vt.SidebarContent),
		"data-sidebar-collapsible": t ? "" : void 0,
		children: e
	})),
	KXe = e => {
		const [t, n] = h.useState(!1), [r, i] = h.useState(!0);
		return h.useEffect(() => {
			if (!e) return;
			const o = () => {
				const {
					scrollHeight: s,
					clientHeight: u,
					scrollTop: l
				} = e;
				n(s > u), i(l === 0)
			};
			o(), e.addEventListener("scroll", o, {
				passive: !0
			});
			const a = new ResizeObserver(o);
			return a.observe(e), () => {
				e.removeEventListener("scroll", o), a.disconnect()
			}
		}, [e]), {
			isScrollable: t,
			isAtTop: r
		}
	},
	Iut = h.memo(({
		children: e
	}) => {
		const [t, n] = h.useState(null), {
			isScrollable: r
		} = KXe(t);
		return C.jsx("div", {
			ref: n,
			className: Pe(Vt.SidebarMenu, Vt.Container, r && Vt.SidebarMenu__scrollable),
			children: e
		})
	}),
	kut = ({
		label: e,
		collapsible: t
	}) => {
		const {
			preferSidebarCollapsed: n,
			setPreferSidebarCollapsed: r
		} = p4(), i = () => {
			r(!n)
		};
		return t ? C.jsx("button", {
			type: "button",
			className: Pe(Vt.Title, Vt.Pressable),
			onClick: i,
			children: C.jsxs("span", {
				className: Vt.PressableInner,
				children: [t && C.jsx("span", {
					className: Vt.NavItemIcon,
					children: C.jsx(uD, {
						width: "20px",
						height: "20px"
					})
				}), C.jsx("span", {
					className: Vt.TitleLabel,
					children: e
				})]
			})
		}) : C.jsxs("div", {
			className: Pe(Vt.Title, Vt.Title__static),
			children: [t && C.jsx("span", {
				className: Vt.NavItemIcon,
				children: C.jsx(uD, {
					width: "20px",
					height: "20px"
				})
			}), C.jsx("span", {
				className: Vt.TitleLabel,
				children: e
			})]
		})
	},
	nE = ({
		label: e,
		url: t,
		Icon: n,
		onClick: r,
		sectionHeading: i,
		isActive: o,
		exact: a,
		"data-primary-nav-item": s
	}) => {
		let u, l = {};
		if (r) u = "button", l = {
			onClick: r
		};
		else if (t != null && t.startsWith("https://")) u = "a", l = {
			href: t,
			target: "_blank",
			rel: "noopener noreferrer"
		};
		else if (t) u = B8, l = {
			to: t,
			activeClassName: Vt.NavItem__active,
			isActive: o,
			exact: a,
			"data-primary-nav-item": s
		};
		else return null;
		return C.jsx(ZXe, {
			label: e,
			children: C.jsx(u, {
				...l,
				className: Pe(Vt.NavItem, Vt.Pressable),
				"data-section-heading": i ? "" : void 0,
				children: C.jsxs("span", {
					className: Vt.PressableInner,
					children: [C.jsx("span", {
						className: Vt.NavItemIcon,
						children: n && C.jsx(n, {})
					}), C.jsx("span", {
						className: Vt.NavItemLabel,
						children: e
					})]
				})
			})
		})
	},
	ZXe = ({
		label: e,
		children: t
	}) => {
		const {
			state: n
		} = MJ(), o = !ag("md") || !(n === "collapsed");
		return C.jsx(hf, {
			compact: !0,
			content: e,
			isOpen: o ? !1 : void 0,
			placement: zi.right,
			onMouseEnterDelay: 200,
			onMouseLeaveDelay: 0,
			children: t
		})
	},
	qXe = () => {
		const {
			user: e
		} = ft(), t = ag("md"), n = () => {
			var i;
			Tn.dashboardEvent({
				name: qo.navigationHelpClick
			});
			const r = window.intercomIsShown ? "hide" : "show";
			(i = window.Intercom) == null || i.call(window, r)
		};
		return C.jsxs("div", {
			className: Pe(Vt.SidebarFooter, Vt.Container),
			children: [C.jsxs("div", {
				className: Pe(Vt.SidebarFooterItems),
				children: [C.jsx(nE, {
					Icon: UAe,
					label: "Forum",
					url: "https://community.openai.com/categories"
				}), C.jsx(nE, {
					Icon: VMe,
					label: "Help",
					onClick: n
				}), !t && !!e && C.jsx(nE, {
					Icon: qK,
					label: "Settings",
					url: "/settings",
					"data-primary-nav-item": ""
				}), !t && !!e && C.jsx(TJ, {})]
			}), !t && !e && C.jsx(IJ, {})]
		})
	},
	YXe = "unjkE",
	XXe = {
		Wrapper: YXe
	},
	JXe = h.memo(({
		children: e
	}) => {
		const {
			mobileMenuVisible: t
		} = p4(), {
			state: n,
			preferCollapsed: r
		} = MJ();
		return C.jsx("main", {
			className: XXe.Wrapper,
			"data-sidebar": n,
			"data-sidebar-prefer-collapse": r ? "" : void 0,
			"data-mobile-menu": t ? "visible" : "hidden",
			children: e
		})
	}),
	QXe = xt("div", {
		target: "er4gftm0"
	})("display:flex;flex-direction:column;align-items:center;justify-content:center;height:800px;max-height:100%;padding:20px;"),
	eJe = xt("div", {
		target: "er4gftm1"
	})("font-size:18px;line-height:1.3;font-weight:600;margin-top:28px;color:var(--gray-700);"),
	tJe = xt("div", {
		target: "er4gftm2"
	})("margin-top:12px;font-size:15px;color:var(--gray-500);max-width:500px;text-align:center;");

function nJe() {
	return C.jsx(rJe, {
		className: "page-body"
	})
}

function rJe({
	className: e,
	children: t
}) {
	return C.jsxs(QXe, {
		className: Pe("not-found", e),
		children: [C.jsx(Jb, {
			color: "var(--gray-200)",
			width: "32px",
			height: "32px"
		}), C.jsx(eJe, {
			children: "Page not found"
		}), C.jsx(tJe, {
			children: "We couldn't find the page you were looking for."
		}), t]
	})
}
const iJe = "lgGza",
	oJe = "P2ff0",
	aJe = "RRe2A",
	sJe = "-jCTM",
	uJe = "sXRUo",
	lJe = "bSX-Q",
	cJe = "YfuCO",
	xy = {
		FadeWrapper: iJe,
		Fade: oJe,
		FadeItem: aJe,
		SuspenseFadeTransitionWrapper: sJe,
		SuspenseFadeTransition: uJe,
		SuspenseFadeItem: lJe,
		SuspenseFadeTransitionContent: cJe
	},
	fJe = e => h.Children.toArray(e).filter(t => t != null),
	Z$ = ({
		as: e = "div",
		className: t,
		wrapperClassName: n,
		children: r,
		duration: i,
		enterDuration: o = 350,
		exitDuration: a = 150,
		...s
	}) => C.jsx(e, {
		className: Pe(xy.SuspenseFadeTransitionWrapper, n),
		children: C.jsx(o1, {
			className: Pe(xy.SuspenseFadeTransition, t),
			duration: i,
			enterDuration: o,
			exitDuration: a,
			as: e,
			...s,
			children: fJe(r).map(u => C.jsx(e, {
				className: xy.SuspenseFadeItem,
				children: C.jsx(h.Suspense, {
					fallback: C.jsx("div", {}),
					children: C.jsx(o1, {
						preventInitialTransition: !1,
						enterDuration: o,
						exitDuration: 0,
						className: xy.SuspenseFadeTransitionContent,
						children: C.jsx(h.Fragment, {
							children: u
						}, "content")
					})
				})
			}, u.key || void 0))
		})
	}),
	dJe = () => C.jsx("div", {});

function pJe() {
	var m, _;
	const {
		user: e
	} = ft(), t = ha(), {
		currentSidebar: n,
		currentSidebarKey: r
	} = kJ(), {
		currentPage: i,
		currentPageKey: o
	} = AJ(), a = oXe(), s = F0(n, a), u = F0(r, a), l = F0(i, a), c = F0(o, a), d = F0(t, a), p = (m = s == null ? void 0 : s.sidebar) != null ? m : null, g = (_ = l == null ? void 0 : l.content) != null ? _ : c === "auth-required" ? zPe : a ? dJe : nJe;
	return Zqe(e), C.jsxs(C.Fragment, {
		children: [C.jsx(Xn, {
			exact: !0,
			path: "/",
			children: C.jsx(f7e, {
				to: e ? "/playground" : "/docs/overview"
			})
		}), C.jsx(Kqe, {}), C.jsxs(JXe, {
			children: [C.jsx(GXe, {
				children: C.jsx(Z$, {
					children: C.jsx(WXe, {
						collapsible: s == null ? void 0 : s.collapsible,
						children: p && C.jsx(p, {})
					}, u)
				})
			}), C.jsx(EXe, {
				children: C.jsx(Z$, {
					children: C.jsx(j8, {
						location: d,
						children: C.jsx(Xn, {
							exact: l == null ? void 0 : l.exact,
							path: l == null ? void 0 : l.path,
							children: C.jsx(g, {})
						})
					}, c)
				})
			})]
		}), C.jsx(gXe, {}), C.jsx(bXe, {})]
	})
}
const hJe = h.memo(pJe),
	vJe = xt("div", {
		target: "e9d1t140"
	})("display:flex;flex-direction:column;align-items:center;justify-content:center;height:800px;max-height:100%;padding:20px;"),
	gJe = xt("div", {
		target: "e9d1t141"
	})("font-size:18px;line-height:1.3;font-weight:600;margin-top:28px;color:var(--gray-900);"),
	mJe = xt("div", {
		target: "e9d1t142"
	})("margin:12px 0 18px;font-size:15px;color:var(--gray-500);max-width:280px;text-align:center;strong{color:var(--gray-700);}"),
	yJe = UT(e => Nn.acceptInvite(e));

function wJe() {
	const e = ha(),
		{
			loginWithRedirect: t,
			user: n
		} = ft(),
		{
			token: r
		} = Ue.parse(e.search),
		{
			data: i,
			loading: o,
			error: a
		} = yJe(r, {
			deps: [r]
		});
	if (h.useEffect(() => {
			(i == null ? void 0 : i.status) === wv.SIGNUP_REQUIRED && jn.push("/signup")
		}, [i]), o) return C.jsx(rE, {
		logo: C.jsx(yT, {
			size: "32px"
		}),
		title: "Sit tight...",
		description: "We're looking up your invite"
	});
	if ((i == null ? void 0 : i.status) === wv.SIGNUP_REQUIRED) return null;
	if ((i == null ? void 0 : i.status) === wv.ACCEPTED) {
		const s = "/account/team?with_org=".concat(i == null ? void 0 : i.invite.organization.id);
		return C.jsx(rE, {
			title: "Invite accepted",
			description: C.jsxs(C.Fragment, {
				children: ["You've been added to the organization:", " ", C.jsx("strong", {
					children: i == null ? void 0 : i.invite.organization.title
				})]
			}),
			button: !n || n.id !== i.user ? C.jsx(ir, {
				size: "small",
				color: "neutral",
				onClick: () => {
					t({
						appState: {
							targetPath: s
						},
						max_age: 0
					})
				},
				children: "Login"
			}) : C.jsx(ir, {
				size: "small",
				color: "neutral",
				href: window.location.origin + s,
				children: "Continue"
			})
		})
	}
	return C.jsx(rE, {
		title: "Oops!",
		description: a instanceof Ta ? a.userMessage : z8
	})
}

function rE({
	button: e,
	description: t,
	logo: n = C.jsx(Jb, {
		color: "var(--gray-400)",
		width: "32px",
		height: "32px"
	}),
	title: r
}) {
	return C.jsxs(vJe, {
		className: "page-body",
		children: [n, C.jsx(gJe, {
			children: r
		}), C.jsx(mJe, {
			children: t
		}), e]
	})
}

function _Je(e) {
	const {
		width: t,
		height: n,
		color: r,
		...i
	} = e;
	return C.jsxs("svg", {
		width: t,
		height: n,
		viewBox: "0 0 1180 320",
		xmlns: "http://www.w3.org/2000/svg",
		...i,
		children: [C.jsx("title", {
			children: "OpenAI"
		}), C.jsx("path", {
			d: "M367.44 153.84c0 52.32 33.6 88.8 80.16 88.8s80.16-36.48 80.16-88.8-33.6-88.8-80.16-88.8-80.16 36.48-80.16 88.8zm129.6 0c0 37.44-20.4 61.68-49.44 61.68s-49.44-24.24-49.44-61.68 20.4-61.68 49.44-61.68 49.44 24.24 49.44 61.68zM614.27 242.64c35.28 0 55.44-29.76 55.44-65.52s-20.16-65.52-55.44-65.52c-16.32 0-28.32 6.48-36.24 15.84V114h-28.8v169.2h28.8v-56.4c7.92 9.36 19.92 15.84 36.24 15.84zm-36.96-69.12c0-23.76 13.44-36.72 31.2-36.72 20.88 0 32.16 16.32 32.16 40.32s-11.28 40.32-32.16 40.32c-17.76 0-31.2-13.2-31.2-36.48zM747.65 242.64c25.2 0 45.12-13.2 54-35.28L776.93 198c-3.84 12.96-15.12 20.16-29.28 20.16-18.48 0-31.44-13.2-33.6-34.8h88.32v-9.6c0-34.56-19.44-62.16-55.92-62.16s-60 28.56-60 65.52c0 38.88 25.2 65.52 61.2 65.52zm-1.44-106.8c18.24 0 26.88 12 27.12 25.92h-57.84c4.32-17.04 15.84-25.92 30.72-25.92zM823.98 240h28.8v-73.92c0-18 13.2-27.6 26.16-27.6 15.84 0 22.08 11.28 22.08 26.88V240h28.8v-83.04c0-27.12-15.84-45.36-42.24-45.36-16.32 0-27.6 7.44-34.8 15.84V114h-28.8zM1014.17 67.68L948.89 240h30.48l14.64-39.36h74.4l14.88 39.36h30.96l-65.28-172.32zm16.8 34.08l27.36 72h-54.24zM1163.69 68.18h-30.72V240.5h30.72zM297.06 130.97a79.712 79.712 0 00-6.85-65.48c-17.46-30.4-52.56-46.04-86.84-38.68A79.747 79.747 0 00143.24 0C108.2-.08 77.11 22.48 66.33 55.82a79.754 79.754 0 00-53.31 38.67c-17.59 30.32-13.58 68.54 9.92 94.54a79.712 79.712 0 006.85 65.48c17.46 30.4 52.56 46.04 86.84 38.68a79.687 79.687 0 0060.13 26.8c35.06.09 66.16-22.49 76.94-55.86a79.754 79.754 0 0053.31-38.67c17.57-30.32 13.55-68.51-9.94-94.51zM176.78 299.08a59.77 59.77 0 01-38.39-13.88c.49-.26 1.34-.73 1.89-1.07l63.72-36.8a10.36 10.36 0 005.24-9.07v-89.83l26.93 15.55c.29.14.48.42.52.74v74.39c-.04 33.08-26.83 59.9-59.91 59.97zM47.94 244.05a59.71 59.71 0 01-7.15-40.18c.47.28 1.3.79 1.89 1.13l63.72 36.8c3.23 1.89 7.23 1.89 10.47 0l77.79-44.92v31.1c.02.32-.13.63-.38.83L129.87 266c-28.69 16.52-65.33 6.7-81.92-21.95zM31.17 104.96c7-12.16 18.05-21.46 31.21-26.29 0 .55-.03 1.52-.03 2.2v73.61c-.02 3.74 1.98 7.21 5.23 9.06l77.79 44.91L118.44 224c-.27.18-.61.21-.91.08l-64.42-37.22c-28.63-16.58-38.45-53.21-21.95-81.89zm221.26 51.49l-77.79-44.92 26.93-15.54c.27-.18.61-.21.91-.08l64.42 37.19c28.68 16.57 38.51 53.26 21.94 81.94a59.94 59.94 0 01-31.2 26.28v-75.81c.03-3.74-1.96-7.2-5.2-9.06zm26.8-40.34c-.47-.29-1.3-.79-1.89-1.13l-63.72-36.8a10.375 10.375 0 00-10.47 0l-77.79 44.92V92c-.02-.32.13-.63.38-.83l64.41-37.16c28.69-16.55 65.37-6.7 81.91 22a59.95 59.95 0 017.15 40.1zm-168.51 55.43l-26.94-15.55a.943.943 0 01-.52-.74V80.86c.02-33.12 26.89-59.96 60.01-59.94 14.01 0 27.57 4.92 38.34 13.88-.49.26-1.33.73-1.89 1.07L116 72.67a10.344 10.344 0 00-5.24 9.06l-.04 89.79zM125.35 140L160 119.99l34.65 20V180L160 200l-34.65-20z",
			fill: e.color || "currentColor"
		})]
	})
}

function Aut(e) {
	const {
		width: t,
		height: n,
		color: r,
		...i
	} = e;
	return C.jsx("svg", {
		width: t,
		height: n,
		viewBox: "0 0 360 362",
		...i,
		children: C.jsx("path", {
			d: "M307.546 52.566C273.709 18.684 228.706.017 180.756 0 81.951 0 1.538 80.404 1.504 179.235c-.017 31.594 8.242 62.432 23.928 89.609L0 361.736l95.024-24.925c26.179 14.285 55.659 21.805 85.655 21.814h.077c98.788 0 179.21-80.413 179.244-179.244.017-47.898-18.608-92.926-52.454-126.807v-.008Zm-126.79 275.788h-.06c-26.73-.008-52.952-7.194-75.831-20.765l-5.44-3.231-56.391 14.791 15.05-54.981-3.542-5.638c-14.912-23.721-22.793-51.139-22.776-79.286.035-82.14 66.867-148.973 149.051-148.973 39.793.017 77.198 15.53 105.328 43.695 28.131 28.157 43.61 65.596 43.593 105.398-.035 82.149-66.867 148.982-148.982 148.982v.008Zm81.719-111.577c-4.478-2.243-26.497-13.073-30.606-14.568-4.108-1.496-7.09-2.243-10.073 2.243-2.982 4.487-11.568 14.577-14.181 17.559-2.613 2.991-5.226 3.361-9.704 1.117-4.477-2.243-18.908-6.97-36.02-22.226-13.313-11.878-22.304-26.54-24.916-31.027-2.613-4.486-.275-6.91 1.959-9.136 2.011-2.011 4.478-5.234 6.721-7.847 2.244-2.613 2.983-4.486 4.478-7.469 1.496-2.991.748-5.603-.369-7.847-1.118-2.243-10.073-24.289-13.812-33.253-3.636-8.732-7.331-7.546-10.073-7.692-2.613-.13-5.595-.155-8.586-.155-2.991 0-7.839 1.118-11.947 5.604-4.108 4.486-15.677 15.324-15.677 37.361s16.047 43.344 18.29 46.335c2.243 2.991 31.585 48.225 76.51 67.632 10.684 4.615 19.029 7.374 25.535 9.437 10.727 3.412 20.49 2.931 28.208 1.779 8.604-1.289 26.498-10.838 30.228-21.298 3.73-10.46 3.73-19.433 2.613-21.298-1.117-1.865-4.108-2.991-8.586-5.234l.008-.017Z",
			fill: r || "currentColor"
		})
	})
}

function bJe() {
	const {
		user: e
	} = ft();
	return C.jsx("div", {
		className: "launcher",
		children: C.jsxs("div", {
			className: "launcher-body",
			children: [C.jsx("div", {
				className: "launcher-header",
				children: C.jsx(_Je, {
					width: "148",
					height: "40",
					color: "currentColor"
				})
			}), C.jsxs("div", {
				className: "launcher-menu",
				children: [C.jsx(q$, {
					name: "ChatGPT",
					description: "Interact with our flagship language models in a conversational interface",
					href: "https://chatgpt.com/auth/login".concat(e ? "?sso" : "")
				}), C.jsx(q$, {
					name: "API",
					description: "Integrate OpenAI models into your application or business",
					href: "/"
				})]
			})]
		})
	})
}

function q$({
	description: e,
	href: t,
	name: n
}) {
	return C.jsxs("a", {
		className: "launcher-item",
		href: t,
		children: [C.jsxs("div", {
			className: "launcher-item-header",
			children: [C.jsx("h1", {
				children: n
			}), C.jsx(uze, {
				size: 20
			})]
		}), C.jsx("div", {
			className: "launcher-item-desc",
			children: e
		})]
	})
}
const v4 = 0;

function SJe() {
	const {
		loading: e,
		loginWithRedirect: t
	} = ft();
	return h.useEffect(() => {
		if (e) return;
		const n = {
			appState: {
				targetPath: "/overview"
			},
			screen_hint: "signup",
			max_age: v4
		};
		"launch" in Ue.parse(window.location.search) && (n.appState.targetPath = "/apps"), t(n)
	}, [e]), null
}

function xJe() {
	const {
		loading: e,
		loginWithRedirect: t,
		user: n
	} = ft();
	return h.useEffect(() => {
		if (e) return;
		const r = {
			appState: {
				targetPath: "/overview"
			},
			max_age: v4
		};
		if ("launch" in Ue.parse(window.location.search)) {
			if (n) {
				jn.replace("/apps");
				return
			}
			r.appState.targetPath = "/apps", delete r.max_age
		}
		t(r)
	}, [e]), null
}

function EJe() {
	const {
		provider: e
	} = yW(), {
		loading: t,
		loginWithRedirect: n
	} = ft(), {
		next: r
	} = Ue.parse(window.location.search);
	return h.useEffect(() => {
		t || n({
			appState: {
				targetPath: r || "/overview"
			},
			max_age: v4,
			connection: e
		})
	}, [t, e]), null
}

function CJe() {
	const {
		loading: e,
		loginWithRedirect: t
	} = ft();
	return h.useEffect(() => {
		if (!e) {
			const {
				app: n,
				next: r,
				callbackHost: i
			} = Ue.parse(window.location.search), o = {
				targetPath: r,
				app: n
			};
			i && (o.callbackHost = i), t({
				appState: o
			}, !0)
		}
	}, [e]), null
}

function OJe() {
	const {
		loading: e,
		loginWithRedirect: t
	} = ft();
	return h.useEffect(() => {
		e || t({
			appState: {
				targetPath: "/"
			},
			max_age: v4
		})
	}, [e]), null
}
const Y$ = [];

function TJe() {
	const {
		loading: e,
		loginWithRedirect: t,
		user: n
	} = ft(), i = yW()[0];
	return h.useEffect(() => {
		e || t({
			appState: {
				targetPath: "/"
			},
			...n ? {} : {
				screen_hint: "signup"
			},
			oaip: i
		})
	}, [e]), null
}
const X$ = J.lazy(() => Re(() => import("https://platform.openai.com/DjC3aGzWOX.js").then(e => e.a), __vite__mapDeps([54, 55, 11, 56, 57, 32, 58])));

function RJe() {
	return C.jsx(J1, {
		history: jn,
		children: C.jsx(IJe, {})
	})
}

function IJe() {
	const {
		error: e
	} = ft(), t = ha(), {
		allowAnalyticsCookies: n
	} = jh();
	return h.useEffect(() => {
		n && (t != null && t.pathname) && Tn.pageview(t.pathname, {
			locationPathname: t.pathname
		})
	}, [t.pathname, n]), C.jsx(h.Suspense, {
		fallback: C.jsx("div", {}),
		children: C.jsxs(j8, {
			children: [C.jsx(Xn, {
				exact: !0,
				path: bIe,
				render: SIe
			}), e && C.jsx(Xn, {
				children: C.jsx(X$, {})
			}), C.jsx(Xn, {
				path: "/signup",
				children: C.jsx(SJe, {})
			}), C.jsx(Xn, {
				path: "/signup_ext",
				children: C.jsx(CJe, {})
			}), C.jsx(Xn, {
				path: "/login",
				children: C.jsx(xJe, {})
			}), C.jsx(Xn, {
				path: "/loggedout",
				children: C.jsx(OJe, {})
			}), C.jsx(Xn, {
				path: "/enterprise/:provider/login",
				children: C.jsx(EJe, {})
			}), C.jsx(Xn, {
				path: "/onboarding",
				children: C.jsx(X$, {})
			}), C.jsx(Xn, {
				path: "/apps",
				children: C.jsx(bJe, {})
			}), C.jsx(Xn, {
				path: "/auth",
				children: C.jsx($7e, {})
			}), C.jsx(Xn, {
				path: "/invites/accept",
				children: C.jsx(wJe, {})
			}), Y$.length && C.jsx(Xn, {
				path: Y$,
				children: C.jsx(TJe, {})
			}), C.jsx(Xn, {
				children: C.jsx(kJe, {})
			})]
		})
	})
}

function kJe() {
	const {
		user: e,
		loading: t
	} = ft();
	return t && !e ? null : C.jsx(hJe, {})
}

function AJe() {
	const [e, t] = h.useState(!1), {
		loginWithRedirect: n
	} = ft();
	window._oai_handleSessionExpired = () => {
		t(!0)
	};
	const r = h.useCallback(() => {
		const {
			pathname: i,
			search: o,
			hash: a
		} = window.location, s = n({
			appState: {
				targetPath: i + o + a
			},
			max_age: 0
		});
		s !== void 0 && s.catch(u => {
			console.error(u)
		})
	}, [n]);
	return e ? C.jsx(Cl, {
		isOpen: !0,
		className: "sess-expiry-modal",
		size: Kc.small,
		children: C.jsx(zh, {
			children: C.jsxs("div", {
				className: "sess-expiry-body",
				children: [C.jsx("h3", {
					children: "Your session has expired"
				}), C.jsx("div", {
					children: "Please log in again to continue using the app."
				}), C.jsx("div", {
					className: "sess-expiry-actions",
					children: C.jsx(ir, {
						size: "small",
						color: Ci.neutral,
						onClick: r,
						children: "Log in"
					})
				})]
			})
		})
	}) : null
}
async function PJ(e, t = document.body) {
	if (navigator.clipboard) try {
		return await navigator.clipboard.writeText(e), !0
	} catch (i) {}
	const n = document.createElement("textarea");
	n.innerHTML = e, n.style.position = "fixed", n.style.top = "0", n.style.left = "0", n.style.opacity = "0", t.appendChild(n), n.focus(), n.select();
	let r = !1;
	try {
		r = document.execCommand("copy")
	} catch (i) {}
	return t.removeChild(n), r
}

function J$(e, t) {
	var n = Object.keys(e);
	if (Object.getOwnPropertySymbols) {
		var r = Object.getOwnPropertySymbols(e);
		t && (r = r.filter(function(i) {
			return Object.getOwnPropertyDescriptor(e, i).enumerable
		})), n.push.apply(n, r)
	}
	return n
}

function Kd(e) {
	for (var t = 1; t < arguments.length; t++) {
		var n = arguments[t] != null ? arguments[t] : {};
		t % 2 ? J$(Object(n), !0).forEach(function(r) {
			De(e, r, n[r])
		}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J$(Object(n)).forEach(function(r) {
			Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r))
		})
	}
	return e
}

function MJe(e) {
	var t = e.length;
	if (t === 0 || t === 1) return e;
	if (t === 2) return [e[0], e[1], "".concat(e[0], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0])];
	if (t === 3) return [e[0], e[1], e[2], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0])];
	if (t >= 4) return [e[0], e[1], e[2], e[3], "".concat(e[0], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3]), "".concat(e[3], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[0], ".").concat(e[1], ".").concat(e[2], ".").concat(e[3]), "".concat(e[0], ".").concat(e[1], ".").concat(e[3], ".").concat(e[2]), "".concat(e[0], ".").concat(e[2], ".").concat(e[1], ".").concat(e[3]), "".concat(e[0], ".").concat(e[2], ".").concat(e[3], ".").concat(e[1]), "".concat(e[0], ".").concat(e[3], ".").concat(e[1], ".").concat(e[2]), "".concat(e[0], ".").concat(e[3], ".").concat(e[2], ".").concat(e[1]), "".concat(e[1], ".").concat(e[0], ".").concat(e[2], ".").concat(e[3]), "".concat(e[1], ".").concat(e[0], ".").concat(e[3], ".").concat(e[2]), "".concat(e[1], ".").concat(e[2], ".").concat(e[0], ".").concat(e[3]), "".concat(e[1], ".").concat(e[2], ".").concat(e[3], ".").concat(e[0]), "".concat(e[1], ".").concat(e[3], ".").concat(e[0], ".").concat(e[2]), "".concat(e[1], ".").concat(e[3], ".").concat(e[2], ".").concat(e[0]), "".concat(e[2], ".").concat(e[0], ".").concat(e[1], ".").concat(e[3]), "".concat(e[2], ".").concat(e[0], ".").concat(e[3], ".").concat(e[1]), "".concat(e[2], ".").concat(e[1], ".").concat(e[0], ".").concat(e[3]), "".concat(e[2], ".").concat(e[1], ".").concat(e[3], ".").concat(e[0]), "".concat(e[2], ".").concat(e[3], ".").concat(e[0], ".").concat(e[1]), "".concat(e[2], ".").concat(e[3], ".").concat(e[1], ".").concat(e[0]), "".concat(e[3], ".").concat(e[0], ".").concat(e[1], ".").concat(e[2]), "".concat(e[3], ".").concat(e[0], ".").concat(e[2], ".").concat(e[1]), "".concat(e[3], ".").concat(e[1], ".").concat(e[0], ".").concat(e[2]), "".concat(e[3], ".").concat(e[1], ".").concat(e[2], ".").concat(e[0]), "".concat(e[3], ".").concat(e[2], ".").concat(e[0], ".").concat(e[1]), "".concat(e[3], ".").concat(e[2], ".").concat(e[1], ".").concat(e[0])]
}
var iE = {};

function PJe(e) {
	if (e.length === 0 || e.length === 1) return e;
	var t = e.join(".");
	return iE[t] || (iE[t] = MJe(e)), iE[t]
}

function LJe(e) {
	var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
		n = arguments.length > 2 ? arguments[2] : void 0,
		r = e.filter(function(o) {
			return o !== "token"
		}),
		i = PJe(r);
	return i.reduce(function(o, a) {
		return Kd(Kd({}, o), n[a])
	}, t)
}

function Q$(e) {
	return e.join(" ")
}

function NJe(e, t) {
	var n = 0;
	return function(r) {
		return n += 1, r.map(function(i, o) {
			return E9({
				node: i,
				stylesheet: e,
				useInlineStyles: t,
				key: "code-segment-".concat(n, "-").concat(o)
			})
		})
	}
}

function E9(e) {
	var t = e.node,
		n = e.stylesheet,
		r = e.style,
		i = r === void 0 ? {} : r,
		o = e.useInlineStyles,
		a = e.key,
		s = t.properties,
		u = t.type,
		l = t.tagName,
		c = t.value;
	if (u === "text") return c;
	if (l) {
		var d = NJe(n, o),
			p;
		if (!o) p = Kd(Kd({}, s), {}, {
			className: Q$(s.className)
		});
		else {
			var g = Object.keys(n).reduce(function(y, w) {
					return w.split(".").forEach(function(b) {
						y.includes(b) || y.push(b)
					}), y
				}, []),
				m = s.className && s.className.includes("token") ? ["token"] : [],
				_ = s.className && m.concat(s.className.filter(function(y) {
					return !g.includes(y)
				}));
			p = Kd(Kd({}, s), {}, {
				className: Q$(_) || void 0,
				style: LJe(s.className, Object.assign({}, s.style, i), n)
			})
		}
		var S = d(t.children);
		return J.createElement(l, ge({
			key: a
		}, p), S)
	}
}
const DJe = function(e, t) {
	var n = e.listLanguages();
	return n.indexOf(t) !== -1
};
var $Je = ["language", "children", "style", "customStyle", "codeTagProps", "useInlineStyles", "showLineNumbers", "showInlineLineNumbers", "startingLineNumber", "lineNumberContainerStyle", "lineNumberStyle", "wrapLines", "wrapLongLines", "lineProps", "renderer", "PreTag", "CodeTag", "code", "astGenerator"];

function eF(e, t) {
	var n = Object.keys(e);
	if (Object.getOwnPropertySymbols) {
		var r = Object.getOwnPropertySymbols(e);
		t && (r = r.filter(function(i) {
			return Object.getOwnPropertyDescriptor(e, i).enumerable
		})), n.push.apply(n, r)
	}
	return n
}

function ka(e) {
	for (var t = 1; t < arguments.length; t++) {
		var n = arguments[t] != null ? arguments[t] : {};
		t % 2 ? eF(Object(n), !0).forEach(function(r) {
			De(e, r, n[r])
		}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eF(Object(n)).forEach(function(r) {
			Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r))
		})
	}
	return e
}
var FJe = /\n/g;

function jJe(e) {
	return e.match(FJe)
}

function UJe(e) {
	var t = e.lines,
		n = e.startingLineNumber,
		r = e.style;
	return t.map(function(i, o) {
		var a = o + n;
		return J.createElement("span", {
			key: "line-".concat(o),
			className: "react-syntax-highlighter-line-number",
			style: typeof r == "function" ? r(a) : r
		}, "".concat(a, "\n"))
	})
}

function HJe(e) {
	var t = e.codeString,
		n = e.codeStyle,
		r = e.containerStyle,
		i = r === void 0 ? {
			float: "left",
			paddingRight: "10px"
		} : r,
		o = e.numberStyle,
		a = o === void 0 ? {} : o,
		s = e.startingLineNumber;
	return J.createElement("code", {
		style: Object.assign({}, n, i)
	}, UJe({
		lines: t.replace(/\n$/, "").split("\n"),
		style: a,
		startingLineNumber: s
	}))
}

function VJe(e) {
	return "".concat(e.toString().length, ".25em")
}

function LJ(e, t) {
	return {
		type: "element",
		tagName: "span",
		properties: {
			key: "line-number--".concat(e),
			className: ["comment", "linenumber", "react-syntax-highlighter-line-number"],
			style: t
		},
		children: [{
			type: "text",
			value: e
		}]
	}
}

function NJ(e, t, n) {
	var r = {
			display: "inline-block",
			minWidth: VJe(n),
			paddingRight: "1em",
			textAlign: "right",
			userSelect: "none"
		},
		i = typeof e == "function" ? e(t) : e,
		o = ka(ka({}, r), i);
	return o
}

function m2(e) {
	var t = e.children,
		n = e.lineNumber,
		r = e.lineNumberStyle,
		i = e.largestLineNumber,
		o = e.showInlineLineNumbers,
		a = e.lineProps,
		s = a === void 0 ? {} : a,
		u = e.className,
		l = u === void 0 ? [] : u,
		c = e.showLineNumbers,
		d = e.wrapLongLines,
		p = typeof s == "function" ? s(n) : s;
	if (p.className = l, n && o) {
		var g = NJ(r, n, i);
		t.unshift(LJ(n, g))
	}
	return d & c && (p.style = ka(ka({}, p.style), {}, {
		display: "flex"
	})), {
		type: "element",
		tagName: "span",
		properties: p,
		children: t
	}
}

function DJ(e) {
	for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [], n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [], r = 0; r < e.length; r++) {
		var i = e[r];
		if (i.type === "text") n.push(m2({
			children: [i],
			className: vi(new Set(t))
		}));
		else if (i.children) {
			var o = t.concat(i.properties.className);
			DJ(i.children, o).forEach(function(a) {
				return n.push(a)
			})
		}
	}
	return n
}

function BJe(e, t, n, r, i, o, a, s, u) {
	var l, c = DJ(e.value),
		d = [],
		p = -1,
		g = 0;

	function m(T, O) {
		var R = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
		return m2({
			children: T,
			lineNumber: O,
			lineNumberStyle: s,
			largestLineNumber: a,
			showInlineLineNumbers: i,
			lineProps: n,
			className: R,
			showLineNumbers: r,
			wrapLongLines: u
		})
	}

	function _(T, O) {
		if (r && O && i) {
			var R = NJ(s, O, a);
			T.unshift(LJ(O, R))
		}
		return T
	}

	function S(T, O) {
		var R = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : [];
		return t || R.length > 0 ? m(T, O, R) : _(T, O)
	}
	for (var y = function() {
			var O = c[g],
				R = O.children[0].value,
				k = jJe(R);
			if (k) {
				var M = R.split("\n");
				M.forEach(function(D, P) {
					var U = r && d.length + o,
						H = {
							type: "text",
							value: "".concat(D, "\n")
						};
					if (P === 0) {
						var G = c.slice(p + 1, g).concat(m2({
								children: [H],
								className: O.properties.className
							})),
							K = S(G, U);
						d.push(K)
					} else if (P === M.length - 1) {
						var ee = c[g + 1] && c[g + 1].children && c[g + 1].children[0],
							te = {
								type: "text",
								value: "".concat(D)
							};
						if (ee) {
							var q = m2({
								children: [te],
								className: O.properties.className
							});
							c.splice(g + 1, 0, q)
						} else {
							var F = [te],
								j = S(F, U, O.properties.className);
							d.push(j)
						}
					} else {
						var B = [H],
							Z = S(B, U, O.properties.className);
						d.push(Z)
					}
				}), p = g
			}
			g++
		}; g < c.length;) y();
	if (p !== c.length - 1) {
		var w = c.slice(p + 1, c.length);
		if (w && w.length) {
			var b = r && d.length + o,
				E = S(w, b);
			d.push(E)
		}
	}
	return t ? d : (l = []).concat.apply(l, d)
}

function zJe(e) {
	var t = e.rows,
		n = e.stylesheet,
		r = e.useInlineStyles;
	return t.map(function(i, o) {
		return E9({
			node: i,
			stylesheet: n,
			useInlineStyles: r,
			key: "code-segement".concat(o)
		})
	})
}

function $J(e) {
	return e && typeof e.highlightAuto < "u"
}

function GJe(e) {
	var t = e.astGenerator,
		n = e.language,
		r = e.code,
		i = e.defaultCodeValue;
	if ($J(t)) {
		var o = DJe(t, n);
		return n === "text" ? {
			value: i,
			language: "text"
		} : o ? t.highlight(n, r) : t.highlightAuto(r)
	}
	try {
		return n && n !== "text" ? {
			value: t.highlight(r, n)
		} : {
			value: i
		}
	} catch (a) {
		return {
			value: i
		}
	}
}

function WJe(e, t) {
	return function(r) {
		var i = r.language,
			o = r.children,
			a = r.style,
			s = a === void 0 ? t : a,
			u = r.customStyle,
			l = u === void 0 ? {} : u,
			c = r.codeTagProps,
			d = c === void 0 ? {
				className: i ? "language-".concat(i) : void 0,
				style: ka(ka({}, s['code[class*="language-"]']), s['code[class*="language-'.concat(i, '"]')])
			} : c,
			p = r.useInlineStyles,
			g = p === void 0 ? !0 : p,
			m = r.showLineNumbers,
			_ = m === void 0 ? !1 : m,
			S = r.showInlineLineNumbers,
			y = S === void 0 ? !0 : S,
			w = r.startingLineNumber,
			b = w === void 0 ? 1 : w,
			E = r.lineNumberContainerStyle,
			T = r.lineNumberStyle,
			O = T === void 0 ? {} : T,
			R = r.wrapLines,
			k = r.wrapLongLines,
			M = k === void 0 ? !1 : k,
			D = r.lineProps,
			P = D === void 0 ? {} : D,
			U = r.renderer,
			H = r.PreTag,
			G = H === void 0 ? "pre" : H,
			K = r.CodeTag,
			ee = K === void 0 ? "code" : K,
			te = r.code,
			q = te === void 0 ? (Array.isArray(o) ? o[0] : o) || "" : te,
			F = r.astGenerator,
			j = or(r, $Je);
		F = F || e;
		var B = _ ? J.createElement(HJe, {
				containerStyle: E,
				codeStyle: d.style || {},
				numberStyle: O,
				startingLineNumber: b,
				codeString: q
			}) : null,
			Z = s.hljs || s['pre[class*="language-"]'] || {
				backgroundColor: "#fff"
			},
			z = $J(F) ? "hljs" : "prismjs",
			Q = g ? Object.assign({}, j, {
				style: Object.assign({}, Z, l)
			}) : Object.assign({}, j, {
				className: j.className ? "".concat(z, " ").concat(j.className) : z,
				style: Object.assign({}, l)
			});
		if (M ? d.style = ka(ka({}, d.style), {}, {
				whiteSpace: "pre-wrap"
			}) : d.style = ka(ka({}, d.style), {}, {
				whiteSpace: "pre"
			}), !F) return J.createElement(G, Q, B, J.createElement(ee, d, q));
		(R === void 0 && U || M) && (R = !0), U = U || zJe;
		var ie = [{
				type: "text",
				value: q
			}],
			le = GJe({
				astGenerator: F,
				language: i,
				code: q,
				defaultCodeValue: ie
			});
		le.language === null && (le.value = ie);
		var pe = le.value.length + b,
			Ee = BJe(le, R, P, _, y, b, pe, O, M);
		return J.createElement(G, Q, J.createElement(ee, d, !y && B, U({
			rows: Ee,
			stylesheet: s,
			useInlineStyles: g
		})))
	}
}
var $f = {};

function C9(e) {
	return e instanceof Map ? e.clear = e.delete = e.set = function() {
		throw new Error("map is read-only")
	} : e instanceof Set && (e.add = e.clear = e.delete = function() {
		throw new Error("set is read-only")
	}), Object.freeze(e), Object.getOwnPropertyNames(e).forEach(function(t) {
		var n = e[t];
		typeof n == "object" && !Object.isFrozen(n) && C9(n)
	}), e
}
var FJ = C9,
	KJe = C9;
FJ.default = KJe;
let tF = class {
	constructor(t) {
		t.data === void 0 && (t.data = {}), this.data = t.data, this.isMatchIgnored = !1
	}
	ignoreMatch() {
		this.isMatchIgnored = !0
	}
};

function mp(e) {
	return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;")
}

function Yu(e, ...t) {
	const n = Object.create(null);
	for (const r in e) n[r] = e[r];
	return t.forEach(function(r) {
		for (const i in r) n[i] = r[i]
	}), n
}
const ZJe = "</span>",
	nF = e => !!e.kind;
class qJe {
	constructor(t, n) {
		this.buffer = "", this.classPrefix = n.classPrefix, t.walk(this)
	}
	addText(t) {
		this.buffer += mp(t)
	}
	openNode(t) {
		if (!nF(t)) return;
		let n = t.kind;
		t.sublanguage || (n = "".concat(this.classPrefix).concat(n)), this.span(n)
	}
	closeNode(t) {
		nF(t) && (this.buffer += ZJe)
	}
	value() {
		return this.buffer
	}
	span(t) {
		this.buffer += '<span class="'.concat(t, '">')
	}
}
class O9 {
	constructor() {
		this.rootNode = {
			children: []
		}, this.stack = [this.rootNode]
	}
	get top() {
		return this.stack[this.stack.length - 1]
	}
	get root() {
		return this.rootNode
	}
	add(t) {
		this.top.children.push(t)
	}
	openNode(t) {
		const n = {
			kind: t,
			children: []
		};
		this.add(n), this.stack.push(n)
	}
	closeNode() {
		if (this.stack.length > 1) return this.stack.pop()
	}
	closeAllNodes() {
		for (; this.closeNode(););
	}
	toJSON() {
		return JSON.stringify(this.rootNode, null, 4)
	}
	walk(t) {
		return this.constructor._walk(t, this.rootNode)
	}
	static _walk(t, n) {
		return typeof n == "string" ? t.addText(n) : n.children && (t.openNode(n), n.children.forEach(r => this._walk(t, r)), t.closeNode(n)), t
	}
	static _collapse(t) {
		typeof t != "string" && t.children && (t.children.every(n => typeof n == "string") ? t.children = [t.children.join("")] : t.children.forEach(n => {
			O9._collapse(n)
		}))
	}
}
class YJe extends O9 {
	constructor(t) {
		super(), this.options = t
	}
	addKeyword(t, n) {
		t !== "" && (this.openNode(n), this.addText(t), this.closeNode())
	}
	addText(t) {
		t !== "" && this.add(t)
	}
	addSublanguage(t, n) {
		const r = t.root;
		r.kind = n, r.sublanguage = !0, this.add(r)
	}
	toHTML() {
		return new qJe(this, this.options).value()
	}
	finalize() {
		return !0
	}
}

function XJe(e) {
	return new RegExp(e.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&"), "m")
}

function g1(e) {
	return e ? typeof e == "string" ? e : e.source : null
}

function JJe(...e) {
	return e.map(n => g1(n)).join("")
}

function QJe(...e) {
	return "(" + e.map(n => g1(n)).join("|") + ")"
}

function eQe(e) {
	return new RegExp(e.toString() + "|").exec("").length - 1
}

function tQe(e, t) {
	const n = e && e.exec(t);
	return n && n.index === 0
}
const nQe = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;

function rQe(e, t = "|") {
	let n = 0;
	return e.map(r => {
		n += 1;
		const i = n;
		let o = g1(r),
			a = "";
		for (; o.length > 0;) {
			const s = nQe.exec(o);
			if (!s) {
				a += o;
				break
			}
			a += o.substring(0, s.index), o = o.substring(s.index + s[0].length), s[0][0] === "\\" && s[1] ? a += "\\" + String(Number(s[1]) + i) : (a += s[0], s[0] === "(" && n++)
		}
		return a
	}).map(r => "(".concat(r, ")")).join(t)
}
const iQe = /\b\B/,
	jJ = "[a-zA-Z]\\w*",
	T9 = "[a-zA-Z_]\\w*",
	R9 = "\\b\\d+(\\.\\d+)?",
	UJ = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",
	HJ = "\\b(0b[01]+)",
	oQe = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",
	aQe = (e = {}) => {
		const t = /^#![ ]*\//;
		return e.binary && (e.begin = JJe(t, /.*\b/, e.binary, /\b.*/)), Yu({
			className: "meta",
			begin: t,
			end: /$/,
			relevance: 0,
			"on:begin": (n, r) => {
				n.index !== 0 && r.ignoreMatch()
			}
		}, e)
	},
	m1 = {
		begin: "\\\\[\\s\\S]",
		relevance: 0
	},
	sQe = {
		className: "string",
		begin: "'",
		end: "'",
		illegal: "\\n",
		contains: [m1]
	},
	uQe = {
		className: "string",
		begin: '"',
		end: '"',
		illegal: "\\n",
		contains: [m1]
	},
	VJ = {
		begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
	},
	g4 = function(e, t, n = {}) {
		const r = Yu({
			className: "comment",
			begin: e,
			end: t,
			contains: []
		}, n);
		return r.contains.push(VJ), r.contains.push({
			className: "doctag",
			begin: "(?:TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):",
			relevance: 0
		}), r
	},
	lQe = g4("//", "$"),
	cQe = g4("/\\*", "\\*/"),
	fQe = g4("#", "$"),
	dQe = {
		className: "number",
		begin: R9,
		relevance: 0
	},
	pQe = {
		className: "number",
		begin: UJ,
		relevance: 0
	},
	hQe = {
		className: "number",
		begin: HJ,
		relevance: 0
	},
	vQe = {
		className: "number",
		begin: R9 + "(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",
		relevance: 0
	},
	gQe = {
		begin: /(?=\/[^/\n]*\/)/,
		contains: [{
			className: "regexp",
			begin: /\//,
			end: /\/[gimuy]*/,
			illegal: /\n/,
			contains: [m1, {
				begin: /\[/,
				end: /\]/,
				relevance: 0,
				contains: [m1]
			}]
		}]
	},
	mQe = {
		className: "title",
		begin: jJ,
		relevance: 0
	},
	yQe = {
		className: "title",
		begin: T9,
		relevance: 0
	},
	wQe = {
		begin: "\\.\\s*" + T9,
		relevance: 0
	},
	_Qe = function(e) {
		return Object.assign(e, {
			"on:begin": (t, n) => {
				n.data._beginMatch = t[1]
			},
			"on:end": (t, n) => {
				n.data._beginMatch !== t[1] && n.ignoreMatch()
			}
		})
	};
var Ey = Object.freeze({
	__proto__: null,
	MATCH_NOTHING_RE: iQe,
	IDENT_RE: jJ,
	UNDERSCORE_IDENT_RE: T9,
	NUMBER_RE: R9,
	C_NUMBER_RE: UJ,
	BINARY_NUMBER_RE: HJ,
	RE_STARTERS_RE: oQe,
	SHEBANG: aQe,
	BACKSLASH_ESCAPE: m1,
	APOS_STRING_MODE: sQe,
	QUOTE_STRING_MODE: uQe,
	PHRASAL_WORDS_MODE: VJ,
	COMMENT: g4,
	C_LINE_COMMENT_MODE: lQe,
	C_BLOCK_COMMENT_MODE: cQe,
	HASH_COMMENT_MODE: fQe,
	NUMBER_MODE: dQe,
	C_NUMBER_MODE: pQe,
	BINARY_NUMBER_MODE: hQe,
	CSS_NUMBER_MODE: vQe,
	REGEXP_MODE: gQe,
	TITLE_MODE: mQe,
	UNDERSCORE_TITLE_MODE: yQe,
	METHOD_GUARD: wQe,
	END_SAME_AS_BEGIN: _Qe
});

function bQe(e, t) {
	e.input[e.index - 1] === "." && t.ignoreMatch()
}

function SQe(e, t) {
	t && e.beginKeywords && (e.begin = "\\b(" + e.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)", e.__beforeBegin = bQe, e.keywords = e.keywords || e.beginKeywords, delete e.beginKeywords, e.relevance === void 0 && (e.relevance = 0))
}

function xQe(e, t) {
	Array.isArray(e.illegal) && (e.illegal = QJe(...e.illegal))
}

function EQe(e, t) {
	if (e.match) {
		if (e.begin || e.end) throw new Error("begin & end are not supported with match");
		e.begin = e.match, delete e.match
	}
}

function CQe(e, t) {
	e.relevance === void 0 && (e.relevance = 1)
}
const OQe = ["of", "and", "for", "in", "not", "or", "if", "then", "parent", "list", "value"],
	TQe = "keyword";

function BJ(e, t, n = TQe) {
	const r = {};
	return typeof e == "string" ? i(n, e.split(" ")) : Array.isArray(e) ? i(n, e) : Object.keys(e).forEach(function(o) {
		Object.assign(r, BJ(e[o], t, o))
	}), r;

	function i(o, a) {
		t && (a = a.map(s => s.toLowerCase())), a.forEach(function(s) {
			const u = s.split("|");
			r[u[0]] = [o, RQe(u[0], u[1])]
		})
	}
}

function RQe(e, t) {
	return t ? Number(t) : IQe(e) ? 0 : 1
}

function IQe(e) {
	return OQe.includes(e.toLowerCase())
}

function kQe(e, {
	plugins: t
}) {
	function n(s, u) {
		return new RegExp(g1(s), "m" + (e.case_insensitive ? "i" : "") + (u ? "g" : ""))
	}
	class r {
		constructor() {
			this.matchIndexes = {}, this.regexes = [], this.matchAt = 1, this.position = 0
		}
		addRule(u, l) {
			l.position = this.position++, this.matchIndexes[this.matchAt] = l, this.regexes.push([l, u]), this.matchAt += eQe(u) + 1
		}
		compile() {
			this.regexes.length === 0 && (this.exec = () => null);
			const u = this.regexes.map(l => l[1]);
			this.matcherRe = n(rQe(u), !0), this.lastIndex = 0
		}
		exec(u) {
			this.matcherRe.lastIndex = this.lastIndex;
			const l = this.matcherRe.exec(u);
			if (!l) return null;
			const c = l.findIndex((p, g) => g > 0 && p !== void 0),
				d = this.matchIndexes[c];
			return l.splice(0, c), Object.assign(l, d)
		}
	}
	class i {
		constructor() {
			this.rules = [], this.multiRegexes = [], this.count = 0, this.lastIndex = 0, this.regexIndex = 0
		}
		getMatcher(u) {
			if (this.multiRegexes[u]) return this.multiRegexes[u];
			const l = new r;
			return this.rules.slice(u).forEach(([c, d]) => l.addRule(c, d)), l.compile(), this.multiRegexes[u] = l, l
		}
		resumingScanAtSamePosition() {
			return this.regexIndex !== 0
		}
		considerAll() {
			this.regexIndex = 0
		}
		addRule(u, l) {
			this.rules.push([u, l]), l.type === "begin" && this.count++
		}
		exec(u) {
			const l = this.getMatcher(this.regexIndex);
			l.lastIndex = this.lastIndex;
			let c = l.exec(u);
			if (this.resumingScanAtSamePosition() && !(c && c.index === this.lastIndex)) {
				const d = this.getMatcher(0);
				d.lastIndex = this.lastIndex + 1, c = d.exec(u)
			}
			return c && (this.regexIndex += c.position + 1, this.regexIndex === this.count && this.considerAll()), c
		}
	}

	function o(s) {
		const u = new i;
		return s.contains.forEach(l => u.addRule(l.begin, {
			rule: l,
			type: "begin"
		})), s.terminatorEnd && u.addRule(s.terminatorEnd, {
			type: "end"
		}), s.illegal && u.addRule(s.illegal, {
			type: "illegal"
		}), u
	}

	function a(s, u) {
		const l = s;
		if (s.isCompiled) return l;
		[EQe].forEach(d => d(s, u)), e.compilerExtensions.forEach(d => d(s, u)), s.__beforeBegin = null, [SQe, xQe, CQe].forEach(d => d(s, u)), s.isCompiled = !0;
		let c = null;
		if (typeof s.keywords == "object" && (c = s.keywords.$pattern, delete s.keywords.$pattern), s.keywords && (s.keywords = BJ(s.keywords, e.case_insensitive)), s.lexemes && c) throw new Error("ERR: Prefer `keywords.$pattern` to `mode.lexemes`, BOTH are not allowed. (see mode reference) ");
		return c = c || s.lexemes || /\w+/, l.keywordPatternRe = n(c, !0), u && (s.begin || (s.begin = /\B|\b/), l.beginRe = n(s.begin), s.endSameAsBegin && (s.end = s.begin), !s.end && !s.endsWithParent && (s.end = /\B|\b/), s.end && (l.endRe = n(s.end)), l.terminatorEnd = g1(s.end) || "", s.endsWithParent && u.terminatorEnd && (l.terminatorEnd += (s.end ? "|" : "") + u.terminatorEnd)), s.illegal && (l.illegalRe = n(s.illegal)), s.contains || (s.contains = []), s.contains = [].concat(...s.contains.map(function(d) {
			return AQe(d === "self" ? s : d)
		})), s.contains.forEach(function(d) {
			a(d, l)
		}), s.starts && a(s.starts, u), l.matcher = o(l), l
	}
	if (e.compilerExtensions || (e.compilerExtensions = []), e.contains && e.contains.includes("self")) throw new Error("ERR: contains `self` is not supported at the top-level of a language.  See documentation.");
	return e.classNameAliases = Yu(e.classNameAliases || {}), a(e)
}

function zJ(e) {
	return e ? e.endsWithParent || zJ(e.starts) : !1
}

function AQe(e) {
	return e.variants && !e.cachedVariants && (e.cachedVariants = e.variants.map(function(t) {
		return Yu(e, {
			variants: null
		}, t)
	})), e.cachedVariants ? e.cachedVariants : zJ(e) ? Yu(e, {
		starts: e.starts ? Yu(e.starts) : null
	}) : Object.isFrozen(e) ? Yu(e) : e
}
var MQe = "10.7.3";

function PQe(e) {
	return !!(e || e === "")
}

function LQe(e) {
	const t = {
		props: ["language", "code", "autodetect"],
		data: function() {
			return {
				detectedLanguage: "",
				unknownLanguage: !1
			}
		},
		computed: {
			className() {
				return this.unknownLanguage ? "" : "hljs " + this.detectedLanguage
			},
			highlighted() {
				if (!this.autoDetect && !e.getLanguage(this.language)) return console.warn('The language "'.concat(this.language, '" you specified could not be found.')), this.unknownLanguage = !0, mp(this.code);
				let r = {};
				return this.autoDetect ? (r = e.highlightAuto(this.code), this.detectedLanguage = r.language) : (r = e.highlight(this.language, this.code, this.ignoreIllegals), this.detectedLanguage = this.language), r.value
			},
			autoDetect() {
				return !this.language || PQe(this.autodetect)
			},
			ignoreIllegals() {
				return !0
			}
		},
		render(r) {
			return r("pre", {}, [r("code", {
				class: this.className,
				domProps: {
					innerHTML: this.highlighted
				}
			})])
		}
	};
	return {
		Component: t,
		VuePlugin: {
			install(r) {
				r.component("highlightjs", t)
			}
		}
	}
}
const NQe = {
	"after:highlightElement": ({
		el: e,
		result: t,
		text: n
	}) => {
		const r = rF(e);
		if (!r.length) return;
		const i = document.createElement("div");
		i.innerHTML = t.value, t.value = DQe(r, rF(i), n)
	}
};

function w6(e) {
	return e.nodeName.toLowerCase()
}

function rF(e) {
	const t = [];
	return function n(r, i) {
		for (let o = r.firstChild; o; o = o.nextSibling) o.nodeType === 3 ? i += o.nodeValue.length : o.nodeType === 1 && (t.push({
			event: "start",
			offset: i,
			node: o
		}), i = n(o, i), w6(o).match(/br|hr|img|input/) || t.push({
			event: "stop",
			offset: i,
			node: o
		}));
		return i
	}(e, 0), t
}

function DQe(e, t, n) {
	let r = 0,
		i = "";
	const o = [];

	function a() {
		return !e.length || !t.length ? e.length ? e : t : e[0].offset !== t[0].offset ? e[0].offset < t[0].offset ? e : t : t[0].event === "start" ? e : t
	}

	function s(c) {
		function d(p) {
			return " " + p.nodeName + '="' + mp(p.value) + '"'
		}
		i += "<" + w6(c) + [].map.call(c.attributes, d).join("") + ">"
	}

	function u(c) {
		i += "</" + w6(c) + ">"
	}

	function l(c) {
		(c.event === "start" ? s : u)(c.node)
	}
	for (; e.length || t.length;) {
		let c = a();
		if (i += mp(n.substring(r, c[0].offset)), r = c[0].offset, c === e) {
			o.reverse().forEach(u);
			do l(c.splice(0, 1)[0]), c = a(); while (c === e && c.length && c[0].offset === r);
			o.reverse().forEach(s)
		} else c[0].event === "start" ? o.push(c[0].node) : o.pop(), l(c.splice(0, 1)[0])
	}
	return i + mp(n.substr(r))
}
const iF = {},
	oE = e => {
		console.error(e)
	},
	oF = (e, ...t) => {
		console.log("WARN: ".concat(e), ...t)
	},
	uo = (e, t) => {
		iF["".concat(e, "/").concat(t)] || (console.log("Deprecated as of ".concat(e, ". ").concat(t)), iF["".concat(e, "/").concat(t)] = !0)
	},
	aE = mp,
	aF = Yu,
	sF = Symbol("nomatch"),
	$Qe = function(e) {
		const t = Object.create(null),
			n = Object.create(null),
			r = [];
		let i = !0;
		const o = /(^(<[^>]+>|\t|)+|\n)/gm,
			a = "Could not find the language '{}', did you forget to load/include a language module?",
			s = {
				disableAutodetect: !0,
				name: "Plain text",
				contains: []
			};
		let u = {
			noHighlightRe: /^(no-?highlight)$/i,
			languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
			classPrefix: "hljs-",
			tabReplace: null,
			useBR: !1,
			languages: null,
			__emitter: YJe
		};

		function l(z) {
			return u.noHighlightRe.test(z)
		}

		function c(z) {
			let Q = z.className + " ";
			Q += z.parentNode ? z.parentNode.className : "";
			const ie = u.languageDetectRe.exec(Q);
			if (ie) {
				const le = K(ie[1]);
				return le || (oF(a.replace("{}", ie[1])), oF("Falling back to no-highlight mode for this block.", z)), le ? ie[1] : "no-highlight"
			}
			return Q.split(/\s+/).find(le => l(le) || K(le))
		}

		function d(z, Q, ie, le) {
			let pe = "",
				Ee = "";
			typeof Q == "object" ? (pe = z, ie = Q.ignoreIllegals, Ee = Q.language, le = void 0) : (uo("10.7.0", "highlight(lang, code, ...args) has been deprecated."), uo("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"), Ee = z, pe = Q);
			const be = {
				code: pe,
				language: Ee
			};
			j("before:highlight", be);
			const st = be.result ? be.result : p(be.language, be.code, ie, le);
			return st.code = be.code, j("after:highlight", st), st
		}

		function p(z, Q, ie, le) {
			function pe(Oe, Me) {
				const Qe = Zt.case_insensitive ? Me[0].toLowerCase() : Me[0];
				return Object.prototype.hasOwnProperty.call(Oe.keywords, Qe) && Oe.keywords[Qe]
			}

			function Ee() {
				if (!Ke.keywords) {
					ur.addText(zt);
					return
				}
				let Oe = 0;
				Ke.keywordPatternRe.lastIndex = 0;
				let Me = Ke.keywordPatternRe.exec(zt),
					Qe = "";
				for (; Me;) {
					Qe += zt.substring(Oe, Me.index);
					const bt = pe(Ke, Me);
					if (bt) {
						const [Zn, iu] = bt;
						if (ur.addText(Qe), Qe = "", Ff += iu, Zn.startsWith("_")) Qe += Me[0];
						else {
							const Zh = Zt.classNameAliases[Zn] || Zn;
							ur.addKeyword(Me[0], Zh)
						}
					} else Qe += Me[0];
					Oe = Ke.keywordPatternRe.lastIndex, Me = Ke.keywordPatternRe.exec(zt)
				}
				Qe += zt.substr(Oe), ur.addText(Qe)
			}

			function be() {
				if (zt === "") return;
				let Oe = null;
				if (typeof Ke.subLanguage == "string") {
					if (!t[Ke.subLanguage]) {
						ur.addText(zt);
						return
					}
					Oe = p(Ke.subLanguage, zt, !0, Bl[Ke.subLanguage]), Bl[Ke.subLanguage] = Oe.top
				} else Oe = m(zt, Ke.subLanguage.length ? Ke.subLanguage : null);
				Ke.relevance > 0 && (Ff += Oe.relevance), ur.addSublanguage(Oe.emitter, Oe.language)
			}

			function st() {
				Ke.subLanguage != null ? be() : Ee(), zt = ""
			}

			function _t(Oe) {
				return Oe.className && ur.openNode(Zt.classNameAliases[Oe.className] || Oe.className), Ke = Object.create(Oe, {
					parent: {
						value: Ke
					}
				}), Ke
			}

			function Ve(Oe, Me, Qe) {
				let bt = tQe(Oe.endRe, Qe);
				if (bt) {
					if (Oe["on:end"]) {
						const Zn = new tF(Oe);
						Oe["on:end"](Me, Zn), Zn.isMatchIgnored && (bt = !1)
					}
					if (bt) {
						for (; Oe.endsParent && Oe.parent;) Oe = Oe.parent;
						return Oe
					}
				}
				if (Oe.endsWithParent) return Ve(Oe.parent, Me, Qe)
			}

			function Mt(Oe) {
				return Ke.matcher.regexIndex === 0 ? (zt += Oe[0], 1) : (zl = !0, 0)
			}

			function gt(Oe) {
				const Me = Oe[0],
					Qe = Oe.rule,
					bt = new tF(Qe),
					Zn = [Qe.__beforeBegin, Qe["on:begin"]];
				for (const iu of Zn)
					if (iu && (iu(Oe, bt), bt.isMatchIgnored)) return Mt(Me);
				return Qe && Qe.endSameAsBegin && (Qe.endRe = XJe(Me)), Qe.skip ? zt += Me : (Qe.excludeBegin && (zt += Me), st(), !Qe.returnBegin && !Qe.excludeBegin && (zt = Me)), _t(Qe), Qe.returnBegin ? 0 : Me.length
			}

			function mt(Oe) {
				const Me = Oe[0],
					Qe = Q.substr(Oe.index),
					bt = Ve(Ke, Oe, Qe);
				if (!bt) return sF;
				const Zn = Ke;
				Zn.skip ? zt += Me : (Zn.returnEnd || Zn.excludeEnd || (zt += Me), st(), Zn.excludeEnd && (zt = Me));
				do Ke.className && ur.closeNode(), !Ke.skip && !Ke.subLanguage && (Ff += Ke.relevance), Ke = Ke.parent; while (Ke !== bt.parent);
				return bt.starts && (bt.endSameAsBegin && (bt.starts.endRe = bt.endRe), _t(bt.starts)), Zn.returnEnd ? 0 : Me.length
			}

			function Je() {
				const Oe = [];
				for (let Me = Ke; Me !== Zt; Me = Me.parent) Me.className && Oe.unshift(Me.className);
				Oe.forEach(Me => ur.openNode(Me))
			}
			let ze = {};

			function Ct(Oe, Me) {
				const Qe = Me && Me[0];
				if (zt += Oe, Qe == null) return st(), 0;
				if (ze.type === "begin" && Me.type === "end" && ze.index === Me.index && Qe === "") {
					if (zt += Q.slice(Me.index, Me.index + 1), !i) {
						const bt = new Error("0 width match regex");
						throw bt.languageName = z, bt.badRule = ze.rule, bt
					}
					return 1
				}
				if (ze = Me, Me.type === "begin") return gt(Me);
				if (Me.type === "illegal" && !ie) {
					const bt = new Error('Illegal lexeme "' + Qe + '" for mode "' + (Ke.className || "<unnamed>") + '"');
					throw bt.mode = Ke, bt
				} else if (Me.type === "end") {
					const bt = mt(Me);
					if (bt !== sF) return bt
				}
				if (Me.type === "illegal" && Qe === "") return 1;
				if (ga > 1e5 && ga > Me.index * 3) throw new Error("potential infinite loop, way more iterations than matches");
				return zt += Qe, Qe.length
			}
			const Zt = K(z);
			if (!Zt) throw oE(a.replace("{}", z)), new Error('Unknown language: "' + z + '"');
			const ei = kQe(Zt, {
				plugins: r
			});
			let qt = "",
				Ke = le || ei;
			const Bl = {},
				ur = new u.__emitter(u);
			Je();
			let zt = "",
				Ff = 0,
				Xi = 0,
				ga = 0,
				zl = !1;
			try {
				for (Ke.matcher.considerAll();;) {
					ga++, zl ? zl = !1 : Ke.matcher.considerAll(), Ke.matcher.lastIndex = Xi;
					const Oe = Ke.matcher.exec(Q);
					if (!Oe) break;
					const Me = Q.substring(Xi, Oe.index),
						Qe = Ct(Me, Oe);
					Xi = Oe.index + Qe
				}
				return Ct(Q.substr(Xi)), ur.closeAllNodes(), ur.finalize(), qt = ur.toHTML(), {
					relevance: Math.floor(Ff),
					value: qt,
					language: z,
					illegal: !1,
					emitter: ur,
					top: Ke
				}
			} catch (Oe) {
				if (Oe.message && Oe.message.includes("Illegal")) return {
					illegal: !0,
					illegalBy: {
						msg: Oe.message,
						context: Q.slice(Xi - 100, Xi + 100),
						mode: Oe.mode
					},
					sofar: qt,
					relevance: 0,
					value: aE(Q),
					emitter: ur
				};
				if (i) return {
					illegal: !1,
					relevance: 0,
					value: aE(Q),
					emitter: ur,
					language: z,
					top: Ke,
					errorRaised: Oe
				};
				throw Oe
			}
		}

		function g(z) {
			const Q = {
				relevance: 0,
				emitter: new u.__emitter(u),
				value: aE(z),
				illegal: !1,
				top: s
			};
			return Q.emitter.addText(z), Q
		}

		function m(z, Q) {
			Q = Q || u.languages || Object.keys(t);
			const ie = g(z),
				le = Q.filter(K).filter(te).map(_t => p(_t, z, !1));
			le.unshift(ie);
			const pe = le.sort((_t, Ve) => {
					if (_t.relevance !== Ve.relevance) return Ve.relevance - _t.relevance;
					if (_t.language && Ve.language) {
						if (K(_t.language).supersetOf === Ve.language) return 1;
						if (K(Ve.language).supersetOf === _t.language) return -1
					}
					return 0
				}),
				[Ee, be] = pe,
				st = Ee;
			return st.second_best = be, st
		}

		function _(z) {
			return u.tabReplace || u.useBR ? z.replace(o, Q => Q === "\n" ? u.useBR ? "<br>" : Q : u.tabReplace ? Q.replace(/\t/g, u.tabReplace) : Q) : z
		}

		function S(z, Q, ie) {
			const le = Q ? n[Q] : ie;
			z.classList.add("hljs"), le && z.classList.add(le)
		}
		const y = {
				"before:highlightElement": ({
					el: z
				}) => {
					u.useBR && (z.innerHTML = z.innerHTML.replace(/\n/g, "").replace(/<br[ /]*>/g, "\n"))
				},
				"after:highlightElement": ({
					result: z
				}) => {
					u.useBR && (z.value = z.value.replace(/\n/g, "<br>"))
				}
			},
			w = /^(<[^>]+>|\t)+/gm,
			b = {
				"after:highlightElement": ({
					result: z
				}) => {
					u.tabReplace && (z.value = z.value.replace(w, Q => Q.replace(/\t/g, u.tabReplace)))
				}
			};

		function E(z) {
			let Q = null;
			const ie = c(z);
			if (l(ie)) return;
			j("before:highlightElement", {
				el: z,
				language: ie
			}), Q = z;
			const le = Q.textContent,
				pe = ie ? d(le, {
					language: ie,
					ignoreIllegals: !0
				}) : m(le);
			j("after:highlightElement", {
				el: z,
				result: pe,
				text: le
			}), z.innerHTML = pe.value, S(z, ie, pe.language), z.result = {
				language: pe.language,
				re: pe.relevance,
				relavance: pe.relevance
			}, pe.second_best && (z.second_best = {
				language: pe.second_best.language,
				re: pe.second_best.relevance,
				relavance: pe.second_best.relevance
			})
		}

		function T(z) {
			z.useBR && (uo("10.3.0", "'useBR' will be removed entirely in v11.0"), uo("10.3.0", "Please see https://github.com/highlightjs/highlight.js/issues/2559")), u = aF(u, z)
		}
		const O = () => {
			if (O.called) return;
			O.called = !0, uo("10.6.0", "initHighlighting() is deprecated.  Use highlightAll() instead."), document.querySelectorAll("pre code").forEach(E)
		};

		function R() {
			uo("10.6.0", "initHighlightingOnLoad() is deprecated.  Use highlightAll() instead."), k = !0
		}
		let k = !1;

		function M() {
			if (document.readyState === "loading") {
				k = !0;
				return
			}
			document.querySelectorAll("pre code").forEach(E)
		}

		function D() {
			k && M()
		}
		typeof window < "u" && window.addEventListener && window.addEventListener("DOMContentLoaded", D, !1);

		function P(z, Q) {
			let ie = null;
			try {
				ie = Q(e)
			} catch (le) {
				if (oE("Language definition for '{}' could not be registered.".replace("{}", z)), i) oE(le);
				else throw le;
				ie = s
			}
			ie.name || (ie.name = z), t[z] = ie, ie.rawDefinition = Q.bind(null, e), ie.aliases && ee(ie.aliases, {
				languageName: z
			})
		}

		function U(z) {
			delete t[z];
			for (const Q of Object.keys(n)) n[Q] === z && delete n[Q]
		}

		function H() {
			return Object.keys(t)
		}

		function G(z) {
			uo("10.4.0", "requireLanguage will be removed entirely in v11."), uo("10.4.0", "Please see https://github.com/highlightjs/highlight.js/pull/2844");
			const Q = K(z);
			if (Q) return Q;
			throw new Error("The '{}' language is required, but not loaded.".replace("{}", z))
		}

		function K(z) {
			return z = (z || "").toLowerCase(), t[z] || t[n[z]]
		}

		function ee(z, {
			languageName: Q
		}) {
			typeof z == "string" && (z = [z]), z.forEach(ie => {
				n[ie.toLowerCase()] = Q
			})
		}

		function te(z) {
			const Q = K(z);
			return Q && !Q.disableAutodetect
		}

		function q(z) {
			z["before:highlightBlock"] && !z["before:highlightElement"] && (z["before:highlightElement"] = Q => {
				z["before:highlightBlock"](Object.assign({
					block: Q.el
				}, Q))
			}), z["after:highlightBlock"] && !z["after:highlightElement"] && (z["after:highlightElement"] = Q => {
				z["after:highlightBlock"](Object.assign({
					block: Q.el
				}, Q))
			})
		}

		function F(z) {
			q(z), r.push(z)
		}

		function j(z, Q) {
			const ie = z;
			r.forEach(function(le) {
				le[ie] && le[ie](Q)
			})
		}

		function B(z) {
			return uo("10.2.0", "fixMarkup will be removed entirely in v11.0"), uo("10.2.0", "Please see https://github.com/highlightjs/highlight.js/issues/2534"), _(z)
		}

		function Z(z) {
			return uo("10.7.0", "highlightBlock will be removed entirely in v12.0"), uo("10.7.0", "Please use highlightElement now."), E(z)
		}
		Object.assign(e, {
			highlight: d,
			highlightAuto: m,
			highlightAll: M,
			fixMarkup: B,
			highlightElement: E,
			highlightBlock: Z,
			configure: T,
			initHighlighting: O,
			initHighlightingOnLoad: R,
			registerLanguage: P,
			unregisterLanguage: U,
			listLanguages: H,
			getLanguage: K,
			registerAliases: ee,
			requireLanguage: G,
			autoDetection: te,
			inherit: aF,
			addPlugin: F,
			vuePlugin: LQe(e).VuePlugin
		}), e.debugMode = function() {
			i = !1
		}, e.safeMode = function() {
			i = !0
		}, e.versionString = MQe;
		for (const z in Ey) typeof Ey[z] == "object" && FJ(Ey[z]);
		return Object.assign(e, Ey), e.addPlugin(y), e.addPlugin(NQe), e.addPlugin(b), e
	};
var FQe = $Qe({}),
	jQe = FQe,
	GJ = {
		exports: {}
	};
(function(e) {
	(function() {
		var t;
		t = e.exports = i, t.format = i, t.vsprintf = r, typeof console < "u" && typeof console.log == "function" && (t.printf = n);

		function n() {
			console.log(i.apply(null, arguments))
		}

		function r(o, a) {
			return i.apply(null, [o].concat(a))
		}

		function i(o) {
			for (var a = 1, s = [].slice.call(arguments), u = 0, l = o.length, c = "", d, p = !1, g, m, _ = !1, S, y = function() {
					return s[a++]
				}, w = function() {
					for (var b = "";
						/\d/.test(o[u]);) b += o[u++], d = o[u];
					return b.length > 0 ? parseInt(b) : null
				}; u < l; ++u)
				if (d = o[u], p) switch (p = !1, d == "." ? (_ = !1, d = o[++u]) : d == "0" && o[u + 1] == "." ? (_ = !0, u += 2, d = o[u]) : _ = !0, S = w(), d) {
					case "b":
						c += parseInt(y(), 10).toString(2);
						break;
					case "c":
						g = y(), typeof g == "string" || g instanceof String ? c += g : c += String.fromCharCode(parseInt(g, 10));
						break;
					case "d":
						c += parseInt(y(), 10);
						break;
					case "f":
						m = String(parseFloat(y()).toFixed(S || 6)), c += _ ? m : m.replace(/^0/, "");
						break;
					case "j":
						c += JSON.stringify(y());
						break;
					case "o":
						c += "0" + parseInt(y(), 10).toString(8);
						break;
					case "s":
						c += y();
						break;
					case "x":
						c += "0x" + parseInt(y(), 10).toString(16);
						break;
					case "X":
						c += "0x" + parseInt(y(), 10).toString(16).toUpperCase();
						break;
					default:
						c += d;
						break
				} else d === "%" ? p = !0 : c += d;
			return c
		}
	})()
})(GJ);
var UQe = GJ.exports,
	HQe = UQe,
	Hl = Vl(Error),
	VQe = Hl;
Hl.eval = Vl(EvalError);
Hl.range = Vl(RangeError);
Hl.reference = Vl(ReferenceError);
Hl.syntax = Vl(SyntaxError);
Hl.type = Vl(TypeError);
Hl.uri = Vl(URIError);
Hl.create = Vl;

function Vl(e) {
	return t.displayName = e.displayName || e.name, t;

	function t(n) {
		return n && (n = HQe.apply(null, arguments)), new e(n)
	}
}
var La = jQe,
	y2 = VQe;
$f.highlight = WJ;
$f.highlightAuto = zQe;
$f.registerLanguage = GQe;
$f.listLanguages = WQe;
$f.registerAlias = KQe;
nu.prototype.addText = YQe;
nu.prototype.addKeyword = ZQe;
nu.prototype.addSublanguage = qQe;
nu.prototype.openNode = XQe;
nu.prototype.closeNode = JQe;
nu.prototype.closeAllNodes = KJ;
nu.prototype.finalize = KJ;
nu.prototype.toHTML = QQe;
var BQe = "hljs-";

function WJ(e, t, n) {
	var r = La.configure({}),
		i = n || {},
		o = i.prefix,
		a;
	if (typeof e != "string") throw y2("Expected `string` for name, got `%s`", e);
	if (!La.getLanguage(e)) throw y2("Unknown language: `%s` is not registered", e);
	if (typeof t != "string") throw y2("Expected `string` for value, got `%s`", t);
	if (o == null && (o = BQe), La.configure({
			__emitter: nu,
			classPrefix: o
		}), a = La.highlight(t, {
			language: e,
			ignoreIllegals: !0
		}), La.configure(r || {}), a.errorRaised) throw a.errorRaised;
	return {
		relevance: a.relevance,
		language: a.language,
		value: a.emitter.rootNode.children
	}
}

function zQe(e, t) {
	var n = t || {},
		r = n.subset || La.listLanguages();
	n.prefix;
	var i = r.length,
		o = -1,
		a, s, u, l;
	if (typeof e != "string") throw y2("Expected `string` for value, got `%s`", e);
	for (s = {
			relevance: 0,
			language: null,
			value: []
		}, a = {
			relevance: 0,
			language: null,
			value: []
		}; ++o < i;) l = r[o], La.getLanguage(l) && (u = WJ(l, e, t), u.language = l, u.relevance > s.relevance && (s = u), u.relevance > a.relevance && (s = a, a = u));
	return s.language && (a.secondBest = s), a
}

function GQe(e, t) {
	La.registerLanguage(e, t)
}

function WQe() {
	return La.listLanguages()
}

function KQe(e, t) {
	var n = e,
		r;
	t && (n = {}, n[e] = t);
	for (r in n) La.registerAliases(n[r], {
		languageName: r
	})
}

function nu(e) {
	this.options = e, this.rootNode = {
		children: []
	}, this.stack = [this.rootNode]
}

function ZQe(e, t) {
	this.openNode(t), this.addText(e), this.closeNode()
}

function qQe(e, t) {
	var n = this.stack,
		r = n[n.length - 1],
		i = e.rootNode.children,
		o = t ? {
			type: "element",
			tagName: "span",
			properties: {
				className: [t]
			},
			children: i
		} : i;
	r.children = r.children.concat(o)
}

function YQe(e) {
	var t = this.stack,
		n, r;
	e !== "" && (n = t[t.length - 1], r = n.children[n.children.length - 1], r && r.type === "text" ? r.value += e : n.children.push({
		type: "text",
		value: e
	}))
}

function XQe(e) {
	var t = this.stack,
		n = this.options.classPrefix + e,
		r = t[t.length - 1],
		i = {
			type: "element",
			tagName: "span",
			properties: {
				className: [n]
			},
			children: []
		};
	r.children.push(i), t.push(i)
}

function JQe() {
	this.stack.pop()
}

function QQe() {
	return ""
}

function KJ() {}

function ZJ(e) {
	return e ? typeof e == "string" ? e : e.source : null
}

function uF(e) {
	return Ec("(?=", e, ")")
}

function eet(e) {
	return Ec("(", e, ")?")
}

function Ec(...e) {
	return e.map(n => ZJ(n)).join("")
}

function tet(...e) {
	return "(" + e.map(n => ZJ(n)).join("|") + ")"
}

function net(e) {
	const t = Ec(/[A-Z_]/, eet(/[A-Z0-9_.-]*:/), /[A-Z0-9_.-]*/),
		n = /[A-Za-z0-9._:-]+/,
		r = {
			className: "symbol",
			begin: /&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/
		},
		i = {
			begin: /\s/,
			contains: [{
				className: "meta-keyword",
				begin: /#?[a-z_][a-z1-9_-]+/,
				illegal: /\n/
			}]
		},
		o = e.inherit(i, {
			begin: /\(/,
			end: /\)/
		}),
		a = e.inherit(e.APOS_STRING_MODE, {
			className: "meta-string"
		}),
		s = e.inherit(e.QUOTE_STRING_MODE, {
			className: "meta-string"
		}),
		u = {
			endsWithParent: !0,
			illegal: /</,
			relevance: 0,
			contains: [{
				className: "attr",
				begin: n,
				relevance: 0
			}, {
				begin: /=\s*/,
				relevance: 0,
				contains: [{
					className: "string",
					endsParent: !0,
					variants: [{
						begin: /"/,
						end: /"/,
						contains: [r]
					}, {
						begin: /'/,
						end: /'/,
						contains: [r]
					}, {
						begin: /[^\s"'=<>`]+/
					}]
				}]
			}]
		};
	return {
		name: "HTML, XML",
		aliases: ["html", "xhtml", "rss", "atom", "xjb", "xsd", "xsl", "plist", "wsf", "svg"],
		case_insensitive: !0,
		contains: [{
			className: "meta",
			begin: /<![a-z]/,
			end: />/,
			relevance: 10,
			contains: [i, s, a, o, {
				begin: /\[/,
				end: /\]/,
				contains: [{
					className: "meta",
					begin: /<![a-z]/,
					end: />/,
					contains: [i, o, s, a]
				}]
			}]
		}, e.COMMENT(/<!--/, /-->/, {
			relevance: 10
		}), {
			begin: /<!\[CDATA\[/,
			end: /\]\]>/,
			relevance: 10
		}, r, {
			className: "meta",
			begin: /<\?xml/,
			end: /\?>/,
			relevance: 10
		}, {
			className: "tag",
			begin: /<style(?=\s|>)/,
			end: />/,
			keywords: {
				name: "style"
			},
			contains: [u],
			starts: {
				end: /<\/style>/,
				returnEnd: !0,
				subLanguage: ["css", "xml"]
			}
		}, {
			className: "tag",
			begin: /<script(?=\s|>)/,
			end: />/,
			keywords: {
				name: "script"
			},
			contains: [u],
			starts: {
				end: /<\/script>/,
				returnEnd: !0,
				subLanguage: ["javascript", "handlebars", "xml"]
			}
		}, {
			className: "tag",
			begin: /<>|<\/>/
		}, {
			className: "tag",
			begin: Ec(/</, uF(Ec(t, tet(/\/>/, />/, /\s/)))),
			end: /\/?>/,
			contains: [{
				className: "name",
				begin: t,
				relevance: 0,
				starts: u
			}]
		}, {
			className: "tag",
			begin: Ec(/<\//, uF(Ec(t, />/))),
			contains: [{
				className: "name",
				begin: t,
				relevance: 0
			}, {
				begin: />/,
				relevance: 0,
				endsParent: !0
			}]
		}]
	}
}
var ret = net;
const iet = Et(ret);

function oet(e) {
	return e ? typeof e == "string" ? e : e.source : null
}

function aet(...e) {
	return e.map(n => oet(n)).join("")
}

function set(e) {
	const t = {},
		n = {
			begin: /\$\{/,
			end: /\}/,
			contains: ["self", {
				begin: /:-/,
				contains: [t]
			}]
		};
	Object.assign(t, {
		className: "variable",
		variants: [{
			begin: aet(/\$[\w\d#@][\w\d_]*/, "(?![\\w\\d])(?![$])")
		}, n]
	});
	const r = {
			className: "subst",
			begin: /\$\(/,
			end: /\)/,
			contains: [e.BACKSLASH_ESCAPE]
		},
		i = {
			begin: /<<-?\s*(?=\w+)/,
			starts: {
				contains: [e.END_SAME_AS_BEGIN({
					begin: /(\w+)/,
					end: /(\w+)/,
					className: "string"
				})]
			}
		},
		o = {
			className: "string",
			begin: /"/,
			end: /"/,
			contains: [e.BACKSLASH_ESCAPE, t, r]
		};
	r.contains.push(o);
	const a = {
			className: "",
			begin: /\\"/
		},
		s = {
			className: "string",
			begin: /'/,
			end: /'/
		},
		u = {
			begin: /\$\(\(/,
			end: /\)\)/,
			contains: [{
				begin: /\d+#[0-9a-f]+/,
				className: "number"
			}, e.NUMBER_MODE, t]
		},
		l = ["fish", "bash", "zsh", "sh", "csh", "ksh", "tcsh", "dash", "scsh"],
		c = e.SHEBANG({
			binary: "(".concat(l.join("|"), ")"),
			relevance: 10
		}),
		d = {
			className: "function",
			begin: /\w[\w\d_]*\s*\(\s*\)\s*\{/,
			returnBegin: !0,
			contains: [e.inherit(e.TITLE_MODE, {
				begin: /\w[\w\d_]*/
			})],
			relevance: 0
		};
	return {
		name: "Bash",
		aliases: ["sh", "zsh"],
		keywords: {
			$pattern: /\b[a-z._-]+\b/,
			keyword: "if then else elif fi for while in do done case esac function",
			literal: "true false",
			built_in: "break cd continue eval exec exit export getopts hash pwd readonly return shift test times trap umask unset alias bind builtin caller command declare echo enable help let local logout mapfile printf read readarray source type typeset ulimit unalias set shopt autoload bg bindkey bye cap chdir clone comparguments compcall compctl compdescribe compfiles compgroups compquote comptags comptry compvalues dirs disable disown echotc echoti emulate fc fg float functions getcap getln history integer jobs kill limit log noglob popd print pushd pushln rehash sched setcap setopt stat suspend ttyctl unfunction unhash unlimit unsetopt vared wait whence where which zcompile zformat zftp zle zmodload zparseopts zprof zpty zregexparse zsocket zstyle ztcp"
		},
		contains: [c, e.SHEBANG(), d, u, e.HASH_COMMENT_MODE, i, o, a, s, t]
	}
}
var uet = set;
const cet = Et(uet),
	lF = "[A-Za-z$_][0-9A-Za-z$_]*",
	fet = ["as", "in", "of", "if", "for", "while", "finally", "var", "new", "function", "do", "return", "void", "else", "break", "catch", "instanceof", "with", "throw", "case", "default", "try", "switch", "continue", "typeof", "delete", "let", "yield", "const", "class", "debugger", "async", "await", "static", "import", "from", "export", "extends"],
	det = ["true", "false", "null", "undefined", "NaN", "Infinity"],
	pet = ["Intl", "DataView", "Number", "Math", "Date", "String", "RegExp", "Object", "Function", "Boolean", "Error", "Symbol", "Set", "Map", "WeakSet", "WeakMap", "Proxy", "Reflect", "JSON", "Promise", "Float64Array", "Int16Array", "Int32Array", "Int8Array", "Uint16Array", "Uint32Array", "Float32Array", "Array", "Uint8Array", "Uint8ClampedArray", "ArrayBuffer", "BigInt64Array", "BigUint64Array", "BigInt"],
	het = ["EvalError", "InternalError", "RangeError", "ReferenceError", "SyntaxError", "TypeError", "URIError"],
	vet = ["setInterval", "setTimeout", "clearInterval", "clearTimeout", "require", "exports", "eval", "isFinite", "isNaN", "parseFloat", "parseInt", "decodeURI", "decodeURIComponent", "encodeURI", "encodeURIComponent", "escape", "unescape"],
	get = ["arguments", "this", "super", "console", "window", "document", "localStorage", "module", "global"],
	met = [].concat(vet, get, pet, het);

function yet(e) {
	return e ? typeof e == "string" ? e : e.source : null
}

function cF(e) {
	return _6("(?=", e, ")")
}

function _6(...e) {
	return e.map(n => yet(n)).join("")
}

function wet(e) {
	const t = (E, {
			after: T
		}) => {
			const O = "</" + E[0].slice(1);
			return E.input.indexOf(O, T) !== -1
		},
		n = lF,
		r = {
			begin: "<>",
			end: "</>"
		},
		i = {
			begin: /<[A-Za-z0-9\\._:-]+/,
			end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
			isTrulyOpeningTag: (E, T) => {
				const O = E[0].length + E.index,
					R = E.input[O];
				if (R === "<") {
					T.ignoreMatch();
					return
				}
				R === ">" && (t(E, {
					after: O
				}) || T.ignoreMatch())
			}
		},
		o = {
			$pattern: lF,
			keyword: fet,
			literal: det,
			built_in: met
		},
		a = "[0-9](_?[0-9])*",
		s = "\\.(".concat(a, ")"),
		u = "0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",
		l = {
			className: "number",
			variants: [{
				begin: "(\\b(".concat(u, ")((").concat(s, ")|\\.)?|(").concat(s, "))[eE][+-]?(").concat(a, ")\\b")
			}, {
				begin: "\\b(".concat(u, ")\\b((").concat(s, ")\\b|\\.)?|(").concat(s, ")\\b")
			}, {
				begin: "\\b(0|[1-9](_?[0-9])*)n\\b"
			}, {
				begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"
			}, {
				begin: "\\b0[bB][0-1](_?[0-1])*n?\\b"
			}, {
				begin: "\\b0[oO][0-7](_?[0-7])*n?\\b"
			}, {
				begin: "\\b0[0-7]+n?\\b"
			}],
			relevance: 0
		},
		c = {
			className: "subst",
			begin: "\\$\\{",
			end: "\\}",
			keywords: o,
			contains: []
		},
		d = {
			begin: "html`",
			end: "",
			starts: {
				end: "`",
				returnEnd: !1,
				contains: [e.BACKSLASH_ESCAPE, c],
				subLanguage: "xml"
			}
		},
		p = {
			begin: "css`",
			end: "",
			starts: {
				end: "`",
				returnEnd: !1,
				contains: [e.BACKSLASH_ESCAPE, c],
				subLanguage: "css"
			}
		},
		g = {
			className: "string",
			begin: "`",
			end: "`",
			contains: [e.BACKSLASH_ESCAPE, c]
		},
		_ = {
			className: "comment",
			variants: [e.COMMENT(/\/\*\*(?!\/)/, "\\*/", {
				relevance: 0,
				contains: [{
					className: "doctag",
					begin: "@[A-Za-z]+",
					contains: [{
						className: "type",
						begin: "\\{",
						end: "\\}",
						relevance: 0
					}, {
						className: "variable",
						begin: n + "(?=\\s*(-)|$)",
						endsParent: !0,
						relevance: 0
					}, {
						begin: /(?=[^\n])\s/,
						relevance: 0
					}]
				}]
			}), e.C_BLOCK_COMMENT_MODE, e.C_LINE_COMMENT_MODE]
		},
		S = [e.APOS_STRING_MODE, e.QUOTE_STRING_MODE, d, p, g, l, e.REGEXP_MODE];
	c.contains = S.concat({
		begin: /\{/,
		end: /\}/,
		keywords: o,
		contains: ["self"].concat(S)
	});
	const y = [].concat(_, c.contains),
		w = y.concat([{
			begin: /\(/,
			end: /\)/,
			keywords: o,
			contains: ["self"].concat(y)
		}]),
		b = {
			className: "params",
			begin: /\(/,
			end: /\)/,
			excludeBegin: !0,
			excludeEnd: !0,
			keywords: o,
			contains: w
		};
	return {
		name: "Javascript",
		aliases: ["js", "jsx", "mjs", "cjs"],
		keywords: o,
		exports: {
			PARAMS_CONTAINS: w
		},
		illegal: /#(?![$_A-z])/,
		contains: [e.SHEBANG({
			label: "shebang",
			binary: "node",
			relevance: 5
		}), {
			label: "use_strict",
			className: "meta",
			relevance: 10,
			begin: /^\s*['"]use (strict|asm)['"]/
		}, e.APOS_STRING_MODE, e.QUOTE_STRING_MODE, d, p, g, _, l, {
			begin: _6(/[{,\n]\s*/, cF(_6(/(((\/\/.*$)|(\/\*(\*[^/]|[^*])*\*\/))\s*)*/, n + "\\s*:"))),
			relevance: 0,
			contains: [{
				className: "attr",
				begin: n + cF("\\s*:"),
				relevance: 0
			}]
		}, {
			begin: "(" + e.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
			keywords: "return throw case",
			contains: [_, e.REGEXP_MODE, {
				className: "function",
				begin: "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + e.UNDERSCORE_IDENT_RE + ")\\s*=>",
				returnBegin: !0,
				end: "\\s*=>",
				contains: [{
					className: "params",
					variants: [{
						begin: e.UNDERSCORE_IDENT_RE,
						relevance: 0
					}, {
						className: null,
						begin: /\(\s*\)/,
						skip: !0
					}, {
						begin: /\(/,
						end: /\)/,
						excludeBegin: !0,
						excludeEnd: !0,
						keywords: o,
						contains: w
					}]
				}]
			}, {
				begin: /,/,
				relevance: 0
			}, {
				className: "",
				begin: /\s/,
				end: /\s*/,
				skip: !0
			}, {
				variants: [{
					begin: r.begin,
					end: r.end
				}, {
					begin: i.begin,
					"on:begin": i.isTrulyOpeningTag,
					end: i.end
				}],
				subLanguage: "xml",
				contains: [{
					begin: i.begin,
					end: i.end,
					skip: !0,
					contains: ["self"]
				}]
			}],
			relevance: 0
		}, {
			className: "function",
			beginKeywords: "function",
			end: /[{;]/,
			excludeEnd: !0,
			keywords: o,
			contains: ["self", e.inherit(e.TITLE_MODE, {
				begin: n
			}), b],
			illegal: /%/
		}, {
			beginKeywords: "while if switch catch for"
		}, {
			className: "function",
			begin: e.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
			returnBegin: !0,
			contains: [b, e.inherit(e.TITLE_MODE, {
				begin: n
			})]
		}, {
			variants: [{
				begin: "\\." + n
			}, {
				begin: "\\$" + n
			}],
			relevance: 0
		}, {
			className: "class",
			beginKeywords: "class",
			end: /[{;=]/,
			excludeEnd: !0,
			illegal: /[:"[\]]/,
			contains: [{
				beginKeywords: "extends"
			}, e.UNDERSCORE_TITLE_MODE]
		}, {
			begin: /\b(?=constructor)/,
			end: /[{;]/,
			excludeEnd: !0,
			contains: [e.inherit(e.TITLE_MODE, {
				begin: n
			}), "self", b]
		}, {
			begin: "(get|set)\\s+(?=" + n + "\\()",
			end: /\{/,
			keywords: "get set",
			contains: [e.inherit(e.TITLE_MODE, {
				begin: n
			}), {
				begin: /\(\)/
			}, b]
		}, {
			begin: /\$[(.]/
		}]
	}
}
var _et = wet;
const bet = Et(_et);

function xet(e) {
	const t = {
			literal: "true false null"
		},
		n = [e.C_LINE_COMMENT_MODE, e.C_BLOCK_COMMENT_MODE],
		r = [e.QUOTE_STRING_MODE, e.C_NUMBER_MODE],
		i = {
			end: ",",
			endsWithParent: !0,
			excludeEnd: !0,
			contains: r,
			keywords: t
		},
		o = {
			begin: /\{/,
			end: /\}/,
			contains: [{
				className: "attr",
				begin: /"/,
				end: /"/,
				contains: [e.BACKSLASH_ESCAPE],
				illegal: "\\n"
			}, e.inherit(i, {
				begin: /:/
			})].concat(n),
			illegal: "\\S"
		},
		a = {
			begin: "\\[",
			end: "\\]",
			contains: [e.inherit(i)],
			illegal: "\\S"
		};
	return r.push(o, a), n.forEach(function(s) {
		r.push(s)
	}), {
		name: "JSON",
		contains: r,
		keywords: t,
		illegal: "\\S"
	}
}
var Eet = xet;
const Cet = Et(Eet);

function Oet(e) {
	return e ? typeof e == "string" ? e : e.source : null
}

function Tet(e) {
	return Ret("(?=", e, ")")
}

function Ret(...e) {
	return e.map(n => Oet(n)).join("")
}

function Iet(e) {
	const o = {
			$pattern: /[A-Za-z]\w+|__\w+__/,
			keyword: ["and", "as", "assert", "async", "await", "break", "class", "continue", "def", "del", "elif", "else", "except", "finally", "for", "from", "global", "if", "import", "in", "is", "lambda", "nonlocal|10", "not", "or", "pass", "raise", "return", "try", "while", "with", "yield"],
			built_in: ["__import__", "abs", "all", "any", "ascii", "bin", "bool", "breakpoint", "bytearray", "bytes", "callable", "chr", "classmethod", "compile", "complex", "delattr", "dict", "dir", "divmod", "enumerate", "eval", "exec", "filter", "float", "format", "frozenset", "getattr", "globals", "hasattr", "hash", "help", "hex", "id", "input", "int", "isinstance", "issubclass", "iter", "len", "list", "locals", "map", "max", "memoryview", "min", "next", "object", "oct", "open", "ord", "pow", "print", "property", "range", "repr", "reversed", "round", "set", "setattr", "slice", "sorted", "staticmethod", "str", "sum", "super", "tuple", "type", "vars", "zip"],
			literal: ["__debug__", "Ellipsis", "False", "None", "NotImplemented", "True"],
			type: ["Any", "Callable", "Coroutine", "Dict", "List", "Literal", "Generic", "Optional", "Sequence", "Set", "Tuple", "Type", "Union"]
		},
		a = {
			className: "meta",
			begin: /^(>>>|\.\.\.) /
		},
		s = {
			className: "subst",
			begin: /\{/,
			end: /\}/,
			keywords: o,
			illegal: /#/
		},
		u = {
			begin: /\{\{/,
			relevance: 0
		},
		l = {
			className: "string",
			contains: [e.BACKSLASH_ESCAPE],
			variants: [{
				begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,
				end: /'''/,
				contains: [e.BACKSLASH_ESCAPE, a],
				relevance: 10
			}, {
				begin: /([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,
				end: /"""/,
				contains: [e.BACKSLASH_ESCAPE, a],
				relevance: 10
			}, {
				begin: /([fF][rR]|[rR][fF]|[fF])'''/,
				end: /'''/,
				contains: [e.BACKSLASH_ESCAPE, a, u, s]
			}, {
				begin: /([fF][rR]|[rR][fF]|[fF])"""/,
				end: /"""/,
				contains: [e.BACKSLASH_ESCAPE, a, u, s]
			}, {
				begin: /([uU]|[rR])'/,
				end: /'/,
				relevance: 10
			}, {
				begin: /([uU]|[rR])"/,
				end: /"/,
				relevance: 10
			}, {
				begin: /([bB]|[bB][rR]|[rR][bB])'/,
				end: /'/
			}, {
				begin: /([bB]|[bB][rR]|[rR][bB])"/,
				end: /"/
			}, {
				begin: /([fF][rR]|[rR][fF]|[fF])'/,
				end: /'/,
				contains: [e.BACKSLASH_ESCAPE, u, s]
			}, {
				begin: /([fF][rR]|[rR][fF]|[fF])"/,
				end: /"/,
				contains: [e.BACKSLASH_ESCAPE, u, s]
			}, e.APOS_STRING_MODE, e.QUOTE_STRING_MODE]
		},
		c = "[0-9](_?[0-9])*",
		d = "(\\b(".concat(c, "))?\\.(").concat(c, ")|\\b(").concat(c, ")\\."),
		p = {
			className: "number",
			relevance: 0,
			variants: [{
				begin: "(\\b(".concat(c, ")|(").concat(d, "))[eE][+-]?(").concat(c, ")[jJ]?\\b")
			}, {
				begin: "(".concat(d, ")[jJ]?")
			}, {
				begin: "\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?\\b"
			}, {
				begin: "\\b0[bB](_?[01])+[lL]?\\b"
			}, {
				begin: "\\b0[oO](_?[0-7])+[lL]?\\b"
			}, {
				begin: "\\b0[xX](_?[0-9a-fA-F])+[lL]?\\b"
			}, {
				begin: "\\b(".concat(c, ")[jJ]\\b")
			}]
		},
		g = {
			className: "comment",
			begin: Tet(/# type:/),
			end: /$/,
			keywords: o,
			contains: [{
				begin: /# type:/
			}, {
				begin: /#/,
				end: /\b\B/,
				endsWithParent: !0
			}]
		},
		m = {
			className: "params",
			variants: [{
				className: "",
				begin: /\(\s*\)/,
				skip: !0
			}, {
				begin: /\(/,
				end: /\)/,
				excludeBegin: !0,
				excludeEnd: !0,
				keywords: o,
				contains: ["self", a, p, l, e.HASH_COMMENT_MODE]
			}]
		};
	return s.contains = [l, p, a], {
		name: "Python",
		aliases: ["py", "gyp", "ipython"],
		keywords: o,
		illegal: /(<\/|->|\?)|=>/,
		contains: [a, p, {
			begin: /\bself\b/
		}, {
			beginKeywords: "if",
			relevance: 0
		}, l, g, e.HASH_COMMENT_MODE, {
			variants: [{
				className: "function",
				beginKeywords: "def"
			}, {
				className: "class",
				beginKeywords: "class"
			}],
			end: /:/,
			illegal: /[${=;\n,]/,
			contains: [e.UNDERSCORE_TITLE_MODE, m, {
				begin: /->/,
				endsWithParent: !0,
				keywords: o
			}]
		}, {
			className: "meta",
			begin: /^[\t ]*@/,
			end: /(?=#)|$/,
			contains: [p, m, l]
		}]
	}
}
var ket = Iet;
const Aet = Et(ket);

function Met(e) {
	return {
		name: "Shell Session",
		aliases: ["console"],
		contains: [{
			className: "meta",
			begin: /^\s{0,3}[/~\w\d[\]()@-]*[>%$#]/,
			starts: {
				end: /[^\\](?=\s*$)/,
				subLanguage: "bash"
			}
		}]
	}
}
var Pet = Met;
const Let = Et(Pet);

function qJ(e) {
	return e ? typeof e == "string" ? e : e.source : null
}

function Net(...e) {
	return e.map(n => qJ(n)).join("")
}

function sE(...e) {
	return "(" + e.map(n => qJ(n)).join("|") + ")"
}

function Det(e) {
	const t = e.COMMENT("--", "$"),
		n = {
			className: "string",
			variants: [{
				begin: /'/,
				end: /'/,
				contains: [{
					begin: /''/
				}]
			}]
		},
		r = {
			begin: /"/,
			end: /"/,
			contains: [{
				begin: /""/
			}]
		},
		i = ["true", "false", "unknown"],
		o = ["double precision", "large object", "with timezone", "without timezone"],
		a = ["bigint", "binary", "blob", "boolean", "char", "character", "clob", "date", "dec", "decfloat", "decimal", "float", "int", "integer", "interval", "nchar", "nclob", "national", "numeric", "real", "row", "smallint", "time", "timestamp", "varchar", "varying", "varbinary"],
		s = ["add", "asc", "collation", "desc", "final", "first", "last", "view"],
		u = ["abs", "acos", "all", "allocate", "alter", "and", "any", "are", "array", "array_agg", "array_max_cardinality", "as", "asensitive", "asin", "asymmetric", "at", "atan", "atomic", "authorization", "avg", "begin", "begin_frame", "begin_partition", "between", "bigint", "binary", "blob", "boolean", "both", "by", "call", "called", "cardinality", "cascaded", "case", "cast", "ceil", "ceiling", "char", "char_length", "character", "character_length", "check", "classifier", "clob", "close", "coalesce", "collate", "collect", "column", "commit", "condition", "connect", "constraint", "contains", "convert", "copy", "corr", "corresponding", "cos", "cosh", "count", "covar_pop", "covar_samp", "create", "cross", "cube", "cume_dist", "current", "current_catalog", "current_date", "current_default_transform_group", "current_path", "current_role", "current_row", "current_schema", "current_time", "current_timestamp", "current_path", "current_role", "current_transform_group_for_type", "current_user", "cursor", "cycle", "date", "day", "deallocate", "dec", "decimal", "decfloat", "declare", "default", "define", "delete", "dense_rank", "deref", "describe", "deterministic", "disconnect", "distinct", "double", "drop", "dynamic", "each", "element", "else", "empty", "end", "end_frame", "end_partition", "end-exec", "equals", "escape", "every", "except", "exec", "execute", "exists", "exp", "external", "extract", "false", "fetch", "filter", "first_value", "float", "floor", "for", "foreign", "frame_row", "free", "from", "full", "function", "fusion", "get", "global", "grant", "group", "grouping", "groups", "having", "hold", "hour", "identity", "in", "indicator", "initial", "inner", "inout", "insensitive", "insert", "int", "integer", "intersect", "intersection", "interval", "into", "is", "join", "json_array", "json_arrayagg", "json_exists", "json_object", "json_objectagg", "json_query", "json_table", "json_table_primitive", "json_value", "lag", "language", "large", "last_value", "lateral", "lead", "leading", "left", "like", "like_regex", "listagg", "ln", "local", "localtime", "localtimestamp", "log", "log10", "lower", "match", "match_number", "match_recognize", "matches", "max", "member", "merge", "method", "min", "minute", "mod", "modifies", "module", "month", "multiset", "national", "natural", "nchar", "nclob", "new", "no", "none", "normalize", "not", "nth_value", "ntile", "null", "nullif", "numeric", "octet_length", "occurrences_regex", "of", "offset", "old", "omit", "on", "one", "only", "open", "or", "order", "out", "outer", "over", "overlaps", "overlay", "parameter", "partition", "pattern", "per", "percent", "percent_rank", "percentile_cont", "percentile_disc", "period", "portion", "position", "position_regex", "power", "precedes", "precision", "prepare", "primary", "procedure", "ptf", "range", "rank", "reads", "real", "recursive", "ref", "references", "referencing", "regr_avgx", "regr_avgy", "regr_count", "regr_intercept", "regr_r2", "regr_slope", "regr_sxx", "regr_sxy", "regr_syy", "release", "result", "return", "returns", "revoke", "right", "rollback", "rollup", "row", "row_number", "rows", "running", "savepoint", "scope", "scroll", "search", "second", "seek", "select", "sensitive", "session_user", "set", "show", "similar", "sin", "sinh", "skip", "smallint", "some", "specific", "specifictype", "sql", "sqlexception", "sqlstate", "sqlwarning", "sqrt", "start", "static", "stddev_pop", "stddev_samp", "submultiset", "subset", "substring", "substring_regex", "succeeds", "sum", "symmetric", "system", "system_time", "system_user", "table", "tablesample", "tan", "tanh", "then", "time", "timestamp", "timezone_hour", "timezone_minute", "to", "trailing", "translate", "translate_regex", "translation", "treat", "trigger", "trim", "trim_array", "true", "truncate", "uescape", "union", "unique", "unknown", "unnest", "update   ", "upper", "user", "using", "value", "values", "value_of", "var_pop", "var_samp", "varbinary", "varchar", "varying", "versioning", "when", "whenever", "where", "width_bucket", "window", "with", "within", "without", "year"],
		l = ["abs", "acos", "array_agg", "asin", "atan", "avg", "cast", "ceil", "ceiling", "coalesce", "corr", "cos", "cosh", "count", "covar_pop", "covar_samp", "cume_dist", "dense_rank", "deref", "element", "exp", "extract", "first_value", "floor", "json_array", "json_arrayagg", "json_exists", "json_object", "json_objectagg", "json_query", "json_table", "json_table_primitive", "json_value", "lag", "last_value", "lead", "listagg", "ln", "log", "log10", "lower", "max", "min", "mod", "nth_value", "ntile", "nullif", "percent_rank", "percentile_cont", "percentile_disc", "position", "position_regex", "power", "rank", "regr_avgx", "regr_avgy", "regr_count", "regr_intercept", "regr_r2", "regr_slope", "regr_sxx", "regr_sxy", "regr_syy", "row_number", "sin", "sinh", "sqrt", "stddev_pop", "stddev_samp", "substring", "substring_regex", "sum", "tan", "tanh", "translate", "translate_regex", "treat", "trim", "trim_array", "unnest", "upper", "value_of", "var_pop", "var_samp", "width_bucket"],
		c = ["current_catalog", "current_date", "current_default_transform_group", "current_path", "current_role", "current_schema", "current_transform_group_for_type", "current_user", "session_user", "system_time", "system_user", "current_time", "localtime", "current_timestamp", "localtimestamp"],
		d = ["create table", "insert into", "primary key", "foreign key", "not null", "alter table", "add constraint", "grouping sets", "on overflow", "character set", "respect nulls", "ignore nulls", "nulls first", "nulls last", "depth first", "breadth first"],
		p = l,
		g = [...u, ...s].filter(w => !l.includes(w)),
		m = {
			className: "variable",
			begin: /@[a-z0-9]+/
		},
		_ = {
			className: "operator",
			begin: /[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
			relevance: 0
		},
		S = {
			begin: Net(/\b/, sE(...p), /\s*\(/),
			keywords: {
				built_in: p
			}
		};

	function y(w, {
		exceptions: b,
		when: E
	} = {}) {
		const T = E;
		return b = b || [], w.map(O => O.match(/\|\d+$/) || b.includes(O) ? O : T(O) ? "".concat(O, "|0") : O)
	}
	return {
		name: "SQL",
		case_insensitive: !0,
		illegal: /[{}]|<\//,
		keywords: {
			$pattern: /\b[\w\.]+/,
			keyword: y(g, {
				when: w => w.length < 3
			}),
			literal: i,
			type: a,
			built_in: c
		},
		contains: [{
			begin: sE(...d),
			keywords: {
				$pattern: /[\w\.]+/,
				keyword: g.concat(d),
				literal: i,
				type: a
			}
		}, {
			className: "type",
			begin: sE(...o)
		}, S, m, n, r, e.C_NUMBER_MODE, e.C_BLOCK_COMMENT_MODE, t, _]
	}
}
var $et = Det;
const Fet = Et($et);

function fF(e, t, n, r, i, o, a) {
	try {
		var s = e[o](a),
			u = s.value
	} catch (l) {
		return void n(l)
	}
	s.done ? t(u) : Promise.resolve(u).then(r, i)
}

function jet(e) {
	return function() {
		var t = this,
			n = arguments;
		return new Promise(function(r, i) {
			var o = e.apply(t, n);

			function a(u) {
				fF(o, r, i, a, s, "next", u)
			}

			function s(u) {
				fF(o, r, i, a, s, "throw", u)
			}
			a(void 0)
		})
	}
}
var YJ = {
		exports: {}
	},
	XJ = {
		exports: {}
	};
(function(e) {
	function t(n) {
		"@babel/helpers - typeof";
		return e.exports = t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
			return typeof r
		} : function(r) {
			return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r
		}, e.exports.__esModule = !0, e.exports.default = e.exports, t(n)
	}
	e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports
})(XJ);
var Uet = XJ.exports;
(function(e) {
	var t = Uet.default;

	function n() {
		e.exports = n = function() {
			return i
		}, e.exports.__esModule = !0, e.exports.default = e.exports;
		var r, i = {},
			o = Object.prototype,
			a = o.hasOwnProperty,
			s = Object.defineProperty || function(F, j, B) {
				F[j] = B.value
			},
			u = typeof Symbol == "function" ? Symbol : {},
			l = u.iterator || "@@iterator",
			c = u.asyncIterator || "@@asyncIterator",
			d = u.toStringTag || "@@toStringTag";

		function p(F, j, B) {
			return Object.defineProperty(F, j, {
				value: B,
				enumerable: !0,
				configurable: !0,
				writable: !0
			}), F[j]
		}
		try {
			p({}, "")
		} catch (F) {
			p = function(B, Z, z) {
				return B[Z] = z
			}
		}

		function g(F, j, B, Z) {
			var z = j && j.prototype instanceof E ? j : E,
				Q = Object.create(z.prototype),
				ie = new te(Z || []);
			return s(Q, "_invoke", {
				value: H(F, B, ie)
			}), Q
		}

		function m(F, j, B) {
			try {
				return {
					type: "normal",
					arg: F.call(j, B)
				}
			} catch (Z) {
				return {
					type: "throw",
					arg: Z
				}
			}
		}
		i.wrap = g;
		var _ = "suspendedStart",
			S = "suspendedYield",
			y = "executing",
			w = "completed",
			b = {};

		function E() {}

		function T() {}

		function O() {}
		var R = {};
		p(R, l, function() {
			return this
		});
		var k = Object.getPrototypeOf,
			M = k && k(k(q([])));
		M && M !== o && a.call(M, l) && (R = M);
		var D = O.prototype = E.prototype = Object.create(R);

		function P(F) {
			["next", "throw", "return"].forEach(function(j) {
				p(F, j, function(B) {
					return this._invoke(j, B)
				})
			})
		}

		function U(F, j) {
			function B(z, Q, ie, le) {
				var pe = m(F[z], F, Q);
				if (pe.type !== "throw") {
					var Ee = pe.arg,
						be = Ee.value;
					return be && t(be) == "object" && a.call(be, "__await") ? j.resolve(be.__await).then(function(st) {
						B("next", st, ie, le)
					}, function(st) {
						B("throw", st, ie, le)
					}) : j.resolve(be).then(function(st) {
						Ee.value = st, ie(Ee)
					}, function(st) {
						return B("throw", st, ie, le)
					})
				}
				le(pe.arg)
			}
			var Z;
			s(this, "_invoke", {
				value: function(Q, ie) {
					function le() {
						return new j(function(pe, Ee) {
							B(Q, ie, pe, Ee)
						})
					}
					return Z = Z ? Z.then(le, le) : le()
				}
			})
		}

		function H(F, j, B) {
			var Z = _;
			return function(z, Q) {
				if (Z === y) throw Error("Generator is already running");
				if (Z === w) {
					if (z === "throw") throw Q;
					return {
						value: r,
						done: !0
					}
				}
				for (B.method = z, B.arg = Q;;) {
					var ie = B.delegate;
					if (ie) {
						var le = G(ie, B);
						if (le) {
							if (le === b) continue;
							return le
						}
					}
					if (B.method === "next") B.sent = B._sent = B.arg;
					else if (B.method === "throw") {
						if (Z === _) throw Z = w, B.arg;
						B.dispatchException(B.arg)
					} else B.method === "return" && B.abrupt("return", B.arg);
					Z = y;
					var pe = m(F, j, B);
					if (pe.type === "normal") {
						if (Z = B.done ? w : S, pe.arg === b) continue;
						return {
							value: pe.arg,
							done: B.done
						}
					}
					pe.type === "throw" && (Z = w, B.method = "throw", B.arg = pe.arg)
				}
			}
		}

		function G(F, j) {
			var B = j.method,
				Z = F.iterator[B];
			if (Z === r) return j.delegate = null, B === "throw" && F.iterator.return && (j.method = "return", j.arg = r, G(F, j), j.method === "throw") || B !== "return" && (j.method = "throw", j.arg = new TypeError("The iterator does not provide a '" + B + "' method")), b;
			var z = m(Z, F.iterator, j.arg);
			if (z.type === "throw") return j.method = "throw", j.arg = z.arg, j.delegate = null, b;
			var Q = z.arg;
			return Q ? Q.done ? (j[F.resultName] = Q.value, j.next = F.nextLoc, j.method !== "return" && (j.method = "next", j.arg = r), j.delegate = null, b) : Q : (j.method = "throw", j.arg = new TypeError("iterator result is not an object"), j.delegate = null, b)
		}

		function K(F) {
			var j = {
				tryLoc: F[0]
			};
			1 in F && (j.catchLoc = F[1]), 2 in F && (j.finallyLoc = F[2], j.afterLoc = F[3]), this.tryEntries.push(j)
		}

		function ee(F) {
			var j = F.completion || {};
			j.type = "normal", delete j.arg, F.completion = j
		}

		function te(F) {
			this.tryEntries = [{
				tryLoc: "root"
			}], F.forEach(K, this), this.reset(!0)
		}

		function q(F) {
			if (F || F === "") {
				var j = F[l];
				if (j) return j.call(F);
				if (typeof F.next == "function") return F;
				if (!isNaN(F.length)) {
					var B = -1,
						Z = function z() {
							for (; ++B < F.length;)
								if (a.call(F, B)) return z.value = F[B], z.done = !1, z;
							return z.value = r, z.done = !0, z
						};
					return Z.next = Z
				}
			}
			throw new TypeError(t(F) + " is not iterable")
		}
		return T.prototype = O, s(D, "constructor", {
			value: O,
			configurable: !0
		}), s(O, "constructor", {
			value: T,
			configurable: !0
		}), T.displayName = p(O, d, "GeneratorFunction"), i.isGeneratorFunction = function(F) {
			var j = typeof F == "function" && F.constructor;
			return !!j && (j === T || (j.displayName || j.name) === "GeneratorFunction")
		}, i.mark = function(F) {
			return Object.setPrototypeOf ? Object.setPrototypeOf(F, O) : (F.__proto__ = O, p(F, d, "GeneratorFunction")), F.prototype = Object.create(D), F
		}, i.awrap = function(F) {
			return {
				__await: F
			}
		}, P(U.prototype), p(U.prototype, c, function() {
			return this
		}), i.AsyncIterator = U, i.async = function(F, j, B, Z, z) {
			z === void 0 && (z = Promise);
			var Q = new U(g(F, j, B, Z), z);
			return i.isGeneratorFunction(j) ? Q : Q.next().then(function(ie) {
				return ie.done ? ie.value : Q.next()
			})
		}, P(D), p(D, d, "Generator"), p(D, l, function() {
			return this
		}), p(D, "toString", function() {
			return "[object Generator]"
		}), i.keys = function(F) {
			var j = Object(F),
				B = [];
			for (var Z in j) B.push(Z);
			return B.reverse(),
				function z() {
					for (; B.length;) {
						var Q = B.pop();
						if (Q in j) return z.value = Q, z.done = !1, z
					}
					return z.done = !0, z
				}
		}, i.values = q, te.prototype = {
			constructor: te,
			reset: function(j) {
				if (this.prev = 0, this.next = 0, this.sent = this._sent = r, this.done = !1, this.delegate = null, this.method = "next", this.arg = r, this.tryEntries.forEach(ee), !j)
					for (var B in this) B.charAt(0) === "t" && a.call(this, B) && !isNaN(+B.slice(1)) && (this[B] = r)
			},
			stop: function() {
				this.done = !0;
				var j = this.tryEntries[0].completion;
				if (j.type === "throw") throw j.arg;
				return this.rval
			},
			dispatchException: function(j) {
				if (this.done) throw j;
				var B = this;

				function Z(Ee, be) {
					return ie.type = "throw", ie.arg = j, B.next = Ee, be && (B.method = "next", B.arg = r), !!be
				}
				for (var z = this.tryEntries.length - 1; z >= 0; --z) {
					var Q = this.tryEntries[z],
						ie = Q.completion;
					if (Q.tryLoc === "root") return Z("end");
					if (Q.tryLoc <= this.prev) {
						var le = a.call(Q, "catchLoc"),
							pe = a.call(Q, "finallyLoc");
						if (le && pe) {
							if (this.prev < Q.catchLoc) return Z(Q.catchLoc, !0);
							if (this.prev < Q.finallyLoc) return Z(Q.finallyLoc)
						} else if (le) {
							if (this.prev < Q.catchLoc) return Z(Q.catchLoc, !0)
						} else {
							if (!pe) throw Error("try statement without catch or finally");
							if (this.prev < Q.finallyLoc) return Z(Q.finallyLoc)
						}
					}
				}
			},
			abrupt: function(j, B) {
				for (var Z = this.tryEntries.length - 1; Z >= 0; --Z) {
					var z = this.tryEntries[Z];
					if (z.tryLoc <= this.prev && a.call(z, "finallyLoc") && this.prev < z.finallyLoc) {
						var Q = z;
						break
					}
				}
				Q && (j === "break" || j === "continue") && Q.tryLoc <= B && B <= Q.finallyLoc && (Q = null);
				var ie = Q ? Q.completion : {};
				return ie.type = j, ie.arg = B, Q ? (this.method = "next", this.next = Q.finallyLoc, b) : this.complete(ie)
			},
			complete: function(j, B) {
				if (j.type === "throw") throw j.arg;
				return j.type === "break" || j.type === "continue" ? this.next = j.arg : j.type === "return" ? (this.rval = this.arg = j.arg, this.method = "return", this.next = "end") : j.type === "normal" && B && (this.next = B), b
			},
			finish: function(j) {
				for (var B = this.tryEntries.length - 1; B >= 0; --B) {
					var Z = this.tryEntries[B];
					if (Z.finallyLoc === j) return this.complete(Z.completion, Z.afterLoc), ee(Z), b
				}
			},
			catch: function(j) {
				for (var B = this.tryEntries.length - 1; B >= 0; --B) {
					var Z = this.tryEntries[B];
					if (Z.tryLoc === j) {
						var z = Z.completion;
						if (z.type === "throw") {
							var Q = z.arg;
							ee(Z)
						}
						return Q
					}
				}
				throw Error("illegal catch attempt")
			},
			delegateYield: function(j, B, Z) {
				return this.delegate = {
					iterator: q(j),
					resultName: B,
					nextLoc: Z
				}, this.method === "next" && (this.arg = r), b
			}
		}, i
	}
	e.exports = n, e.exports.__esModule = !0, e.exports.default = e.exports
})(YJ);
var Het = YJ.exports,
	w2 = Het(),
	Vet = w2;
try {
	regeneratorRuntime = w2
} catch (e) {
	typeof globalThis == "object" ? globalThis.regeneratorRuntime = w2 : Function("r", "regeneratorRuntime = r")(w2)
}
const dF = Et(Vet);
var ru = WJe($f, {});
ru.registerLanguage = $f.registerLanguage;
ru.registerLanguage("javascript", bet);
ru.registerLanguage("json", Cet);
ru.registerLanguage("python", Aet);
ru.registerLanguage("bash", cet);
ru.registerLanguage("shell", Let);
ru.registerLanguage("xml", iet);
ru.registerLanguage("sql", Fet);
const JJ = ({
		value: e,
		className: t,
		language: n = void 0,
		style: r = {},
		showLineNumbers: i = !1,
		wrapLines: o = !0,
		wrapLongLines: a = !1,
		highlighted: s = !1,
		theme: u
	}) => {
		const [l, c] = h.useMemo(() => {
			const d = [];
			if (!s) return [e, d];
			const p = e.split("\n"),
				g = [];
			let m = !1,
				_ = [],
				S = 1;
			return p.forEach(y => {
				var w, b, E;
				if (y.includes("highlight-start")) {
					m = !0;
					const T = new RegExp("highlight-start:(?<highlightConfigName>.*)$");
					_ = ((E = (b = (w = y.match(T)) == null ? void 0 : w.groups) == null ? void 0 : b.highlightConfigName) != null ? E : "").split(" ");
					return
				}
				if (y.includes("highlight-end")) {
					m = !1, _ = [];
					return
				}
				g.push(y), m && d.push({
					lineNo: S,
					classNames: _
				}), S++
			}), [g.join("\n"), d]
		}, [s, e]);
		return C.jsx(ru, {
			className: Pe("syntax-highlighter", u && "".concat(u, "-mode"), t),
			customStyle: r,
			language: n,
			showLineNumbers: i || s,
			showInlineLineNumbers: !1,
			useInlineStyles: !1,
			wrapLines: o,
			wrapLongLines: a,
			renderer: Bet,
			lineProps: d => {
				var g;
				const p = c.find(({
					lineNo: m
				}) => m === d);
				return p ? {
					class: Pe("highlighted-row", (g = p == null ? void 0 : p.classNames) != null ? g : [])
				} : {}
			},
			children: l
		})
	},
	Bet = e => {
		const {
			rows: t
		} = e;
		return C.jsx(C.Fragment, {
			children: t.map((n, r) => E9({
				key: r,
				stylesheet: {},
				useInlineStyles: !0,
				node: n
			}))
		})
	},
	pF = {
		curl: "bash",
		"node.js": "javascript"
	};

function zet(e) {
	return HFe(e)
}

function Get(e) {
	const {
		code: t,
		defaultLanguage: n,
		engineOptions: r,
		engineSelected: i,
		language: o,
		onEngineChange: a,
		showLineNumbers: s,
		textSize: u = "small",
		title: l,
		wrapLongLines: c,
		hideNumbers: d,
		copyEnabled: p = !0,
		highlighted: g = !1
	} = e, m = ha(), _ = zet(t), [S, y] = C7e(tr.CodeLanguagePreference), w = h.useMemo(() => {
		if (o) return o;
		if (_) {
			const D = Ue.parse(m.search);
			return D.lang && t[String(D.lang)] ? D.lang : S && t[S] ? S : n || Object.keys(t)[0]
		}
		return "json"
	}, [t, _, o, n, S, m]), b = !!(l || _ || r), [E, T] = h.useMemo(() => {
		var U;
		let D = (U = _ ? t[w] || "" : t) != null ? U : "";
		const P = D.indexOf("VAR_model_id") >= 0;
		return D = D.replace(/VAR_model_id/g, (i == null ? void 0 : i.value) || "davinci"), [D, P]
	}, [_, t, w, i]), O = h.useMemo(() => E.split(/\n/).length, [E]), R = h.useMemo(() => typeof s == "boolean" ? s : O >= 3, [O, s]), k = h.useCallback(async () => {
		await PJ(E) && Ui.success("Code copied!")
	}, [E]), M = h.useCallback(D => {
		const P = D.target.value;
		gK({
			lang: P
		}), y(P)
	}, [y]);
	return C.jsxs("div", {
		className: Pe("code-sample", O === 1 && "code-sample-oneliner"),
		children: [b && C.jsxs("div", {
			className: "code-sample-header",
			children: [C.jsx("div", {
				className: "code-sample-title body-small",
				children: l
			}), T && C.jsx(Ket, {
				engineSelected: i,
				engineOptions: r,
				onEngineChange: a
			}), _ && C.jsx(Wet, {
				langSelected: w,
				langOptions: Object.keys(t),
				onChange: M
			}), p && C.jsx("div", {
				className: "code-sample-copy",
				children: C.jsx(ir, {
					color: "neutral",
					variant: "minimal",
					size: "small",
					onClick: k,
					startIcon: sD
				})
			})]
		}), C.jsxs("div", {
			className: Pe("code-sample-body", "code-sample-body-".concat(u), b && "code-sample-body-with-header"),
			children: [!b && C.jsx(ir, {
				className: "code-sample-copy-float",
				color: "neutral",
				variant: "minimal",
				size: "small",
				onClick: k,
				startIcon: sD,
				"aria-label": "Copy"
			}), C.jsx(JJ, {
				className: "code-sample-pre",
				value: E.trim(),
				language: w in pF ? pF[w] : w,
				showLineNumbers: !d && R,
				wrapLongLines: c,
				highlighted: g,
				theme: "dark"
			})]
		})]
	})
}

function Wet({
	langOptions: e,
	langSelected: t,
	onChange: n
}) {
	return C.jsxs("div", {
		className: "code-sample-select-wrap",
		children: [C.jsx("div", {
			className: "code-sample-select-val",
			children: t || "Select library"
		}), C.jsxs("select", {
			className: "code-sample-select api-code-lang-select",
			value: t || "",
			onChange: n,
			children: [C.jsx("option", {
				disabled: !0,
				value: "",
				children: "Select library"
			}), e.map(r => C.jsx("option", {
				value: r,
				children: r
			}, r))]
		}), C.jsx(ZK, {})]
	})
}

function Ket({
	engineOptions: e,
	engineSelected: t,
	onEngineChange: n
}) {
	const r = t == null ? void 0 : t.value;
	return C.jsxs("div", {
		className: "code-sample-select-wrap",
		children: [C.jsx("div", {
			className: "code-sample-select-val",
			children: r
		}), C.jsx("select", {
			className: "code-sample-select",
			value: r,
			onChange: n,
			children: e != null && e.length ? e.map(i => C.jsx("option", {
				value: i.value,
				children: i.label
			}, i.value)) : C.jsx("option", {
				value: r,
				children: r
			}, r)
		}), C.jsx(ZK, {})]
	})
}

function Zet({
	value: e,
	model: t = "",
	link: n = ""
}) {
	const r = h.useMemo(() => {
		const o = e.split("\n"),
			a = [];
		let s = null;
		for (const u of o)
			if (u.startsWith("SYSTEM:") || u.startsWith("USER:") || u.startsWith("ASSISTANT:")) {
				const l = u.indexOf(":");
				s = {
					role: u.substring(0, l),
					content: u.substring(l + 1).trim()
				}, a.push(s)
			} else s && (s.content += "\n" + u);
		return a
	}, [e]);
	n && n.includes("?mode=chat") === !1 && (n += "?mode=chat");
	let i = null;
	if (n) i = C.jsx(hF, {
		url: n
	});
	else if (t) {
		const o = {
				prompt: e,
				model: t
			},
			a = "/playground?" + Ue.stringify(o);
		i = C.jsx(hF, {
			url: a
		})
	}
	return C.jsx(C.Fragment, {
		children: C.jsxs("div", {
			className: "example-chat-container",
			children: [C.jsx("div", {
				className: "example-chat-messages",
				children: r.map((o, a) => C.jsxs("div", {
					className: "example-chat-message",
					children: [C.jsx("div", {
						className: "example-chat-role",
						children: C.jsx("div", {
							className: "example-chat-subheading subheading",
							children: C.jsx("span", {
								className: "example-chat-role-text",
								children: o.role
							})
						})
					}), C.jsx("div", {
						className: "example-chat-message-text",
						children: o.content
					})]
				}, a))
			}), i]
		})
	})
}

function hF({
	url: e
}) {
	return C.jsxs("a", {
		className: "example-chat-link",
		href: e,
		target: "_blank",
		rel: "noopener noreferrer",
		children: ["Open in Playground", C.jsx(kY, {})]
	})
}

function qet(e) {
	return Ce({
		tag: "svg",
		attr: {
			fill: "currentColor",
			viewBox: "0 0 16 16"
		},
		child: [{
			tag: "path",
			attr: {
				d: "m11.596 8.697-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"
			}
		}]
	})(e)
}
var Yet = function(t) {
		var n = h.useRef(t);
		return e_(function() {
			n.current = t
		}), n
	},
	vF = function(t, n) {
		if (typeof t == "function") {
			t(n);
			return
		}
		t.current = n
	},
	Xet = function(t, n) {
		var r = h.useRef();
		return h.useCallback(function(i) {
			t.current = i, r.current && vF(r.current, null), r.current = n, n && vF(n, i)
		}, [n])
	},
	gF = {
		"min-height": "0",
		"max-height": "none",
		height: "0",
		visibility: "hidden",
		overflow: "hidden",
		position: "absolute",
		"z-index": "-1000",
		top: "0",
		right: "0"
	},
	Jet = function(t) {
		Object.keys(gF).forEach(function(n) {
			t.style.setProperty(n, gF[n], "important")
		})
	},
	mF = Jet,
	Vr = null,
	yF = function(t, n) {
		var r = t.scrollHeight;
		return n.sizingStyle.boxSizing === "border-box" ? r + n.borderSize : r - n.paddingSize
	};

function Qet(e, t, n, r) {
	n === void 0 && (n = 1), r === void 0 && (r = 1 / 0), Vr || (Vr = document.createElement("textarea"), Vr.setAttribute("tabindex", "-1"), Vr.setAttribute("aria-hidden", "true"), mF(Vr)), Vr.parentNode === null && document.body.appendChild(Vr);
	var i = e.paddingSize,
		o = e.borderSize,
		a = e.sizingStyle,
		s = a.boxSizing;
	Object.keys(a).forEach(function(p) {
		var g = p;
		Vr.style[g] = a[g]
	}), mF(Vr), Vr.value = t;
	var u = yF(Vr, e);
	Vr.value = t, u = yF(Vr, e), Vr.value = "x";
	var l = Vr.scrollHeight - i,
		c = l * n;
	s === "border-box" && (c = c + i + o), u = Math.max(c, u);
	var d = l * r;
	return s === "border-box" && (d = d + i + o), u = Math.min(d, u), [u, l]
}
var wF = function() {},
	ett = function(t, n) {
		return t.reduce(function(r, i) {
			return r[i] = n[i], r
		}, {})
	},
	ttt = ["borderBottomWidth", "borderLeftWidth", "borderRightWidth", "borderTopWidth", "boxSizing", "fontFamily", "fontSize", "fontStyle", "fontWeight", "letterSpacing", "lineHeight", "paddingBottom", "paddingLeft", "paddingRight", "paddingTop", "tabSize", "textIndent", "textRendering", "textTransform", "width", "wordBreak"],
	ntt = !!document.documentElement.currentStyle,
	rtt = function(t) {
		var n = window.getComputedStyle(t);
		if (n === null) return null;
		var r = ett(ttt, n),
			i = r.boxSizing;
		if (i === "") return null;
		ntt && i === "border-box" && (r.width = parseFloat(r.width) + parseFloat(r.borderRightWidth) + parseFloat(r.borderLeftWidth) + parseFloat(r.paddingRight) + parseFloat(r.paddingLeft) + "px");
		var o = parseFloat(r.paddingBottom) + parseFloat(r.paddingTop),
			a = parseFloat(r.borderBottomWidth) + parseFloat(r.borderTopWidth);
		return {
			sizingStyle: r,
			paddingSize: o,
			borderSize: a
		}
	},
	itt = rtt;

function QJ(e, t, n) {
	var r = Yet(n);
	h.useLayoutEffect(function() {
		var i = function(a) {
			return r.current(a)
		};
		if (e) return e.addEventListener(t, i),
			function() {
				return e.removeEventListener(t, i)
			}
	}, [])
}
var ott = function(t) {
		QJ(window, "resize", t)
	},
	att = function(t) {
		QJ(document.fonts, "loadingdone", t)
	},
	stt = ["cacheMeasurements", "maxRows", "minRows", "onChange", "onHeightChange"],
	utt = function(t, n) {
		var r = t.cacheMeasurements,
			i = t.maxRows,
			o = t.minRows,
			a = t.onChange,
			s = a === void 0 ? wF : a,
			u = t.onHeightChange,
			l = u === void 0 ? wF : u,
			c = Rf(t, stt),
			d = c.value !== void 0,
			p = h.useRef(null),
			g = Xet(p, n),
			m = h.useRef(0),
			_ = h.useRef(),
			S = function() {
				var b = p.current,
					E = r && _.current ? _.current : itt(b);
				if (E) {
					_.current = E;
					var T = Qet(E, b.value || b.placeholder || "x", o, i),
						O = T[0],
						R = T[1];
					m.current !== O && (m.current = O, b.style.setProperty("height", O + "px", "important"), l(O, {
						rowHeight: R
					}))
				}
			},
			y = function(b) {
				d || S(), s(b)
			};
		return h.useLayoutEffect(S), ott(S), att(S), h.createElement("textarea", ge({}, c, {
			onChange: y,
			ref: g
		}))
	},
	ltt = h.forwardRef(utt);
const uE = {
		prompt: "request",
		completion: "completion"
	},
	ctt = [
		["sexual/minors", "sexual content involving minors"],
		["sexual", "sexual content"],
		["hate", "hateful content"],
		["violence", "violent content"],
		["self-harm", "self-harm content"],
		["hate/threatening", "hateful content"],
		["violence/graphic", "violent content"]
	];

function ftt(e) {
	var t;
	return ((t = e == null ? void 0 : e.results[0]) == null ? void 0 : t.categories["sexual/minors"]) === !0
}

function eQ(e) {
	var t;
	return ((t = e == null ? void 0 : e.results[0]) == null ? void 0 : t.flagged) === !0
}

function dtt(e) {
	if (eQ(e)) {
		for (const t of ctt)
			if (e.results[0].categories[t[0]] === !0) return t[1];
		return "unsafe content"
	}
}

function _F(e, t = "text-moderation-playground") {
	return Nn.runModerationApi(e, t).then(n => ({
		response: n,
		isBlocked: ftt(n),
		isFlagged: eQ(n),
		label: dtt(n)
	})).catch(n => (console.error(n), Tn.dashboardEvent({
		name: qo.moderationEvent,
		data: {
			result: "error",
			error: n
		}
	}), {
		isBlocked: !1,
		isFlagged: !1,
		label: void 0
	}))
}

function ptt({
	promptModerationInput: e,
	completionPromise: t,
	getContentModerationInput: n,
	onShow: r,
	onBlocked: i,
	onFlagged: o,
	analyticsComponent: a
}) {
	const s = _F(e),
		u = t.then(l => {
			const c = n(l);
			return _F(c)
		}).catch(console.error);
	return Promise.all([s, t]).then(([l, c]) => {
		l.isBlocked || r(c)
	}).catch(console.error), Promise.all([s, u, t]).then(([l, c, d]) => {
		l.isBlocked && c && c.isBlocked ? i(c) : (l.isBlocked && r(d), c && (l.isFlagged || c.isFlagged) && o(l, c)), c && htt(a, l, c)
	})
}

function htt(e, t, n) {
	Tn.dashboardEvent({
		name: qo.moderationEvent,
		data: {
			result: "success",
			analyticsComponent: e,
			promptBlocked: t.isBlocked,
			promptFlagged: t.isFlagged,
			contentBlocked: n.isBlocked,
			contentFlagged: n.isFlagged
		}
	})
}

function vtt(e) {
	if ((e == null ? void 0 : e.type) === "insufficient_quota") return {
		errorMessage: C.jsxs("p", {
			children: ["You've reached your usage limit. See your", " ", C.jsx(aa, {
				to: "/account/usage",
				target: "_blank",
				children: "usage dashboard"
			}), " ", "and", " ", C.jsx(aa, {
				to: "/account/billing",
				target: "_blank",
				children: "billing settings"
			}), " ", "for more details. If you have further questions, please contact us through our help center at help.openai.com."]
		}),
		loggingDesc: e.type
	};
	let t = (e == null ? void 0 : e.message) || "An unknown error occurred, please report this issue if it persists";
	return [
		[/is not valid under any of the given schemas - 'stop'/, "The API rejected your stop sequences. You may specify up to four stop sequences per request."],
		[/image_url is only supported by certain models/, "Error: this model does not support vision."]
	].forEach(([r, i]) => {
		r.test(t) && (t = i)
	}), {
		errorMessage: t,
		loggingDesc: e.type || t
	}
}
const gtt = navigator.userAgent.indexOf("Mac OS X") >= 0 ? "⌘" : "Ctrl",
	Put = "⇧",
	Lut = "↵";

function mtt(e) {
	const {
		onClose: t
	} = e, {
		loginWithRedirect: n
	} = ft(), r = h.useCallback(() => {
		const {
			pathname: o,
			search: a,
			hash: s
		} = window.location, u = n({
			appState: {
				targetPath: o + a + s
			}
		});
		u && u.catch(l => {
			console.error(l)
		})
	}, [n]), i = h.useCallback(() => {
		const {
			pathname: o,
			search: a,
			hash: s
		} = window.location, u = n({
			appState: {
				targetPath: o + a + s
			},
			screen_hint: "signup"
		});
		u && u.catch(l => {
			console.error(l)
		})
	}, [n]);
	return C.jsx(Cl, {
		isOpen: !0,
		className: "auth-modal",
		size: Kc.small,
		closeIcon: !0,
		onClose: t,
		children: C.jsx(zh, {
			children: C.jsxs("div", {
				className: "auth-modal-body",
				children: [C.jsx(Jb, {
					width: "50px",
					height: "50px",
					color: "var(--gray-400)"
				}), C.jsx("h3", {
					children: "Log in to start experimenting"
				}), C.jsx("div", {
					children: "Sign up or log in to start using the OpenAI API."
				}), C.jsx(ir, {
					className: "auth-modal-signup-button",
					size: "small",
					color: Ci.primary,
					onClick: i,
					fullWidth: !0,
					children: "Sign up"
				}), C.jsx(ir, {
					size: "small",
					color: Ci.neutral,
					onClick: r,
					fullWidth: !0,
					children: "Log in"
				})]
			})
		})
	})
}

function ytt(e, t, n, r) {
	for (var i = -1, o = e == null ? 0 : e.length; ++i < o;) {
		var a = e[i];
		t(r, a, n(a), e)
	}
	return r
}
var wtt = ytt,
	_tt = gq,
	btt = O8;

function Stt(e, t) {
	return e && _tt(e, t, btt)
}
var xtt = Stt,
	Ett = q1;

function Ctt(e, t) {
	return function(n, r) {
		if (n == null) return n;
		if (!Ett(n)) return e(n, r);
		for (var i = n.length, o = t ? i : -1, a = Object(n);
			(t ? o-- : ++o < i) && r(a[o], o, a) !== !1;);
		return n
	}
}
var Ott = Ctt,
	Ttt = xtt,
	Rtt = Ott,
	Itt = Rtt(Ttt),
	ktt = Itt,
	Att = ktt;

function Mtt(e, t, n, r) {
	return Att(e, function(i, o, a) {
		t(r, i, n(i), a)
	}), r
}
var Ptt = Mtt,
	Ltt = wtt,
	Ntt = Ptt,
	Dtt = JG,
	$tt = pa;

function Ftt(e, t) {
	return function(n, r) {
		var i = $tt(n) ? Ltt : Ntt,
			o = t ? t() : {};
		return i(n, e, Dtt(r), o)
	}
}
var tQ = Ftt,
	jtt = zb,
	Utt = tQ,
	Htt = Object.prototype,
	Vtt = Htt.hasOwnProperty,
	Btt = Utt(function(e, t, n) {
		Vtt.call(e, n) ? e[n].push(t) : jtt(e, n, [t])
	}),
	ztt = Btt;
const Gtt = Et(ztt);
var Wtt = tQ,
	Ktt = Wtt(function(e, t, n) {
		e[n ? 0 : 1].push(t)
	}, function() {
		return [
			[],
			[]
		]
	}),
	Ztt = Ktt;
const qtt = Et(Ztt),
	Ytt = {
		"gpt-4o": "High-intelligence flagship model for complex, multi‑step tasks",
		"gpt-4o-mini": "Affordable and intelligent small model for fast, lightweight tasks"
	},
	Xtt = 100;

function Jtt({
	value: e,
	onChange: t,
	completionMode: n,
	align: r,
	variant: i = "fill",
	usesQueryParams: o = !0,
	isDisabled: a = !1,
	menuWidth: s = 250
}) {
	const {
		user: u
	} = ft(), {
		activeOrgId: l,
		activeProjId: c
	} = Ro(), {
		engineOptions: d,
		isLoading: p
	} = BRe(l, c, {
		includeFineTunedModels: !0
	});
	h.useEffect(() => {
		e && d.length && !d.find(m => m.value === e) && t(URe(u, d, n))
	}, [d, n]);
	const g = h.useMemo(() => lT(d, n), [d, n]);
	return C.jsx(Qtt, {
		isDisabled: a,
		menuWidth: s,
		variant: i,
		align: r,
		value: e,
		onChange: t,
		isLoading: p,
		engineOptions: g,
		completionMode: n,
		usesQueryParams: o
	})
}

function Qtt({
	value: e,
	onChange: t,
	engineOptions: n,
	completionMode: r,
	align: i,
	usesQueryParams: o,
	isLoading: a,
	variant: s = "fill",
	isDisabled: u = !1,
	menuWidth: l = 240
}) {
	const c = h.useRef(e);
	c.current = e;
	const d = h.useMemo(() => {
			if (a) return [];
			const m = c.current ? UN(c.current) : null,
				_ = c.current && m ? !bF(m, {
					value: c.current
				}) : !1,
				S = r ? lT(n, r) : n,
				y = Gtt(S, b => UN(b.value)),
				w = [];
			return Object.values(Go).forEach(b => {
				if (y[b]) {
					const E = y[b].slice(0);
					(b === Go.GPT3_5 || b === Go.CHAT) && E.sort((D, P) => P.value.localeCompare(D.value)), b === Go.FINE_TUNES && E.sort((D, P) => D.value.localeCompare(P.value));
					let [T, O] = qtt(E, D => {
						const P = b === m && _;
						return bF(b, D) || P
					});
					T.length === 0 && (T = E, O = []);
					const k = [...T, ...O].map(D => {
						const P = Ytt[D.value];
						return P ? {
							...D,
							description: C.jsx("div", {
								className: "opacity-70 font-normal",
								style: {
									marginTop: 2,
									fontSize: "12px"
								},
								children: P
							})
						} : D
					});
					let M = Xtt;
					O.length > 0 && (M = T.length), w.push({
						label: b,
						options: k,
						optionsLimit: {
							limit: M,
							label: "Show more"
						}
					})
				}
			}), w
		}, [a, n, r]),
		p = h.useCallback(m => {
			var _;
			m.value !== e && (Tn.dashboardEvent({
				name: qo.playgroundChangeModel,
				data: {
					modelSelected: (_ = m == null ? void 0 : m.value) != null ? _ : void 0,
					playground: r
				}
			}), o && $Re({
				model: m == null ? void 0 : m.value
			}), t(m))
		}, [e, t, o, r]),
		g = h.useMemo(() => {
			if (!a) {
				if (n.length === 0) return "No eligible models available.";
				if (!n.some(m => m.value === e)) return "The selected model is not available."
			}
		}, [a, n, e]);
	return C.jsxs("div", {
		className: "engine-select",
		children: [C.jsx(PT, {
			variant: s,
			value: e != null ? e : "",
			side: "bottom",
			options: d,
			searchPlaceholder: "Select a model...",
			onChange: p,
			listMinWidth: l,
			align: i,
			disabled: u,
			loading: a
		}), g && C.jsx("div", {
			className: "engine-select-error-message",
			children: g
		})]
	})
}

function bF(e, t) {
	return e === Go.GPT3_5 ? ["gpt-3.5-turbo-instruct"].includes(t.value) : e === Go.CHAT ? ["gpt-4o", "gpt-4o-mini", "gpt-4-turbo", "gpt-3.5-turbo", "gpt-4", "gpt-4-32k"].includes(t.value) : !0
}
const ent = J.memo(Jtt);

function Kh(e) {
	const t = H8({
			path: "/playground"
		}),
		n = window.innerWidth < 600;
	return C.jsx(hf, {
		placement: n ? zi.top : t ? zi.left : zi.right,
		onMouseEnterDelay: 400,
		onMouseLeaveDelay: 0,
		transitionDuration: 200,
		focusLock: !1,
		...e
	})
}
const lE = [{
	value: "off",
	label: "Off"
}, {
	value: "orig",
	label: "Most likely"
}, {
	value: "inv",
	label: "Least likely"
}, {
	value: "full",
	label: "Full spectrum"
}];

function tnt(e) {
	const {
		disabled: t,
		value: n,
		onChange: r
	} = e, i = h.useMemo(() => lE.find(a => a.value === n) || lE[0], [n]), o = h.useCallback(a => {
		a && a.value !== "off" ? r(a.value) : r(null)
	}, [r]);
	return C.jsx(nY, {
		options: lE,
		value: i,
		onChange: o,
		isDisabled: t
	})
}
var nnt = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel", "isValidNewOption", "getNewOptionData", "onCreateOption", "options", "onChange"],
	SF = function() {
		var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "",
			n = arguments.length > 1 ? arguments[1] : void 0,
			r = arguments.length > 2 ? arguments[2] : void 0,
			i = String(t).toLowerCase(),
			o = String(r.getOptionValue(n)).toLowerCase(),
			a = String(r.getOptionLabel(n)).toLowerCase();
		return o === i || a === i
	},
	cE = {
		formatCreateLabel: function(t) {
			return 'Create "'.concat(t, '"')
		},
		isValidNewOption: function(t, n, r, i) {
			return !(!t || n.some(function(o) {
				return SF(t, o, i)
			}) || r.some(function(o) {
				return SF(t, o, i)
			}))
		},
		getNewOptionData: function(t, n) {
			return {
				label: n,
				value: t,
				__isNew__: !0
			}
		}
	};

function rnt(e) {
	var t = e.allowCreateWhileLoading,
		n = t === void 0 ? !1 : t,
		r = e.createOptionPosition,
		i = r === void 0 ? "last" : r,
		o = e.formatCreateLabel,
		a = o === void 0 ? cE.formatCreateLabel : o,
		s = e.isValidNewOption,
		u = s === void 0 ? cE.isValidNewOption : s,
		l = e.getNewOptionData,
		c = l === void 0 ? cE.getNewOptionData : l,
		d = e.onCreateOption,
		p = e.options,
		g = p === void 0 ? [] : p,
		m = e.onChange,
		_ = or(e, nnt),
		S = _.getOptionValue,
		y = S === void 0 ? Wq : S,
		w = _.getOptionLabel,
		b = w === void 0 ? Gq : w,
		E = _.inputValue,
		T = _.isLoading,
		O = _.isMulti,
		R = _.value,
		k = _.name,
		M = h.useMemo(function() {
			return u(E, n_(R), g, {
				getOptionValue: y,
				getOptionLabel: b
			}) ? c(E, a(E)) : void 0
		}, [a, c, b, y, E, u, g, R]),
		D = h.useMemo(function() {
			return (n || !T) && M ? i === "first" ? [M].concat(vi(g)) : [].concat(vi(g), [M]) : g
		}, [n, i, T, M, g]),
		P = h.useCallback(function(U, H) {
			if (H.action !== "select-option") return m(U, H);
			var G = Array.isArray(U) ? U : [U];
			if (G[G.length - 1] === M) {
				if (d) d(E);
				else {
					var K = c(E, E),
						ee = {
							action: "create-option",
							name: k,
							option: K
						};
					m(q0(O, [].concat(vi(n_(R)), [K]), K), ee)
				}
				return
			}
			m(U, H)
		}, [c, E, O, k, M, d, m, R]);
	return ce(ce({}, _), {}, {
		options: D,
		onChange: P
	})
}
var int = h.forwardRef(function(e, t) {
		var n = xq(e),
			r = rnt(n);
		return h.createElement(jT, ge({
			ref: t
		}, r))
	}),
	ont = int;
const ant = {
		DropdownIndicator: null,
		ClearIndicator: e => C.jsx(u1.ClearIndicator, {
			...e,
			children: C.jsx(ZC, {
				size: "20px"
			})
		}),
		MultiValueRemove: e => C.jsx(u1.MultiValueRemove, {
			...e,
			children: C.jsx(ZC, {
				size: "14px"
			})
		})
	},
	snt = e => ({
		label: e,
		value: e
	}),
	unt = () => "Enter a sequence",
	lnt = e => 'Add "'.concat(e, '"'),
	cnt = {
		container: e => ({
			...e,
			fontSize: "14px"
		}),
		control: (e, t) => ({
			...e,
			backgroundColor: "var(--bg-color)",
			...t.isFocused ? {
				boxShadow: "var(--input-focus-ring)"
			} : {
				borderColor: "var(--gray-200)"
			}
		}),
		multiValue: e => ({
			...e,
			height: 30,
			paddingLeft: 4,
			paddingRight: 2,
			alignItems: "center",
			borderRadius: 16
		}),
		multiValueRemove: e => ({
			...e,
			backgroundColor: "transparent",
			color: "var(--text-secondary)",
			borderRadius: 12,
			height: 24,
			width: 24,
			display: "flex",
			justifyContent: "center",
			":hover": {
				backgroundColor: "var(--gray-100)",
				color: "var(--text-primary)"
			}
		}),
		noOptionsMessage: e => ({
			...e,
			padding: "4px"
		}),
		option: (e, {
			isFocused: t,
			isSelected: n
		}) => ({
			...e,
			fontSize: "14px",
			lineHeight: "20px",
			padding: "5px 12px",
			borderRadius: 6,
			display: "flex",
			alignItems: "center",
			backgroundColor: n ? "var(--green-600)" : t ? "var(--gray-100)" : "var(--bg-color)",
			":active": {
				...e[":active"],
				backgroundColor: n ? "var(--green-600)" : t ? "var(--gray-100)" : "var(--bg-color)"
			}
		}),
		menu: e => ({
			...e,
			backgroundColor: "var(--elevated)",
			boxShadow: "var(--shadow)",
			border: "1px solid var(--gray-100)",
			marginTop: 2
		}),
		menuList: e => ({
			...e,
			padding: 0
		})
	};
class fnt extends h.PureComponent {
	constructor() {
		super(...arguments), this.state = {
			inputValue: ""
		}, this.isValidNewOption = (t, n, r) => t ? !r.find(i => i.value === t) : !1, this.handleChange = t => {
			this.props.onUpdateValues(t)
		}, this.handleInputChange = t => {
			this.setState({
				inputValue: t
			})
		}, this.handleKeyDown = t => {
			const {
				inputValue: n
			} = this.state;
			if (!n) {
				t.key === "Enter" && this.setState({
					inputValue: "↵"
				});
				return
			}
			switch (t.key) {
				case "Enter":
					this.setState({
						inputValue: n + "↵"
					});
					break;
				case "Tab":
					t.preventDefault(), this.setState({
						inputValue: ""
					}), this.props.onUpdateValues([...this.props.value || [], snt(n)]);
					break
			}
		}
	}
	render() {
		const {
			inputValue: t
		} = this.state;
		return C.jsx(ont, {
			isDisabled: this.props.disabled,
			components: ant,
			inputValue: t,
			isClearable: !0,
			isMulti: !0,
			isValidNewOption: this.isValidNewOption,
			onChange: this.handleChange,
			onInputChange: this.handleInputChange,
			onKeyDown: this.handleKeyDown,
			value: this.props.value,
			noOptionsMessage: unt,
			formatCreateLabel: lnt,
			placeholder: "",
			styles: cnt,
			theme: tY
		})
	}
}
const dnt = ["model", "temperature", "responseLength", "stopSequence", "topP", "frequencyPenalty", "presencePenalty", "bestOf", "startSequence", "restartSequence", "logProbs"],
	nQ = J.createContext(Lr.freeform),
	pnt = () => h.useContext(nQ);

function hnt(e) {
	return e.map(t => {
		const n = t.replace(/(\r\n|\n|\r)/gm, "↵");
		return {
			value: n,
			label: n
		}
	})
}

function Nut({
	children: e,
	className: t,
	completionMode: n,
	onChangeParameter: r,
	onChangeProbs: i,
	onChangeRestart: o,
	onChangeRestartEnabled: a,
	onChangeStart: s,
	onChangeStartEnabled: u,
	onChangeStop: l,
	model: c,
	responseLength: d,
	temperature: p,
	topP: g,
	frequencyPenalty: m,
	presencePenalty: _,
	bestOf: S,
	probsType: y,
	restartSequence: w,
	restartSequenceEnabled: b,
	startSequence: E,
	startSequenceEnabled: T,
	stopSequence: O
}) {
	const R = h.useMemo(() => hnt(O), [O]),
		k = h.useMemo(() => E ? E.replace(/(\r\n|\n|\r)/gm, "↵") : "", [E]),
		M = h.useMemo(() => w ? w.replace(/(\r\n|\n|\r)/gm, "↵") : "", [w]),
		D = h.useMemo(() => ({
			model: c,
			responseLength: d,
			temperature: p,
			topP: g,
			frequencyPenalty: m,
			presencePenalty: _,
			bestOf: S
		}), [S, c, m, _, d, p, g]),
		P = h.useMemo(() => dnt.map(U => {
			const {
				unsupportedParameters: H
			} = ig[n];
			if (H && H.includes(U)) return null;
			switch (U) {
				case "stopSequence":
					return C.jsx(vnt, {
						formattedStops: R,
						onChangeStop: l
					}, U);
				case "startSequence":
					return C.jsx(gnt, {
						startSequenceEnabled: T,
						startForRender: k,
						onChangeStart: s,
						onChangeStartEnabled: u
					}, U);
				case "restartSequence":
					return C.jsx(mnt, {
						restartSequenceEnabled: b,
						restartForRender: M,
						onChangeRestart: o,
						onChangeRestartEnabled: a
					}, U);
				case "logProbs":
					return i && C.jsx(ynt, {
						probsType: y,
						onChangeProbs: i,
						model: D.model
					}, U);
				case "model":
					return C.jsx(GQ, {
						onChange: r,
						value: D[U]
					}, U)
			}
			if (!Object.keys(WQ).includes(U)) return null;
			const G = U;
			return C.jsx(zQ, {
				id: G,
				currentEngine: D.model,
				value: D[G],
				onChange: r
			}, U)
		}).filter(Boolean), [n, R, r, i, o, a, s, u, l, D, y, M, b, k, T]);
	return C.jsx(nQ.Provider, {
		value: n,
		children: C.jsx("div", {
			className: Pe(t, "parameter-panel"),
			children: C.jsxs("div", {
				className: "parameter-panel-grid",
				children: [e, P]
			})
		})
	})
}

function vnt({
	formattedStops: e,
	onChangeStop: t,
	disabled: n
}) {
	const r = h.useCallback(i => {
		if (!i) {
			t([]);
			return
		}
		const o = i.map(a => a.value);
		t(o)
	}, [t]);
	return C.jsx("div", {
		className: "stop-sequence-container",
		children: C.jsx(Kh, {
			content: "Up to four sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.",
			children: C.jsxs("div", {
				children: [C.jsxs("div", {
					className: "body-small control-label",
					children: [C.jsx("div", {
						children: "Stop sequences"
					}), C.jsx("div", {
						className: "control-note",
						children: "Enter sequence and press Tab"
					})]
				}), C.jsx(fnt, {
					disabled: n,
					onUpdateValues: r,
					value: e
				})]
			})
		})
	})
}

function gnt({
	startSequenceEnabled: e,
	startForRender: t,
	onChangeStart: n,
	onChangeStartEnabled: r
}) {
	return C.jsx(Kh, {
		content: "Text to append after the user's input to format the model for a response.",
		children: C.jsxs("div", {
			children: [C.jsx("div", {
				className: "body-small control-label",
				children: "Inject start text"
			}), C.jsxs("div", {
				className: "inject-text-ta-wrap",
				children: [C.jsx("textarea", {
					rows: 1,
					className: Pe("inject-text-ta", !e && "off"),
					value: t,
					onChange: n
				}), C.jsx(mg, {
					className: "inject-text-cb",
					checked: e,
					onChange: r
				})]
			})]
		})
	}, "start")
}

function mnt({
	restartSequenceEnabled: e,
	restartForRender: t,
	onChangeRestart: n,
	onChangeRestartEnabled: r
}) {
	return C.jsx(Kh, {
		content: "Text to append after the model's generation to continue the patterned structure.",
		children: C.jsxs("div", {
			children: [C.jsx("div", {
				className: "body-small control-label",
				children: "Inject restart text"
			}), C.jsxs("div", {
				className: "inject-text-ta-wrap",
				children: [C.jsx("textarea", {
					rows: 1,
					className: Pe("inject-text-ta", !e && "off"),
					value: t,
					onChange: n
				}), C.jsx(mg, {
					className: "inject-text-cb",
					checked: e,
					onChange: r
				})]
			})]
		})
	}, "restart")
}

function ynt({
	probsType: e,
	onChangeProbs: t,
	model: n
}) {
	const r = !!(n && uT(n.value));
	return C.jsx(Kh, {
		interactive: !0,
		onMouseLeaveDelay: 200,
		content: r ? C.jsxs(C.Fragment, {
			children: ["This Playground setting is currently unavailable when using the Codex models, but you can still", " ", C.jsx("a", {
				href: "/docs/api-reference/completions/create#completions/create-logprobs",
				target: "_blank",
				rel: "noopener noreferrer",
				children: "access logprobs in the API."
			})]
		}) : "Toggle token highlighting which indicates how likely a token was to be generated. Helps to debug a given generation, or see alternative options for a token.",
		children: C.jsxs("div", {
			children: [C.jsx("div", {
				className: Pe("body-small control-label", r && "control-disabled"),
				children: "Show probabilities"
			}), C.jsx(tnt, {
				value: r ? null : e,
				onChange: t,
				disabled: r
			})]
		})
	}, "logProbs")
}
var xF = {};

function wnt(e, t) {}

function _nt(e, t, n) {
	!t && !xF[n] && (xF[n] = !0)
}

function m_(e, t) {
	_nt(wnt, e, t)
}
var rQ = function(t) {
	var n, r, i = t.className,
		o = t.included,
		a = t.vertical,
		s = t.style,
		u = t.length,
		l = t.offset,
		c = t.reverse;
	u < 0 && (c = !c, u = Math.abs(u), l = 100 - l);
	var d = a ? (n = {}, De(n, c ? "top" : "bottom", "".concat(l, "%")), De(n, c ? "bottom" : "top", "auto"), De(n, "height", "".concat(u, "%")), n) : (r = {}, De(r, c ? "right" : "left", "".concat(l, "%")), De(r, c ? "left" : "right", "auto"), De(r, "width", "".concat(u, "%")), r),
		p = ce(ce({}, s), d);
	return o ? J.createElement("div", {
		className: i,
		style: p
	}) : null
};

function bnt(e, t) {
	for (; !{}.hasOwnProperty.call(e, t) && (e = Ps(e)) !== null;);
	return e
}

function Sv() {
	return Sv = typeof Reflect < "u" && Reflect.get ? Reflect.get.bind() : function(e, t, n) {
		var r = bnt(e, t);
		if (r) {
			var i = Object.getOwnPropertyDescriptor(r, t);
			return i.get ? i.get.call(arguments.length < 3 ? e : n) : i.value
		}
	}, Sv.apply(null, arguments)
}

function Fa(e, t, n, r) {
	var i = hl.unstable_batchedUpdates ? function(a) {
		hl.unstable_batchedUpdates(n, a)
	} : n;
	return e.addEventListener && e.addEventListener(t, i, r), {
		remove: function() {
			e.removeEventListener && e.removeEventListener(t, i)
		}
	}
}
var iQ = {
	exports: {}
};
/*!
  Copyright (c) 2018 Jed Watson.
  Licensed under the MIT License (MIT), see
  http://jedwatson.github.io/classnames
*/
(function(e) {
	(function() {
		var t = {}.hasOwnProperty;

		function n() {
			for (var r = [], i = 0; i < arguments.length; i++) {
				var o = arguments[i];
				if (o) {
					var a = typeof o;
					if (a === "string" || a === "number") r.push(o);
					else if (Array.isArray(o)) {
						if (o.length) {
							var s = n.apply(null, o);
							s && r.push(s)
						}
					} else if (a === "object")
						if (o.toString === Object.prototype.toString)
							for (var u in o) t.call(o, u) && o[u] && r.push(u);
						else r.push(o.toString())
				}
			}
			return r.join(" ")
		}
		e.exports ? (n.default = n, e.exports = n) : window.classNames = n
	})()
})(iQ);
var Snt = iQ.exports;
const ca = Et(Snt);
var xnt = function(t, n, r, i, o, a) {
		m_(r ? i > 0 : !0, "`Slider[step]` should be a positive number in order to make Slider[dots] work.");
		var s = Object.keys(n).map(parseFloat).sort(function(l, c) {
			return l - c
		});
		if (r && i)
			for (var u = o; u <= a; u += i) s.indexOf(u) === -1 && s.push(u);
		return s
	},
	Ent = function(t) {
		var n = t.prefixCls,
			r = t.vertical,
			i = t.reverse,
			o = t.marks,
			a = t.dots,
			s = t.step,
			u = t.included,
			l = t.lowerBound,
			c = t.upperBound,
			d = t.max,
			p = t.min,
			g = t.dotStyle,
			m = t.activeDotStyle,
			_ = d - p,
			S = xnt(r, o, a, s, p, d).map(function(y) {
				var w, b = "".concat(Math.abs(y - p) / _ * 100, "%"),
					E = !u && y === c || u && y <= c && y >= l,
					T = r ? ce(ce({}, g), {}, De({}, i ? "top" : "bottom", b)) : ce(ce({}, g), {}, De({}, i ? "right" : "left", b));
				E && (T = ce(ce({}, T), m));
				var O = ca((w = {}, De(w, "".concat(n, "-dot"), !0), De(w, "".concat(n, "-dot-active"), E), De(w, "".concat(n, "-dot-reverse"), i), w));
				return J.createElement("span", {
					className: O,
					style: T,
					key: y
				})
			});
		return J.createElement("div", {
			className: "".concat(n, "-step")
		}, S)
	},
	Cnt = function(t) {
		var n = t.className,
			r = t.vertical,
			i = t.reverse,
			o = t.marks,
			a = t.included,
			s = t.upperBound,
			u = t.lowerBound,
			l = t.max,
			c = t.min,
			d = t.onClickLabel,
			p = Object.keys(o),
			g = l - c,
			m = p.map(parseFloat).sort(function(_, S) {
				return _ - S
			}).map(function(_) {
				var S, y = o[_],
					w = Oi(y) === "object" && !J.isValidElement(y),
					b = w ? y.label : y;
				if (!b && b !== 0) return null;
				var E = !a && _ === s || a && _ <= s && _ >= u,
					T = ca((S = {}, De(S, "".concat(n, "-text"), !0), De(S, "".concat(n, "-text-active"), E), S)),
					O = De({
						marginBottom: "-50%"
					}, i ? "top" : "bottom", "".concat((_ - c) / g * 100, "%")),
					R = De({
						transform: "translateX(".concat(i ? "50%" : "-50%", ")"),
						msTransform: "translateX(".concat(i ? "50%" : "-50%", ")")
					}, i ? "right" : "left", "".concat((_ - c) / g * 100, "%")),
					k = r ? O : R,
					M = w ? ce(ce({}, k), y.style) : k;
				return J.createElement("span", {
					className: T,
					style: M,
					key: _,
					onMouseDown: function(P) {
						return d(P, _)
					},
					onTouchStart: function(P) {
						return d(P, _)
					}
				}, b)
			});
		return J.createElement("div", {
			className: n
		}, m)
	},
	I9 = function(e) {
		tu(n, e);
		var t = jl(n);

		function n() {
			var r;
			return Qs(this, n), r = t.apply(this, arguments), r.state = {
				clickFocused: !1
			}, r.setHandleRef = function(i) {
				r.handle = i
			}, r.handleMouseUp = function() {
				document.activeElement === r.handle && r.setClickFocus(!0)
			}, r.handleMouseDown = function(i) {
				i.preventDefault(), r.focus()
			}, r.handleBlur = function() {
				r.setClickFocus(!1)
			}, r.handleKeyDown = function() {
				r.setClickFocus(!1)
			}, r
		}
		return eu(n, [{
			key: "componentDidMount",
			value: function() {
				this.onMouseUpListener = Fa(document, "mouseup", this.handleMouseUp)
			}
		}, {
			key: "componentWillUnmount",
			value: function() {
				this.onMouseUpListener && this.onMouseUpListener.remove()
			}
		}, {
			key: "setClickFocus",
			value: function(i) {
				this.setState({
					clickFocused: i
				})
			}
		}, {
			key: "clickFocus",
			value: function() {
				this.setClickFocus(!0), this.focus()
			}
		}, {
			key: "focus",
			value: function() {
				this.handle.focus()
			}
		}, {
			key: "blur",
			value: function() {
				this.handle.blur()
			}
		}, {
			key: "render",
			value: function() {
				var i, o, a = this.props,
					s = a.prefixCls,
					u = a.vertical,
					l = a.reverse,
					c = a.offset,
					d = a.style,
					p = a.disabled,
					g = a.min,
					m = a.max,
					_ = a.value,
					S = a.tabIndex,
					y = a.ariaLabel,
					w = a.ariaLabelledBy,
					b = a.ariaValueTextFormatter,
					E = or(a, ["prefixCls", "vertical", "reverse", "offset", "style", "disabled", "min", "max", "value", "tabIndex", "ariaLabel", "ariaLabelledBy", "ariaValueTextFormatter"]),
					T = ca(this.props.className, De({}, "".concat(s, "-handle-click-focused"), this.state.clickFocused)),
					O = u ? (i = {}, De(i, l ? "top" : "bottom", "".concat(c, "%")), De(i, l ? "bottom" : "top", "auto"), De(i, "transform", l ? null : "translateY(+50%)"), i) : (o = {}, De(o, l ? "right" : "left", "".concat(c, "%")), De(o, l ? "left" : "right", "auto"), De(o, "transform", "translateX(".concat(l ? "+" : "-", "50%)")), o),
					R = ce(ce({}, d), O),
					k = S || 0;
				(p || S === null) && (k = null);
				var M;
				return b && (M = b(_)), J.createElement("div", ge({
					ref: this.setHandleRef,
					tabIndex: k
				}, E, {
					className: T,
					style: R,
					onBlur: this.handleBlur,
					onKeyDown: this.handleKeyDown,
					onMouseDown: this.handleMouseDown,
					role: "slider",
					"aria-valuemin": g,
					"aria-valuemax": m,
					"aria-valuenow": _,
					"aria-disabled": !!p,
					"aria-label": y,
					"aria-labelledby": w,
					"aria-valuetext": M
				}))
			}
		}]), n
	}(J.Component),
	Ie = {
		MAC_ENTER: 3,
		BACKSPACE: 8,
		TAB: 9,
		NUM_CENTER: 12,
		ENTER: 13,
		SHIFT: 16,
		CTRL: 17,
		ALT: 18,
		PAUSE: 19,
		CAPS_LOCK: 20,
		ESC: 27,
		SPACE: 32,
		PAGE_UP: 33,
		PAGE_DOWN: 34,
		END: 35,
		HOME: 36,
		LEFT: 37,
		UP: 38,
		RIGHT: 39,
		DOWN: 40,
		PRINT_SCREEN: 44,
		INSERT: 45,
		DELETE: 46,
		ZERO: 48,
		ONE: 49,
		TWO: 50,
		THREE: 51,
		FOUR: 52,
		FIVE: 53,
		SIX: 54,
		SEVEN: 55,
		EIGHT: 56,
		NINE: 57,
		QUESTION_MARK: 63,
		A: 65,
		B: 66,
		C: 67,
		D: 68,
		E: 69,
		F: 70,
		G: 71,
		H: 72,
		I: 73,
		J: 74,
		K: 75,
		L: 76,
		M: 77,
		N: 78,
		O: 79,
		P: 80,
		Q: 81,
		R: 82,
		S: 83,
		T: 84,
		U: 85,
		V: 86,
		W: 87,
		X: 88,
		Y: 89,
		Z: 90,
		META: 91,
		WIN_KEY_RIGHT: 92,
		CONTEXT_MENU: 93,
		NUM_ZERO: 96,
		NUM_ONE: 97,
		NUM_TWO: 98,
		NUM_THREE: 99,
		NUM_FOUR: 100,
		NUM_FIVE: 101,
		NUM_SIX: 102,
		NUM_SEVEN: 103,
		NUM_EIGHT: 104,
		NUM_NINE: 105,
		NUM_MULTIPLY: 106,
		NUM_PLUS: 107,
		NUM_MINUS: 109,
		NUM_PERIOD: 110,
		NUM_DIVISION: 111,
		F1: 112,
		F2: 113,
		F3: 114,
		F4: 115,
		F5: 116,
		F6: 117,
		F7: 118,
		F8: 119,
		F9: 120,
		F10: 121,
		F11: 122,
		F12: 123,
		NUMLOCK: 144,
		SEMICOLON: 186,
		DASH: 189,
		EQUALS: 187,
		COMMA: 188,
		PERIOD: 190,
		SLASH: 191,
		APOSTROPHE: 192,
		SINGLE_QUOTE: 222,
		OPEN_SQUARE_BRACKET: 219,
		BACKSLASH: 220,
		CLOSE_SQUARE_BRACKET: 221,
		WIN_KEY: 224,
		MAC_FF_META: 224,
		WIN_IME: 229,
		isTextModifyingKeyEvent: function(t) {
			var n = t.keyCode;
			if (t.altKey && !t.ctrlKey || t.metaKey || n >= Ie.F1 && n <= Ie.F12) return !1;
			switch (n) {
				case Ie.ALT:
				case Ie.CAPS_LOCK:
				case Ie.CONTEXT_MENU:
				case Ie.CTRL:
				case Ie.DOWN:
				case Ie.END:
				case Ie.ESC:
				case Ie.HOME:
				case Ie.INSERT:
				case Ie.LEFT:
				case Ie.MAC_FF_META:
				case Ie.META:
				case Ie.NUMLOCK:
				case Ie.NUM_CENTER:
				case Ie.PAGE_DOWN:
				case Ie.PAGE_UP:
				case Ie.PAUSE:
				case Ie.PRINT_SCREEN:
				case Ie.RIGHT:
				case Ie.SHIFT:
				case Ie.UP:
				case Ie.WIN_KEY:
				case Ie.WIN_KEY_RIGHT:
					return !1;
				default:
					return !0
			}
		},
		isCharacterKey: function(t) {
			if (t >= Ie.ZERO && t <= Ie.NINE || t >= Ie.NUM_ZERO && t <= Ie.NUM_MULTIPLY || t >= Ie.A && t <= Ie.Z || window.navigator.userAgent.indexOf("WebKit") !== -1 && t === 0) return !0;
			switch (t) {
				case Ie.SPACE:
				case Ie.QUESTION_MARK:
				case Ie.NUM_PLUS:
				case Ie.NUM_MINUS:
				case Ie.NUM_PERIOD:
				case Ie.NUM_DIVISION:
				case Ie.SEMICOLON:
				case Ie.DASH:
				case Ie.EQUALS:
				case Ie.COMMA:
				case Ie.PERIOD:
				case Ie.SLASH:
				case Ie.APOSTROPHE:
				case Ie.SINGLE_QUOTE:
				case Ie.OPEN_SQUARE_BRACKET:
				case Ie.BACKSLASH:
				case Ie.CLOSE_SQUARE_BRACKET:
					return !0;
				default:
					return !1
			}
		}
	};

function fE(e, t) {
	try {
		return Object.keys(t).some(function(n) {
			return e.target === Qa.findDOMNode(t[n])
		})
	} catch (n) {
		return !1
	}
}

function oQ(e, t) {
	var n = t.min,
		r = t.max;
	return e < n || e > r
}

function EF(e) {
	return e.touches.length > 1 || e.type.toLowerCase() === "touchend" && e.touches.length > 0
}

function CF(e, t) {
	var n = t.marks,
		r = t.step,
		i = t.min,
		o = t.max,
		a = Object.keys(n).map(parseFloat);
	if (r !== null) {
		var s = Math.pow(10, aQ(r)),
			u = Math.floor((o * s - i * s) / (r * s)),
			l = Math.min((e - i) / r, u),
			c = Math.round(l) * r + i;
		a.push(c)
	}
	var d = a.map(function(p) {
		return Math.abs(e - p)
	});
	return a[d.indexOf(Math.min.apply(Math, vi(d)))]
}

function aQ(e) {
	var t = e.toString(),
		n = 0;
	return t.indexOf(".") >= 0 && (n = t.length - t.indexOf(".") - 1), n
}

function OF(e, t) {
	return e ? t.clientY : t.pageX
}

function TF(e, t) {
	return e ? t.touches[0].clientY : t.touches[0].pageX
}

function RF(e, t) {
	var n = t.getBoundingClientRect();
	return e ? n.top + n.height * .5 : window.pageXOffset + n.left + n.width * .5
}

function k9(e, t) {
	var n = t.max,
		r = t.min;
	return e <= r ? r : e >= n ? n : e
}

function sQ(e, t) {
	var n = t.step,
		r = isFinite(CF(e, t)) ? CF(e, t) : 0;
	return n === null ? r : parseFloat(r.toFixed(aQ(n)))
}

function ih(e) {
	e.stopPropagation(), e.preventDefault()
}

function Ont(e, t, n) {
	var r = {
			increase: function(s, u) {
				return s + u
			},
			decrease: function(s, u) {
				return s - u
			}
		},
		i = r[e](Object.keys(n.marks).indexOf(JSON.stringify(t)), 1),
		o = Object.keys(n.marks)[i];
	return n.step ? r[e](t, n.step) : Object.keys(n.marks).length && n.marks[o] ? n.marks[o] : t
}

function uQ(e, t, n) {
	var r = "increase",
		i = "decrease",
		o = r;
	switch (e.keyCode) {
		case Ie.UP:
			o = t && n ? i : r;
			break;
		case Ie.RIGHT:
			o = !t && n ? i : r;
			break;
		case Ie.DOWN:
			o = t && n ? r : i;
			break;
		case Ie.LEFT:
			o = !t && n ? r : i;
			break;
		case Ie.END:
			return function(a, s) {
				return s.max
			};
		case Ie.HOME:
			return function(a, s) {
				return s.min
			};
		case Ie.PAGE_UP:
			return function(a, s) {
				return a + s.step * 2
			};
		case Ie.PAGE_DOWN:
			return function(a, s) {
				return a - s.step * 2
			};
		default:
			return
	}
	return function(a, s) {
		return Ont(o, a, s)
	}
}

function Ea() {}

function lQ(e) {
	var t;
	return t = function(n) {
		tu(i, n);
		var r = jl(i);

		function i(o) {
			var a;
			Qs(this, i), a = r.call(this, o), a.onDown = function(d, p) {
				var g = p,
					m = a.props,
					_ = m.draggableTrack,
					S = m.vertical,
					y = a.state.bounds,
					w = _ && a.positionGetValue ? a.positionGetValue(g) || [] : [],
					b = fE(d, a.handlesRefs);
				if (a.dragTrack = _ && y.length >= 2 && !b && !w.map(function(T, O) {
						var R = O ? !0 : T >= y[O];
						return O === w.length - 1 ? T <= y[O] : R
					}).some(function(T) {
						return !T
					}), a.dragTrack) a.dragOffset = g, a.startBounds = vi(y);
				else {
					if (!b) a.dragOffset = 0;
					else {
						var E = RF(S, d.target);
						a.dragOffset = g - E, g = E
					}
					a.onStart(g)
				}
			}, a.onMouseDown = function(d) {
				if (d.button === 0) {
					a.removeDocumentEvents();
					var p = a.props.vertical,
						g = OF(p, d);
					a.onDown(d, g), a.addDocumentMouseEvents()
				}
			}, a.onTouchStart = function(d) {
				if (!EF(d)) {
					var p = a.props.vertical,
						g = TF(p, d);
					a.onDown(d, g), a.addDocumentTouchEvents(), ih(d)
				}
			}, a.onFocus = function(d) {
				var p = a.props,
					g = p.onFocus,
					m = p.vertical;
				if (fE(d, a.handlesRefs) && !a.dragTrack) {
					var _ = RF(m, d.target);
					a.dragOffset = 0, a.onStart(_), ih(d), g && g(d)
				}
			}, a.onBlur = function(d) {
				var p = a.props.onBlur;
				a.dragTrack || a.onEnd(), p && p(d)
			}, a.onMouseUp = function() {
				a.handlesRefs[a.prevMovedHandleIndex] && a.handlesRefs[a.prevMovedHandleIndex].clickFocus()
			}, a.onMouseMove = function(d) {
				if (!a.sliderRef) {
					a.onEnd();
					return
				}
				var p = OF(a.props.vertical, d);
				a.onMove(d, p - a.dragOffset, a.dragTrack, a.startBounds)
			}, a.onTouchMove = function(d) {
				if (EF(d) || !a.sliderRef) {
					a.onEnd();
					return
				}
				var p = TF(a.props.vertical, d);
				a.onMove(d, p - a.dragOffset, a.dragTrack, a.startBounds)
			}, a.onKeyDown = function(d) {
				a.sliderRef && fE(d, a.handlesRefs) && a.onKeyboard(d)
			}, a.onClickMarkLabel = function(d, p) {
				d.stopPropagation(), a.onChange({
					value: p
				}), a.setState({
					value: p
				}, function() {
					return a.onEnd(!0)
				})
			}, a.saveSlider = function(d) {
				a.sliderRef = d
			};
			var s = o.step,
				u = o.max,
				l = o.min,
				c = isFinite(u - l) ? (u - l) % s === 0 : !0;
			return m_(s && Math.floor(s) === s ? c : !0, "Slider[max] - Slider[min] (".concat(u - l, ") should be a multiple of Slider[step] (").concat(s, ")")), a.handlesRefs = {}, a
		}
		return eu(i, [{
			key: "componentDidMount",
			value: function() {
				this.document = this.sliderRef && this.sliderRef.ownerDocument;
				var a = this.props,
					s = a.autoFocus,
					u = a.disabled;
				s && !u && this.focus()
			}
		}, {
			key: "componentWillUnmount",
			value: function() {
				Sv(Ps(i.prototype), "componentWillUnmount", this) && Sv(Ps(i.prototype), "componentWillUnmount", this).call(this), this.removeDocumentEvents()
			}
		}, {
			key: "getSliderStart",
			value: function() {
				var a = this.sliderRef,
					s = this.props,
					u = s.vertical,
					l = s.reverse,
					c = a.getBoundingClientRect();
				return u ? l ? c.bottom : c.top : window.pageXOffset + (l ? c.right : c.left)
			}
		}, {
			key: "getSliderLength",
			value: function() {
				var a = this.sliderRef;
				if (!a) return 0;
				var s = a.getBoundingClientRect();
				return this.props.vertical ? s.height : s.width
			}
		}, {
			key: "addDocumentTouchEvents",
			value: function() {
				this.onTouchMoveListener = Fa(this.document, "touchmove", this.onTouchMove), this.onTouchUpListener = Fa(this.document, "touchend", this.onEnd)
			}
		}, {
			key: "addDocumentMouseEvents",
			value: function() {
				this.onMouseMoveListener = Fa(this.document, "mousemove", this.onMouseMove), this.onMouseUpListener = Fa(this.document, "mouseup", this.onEnd)
			}
		}, {
			key: "removeDocumentEvents",
			value: function() {
				this.onTouchMoveListener && this.onTouchMoveListener.remove(), this.onTouchUpListener && this.onTouchUpListener.remove(), this.onMouseMoveListener && this.onMouseMoveListener.remove(), this.onMouseUpListener && this.onMouseUpListener.remove()
			}
		}, {
			key: "focus",
			value: function() {
				var a;
				this.props.disabled || (a = this.handlesRefs[0]) === null || a === void 0 || a.focus()
			}
		}, {
			key: "blur",
			value: function() {
				var a = this;
				this.props.disabled || Object.keys(this.handlesRefs).forEach(function(s) {
					var u, l;
					(u = a.handlesRefs[s]) === null || u === void 0 || (l = u.blur) === null || l === void 0 || l.call(u)
				})
			}
		}, {
			key: "calcValue",
			value: function(a) {
				var s = this.props,
					u = s.vertical,
					l = s.min,
					c = s.max,
					d = Math.abs(Math.max(a, 0) / this.getSliderLength()),
					p = u ? (1 - d) * (c - l) + l : d * (c - l) + l;
				return p
			}
		}, {
			key: "calcValueByPos",
			value: function(a) {
				var s = this.props.reverse ? -1 : 1,
					u = s * (a - this.getSliderStart()),
					l = this.trimAlignValue(this.calcValue(u));
				return l
			}
		}, {
			key: "calcOffset",
			value: function(a) {
				var s = this.props,
					u = s.min,
					l = s.max,
					c = (a - u) / (l - u);
				return Math.max(0, c * 100)
			}
		}, {
			key: "saveHandle",
			value: function(a, s) {
				this.handlesRefs[a] = s
			}
		}, {
			key: "render",
			value: function() {
				var a, s = this.props,
					u = s.prefixCls,
					l = s.className,
					c = s.marks,
					d = s.dots,
					p = s.step,
					g = s.included,
					m = s.disabled,
					_ = s.vertical,
					S = s.reverse,
					y = s.min,
					w = s.max,
					b = s.children,
					E = s.maximumTrackStyle,
					T = s.style,
					O = s.railStyle,
					R = s.dotStyle,
					k = s.activeDotStyle,
					M = Sv(Ps(i.prototype), "render", this).call(this),
					D = M.tracks,
					P = M.handles,
					U = ca(u, (a = {}, De(a, "".concat(u, "-with-marks"), Object.keys(c).length), De(a, "".concat(u, "-disabled"), m), De(a, "".concat(u, "-vertical"), _), De(a, l, l), a));
				return J.createElement("div", {
					ref: this.saveSlider,
					className: U,
					onTouchStart: m ? Ea : this.onTouchStart,
					onMouseDown: m ? Ea : this.onMouseDown,
					onMouseUp: m ? Ea : this.onMouseUp,
					onKeyDown: m ? Ea : this.onKeyDown,
					onFocus: m ? Ea : this.onFocus,
					onBlur: m ? Ea : this.onBlur,
					style: T
				}, J.createElement("div", {
					className: "".concat(u, "-rail"),
					style: ce(ce({}, E), O)
				}), D, J.createElement(Ent, {
					prefixCls: u,
					vertical: _,
					reverse: S,
					marks: c,
					dots: d,
					step: p,
					included: g,
					lowerBound: this.getLowerBound(),
					upperBound: this.getUpperBound(),
					max: w,
					min: y,
					dotStyle: R,
					activeDotStyle: k
				}), P, J.createElement(Cnt, {
					className: "".concat(u, "-mark"),
					onClickLabel: m ? Ea : this.onClickMarkLabel,
					vertical: _,
					marks: c,
					included: g,
					lowerBound: this.getLowerBound(),
					upperBound: this.getUpperBound(),
					max: w,
					min: y,
					reverse: S
				}), b)
			}
		}]), i
	}(e), t.displayName = "ComponentEnhancer(".concat(e.displayName, ")"), t.defaultProps = ce(ce({}, e.defaultProps), {}, {
		prefixCls: "rc-slider",
		className: "",
		min: 0,
		max: 100,
		step: 1,
		marks: {},
		handle: function(r) {
			var i = r.index,
				o = or(r, ["index"]);
			return delete o.dragging, o.value === null ? null : J.createElement(I9, ge({}, o, {
				key: i
			}))
		},
		onBeforeChange: Ea,
		onChange: Ea,
		onAfterChange: Ea,
		included: !0,
		disabled: !1,
		dots: !1,
		vertical: !1,
		reverse: !1,
		trackStyle: [{}],
		handleStyle: [{}],
		railStyle: {},
		dotStyle: {},
		activeDotStyle: {}
	}), t
}
var Tnt = function(e) {
	tu(n, e);
	var t = jl(n);

	function n(r) {
		var i;
		Qs(this, n), i = t.call(this, r), i.positionGetValue = function(s) {
			return []
		}, i.onEnd = function(s) {
			var u = i.state.dragging;
			i.removeDocumentEvents(), (u || s) && i.props.onAfterChange(i.getValue()), i.setState({
				dragging: !1
			})
		};
		var o = r.defaultValue !== void 0 ? r.defaultValue : r.min,
			a = r.value !== void 0 ? r.value : o;
		return i.state = {
			value: i.trimAlignValue(a),
			dragging: !1
		}, m_(!("minimumTrackStyle" in r), "minimumTrackStyle will be deprecated, please use trackStyle instead."), m_(!("maximumTrackStyle" in r), "maximumTrackStyle will be deprecated, please use railStyle instead."), i
	}
	return eu(n, [{
		key: "calcValueByPos",
		value: function(i) {
			return 0
		}
	}, {
		key: "calcOffset",
		value: function(i) {
			return 0
		}
	}, {
		key: "saveHandle",
		value: function(i, o) {}
	}, {
		key: "removeDocumentEvents",
		value: function() {}
	}, {
		key: "componentDidUpdate",
		value: function(i, o) {
			var a = this.props,
				s = a.min,
				u = a.max,
				l = a.value,
				c = a.onChange;
			if ("min" in this.props || "max" in this.props) {
				var d = l !== void 0 ? l : o.value,
					p = this.trimAlignValue(d, this.props);
				p !== o.value && (this.setState({
					value: p
				}), !(s === i.min && u === i.max) && oQ(d, this.props) && c(p))
			}
		}
	}, {
		key: "onChange",
		value: function(i) {
			var o = this.props,
				a = !("value" in o),
				s = i.value > this.props.max ? ce(ce({}, i), {}, {
					value: this.props.max
				}) : i;
			a && this.setState(s);
			var u = s.value;
			o.onChange(u)
		}
	}, {
		key: "onStart",
		value: function(i) {
			this.setState({
				dragging: !0
			});
			var o = this.props,
				a = this.getValue();
			o.onBeforeChange(a);
			var s = this.calcValueByPos(i);
			this.startValue = s, this.startPosition = i, s !== a && (this.prevMovedHandleIndex = 0, this.onChange({
				value: s
			}))
		}
	}, {
		key: "onMove",
		value: function(i, o) {
			ih(i);
			var a = this.state.value,
				s = this.calcValueByPos(o);
			s !== a && this.onChange({
				value: s
			})
		}
	}, {
		key: "onKeyboard",
		value: function(i) {
			var o = this.props,
				a = o.reverse,
				s = o.vertical,
				u = uQ(i, s, a);
			if (u) {
				ih(i);
				var l = this.state,
					c = l.value,
					d = u(c, this.props),
					p = this.trimAlignValue(d);
				if (p === c) return;
				this.onChange({
					value: p
				}), this.props.onAfterChange(p), this.onEnd()
			}
		}
	}, {
		key: "getValue",
		value: function() {
			return this.state.value
		}
	}, {
		key: "getLowerBound",
		value: function() {
			var i = this.props.startPoint || this.props.min;
			return this.state.value > i ? i : this.state.value
		}
	}, {
		key: "getUpperBound",
		value: function() {
			return this.state.value < this.props.startPoint ? this.props.startPoint : this.state.value
		}
	}, {
		key: "trimAlignValue",
		value: function(i) {
			var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
			if (i === null) return null;
			var a = ce(ce({}, this.props), o),
				s = k9(i, a);
			return sQ(s, a)
		}
	}, {
		key: "render",
		value: function() {
			var i = this,
				o = this.props,
				a = o.prefixCls,
				s = o.vertical,
				u = o.included,
				l = o.disabled,
				c = o.minimumTrackStyle,
				d = o.trackStyle,
				p = o.handleStyle,
				g = o.tabIndex,
				m = o.ariaLabelForHandle,
				_ = o.ariaLabelledByForHandle,
				S = o.ariaValueTextFormatterForHandle,
				y = o.min,
				w = o.max,
				b = o.startPoint,
				E = o.reverse,
				T = o.handle,
				O = this.state,
				R = O.value,
				k = O.dragging,
				M = this.calcOffset(R),
				D = T({
					className: "".concat(a, "-handle"),
					prefixCls: a,
					vertical: s,
					offset: M,
					value: R,
					dragging: k,
					disabled: l,
					min: y,
					max: w,
					reverse: E,
					index: 0,
					tabIndex: g,
					ariaLabel: m,
					ariaLabelledBy: _,
					ariaValueTextFormatter: S,
					style: p[0] || p,
					ref: function(K) {
						return i.saveHandle(0, K)
					}
				}),
				P = b !== void 0 ? this.calcOffset(b) : 0,
				U = d[0] || d,
				H = J.createElement(rQ, {
					className: "".concat(a, "-track"),
					vertical: s,
					included: u,
					offset: P,
					reverse: E,
					length: M - P,
					style: ce(ce({}, c), U)
				});
			return {
				tracks: H,
				handles: D
			}
		}
	}]), n
}(J.Component);
const Rnt = lQ(Tnt);
var j0 = function(t) {
		var n = t.value,
			r = t.handle,
			i = t.bounds,
			o = t.props,
			a = o.allowCross,
			s = o.pushable,
			u = Number(s),
			l = k9(n, o),
			c = l;
		return !a && r != null && i !== void 0 && (r > 0 && l <= i[r - 1] + u && (c = i[r - 1] + u), r < i.length - 1 && l >= i[r + 1] - u && (c = i[r + 1] - u)), sQ(c, o)
	},
	A9 = function(e) {
		tu(n, e);
		var t = jl(n);

		function n(r) {
			var i;
			Qs(this, n), i = t.call(this, r), i.positionGetValue = function(g) {
				var m = i.getValue(),
					_ = i.calcValueByPos(g),
					S = i.getClosestBound(_),
					y = i.getBoundNeedMoving(_, S),
					w = m[y];
				if (_ === w) return null;
				var b = vi(m);
				return b[y] = _, b
			}, i.onEnd = function(g) {
				var m = i.state.handle;
				i.removeDocumentEvents(), m || (i.dragTrack = !1), (m !== null || g) && i.props.onAfterChange(i.getValue()), i.setState({
					handle: null
				})
			};
			var o = r.count,
				a = r.min,
				s = r.max,
				u = Array.apply(void 0, vi(Array(o + 1))).map(function() {
					return a
				}),
				l = "defaultValue" in r ? r.defaultValue : u,
				c = r.value !== void 0 ? r.value : l,
				d = c.map(function(g, m) {
					return j0({
						value: g,
						handle: m,
						props: r
					})
				}),
				p = d[0] === s ? 0 : d.length - 1;
			return i.state = {
				handle: null,
				recent: p,
				bounds: d
			}, i
		}
		return eu(n, [{
			key: "calcValueByPos",
			value: function(i) {
				return 0
			}
		}, {
			key: "getSliderLength",
			value: function() {
				return 0
			}
		}, {
			key: "calcOffset",
			value: function(i) {
				return 0
			}
		}, {
			key: "saveHandle",
			value: function(i, o) {}
		}, {
			key: "removeDocumentEvents",
			value: function() {}
		}, {
			key: "componentDidUpdate",
			value: function(i, o) {
				var a = this,
					s = this.props,
					u = s.onChange,
					l = s.value,
					c = s.min,
					d = s.max;
				if (("min" in this.props || "max" in this.props) && !(c === i.min && d === i.max)) {
					var p = l || o.bounds;
					if (p.some(function(m) {
							return oQ(m, a.props)
						})) {
						var g = p.map(function(m) {
							return k9(m, a.props)
						});
						u(g)
					}
				}
			}
		}, {
			key: "onChange",
			value: function(i) {
				var o = this.props,
					a = !("value" in o);
				if (a) this.setState(i);
				else {
					var s = {};
					["handle", "recent"].forEach(function(c) {
						i[c] !== void 0 && (s[c] = i[c])
					}), Object.keys(s).length && this.setState(s)
				}
				var u = ce(ce({}, this.state), i),
					l = u.bounds;
				o.onChange(l)
			}
		}, {
			key: "onStart",
			value: function(i) {
				var o = this.props,
					a = this.state,
					s = this.getValue();
				o.onBeforeChange(s);
				var u = this.calcValueByPos(i);
				this.startValue = u, this.startPosition = i;
				var l = this.getClosestBound(u);
				this.prevMovedHandleIndex = this.getBoundNeedMoving(u, l), this.setState({
					handle: this.prevMovedHandleIndex,
					recent: this.prevMovedHandleIndex
				});
				var c = s[this.prevMovedHandleIndex];
				if (u !== c) {
					var d = vi(a.bounds);
					d[this.prevMovedHandleIndex] = u, this.onChange({
						bounds: d
					})
				}
			}
		}, {
			key: "onMove",
			value: function(i, o, a, s) {
				ih(i);
				var u = this.state,
					l = this.props,
					c = l.max || 100,
					d = l.min || 0;
				if (a) {
					var p = l.vertical ? -o : o;
					p = l.reverse ? -p : p;
					var g = c - Math.max.apply(Math, vi(s)),
						m = d - Math.min.apply(Math, vi(s)),
						_ = Math.min(Math.max(p / (this.getSliderLength() / (c - d)), m), g),
						S = s.map(function(b) {
							return Math.floor(Math.max(Math.min(b + _, c), d))
						});
					u.bounds.map(function(b, E) {
						return b === S[E]
					}).some(function(b) {
						return !b
					}) && this.onChange({
						bounds: S
					});
					return
				}
				var y = this.calcValueByPos(o),
					w = u.bounds[u.handle];
				y !== w && this.moveTo(y)
			}
		}, {
			key: "onKeyboard",
			value: function(i) {
				var o = this.props,
					a = o.reverse,
					s = o.vertical,
					u = uQ(i, s, a);
				if (u) {
					ih(i);
					var l = this.state,
						c = this.props,
						d = l.bounds,
						p = l.handle,
						g = d[p === null ? l.recent : p],
						m = u(g, c),
						_ = j0({
							value: m,
							handle: p,
							bounds: l.bounds,
							props: c
						});
					if (_ === g) return;
					var S = !0;
					this.moveTo(_, S)
				}
			}
		}, {
			key: "getValue",
			value: function() {
				return this.state.bounds
			}
		}, {
			key: "getClosestBound",
			value: function(i) {
				for (var o = this.state.bounds, a = 0, s = 1; s < o.length - 1; s += 1) i >= o[s] && (a = s);
				return Math.abs(o[a + 1] - i) < Math.abs(o[a] - i) && (a += 1), a
			}
		}, {
			key: "getBoundNeedMoving",
			value: function(i, o) {
				var a = this.state,
					s = a.bounds,
					u = a.recent,
					l = o,
					c = s[o + 1] === s[o];
				return c && s[u] === s[o] && (l = u), c && i !== s[o + 1] && (l = i < s[o + 1] ? o : o + 1), l
			}
		}, {
			key: "getLowerBound",
			value: function() {
				return this.state.bounds[0]
			}
		}, {
			key: "getUpperBound",
			value: function() {
				var i = this.state.bounds;
				return i[i.length - 1]
			}
		}, {
			key: "getPoints",
			value: function() {
				var i = this.props,
					o = i.marks,
					a = i.step,
					s = i.min,
					u = i.max,
					l = this.internalPointsCache;
				if (!l || l.marks !== o || l.step !== a) {
					var c = ce({}, o);
					if (a !== null)
						for (var d = s; d <= u; d += a) c[d] = d;
					var p = Object.keys(c).map(parseFloat);
					p.sort(function(g, m) {
						return g - m
					}), this.internalPointsCache = {
						marks: o,
						step: a,
						points: p
					}
				}
				return this.internalPointsCache.points
			}
		}, {
			key: "moveTo",
			value: function(i, o) {
				var a = this,
					s = this.state,
					u = this.props,
					l = vi(s.bounds),
					c = s.handle === null ? s.recent : s.handle;
				l[c] = i;
				var d = c;
				u.pushable !== !1 ? this.pushSurroundingHandles(l, d) : u.allowCross && (l.sort(function(p, g) {
					return p - g
				}), d = l.indexOf(i)), this.onChange({
					recent: d,
					handle: d,
					bounds: l
				}), o && (this.props.onAfterChange(l), this.setState({}, function() {
					a.handlesRefs[d].focus()
				}), this.onEnd())
			}
		}, {
			key: "pushSurroundingHandles",
			value: function(i, o) {
				var a = i[o],
					s = this.props.pushable,
					u = Number(s),
					l = 0;
				if (i[o + 1] - a < u && (l = 1), a - i[o - 1] < u && (l = -1), l !== 0) {
					var c = o + l,
						d = l * (i[c] - a);
					this.pushHandle(i, c, l, u - d) || (i[o] = i[c] - l * u)
				}
			}
		}, {
			key: "pushHandle",
			value: function(i, o, a, s) {
				for (var u = i[o], l = i[o]; a * (l - u) < s;) {
					if (!this.pushHandleOnePoint(i, o, a)) return i[o] = u, !1;
					l = i[o]
				}
				return !0
			}
		}, {
			key: "pushHandleOnePoint",
			value: function(i, o, a) {
				var s = this.getPoints(),
					u = s.indexOf(i[o]),
					l = u + a;
				if (l >= s.length || l < 0) return !1;
				var c = o + a,
					d = s[l],
					p = this.props.pushable,
					g = Number(p),
					m = a * (i[c] - d);
				return this.pushHandle(i, c, a, g - m) ? (i[o] = d, !0) : !1
			}
		}, {
			key: "trimAlignValue",
			value: function(i) {
				var o = this.state,
					a = o.handle,
					s = o.bounds;
				return j0({
					value: i,
					handle: a,
					bounds: s,
					props: this.props
				})
			}
		}, {
			key: "render",
			value: function() {
				var i = this,
					o = this.state,
					a = o.handle,
					s = o.bounds,
					u = this.props,
					l = u.prefixCls,
					c = u.vertical,
					d = u.included,
					p = u.disabled,
					g = u.min,
					m = u.max,
					_ = u.reverse,
					S = u.handle,
					y = u.trackStyle,
					w = u.handleStyle,
					b = u.tabIndex,
					E = u.ariaLabelGroupForHandles,
					T = u.ariaLabelledByGroupForHandles,
					O = u.ariaValueTextFormatterGroupForHandles,
					R = s.map(function(P) {
						return i.calcOffset(P)
					}),
					k = "".concat(l, "-handle"),
					M = s.map(function(P, U) {
						var H, G = b[U] || 0;
						(p || b[U] === null) && (G = null);
						var K = a === U;
						return S({
							className: ca((H = {}, De(H, k, !0), De(H, "".concat(k, "-").concat(U + 1), !0), De(H, "".concat(k, "-dragging"), K), H)),
							prefixCls: l,
							vertical: c,
							dragging: K,
							offset: R[U],
							value: P,
							index: U,
							tabIndex: G,
							min: g,
							max: m,
							reverse: _,
							disabled: p,
							style: w[U],
							ref: function(te) {
								return i.saveHandle(U, te)
							},
							ariaLabel: E[U],
							ariaLabelledBy: T[U],
							ariaValueTextFormatter: O[U]
						})
					}),
					D = s.slice(0, -1).map(function(P, U) {
						var H, G = U + 1,
							K = ca((H = {}, De(H, "".concat(l, "-track"), !0), De(H, "".concat(l, "-track-").concat(G), !0), H));
						return J.createElement(rQ, {
							className: K,
							vertical: c,
							reverse: _,
							included: d,
							offset: R[G - 1],
							length: R[G] - R[G - 1],
							style: y[U],
							key: G
						})
					});
				return {
					tracks: D,
					handles: M
				}
			}
		}], [{
			key: "getDerivedStateFromProps",
			value: function(i, o) {
				if (!("value" in i || "min" in i || "max" in i)) return null;
				var a = i.value || o.bounds,
					s = a.map(function(u, l) {
						return j0({
							value: u,
							handle: l,
							bounds: o.bounds,
							props: i
						})
					});
				if (o.bounds.length === s.length) {
					if (s.every(function(u, l) {
							return u === o.bounds[l]
						})) return null
				} else s = a.map(function(u, l) {
					return j0({
						value: u,
						handle: l,
						props: i
					})
				});
				return ce(ce({}, o), {}, {
					bounds: s
				})
			}
		}]), n
	}(J.Component);
A9.displayName = "Range";
A9.defaultProps = {
	count: 1,
	allowCross: !0,
	pushable: !1,
	draggableTrack: !1,
	tabIndex: [],
	ariaLabelGroupForHandles: [],
	ariaLabelledByGroupForHandles: [],
	ariaValueTextFormatterGroupForHandles: []
};
const Int = lQ(A9);
var cQ = function(t) {
		return +setTimeout(t, 16)
	},
	fQ = function(t) {
		return clearTimeout(t)
	};
typeof window < "u" && "requestAnimationFrame" in window && (cQ = function(t) {
	return window.requestAnimationFrame(t)
}, fQ = function(t) {
	return window.cancelAnimationFrame(t)
});
var IF = 0,
	M9 = new Map;

function dQ(e) {
	M9.delete(e)
}

function Qo(e) {
	var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
	IF += 1;
	var n = IF;

	function r(i) {
		if (i === 0) dQ(n), e();
		else {
			var o = cQ(function() {
				r(i - 1)
			});
			M9.set(n, o)
		}
	}
	return r(t), n
}
Qo.cancel = function(e) {
	var t = M9.get(e);
	return dQ(t), fQ(t)
};

function _2(e, t) {
	return e ? e.contains(t) : !1
}

function pQ(e) {
	return e instanceof HTMLElement ? e : hl.findDOMNode(e)
}

function hQ(e, t) {
	typeof e == "function" ? e(t) : Oi(e) === "object" && e && "current" in e && (e.current = t)
}

function P9() {
	for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
	var r = t.filter(function(i) {
		return i
	});
	return r.length <= 1 ? r[0] : function(i) {
		t.forEach(function(o) {
			hQ(o, i)
		})
	}
}

function vQ(e) {
	var t, n, r = IG.isMemo(e) ? e.type.type : e.type;
	return !(typeof r == "function" && !(!((t = r.prototype) === null || t === void 0) && t.render) || typeof e == "function" && !(!((n = e.prototype) === null || n === void 0) && n.render))
}

function yg() {
	return !!(typeof window < "u" && window.document && window.document.createElement)
}
var knt = h.forwardRef(function(e, t) {
	var n = e.didUpdate,
		r = e.getContainer,
		i = e.children,
		o = h.useRef(),
		a = h.useRef();
	h.useImperativeHandle(t, function() {
		return {}
	});
	var s = h.useRef(!1);
	return !s.current && yg() && (a.current = r(), o.current = a.current.parentNode, s.current = !0), h.useEffect(function() {
		n == null || n(e)
	}), h.useEffect(function() {
		return a.current.parentNode === null && o.current !== null && o.current.appendChild(a.current),
			function() {
				var u, l;
				(u = a.current) === null || u === void 0 || (l = u.parentNode) === null || l === void 0 || l.removeChild(a.current)
			}
	}, []), a.current ? hl.createPortal(i, a.current) : null
});

function Ant(e, t, n) {
	return n ? e[0] === t[0] : e[0] === t[0] && e[1] === t[1]
}

function Mnt(e, t, n) {
	var r = e[t] || {};
	return ce(ce({}, r), n)
}

function Pnt(e, t, n, r) {
	for (var i = n.points, o = Object.keys(e), a = 0; a < o.length; a += 1) {
		var s = o[a];
		if (Ant(e[s].points, i, r)) return "".concat(t, "-placement-").concat(s)
	}
	return ""
}
const Lnt = function() {
	if (typeof navigator > "u" || typeof window > "u") return !1;
	var e = navigator.userAgent || navigator.vendor || window.opera;
	return !!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e == null ? void 0 : e.substr(0, 4)))
};

function kF(e, t) {
	var n = {};
	return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit".concat(e)] = "webkit".concat(t), n["Moz".concat(e)] = "moz".concat(t), n["ms".concat(e)] = "MS".concat(t), n["O".concat(e)] = "o".concat(t.toLowerCase()), n
}

function Nnt(e, t) {
	var n = {
		animationend: kF("Animation", "AnimationEnd"),
		transitionend: kF("Transition", "TransitionEnd")
	};
	return e && ("AnimationEvent" in t || delete n.animationend.animation, "TransitionEvent" in t || delete n.transitionend.transition), n
}
var Dnt = Nnt(yg(), typeof window < "u" ? window : {}),
	gQ = {};
if (yg()) {
	var $nt = document.createElement("div");
	gQ = $nt.style
}
var Cy = {};

function mQ(e) {
	if (Cy[e]) return Cy[e];
	var t = Dnt[e];
	if (t)
		for (var n = Object.keys(t), r = n.length, i = 0; i < r; i += 1) {
			var o = n[i];
			if (Object.prototype.hasOwnProperty.call(t, o) && o in gQ) return Cy[e] = t[o], Cy[e]
		}
	return ""
}
var yQ = mQ("animationend"),
	wQ = mQ("transitionend"),
	Fnt = !!(yQ && wQ),
	AF = yQ || "animationend",
	MF = wQ || "transitionend";

function PF(e, t) {
	if (!e) return null;
	if (Oi(e) === "object") {
		var n = t.replace(/-\w/g, function(r) {
			return r[1].toUpperCase()
		});
		return e[n]
	}
	return "".concat(e, "-").concat(t)
}
var Rd = "none",
	Oy = "appear",
	Ty = "enter",
	Ry = "leave",
	LF = "none",
	Ss = "prepare",
	Zd = "start",
	qd = "active",
	L9 = "end";

function xv(e) {
	var t = h.useRef(!1),
		n = h.useState(e),
		r = jt(n, 2),
		i = r[0],
		o = r[1];
	h.useEffect(function() {
		return t.current = !1,
			function() {
				t.current = !0
			}
	}, []);

	function a(s, u) {
		u && t.current || o(s)
	}
	return [i, a]
}
const jnt = function() {
	var e = h.useRef(null);

	function t() {
		Qo.cancel(e.current)
	}

	function n(r) {
		var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
		t();
		var o = Qo(function() {
			i <= 1 ? r({
				isCanceled: function() {
					return o !== e.current
				}
			}) : n(r, i - 1)
		});
		e.current = o
	}
	return h.useEffect(function() {
		return function() {
			t()
		}
	}, []), [n, t]
};
var _Q = yg() ? h.useLayoutEffect : h.useEffect,
	NF = [Ss, Zd, qd, L9],
	bQ = !1,
	Unt = !0;

function SQ(e) {
	return e === qd || e === L9
}
const Hnt = function(e, t) {
		var n = xv(LF),
			r = jt(n, 2),
			i = r[0],
			o = r[1],
			a = jnt(),
			s = jt(a, 2),
			u = s[0],
			l = s[1];

		function c() {
			o(Ss, !0)
		}
		return _Q(function() {
			if (i !== LF && i !== L9) {
				var d = NF.indexOf(i),
					p = NF[d + 1],
					g = t(i);
				g === bQ ? o(p, !0) : u(function(m) {
					function _() {
						m.isCanceled() || o(p, !0)
					}
					g === !0 ? _() : Promise.resolve(g).then(_)
				})
			}
		}, [e, i]), h.useEffect(function() {
			return function() {
				l()
			}
		}, []), [c, i]
	},
	Vnt = function(e) {
		var t = h.useRef(),
			n = h.useRef(e);
		n.current = e;
		var r = h.useCallback(function(a) {
			n.current(a)
		}, []);

		function i(a) {
			a && (a.removeEventListener(MF, r), a.removeEventListener(AF, r))
		}

		function o(a) {
			t.current && t.current !== a && i(t.current), a && a !== t.current && (a.addEventListener(MF, r), a.addEventListener(AF, r), t.current = a)
		}
		return h.useEffect(function() {
			return function() {
				i(t.current)
			}
		}, []), [o, i]
	};

function Bnt(e, t, n, r) {
	var i = r.motionEnter,
		o = i === void 0 ? !0 : i,
		a = r.motionAppear,
		s = a === void 0 ? !0 : a,
		u = r.motionLeave,
		l = u === void 0 ? !0 : u,
		c = r.motionDeadline,
		d = r.motionLeaveImmediately,
		p = r.onAppearPrepare,
		g = r.onEnterPrepare,
		m = r.onLeavePrepare,
		_ = r.onAppearStart,
		S = r.onEnterStart,
		y = r.onLeaveStart,
		w = r.onAppearActive,
		b = r.onEnterActive,
		E = r.onLeaveActive,
		T = r.onAppearEnd,
		O = r.onEnterEnd,
		R = r.onLeaveEnd,
		k = r.onVisibleChanged,
		M = xv(),
		D = jt(M, 2),
		P = D[0],
		U = D[1],
		H = xv(Rd),
		G = jt(H, 2),
		K = G[0],
		ee = G[1],
		te = xv(null),
		q = jt(te, 2),
		F = q[0],
		j = q[1],
		B = h.useRef(!1),
		Z = h.useRef(null);

	function z() {
		return n()
	}
	var Q = h.useRef(!1);

	function ie(Je) {
		var ze = z();
		if (!(Je && !Je.deadline && Je.target !== ze)) {
			var Ct = Q.current,
				Zt;
			K === Oy && Ct ? Zt = T == null ? void 0 : T(ze, Je) : K === Ty && Ct ? Zt = O == null ? void 0 : O(ze, Je) : K === Ry && Ct && (Zt = R == null ? void 0 : R(ze, Je)), K !== Rd && Ct && Zt !== !1 && (ee(Rd, !0), j(null, !0))
		}
	}
	var le = Vnt(ie),
		pe = jt(le, 1),
		Ee = pe[0],
		be = h.useMemo(function() {
			var Je, ze, Ct;
			switch (K) {
				case Oy:
					return Je = {}, De(Je, Ss, p), De(Je, Zd, _), De(Je, qd, w), Je;
				case Ty:
					return ze = {}, De(ze, Ss, g), De(ze, Zd, S), De(ze, qd, b), ze;
				case Ry:
					return Ct = {}, De(Ct, Ss, m), De(Ct, Zd, y), De(Ct, qd, E), Ct;
				default:
					return {}
			}
		}, [K]),
		st = Hnt(K, function(Je) {
			if (Je === Ss) {
				var ze = be[Ss];
				return ze ? ze(z()) : bQ
			}
			if (Mt in be) {
				var Ct;
				j(((Ct = be[Mt]) === null || Ct === void 0 ? void 0 : Ct.call(be, z(), null)) || null)
			}
			return Mt === qd && (Ee(z()), c > 0 && (clearTimeout(Z.current), Z.current = setTimeout(function() {
				ie({
					deadline: !0
				})
			}, c))), Unt
		}),
		_t = jt(st, 2),
		Ve = _t[0],
		Mt = _t[1],
		gt = SQ(Mt);
	Q.current = gt, _Q(function() {
		U(t);
		var Je = B.current;
		if (B.current = !0, !!e) {
			var ze;
			!Je && t && s && (ze = Oy), Je && t && o && (ze = Ty), (Je && !t && l || !Je && d && !t && l) && (ze = Ry), ze && (ee(ze), Ve())
		}
	}, [t]), h.useEffect(function() {
		(K === Oy && !s || K === Ty && !o || K === Ry && !l) && ee(Rd)
	}, [s, o, l]), h.useEffect(function() {
		return function() {
			B.current = !1, clearTimeout(Z.current)
		}
	}, []), h.useEffect(function() {
		P !== void 0 && K === Rd && (k == null || k(P))
	}, [P, K]);
	var mt = F;
	return be[Ss] && Mt === Zd && (mt = ce({
		transition: "none"
	}, mt)), [K, Mt, mt, P != null ? P : t]
}
var znt = function(e) {
	tu(n, e);
	var t = jl(n);

	function n() {
		return Qs(this, n), t.apply(this, arguments)
	}
	return eu(n, [{
		key: "render",
		value: function() {
			return this.props.children
		}
	}]), n
}(h.Component);

function Gnt(e) {
	var t = e;
	Oi(e) === "object" && (t = e.transitionSupport);

	function n(i) {
		return !!(i.motionName && t)
	}
	var r = h.forwardRef(function(i, o) {
		var a = i.visible,
			s = a === void 0 ? !0 : a,
			u = i.removeOnLeave,
			l = u === void 0 ? !0 : u,
			c = i.forceRender,
			d = i.children,
			p = i.motionName,
			g = i.leavedClassName,
			m = i.eventProps,
			_ = n(i),
			S = h.useRef(),
			y = h.useRef();

		function w() {
			try {
				return S.current instanceof HTMLElement ? S.current : pQ(y.current)
			} catch (te) {
				return null
			}
		}
		var b = Bnt(_, s, w, i),
			E = jt(b, 4),
			T = E[0],
			O = E[1],
			R = E[2],
			k = E[3],
			M = h.useRef(k);
		k && (M.current = !0);
		var D = h.useCallback(function(te) {
				S.current = te, hQ(o, te)
			}, [o]),
			P, U = ce(ce({}, m), {}, {
				visible: s
			});
		if (!d) P = null;
		else if (T === Rd || !n(i)) k ? P = d(ce({}, U), D) : !l && M.current ? P = d(ce(ce({}, U), {}, {
			className: g
		}), D) : c ? P = d(ce(ce({}, U), {}, {
			style: {
				display: "none"
			}
		}), D) : P = null;
		else {
			var H, G;
			O === Ss ? G = "prepare" : SQ(O) ? G = "active" : O === Zd && (G = "start"), P = d(ce(ce({}, U), {}, {
				className: ca(PF(p, T), (H = {}, De(H, PF(p, "".concat(T, "-").concat(G)), G), De(H, p, typeof p == "string"), H)),
				style: R
			}), D)
		}
		if (h.isValidElement(P) && vQ(P)) {
			var K = P,
				ee = K.ref;
			ee || (P = h.cloneElement(P, {
				ref: D
			}))
		}
		return h.createElement(znt, {
			ref: y
		}, P)
	});
	return r.displayName = "CSSMotion", r
}
const N9 = Gnt(Fnt);

function xQ(e) {
	var t = e.prefixCls,
		n = e.motion,
		r = e.animation,
		i = e.transitionName;
	return n || (r ? {
		motionName: "".concat(t, "-").concat(r)
	} : i ? {
		motionName: i
	} : null)
}

function Wnt(e) {
	var t = e.prefixCls,
		n = e.visible,
		r = e.zIndex,
		i = e.mask,
		o = e.maskMotion,
		a = e.maskAnimation,
		s = e.maskTransitionName;
	if (!i) return null;
	var u = {};
	return (o || s || a) && (u = ce({
		motionAppear: !0
	}, xQ({
		motion: o,
		prefixCls: t,
		transitionName: s,
		animation: a
	}))), h.createElement(N9, ge({}, u, {
		visible: n,
		removeOnLeave: !0
	}), function(l) {
		var c = l.className;
		return h.createElement("div", {
			style: {
				zIndex: r
			},
			className: ca("".concat(t, "-mask"), c)
		})
	})
}
const Knt = function(e) {
	if (!e) return !1;
	if (e.offsetParent) return !0;
	if (e.getBBox) {
		var t = e.getBBox();
		if (t.width || t.height) return !0
	}
	if (e.getBoundingClientRect) {
		var n = e.getBoundingClientRect();
		if (n.width || n.height) return !0
	}
	return !1
};

function DF(e, t) {
	var n = Object.keys(e);
	if (Object.getOwnPropertySymbols) {
		var r = Object.getOwnPropertySymbols(e);
		t && (r = r.filter(function(i) {
			return Object.getOwnPropertyDescriptor(e, i).enumerable
		})), n.push.apply(n, r)
	}
	return n
}

function $F(e) {
	for (var t = 1; t < arguments.length; t++) {
		var n = arguments[t] != null ? arguments[t] : {};
		t % 2 ? DF(Object(n), !0).forEach(function(r) {
			Znt(e, r, n[r])
		}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DF(Object(n)).forEach(function(r) {
			Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r))
		})
	}
	return e
}

function b2(e) {
	"@babel/helpers - typeof";
	return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? b2 = function(t) {
		return typeof t
	} : b2 = function(t) {
		return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t
	}, b2(e)
}

function Znt(e, t, n) {
	return t in e ? Object.defineProperty(e, t, {
		value: n,
		enumerable: !0,
		configurable: !0,
		writable: !0
	}) : e[t] = n, e
}
var U0, qnt = {
	Webkit: "-webkit-",
	Moz: "-moz-",
	ms: "-ms-",
	O: "-o-"
};

function y_() {
	if (U0 !== void 0) return U0;
	U0 = "";
	var e = document.createElement("p").style,
		t = "Transform";
	for (var n in qnt) n + t in e && (U0 = n);
	return U0
}

function EQ() {
	return y_() ? "".concat(y_(), "TransitionProperty") : "transitionProperty"
}

function m4() {
	return y_() ? "".concat(y_(), "Transform") : "transform"
}

function FF(e, t) {
	var n = EQ();
	n && (e.style[n] = t, n !== "transitionProperty" && (e.style.transitionProperty = t))
}

function dE(e, t) {
	var n = m4();
	n && (e.style[n] = t, n !== "transform" && (e.style.transform = t))
}

function Ynt(e) {
	return e.style.transitionProperty || e.style[EQ()]
}

function Xnt(e) {
	var t = window.getComputedStyle(e, null),
		n = t.getPropertyValue("transform") || t.getPropertyValue(m4());
	if (n && n !== "none") {
		var r = n.replace(/[^0-9\-.,]/g, "").split(",");
		return {
			x: parseFloat(r[12] || r[4], 0),
			y: parseFloat(r[13] || r[5], 0)
		}
	}
	return {
		x: 0,
		y: 0
	}
}
var Jnt = /matrix\((.*)\)/,
	Qnt = /matrix3d\((.*)\)/;

function ert(e, t) {
	var n = window.getComputedStyle(e, null),
		r = n.getPropertyValue("transform") || n.getPropertyValue(m4());
	if (r && r !== "none") {
		var i, o = r.match(Jnt);
		if (o) o = o[1], i = o.split(",").map(function(s) {
			return parseFloat(s, 10)
		}), i[4] = t.x, i[5] = t.y, dE(e, "matrix(".concat(i.join(","), ")"));
		else {
			var a = r.match(Qnt)[1];
			i = a.split(",").map(function(s) {
				return parseFloat(s, 10)
			}), i[12] = t.x, i[13] = t.y, dE(e, "matrix3d(".concat(i.join(","), ")"))
		}
	} else dE(e, "translateX(".concat(t.x, "px) translateY(").concat(t.y, "px) translateZ(0)"))
}
var trt = /[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,
	wg;

function jF(e) {
	var t = e.style.display;
	e.style.display = "none", e.offsetHeight, e.style.display = t
}

function yp(e, t, n) {
	var r = n;
	if (b2(t) === "object") {
		for (var i in t) t.hasOwnProperty(i) && yp(e, i, t[i]);
		return
	}
	if (typeof r < "u") {
		typeof r == "number" && (r = "".concat(r, "px")), e.style[t] = r;
		return
	}
	return wg(e, t)
}

function nrt(e) {
	var t, n, r, i = e.ownerDocument,
		o = i.body,
		a = i && i.documentElement;
	return t = e.getBoundingClientRect(), n = Math.floor(t.left), r = Math.floor(t.top), n -= a.clientLeft || o.clientLeft || 0, r -= a.clientTop || o.clientTop || 0, {
		left: n,
		top: r
	}
}

function CQ(e, t) {
	var n = e["page".concat(t ? "Y" : "X", "Offset")],
		r = "scroll".concat(t ? "Top" : "Left");
	if (typeof n != "number") {
		var i = e.document;
		n = i.documentElement[r], typeof n != "number" && (n = i.body[r])
	}
	return n
}

function OQ(e) {
	return CQ(e)
}

function TQ(e) {
	return CQ(e, !0)
}

function y1(e) {
	var t = nrt(e),
		n = e.ownerDocument,
		r = n.defaultView || n.parentWindow;
	return t.left += OQ(r), t.top += TQ(r), t
}

function D9(e) {
	return e != null && e == e.window
}

function RQ(e) {
	return D9(e) ? e.document : e.nodeType === 9 ? e : e.ownerDocument
}

function rrt(e, t, n) {
	var r = n,
		i = "",
		o = RQ(e);
	return r = r || o.defaultView.getComputedStyle(e, null), r && (i = r.getPropertyValue(t) || r[t]), i
}
var irt = new RegExp("^(".concat(trt, ")(?!px)[a-z%]+$"), "i"),
	ort = /^(top|right|bottom|left)$/,
	pE = "currentStyle",
	hE = "runtimeStyle",
	fc = "left",
	art = "px";

function srt(e, t) {
	var n = e[pE] && e[pE][t];
	if (irt.test(n) && !ort.test(t)) {
		var r = e.style,
			i = r[fc],
			o = e[hE][fc];
		e[hE][fc] = e[pE][fc], r[fc] = t === "fontSize" ? "1em" : n || 0, n = r.pixelLeft + art, r[fc] = i, e[hE][fc] = o
	}
	return n === "" ? "auto" : n
}
typeof window < "u" && (wg = window.getComputedStyle ? rrt : srt);

function Iy(e, t) {
	return e === "left" ? t.useCssRight ? "right" : e : t.useCssBottom ? "bottom" : e
}

function UF(e) {
	if (e === "left") return "right";
	if (e === "right") return "left";
	if (e === "top") return "bottom";
	if (e === "bottom") return "top"
}

function HF(e, t, n) {
	yp(e, "position") === "static" && (e.style.position = "relative");
	var r = -999,
		i = -999,
		o = Iy("left", n),
		a = Iy("top", n),
		s = UF(o),
		u = UF(a);
	o !== "left" && (r = 999), a !== "top" && (i = 999);
	var l = "",
		c = y1(e);
	("left" in t || "top" in t) && (l = Ynt(e) || "", FF(e, "none")), "left" in t && (e.style[s] = "", e.style[o] = "".concat(r, "px")), "top" in t && (e.style[u] = "", e.style[a] = "".concat(i, "px")), jF(e);
	var d = y1(e),
		p = {};
	for (var g in t)
		if (t.hasOwnProperty(g)) {
			var m = Iy(g, n),
				_ = g === "left" ? r : i,
				S = c[g] - d[g];
			m === g ? p[m] = _ + S : p[m] = _ - S
		} yp(e, p), jF(e), ("left" in t || "top" in t) && FF(e, l);
	var y = {};
	for (var w in t)
		if (t.hasOwnProperty(w)) {
			var b = Iy(w, n),
				E = t[w] - c[w];
			w === b ? y[b] = p[b] + E : y[b] = p[b] - E
		} yp(e, y)
}

function urt(e, t) {
	var n = y1(e),
		r = Xnt(e),
		i = {
			x: r.x,
			y: r.y
		};
	"left" in t && (i.x = r.x + t.left - n.left), "top" in t && (i.y = r.y + t.top - n.top), ert(e, i)
}

function lrt(e, t, n) {
	if (n.ignoreShake) {
		var r = y1(e),
			i = r.left.toFixed(0),
			o = r.top.toFixed(0),
			a = t.left.toFixed(0),
			s = t.top.toFixed(0);
		if (i === a && o === s) return
	}
	n.useCssRight || n.useCssBottom ? HF(e, t, n) : n.useCssTransform && m4() in document.body.style ? urt(e, t) : HF(e, t, n)
}

function $9(e, t) {
	for (var n = 0; n < e.length; n++) t(e[n])
}

function IQ(e) {
	return wg(e, "boxSizing") === "border-box"
}
var crt = ["margin", "border", "padding"],
	b6 = -1,
	frt = 2,
	S6 = 1,
	drt = 0;

function prt(e, t, n) {
	var r = {},
		i = e.style,
		o;
	for (o in t) t.hasOwnProperty(o) && (r[o] = i[o], i[o] = t[o]);
	n.call(e);
	for (o in t) t.hasOwnProperty(o) && (i[o] = r[o])
}

function J0(e, t, n) {
	var r = 0,
		i, o, a;
	for (o = 0; o < t.length; o++)
		if (i = t[o], i)
			for (a = 0; a < n.length; a++) {
				var s = void 0;
				i === "border" ? s = "".concat(i).concat(n[a], "Width") : s = i + n[a], r += parseFloat(wg(e, s)) || 0
			}
	return r
}
var ja = {
	getParent: function(t) {
		var n = t;
		do n.nodeType === 11 && n.host ? n = n.host : n = n.parentNode; while (n && n.nodeType !== 1 && n.nodeType !== 9);
		return n
	}
};
$9(["Width", "Height"], function(e) {
	ja["doc".concat(e)] = function(t) {
		var n = t.document;
		return Math.max(n.documentElement["scroll".concat(e)], n.body["scroll".concat(e)], ja["viewport".concat(e)](n))
	}, ja["viewport".concat(e)] = function(t) {
		var n = "client".concat(e),
			r = t.document,
			i = r.body,
			o = r.documentElement,
			a = o[n];
		return r.compatMode === "CSS1Compat" && a || i && i[n] || a
	}
});

function VF(e, t, n) {
	var r = n;
	if (D9(e)) return t === "width" ? ja.viewportWidth(e) : ja.viewportHeight(e);
	if (e.nodeType === 9) return t === "width" ? ja.docWidth(e) : ja.docHeight(e);
	var i = t === "width" ? ["Left", "Right"] : ["Top", "Bottom"],
		o = Math.floor(t === "width" ? e.getBoundingClientRect().width : e.getBoundingClientRect().height),
		a = IQ(e),
		s = 0;
	(o == null || o <= 0) && (o = void 0, s = wg(e, t), (s == null || Number(s) < 0) && (s = e.style[t] || 0), s = parseFloat(s) || 0), r === void 0 && (r = a ? S6 : b6);
	var u = o !== void 0 || a,
		l = o || s;
	return r === b6 ? u ? l - J0(e, ["border", "padding"], i) : s : u ? r === S6 ? l : l + (r === frt ? -J0(e, ["border"], i) : J0(e, ["margin"], i)) : s + J0(e, crt.slice(r), i)
}
var hrt = {
	position: "absolute",
	visibility: "hidden",
	display: "block"
};

function BF() {
	for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++) t[n] = arguments[n];
	var r, i = t[0];
	return i.offsetWidth !== 0 ? r = VF.apply(void 0, t) : prt(i, hrt, function() {
		r = VF.apply(void 0, t)
	}), r
}
$9(["width", "height"], function(e) {
	var t = e.charAt(0).toUpperCase() + e.slice(1);
	ja["outer".concat(t)] = function(r, i) {
		return r && BF(r, e, i ? drt : S6)
	};
	var n = e === "width" ? ["Left", "Right"] : ["Top", "Bottom"];
	ja[e] = function(r, i) {
		var o = i;
		if (o !== void 0) {
			if (r) {
				var a = IQ(r);
				return a && (o += J0(r, ["padding", "border"], n)), yp(r, e, o)
			}
			return
		}
		return r && BF(r, e, b6)
	}
});

function kQ(e, t) {
	for (var n in t) t.hasOwnProperty(n) && (e[n] = t[n]);
	return e
}
var We = {
	getWindow: function(t) {
		if (t && t.document && t.setTimeout) return t;
		var n = t.ownerDocument || t;
		return n.defaultView || n.parentWindow
	},
	getDocument: RQ,
	offset: function(t, n, r) {
		if (typeof n < "u") lrt(t, n, r || {});
		else return y1(t)
	},
	isWindow: D9,
	each: $9,
	css: yp,
	clone: function(t) {
		var n, r = {};
		for (n in t) t.hasOwnProperty(n) && (r[n] = t[n]);
		var i = t.overflow;
		if (i)
			for (n in t) t.hasOwnProperty(n) && (r.overflow[n] = t.overflow[n]);
		return r
	},
	mix: kQ,
	getWindowScrollLeft: function(t) {
		return OQ(t)
	},
	getWindowScrollTop: function(t) {
		return TQ(t)
	},
	merge: function() {
		for (var t = {}, n = 0; n < arguments.length; n++) We.mix(t, n < 0 || arguments.length <= n ? void 0 : arguments[n]);
		return t
	},
	viewportWidth: 0,
	viewportHeight: 0
};
kQ(We, ja);
var vE = We.getParent;

function x6(e) {
	if (We.isWindow(e) || e.nodeType === 9) return null;
	var t = We.getDocument(e),
		n = t.body,
		r, i = We.css(e, "position"),
		o = i === "fixed" || i === "absolute";
	if (!o) return e.nodeName.toLowerCase() === "html" ? null : vE(e);
	for (r = vE(e); r && r !== n && r.nodeType !== 9; r = vE(r))
		if (i = We.css(r, "position"), i !== "static") return r;
	return null
}
var zF = We.getParent;

function vrt(e) {
	if (We.isWindow(e) || e.nodeType === 9) return !1;
	var t = We.getDocument(e),
		n = t.body,
		r = null;
	for (r = zF(e); r && r !== n && r !== t; r = zF(r)) {
		var i = We.css(r, "position");
		if (i === "fixed") return !0
	}
	return !1
}

function F9(e, t) {
	for (var n = {
			left: 0,
			right: 1 / 0,
			top: 0,
			bottom: 1 / 0
		}, r = x6(e), i = We.getDocument(e), o = i.defaultView || i.parentWindow, a = i.body, s = i.documentElement; r;) {
		if ((navigator.userAgent.indexOf("MSIE") === -1 || r.clientWidth !== 0) && r !== a && r !== s && We.css(r, "overflow") !== "visible") {
			var u = We.offset(r);
			u.left += r.clientLeft, u.top += r.clientTop, n.top = Math.max(n.top, u.top), n.right = Math.min(n.right, u.left + r.clientWidth), n.bottom = Math.min(n.bottom, u.top + r.clientHeight), n.left = Math.max(n.left, u.left)
		} else if (r === a || r === s) break;
		r = x6(r)
	}
	var l = null;
	if (!We.isWindow(e) && e.nodeType !== 9) {
		l = e.style.position;
		var c = We.css(e, "position");
		c === "absolute" && (e.style.position = "fixed")
	}
	var d = We.getWindowScrollLeft(o),
		p = We.getWindowScrollTop(o),
		g = We.viewportWidth(o),
		m = We.viewportHeight(o),
		_ = s.scrollWidth,
		S = s.scrollHeight,
		y = window.getComputedStyle(a);
	if (y.overflowX === "hidden" && (_ = o.innerWidth), y.overflowY === "hidden" && (S = o.innerHeight), e.style && (e.style.position = l), t || vrt(e)) n.left = Math.max(n.left, d), n.top = Math.max(n.top, p), n.right = Math.min(n.right, d + g), n.bottom = Math.min(n.bottom, p + m);
	else {
		var w = Math.max(_, d + g);
		n.right = Math.min(n.right, w);
		var b = Math.max(S, p + m);
		n.bottom = Math.min(n.bottom, b)
	}
	return n.top >= 0 && n.left >= 0 && n.bottom > n.top && n.right > n.left ? n : null
}

function grt(e, t, n, r) {
	var i = We.clone(e),
		o = {
			width: t.width,
			height: t.height
		};
	return r.adjustX && i.left < n.left && (i.left = n.left), r.resizeWidth && i.left >= n.left && i.left + o.width > n.right && (o.width -= i.left + o.width - n.right), r.adjustX && i.left + o.width > n.right && (i.left = Math.max(n.right - o.width, n.left)), r.adjustY && i.top < n.top && (i.top = n.top), r.resizeHeight && i.top >= n.top && i.top + o.height > n.bottom && (o.height -= i.top + o.height - n.bottom), r.adjustY && i.top + o.height > n.bottom && (i.top = Math.max(n.bottom - o.height, n.top)), We.mix(i, o)
}

function j9(e) {
	var t, n, r;
	if (!We.isWindow(e) && e.nodeType !== 9) t = We.offset(e), n = We.outerWidth(e), r = We.outerHeight(e);
	else {
		var i = We.getWindow(e);
		t = {
			left: We.getWindowScrollLeft(i),
			top: We.getWindowScrollTop(i)
		}, n = We.viewportWidth(i), r = We.viewportHeight(i)
	}
	return t.width = n, t.height = r, t
}

function GF(e, t) {
	var n = t.charAt(0),
		r = t.charAt(1),
		i = e.width,
		o = e.height,
		a = e.left,
		s = e.top;
	return n === "c" ? s += o / 2 : n === "b" && (s += o), r === "c" ? a += i / 2 : r === "r" && (a += i), {
		left: a,
		top: s
	}
}

function ky(e, t, n, r, i) {
	var o = GF(t, n[1]),
		a = GF(e, n[0]),
		s = [a.left - o.left, a.top - o.top];
	return {
		left: Math.round(e.left - s[0] + r[0] - i[0]),
		top: Math.round(e.top - s[1] + r[1] - i[1])
	}
}

function WF(e, t, n) {
	return e.left < n.left || e.left + t.width > n.right
}

function KF(e, t, n) {
	return e.top < n.top || e.top + t.height > n.bottom
}

function mrt(e, t, n) {
	return e.left > n.right || e.left + t.width < n.left
}

function yrt(e, t, n) {
	return e.top > n.bottom || e.top + t.height < n.top
}

function Ay(e, t, n) {
	var r = [];
	return We.each(e, function(i) {
		r.push(i.replace(t, function(o) {
			return n[o]
		}))
	}), r
}

function My(e, t) {
	return e[t] = -e[t], e
}

function ZF(e, t) {
	var n;
	return /%$/.test(e) ? n = parseInt(e.substring(0, e.length - 1), 10) / 100 * t : n = parseInt(e, 10), n || 0
}

function qF(e, t) {
	e[0] = ZF(e[0], t.width), e[1] = ZF(e[1], t.height)
}

function AQ(e, t, n, r) {
	var i = n.points,
		o = n.offset || [0, 0],
		a = n.targetOffset || [0, 0],
		s = n.overflow,
		u = n.source || e;
	o = [].concat(o), a = [].concat(a), s = s || {};
	var l = {},
		c = 0,
		d = !!(s && s.alwaysByViewport),
		p = F9(u, d),
		g = j9(u);
	qF(o, g), qF(a, t);
	var m = ky(g, t, i, o, a),
		_ = We.merge(g, m);
	if (p && (s.adjustX || s.adjustY) && r) {
		if (s.adjustX && WF(m, g, p)) {
			var S = Ay(i, /[lr]/gi, {
					l: "r",
					r: "l"
				}),
				y = My(o, 0),
				w = My(a, 0),
				b = ky(g, t, S, y, w);
			mrt(b, g, p) || (c = 1, i = S, o = y, a = w)
		}
		if (s.adjustY && KF(m, g, p)) {
			var E = Ay(i, /[tb]/gi, {
					t: "b",
					b: "t"
				}),
				T = My(o, 1),
				O = My(a, 1),
				R = ky(g, t, E, T, O);
			yrt(R, g, p) || (c = 1, i = E, o = T, a = O)
		}
		c && (m = ky(g, t, i, o, a), We.mix(_, m));
		var k = WF(m, g, p),
			M = KF(m, g, p);
		if (k || M) {
			var D = i;
			k && (D = Ay(i, /[lr]/gi, {
				l: "r",
				r: "l"
			})), M && (D = Ay(i, /[tb]/gi, {
				t: "b",
				b: "t"
			})), i = D, o = n.offset || [0, 0], a = n.targetOffset || [0, 0]
		}
		l.adjustX = s.adjustX && k, l.adjustY = s.adjustY && M, (l.adjustX || l.adjustY) && (_ = grt(m, g, p, l))
	}
	return _.width !== g.width && We.css(u, "width", We.width(u) + _.width - g.width), _.height !== g.height && We.css(u, "height", We.height(u) + _.height - g.height), We.offset(u, {
		left: _.left,
		top: _.top
	}, {
		useCssRight: n.useCssRight,
		useCssBottom: n.useCssBottom,
		useCssTransform: n.useCssTransform,
		ignoreShake: n.ignoreShake
	}), {
		points: i,
		offset: o,
		targetOffset: a,
		overflow: l
	}
}

function wrt(e, t) {
	var n = F9(e, t),
		r = j9(e);
	return !n || r.left + r.width <= n.left || r.top + r.height <= n.top || r.left >= n.right || r.top >= n.bottom
}

function U9(e, t, n) {
	var r = n.target || t,
		i = j9(r),
		o = !wrt(r, n.overflow && n.overflow.alwaysByViewport);
	return AQ(e, i, n, o)
}
U9.__getOffsetParent = x6;
U9.__getVisibleRectForElement = F9;

function _rt(e, t, n) {
	var r, i, o = We.getDocument(e),
		a = o.defaultView || o.parentWindow,
		s = We.getWindowScrollLeft(a),
		u = We.getWindowScrollTop(a),
		l = We.viewportWidth(a),
		c = We.viewportHeight(a);
	"pageX" in t ? r = t.pageX : r = s + t.clientX, "pageY" in t ? i = t.pageY : i = u + t.clientY;
	var d = {
			left: r,
			top: i,
			width: 0,
			height: 0
		},
		p = r >= 0 && r <= s + l && i >= 0 && i <= u + c,
		g = [n.points[0], "cc"];
	return AQ(e, d, $F($F({}, n), {}, {
		points: g
	}), p)
}
var brt = T8;

function Srt(e, t) {
	return brt(e, t)
}
var xrt = Srt;
const Ert = Et(xrt);
var MQ = function() {
		if (typeof Map < "u") return Map;

		function e(t, n) {
			var r = -1;
			return t.some(function(i, o) {
				return i[0] === n ? (r = o, !0) : !1
			}), r
		}
		return function() {
			function t() {
				this.__entries__ = []
			}
			return Object.defineProperty(t.prototype, "size", {
				get: function() {
					return this.__entries__.length
				},
				enumerable: !0,
				configurable: !0
			}), t.prototype.get = function(n) {
				var r = e(this.__entries__, n),
					i = this.__entries__[r];
				return i && i[1]
			}, t.prototype.set = function(n, r) {
				var i = e(this.__entries__, n);
				~i ? this.__entries__[i][1] = r : this.__entries__.push([n, r])
			}, t.prototype.delete = function(n) {
				var r = this.__entries__,
					i = e(r, n);
				~i && r.splice(i, 1)
			}, t.prototype.has = function(n) {
				return !!~e(this.__entries__, n)
			}, t.prototype.clear = function() {
				this.__entries__.splice(0)
			}, t.prototype.forEach = function(n, r) {
				r === void 0 && (r = null);
				for (var i = 0, o = this.__entries__; i < o.length; i++) {
					var a = o[i];
					n.call(r, a[1], a[0])
				}
			}, t
		}()
	}(),
	E6 = typeof window < "u" && typeof document < "u" && window.document === document,
	w_ = function() {
		return typeof window < "u" && window.Math === Math ? window : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")()
	}(),
	Crt = function() {
		return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(w_) : function(e) {
			return setTimeout(function() {
				return e(Date.now())
			}, 1e3 / 60)
		}
	}(),
	Ort = 2;

function Trt(e, t) {
	var n = !1,
		r = !1,
		i = 0;

	function o() {
		n && (n = !1, e()), r && s()
	}

	function a() {
		Crt(o)
	}

	function s() {
		var u = Date.now();
		if (n) {
			if (u - i < Ort) return;
			r = !0
		} else n = !0, r = !1, setTimeout(a, t);
		i = u
	}
	return s
}
var Rrt = 20,
	Irt = ["top", "right", "bottom", "left", "width", "height", "size", "weight"],
	krt = typeof MutationObserver < "u",
	Art = function() {
		function e() {
			this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Trt(this.refresh.bind(this), Rrt)
		}
		return e.prototype.addObserver = function(t) {
			~this.observers_.indexOf(t) || this.observers_.push(t), this.connected_ || this.connect_()
		}, e.prototype.removeObserver = function(t) {
			var n = this.observers_,
				r = n.indexOf(t);
			~r && n.splice(r, 1), !n.length && this.connected_ && this.disconnect_()
		}, e.prototype.refresh = function() {
			var t = this.updateObservers_();
			t && this.refresh()
		}, e.prototype.updateObservers_ = function() {
			var t = this.observers_.filter(function(n) {
				return n.gatherActive(), n.hasActive()
			});
			return t.forEach(function(n) {
				return n.broadcastActive()
			}), t.length > 0
		}, e.prototype.connect_ = function() {
			!E6 || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), krt ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
				attributes: !0,
				childList: !0,
				characterData: !0,
				subtree: !0
			})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0)
		}, e.prototype.disconnect_ = function() {
			!E6 || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1)
		}, e.prototype.onTransitionEnd_ = function(t) {
			var n = t.propertyName,
				r = n === void 0 ? "" : n,
				i = Irt.some(function(o) {
					return !!~r.indexOf(o)
				});
			i && this.refresh()
		}, e.getInstance = function() {
			return this.instance_ || (this.instance_ = new e), this.instance_
		}, e.instance_ = null, e
	}(),
	PQ = function(e, t) {
		for (var n = 0, r = Object.keys(t); n < r.length; n++) {
			var i = r[n];
			Object.defineProperty(e, i, {
				value: t[i],
				enumerable: !1,
				writable: !1,
				configurable: !0
			})
		}
		return e
	},
	oh = function(e) {
		var t = e && e.ownerDocument && e.ownerDocument.defaultView;
		return t || w_
	},
	LQ = y4(0, 0, 0, 0);

function __(e) {
	return parseFloat(e) || 0
}

function YF(e) {
	for (var t = [], n = 1; n < arguments.length; n++) t[n - 1] = arguments[n];
	return t.reduce(function(r, i) {
		var o = e["border-" + i + "-width"];
		return r + __(o)
	}, 0)
}

function Mrt(e) {
	for (var t = ["top", "right", "bottom", "left"], n = {}, r = 0, i = t; r < i.length; r++) {
		var o = i[r],
			a = e["padding-" + o];
		n[o] = __(a)
	}
	return n
}

function Prt(e) {
	var t = e.getBBox();
	return y4(0, 0, t.width, t.height)
}

function Lrt(e) {
	var t = e.clientWidth,
		n = e.clientHeight;
	if (!t && !n) return LQ;
	var r = oh(e).getComputedStyle(e),
		i = Mrt(r),
		o = i.left + i.right,
		a = i.top + i.bottom,
		s = __(r.width),
		u = __(r.height);
	if (r.boxSizing === "border-box" && (Math.round(s + o) !== t && (s -= YF(r, "left", "right") + o), Math.round(u + a) !== n && (u -= YF(r, "top", "bottom") + a)), !Drt(e)) {
		var l = Math.round(s + o) - t,
			c = Math.round(u + a) - n;
		Math.abs(l) !== 1 && (s -= l), Math.abs(c) !== 1 && (u -= c)
	}
	return y4(i.left, i.top, s, u)
}
var Nrt = function() {
	return typeof SVGGraphicsElement < "u" ? function(e) {
		return e instanceof oh(e).SVGGraphicsElement
	} : function(e) {
		return e instanceof oh(e).SVGElement && typeof e.getBBox == "function"
	}
}();

function Drt(e) {
	return e === oh(e).document.documentElement
}

function $rt(e) {
	return E6 ? Nrt(e) ? Prt(e) : Lrt(e) : LQ
}

function Frt(e) {
	var t = e.x,
		n = e.y,
		r = e.width,
		i = e.height,
		o = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object,
		a = Object.create(o.prototype);
	return PQ(a, {
		x: t,
		y: n,
		width: r,
		height: i,
		top: n,
		right: t + r,
		bottom: i + n,
		left: t
	}), a
}

function y4(e, t, n, r) {
	return {
		x: e,
		y: t,
		width: n,
		height: r
	}
}
var jrt = function() {
		function e(t) {
			this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = y4(0, 0, 0, 0), this.target = t
		}
		return e.prototype.isActive = function() {
			var t = $rt(this.target);
			return this.contentRect_ = t, t.width !== this.broadcastWidth || t.height !== this.broadcastHeight
		}, e.prototype.broadcastRect = function() {
			var t = this.contentRect_;
			return this.broadcastWidth = t.width, this.broadcastHeight = t.height, t
		}, e
	}(),
	Urt = function() {
		function e(t, n) {
			var r = Frt(n);
			PQ(this, {
				target: t,
				contentRect: r
			})
		}
		return e
	}(),
	Hrt = function() {
		function e(t, n, r) {
			if (this.activeObservations_ = [], this.observations_ = new MQ, typeof t != "function") throw new TypeError("The callback provided as parameter 1 is not a function.");
			this.callback_ = t, this.controller_ = n, this.callbackCtx_ = r
		}
		return e.prototype.observe = function(t) {
			if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
			if (!(typeof Element > "u" || !(Element instanceof Object))) {
				if (!(t instanceof oh(t).Element)) throw new TypeError('parameter 1 is not of type "Element".');
				var n = this.observations_;
				n.has(t) || (n.set(t, new jrt(t)), this.controller_.addObserver(this), this.controller_.refresh())
			}
		}, e.prototype.unobserve = function(t) {
			if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
			if (!(typeof Element > "u" || !(Element instanceof Object))) {
				if (!(t instanceof oh(t).Element)) throw new TypeError('parameter 1 is not of type "Element".');
				var n = this.observations_;
				n.has(t) && (n.delete(t), n.size || this.controller_.removeObserver(this))
			}
		}, e.prototype.disconnect = function() {
			this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this)
		}, e.prototype.gatherActive = function() {
			var t = this;
			this.clearActive(), this.observations_.forEach(function(n) {
				n.isActive() && t.activeObservations_.push(n)
			})
		}, e.prototype.broadcastActive = function() {
			if (this.hasActive()) {
				var t = this.callbackCtx_,
					n = this.activeObservations_.map(function(r) {
						return new Urt(r.target, r.broadcastRect())
					});
				this.callback_.call(t, n, t), this.clearActive()
			}
		}, e.prototype.clearActive = function() {
			this.activeObservations_.splice(0)
		}, e.prototype.hasActive = function() {
			return this.activeObservations_.length > 0
		}, e
	}(),
	NQ = typeof WeakMap < "u" ? new WeakMap : new MQ,
	DQ = function() {
		function e(t) {
			if (!(this instanceof e)) throw new TypeError("Cannot call a class as a function.");
			if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
			var n = Art.getInstance(),
				r = new Hrt(t, n, this);
			NQ.set(this, r)
		}
		return e
	}();
["observe", "unobserve", "disconnect"].forEach(function(e) {
	DQ.prototype[e] = function() {
		var t;
		return (t = NQ.get(this))[e].apply(t, arguments)
	}
});
var $Q = function() {
	return typeof w_.ResizeObserver < "u" ? w_.ResizeObserver : DQ
}();
const Dut = Object.freeze(Object.defineProperty({
	__proto__: null,
	default: $Q
}, Symbol.toStringTag, {
	value: "Module"
}));

function Vrt(e, t) {
	return e === t ? !0 : !e || !t ? !1 : "pageX" in t && "pageY" in t ? e.pageX === t.pageX && e.pageY === t.pageY : "clientX" in t && "clientY" in t ? e.clientX === t.clientX && e.clientY === t.clientY : !1
}

function Brt(e, t) {
	e !== document.activeElement && _2(t, e) && typeof e.focus == "function" && e.focus()
}

function XF(e, t) {
	var n = null,
		r = null;

	function i(a) {
		var s = jt(a, 1),
			u = s[0].target;
		if (document.documentElement.contains(u)) {
			var l = u.getBoundingClientRect(),
				c = l.width,
				d = l.height,
				p = Math.floor(c),
				g = Math.floor(d);
			(n !== p || r !== g) && Promise.resolve().then(function() {
				t({
					width: p,
					height: g
				})
			}), n = p, r = g
		}
	}
	var o = new $Q(i);
	return e && o.observe(e),
		function() {
			o.disconnect()
		}
}
const zrt = function(e, t) {
	var n = J.useRef(!1),
		r = J.useRef(null);

	function i() {
		window.clearTimeout(r.current)
	}

	function o(a) {
		if (i(), !n.current || a === !0) {
			if (e() === !1) return;
			n.current = !0, r.current = window.setTimeout(function() {
				n.current = !1
			}, t)
		} else r.current = window.setTimeout(function() {
			n.current = !1, o()
		}, t)
	}
	return [o, function() {
		n.current = !1, i()
	}]
};

function JF(e) {
	return typeof e != "function" ? null : e()
}

function QF(e) {
	return Oi(e) !== "object" || !e ? null : e
}
var Grt = function(t, n) {
		var r = t.children,
			i = t.disabled,
			o = t.target,
			a = t.align,
			s = t.onAlign,
			u = t.monitorWindowResize,
			l = t.monitorBufferTime,
			c = l === void 0 ? 0 : l,
			d = J.useRef({}),
			p = J.useRef(),
			g = J.Children.only(r),
			m = J.useRef({});
		m.current.disabled = i, m.current.target = o, m.current.align = a, m.current.onAlign = s;
		var _ = zrt(function() {
				var O = m.current,
					R = O.disabled,
					k = O.target,
					M = O.align,
					D = O.onAlign;
				if (!R && k) {
					var P = p.current,
						U, H = JF(k),
						G = QF(k);
					d.current.element = H, d.current.point = G, d.current.align = M;
					var K = document,
						ee = K.activeElement;
					return H && Knt(H) ? U = U9(P, H, M) : G && (U = _rt(P, G, M)), Brt(ee, P), D && U && D(P, U), !0
				}
				return !1
			}, c),
			S = jt(_, 2),
			y = S[0],
			w = S[1],
			b = J.useRef({
				cancel: function() {}
			}),
			E = J.useRef({
				cancel: function() {}
			});
		J.useEffect(function() {
			var O = JF(o),
				R = QF(o);
			p.current !== E.current.element && (E.current.cancel(), E.current.element = p.current, E.current.cancel = XF(p.current, y)), (d.current.element !== O || !Vrt(d.current.point, R) || !Ert(d.current.align, a)) && (y(), b.current.element !== O && (b.current.cancel(), b.current.element = O, b.current.cancel = XF(O, y)))
		}), J.useEffect(function() {
			i ? w() : y()
		}, [i]);
		var T = J.useRef(null);
		return J.useEffect(function() {
			u ? T.current || (T.current = Fa(window, "resize", y)) : T.current && (T.current.remove(), T.current = null)
		}, [u]), J.useEffect(function() {
			return function() {
				b.current.cancel(), E.current.cancel(), T.current && T.current.remove(), w()
			}
		}, []), J.useImperativeHandle(n, function() {
			return {
				forceAlign: function() {
					return y(!0)
				}
			}
		}), J.isValidElement(g) && (g = J.cloneElement(g, {
			ref: P9(g.ref, p)
		})), g
	},
	FQ = J.forwardRef(Grt);
FQ.displayName = "Align";
var ej = yg() ? h.useLayoutEffect : h.useEffect,
	tj = ["measure", "alignPre", "align", null, "motion"];
const Wrt = function(e, t) {
		var n = xv(null),
			r = jt(n, 2),
			i = r[0],
			o = r[1],
			a = h.useRef();

		function s(c) {
			o(c, !0)
		}

		function u() {
			Qo.cancel(a.current)
		}

		function l(c) {
			u(), a.current = Qo(function() {
				s(function(d) {
					switch (i) {
						case "align":
							return "motion";
						case "motion":
							return "stable"
					}
					return d
				}), c == null || c()
			})
		}
		return h.useEffect(function() {
			s("measure")
		}, [e]), h.useEffect(function() {
			switch (i) {
				case "measure":
					t();
					break
			}
			i && (a.current = Qo(jet(dF.mark(function c() {
				var d, p;
				return dF.wrap(function(m) {
					for (;;) switch (m.prev = m.next) {
						case 0:
							d = tj.indexOf(i), p = tj[d + 1], p && d !== -1 && s(p);
						case 3:
						case "end":
							return m.stop()
					}
				}, c)
			}))))
		}, [i]), h.useEffect(function() {
			return function() {
				u()
			}
		}, []), [i, l]
	},
	Krt = function(e) {
		var t = h.useState({
				width: 0,
				height: 0
			}),
			n = jt(t, 2),
			r = n[0],
			i = n[1];

		function o(s) {
			i({
				width: s.offsetWidth,
				height: s.offsetHeight
			})
		}
		var a = h.useMemo(function() {
			var s = {};
			if (e) {
				var u = r.width,
					l = r.height;
				e.indexOf("height") !== -1 && l ? s.height = l : e.indexOf("minHeight") !== -1 && l && (s.minHeight = l), e.indexOf("width") !== -1 && u ? s.width = u : e.indexOf("minWidth") !== -1 && u && (s.minWidth = u)
			}
			return s
		}, [e, r]);
		return [a, o]
	};
var jQ = h.forwardRef(function(e, t) {
	var n = e.visible,
		r = e.prefixCls,
		i = e.className,
		o = e.style,
		a = e.children,
		s = e.zIndex,
		u = e.stretch,
		l = e.destroyPopupOnHide,
		c = e.forceRender,
		d = e.align,
		p = e.point,
		g = e.getRootDomNode,
		m = e.getClassNameFromAlign,
		_ = e.onAlign,
		S = e.onMouseEnter,
		y = e.onMouseLeave,
		w = e.onMouseDown,
		b = e.onTouchStart,
		E = h.useRef(),
		T = h.useRef(),
		O = h.useState(),
		R = jt(O, 2),
		k = R[0],
		M = R[1],
		D = Krt(u),
		P = jt(D, 2),
		U = P[0],
		H = P[1];

	function G() {
		u && H(g())
	}
	var K = Wrt(n, G),
		ee = jt(K, 2),
		te = ee[0],
		q = ee[1],
		F = h.useState(0),
		j = jt(F, 2),
		B = j[0],
		Z = j[1],
		z = h.useRef();
	ej(function() {
		te === "alignPre" && Z(0)
	}, [te]);

	function Q() {
		return p || g
	}

	function ie() {
		var Ve;
		(Ve = E.current) === null || Ve === void 0 || Ve.forceAlign()
	}

	function le(Ve, Mt) {
		var gt = m(Mt);
		k !== gt && M(gt), Z(function(mt) {
			return mt + 1
		}), te === "align" && (_ == null || _(Ve, Mt))
	}
	ej(function() {
		te === "align" && (B < 2 ? ie() : q(function() {
			var Ve;
			(Ve = z.current) === null || Ve === void 0 || Ve.call(z)
		}))
	}, [B]);
	var pe = ce({}, xQ(e));
	["onAppearEnd", "onEnterEnd", "onLeaveEnd"].forEach(function(Ve) {
		var Mt = pe[Ve];
		pe[Ve] = function(gt, mt) {
			return q(), Mt == null ? void 0 : Mt(gt, mt)
		}
	});

	function Ee() {
		return new Promise(function(Ve) {
			z.current = Ve
		})
	}
	h.useEffect(function() {
		!pe.motionName && te === "motion" && q()
	}, [pe.motionName, te]), h.useImperativeHandle(t, function() {
		return {
			forceAlign: ie,
			getElement: function() {
				return T.current
			}
		}
	});
	var be = ce(ce({}, U), {}, {
			zIndex: s,
			opacity: te === "motion" || te === "stable" || !n ? void 0 : 0,
			pointerEvents: !n && te !== "stable" ? "none" : void 0
		}, o),
		st = !0;
	d != null && d.points && (te === "align" || te === "stable") && (st = !1);
	var _t = a;
	return h.Children.count(a) > 1 && (_t = h.createElement("div", {
		className: "".concat(r, "-content")
	}, a)), h.createElement(N9, ge({
		visible: n,
		ref: T,
		leavedClassName: "".concat(r, "-hidden")
	}, pe, {
		onAppearPrepare: Ee,
		onEnterPrepare: Ee,
		removeOnLeave: l,
		forceRender: c
	}), function(Ve, Mt) {
		var gt = Ve.className,
			mt = Ve.style,
			Je = ca(r, i, k, gt);
		return h.createElement(FQ, {
			target: Q(),
			key: "popup",
			ref: E,
			monitorWindowResize: !0,
			disabled: st,
			align: d,
			onAlign: le
		}, h.createElement("div", {
			ref: Mt,
			className: Je,
			onMouseEnter: S,
			onMouseLeave: y,
			onMouseDownCapture: w,
			onTouchStartCapture: b,
			style: ce(ce({}, mt), be)
		}, _t))
	})
});
jQ.displayName = "PopupInner";
var UQ = h.forwardRef(function(e, t) {
	var n = e.prefixCls,
		r = e.visible,
		i = e.zIndex,
		o = e.children,
		a = e.mobile;
	a = a === void 0 ? {} : a;
	var s = a.popupClassName,
		u = a.popupStyle,
		l = a.popupMotion,
		c = l === void 0 ? {} : l,
		d = a.popupRender,
		p = h.useRef();
	h.useImperativeHandle(t, function() {
		return {
			forceAlign: function() {},
			getElement: function() {
				return p.current
			}
		}
	});
	var g = ce({
			zIndex: i
		}, u),
		m = o;
	return h.Children.count(o) > 1 && (m = h.createElement("div", {
		className: "".concat(n, "-content")
	}, o)), d && (m = d(m)), h.createElement(N9, ge({
		visible: r,
		ref: p,
		removeOnLeave: !0
	}, c), function(_, S) {
		var y = _.className,
			w = _.style,
			b = ca(n, s, y);
		return h.createElement("div", {
			ref: S,
			className: b,
			style: ce(ce({}, w), g)
		}, m)
	})
});
UQ.displayName = "MobilePopupInner";
var Zrt = ["visible", "mobile"],
	HQ = h.forwardRef(function(e, t) {
		var n = e.visible,
			r = e.mobile,
			i = or(e, Zrt),
			o = h.useState(n),
			a = jt(o, 2),
			s = a[0],
			u = a[1],
			l = h.useState(!1),
			c = jt(l, 2),
			d = c[0],
			p = c[1],
			g = ce(ce({}, i), {}, {
				visible: s
			});
		h.useEffect(function() {
			u(n), n && r && p(Lnt())
		}, [n, r]);
		var m = d ? h.createElement(UQ, ge({}, g, {
			mobile: r,
			ref: t
		})) : h.createElement(jQ, ge({}, g, {
			ref: t
		}));
		return h.createElement("div", null, h.createElement(Wnt, g), m)
	});
HQ.displayName = "Popup";
var nj = h.createContext(null);

function gE() {}

function qrt() {
	return ""
}

function Yrt(e) {
	return e ? e.ownerDocument : window.document
}
var Xrt = ["onClick", "onMouseDown", "onTouchStart", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur", "onContextMenu"];

function Jrt(e) {
	var t = function(n) {
		tu(i, n);
		var r = jl(i);

		function i(o) {
			var a;
			Qs(this, i), a = r.call(this, o), a.popupRef = h.createRef(), a.triggerRef = h.createRef(), a.portalContainer = void 0, a.attachId = void 0, a.clickOutsideHandler = void 0, a.touchOutsideHandler = void 0, a.contextMenuOutsideHandler1 = void 0, a.contextMenuOutsideHandler2 = void 0, a.mouseDownTimeout = void 0, a.focusTime = void 0, a.preClickTime = void 0, a.preTouchTime = void 0, a.delayTimer = void 0, a.hasPopupMouseDown = void 0, a.onMouseEnter = function(u) {
				var l = a.props.mouseEnterDelay;
				a.fireEvents("onMouseEnter", u), a.delaySetPopupVisible(!0, l, l ? null : u)
			}, a.onMouseMove = function(u) {
				a.fireEvents("onMouseMove", u), a.setPoint(u)
			}, a.onMouseLeave = function(u) {
				a.fireEvents("onMouseLeave", u), a.delaySetPopupVisible(!1, a.props.mouseLeaveDelay)
			}, a.onPopupMouseEnter = function() {
				a.clearDelayTimer()
			}, a.onPopupMouseLeave = function(u) {
				var l;
				u.relatedTarget && !u.relatedTarget.setTimeout && _2((l = a.popupRef.current) === null || l === void 0 ? void 0 : l.getElement(), u.relatedTarget) || a.delaySetPopupVisible(!1, a.props.mouseLeaveDelay)
			}, a.onFocus = function(u) {
				a.fireEvents("onFocus", u), a.clearDelayTimer(), a.isFocusToShow() && (a.focusTime = Date.now(), a.delaySetPopupVisible(!0, a.props.focusDelay))
			}, a.onMouseDown = function(u) {
				a.fireEvents("onMouseDown", u), a.preClickTime = Date.now()
			}, a.onTouchStart = function(u) {
				a.fireEvents("onTouchStart", u), a.preTouchTime = Date.now()
			}, a.onBlur = function(u) {
				a.fireEvents("onBlur", u), a.clearDelayTimer(), a.isBlurToHide() && a.delaySetPopupVisible(!1, a.props.blurDelay)
			}, a.onContextMenu = function(u) {
				u.preventDefault(), a.fireEvents("onContextMenu", u), a.setPopupVisible(!0, u)
			}, a.onContextMenuClose = function() {
				a.isContextMenuToShow() && a.close()
			}, a.onClick = function(u) {
				if (a.fireEvents("onClick", u), a.focusTime) {
					var l;
					if (a.preClickTime && a.preTouchTime ? l = Math.min(a.preClickTime, a.preTouchTime) : a.preClickTime ? l = a.preClickTime : a.preTouchTime && (l = a.preTouchTime), Math.abs(l - a.focusTime) < 20) return;
					a.focusTime = 0
				}
				a.preClickTime = 0, a.preTouchTime = 0, a.isClickToShow() && (a.isClickToHide() || a.isBlurToHide()) && u && u.preventDefault && u.preventDefault();
				var c = !a.state.popupVisible;
				(a.isClickToHide() && !c || c && a.isClickToShow()) && a.setPopupVisible(!a.state.popupVisible, u)
			}, a.onPopupMouseDown = function() {
				if (a.hasPopupMouseDown = !0, clearTimeout(a.mouseDownTimeout), a.mouseDownTimeout = window.setTimeout(function() {
						a.hasPopupMouseDown = !1
					}, 0), a.context) {
					var u;
					(u = a.context).onPopupMouseDown.apply(u, arguments)
				}
			}, a.onDocumentClick = function(u) {
				if (!(a.props.mask && !a.props.maskClosable)) {
					var l = u.target,
						c = a.getRootDomNode(),
						d = a.getPopupDomNode();
					(!_2(c, l) || a.isContextMenuOnly()) && !_2(d, l) && !a.hasPopupMouseDown && a.close()
				}
			}, a.getRootDomNode = function() {
				var u = a.props.getTriggerDOMNode;
				if (u) return u(a.triggerRef.current);
				try {
					var l = pQ(a.triggerRef.current);
					if (l) return l
				} catch (c) {}
				return hl.findDOMNode(Cq(a))
			}, a.getPopupClassNameFromAlign = function(u) {
				var l = [],
					c = a.props,
					d = c.popupPlacement,
					p = c.builtinPlacements,
					g = c.prefixCls,
					m = c.alignPoint,
					_ = c.getPopupClassNameFromAlign;
				return d && p && l.push(Pnt(p, g, u, m)), _ && l.push(_(u)), l.join(" ")
			}, a.getComponent = function() {
				var u = a.props,
					l = u.prefixCls,
					c = u.destroyPopupOnHide,
					d = u.popupClassName,
					p = u.onPopupAlign,
					g = u.popupMotion,
					m = u.popupAnimation,
					_ = u.popupTransitionName,
					S = u.popupStyle,
					y = u.mask,
					w = u.maskAnimation,
					b = u.maskTransitionName,
					E = u.maskMotion,
					T = u.zIndex,
					O = u.popup,
					R = u.stretch,
					k = u.alignPoint,
					M = u.mobile,
					D = u.forceRender,
					P = a.state,
					U = P.popupVisible,
					H = P.point,
					G = a.getPopupAlign(),
					K = {};
				return a.isMouseEnterToShow() && (K.onMouseEnter = a.onPopupMouseEnter), a.isMouseLeaveToHide() && (K.onMouseLeave = a.onPopupMouseLeave), K.onMouseDown = a.onPopupMouseDown, K.onTouchStart = a.onPopupMouseDown, h.createElement(HQ, ge({
					prefixCls: l,
					destroyPopupOnHide: c,
					visible: U,
					point: k && H,
					className: d,
					align: G,
					onAlign: p,
					animation: m,
					getClassNameFromAlign: a.getPopupClassNameFromAlign
				}, K, {
					stretch: R,
					getRootDomNode: a.getRootDomNode,
					style: S,
					mask: y,
					zIndex: T,
					transitionName: _,
					maskAnimation: w,
					maskTransitionName: b,
					maskMotion: E,
					ref: a.popupRef,
					motion: g,
					mobile: M,
					forceRender: D
				}), typeof O == "function" ? O() : O)
			}, a.attachParent = function(u) {
				Qo.cancel(a.attachId);
				var l = a.props,
					c = l.getPopupContainer,
					d = l.getDocument,
					p = a.getRootDomNode(),
					g;
				c ? (p || c.length === 0) && (g = c(p)) : g = d(a.getRootDomNode()).body, g ? g.appendChild(u) : a.attachId = Qo(function() {
					a.attachParent(u)
				})
			}, a.getContainer = function() {
				if (!a.portalContainer) {
					var u = a.props.getDocument,
						l = u(a.getRootDomNode()).createElement("div");
					l.style.position = "absolute", l.style.top = "0", l.style.left = "0", l.style.width = "100%", a.portalContainer = l
				}
				return a.attachParent(a.portalContainer), a.portalContainer
			}, a.setPoint = function(u) {
				var l = a.props.alignPoint;
				!l || !u || a.setState({
					point: {
						pageX: u.pageX,
						pageY: u.pageY
					}
				})
			}, a.handlePortalUpdate = function() {
				a.state.prevPopupVisible !== a.state.popupVisible && a.props.afterPopupVisibleChange(a.state.popupVisible)
			}, a.triggerContextValue = {
				onPopupMouseDown: a.onPopupMouseDown
			};
			var s;
			return "popupVisible" in o ? s = !!o.popupVisible : s = !!o.defaultPopupVisible, a.state = {
				prevPopupVisible: s,
				popupVisible: s
			}, Xrt.forEach(function(u) {
				a["fire".concat(u)] = function(l) {
					a.fireEvents(u, l)
				}
			}), a
		}
		return eu(i, [{
			key: "componentDidMount",
			value: function() {
				this.componentDidUpdate()
			}
		}, {
			key: "componentDidUpdate",
			value: function() {
				var a = this.props,
					s = this.state;
				if (s.popupVisible) {
					var u;
					!this.clickOutsideHandler && (this.isClickToHide() || this.isContextMenuToShow()) && (u = a.getDocument(this.getRootDomNode()), this.clickOutsideHandler = Fa(u, "mousedown", this.onDocumentClick)), this.touchOutsideHandler || (u = u || a.getDocument(this.getRootDomNode()), this.touchOutsideHandler = Fa(u, "touchstart", this.onDocumentClick)), !this.contextMenuOutsideHandler1 && this.isContextMenuToShow() && (u = u || a.getDocument(this.getRootDomNode()), this.contextMenuOutsideHandler1 = Fa(u, "scroll", this.onContextMenuClose)), !this.contextMenuOutsideHandler2 && this.isContextMenuToShow() && (this.contextMenuOutsideHandler2 = Fa(window, "blur", this.onContextMenuClose));
					return
				}
				this.clearOutsideHandler()
			}
		}, {
			key: "componentWillUnmount",
			value: function() {
				this.clearDelayTimer(), this.clearOutsideHandler(), clearTimeout(this.mouseDownTimeout), Qo.cancel(this.attachId)
			}
		}, {
			key: "getPopupDomNode",
			value: function() {
				var a;
				return ((a = this.popupRef.current) === null || a === void 0 ? void 0 : a.getElement()) || null
			}
		}, {
			key: "getPopupAlign",
			value: function() {
				var a = this.props,
					s = a.popupPlacement,
					u = a.popupAlign,
					l = a.builtinPlacements;
				return s && l ? Mnt(l, s, u) : u
			}
		}, {
			key: "setPopupVisible",
			value: function(a, s) {
				var u = this.props.alignPoint,
					l = this.state.popupVisible;
				this.clearDelayTimer(), l !== a && ("popupVisible" in this.props || this.setState({
					popupVisible: a,
					prevPopupVisible: l
				}), this.props.onPopupVisibleChange(a)), u && s && a && this.setPoint(s)
			}
		}, {
			key: "delaySetPopupVisible",
			value: function(a, s, u) {
				var l = this,
					c = s * 1e3;
				if (this.clearDelayTimer(), c) {
					var d = u ? {
						pageX: u.pageX,
						pageY: u.pageY
					} : null;
					this.delayTimer = window.setTimeout(function() {
						l.setPopupVisible(a, d), l.clearDelayTimer()
					}, c)
				} else this.setPopupVisible(a, u)
			}
		}, {
			key: "clearDelayTimer",
			value: function() {
				this.delayTimer && (clearTimeout(this.delayTimer), this.delayTimer = null)
			}
		}, {
			key: "clearOutsideHandler",
			value: function() {
				this.clickOutsideHandler && (this.clickOutsideHandler.remove(), this.clickOutsideHandler = null), this.contextMenuOutsideHandler1 && (this.contextMenuOutsideHandler1.remove(), this.contextMenuOutsideHandler1 = null), this.contextMenuOutsideHandler2 && (this.contextMenuOutsideHandler2.remove(), this.contextMenuOutsideHandler2 = null), this.touchOutsideHandler && (this.touchOutsideHandler.remove(), this.touchOutsideHandler = null)
			}
		}, {
			key: "createTwoChains",
			value: function(a) {
				var s = this.props.children.props,
					u = this.props;
				return s[a] && u[a] ? this["fire".concat(a)] : s[a] || u[a]
			}
		}, {
			key: "isClickToShow",
			value: function() {
				var a = this.props,
					s = a.action,
					u = a.showAction;
				return s.indexOf("click") !== -1 || u.indexOf("click") !== -1
			}
		}, {
			key: "isContextMenuOnly",
			value: function() {
				var a = this.props.action;
				return a === "contextMenu" || a.length === 1 && a[0] === "contextMenu"
			}
		}, {
			key: "isContextMenuToShow",
			value: function() {
				var a = this.props,
					s = a.action,
					u = a.showAction;
				return s.indexOf("contextMenu") !== -1 || u.indexOf("contextMenu") !== -1
			}
		}, {
			key: "isClickToHide",
			value: function() {
				var a = this.props,
					s = a.action,
					u = a.hideAction;
				return s.indexOf("click") !== -1 || u.indexOf("click") !== -1
			}
		}, {
			key: "isMouseEnterToShow",
			value: function() {
				var a = this.props,
					s = a.action,
					u = a.showAction;
				return s.indexOf("hover") !== -1 || u.indexOf("mouseEnter") !== -1
			}
		}, {
			key: "isMouseLeaveToHide",
			value: function() {
				var a = this.props,
					s = a.action,
					u = a.hideAction;
				return s.indexOf("hover") !== -1 || u.indexOf("mouseLeave") !== -1
			}
		}, {
			key: "isFocusToShow",
			value: function() {
				var a = this.props,
					s = a.action,
					u = a.showAction;
				return s.indexOf("focus") !== -1 || u.indexOf("focus") !== -1
			}
		}, {
			key: "isBlurToHide",
			value: function() {
				var a = this.props,
					s = a.action,
					u = a.hideAction;
				return s.indexOf("focus") !== -1 || u.indexOf("blur") !== -1
			}
		}, {
			key: "forcePopupAlign",
			value: function() {
				if (this.state.popupVisible) {
					var a;
					(a = this.popupRef.current) === null || a === void 0 || a.forceAlign()
				}
			}
		}, {
			key: "fireEvents",
			value: function(a, s) {
				var u = this.props.children.props[a];
				u && u(s);
				var l = this.props[a];
				l && l(s)
			}
		}, {
			key: "close",
			value: function() {
				this.setPopupVisible(!1)
			}
		}, {
			key: "render",
			value: function() {
				var a = this.state.popupVisible,
					s = this.props,
					u = s.children,
					l = s.forceRender,
					c = s.alignPoint,
					d = s.className,
					p = s.autoDestroy,
					g = h.Children.only(u),
					m = {
						key: "trigger"
					};
				this.isContextMenuToShow() ? m.onContextMenu = this.onContextMenu : m.onContextMenu = this.createTwoChains("onContextMenu"), this.isClickToHide() || this.isClickToShow() ? (m.onClick = this.onClick, m.onMouseDown = this.onMouseDown, m.onTouchStart = this.onTouchStart) : (m.onClick = this.createTwoChains("onClick"), m.onMouseDown = this.createTwoChains("onMouseDown"), m.onTouchStart = this.createTwoChains("onTouchStart")), this.isMouseEnterToShow() ? (m.onMouseEnter = this.onMouseEnter, c && (m.onMouseMove = this.onMouseMove)) : m.onMouseEnter = this.createTwoChains("onMouseEnter"), this.isMouseLeaveToHide() ? m.onMouseLeave = this.onMouseLeave : m.onMouseLeave = this.createTwoChains("onMouseLeave"), this.isFocusToShow() || this.isBlurToHide() ? (m.onFocus = this.onFocus, m.onBlur = this.onBlur) : (m.onFocus = this.createTwoChains("onFocus"), m.onBlur = this.createTwoChains("onBlur"));
				var _ = ca(g && g.props && g.props.className, d);
				_ && (m.className = _);
				var S = ce({}, m);
				vQ(g) && (S.ref = P9(this.triggerRef, g.ref));
				var y = h.cloneElement(g, S),
					w;
				return (a || this.popupRef.current || l) && (w = h.createElement(e, {
					key: "portal",
					getContainer: this.getContainer,
					didUpdate: this.handlePortalUpdate
				}, this.getComponent())), !a && p && (w = null), h.createElement(nj.Provider, {
					value: this.triggerContextValue
				}, y, w)
			}
		}], [{
			key: "getDerivedStateFromProps",
			value: function(a, s) {
				var u = a.popupVisible,
					l = {};
				return u !== void 0 && s.popupVisible !== u && (l.popupVisible = u, l.prevPopupVisible = s.popupVisible), l
			}
		}]), i
	}(h.Component);
	return t.contextType = nj, t.defaultProps = {
		prefixCls: "rc-trigger-popup",
		getPopupClassNameFromAlign: qrt,
		getDocument: Yrt,
		onPopupVisibleChange: gE,
		afterPopupVisibleChange: gE,
		onPopupAlign: gE,
		popupClassName: "",
		mouseEnterDelay: 0,
		mouseLeaveDelay: .1,
		focusDelay: 0,
		blurDelay: .15,
		popupStyle: {},
		destroyPopupOnHide: !1,
		popupAlign: {},
		defaultPopupVisible: !1,
		mask: !1,
		maskClosable: !0,
		action: [],
		showAction: [],
		hideAction: [],
		autoDestroy: !1
	}, t
}
const Qrt = Jrt(knt);
var lo = {
		adjustX: 1,
		adjustY: 1
	},
	co = [0, 0],
	eit = {
		left: {
			points: ["cr", "cl"],
			overflow: lo,
			offset: [-4, 0],
			targetOffset: co
		},
		right: {
			points: ["cl", "cr"],
			overflow: lo,
			offset: [4, 0],
			targetOffset: co
		},
		top: {
			points: ["bc", "tc"],
			overflow: lo,
			offset: [0, -4],
			targetOffset: co
		},
		bottom: {
			points: ["tc", "bc"],
			overflow: lo,
			offset: [0, 4],
			targetOffset: co
		},
		topLeft: {
			points: ["bl", "tl"],
			overflow: lo,
			offset: [0, -4],
			targetOffset: co
		},
		leftTop: {
			points: ["tr", "tl"],
			overflow: lo,
			offset: [-4, 0],
			targetOffset: co
		},
		topRight: {
			points: ["br", "tr"],
			overflow: lo,
			offset: [0, -4],
			targetOffset: co
		},
		rightTop: {
			points: ["tl", "tr"],
			overflow: lo,
			offset: [4, 0],
			targetOffset: co
		},
		bottomRight: {
			points: ["tr", "br"],
			overflow: lo,
			offset: [0, 4],
			targetOffset: co
		},
		rightBottom: {
			points: ["bl", "br"],
			overflow: lo,
			offset: [4, 0],
			targetOffset: co
		},
		bottomLeft: {
			points: ["tl", "bl"],
			overflow: lo,
			offset: [0, 4],
			targetOffset: co
		},
		leftBottom: {
			points: ["br", "bl"],
			overflow: lo,
			offset: [-4, 0],
			targetOffset: co
		}
	},
	tit = function(t) {
		var n = t.overlay,
			r = t.prefixCls,
			i = t.id,
			o = t.overlayInnerStyle;
		return h.createElement("div", {
			className: "".concat(r, "-inner"),
			id: i,
			role: "tooltip",
			style: o
		}, typeof n == "function" ? n() : n)
	},
	nit = function(t, n) {
		var r = t.overlayClassName,
			i = t.trigger,
			o = i === void 0 ? ["hover"] : i,
			a = t.mouseEnterDelay,
			s = a === void 0 ? 0 : a,
			u = t.mouseLeaveDelay,
			l = u === void 0 ? .1 : u,
			c = t.overlayStyle,
			d = t.prefixCls,
			p = d === void 0 ? "rc-tooltip" : d,
			g = t.children,
			m = t.onVisibleChange,
			_ = t.afterVisibleChange,
			S = t.transitionName,
			y = t.animation,
			w = t.motion,
			b = t.placement,
			E = b === void 0 ? "right" : b,
			T = t.align,
			O = T === void 0 ? {} : T,
			R = t.destroyTooltipOnHide,
			k = R === void 0 ? !1 : R,
			M = t.defaultVisible,
			D = t.getTooltipContainer,
			P = t.overlayInnerStyle,
			U = or(t, ["overlayClassName", "trigger", "mouseEnterDelay", "mouseLeaveDelay", "overlayStyle", "prefixCls", "children", "onVisibleChange", "afterVisibleChange", "transitionName", "animation", "motion", "placement", "align", "destroyTooltipOnHide", "defaultVisible", "getTooltipContainer", "overlayInnerStyle"]),
			H = h.useRef(null);
		h.useImperativeHandle(n, function() {
			return H.current
		});
		var G = ce({}, U);
		"visible" in t && (G.popupVisible = t.visible);
		var K = function() {
				var j = t.arrowContent,
					B = j === void 0 ? null : j,
					Z = t.overlay,
					z = t.id;
				return [h.createElement("div", {
					className: "".concat(p, "-arrow"),
					key: "arrow"
				}, B), h.createElement(tit, {
					key: "content",
					prefixCls: p,
					id: z,
					overlay: Z,
					overlayInnerStyle: P
				})]
			},
			ee = !1,
			te = !1;
		if (typeof k == "boolean") ee = k;
		else if (k && Oi(k) === "object") {
			var q = k.keepParent;
			ee = q === !0, te = q === !1
		}
		return h.createElement(Qrt, ge({
			popupClassName: r,
			prefixCls: p,
			popup: K,
			action: o,
			builtinPlacements: eit,
			popupPlacement: E,
			ref: H,
			popupAlign: O,
			getPopupContainer: D,
			onPopupVisibleChange: m,
			afterPopupVisibleChange: _,
			popupTransitionName: S,
			popupAnimation: y,
			popupMotion: w,
			defaultPopupVisible: M,
			destroyPopupOnHide: ee,
			autoDestroy: te,
			mouseLeaveDelay: l,
			popupStyle: c,
			mouseEnterDelay: s
		}, G), g)
	};
const rit = h.forwardRef(nit);
var iit = h.forwardRef(function(e, t) {
	var n = e.visible,
		r = e.overlay,
		i = h.useRef(null),
		o = P9(t, i),
		a = h.useRef(null);

	function s() {
		Qo.cancel(a.current)
	}

	function u() {
		a.current = Qo(function() {
			var l;
			(l = i.current) === null || l === void 0 || l.forcePopupAlign()
		})
	}
	return h.useEffect(function() {
		return n ? u() : s(), s
	}, [n, r]), h.createElement(rit, ge({
		ref: o
	}, e))
});

function oit(e) {
	var t;
	return t = function(n) {
		tu(i, n);
		var r = jl(i);

		function i() {
			var o;
			return Qs(this, i), o = r.apply(this, arguments), o.state = {
				visibles: {}
			}, o.handleTooltipVisibleChange = function(a, s) {
				o.setState(function(u) {
					return {
						visibles: ce(ce({}, u.visibles), {}, De({}, a, s))
					}
				})
			}, o.handleWithTooltip = function(a) {
				var s = a.value,
					u = a.dragging,
					l = a.index,
					c = a.disabled,
					d = or(a, ["value", "dragging", "index", "disabled"]),
					p = o.props,
					g = p.tipFormatter,
					m = p.tipProps,
					_ = p.handleStyle,
					S = p.getTooltipContainer,
					y = m.prefixCls,
					w = y === void 0 ? "rc-slider-tooltip" : y,
					b = m.overlay,
					E = b === void 0 ? g(s) : b,
					T = m.placement,
					O = T === void 0 ? "top" : T,
					R = m.visible,
					k = R === void 0 ? !1 : R,
					M = or(m, ["prefixCls", "overlay", "placement", "visible"]),
					D;
				return Array.isArray(_) ? D = _[l] || _[0] : D = _, J.createElement(iit, ge({}, M, {
					getTooltipContainer: S,
					prefixCls: w,
					overlay: E,
					placement: O,
					visible: !c && (o.state.visibles[l] || u) || k,
					key: l
				}), J.createElement(I9, ge({}, d, {
					style: ce({}, D),
					value: s,
					onMouseEnter: function() {
						return o.handleTooltipVisibleChange(l, !0)
					},
					onMouseLeave: function() {
						return o.handleTooltipVisibleChange(l, !1)
					}
				})))
			}, o
		}
		return eu(i, [{
			key: "render",
			value: function() {
				return J.createElement(e, ge({}, this.props, {
					handle: this.handleWithTooltip
				}))
			}
		}]), i
	}(J.Component), t.defaultProps = {
		tipFormatter: function(r) {
			return r
		},
		handleStyle: [{}],
		tipProps: {},
		getTooltipContainer: function(r) {
			return r.parentNode
		}
	}, t
}
var w4 = Rnt;
w4.Range = Int;
w4.Handle = I9;
w4.createSliderWithTooltip = oit;
const rj = typeof Intl < "u" ? new Intl.NumberFormat("en-US") : null;

function VQ(e) {
	let t = e.toString();
	return typeof e == "number" && rj && (t = rj.format(e)), t
}

function ait(e, t, n) {
	return Math.min(Math.max(e, t), n)
}

function $ut(e, t = {}) {
	return sit(e, t).split(".")[0]
}

function sit(e, t = {}) {
	return e === null ? "$0" : typeof Intl < "u" ? e >= 1e7 ? "$".concat(e.toExponential().replace("e+", "e")) : new Intl.NumberFormat("en-US", {
		style: "currency",
		currency: "USD",
		...t
	}).format(e) : "$".concat(VQ(e))
}

function Fut(e, t) {
	return typeof Intl < "u" ? new Intl.NumberFormat("en-US", {
		notation: "compact",
		maximumFractionDigits: t || 3
	}).format(e) : VQ(e)
}

function jut(e, t = 2) {
	return Math.floor(e * 100).toFixed(t) + "%"
}
const uit = xt("div", {
		target: "eu3r4br0"
	})("width:12em;max-width:100%;.text-input:not(:focus){border-color:transparent;}&:hover .text-input:not(:focus){border-color:var(--gray-200);}.rc-slider-rail{background-color:var(--gray-100);}.rc-slider-track{background-color:var(--gray-300);}.rc-slider-handle,.rc-slider-handle:focus{border-color:var(--gray-300);&:hover{border-color:var(--gray-400);}&:active{border-color:var(--gray-500) !important;box-shadow:0 0 4px rgba(0,0,0,0.2);}.rc-slider-handle-dragging{border-color:var(--gray-500) !important;}}.rc-slider-handle:focus-visible{border-color:var(--green-600);}.rc-slider-disabled{background-color:var(--bg-color);.rc-slider-handle{background-color:var(--gray-200);}}"),
	lit = xt(w4, {
		target: "eu3r4br1"
	})("margin-top:0.5em;"),
	cit = xt(oY, {
		target: "eu3r4br2"
	})("flex:0 1 auto;width:80px;padding:4px 5px 3px;line-height:15px;text-align:right;font-variant:tabular-nums;");

function fit({
	min: e,
	max: t,
	label: n,
	value: r,
	step: i,
	onChange: o,
	disabled: a,
	onBlur: s
}) {
	const [u, l] = h.useState(""), c = h.useCallback(g => {
		const m = g.target.value.trim();
		l(m);
		const _ = parseFloat(m);
		!Number.isNaN(_) && _ >= e && _ <= t && o(_)
	}, [o, t, e]), d = h.useCallback(g => {
		g.currentTarget.focus(), g.currentTarget.select()
	}, []), p = h.useCallback(g => {
		let m = parseFloat(g.target.value.trim());
		Number.isNaN(m) ? l(String(r)) : (i >= 1 && (m = Math.floor(m)), m = ait(m, e, t), l(String(m)), m !== r && o(m)), s && s()
	}, [r, i, t, e, o, s]);
	return h.useEffect(() => {
		typeof r == "number" && String(r) !== u && l(String(r))
	}, [r]), C.jsxs(uit, {
		className: "slider",
		children: [C.jsxs("div", {
			className: "flex items-center",
			children: [n && C.jsx("span", {
				className: "body-small flex-[1_0_auto]",
				children: n
			}), C.jsx(cit, {
				size: "small",
				onChange: c,
				onClick: d,
				onBlur: p,
				disabled: a,
				value: u == null ? u : String(u)
			})]
		}), C.jsx("div", {
			children: C.jsx(lit, {
				disabled: a,
				min: e,
				max: t,
				value: r,
				step: i,
				onChange: o,
				onBlur: s
			})
		})]
	})
}
const dit = J.memo(fit),
	BQ = 1,
	pit = {
		bestOf: 1,
		frequencyPenalty: 0,
		presencePenalty: 0,
		responseLength: 256,
		temperature: BQ,
		topP: 1
	},
	zQ = ({
		id: e,
		value: t,
		onChange: n,
		currentEngine: r,
		...i
	}) => {
		const o = WQ[e],
			a = typeof o.max == "function" ? o.max(r) : o.max,
			s = h.useCallback(u => {
				n(e, u)
			}, [e, n]);
		return C.jsx(Kh, {
			content: o.explanation,
			children: C.jsx("div", {
				children: C.jsx(dit, {
					label: o.label,
					min: o.min,
					max: a,
					step: o.step,
					value: t,
					onChange: s,
					...i
				}, o.backendName)
			})
		}, o.backendName + "div")
	},
	ij = {
		id: "model",
		label: "Model"
	},
	GQ = ({
		value: e,
		onChange: t
	}) => {
		const n = h.useCallback(o => {
				t(ij.id, o)
			}, [t]),
			r = pnt(),
			i = e && e.value;
		return C.jsxs("div", {
			children: [C.jsx(Kh, {
				interactive: !0,
				onMouseLeaveDelay: 200,
				content: C.jsxs(C.Fragment, {
					children: ["The model which will generate the completion. Some models are suitable for natural language tasks, others specialize in code.", " ", C.jsx("a", {
						href: "/docs/models",
						target: "_blank",
						rel: "noopener noreferrer",
						children: "Learn more"
					}), "."]
				}),
				children: C.jsx("div", {
					className: "body-small control-label",
					children: ij.label
				})
			}), C.jsx(ent, {
				completionMode: r,
				value: i,
				onChange: n,
				variant: "fill",
				align: "end"
			})]
		})
	};

function hit(e) {
	return e && uT(e.value) ? 0 : BQ
}

function Uut(e) {
	return {
		...pit,
		engine: e,
		temperature: hit(e)
	}
}
const WQ = {
	responseLength: {
		label: "Maximum length",
		backendName: "length",
		min: 1,
		max: e => e ? YRe(e) - 1 : 1,
		step: 1,
		explanation: C.jsxs("div", {
			children: ["The maximum number of tokens to ", C.jsx("b", {
				children: "generate"
			}), " shared between the prompt and completion. The exact limit varies by model. (One token is roughly 4 characters for standard English text)"]
		})
	},
	temperature: {
		label: "Temperature",
		backendName: "temperature",
		explanation: "Controls randomness: Lowering results in less random completions. As the temperature approaches zero, the model will become deterministic and repetitive.",
		min: 0,
		max: 2,
		step: .01
	},
	topP: {
		label: "Top P",
		backendName: "top_p",
		explanation: "Controls diversity via nucleus sampling: 0.5 means half of all likelihood-weighted options are considered.",
		min: 0,
		max: 1,
		step: .01
	},
	frequencyPenalty: {
		label: "Frequency penalty",
		backendName: "frequency_penalty",
		explanation: "How much to penalize new tokens based on their existing frequency in the text so far. Decreases the model's likelihood to repeat the same line verbatim.",
		min: 0,
		max: 2,
		step: .01
	},
	presencePenalty: {
		label: "Presence penalty",
		backendName: "presence_penalty",
		explanation: "How much to penalize new tokens based on whether they appear in the text so far. Increases the model's likelihood to talk about new topics.",
		min: 0,
		max: 2,
		step: .01
	},
	bestOf: {
		label: "Best of",
		backendName: "best_of",
		explanation: "Generates multiple completions server-side, and displays only the best. Streaming only works when set to 1. Since it acts as a multiplier on the number of completions, this parameters can eat into your token quota very quickly – use caution!",
		min: 1,
		max: 20,
		step: 1
	}
};

function vit({
	keys: e,
	theme: t = "dark",
	className: n,
	...r
}) {
	return C.jsx("span", {
		className: Pe("keyboard-shortcut", t, n),
		...r,
		children: e.map((i, o) => C.jsx("div", {
			className: "keyboard-shortcut-key",
			children: i
		}, typeof i == "string" ? i : o))
	})
}

function git({
	children: e,
	keys: t
}) {
	return C.jsxs("div", {
		children: [e, C.jsx(vit, {
			keys: t
		})]
	})
}

function mit(e) {
	const {
		initialPrompt: t,
		autofocus: n,
		...r
	} = e, [i, o] = h.useState(t), [a, s] = h.useState(oj(r)), [u, l] = h.useState(), [c, d] = h.useState(null), [p, g] = h.useState(!1), [m, _] = h.useState(!1), [S, y] = h.useState(!1), w = h.useRef(null), {
		user: b
	} = ft();
	h.useEffect(() => {
		n === "true" && (w != null && w.current) && (w.current.focus(), w.current.setSelectionRange(w.current.value.length, w.current.value.length))
	}, [n]);
	const E = h.useCallback(() => {
			if (!b) {
				y(!0);
				return
			}
			Tn.dashboardEvent({
				name: qo.playgroundMiniCompletion,
				data: {
					hasMadeChanges: p
				}
			}), _(!0), ptt({
				promptModerationInput: i,
				completionPromise: Nn.createCompletion(a.model.value, {
					prompt: i,
					temperature: a.temperature,
					max_tokens: a.responseLength
				}),
				getContentModerationInput: G => "".concat(i).concat(G.choices[0].text),
				onShow: G => {
					const K = G.choices[0].text.trim();
					l(K), d(void 0)
				},
				onBlocked: () => {
					l(void 0), d(C.jsx(aj, {
						moderationType: uE.prompt
					}))
				},
				onFlagged: (G, K) => d(C.jsx(aj, {
					moderationType: K.isFlagged ? uE.completion : uE.prompt
				})),
				analyticsComponent: "Mini Playground"
			}).catch(G => {
				console.error(G);
				const {
					errorMessage: K
				} = vtt(G);
				d(K)
			}).finally(() => {
				_(!1)
			})
		}, [i, a, b, p]),
		T = h.useCallback(G => {
			o(G.target.value), g(!0)
		}, []),
		O = h.useCallback(G => {
			if (G.key === "Enter" && (G.ctrlKey || G.metaKey)) {
				if (G.preventDefault(), m) return;
				E();
				return
			}
		}, [m, E]),
		R = h.useCallback(() => {
			o(t), s(oj(r)), g(!1)
		}, [t, r]),
		k = h.useCallback(() => {
			E()
		}, [E]),
		M = h.useCallback(() => {
			y(!1)
		}, []),
		D = h.useMemo(() => Object.entries(a).filter(([K]) => K in r), [a, r]),
		P = h.useCallback((G, K) => {
			s(ee => ({
				...ee,
				[G]: K
			})), g(!0)
		}, []),
		U = D.map(([G, K]) => G === "model" ? C.jsx(GQ, {
			onChange: P,
			value: K
		}, "param-model") : C.jsx(zQ, {
			id: G,
			onChange: P,
			currentEngine: a.model,
			value: K
		}, G)),
		H = U.length > 0;
	return C.jsxs("div", {
		className: "minipg",
		children: [C.jsxs("div", {
			className: Pe("minipg-main", H && "has-params"),
			children: [C.jsxs("div", {
				className: "minipg-input",
				children: [C.jsx(ltt, {
					ref: w,
					value: i,
					onChange: T,
					onKeyDown: O
				}), C.jsxs("div", {
					className: "minipg-input-buttons",
					children: [C.jsx(hf, {
						compact: !0,
						content: "Reset",
						onMouseEnterDelay: 200,
						children: C.jsx(ir, {
							size: "small",
							color: Ci.neutral,
							variant: Xb.minimal,
							className: Pe("minipg-reset", !p && "hidden"),
							onClick: R,
							"aria-label": "Reset to default",
							children: C.jsx(cze, {})
						})
					}), C.jsx(hf, {
						compact: !0,
						content: C.jsx(git, {
							keys: [gtt, "Enter"],
							children: "Generate"
						}),
						onMouseEnterDelay: 200,
						children: C.jsx(ir, {
							size: "small",
							loading: m,
							onClick: k,
							"aria-label": "Generate",
							children: C.jsx(qet, {
								className: "minipg-submit-icon"
							})
						})
					})]
				})]
			}), u && C.jsx("div", {
				className: "minipg-output",
				children: u
			}), H && C.jsx("div", {
				className: "minipg-params",
				children: U
			})]
		}), c && C.jsx("div", {
			className: "minipg-error",
			children: c
		}), S && C.jsx(mtt, {
			onClose: M
		})]
	})
}

function oj(e) {
	return {
		model: jRe,
		temperature: parseFloat(String(e.temperature)) || 0,
		responseLength: 100
	}
}

function aj(e) {
	return C.jsxs("div", {
		children: ["This ", e.moderationType, " may violate our", " ", C.jsx(aa, {
			className: "minipg-error-link",
			to: "".concat(Vn, "/usage-policies"),
			target: "_blank",
			children: "usage policies."
		}), " ", C.jsx(hf, {
			content: C.jsxs("div", {
				children: ["The request was flagged because it may violate our usage policies. We recommend taking similar steps in your application with our", " ", C.jsx("a", {
					href: "/docs/guides/moderation",
					target: "_blank",
					children: "moderation endpoint"
				}), "."]
			}),
			showArrow: !1,
			interactive: !0,
			children: C.jsx("span", {
				children: C.jsx(lze, {})
			})
		})]
	})
}

function yit({
	value: e,
	textSize: t,
	engine: n = "",
	language: r = "python",
	link: i = ""
}) {
	let o = null;
	if (i) o = C.jsx(sj, {
		url: i
	});
	else if (n) {
		const a = {
				prompt: e,
				model: n
			},
			s = "/playground?" + Ue.stringify(a);
		o = C.jsx(sj, {
			url: s
		})
	}
	return C.jsx(C.Fragment, {
		children: C.jsxs("div", {
			className: "example-content example-content-".concat(t),
			children: [C.jsx("div", {
				className: "example-content-value",
				children: n && uT(n) ? C.jsx(JJ, {
					className: "example-content-code",
					language: r,
					value: e,
					theme: "dark"
				}) : e
			}), o]
		})
	})
}

function sj({
	url: e
}) {
	return C.jsxs("a", {
		className: "example-content-link",
		href: e,
		target: "_blank",
		rel: "noopener noreferrer",
		children: ["Open in Playground", C.jsx(kY, {})]
	})
}
const wit = J.memo(function({
	type: t,
	value: n,
	...r
}) {
	return (t === "mini-playground" || t === "example-content" && (r != null && r.engine || r != null && r.language || r != null && r.link)) && rg.info("MarkdownCodeBlock has unexpected props", {
		type: t,
		restProps: r
	}), t === "example-chat" ? C.jsx(Zet, {
		value: n,
		...r
	}) : t === "example-content" ? C.jsx(yit, {
		value: n,
		textSize: "large",
		...r
	}) : t === "mini-playground" ? C.jsx(mit, {
		initialPrompt: n,
		...r
	}) : C.jsx(Get, {
		language: t || "shell",
		code: n,
		textSize: "large",
		...r
	})
});

function Hut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M10.394 2.08a1 1 0 00-.788 0l-7 3a1 1 0 000 1.84L5.25 8.051a.999.999 0 01.356-.257l4-1.714a1 1 0 11.788 1.838L7.667 9.088l1.94.831a1 1 0 00.787 0l7-3a1 1 0 000-1.838l-7-3zM3.31 9.397L5 10.12v4.102a8.969 8.969 0 00-1.05-.174 1 1 0 01-.89-.89 11.115 11.115 0 01.25-3.762zM9.3 16.573A9.026 9.026 0 007 14.935v-3.957l1.818.78a3 3 0 002.364 0l5.508-2.361a11.026 11.026 0 01.25 3.762 1 1 0 01-.89.89 8.968 8.968 0 00-5.35 2.524 1 1 0 01-1.4 0zM6 18a1 1 0 001-1v-2.065a8.935 8.935 0 00-2-.712V17a1 1 0 001 1z"
			}
		}]
	})(e)
}

function Vut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M18 13V5a2 2 0 00-2-2H4a2 2 0 00-2 2v8a2 2 0 002 2h3l3 3 3-3h3a2 2 0 002-2zM5 7a1 1 0 011-1h8a1 1 0 110 2H6a1 1 0 01-1-1zm1 3a1 1 0 100 2h3a1 1 0 100-2H6z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function But(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M16.707 10.293a1 1 0 010 1.414l-6 6a1 1 0 01-1.414 0l-6-6a1 1 0 111.414-1.414L9 14.586V3a1 1 0 012 0v11.586l4.293-4.293a1 1 0 011.414 0z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function zut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M6.267 3.455a3.066 3.066 0 001.745-.723 3.066 3.066 0 013.976 0 3.066 3.066 0 001.745.723 3.066 3.066 0 012.812 2.812c.051.643.304 1.254.723 1.745a3.066 3.066 0 010 3.976 3.066 3.066 0 00-.723 1.745 3.066 3.066 0 01-2.812 2.812 3.066 3.066 0 00-1.745.723 3.066 3.066 0 01-3.976 0 3.066 3.066 0 00-1.745-.723 3.066 3.066 0 01-2.812-2.812 3.066 3.066 0 00-.723-1.745 3.066 3.066 0 010-3.976 3.066 3.066 0 00.723-1.745 3.066 3.066 0 012.812-2.812zm7.44 5.252a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function Gut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M9 4.804A7.968 7.968 0 005.5 4c-1.255 0-2.443.29-3.5.804v10A7.969 7.969 0 015.5 14c1.669 0 3.218.51 4.5 1.385A7.962 7.962 0 0114.5 14c1.255 0 2.443.29 3.5.804v-10A7.968 7.968 0 0014.5 4c-1.255 0-2.443.29-3.5.804V12a1 1 0 11-2 0V4.804z"
			}
		}]
	})(e)
}

function Wut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M6 6V5a3 3 0 013-3h2a3 3 0 013 3v1h2a2 2 0 012 2v3.57A22.952 22.952 0 0110 13a22.95 22.95 0 01-8-1.43V8a2 2 0 012-2h2zm2-1a1 1 0 011-1h2a1 1 0 011 1v1H8V5zm1 5a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1z",
				clipRule: "evenodd"
			}
		}, {
			tag: "path",
			attr: {
				d: "M2 13.692V16a2 2 0 002 2h12a2 2 0 002-2v-2.308A24.974 24.974 0 0110 15c-2.796 0-5.487-.46-8-1.308z"
			}
		}]
	})(e)
}

function Kut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M6 3a1 1 0 011-1h.01a1 1 0 010 2H7a1 1 0 01-1-1zm2 3a1 1 0 00-2 0v1a2 2 0 00-2 2v1a2 2 0 00-2 2v.683a3.7 3.7 0 011.055.485 1.704 1.704 0 001.89 0 3.704 3.704 0 014.11 0 1.704 1.704 0 001.89 0 3.704 3.704 0 014.11 0 1.704 1.704 0 001.89 0A3.7 3.7 0 0118 12.683V12a2 2 0 00-2-2V9a2 2 0 00-2-2V6a1 1 0 10-2 0v1h-1V6a1 1 0 10-2 0v1H8V6zm10 8.868a3.704 3.704 0 01-4.055-.036 1.704 1.704 0 00-1.89 0 3.704 3.704 0 01-4.11 0 1.704 1.704 0 00-1.89 0A3.704 3.704 0 012 14.868V17a1 1 0 001 1h14a1 1 0 001-1v-2.132zM9 3a1 1 0 011-1h.01a1 1 0 110 2H10a1 1 0 01-1-1zm3 0a1 1 0 011-1h.01a1 1 0 110 2H13a1 1 0 01-1-1z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function Zut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M18 5v8a2 2 0 01-2 2h-5l-5 4v-4H4a2 2 0 01-2-2V5a2 2 0 012-2h12a2 2 0 012 2zM7 8H5v2h2V8zm2 0h2v2H9V8zm6 0h-2v2h2V8z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function qut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M18 10c0 3.866-3.582 7-8 7a8.841 8.841 0 01-4.083-.98L2 17l1.338-3.123C2.493 12.767 2 11.434 2 10c0-3.866 3.582-7 8-7s8 3.134 8 7zM7 9H5v2h2V9zm8 0h-2v2h2V9zM9 9h2v2H9V9z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function Yut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M12.316 3.051a1 1 0 01.633 1.265l-4 12a1 1 0 11-1.898-.632l4-12a1 1 0 011.265-.633zM5.707 6.293a1 1 0 010 1.414L3.414 10l2.293 2.293a1 1 0 11-1.414 1.414l-3-3a1 1 0 010-1.414l3-3a1 1 0 011.414 0zm8.586 0a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 11-1.414-1.414L16.586 10l-2.293-2.293a1 1 0 010-1.414z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function Xut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M7 3a1 1 0 000 2h6a1 1 0 100-2H7zM4 7a1 1 0 011-1h10a1 1 0 110 2H5a1 1 0 01-1-1zM2 11a2 2 0 012-2h12a2 2 0 012 2v4a2 2 0 01-2 2H4a2 2 0 01-2-2v-4z"
			}
		}]
	})(e)
}

function Jut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M11 17a1 1 0 001.447.894l4-2A1 1 0 0017 15V9.236a1 1 0 00-1.447-.894l-4 2a1 1 0 00-.553.894V17zM15.211 6.276a1 1 0 000-1.788l-4.764-2.382a1 1 0 00-.894 0L4.789 4.488a1 1 0 000 1.788l4.764 2.382a1 1 0 00.894 0l4.764-2.382zM4.447 8.342A1 1 0 003 9.236V15a1 1 0 00.553.894l4 2A1 1 0 009 17v-5.764a1 1 0 00-.553-.894l-4-2z"
			}
		}]
	})(e)
}

function Qut(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z"
			}
		}, {
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function elt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4zm2 6a1 1 0 011-1h6a1 1 0 110 2H7a1 1 0 01-1-1zm1 3a1 1 0 100 2h6a1 1 0 100-2H7z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function tlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M6 10a2 2 0 11-4 0 2 2 0 014 0zM12 10a2 2 0 11-4 0 2 2 0 014 0zM16 12a2 2 0 100-4 2 2 0 000 4z"
			}
		}]
	})(e)
}

function nlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zm-.464 5.535a1 1 0 10-1.415-1.414 3 3 0 01-4.242 0 1 1 0 00-1.415 1.414 5 5 0 007.072 0z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function rlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zm-7.536 5.879a1 1 0 001.415 0 3 3 0 014.242 0 1 1 0 001.415-1.415 5 5 0 00-7.072 0 1 1 0 000 1.415z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function ilt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7 4a1 1 0 11-2 0 1 1 0 012 0zm-1-9a1 1 0 00-1 1v4a1 1 0 102 0V6a1 1 0 00-1-1z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function olt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M10 12a2 2 0 100-4 2 2 0 000 4z"
			}
		}, {
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M.458 10C1.732 5.943 5.522 3 10 3s8.268 2.943 9.542 7c-1.274 4.057-5.064 7-9.542 7S1.732 14.057.458 10zM14 10a4 4 0 11-8 0 4 4 0 018 0z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function alt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M4.555 5.168A1 1 0 003 6v8a1 1 0 001.555.832L10 11.202V14a1 1 0 001.555.832l6-4a1 1 0 000-1.664l-6-4A1 1 0 0010 6v2.798l-5.445-3.63z"
			}
		}]
	})(e)
}

function slt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M3 3a1 1 0 011-1h12a1 1 0 011 1v3a1 1 0 01-.293.707L12 11.414V15a1 1 0 01-.293.707l-2 2A1 1 0 018 17v-5.586L3.293 6.707A1 1 0 013 6V3z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function ult(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M4.083 9h1.946c.089-1.546.383-2.97.837-4.118A6.004 6.004 0 004.083 9zM10 2a8 8 0 100 16 8 8 0 000-16zm0 2c-.076 0-.232.032-.465.262-.238.234-.497.623-.737 1.182-.389.907-.673 2.142-.766 3.556h3.936c-.093-1.414-.377-2.649-.766-3.556-.24-.56-.5-.948-.737-1.182C10.232 4.032 10.076 4 10 4zm3.971 5c-.089-1.546-.383-2.97-.837-4.118A6.004 6.004 0 0115.917 9h-1.946zm-2.003 2H8.032c.093 1.414.377 2.649.766 3.556.24.56.5.948.737 1.182.233.23.389.262.465.262.076 0 .232-.032.465-.262.238-.234.498-.623.737-1.182.389-.907.673-2.142.766-3.556zm1.166 4.118c.454-1.147.748-2.572.837-4.118h1.946a6.004 6.004 0 01-2.783 4.118zm-6.268 0C6.412 13.97 6.118 12.546 6.03 11H4.083a6.004 6.004 0 002.783 4.118z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function llt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M9.243 3.03a1 1 0 01.727 1.213L9.53 6h2.94l.56-2.243a1 1 0 111.94.486L14.53 6H17a1 1 0 110 2h-2.97l-1 4H15a1 1 0 110 2h-2.47l-.56 2.242a1 1 0 11-1.94-.485L10.47 14H7.53l-.56 2.242a1 1 0 11-1.94-.485L5.47 14H3a1 1 0 110-2h2.97l1-4H5a1 1 0 110-2h2.47l.56-2.243a1 1 0 011.213-.727zM9.03 8l-1 4h2.938l1-4H9.031z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function clt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M18 8a6 6 0 01-7.743 5.743L10 14l-1 1-1 1H6v2H2v-4l4.257-4.257A6 6 0 1118 8zm-6-4a1 1 0 100 2 2 2 0 012 2 1 1 0 102 0 4 4 0 00-4-4z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function flt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M11 3a1 1 0 10-2 0v1a1 1 0 102 0V3zM15.657 5.757a1 1 0 00-1.414-1.414l-.707.707a1 1 0 001.414 1.414l.707-.707zM18 10a1 1 0 01-1 1h-1a1 1 0 110-2h1a1 1 0 011 1zM5.05 6.464A1 1 0 106.464 5.05l-.707-.707a1 1 0 00-1.414 1.414l.707.707zM5 10a1 1 0 01-1 1H3a1 1 0 110-2h1a1 1 0 011 1zM8 16v-1h4v1a2 2 0 11-4 0zM12 14c.015-.34.208-.646.477-.859a4 4 0 10-4.954 0c.27.213.462.519.476.859h4.002z"
			}
		}]
	})(e)
}

function _it(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M12.586 4.586a2 2 0 112.828 2.828l-3 3a2 2 0 01-2.828 0 1 1 0 00-1.414 1.414 4 4 0 005.656 0l3-3a4 4 0 00-5.656-5.656l-1.5 1.5a1 1 0 101.414 1.414l1.5-1.5zm-5 5a2 2 0 012.828 0 1 1 0 101.414-1.414 4 4 0 00-5.656 0l-3 3a4 4 0 105.656 5.656l1.5-1.5a1 1 0 10-1.414-1.414l-1.5 1.5a2 2 0 11-2.828-2.828l3-3z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function dlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function plt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z"
			}
		}, {
			tag: "path",
			attr: {
				d: "M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z"
			}
		}]
	})(e)
}

function hlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M2 5a2 2 0 012-2h8a2 2 0 012 2v10a2 2 0 002 2H4a2 2 0 01-2-2V5zm3 1h6v4H5V6zm6 6H5v2h6v-2z",
				clipRule: "evenodd"
			}
		}, {
			tag: "path",
			attr: {
				d: "M15 7h1a2 2 0 012 2v5.5a1.5 1.5 0 01-3 0V7z"
			}
		}]
	})(e)
}

function vlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				d: "M17.414 2.586a2 2 0 00-2.828 0L7 10.172V13h2.828l7.586-7.586a2 2 0 000-2.828z"
			}
		}, {
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M2 6a2 2 0 012-2h4a1 1 0 010 2H4v10h10v-4a1 1 0 112 0v4a2 2 0 01-2 2H4a2 2 0 01-2-2V6z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function glt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M4 3a2 2 0 00-2 2v10a2 2 0 002 2h12a2 2 0 002-2V5a2 2 0 00-2-2H4zm12 12H4l4-8 3 6 2-4 3 6z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function mlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-3a1 1 0 00-.867.5 1 1 0 11-1.731-1A3 3 0 0113 8a3.001 3.001 0 01-2 2.83V11a1 1 0 11-2 0v-1a1 1 0 011-1 1 1 0 100-2zm0 8a1 1 0 100-2 1 1 0 000 2z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function ylt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M18 3a1 1 0 00-1.447-.894L8.763 6H5a3 3 0 000 6h.28l1.771 5.316A1 1 0 008 18h1a1 1 0 001-1v-4.382l6.553 3.276A1 1 0 0018 15V3z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function wlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M5 4a3 3 0 00-3 3v6a3 3 0 003 3h10a3 3 0 003-3V7a3 3 0 00-3-3H5zm-1 9v-1h5v2H5a1 1 0 01-1-1zm7 1h4a1 1 0 001-1v-1h-5v2zm0-4h5V8h-5v2zM9 8H4v2h5V8z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function _lt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M17.707 9.293a1 1 0 010 1.414l-7 7a1 1 0 01-1.414 0l-7-7A.997.997 0 012 10V5a3 3 0 013-3h5c.256 0 .512.098.707.293l7 7zM5 6a1 1 0 100-2 1 1 0 000 2z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function blt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M2 5a2 2 0 012-2h12a2 2 0 012 2v10a2 2 0 01-2 2H4a2 2 0 01-2-2V5zm3.293 1.293a1 1 0 011.414 0l3 3a1 1 0 010 1.414l-3 3a1 1 0 01-1.414-1.414L7.586 10 5.293 7.707a1 1 0 010-1.414zM11 12a1 1 0 100 2h3a1 1 0 100-2h-3z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function Slt(e) {
	return Ce({
		tag: "svg",
		attr: {
			viewBox: "0 0 20 20",
			fill: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				fillRule: "evenodd",
				d: "M7 2a1 1 0 011 1v1h3a1 1 0 110 2H9.578a18.87 18.87 0 01-1.724 4.78c.29.354.596.696.914 1.026a1 1 0 11-1.44 1.389c-.188-.196-.373-.396-.554-.6a19.098 19.098 0 01-3.107 3.567 1 1 0 01-1.334-1.49 17.087 17.087 0 003.13-3.733 18.992 18.992 0 01-1.487-2.494 1 1 0 111.79-.89c.234.47.489.928.764 1.372.417-.934.752-1.913.997-2.927H3a1 1 0 110-2h3V3a1 1 0 011-1zm6 6a1 1 0 01.894.553l2.991 5.982a.869.869 0 01.02.037l.99 1.98a1 1 0 11-1.79.895L15.383 16h-4.764l-.724 1.447a1 1 0 11-1.788-.894l.99-1.98.019-.038 2.99-5.982A1 1 0 0113 8zm-1.382 6h2.764L13 11.236 11.618 14z",
				clipRule: "evenodd"
			}
		}]
	})(e)
}

function xlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			fill: "none",
			viewBox: "0 0 24 24",
			strokeWidth: "2",
			stroke: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				strokeLinecap: "round",
				strokeLinejoin: "round",
				d: "M12 6V4m0 2a2 2 0 100 4m0-4a2 2 0 110 4m-6 8a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4m6 6v10m6-2a2 2 0 100-4m0 4a2 2 0 110-4m0 4v2m0-6V4"
			}
		}]
	})(e)
}

function Elt(e) {
	return Ce({
		tag: "svg",
		attr: {
			fill: "none",
			viewBox: "0 0 24 24",
			strokeWidth: "2",
			stroke: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				strokeLinecap: "round",
				strokeLinejoin: "round",
				d: "M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"
			}
		}]
	})(e)
}

function Clt(e) {
	return Ce({
		tag: "svg",
		attr: {
			fill: "none",
			viewBox: "0 0 24 24",
			strokeWidth: "2",
			stroke: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				strokeLinecap: "round",
				strokeLinejoin: "round",
				d: "M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
			}
		}]
	})(e)
}

function Olt(e) {
	return Ce({
		tag: "svg",
		attr: {
			fill: "none",
			viewBox: "0 0 24 24",
			strokeWidth: "2",
			stroke: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				strokeLinecap: "round",
				strokeLinejoin: "round",
				d: "M13 10V3L4 14h7v7l9-11h-7z"
			}
		}]
	})(e)
}

function Tlt(e) {
	return Ce({
		tag: "svg",
		attr: {
			fill: "none",
			viewBox: "0 0 24 24",
			strokeWidth: "2",
			stroke: "currentColor",
			"aria-hidden": "true"
		},
		child: [{
			tag: "path",
			attr: {
				strokeLinecap: "round",
				strokeLinejoin: "round",
				d: "M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"
			}
		}]
	})(e)
}
var bit = da,
	Sit = function() {
		return bit.Date.now()
	},
	xit = Sit,
	Eit = /\s/;

function Cit(e) {
	for (var t = e.length; t-- && Eit.test(e.charAt(t)););
	return t
}
var Oit = Cit,
	Tit = Oit,
	Rit = /^\s+/;

function Iit(e) {
	return e && e.slice(0, Tit(e) + 1).replace(Rit, "")
}
var kit = Iit,
	Ait = kit,
	uj = Yi,
	Mit = Vb,
	lj = NaN,
	Pit = /^[-+]0x[0-9a-f]+$/i,
	Lit = /^0b[01]+$/i,
	Nit = /^0o[0-7]+$/i,
	Dit = parseInt;

function $it(e) {
	if (typeof e == "number") return e;
	if (Mit(e)) return lj;
	if (uj(e)) {
		var t = typeof e.valueOf == "function" ? e.valueOf() : e;
		e = uj(t) ? t + "" : t
	}
	if (typeof e != "string") return e === 0 ? e : +e;
	e = Ait(e);
	var n = Lit.test(e);
	return n || Nit.test(e) ? Dit(e.slice(2), n ? 2 : 8) : Pit.test(e) ? lj : +e
}
var Fit = $it,
	jit = Yi,
	mE = xit,
	cj = Fit,
	Uit = "Expected a function",
	Hit = Math.max,
	Vit = Math.min;

function Bit(e, t, n) {
	var r, i, o, a, s, u, l = 0,
		c = !1,
		d = !1,
		p = !0;
	if (typeof e != "function") throw new TypeError(Uit);
	t = cj(t) || 0, jit(n) && (c = !!n.leading, d = "maxWait" in n, o = d ? Hit(cj(n.maxWait) || 0, t) : o, p = "trailing" in n ? !!n.trailing : p);

	function g(O) {
		var R = r,
			k = i;
		return r = i = void 0, l = O, a = e.apply(k, R), a
	}

	function m(O) {
		return l = O, s = setTimeout(y, t), c ? g(O) : a
	}

	function _(O) {
		var R = O - u,
			k = O - l,
			M = t - R;
		return d ? Vit(M, o - k) : M
	}

	function S(O) {
		var R = O - u,
			k = O - l;
		return u === void 0 || R >= t || R < 0 || d && k >= o
	}

	function y() {
		var O = mE();
		if (S(O)) return w(O);
		s = setTimeout(y, _(O))
	}

	function w(O) {
		return s = void 0, p && r ? g(O) : (r = i = void 0, a)
	}

	function b() {
		s !== void 0 && clearTimeout(s), l = 0, r = u = i = s = void 0
	}

	function E() {
		return s === void 0 ? a : w(mE())
	}

	function T() {
		var O = mE(),
			R = S(O);
		if (r = arguments, i = this, u = O, R) {
			if (s === void 0) return m(u);
			if (d) return clearTimeout(s), s = setTimeout(y, t), g(u)
		}
		return s === void 0 && (s = setTimeout(y, t)), a
	}
	return T.cancel = b, T.flush = E, T
}
var KQ = Bit;
const zit = Et(KQ);
var Git = KQ,
	Wit = Yi,
	Kit = "Expected a function";

function Zit(e, t, n) {
	var r = !0,
		i = !0;
	if (typeof e != "function") throw new TypeError(Kit);
	return Wit(n) && (r = "leading" in n ? !!n.leading : r, i = "trailing" in n ? !!n.trailing : i), Git(e, t, {
		leading: r,
		maxWait: t,
		trailing: i
	})
}
var qit = Zit;
const Yit = Et(qit),
	ZQ = J.createContext({
		active: !1,
		pathPrefix: "",
		maxHeadingLevel: 4
	}),
	qQ = () => h.useContext(ZQ);

function Xit({
	children: e,
	pathPrefix: t,
	scrollRef: n,
	ready: r,
	maxHeadingLevel: i = 4
}) {
	const o = h.useRef(null),
		a = h.useRef(null),
		s = h.useRef(!1),
		u = h.useRef(() => {});
	h.useEffect(() => {
		const c = n ? n.current : document.getElementById("root");
		if (r === !1 || !t || !c) return;
		const d = Yit(() => {
			if (s.current) return;
			let m = null;
			const _ = new Array(i).fill(0).map((y, w) => "h".concat(w + 1)).join(","),
				S = c.querySelectorAll(_);
			for (let y = 0; y < S.length; y++) {
				const w = S[y],
					b = w.getAttribute("data-name"),
					E = "".concat(t, "/").concat(b);
				if (!document.querySelector('.scroll-link[href="'.concat(E, '"]'))) continue;
				if (w.getBoundingClientRect().top > 300) break;
				m = w
			}
			if (m) {
				const y = m.getAttribute("data-name");
				y !== o.current && (o.current = y, p(y))
			} else o.current && (o.current = null, p(null))
		}, 100);
		c.addEventListener("scroll", d);
		const p = zit(m => {
			Ka(location.pathname, {
				path: t
			}) && jn.replace({
				pathname: "".concat(t).concat(m ? "/".concat(m) : ""),
				search: window.location.search,
				hash: window.location.hash,
				state: {
					dueToScroll: !0
				}
			})
		}, 200);
		u.current = (m, _) => {
			const S = m.state || {},
				y = m.hash ? m.hash.replace("#", "") : null,
				w = m.pathname === t ? null : m.pathname.replace("".concat(t, "/"), "");
			if (!Ka(m.pathname, {
					path: t
				})) return;
			const b = E => {
				const T = Jit();
				let O = E.getBoundingClientRect().top - (c.getBoundingClientRect().top - c.scrollTop) - T;
				return O < 20 && (O = 0), O
			};
			if (_ === !0 || !S.dueToScroll) {
				if (y && y !== a.current) {
					a.current = y;
					const E = c.querySelector('[data-anchor="'.concat(y, '"]'));
					if (E) {
						c.scrollTo(0, b(E));
						return
					}
				} else if (w !== o.current) {
					o.current = w;
					let E = 0;
					if (w) {
						const T = c.querySelector('[data-name="'.concat(w, '"]'));
						T && (E = b(T))
					}
					s.current = !0, setTimeout(() => {
						c.scrollTo(0, E)
					}, 10), setTimeout(() => {
						s.current = !1
					}, 300)
				}
			}
		};
		const g = jn.listen(m => u.current(m, !1));
		return u.current(jn.location, !0), () => {
			g(), d.cancel(), p.cancel(), c.removeEventListener("scroll", d)
		}
	}, [r, t, i, n]);
	const l = h.useMemo(() => ({
		active: !0,
		pathPrefix: t,
		maxHeadingLevel: i
	}), [t, i]);
	return C.jsx(ZQ.Provider, {
		value: l,
		children: e
	})
}

function Jit() {
	return 30
}
const Rlt = J.memo(Xit);

function Qit({
	tag: e,
	name: t,
	children: n
}) {
	const r = qQ(),
		i = "".concat(r.pathPrefix, "/").concat(t),
		o = h.useCallback(a => {
			a.preventDefault(), PJ(window.location.origin + i), Ui.success("Link copied!")
		}, [i]);
	return C.jsx("div", {
		className: "anchor-heading-root",
		children: C.jsx(aa, {
			to: i,
			className: "anchor-heading-link",
			onClick: o,
			children: C.jsxs(e, {
				className: "anchor-heading",
				"data-name": t,
				children: [n, C.jsx(_it, {
					className: "anchor-heading-icon",
					size: "15px"
				})]
			})
		})
	})
}
const xd = ({
	level: e,
	children: t,
	slug: n,
	number: r
}) => {
	const o = J.Children.toArray(t).reduce(YQ, ""),
		a = n || cGe(o),
		s = "h" + e,
		u = qQ(),
		l = u.active && e <= u.maxHeadingLevel,
		c = r !== void 0 && C.jsx("span", {
			className: "md-heading-num",
			children: r
		});
	return l ? C.jsxs(Qit, {
		tag: s,
		name: a,
		children: [c, t]
	}) : C.jsxs(s, {
		className: "md-nonanchor-heading",
		children: [c, t]
	})
};

function YQ(e, t) {
	return typeof t == "string" ? e + t : J.Children.toArray(t.props.children).reduce(YQ, e)
}
const eot = e => {
		const {
			showLinkHallucinationWarning: t,
			isAllowlistedLink: n,
			style: r
		} = e;
		return t ? C.jsx(hf, {
			content: "Warning: this link has been generated by the model and may not function properly.",
			children: C.jsx("span", {
				onClick: i => {
					n || (i.stopPropagation(), i.preventDefault())
				},
				children: C.jsx(fj, {
					...e,
					style: {
						...r != null ? r : {},
						color: "var(--text-secondary)",
						textDecoration: "underline dotted var(--gray-400)"
					}
				})
			})
		}) : C.jsx(fj, {
			...e
		})
	},
	fj = e => {
		const {
			href: t,
			children: n,
			target: r,
			style: i,
			useSpan: o
		} = e, a = U8();
		return o ? C.jsx("span", {
			className: "anchor-link-span",
			style: i,
			onClick: () => {
				t != null && t.startsWith("/") ? a.push(t) : window.open(t, r || "_blank")
			},
			children: n
		}) : t === "LAUNCH_INTERCOM" ? C.jsx("a", {
			href: "#",
			style: i,
			onClick: s => {
				s.preventDefault(), window.Intercom("show")
			},
			children: n
		}) : (t == null ? void 0 : t.indexOf("#")) === 0 ? C.jsx("a", {
			href: t,
			style: i,
			children: n
		}) : (t == null ? void 0 : t.indexOf("/")) === 0 ? C.jsx(aa, {
			to: t,
			target: r,
			style: i,
			children: n
		}) : (t == null ? void 0 : t.indexOf("/")) === 0 ? C.jsx(aa, {
			to: t,
			target: r,
			style: i,
			children: n
		}) : C.jsx("a", {
			href: t,
			target: r || "_blank",
			style: i,
			rel: "noopener noreferrer",
			children: n
		})
	},
	tot = {
		h1: e => C.jsx(xd, {
			level: 1,
			...e
		}),
		h2: e => C.jsx(xd, {
			level: 2,
			...e
		}),
		h3: e => C.jsx(xd, {
			level: 3,
			...e
		}),
		h4: e => C.jsx(xd, {
			level: 4,
			...e
		}),
		h5: e => C.jsx(xd, {
			level: 5,
			...e
		}),
		h6: e => C.jsx(xd, {
			level: 6,
			...e
		}),
		a: eot,
		pre: ({
			className: e,
			children: t,
			...n
		}) => {
			const r = t,
				i = r.props.children.replace(/\s+$/, ""),
				o = r.props.className ? (r.props.className.match(/language-(.*)$/) || [])[1] : "text";
			return C.jsx(wit, {
				value: i,
				type: o,
				...n
			})
		}
	};
class not {
	constructor() {
		this.createHandler = null, this.getModalsHandler = null, this.closeAllHandler = null, this._bindCreate = t => {
			this.createHandler = t
		}, this._bindGetModals = t => {
			this.getModalsHandler = t
		}, this._bindCloseAll = t => {
			this.closeAllHandler = t
		}, this.getModals = () => this.getModalsHandler(), this.closeAll = () => this.closeAllHandler()
	}
	create(t) {
		return this.createHandler(t)
	}
}
const yE = new not,
	b_ = class b_ extends J.PureComponent {
		constructor(t, n) {
			super(t, n), this.getModals = () => this.state.modals, this.create = r => {
				if (r.id)
					for (const o of this.state.modals) String(o.id).startsWith("".concat(r.id, "|")) && this.closeModal(o.id);
				const i = this.createModalInstance(r);
				return this.setState(o => ({
					modals: [i, ...o.modals]
				})), i
			}, this.createModalInstance = r => {
				const {
					id: i,
					actions: o = [],
					...a
				} = r, s = String(++b_.idCounter), u = i !== void 0 ? "".concat(r.id, "|").concat(s) : s, l = () => this.closeModal(u), c = o.map(d => ({
					...d,
					onClick: d.onClick ? () => d.onClick(l) : l
				}));
				return {
					id: u,
					isOpen: !0,
					...a,
					actions: c,
					close: a.onClose ? () => {
						l(), a.onClose()
					} : l
				}
			}, this.closeModal = r => {
				this.setState(i => ({
					modals: i.modals.filter(o => o.id !== r)
				}))
			}, this.closeAll = () => {
				this.getModals().forEach(r => r.close())
			}, this.renderModal = r => {
				const {
					id: i,
					title: o,
					body: a,
					actions: s,
					close: u,
					footerProps: l,
					...c
				} = r, d = C.jsx(i4, {
					children: o
				}), p = C.jsx(zh, {
					children: typeof a == "function" ? J.createElement(a) : a
				}), g = C.jsx(n9, {
					...l,
					children: s.map(m => C.jsx(r6, {
						onClick: m.onClick,
						color: m.color || Ci.neutral,
						variant: m.variant || Xb.filled,
						children: m.label
					}, String(m.label)))
				});
				return C.jsxs(Cl, {
					onClose: u,
					...c,
					children: [d, p, g]
				}, i)
			}, this.state = {
				modals: [],
				isBrowserHydrated: !1
			}, yE._bindCreate(this.create), yE._bindGetModals(this.getModals), yE._bindCloseAll(this.closeAll)
		}
		componentDidMount() {
			this.setState({
				isBrowserHydrated: !0
			})
		}
		render() {
			return this.state.isBrowserHydrated ? C.jsx(C.Fragment, {
				children: this.state.modals.map(this.renderModal)
			}) : null
		}
	};
b_.idCounter = 0;
let C6 = b_;
const rot = "_8eKfC",
	iot = {
		Toast: rot
	},
	oot = h.memo(function({
		intent: t,
		onRemove: n,
		title: r,
		description: i,
		hasCloseButton: o,
		duration: a
	}) {
		const s = h.useRef(null),
			[u, l] = h.useState(0),
			[c, d] = h.useState(!1);
		return LLe(n, !c && a ? a * 1e3 : null), h.useLayoutEffect(() => {
			s.current && l(aot(s.current))
		}, []), C.jsx("div", {
			className: iot.Toast,
			onMouseEnter: () => d(!0),
			onMouseLeave: () => d(!1),
			style: Qb({
				"toast-height": "".concat(u, "px")
			}),
			children: C.jsxs(JV, {
				ref: s,
				intent: t,
				onRemove: o ? n : void 0,
				className: "flex-shrink-0 shadow-md pointer-events-auto mt-2 mx-auto",
				children: [C.jsx("div", {
					className: "alert-title",
					children: r
				}), i && C.jsx("div", {
					children: i
				})]
			})
		})
	});

function aot(e) {
	const t = window.getComputedStyle(e);
	return e.offsetHeight + parseInt(t.marginTop) + parseInt(t.marginBottom)
}
const sot = "CRjGu",
	uot = {
		ToastContainer: sot
	},
	dj = e => Object.hasOwnProperty.call(e, "id"),
	lot = h.memo(function() {
		const t = h.useRef(0),
			[n, r] = h.useState([]),
			i = h.useRef(n);
		return i.current = n, h.useEffect(() => {
			Ui._bindNotify((o, a) => {
				dj(a) && r(c => c.filter(d => !String(d.id).startsWith(a.id)));
				const s = ++t.current,
					u = dj(a) ? "".concat(a.id, "-").concat(s) : String(s),
					l = {
						id: u,
						title: o,
						description: a.description,
						hasCloseButton: a.hasCloseButton || !0,
						duration: typeof a.duration == "number" ? a.duration : 3,
						intent: a.intent || Zu.info,
						onRemove: () => r(c => c.filter(d => d.id !== u))
					};
				return r(c => [l, ...c]), l
			}), Ui._bindGetToasts(() => i.current), Ui._bindCloseAll(() => r([]))
		}, []), Qa.createPortal(C.jsx("div", {
			className: uot.ToastContainer,
			children: C.jsx(o1, {
				enterDuration: 300,
				exitDuration: 250,
				children: n.map(o => C.jsx(oot, {
					...o
				}, o.id))
			})
		}), document.body)
	});

function cot() {
	return h.useEffect(() => {
		console.log('%c\n           .d88888b.             \n         .8P"     "9bd888b.      \n        .8P     .d8P"   `"988.   \n     .8888   .d8P"    ,     98.  \n   .8P" 88   8"    .d98b.    88  \n  .8P   88   8 .d8P"   "98b. 88  \n  88    88   8P"  `"8b.    "98.  \n  88.   88   8       8"8b.    88 \n   88    "98.8       8   88   "88\n    `8b.    "98.,  .d8   88    88\n    88 "98b.   .d8P" 8   88   d8"\n    88    "98bP"    .8   88 .d8" \n    "8b     `    .d8P"   8888"   \n     "88b.,   .d8P"     d8"      \n       "9888P98b.     .d8"       \n               "988888P"         \n\n\n  Solve Impossible Problems\n  openai.com/jobs\n', "font-family:monospace; ")
	}, []), null
}
class fot {
	static getItem(t) {
		try {
			return sessionStorage.getItem(t)
		} catch (n) {
			return null
		}
	}
	static setItem(t, n) {
		try {
			sessionStorage.setItem(t, n)
		} catch (r) {}
	}
}
const dot = qY();
c6(dot);
let pj = 0;
gbe({
	dsn: "https://a420f427111d4831b9e18763b745d20e@o33249.ingest.sentry.io/5415417",
	environment: "production",
	beforeSend(e) {
		return pj++, pj > 50 ? null : e
	}
});
window.addEventListener("vite:preloadError", e => {
	var o, a, s;
	const t = fot.getItem("oai/last-force-reload"),
		n = t ? Number(t) : null,
		r = Date.now();
	n === null || n + 1e4 < r ? ((o = e == null ? void 0 : e.preventDefault) == null || o.call(e), console.error("The page content is out of date. Refreshing..."), Tn.onboardingEvent("Preload Error: Refresh ", {
		error: (a = e == null ? void 0 : e.payload) == null ? void 0 : a.message
	}), sessionStorage.setItem("oai/last-force-reload", String(r)), window.location.reload()) : Tn.onboardingEvent("Preload Error: Unhandled", {
		error: (s = e == null ? void 0 : e.payload) == null ? void 0 : s.message
	})
});
const pot = new jpe({
	defaultOptions: {
		queries: {
			refetchOnReconnect: !1,
			refetchOnWindowFocus: !1
		}
	}
});
rg.initialize();
IK(document.getElementById("root")).render(Ur.jsx(h.StrictMode, {
	children: Ur.jsx(ove, {
		client: pot,
		children: Ur.jsx(P7e, {
			children: Ur.jsx(bGe, {
				children: Ur.jsx(nIe, {
					children: Ur.jsx(HVe, {
						children: Ur.jsx(mIe, {
							children: Ur.jsx(hqe, {
								children: Ur.jsx(_Ie, {
									components: tot,
									children: Ur.jsxs(pze, {
										children: [Ur.jsx(RJe, {}), Ur.jsx(lot, {}), Ur.jsx(C6, {}), Ur.jsx(AJe, {}), Ur.jsx(cot, {})]
									})
								})
							})
						})
					})
				})
			})
		})
	})
}));
export {
	ist as $, Ust as A, NPe as B, h as C, ft as D, H8 as E, mat as F, Pe as G, Wat as H, ZK as I, Qa as J, BRe as K, aa as L, Rlt as M, xd as N, Qit as O, Get as P, Lr as Q, J as R, Rut as S, URe as T, rg as U, lT as V, X0 as W, cGe as X, Cat as Y, PJ as Z, Ui as _, vot as __vite_legacy_guard, kut as a, yW as a$, yIe as a0, nst as a1, Tn as a2, qo as a3, Tat as a4, uXe as a5, ir as a6, Zat as a7, Aat as a8, gst as a9, JJ as aA, l6 as aB, VMe as aC, Rj as aD, Mst as aE, Tst as aF, lat as aG, ast as aH, xst as aI, rst as aJ, $st as aK, hf as aL, Dst as aM, Nst as aN, Cl as aO, i4 as aP, zh as aQ, oY as aR, u$ as aS, n9 as aT, r6 as aU, s$ as aV, tr as aW, j8 as aX, Xn as aY, rJe as aZ, Re as a_, qQ as aa, _it as ab, eot as ac, zut as ad, Olt as ae, olt as af, bat as ag, Ist as ah, hst as ai, xlt as aj, Jut as ak, glt as al, But as am, Gut as an, xat as ao, Ci as ap, mlt as aq, elt as ar, qut as as, blt as at, est as au, Bst as av, Est as aw, pat as ax, XY as ay, kat as az, Iut as b, VN as b$, Xb as b0, VQ as b1, U8 as b2, Nn as b3, OK as b4, Is as b5, HE as b6, Xe as b7, yT as b8, Ue as b9, S7 as bA, wat as bB, mg as bC, $C as bD, wut as bE, yE as bF, nY as bG, ag as bH, ZMe as bI, UMe as bJ, ha as bK, jn as bL, sit as bM, sN as bN, BN as bO, bE as bP, sat as bQ, ive as bR, JV as bS, Zu as bT, Vst as bU, zi as bV, nh as bW, lVe as bX, UT as bY, GN as bZ, vat as b_, hj as ba, xot as bb, me as bc, ke as bd, Ae as be, XS as bf, Cot as bg, Oot as bh, Qn as bi, Tv as bj, ve as bk, Cp as bl, LU as bm, Ou as bn, Eot as bo, Wfe as bp, Wo as bq, npe as br, oO as bs, lO as bt, nv as bu, ofe as bv, Jd as bw, Ta as bx, Gd as by, Ev as bz, nE as c, FG as c$, Tj as c0, qK as c1, VVe as c2, f7e as c3, xt as c4, jut as c5, Fut as c6, t1 as c7, sut as c8, yst as c9, Sje as cA, $je as cB, Et as cC, nke as cD, o1 as cE, Fn as cF, Lu as cG, mot as cH, D7e as cI, SE as cJ, Jb as cK, got as cL, T7e as cM, $ot as cN, bN as cO, Fot as cP, jot as cQ, Qse as cR, N7e as cS, tue as cT, ilt as cU, rue as cV, aut as cW, Zst as cX, $b as cY, b8 as cZ, pa as c_, iat as ca, $ut as cb, KN as cc, Kst as cd, Fat as ce, Gst as cf, wst as cg, Sst as ch, zN as ci, nat as cj, Uot as ck, yot as cl, Vw as cm, xK as cn, rat as co, zVe as cp, dit as cq, HN as cr, yat as cs, Rst as ct, Hat as cu, JY as cv, fa as cw, nU as cx, K6e as cy, QCe as cz, fat as d, Elt as d$, tIe as d0, UPe as d1, tot as d2, Ka as d3, RC as d4, ia as d5, Cq as d6, ge as d7, bst as d8, _ot as d9, _st as dA, wot as dB, C7e as dC, Bot as dD, WN as dE, Sat as dF, Eat as dG, _at as dH, $at as dI, Kat as dJ, qst as dK, Jot as dL, fut as dM, Upe as dN, Fpe as dO, Rot as dP, Iot as dQ, V0 as dR, yve as dS, Sot as dT, Kh as dU, mK as dV, Aot as dW, ca as dX, Ert as dY, qot as dZ, Yot as d_, Vke as da, sD as db, w4 as dc, k1 as dd, BE as de, Dpe as df, Pn as dg, Tot as dh, rve as di, cve as dj, S2 as dk, Tk as dl, Ok as dm, bot as dn, Aut as dp, Dat as dq, cst as dr, Bat as ds, Jat as dt, Ost as du, Dot as dv, tst as dw, Uat as dx, Lat as dy, Pat as dz, lst as e, Rf as e$, Yat as e0, pst as e1, hat as e2, Vot as e3, $Re as e4, Clt as e5, Ih as e6, Tf as e7, Pot as e8, Mot as e9, yze as eA, HFe as eB, NVe as eC, u1 as eD, sT as eE, mn as eF, Kot as eG, kY as eH, ait as eI, uat as eJ, fGe as eK, c_ as eL, zst as eM, hut as eN, aD as eO, gat as eP, vit as eQ, gtt as eR, Lut as eS, Rat as eT, Lqe as eU, Sy as eV, Tut as eW, Nat as eX, cat as eY, but as eZ, hl as e_, kot as ea, IG as eb, h5e as ec, U3e as ed, E3e as ee, R3e as ef, JG as eg, OCe as eh, ktt as ei, q1 as ej, Vb as ek, MG as el, k8 as em, hEe as en, A8 as eo, Vje as ep, Zje as eq, Yit as er, zit as es, Fit as et, O3e as eu, xtt as ev, zb as ew, O8 as ex, oat as ey, Xot as ez, gMe as f, uE as f$, $Q as f0, Xat as f1, uut as f2, Got as f3, zat as f4, Qtt as f5, vst as f6, zot as f7, yt as f8, ci as f9, Tlt as fA, Qat as fB, dke as fC, HRe as fD, gK as fE, gut as fF, Vn as fG, lut as fH, dut as fI, put as fJ, uT as fK, pit as fL, Zot as fM, tlt as fN, git as fO, Dut as fP, MOe as fQ, tut as fR, nut as fS, out as fT, iut as fU, rut as fV, Qst as fW, eut as fX, Lot as fY, Wst as fZ, _F as f_, PT as fa, Wot as fb, zRe as fc, fst as fd, aat as fe, mst as ff, hnt as fg, WQ as fh, vnt as fi, Cut as fj, Out as fk, sst as fl, Yut as fm, Kc as fn, Vat as fo, ust as fp, Iat as fq, _ke as fr, dst as fs, jat as ft, ON as fu, Mat as fv, Oat as fw, Pst as fx, ent as fy, vtt as fz, MY as g, htt as g0, Put as g1, cze as g2, vut as g3, mut as g4, yut as g5, hit as g6, Uut as g7, FRe as g8, eIe as g9, flt as gA, plt as gB, vlt as gC, Kut as gD, rlt as gE, dlt as gF, hlt as gG, Xut as gH, Wut as gI, alt as gJ, Qut as gK, Zet as gL, ZRe as gM, cut as gN, Nut as ga, Not as gb, Ce as gc, fze as gd, Jst as ge, Xst as gf, wE as gg, Cst as gh, Hot as gi, Qot as gj, eat as gk, tat as gl, Vce as gm, Zfe as gn, Zut as go, Vut as gp, Hut as gq, slt as gr, ult as gs, wlt as gt, _lt as gu, nlt as gv, llt as gw, Slt as gx, clt as gy, ylt as gz, BVe as h, WVe as i, C as j, Lst as k, Hst as l, qat as m, dat as n, Gat as o, kst as p, Fst as q, ost as r, iY as s, ZVe as t, _ut as u, Ast as v, jst as w, GVe as x, KVe as y, Ro as z
};