thai-address-picker-react
Version:
[](https://www.npmjs.com/package/thai-address-picker-react) [](https://www.npmjs.com/package/thai-address-picker-react) [ {
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
}
var eo = { exports: {} };
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/
var Ja;
function sc() {
return Ja || (Ja = 1, function(e) {
(function() {
var t = {}.hasOwnProperty;
function n() {
for (var a = "", i = 0; i < arguments.length; i++) {
var s = arguments[i];
s && (a = o(a, r(s)));
}
return a;
}
function r(a) {
if (typeof a == "string" || typeof a == "number")
return a;
if (typeof a != "object")
return "";
if (Array.isArray(a))
return n.apply(null, a);
if (a.toString !== Object.prototype.toString && !a.toString.toString().includes("[native code]"))
return a.toString();
var i = "";
for (var s in a)
t.call(a, s) && a[s] && (i = o(i, s));
return i;
}
function o(a, i) {
return i ? a ? a + " " + i : a + i : a;
}
e.exports ? (n.default = n, e.exports = n) : window.classNames = n;
})();
}(eo)), eo.exports;
}
var lc = sc();
const Ke = /* @__PURE__ */ F1(lc);
function We() {
return We = 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;
}, We.apply(null, arguments);
}
function be(e) {
"@babel/helpers - typeof";
return be = 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;
}, be(e);
}
var cc = Symbol.for("react.element"), uc = Symbol.for("react.transitional.element"), fc = Symbol.for("react.fragment");
function N1(e) {
return (
// Base object type
e && be(e) === "object" && // React Element type
(e.$$typeof === cc || e.$$typeof === uc) && // React Fragment type
e.type === fc
);
}
function Un(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [];
return at.Children.forEach(e, function(r) {
r == null && !t.keepEmpty || (Array.isArray(r) ? n = n.concat(Un(r)) : N1(r) && r.props ? n = n.concat(Un(r.props.children, t)) : n.push(r));
}), n;
}
var Co = {}, ya = [], dc = function(t) {
ya.push(t);
};
function nr(e, t) {
if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
var n = ya.reduce(function(r, o) {
return o(r ?? "", "warning");
}, t);
n && console.error("Warning: ".concat(n));
}
}
function vc(e, t) {
if (process.env.NODE_ENV !== "production" && !e && console !== void 0) {
var n = ya.reduce(function(r, o) {
return o(r ?? "", "note");
}, t);
n && console.warn("Note: ".concat(n));
}
}
function $1() {
Co = {};
}
function V1(e, t, n) {
!t && !Co[n] && (e(!1, n), Co[n] = !0);
}
function $e(e, t) {
V1(nr, e, t);
}
function So(e, t) {
V1(vc, e, t);
}
$e.preMessage = dc;
$e.resetWarned = $1;
$e.noteOnce = So;
function mc(e, t) {
if (be(e) != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
var r = n.call(e, t);
if (be(r) != "object") return r;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (t === "string" ? String : Number)(e);
}
function L1(e) {
var t = mc(e, "string");
return be(t) == "symbol" ? t : t + "";
}
function O(e, t, n) {
return (t = L1(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
function Ya(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
t && (r = r.filter(function(o) {
return Object.getOwnPropertyDescriptor(e, o).enumerable;
})), n.push.apply(n, r);
}
return n;
}
function R(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] != null ? arguments[t] : {};
t % 2 ? Ya(Object(n), !0).forEach(function(r) {
O(e, r, n[r]);
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ya(Object(n)).forEach(function(r) {
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
});
}
return e;
}
var l0 = { exports: {} }, $t = {};
/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var Za;
function gc() {
if (Za) return $t;
Za = 1;
var e = at;
function t(c) {
var l = "https://react.dev/errors/" + c;
if (1 < arguments.length) {
l += "?args[]=" + encodeURIComponent(arguments[1]);
for (var u = 2; u < arguments.length; u++)
l += "&args[]=" + encodeURIComponent(arguments[u]);
}
return "Minified React error #" + c + "; visit " + l + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
function n() {
}
var r = {
d: {
f: n,
r: function() {
throw Error(t(522));
},
D: n,
C: n,
L: n,
m: n,
X: n,
S: n,
M: n
},
p: 0,
findDOMNode: null
}, o = Symbol.for("react.portal");
function a(c, l, u) {
var f = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
return {
$$typeof: o,
key: f == null ? null : "" + f,
children: c,
containerInfo: l,
implementation: u
};
}
var i = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
function s(c, l) {
if (c === "font") return "";
if (typeof l == "string")
return l === "use-credentials" ? l : "";
}
return $t.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, $t.createPortal = function(c, l) {
var u = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
if (!l || l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11)
throw Error(t(299));
return a(c, l, null, u);
}, $t.flushSync = function(c) {
var l = i.T, u = r.p;
try {
if (i.T = null, r.p = 2, c) return c();
} finally {
i.T = l, r.p = u, r.d.f();
}
}, $t.preconnect = function(c, l) {
typeof c == "string" && (l ? (l = l.crossOrigin, l = typeof l == "string" ? l === "use-credentials" ? l : "" : void 0) : l = null, r.d.C(c, l));
}, $t.prefetchDNS = function(c) {
typeof c == "string" && r.d.D(c);
}, $t.preinit = function(c, l) {
if (typeof c == "string" && l && typeof l.as == "string") {
var u = l.as, f = s(u, l.crossOrigin), v = typeof l.integrity == "string" ? l.integrity : void 0, g = typeof l.fetchPriority == "string" ? l.fetchPriority : void 0;
u === "style" ? r.d.S(
c,
typeof l.precedence == "string" ? l.precedence : void 0,
{
crossOrigin: f,
integrity: v,
fetchPriority: g
}
) : u === "script" && r.d.X(c, {
crossOrigin: f,
integrity: v,
fetchPriority: g,
nonce: typeof l.nonce == "string" ? l.nonce : void 0
});
}
}, $t.preinitModule = function(c, l) {
if (typeof c == "string")
if (typeof l == "object" && l !== null) {
if (l.as == null || l.as === "script") {
var u = s(
l.as,
l.crossOrigin
);
r.d.M(c, {
crossOrigin: u,
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
nonce: typeof l.nonce == "string" ? l.nonce : void 0
});
}
} else l == null && r.d.M(c);
}, $t.preload = function(c, l) {
if (typeof c == "string" && typeof l == "object" && l !== null && typeof l.as == "string") {
var u = l.as, f = s(u, l.crossOrigin);
r.d.L(c, u, {
crossOrigin: f,
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
nonce: typeof l.nonce == "string" ? l.nonce : void 0,
type: typeof l.type == "string" ? l.type : void 0,
fetchPriority: typeof l.fetchPriority == "string" ? l.fetchPriority : void 0,
referrerPolicy: typeof l.referrerPolicy == "string" ? l.referrerPolicy : void 0,
imageSrcSet: typeof l.imageSrcSet == "string" ? l.imageSrcSet : void 0,
imageSizes: typeof l.imageSizes == "string" ? l.imageSizes : void 0,
media: typeof l.media == "string" ? l.media : void 0
});
}
}, $t.preloadModule = function(c, l) {
if (typeof c == "string")
if (l) {
var u = s(l.as, l.crossOrigin);
r.d.m(c, {
as: typeof l.as == "string" && l.as !== "script" ? l.as : void 0,
crossOrigin: u,
integrity: typeof l.integrity == "string" ? l.integrity : void 0
});
} else r.d.m(c);
}, $t.requestFormReset = function(c) {
r.d.r(c);
}, $t.unstable_batchedUpdates = function(c, l) {
return c(l);
}, $t.useFormState = function(c, l, u) {
return i.H.useFormState(c, l, u);
}, $t.useFormStatus = function() {
return i.H.useHostTransitionStatus();
}, $t.version = "19.1.1", $t;
}
var Vt = {};
/**
* @license React
* react-dom.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
var ei;
function hc() {
return ei || (ei = 1, process.env.NODE_ENV !== "production" && function() {
function e() {
}
function t(f) {
return "" + f;
}
function n(f, v, g) {
var p = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
try {
t(p);
var h = !1;
} catch {
h = !0;
}
return h && (console.error(
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
typeof Symbol == "function" && Symbol.toStringTag && p[Symbol.toStringTag] || p.constructor.name || "Object"
), t(p)), {
$$typeof: l,
key: p == null ? null : "" + p,
children: f,
containerInfo: v,
implementation: g
};
}
function r(f, v) {
if (f === "font") return "";
if (typeof v == "string")
return v === "use-credentials" ? v : "";
}
function o(f) {
return f === null ? "`null`" : f === void 0 ? "`undefined`" : f === "" ? "an empty string" : 'something with type "' + typeof f + '"';
}
function a(f) {
return f === null ? "`null`" : f === void 0 ? "`undefined`" : f === "" ? "an empty string" : typeof f == "string" ? JSON.stringify(f) : typeof f == "number" ? "`" + f + "`" : 'something with type "' + typeof f + '"';
}
function i() {
var f = u.H;
return f === null && console.error(
`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://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
), f;
}
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
var s = at, c = {
d: {
f: e,
r: function() {
throw Error(
"Invalid form element. requestFormReset must be passed a form that was rendered by React."
);
},
D: e,
C: e,
L: e,
m: e,
X: e,
S: e,
M: e
},
p: 0,
findDOMNode: null
}, l = Symbol.for("react.portal"), u = s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
), Vt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = c, Vt.createPortal = function(f, v) {
var g = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
if (!v || v.nodeType !== 1 && v.nodeType !== 9 && v.nodeType !== 11)
throw Error("Target container is not a DOM element.");
return n(f, v, null, g);
}, Vt.flushSync = function(f) {
var v = u.T, g = c.p;
try {
if (u.T = null, c.p = 2, f)
return f();
} finally {
u.T = v, c.p = g, c.d.f() && console.error(
"flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
);
}
}, Vt.preconnect = function(f, v) {
typeof f == "string" && f ? v != null && typeof v != "object" ? console.error(
"ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
a(v)
) : v != null && typeof v.crossOrigin != "string" && console.error(
"ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",
o(v.crossOrigin)
) : console.error(
"ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
o(f)
), typeof f == "string" && (v ? (v = v.crossOrigin, v = typeof v == "string" ? v === "use-credentials" ? v : "" : void 0) : v = null, c.d.C(f, v));
}, Vt.prefetchDNS = function(f) {
if (typeof f != "string" || !f)
console.error(
"ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
o(f)
);
else if (1 < arguments.length) {
var v = arguments[1];
typeof v == "object" && v.hasOwnProperty("crossOrigin") ? console.error(
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
a(v)
) : console.error(
"ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",
a(v)
);
}
typeof f == "string" && c.d.D(f);
}, Vt.preinit = function(f, v) {
if (typeof f == "string" && f ? v == null || typeof v != "object" ? console.error(
"ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
a(v)
) : v.as !== "style" && v.as !== "script" && console.error(
'ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',
a(v.as)
) : console.error(
"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
o(f)
), typeof f == "string" && v && typeof v.as == "string") {
var g = v.as, p = r(g, v.crossOrigin), h = typeof v.integrity == "string" ? v.integrity : void 0, m = typeof v.fetchPriority == "string" ? v.fetchPriority : void 0;
g === "style" ? c.d.S(
f,
typeof v.precedence == "string" ? v.precedence : void 0,
{
crossOrigin: p,
integrity: h,
fetchPriority: m
}
) : g === "script" && c.d.X(f, {
crossOrigin: p,
integrity: h,
fetchPriority: m,
nonce: typeof v.nonce == "string" ? v.nonce : void 0
});
}
}, Vt.preinitModule = function(f, v) {
var g = "";
if (typeof f == "string" && f || (g += " The `href` argument encountered was " + o(f) + "."), v !== void 0 && typeof v != "object" ? g += " The `options` argument encountered was " + o(v) + "." : v && "as" in v && v.as !== "script" && (g += " The `as` option encountered was " + a(v.as) + "."), g)
console.error(
"ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",
g
);
else
switch (g = v && typeof v.as == "string" ? v.as : "script", g) {
case "script":
break;
default:
g = a(g), console.error(
'ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',
g,
f
);
}
typeof f == "string" && (typeof v == "object" && v !== null ? (v.as == null || v.as === "script") && (g = r(
v.as,
v.crossOrigin
), c.d.M(f, {
crossOrigin: g,
integrity: typeof v.integrity == "string" ? v.integrity : void 0,
nonce: typeof v.nonce == "string" ? v.nonce : void 0
})) : v == null && c.d.M(f));
}, Vt.preload = function(f, v) {
var g = "";
if (typeof f == "string" && f || (g += " The `href` argument encountered was " + o(f) + "."), v == null || typeof v != "object" ? g += " The `options` argument encountered was " + o(v) + "." : typeof v.as == "string" && v.as || (g += " The `as` option encountered was " + o(v.as) + "."), g && console.error(
'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
g
), typeof f == "string" && typeof v == "object" && v !== null && typeof v.as == "string") {
g = v.as;
var p = r(
g,
v.crossOrigin
);
c.d.L(f, g, {
crossOrigin: p,
integrity: typeof v.integrity == "string" ? v.integrity : void 0,
nonce: typeof v.nonce == "string" ? v.nonce : void 0,
type: typeof v.type == "string" ? v.type : void 0,
fetchPriority: typeof v.fetchPriority == "string" ? v.fetchPriority : void 0,
referrerPolicy: typeof v.referrerPolicy == "string" ? v.referrerPolicy : void 0,
imageSrcSet: typeof v.imageSrcSet == "string" ? v.imageSrcSet : void 0,
imageSizes: typeof v.imageSizes == "string" ? v.imageSizes : void 0,
media: typeof v.media == "string" ? v.media : void 0
});
}
}, Vt.preloadModule = function(f, v) {
var g = "";
typeof f == "string" && f || (g += " The `href` argument encountered was " + o(f) + "."), v !== void 0 && typeof v != "object" ? g += " The `options` argument encountered was " + o(v) + "." : v && "as" in v && typeof v.as != "string" && (g += " The `as` option encountered was " + o(v.as) + "."), g && console.error(
'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
g
), typeof f == "string" && (v ? (g = r(
v.as,
v.crossOrigin
), c.d.m(f, {
as: typeof v.as == "string" && v.as !== "script" ? v.as : void 0,
crossOrigin: g,
integrity: typeof v.integrity == "string" ? v.integrity : void 0
})) : c.d.m(f));
}, Vt.requestFormReset = function(f) {
c.d.r(f);
}, Vt.unstable_batchedUpdates = function(f, v) {
return f(v);
}, Vt.useFormState = function(f, v, g) {
return i().useFormState(f, v, g);
}, Vt.useFormStatus = function() {
return i().useHostTransitionStatus();
}, Vt.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
}()), Vt;
}
var ti;
function pc() {
if (ti) return l0.exports;
ti = 1;
function e() {
if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
if (process.env.NODE_ENV !== "production")
throw new Error("^_^");
try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
} catch (t) {
console.error(t);
}
}
}
return process.env.NODE_ENV === "production" ? (e(), l0.exports = gc()) : l0.exports = hc(), l0.exports;
}
var Hr = pc();
const ni = /* @__PURE__ */ F1(Hr);
function kr(e) {
return e instanceof HTMLElement || e instanceof SVGElement;
}
function yc(e) {
return e && be(e) === "object" && kr(e.nativeElement) ? e.nativeElement : kr(e) ? e : null;
}
function Nr(e) {
var t = yc(e);
if (t)
return t;
if (e instanceof at.Component) {
var n;
return (n = ni.findDOMNode) === null || n === void 0 ? void 0 : n.call(ni, e);
}
return null;
}
var c0 = { exports: {} }, Ye = {};
/**
* @license React
* 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 ri;
function bc() {
if (ri) return Ye;
ri = 1;
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), s = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), p;
p = Symbol.for("react.module.reference");
function h(m) {
if (typeof m == "object" && m !== null) {
var b = m.$$typeof;
switch (b) {
case e:
switch (m = m.type, m) {
case n:
case o:
case r:
case l:
case u:
return m;
default:
switch (m = m && m.$$typeof, m) {
case s:
case i:
case c:
case v:
case f:
case a:
return m;
default:
return b;
}
}
case t:
return b;
}
}
}
return Ye.ContextConsumer = i, Ye.ContextProvider = a, Ye.Element = e, Ye.ForwardRef = c, Ye.Fragment = n, Ye.Lazy = v, Ye.Memo = f, Ye.Portal = t, Ye.Profiler = o, Ye.StrictMode = r, Ye.Suspense = l, Ye.SuspenseList = u, Ye.isAsyncMode = function() {
return !1;
}, Ye.isConcurrentMode = function() {
return !1;
}, Ye.isContextConsumer = function(m) {
return h(m) === i;
}, Ye.isContextProvider = function(m) {
return h(m) === a;
}, Ye.isElement = function(m) {
return typeof m == "object" && m !== null && m.$$typeof === e;
}, Ye.isForwardRef = function(m) {
return h(m) === c;
}, Ye.isFragment = function(m) {
return h(m) === n;
}, Ye.isLazy = function(m) {
return h(m) === v;
}, Ye.isMemo = function(m) {
return h(m) === f;
}, Ye.isPortal = function(m) {
return h(m) === t;
}, Ye.isProfiler = function(m) {
return h(m) === o;
}, Ye.isStrictMode = function(m) {
return h(m) === r;
}, Ye.isSuspense = function(m) {
return h(m) === l;
}, Ye.isSuspenseList = function(m) {
return h(m) === u;
}, Ye.isValidElementType = function(m) {
return typeof m == "string" || typeof m == "function" || m === n || m === o || m === r || m === l || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === v || m.$$typeof === f || m.$$typeof === a || m.$$typeof === i || m.$$typeof === c || m.$$typeof === p || m.getModuleId !== void 0);
}, Ye.typeOf = h, Ye;
}
var Ze = {};
/**
* @license React
* react-is.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.
*/
var oi;
function Cc() {
return oi || (oi = 1, process.env.NODE_ENV !== "production" && function() {
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), i = Symbol.for("react.context"), s = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), p = !1, h = !1, m = !1, b = !1, y = !1, S;
S = Symbol.for("react.module.reference");
function x(V) {
return !!(typeof V == "string" || typeof V == "function" || V === n || V === o || y || V === r || V === l || V === u || b || V === g || p || h || m || typeof V == "object" && V !== null && (V.$$typeof === v || V.$$typeof === f || V.$$typeof === a || V.$$typeof === i || V.$$typeof === c || // 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.
V.$$typeof === S || V.getModuleId !== void 0));
}
function w(V) {
if (typeof V == "object" && V !== null) {
var W = V.$$typeof;
switch (W) {
case e:
var Q = V.type;
switch (Q) {
case n:
case o:
case r:
case l:
case u:
return Q;
default:
var ge = Q && Q.$$typeof;
switch (ge) {
case s:
case i:
case c:
case v:
case f:
case a:
return ge;
default:
return W;
}
}
case t:
return W;
}
}
}
var C = i, E = a, P = e, A = c, M = n, T = v, D = f, _ = t, I = o, F = r, $ = l, B = u, k = !1, G = !1;
function U(V) {
return k || (k = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
}
function L(V) {
return G || (G = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
}
function H(V) {
return w(V) === i;
}
function te(V) {
return w(V) === a;
}
function ne(V) {
return typeof V == "object" && V !== null && V.$$typeof === e;
}
function ce(V) {
return w(V) === c;
}
function Pe(V) {
return w(V) === n;
}
function Y(V) {
return w(V) === v;
}
function we(V) {
return w(V) === f;
}
function Ee(V) {
return w(V) === t;
}
function pe(V) {
return w(V) === o;
}
function j(V) {
return w(V) === r;
}
function z(V) {
return w(V) === l;
}
function Z(V) {
return w(V) === u;
}
Ze.ContextConsumer = C, Ze.ContextProvider = E, Ze.Element = P, Ze.ForwardRef = A, Ze.Fragment = M, Ze.Lazy = T, Ze.Memo = D, Ze.Portal = _, Ze.Profiler = I, Ze.StrictMode = F, Ze.Suspense = $, Ze.SuspenseList = B, Ze.isAsyncMode = U, Ze.isConcurrentMode = L, Ze.isContextConsumer = H, Ze.isContextProvider = te, Ze.isElement = ne, Ze.isForwardRef = ce, Ze.isFragment = Pe, Ze.isLazy = Y, Ze.isMemo = we, Ze.isPortal = Ee, Ze.isProfiler = pe, Ze.isStrictMode = j, Ze.isSuspense = z, Ze.isSuspenseList = Z, Ze.isValidElementType = x, Ze.typeOf = w;
}()), Ze;
}
var ai;
function Sc() {
return ai || (ai = 1, process.env.NODE_ENV === "production" ? c0.exports = bc() : c0.exports = Cc()), c0.exports;
}
var to = Sc();
function B0(e, t, n) {
var r = d.useRef({});
return (!("value" in r.current) || n(r.current.condition, t)) && (r.current.value = e(), r.current.condition = t), r.current.value;
}
var Ec = Number(ac.split(".")[0]), ba = function(t, n) {
typeof t == "function" ? t(n) : be(t) === "object" && t && "current" in t && (t.current = n);
}, Ca = function() {
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
n[r] = arguments[r];
var o = n.filter(Boolean);
return o.length <= 1 ? o[0] : function(a) {
n.forEach(function(i) {
ba(i, a);
});
};
}, H0 = function() {
for (var t = arguments.length, n = new Array(t), r = 0; r < t; r++)
n[r] = arguments[r];
return B0(function() {
return Ca.apply(void 0, n);
}, n, function(o, a) {
return o.length !== a.length || o.every(function(i, s) {
return i !== a[s];
});
});
}, k0 = function(t) {
var n, r;
if (!t)
return !1;
if (B1(t) && Ec >= 19)
return !0;
var o = to.isMemo(t) ? t.type.type : t.type;
return !(typeof o == "function" && !((n = o.prototype) !== null && n !== void 0 && n.render) && o.$$typeof !== to.ForwardRef || typeof t == "function" && !((r = t.prototype) !== null && r !== void 0 && r.render) && t.$$typeof !== to.ForwardRef);
};
function B1(e) {
return /* @__PURE__ */ oc(e) && !N1(e);
}
var Sa = function(t) {
if (t && B1(t)) {
var n = t;
return n.props.propertyIsEnumerable("ref") ? n.props.ref : n.ref;
}
return null;
}, Eo = /* @__PURE__ */ d.createContext(null);
function wc(e) {
var t = e.children, n = e.onBatchResize, r = d.useRef(0), o = d.useRef([]), a = d.useContext(Eo), i = d.useCallback(function(s, c, l) {
r.current += 1;
var u = r.current;
o.current.push({
size: s,
element: c,
data: l
}), Promise.resolve().then(function() {
u === r.current && (n?.(o.current), o.current = []);
}), a?.(s, c, l);
}, [n, a]);
return /* @__PURE__ */ d.createElement(Eo.Provider, {
value: i
}, t);
}
var H1 = function() {
if (typeof Map < "u")
return Map;
function e(t, n) {
var r = -1;
return t.some(function(o, a) {
return o[0] === n ? (r = a, !0) : !1;
}), r;
}
return (
/** @class */
function() {
function t() {
this.__entries__ = [];
}
return Object.defineProperty(t.prototype, "size", {
/**
* @returns {boolean}
*/
get: function() {
return this.__entries__.length;
},
enumerable: !0,
configurable: !0
}), t.prototype.get = function(n) {
var r = e(this.__entries__, n), o = this.__entries__[r];
return o && o[1];
}, t.prototype.set = function(n, r) {
var o = e(this.__entries__, n);
~o ? this.__entries__[o][1] = r : this.__entries__.push([n, r]);
}, t.prototype.delete = function(n) {
var r = this.__entries__, o = e(r, n);
~o && r.splice(o, 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 o = 0, a = this.__entries__; o < a.length; o++) {
var i = a[o];
n.call(r, i[1], i[0]);
}
}, t;
}()
);
}(), wo = typeof window < "u" && typeof document < "u" && window.document === document, P0 = function() {
return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
}(), xc = function() {
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(P0) : function(e) {
return setTimeout(function() {
return e(Date.now());
}, 1e3 / 60);
};
}(), Oc = 2;
function Pc(e, t) {
var n = !1, r = !1, o = 0;
function a() {
n && (n = !1, e()), r && s();
}
function i() {
xc(a);
}
function s() {
var c = Date.now();
if (n) {
if (c - o < Oc)
return;
r = !0;
} else
n = !0, r = !1, setTimeout(i, t);
o = c;
}
return s;
}
var Rc = 20, Ac = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], Mc = typeof MutationObserver < "u", Ic = (
/** @class */
function() {
function e() {
this.connected_ = !1, this.mutationEventsAdded_ = !1, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = Pc(this.refresh.bind(this), Rc);
}
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() {
!wo || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), Mc ? (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() {
!wo || !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, o = Ac.some(function(a) {
return !!~r.indexOf(a);
});
o && this.refresh();
}, e.getInstance = function() {
return this.instance_ || (this.instance_ = new e()), this.instance_;
}, e.instance_ = null, e;
}()
), k1 = function(e, t) {
for (var n = 0, r = Object.keys(t); n < r.length; n++) {
var o = r[n];
Object.defineProperty(e, o, {
value: t[o],
enumerable: !1,
writable: !1,
configurable: !0
});
}
return e;
}, hr = function(e) {
var t = e && e.ownerDocument && e.ownerDocument.defaultView;
return t || P0;
}, z1 = z0(0, 0, 0, 0);
function R0(e) {
return parseFloat(e) || 0;
}
function ii(e) {
for (var t = [], n = 1; n < arguments.length; n++)
t[n - 1] = arguments[n];
return t.reduce(function(r, o) {
var a = e["border-" + o + "-width"];
return r + R0(a);
}, 0);
}
function Dc(e) {
for (var t = ["top", "right", "bottom", "left"], n = {}, r = 0, o = t; r < o.length; r++) {
var a = o[r], i = e["padding-" + a];
n[a] = R0(i);
}
return n;
}
function Tc(e) {
var t = e.getBBox();
return z0(0, 0, t.width, t.height);
}
function _c(e) {
var t = e.clientWidth, n = e.clientHeight;
if (!t && !n)
return z1;
var r = hr(e).getComputedStyle(e), o = Dc(r), a = o.left + o.right, i = o.top + o.bottom, s = R0(r.width), c = R0(r.height);
if (r.boxSizing === "border-box" && (Math.round(s + a) !== t && (s -= ii(r, "left", "right") + a), Math.round(c + i) !== n && (c -= ii(r, "top", "bottom") + i)), !Nc(e)) {
var l = Math.round(s + a) - t, u = Math.round(c + i) - n;
Math.abs(l) !== 1 && (s -= l), Math.abs(u) !== 1 && (c -= u);
}
return z0(o.left, o.top, s, c);
}
var Fc = /* @__PURE__ */ function() {
return typeof SVGGraphicsElement < "u" ? function(e) {
return e instanceof hr(e).SVGGraphicsElement;
} : function(e) {
return e instanceof hr(e).SVGElement && typeof e.getBBox == "function";
};
}();
function Nc(e) {
return e === hr(e).document.documentElement;
}
function $c(e) {
return wo ? Fc(e) ? Tc(e) : _c(e) : z1;
}
function Vc(e) {
var t = e.x, n = e.y, r = e.width, o = e.height, a = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, i = Object.create(a.prototype);
return k1(i, {
x: t,
y: n,
width: r,
height: o,
top: n,
right: t + r,
bottom: o + n,
left: t
}), i;
}
function z0(e, t, n, r) {
return { x: e, y: t, width: n, height: r };
}
var Lc = (
/** @class */
function() {
function e(t) {
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = z0(0, 0, 0, 0), this.target = t;
}
return e.prototype.isActive = function() {
var t = $c(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;
}()
), Bc = (
/** @class */
/* @__PURE__ */ function() {
function e(t, n) {
var r = Vc(n);
k1(this, { target: t, contentRect: r });
}
return e;
}()
), Hc = (
/** @class */
function() {
function e(t, n, r) {
if (this.activeObservations_ = [], this.observations_ = new H1(), 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 hr(t).Element))
throw new TypeError('parameter 1 is not of type "Element".');
var n = this.observations_;
n.has(t) || (n.set(t, new Lc(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 hr(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 Bc(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;
}()
), j1 = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new H1(), W1 = (
/** @class */
/* @__PURE__ */ 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 = Ic.getInstance(), r = new Hc(t, n, this);
j1.set(this, r);
}
return e;
}()
);
[
"observe",
"unobserve",
"disconnect"
].forEach(function(e) {
W1.prototype[e] = function() {
var t;
return (t = j1.get(this))[e].apply(t, arguments);
};
});
var kc = function() {
return typeof P0.ResizeObserver < "u" ? P0.ResizeObserver : W1;
}(), In = /* @__PURE__ */ new Map();
function G1(e) {
e.forEach(function(t) {
var n, r = t.target;
(n = In.get(r)) === null || n === void 0 || n.forEach(function(o) {
return o(r);
});
});
}
var U1 = new kc(G1);
process.env.NODE_ENV;
process.env.NODE_ENV;
function zc(e, t) {
In.has(e) || (In.set(e, /* @__PURE__ */ new Set()), U1.observe(e)), In.get(e).add(t);
}
function jc(e, t) {
In.has(e) && (In.get(e).delete(t), In.get(e).size || (U1.unobserve(e), In.delete(e)));
}
function Tt(e, t) {
if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
}
function si(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, L1(r.key), r);
}
}
function _t(e, t, n) {
return t && si(e.prototype, t), n && si(e, n), Object.defineProperty(e, "prototype", {
writable: !1
}), e;
}
function zr(e, t) {
return zr = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
return n.__proto__ = r, n;
}, zr(e, t);
}
function rr(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 && zr(e, t);
}
function jr(e) {
return jr = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
return t.__proto__ || Object.getPrototypeOf(t);
}, jr(e);
}
function Ea() {
try {
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
}));
} catch {
}
return (Ea = function() {
return !!e;
})();
}
function Te(e) {
if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
return e;
}
function Wc(e, t) {
if (t && (be(t) == "object" || typeof t == "function")) return t;
if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
return Te(e);
}
function or(e) {
var t = Ea();
return function() {
var n, r = jr(e);
if (t) {
var o = jr(this).constructor;
n = Reflect.construct(r, arguments, o);
} else n = r.apply(this, arguments);
return Wc(this, n);
};
}
var Gc = /* @__PURE__ */ function(e) {
rr(n, e);
var t = or(n);
function n() {
return Tt(this, n), t.apply(this, arguments);
}
return _t(n, [{
key: "render",
value: function() {
return this.props.children;
}
}]), n;
}(d.Component);
function Uc(e, t) {
var n = e.children, r = e.disabled, o = d.useRef(null), a = d.useRef(null), i = d.useContext(Eo), s = typeof n == "function", c = s ? n(o) : n, l = d.useRef({
width: -1,
height: -1,
offsetWidth: -1,
offsetHeight: -1
}), u = !s && /* @__PURE__ */ d.isValidElement(c) && k0(c), f = u ? Sa(c) : null, v = H0(f, o), g = function() {
var b;
return Nr(o.current) || // Support `nativeElement` format
(o.current && be(o.current) === "object" ? Nr((b = o.current) === null || b === void 0 ? void 0 : b.nativeElement) : null) || Nr(a.current);
};
d.useImperativeHandle(t, function() {
return g();
});
var p = d.useRef(e);
p.current = e;
var h = d.useCallback(function(m) {
var b = p.current, y = b.onResize, S = b.data, x = m.getBoundingClientRect(), w = x.width, C = x.height, E = m.offsetWidth, P = m.offsetHeight, A = Math.floor(w), M = Math.floor(C);
if (l.current.width !== A || l.current.height !== M || l.current.offsetWidth !== E || l.current.offsetHeight !== P) {
var T = {
width: A,
height: M,
offsetWidth: E,
offsetHeight: P
};
l.current = T;
var D = E === Math.round(w) ? w : E, _ = P === Math.round(C) ? C : P, I = R(R({}, T), {}, {
offsetWidth: D,
offsetHeight: _
});
i?.(I, m, S), y && Promise.resolve().then(function() {
y(I, m);
});
}
}, []);
return d.useEffect(function() {
var m = g();
return m && !r && zc(m, h), function() {
return jc(m, h);
};
}, [o.current, r]), /* @__PURE__ */ d.createElement(Gc, {
ref: a
}, u ? /* @__PURE__ */ d.cloneElement(c, {
ref: v
}) : c);
}
var K1 = /* @__PURE__ */ d.forwardRef(Uc);
process.env.NODE_ENV !== "production" && (K1.displayName = "SingleObserver");
var Kc = "rc-observer-key";
function qc(e, t) {
var n = e.children, r = typeof n == "function" ? [n] : Un(n);
return process.env.NODE_ENV !== "production" && (r.length > 1 ? nr(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : r.length === 0 && nr(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), r.map(function(o, a) {
var i = o?.key || "".concat(Kc, "-").concat(a);
return /* @__PURE__ */ d.createElement(K1, We({}, e, {
key: i,
ref: a === 0 ? t : void 0
}), o);
});
}
var qn = /* @__PURE__ */ d.forwardRef(qc);
process.env.NODE_ENV !== "production" && (qn.displayName = "ResizeObserver");
qn.Collection = wc;
function xo(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 Qc(e) {
if (Array.isArray(e)) return xo(e);
}
function q1(e) {
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
}
function wa(e, t) {
if (e) {
if (typeof e == "string") return xo(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) ? xo(e, t) : void 0;
}
}
function Xc() {
throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function le(e) {
return Qc(e) || q1(e) || wa(e) || Xc();
}
var Q1 = function(t) {
return +setTimeout(t, 16);
}, X1 = function(t) {
return clearTimeout(t);
};
typeof window < "u" && "requestAnimationFrame" in window && (Q1 = function(t) {
return window.requestAnimationFrame(t);
}, X1 = function(t) {
return window.cancelAnimationFrame(t);
});
var li = 0, j0 = /* @__PURE__ */ new Map();
function J1(e) {
j0.delete(e);
}
var Wt = function(t) {
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
li += 1;
var r = li;
function o(a) {
if (a === 0)
J1(r), t();
else {
var i = Q1(function() {
o(a - 1);
});
j0.set(r, i);
}
}
return o(n), r;
};
Wt.cancel = function(e) {
var t = j0.get(e);
return J1(e), X1(t);
};
process.env.NODE_ENV !== "production" && (Wt.ids = function() {
return j0;
});
function Y1(e) {
if (Array.isArray(e)) return e;
}
function Jc(e, t) {
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
if (n != null) {
var r, o, a, i, s = [], c = !0, l = !1;
try {
if (a = (n = n.call(e)).next, t === 0) {
if (Object(n) !== n) return;
c = !1;
} else for (; !(c = (r = a.call(n)).done) && (s.push(r.value), s.length !== t); c = !0) ;
} catch (u) {
l = !0, o = u;
} finally {
try {
if (!c && n.return != null && (i = n.return(), Object(i) !== i)) return;
} finally {
if (l) throw o;
}
}
return s;
}
}
function Z1() {
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In