@desivocal/agents-cdn
Version:
Free Text To speech and AI Voice generator
1,320 lines (1,314 loc) • 2.01 MB
JavaScript
var aM = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function uN(t) {
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
}
var _E = { exports: {} }, dy = {}, RE = { exports: {} }, xn = {};
/**
* @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 sM;
function Qz() {
if (sM) return xn;
sM = 1;
var t = Symbol.for("react.element"), e = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), h = Symbol.for("react.suspense"), m = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), b = Symbol.iterator;
function C(Z) {
return Z === null || typeof Z != "object" ? null : (Z = b && Z[b] || Z["@@iterator"], typeof Z == "function" ? Z : null);
}
var x = { isMounted: function() {
return !1;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} }, _ = Object.assign, R = {};
function M(Z, Ce, H) {
this.props = Z, this.context = Ce, this.refs = R, this.updater = H || x;
}
M.prototype.isReactComponent = {}, M.prototype.setState = function(Z, Ce) {
if (typeof Z != "object" && typeof Z != "function" && Z != 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, Z, Ce, "setState");
}, M.prototype.forceUpdate = function(Z) {
this.updater.enqueueForceUpdate(this, Z, "forceUpdate");
};
function A() {
}
A.prototype = M.prototype;
function F(Z, Ce, H) {
this.props = Z, this.context = Ce, this.refs = R, this.updater = H || x;
}
var z = F.prototype = new A();
z.constructor = F, _(z, M.prototype), z.isPureReactComponent = !0;
var B = Array.isArray, I = Object.prototype.hasOwnProperty, N = { current: null }, ee = { key: !0, ref: !0, __self: !0, __source: !0 };
function J(Z, Ce, H) {
var pt, Et = {}, ft = null, mt = null;
if (Ce != null) for (pt in Ce.ref !== void 0 && (mt = Ce.ref), Ce.key !== void 0 && (ft = "" + Ce.key), Ce) I.call(Ce, pt) && !ee.hasOwnProperty(pt) && (Et[pt] = Ce[pt]);
var ot = arguments.length - 2;
if (ot === 1) Et.children = H;
else if (1 < ot) {
for (var Lt = Array(ot), Jt = 0; Jt < ot; Jt++) Lt[Jt] = arguments[Jt + 2];
Et.children = Lt;
}
if (Z && Z.defaultProps) for (pt in ot = Z.defaultProps, ot) Et[pt] === void 0 && (Et[pt] = ot[pt]);
return { $$typeof: t, type: Z, key: ft, ref: mt, props: Et, _owner: N.current };
}
function be(Z, Ce) {
return { $$typeof: t, type: Z.type, key: Ce, ref: Z.ref, props: Z.props, _owner: Z._owner };
}
function $(Z) {
return typeof Z == "object" && Z !== null && Z.$$typeof === t;
}
function ie(Z) {
var Ce = { "=": "=0", ":": "=2" };
return "$" + Z.replace(/[=:]/g, function(H) {
return Ce[H];
});
}
var X = /\/+/g;
function Te(Z, Ce) {
return typeof Z == "object" && Z !== null && Z.key != null ? ie("" + Z.key) : Ce.toString(36);
}
function xe(Z, Ce, H, pt, Et) {
var ft = typeof Z;
(ft === "undefined" || ft === "boolean") && (Z = null);
var mt = !1;
if (Z === null) mt = !0;
else switch (ft) {
case "string":
case "number":
mt = !0;
break;
case "object":
switch (Z.$$typeof) {
case t:
case e:
mt = !0;
}
}
if (mt) return mt = Z, Et = Et(mt), Z = pt === "" ? "." + Te(mt, 0) : pt, B(Et) ? (H = "", Z != null && (H = Z.replace(X, "$&/") + "/"), xe(Et, Ce, H, "", function(Jt) {
return Jt;
})) : Et != null && ($(Et) && (Et = be(Et, H + (!Et.key || mt && mt.key === Et.key ? "" : ("" + Et.key).replace(X, "$&/") + "/") + Z)), Ce.push(Et)), 1;
if (mt = 0, pt = pt === "" ? "." : pt + ":", B(Z)) for (var ot = 0; ot < Z.length; ot++) {
ft = Z[ot];
var Lt = pt + Te(ft, ot);
mt += xe(ft, Ce, H, Lt, Et);
}
else if (Lt = C(Z), typeof Lt == "function") for (Z = Lt.call(Z), ot = 0; !(ft = Z.next()).done; ) ft = ft.value, Lt = pt + Te(ft, ot++), mt += xe(ft, Ce, H, Lt, Et);
else if (ft === "object") throw Ce = String(Z), Error("Objects are not valid as a React child (found: " + (Ce === "[object Object]" ? "object with keys {" + Object.keys(Z).join(", ") + "}" : Ce) + "). If you meant to render a collection of children, use an array instead.");
return mt;
}
function He(Z, Ce, H) {
if (Z == null) return Z;
var pt = [], Et = 0;
return xe(Z, pt, "", "", function(ft) {
return Ce.call(H, ft, Et++);
}), pt;
}
function Ze(Z) {
if (Z._status === -1) {
var Ce = Z._result;
Ce = Ce(), Ce.then(function(H) {
(Z._status === 0 || Z._status === -1) && (Z._status = 1, Z._result = H);
}, function(H) {
(Z._status === 0 || Z._status === -1) && (Z._status = 2, Z._result = H);
}), Z._status === -1 && (Z._status = 0, Z._result = Ce);
}
if (Z._status === 1) return Z._result.default;
throw Z._result;
}
var ze = { current: null }, he = { transition: null }, $e = { ReactCurrentDispatcher: ze, ReactCurrentBatchConfig: he, ReactCurrentOwner: N };
function j() {
throw Error("act(...) is not supported in production builds of React.");
}
return xn.Children = { map: He, forEach: function(Z, Ce, H) {
He(Z, function() {
Ce.apply(this, arguments);
}, H);
}, count: function(Z) {
var Ce = 0;
return He(Z, function() {
Ce++;
}), Ce;
}, toArray: function(Z) {
return He(Z, function(Ce) {
return Ce;
}) || [];
}, only: function(Z) {
if (!$(Z)) throw Error("React.Children.only expected to receive a single React element child.");
return Z;
} }, xn.Component = M, xn.Fragment = n, xn.Profiler = a, xn.PureComponent = F, xn.StrictMode = r, xn.Suspense = h, xn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = $e, xn.act = j, xn.cloneElement = function(Z, Ce, H) {
if (Z == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + Z + ".");
var pt = _({}, Z.props), Et = Z.key, ft = Z.ref, mt = Z._owner;
if (Ce != null) {
if (Ce.ref !== void 0 && (ft = Ce.ref, mt = N.current), Ce.key !== void 0 && (Et = "" + Ce.key), Z.type && Z.type.defaultProps) var ot = Z.type.defaultProps;
for (Lt in Ce) I.call(Ce, Lt) && !ee.hasOwnProperty(Lt) && (pt[Lt] = Ce[Lt] === void 0 && ot !== void 0 ? ot[Lt] : Ce[Lt]);
}
var Lt = arguments.length - 2;
if (Lt === 1) pt.children = H;
else if (1 < Lt) {
ot = Array(Lt);
for (var Jt = 0; Jt < Lt; Jt++) ot[Jt] = arguments[Jt + 2];
pt.children = ot;
}
return { $$typeof: t, type: Z.type, key: Et, ref: ft, props: pt, _owner: mt };
}, xn.createContext = function(Z) {
return Z = { $$typeof: l, _currentValue: Z, _currentValue2: Z, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, Z.Provider = { $$typeof: o, _context: Z }, Z.Consumer = Z;
}, xn.createElement = J, xn.createFactory = function(Z) {
var Ce = J.bind(null, Z);
return Ce.type = Z, Ce;
}, xn.createRef = function() {
return { current: null };
}, xn.forwardRef = function(Z) {
return { $$typeof: c, render: Z };
}, xn.isValidElement = $, xn.lazy = function(Z) {
return { $$typeof: v, _payload: { _status: -1, _result: Z }, _init: Ze };
}, xn.memo = function(Z, Ce) {
return { $$typeof: m, type: Z, compare: Ce === void 0 ? null : Ce };
}, xn.startTransition = function(Z) {
var Ce = he.transition;
he.transition = {};
try {
Z();
} finally {
he.transition = Ce;
}
}, xn.unstable_act = j, xn.useCallback = function(Z, Ce) {
return ze.current.useCallback(Z, Ce);
}, xn.useContext = function(Z) {
return ze.current.useContext(Z);
}, xn.useDebugValue = function() {
}, xn.useDeferredValue = function(Z) {
return ze.current.useDeferredValue(Z);
}, xn.useEffect = function(Z, Ce) {
return ze.current.useEffect(Z, Ce);
}, xn.useId = function() {
return ze.current.useId();
}, xn.useImperativeHandle = function(Z, Ce, H) {
return ze.current.useImperativeHandle(Z, Ce, H);
}, xn.useInsertionEffect = function(Z, Ce) {
return ze.current.useInsertionEffect(Z, Ce);
}, xn.useLayoutEffect = function(Z, Ce) {
return ze.current.useLayoutEffect(Z, Ce);
}, xn.useMemo = function(Z, Ce) {
return ze.current.useMemo(Z, Ce);
}, xn.useReducer = function(Z, Ce, H) {
return ze.current.useReducer(Z, Ce, H);
}, xn.useRef = function(Z) {
return ze.current.useRef(Z);
}, xn.useState = function(Z) {
return ze.current.useState(Z);
}, xn.useSyncExternalStore = function(Z, Ce, H) {
return ze.current.useSyncExternalStore(Z, Ce, H);
}, xn.useTransition = function() {
return ze.current.useTransition();
}, xn.version = "18.3.1", xn;
}
var Ey = { exports: {} };
Ey.exports;
var oM;
function Xz() {
return oM || (oM = 1, function(t, e) {
var n = {};
/**
* @license React
* react.development.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.
*/
n.NODE_ENV !== "production" && function() {
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
var r = "18.3.1", a = Symbol.for("react.element"), o = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), v = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), A = Symbol.iterator, F = "@@iterator";
function z(O) {
if (O === null || typeof O != "object")
return null;
var W = A && O[A] || O[F];
return typeof W == "function" ? W : null;
}
var B = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
}, I = {
transition: null
}, N = {
current: null,
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
isBatchingLegacy: !1,
didScheduleLegacyUpdate: !1
}, ee = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
}, J = {}, be = null;
function $(O) {
be = O;
}
J.setExtraStackFrame = function(O) {
be = O;
}, J.getCurrentStack = null, J.getStackAddendum = function() {
var O = "";
be && (O += be);
var W = J.getCurrentStack;
return W && (O += W() || ""), O;
};
var ie = !1, X = !1, Te = !1, xe = !1, He = !1, Ze = {
ReactCurrentDispatcher: B,
ReactCurrentBatchConfig: I,
ReactCurrentOwner: ee
};
Ze.ReactDebugCurrentFrame = J, Ze.ReactCurrentActQueue = N;
function ze(O) {
{
for (var W = arguments.length, fe = new Array(W > 1 ? W - 1 : 0), ke = 1; ke < W; ke++)
fe[ke - 1] = arguments[ke];
$e("warn", O, fe);
}
}
function he(O) {
{
for (var W = arguments.length, fe = new Array(W > 1 ? W - 1 : 0), ke = 1; ke < W; ke++)
fe[ke - 1] = arguments[ke];
$e("error", O, fe);
}
}
function $e(O, W, fe) {
{
var ke = Ze.ReactDebugCurrentFrame, Ye = ke.getStackAddendum();
Ye !== "" && (W += "%s", fe = fe.concat([Ye]));
var kt = fe.map(function(ut) {
return String(ut);
});
kt.unshift("Warning: " + W), Function.prototype.apply.call(console[O], console, kt);
}
}
var j = {};
function Z(O, W) {
{
var fe = O.constructor, ke = fe && (fe.displayName || fe.name) || "ReactClass", Ye = ke + "." + W;
if (j[Ye])
return;
he("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", W, ke), j[Ye] = !0;
}
}
var Ce = {
/**
* Checks whether or not this composite component is mounted.
* @param {ReactClass} publicInstance The instance we want to test.
* @return {boolean} True if mounted, false otherwise.
* @protected
* @final
*/
isMounted: function(O) {
return !1;
},
/**
* Forces an update. This should only be invoked when it is known with
* certainty that we are **not** in a DOM transaction.
*
* You may want to call this when you know that some deeper aspect of the
* component's state has changed but `setState` was not called.
*
* This will not invoke `shouldComponentUpdate`, but it will invoke
* `componentWillUpdate` and `componentDidUpdate`.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {?function} callback Called after component is updated.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueForceUpdate: function(O, W, fe) {
Z(O, "forceUpdate");
},
/**
* Replaces all of the state. Always use this or `setState` to mutate state.
* You should treat `this.state` as immutable.
*
* There is no guarantee that `this.state` will be immediately updated, so
* accessing `this.state` after calling this method may return the old value.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} completeState Next state.
* @param {?function} callback Called after component is updated.
* @param {?string} callerName name of the calling function in the public API.
* @internal
*/
enqueueReplaceState: function(O, W, fe, ke) {
Z(O, "replaceState");
},
/**
* Sets a subset of the state. This only exists because _pendingState is
* internal. This provides a merging strategy that is not available to deep
* properties which is confusing. TODO: Expose pendingState or don't use it
* during the merge.
*
* @param {ReactClass} publicInstance The instance that should rerender.
* @param {object} partialState Next partial state to be merged with state.
* @param {?function} callback Called after component is updated.
* @param {?string} Name of the calling function in the public API.
* @internal
*/
enqueueSetState: function(O, W, fe, ke) {
Z(O, "setState");
}
}, H = Object.assign, pt = {};
Object.freeze(pt);
function Et(O, W, fe) {
this.props = O, this.context = W, this.refs = pt, this.updater = fe || Ce;
}
Et.prototype.isReactComponent = {}, Et.prototype.setState = function(O, W) {
if (typeof O != "object" && typeof O != "function" && O != null)
throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
this.updater.enqueueSetState(this, O, W, "setState");
}, Et.prototype.forceUpdate = function(O) {
this.updater.enqueueForceUpdate(this, O, "forceUpdate");
};
{
var ft = {
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
}, mt = function(O, W) {
Object.defineProperty(Et.prototype, O, {
get: function() {
ze("%s(...) is deprecated in plain JavaScript React classes. %s", W[0], W[1]);
}
});
};
for (var ot in ft)
ft.hasOwnProperty(ot) && mt(ot, ft[ot]);
}
function Lt() {
}
Lt.prototype = Et.prototype;
function Jt(O, W, fe) {
this.props = O, this.context = W, this.refs = pt, this.updater = fe || Ce;
}
var yt = Jt.prototype = new Lt();
yt.constructor = Jt, H(yt, Et.prototype), yt.isPureReactComponent = !0;
function Dt() {
var O = {
current: null
};
return Object.seal(O), O;
}
var kn = Array.isArray;
function Ft(O) {
return kn(O);
}
function nn(O) {
{
var W = typeof Symbol == "function" && Symbol.toStringTag, fe = W && O[Symbol.toStringTag] || O.constructor.name || "Object";
return fe;
}
}
function cn(O) {
try {
return wn(O), !1;
} catch {
return !0;
}
}
function wn(O) {
return "" + O;
}
function G(O) {
if (cn(O))
return he("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nn(O)), wn(O);
}
function ae(O, W, fe) {
var ke = O.displayName;
if (ke)
return ke;
var Ye = W.displayName || W.name || "";
return Ye !== "" ? fe + "(" + Ye + ")" : fe;
}
function me(O) {
return O.displayName || "Context";
}
function qe(O) {
if (O == null)
return null;
if (typeof O.tag == "number" && he("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof O == "function")
return O.displayName || O.name || null;
if (typeof O == "string")
return O;
switch (O) {
case l:
return "Fragment";
case o:
return "Portal";
case h:
return "Profiler";
case c:
return "StrictMode";
case C:
return "Suspense";
case x:
return "SuspenseList";
}
if (typeof O == "object")
switch (O.$$typeof) {
case v:
var W = O;
return me(W) + ".Consumer";
case m:
var fe = O;
return me(fe._context) + ".Provider";
case b:
return ae(O, O.render, "ForwardRef");
case _:
var ke = O.displayName || null;
return ke !== null ? ke : qe(O.type) || "Memo";
case R: {
var Ye = O, kt = Ye._payload, ut = Ye._init;
try {
return qe(ut(kt));
} catch {
return null;
}
}
}
return null;
}
var Ue = Object.prototype.hasOwnProperty, Oe = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, lt, Ut, ue;
ue = {};
function Ae(O) {
if (Ue.call(O, "ref")) {
var W = Object.getOwnPropertyDescriptor(O, "ref").get;
if (W && W.isReactWarning)
return !1;
}
return O.ref !== void 0;
}
function gt(O) {
if (Ue.call(O, "key")) {
var W = Object.getOwnPropertyDescriptor(O, "key").get;
if (W && W.isReactWarning)
return !1;
}
return O.key !== void 0;
}
function qt(O, W) {
var fe = function() {
lt || (lt = !0, he("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", W));
};
fe.isReactWarning = !0, Object.defineProperty(O, "key", {
get: fe,
configurable: !0
});
}
function Qt(O, W) {
var fe = function() {
Ut || (Ut = !0, he("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", W));
};
fe.isReactWarning = !0, Object.defineProperty(O, "ref", {
get: fe,
configurable: !0
});
}
function je(O) {
if (typeof O.ref == "string" && ee.current && O.__self && ee.current.stateNode !== O.__self) {
var W = qe(ee.current.type);
ue[W] || (he('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W, O.ref), ue[W] = !0);
}
}
var St = function(O, W, fe, ke, Ye, kt, ut) {
var zt = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: a,
// Built-in properties that belong on the element
type: O,
key: W,
ref: fe,
props: ut,
// Record the component responsible for creating this element.
_owner: kt
};
return zt._store = {}, Object.defineProperty(zt._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(zt, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: ke
}), Object.defineProperty(zt, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: Ye
}), Object.freeze && (Object.freeze(zt.props), Object.freeze(zt)), zt;
};
function It(O, W, fe) {
var ke, Ye = {}, kt = null, ut = null, zt = null, on = null;
if (W != null) {
Ae(W) && (ut = W.ref, je(W)), gt(W) && (G(W.key), kt = "" + W.key), zt = W.__self === void 0 ? null : W.__self, on = W.__source === void 0 ? null : W.__source;
for (ke in W)
Ue.call(W, ke) && !Oe.hasOwnProperty(ke) && (Ye[ke] = W[ke]);
}
var $n = arguments.length - 2;
if ($n === 1)
Ye.children = fe;
else if ($n > 1) {
for (var Xn = Array($n), Jn = 0; Jn < $n; Jn++)
Xn[Jn] = arguments[Jn + 2];
Object.freeze && Object.freeze(Xn), Ye.children = Xn;
}
if (O && O.defaultProps) {
var rn = O.defaultProps;
for (ke in rn)
Ye[ke] === void 0 && (Ye[ke] = rn[ke]);
}
if (kt || ut) {
var or = typeof O == "function" ? O.displayName || O.name || "Unknown" : O;
kt && qt(Ye, or), ut && Qt(Ye, or);
}
return St(O, kt, ut, zt, on, ee.current, Ye);
}
function dn(O, W) {
var fe = St(O.type, W, O.ref, O._self, O._source, O._owner, O.props);
return fe;
}
function An(O, W, fe) {
if (O == null)
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + O + ".");
var ke, Ye = H({}, O.props), kt = O.key, ut = O.ref, zt = O._self, on = O._source, $n = O._owner;
if (W != null) {
Ae(W) && (ut = W.ref, $n = ee.current), gt(W) && (G(W.key), kt = "" + W.key);
var Xn;
O.type && O.type.defaultProps && (Xn = O.type.defaultProps);
for (ke in W)
Ue.call(W, ke) && !Oe.hasOwnProperty(ke) && (W[ke] === void 0 && Xn !== void 0 ? Ye[ke] = Xn[ke] : Ye[ke] = W[ke]);
}
var Jn = arguments.length - 2;
if (Jn === 1)
Ye.children = fe;
else if (Jn > 1) {
for (var rn = Array(Jn), or = 0; or < Jn; or++)
rn[or] = arguments[or + 2];
Ye.children = rn;
}
return St(O.type, kt, ut, zt, on, $n, Ye);
}
function fn(O) {
return typeof O == "object" && O !== null && O.$$typeof === a;
}
var Ln = ".", Yn = ":";
function cr(O) {
var W = /[=:]/g, fe = {
"=": "=0",
":": "=2"
}, ke = O.replace(W, function(Ye) {
return fe[Ye];
});
return "$" + ke;
}
var Zn = !1, zn = /\/+/g;
function Ea(O) {
return O.replace(zn, "$&/");
}
function $a(O, W) {
return typeof O == "object" && O !== null && O.key != null ? (G(O.key), cr("" + O.key)) : W.toString(36);
}
function qa(O, W, fe, ke, Ye) {
var kt = typeof O;
(kt === "undefined" || kt === "boolean") && (O = null);
var ut = !1;
if (O === null)
ut = !0;
else
switch (kt) {
case "string":
case "number":
ut = !0;
break;
case "object":
switch (O.$$typeof) {
case a:
case o:
ut = !0;
}
}
if (ut) {
var zt = O, on = Ye(zt), $n = ke === "" ? Ln + $a(zt, 0) : ke;
if (Ft(on)) {
var Xn = "";
$n != null && (Xn = Ea($n) + "/"), qa(on, W, Xn, "", function(fg) {
return fg;
});
} else on != null && (fn(on) && (on.key && (!zt || zt.key !== on.key) && G(on.key), on = dn(
on,
// Keep both the (mapped) and old keys if they differ, just as
// traverseAllChildren used to do for objects as children
fe + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
(on.key && (!zt || zt.key !== on.key) ? (
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
// eslint-disable-next-line react-internal/safe-string-coercion
Ea("" + on.key) + "/"
) : "") + $n
)), W.push(on));
return 1;
}
var Jn, rn, or = 0, Ar = ke === "" ? Ln : ke + Yn;
if (Ft(O))
for (var cu = 0; cu < O.length; cu++)
Jn = O[cu], rn = Ar + $a(Jn, cu), or += qa(Jn, W, fe, rn, Ye);
else {
var Zd = z(O);
if (typeof Zd == "function") {
var Co = O;
Zd === Co.entries && (Zn || ze("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Zn = !0);
for (var du = Zd.call(Co), Qd, dg = 0; !(Qd = du.next()).done; )
Jn = Qd.value, rn = Ar + $a(Jn, dg++), or += qa(Jn, W, fe, rn, Ye);
} else if (kt === "object") {
var Mh = String(O);
throw new Error("Objects are not valid as a React child (found: " + (Mh === "[object Object]" ? "object with keys {" + Object.keys(O).join(", ") + "}" : Mh) + "). If you meant to render a collection of children, use an array instead.");
}
}
return or;
}
function ho(O, W, fe) {
if (O == null)
return O;
var ke = [], Ye = 0;
return qa(O, ke, "", "", function(kt) {
return W.call(fe, kt, Ye++);
}), ke;
}
function nu(O) {
var W = 0;
return ho(O, function() {
W++;
}), W;
}
function ru(O, W, fe) {
ho(O, function() {
W.apply(this, arguments);
}, fe);
}
function po(O) {
return ho(O, function(W) {
return W;
}) || [];
}
function iu(O) {
if (!fn(O))
throw new Error("React.Children.only expected to receive a single React element child.");
return O;
}
function Fs(O) {
var W = {
$$typeof: v,
// As a workaround to support multiple concurrent renderers, we categorize
// some renderers as primary and others as secondary. We only expect
// there to be two concurrent renderers at most: React Native (primary) and
// Fabric (secondary); React DOM (primary) and React ART (secondary).
// Secondary renderers store their context values on separate fields.
_currentValue: O,
_currentValue2: O,
// Used to track how many concurrent renderers this context currently
// supports within in a single renderer. Such as parallel server rendering.
_threadCount: 0,
// These are circular
Provider: null,
Consumer: null,
// Add these to use same hidden class in VM as ServerContext
_defaultValue: null,
_globalName: null
};
W.Provider = {
$$typeof: m,
_context: W
};
var fe = !1, ke = !1, Ye = !1;
{
var kt = {
$$typeof: v,
_context: W
};
Object.defineProperties(kt, {
Provider: {
get: function() {
return ke || (ke = !0, he("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), W.Provider;
},
set: function(ut) {
W.Provider = ut;
}
},
_currentValue: {
get: function() {
return W._currentValue;
},
set: function(ut) {
W._currentValue = ut;
}
},
_currentValue2: {
get: function() {
return W._currentValue2;
},
set: function(ut) {
W._currentValue2 = ut;
}
},
_threadCount: {
get: function() {
return W._threadCount;
},
set: function(ut) {
W._threadCount = ut;
}
},
Consumer: {
get: function() {
return fe || (fe = !0, he("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), W.Consumer;
}
},
displayName: {
get: function() {
return W.displayName;
},
set: function(ut) {
Ye || (ze("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", ut), Ye = !0);
}
}
}), W.Consumer = kt;
}
return W._currentRenderer = null, W._currentRenderer2 = null, W;
}
var _a = -1, pi = 0, Ra = 1, ra = 2;
function js(O) {
if (O._status === _a) {
var W = O._result, fe = W();
if (fe.then(function(kt) {
if (O._status === pi || O._status === _a) {
var ut = O;
ut._status = Ra, ut._result = kt;
}
}, function(kt) {
if (O._status === pi || O._status === _a) {
var ut = O;
ut._status = ra, ut._result = kt;
}
}), O._status === _a) {
var ke = O;
ke._status = pi, ke._result = fe;
}
}
if (O._status === Ra) {
var Ye = O._result;
return Ye === void 0 && he(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`, Ye), "default" in Ye || he(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`, Ye), Ye.default;
} else
throw O._result;
}
function Vs(O) {
var W = {
// We use these fields to store the result.
_status: _a,
_result: O
}, fe = {
$$typeof: R,
_payload: W,
_init: js
};
{
var ke, Ye;
Object.defineProperties(fe, {
defaultProps: {
configurable: !0,
get: function() {
return ke;
},
set: function(kt) {
he("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), ke = kt, Object.defineProperty(fe, "defaultProps", {
enumerable: !0
});
}
},
propTypes: {
configurable: !0,
get: function() {
return Ye;
},
set: function(kt) {
he("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), Ye = kt, Object.defineProperty(fe, "propTypes", {
enumerable: !0
});
}
}
});
}
return fe;
}
function mo(O) {
O != null && O.$$typeof === _ ? he("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof O != "function" ? he("forwardRef requires a render function but was given %s.", O === null ? "null" : typeof O) : O.length !== 0 && O.length !== 2 && he("forwardRef render functions accept exactly two parameters: props and ref. %s", O.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), O != null && (O.defaultProps != null || O.propTypes != null) && he("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
var W = {
$$typeof: b,
render: O
};
{
var fe;
Object.defineProperty(W, "displayName", {
enumerable: !1,
configurable: !0,
get: function() {
return fe;
},
set: function(ke) {
fe = ke, !O.name && !O.displayName && (O.displayName = ke);
}
});
}
return W;
}
var K;
K = Symbol.for("react.module.reference");
function Ie(O) {
return !!(typeof O == "string" || typeof O == "function" || O === l || O === h || He || O === c || O === C || O === x || xe || O === M || ie || X || Te || typeof O == "object" && O !== null && (O.$$typeof === R || O.$$typeof === _ || O.$$typeof === m || O.$$typeof === v || O.$$typeof === b || // This needs to include all possible module reference object
// types supported by any Flight configuration anywhere since
// we don't know which Flight build this will end up being used
// with.
O.$$typeof === K || O.getModuleId !== void 0));
}
function nt(O, W) {
Ie(O) || he("memo: The first argument must be a component. Instead received: %s", O === null ? "null" : typeof O);
var fe = {
$$typeof: _,
type: O,
compare: W === void 0 ? null : W
};
{
var ke;
Object.defineProperty(fe, "displayName", {
enumerable: !1,
configurable: !0,
get: function() {
return ke;
},
set: function(Ye) {
ke = Ye, !O.name && !O.displayName && (O.displayName = Ye);
}
});
}
return fe;
}
function it() {
var O = B.current;
return O === null && he(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), O;
}
function hn(O) {
var W = it();
if (O._context !== void 0) {
var fe = O._context;
fe.Consumer === O ? he("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : fe.Provider === O && he("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
}
return W.useContext(O);
}
function Kt(O) {
var W = it();
return W.useState(O);
}
function vn(O, W, fe) {
var ke = it();
return ke.useReducer(O, W, fe);
}
function sn(O) {
var W = it();
return W.useRef(O);
}
function Dr(O, W) {
var fe = it();
return fe.useEffect(O, W);
}
function dr(O, W) {
var fe = it();
return fe.useInsertionEffect(O, W);
}
function hr(O, W) {
var fe = it();
return fe.useLayoutEffect(O, W);
}
function Oi(O, W) {
var fe = it();
return fe.useCallback(O, W);
}
function Ss(O, W) {
var fe = it();
return fe.useMemo(O, W);
}
function Bn(O, W, fe) {
var ke = it();
return ke.useImperativeHandle(O, W, fe);
}
function yr(O, W) {
{
var fe = it();
return fe.useDebugValue(O, W);
}
}
function en() {
var O = it();
return O.useTransition();
}
function zs(O) {
var W = it();
return W.useDeferredValue(O);
}
function go() {
var O = it();
return O.useId();
}
function Ph(O, W, fe) {
var ke = it();
return ke.useSyncExternalStore(O, W, fe);
}
var vo = 0, il, ia, $d, Vi, qd, Dh, Ah;
function yo() {
}
yo.__reactDisabledLog = !0;
function al() {
{
if (vo === 0) {
il = console.log, ia = console.info, $d = console.warn, Vi = console.error, qd = console.group, Dh = console.groupCollapsed, Ah = console.groupEnd;
var O = {
configurable: !0,
enumerable: !0,
value: yo,
writable: !0
};
Object.defineProperties(console, {
info: O,
log: O,
warn: O,
error: O,
group: O,
groupCollapsed: O,
groupEnd: O
});
}
vo++;
}
}
function aa() {
{
if (vo--, vo === 0) {
var O = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: H({}, O, {
value: il
}),
info: H({}, O, {
value: ia
}),
warn: H({}, O, {
value: $d
}),
error: H({}, O, {
value: Vi
}),
group: H({}, O, {
value: qd
}),
groupCollapsed: H({}, O, {
value: Dh
}),
groupEnd: H({}, O, {
value: Ah
})
});
}
vo < 0 && he("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var Bs = Ze.ReactCurrentDispatcher, sl;
function uc(O, W, fe) {
{
if (sl === void 0)
try {
throw Error();
} catch (Ye) {
var ke = Ye.stack.trim().match(/\n( *(at )?)/);
sl = ke && ke[1] || "";
}
return `
` + sl + O;
}
}
var bo = !1, au;
{
var su = typeof WeakMap == "function" ? WeakMap : Map;
au = new su();
}
function ol(O, W) {
if (!O || bo)
return "";
{
var fe = au.get(O);
if (fe !== void 0)
return fe;
}
var ke;
bo = !0;
var Ye = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var kt;
kt = Bs.current, Bs.current = null, al();
try {
if (W) {
var ut = function() {
throw Error();
};
if (Object.defineProperty(ut.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(ut, []);
} catch (Ar) {
ke = Ar;
}
Reflect.construct(O, [], ut);
} else {
try {
ut.call();
} catch (Ar) {
ke = Ar;
}
O.call(ut.prototype);
}
} else {
try {
throw Error();
} catch (Ar) {
ke = Ar;
}
O();
}
} catch (Ar) {
if (Ar && ke && typeof Ar.stack == "string") {
for (var zt = Ar.stack.split(`
`), on = ke.stack.split(`
`), $n = zt.length - 1, Xn = on.length - 1; $n >= 1 && Xn >= 0 && zt[$n] !== on[Xn]; )
Xn--;
for (; $n >= 1 && Xn >= 0; $n--, Xn--)
if (zt[$n] !== on[Xn]) {
if ($n !== 1 || Xn !== 1)
do
if ($n--, Xn--, Xn < 0 || zt[$n] !== on[Xn]) {
var Jn = `
` + zt[$n].replace(" at new ", " at ");
return O.displayName && Jn.includes("<anonymous>") && (Jn = Jn.replace("<anonymous>", O.displayName)), typeof O == "function" && au.set(O, Jn), Jn;
}
while ($n >= 1 && Xn >= 0);
break;
}
}
} finally {
bo = !1, Bs.current = kt, aa(), Error.prepareStackTrace = Ye;
}
var rn = O ? O.displayName || O.name : "", or = rn ? uc(rn) : "";
return typeof O == "function" && au.set(O, or), or;
}
function Wd(O, W, fe) {
return ol(O, !1);
}
function Gd(O) {
var W = O.prototype;
return !!(W && W.isReactComponent);
}
function En(O, W, fe) {
if (O == null)
return "";
if (typeof O == "function")
return ol(O, Gd(O));
if (typeof O == "string")
return uc(O);
switch (O) {
case C:
return uc("Suspense");
case x:
return uc("SuspenseList");
}
if (typeof O == "object")
switch (O.$$typeof) {
case b:
return Wd(O.render);
case _:
return En(O.type, W, fe);
case R: {
var ke = O, Ye = ke._payload, kt = ke._init;
try {
return En(kt(Ye), W, fe);
} catch {
}
}
}
return "";
}
var Kd = {}, cc = Ze.ReactDebugCurrentFrame;
function _n(O) {
if (O) {
var W = O._owner, fe = En(O.type, O._source, W ? W.type : null);
cc.setExtraStackFrame(fe);
} else
cc.setExtraStackFrame(null);
}
function Oh(O, W, fe, ke, Ye) {
{
var kt = Function.call.bind(Ue);
for (var ut in O)
if (kt(O, ut)) {
var zt = void 0;
try {
if (typeof O[ut] != "function") {
var on = Error((ke || "React class") + ": " + fe + " type `" + ut + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof O[ut] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw on.name = "Invariant Violation", on;
}
zt = O[ut](W, ut, ke, fe, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch ($n) {
zt = $n;
}
zt && !(zt instanceof Error) && (_n(Ye), he("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ke || "React class", fe, ut, typeof zt), _n(null)), zt instanceof Error && !(zt.message in Kd) && (Kd[zt.message] = !0, _n(Ye), he("Failed %s type: %s", fe, zt.message), _n(null));
}
}
}
function Hs(O) {
if (O) {
var W = O._owner, fe = En(O.type, O._source, W ? W.type : null);
$(fe);
} else
$(null);
}
var Wt;
Wt = !1;
function ou() {
if (ee.current) {
var O = qe(ee.current.type);
if (O)
return `
Check the render method of \`` + O + "`.";
}
return "";
}
function ai(O) {
if (O !== void 0) {
var W = O.fileName.replace(/^.*[\\\/]/, ""), fe = O.lineNumber;
return `
Check your code at ` + W + ":" + fe + ".";
}
return "";
}
function sa(O) {
return O != null ? ai(O.__source) : "";
}
var zi = {};
function $s(O) {
var W = ou();
if (!W) {
var fe = typeof O == "string" ? O : O.displayName || O.name;
fe && (W = `
Check the top-level render call using <` + fe + ">.");
}
return W;
}
function Er(O, W) {
if (!(!O._store || O._store.validated || O.key != null)) {
O._store.validated = !0;
var fe = $s(W);
if (!zi[fe]) {
zi[fe] = !0;
var ke = "";
O && O._owner && O._owner !== ee.current && (ke = " It was passed a child from " + qe(O._owner.type) + "."), Hs(O), he('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', fe, ke), Hs(null);
}
}
}
function Qn(O, W) {
if (typeof O == "object") {
if (Ft(O))
for (var fe = 0; fe < O.length; fe++) {
var ke = O[fe];
fn(ke) && Er(ke, W);
}
else if (fn(O))
O._store && (O._store.validated = !0);
else if (O) {
var Ye = z(O);
if (typeof Ye == "function" && Ye !== O.entries)
for (var kt = Ye.call(O), ut; !(ut = kt.next()).done; )
fn(ut.value) && Er(ut.value, W);
}
}
}
function ks(O) {
{
var W = O.type;
if (W == null || typeof W == "string")
return;
var fe;
if (typeof W == "function")
fe = W.propTypes;
else if (typeof W == "object" && (W.$$typeof === b || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
W.$$typeof === _))
fe = W.propTypes;
else
return;
if (fe) {
var ke = qe(W);
Oh(fe, O.props, "prop", ke, O);
} else if (W.PropTypes !== void 0 && !Wt) {
Wt = !0;
var Ye = qe(W);
he("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ye || "Unknown");
}
typeof W.getDefaultProps == "function" && !W.getDefaultProps.isReactClassApproved && he("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function Wa(O) {
{
for (var W = Object.keys(O.props), fe = 0; fe < W.length; fe++) {
var ke = W[fe];
if (ke !== "children" && ke !== "key") {
Hs(O), he("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ke), Hs(null);
break;
}
}
O.ref !== null && (Hs(O), he("Invalid attribute `ref` supplied to `React.Fragment`."), Hs(null));
}
}
function Mi(O, W, fe) {
var ke = Ie(O);
if (!ke) {
var Ye = "";
(O === voi