Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

floating-ui-devtools

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

floating-ui-devtools - npm Package Compare versions

Comparing version
0.0.9
to
0.0.10
+1
-1
lib/floating-ui-devtools.cjs

@@ -1,1 +0,1 @@

"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-2cc2557c.cjs");exports.middleware=e.middleware;
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c="__FUIDT_CONTROLLER__",l="__FUIDT_ELEMENT_METADATA__",d="__FUIDT_HTML_REFERENCE__";function s(e,n){var r;const o=e;var t;return!!(!(o==null||(r=o.ownerDocument)===null||r===void 0)&&r.defaultView&&o instanceof o.ownerDocument.defaultView[(t=n==null?void 0:n.constructorName)!==null&&t!==void 0?t:"HTMLElement"])}const a=e=>!!(typeof e=="object"&&e&&l in e),E=e=>e==null?void 0:e[l],f=(e,n)=>Object.assign(e,{[l]:n}),u=e=>{const n=[],r=JSON.parse(JSON.stringify(e,(o,t)=>{if(s(t)){const i=n.push(t)-1;return`${d}${i}`}return typeof t=="object"&&t&&Object.getPrototypeOf(t)!==Object.prototype&&Object.getPrototypeOf(t)!==Array.prototype?"toString"in t?t.toString():void 0:t}));return{references:n.reduce((o,t,i)=>({...o,[i]:t}),{}),serializedData:r}},_=()=>{const e={selectedElement:null,select:n=>{if(a(n))return e.selectedElement=n,e.selectedElement;if(e.selectedElement){const r=E(e.selectedElement);if(r.type==="middleware"&&Object.values(r.references).includes(n))return e.selectedElement}return e.withdraw(),e.selectedElement},withdraw:()=>{e.selectedElement=null}};return e},m=e=>{e.defaultView&&(e.defaultView[c]||(e.defaultView[c]=_()))},w=e=>({...e,type:"FloatingUIMiddleware"}),T=(e,n=w)=>({name:"floating-ui-devtools",fn:r=>(m(e),f(r.elements.floating,{type:"middleware",...u(n(r))}),{})});exports.middleware=T;

@@ -1,4 +0,54 @@

import { m as r } from "./index-06ec9a36.js";
const l = "__FUIDT_CONTROLLER__", c = "__FUIDT_ELEMENT_METADATA__", s = "__FUIDT_HTML_REFERENCE__";
function d(e, n) {
var r;
const o = e;
var t;
return !!(!(o == null || (r = o.ownerDocument) === null || r === void 0) && r.defaultView && o instanceof o.ownerDocument.defaultView[(t = n == null ? void 0 : n.constructorName) !== null && t !== void 0 ? t : "HTMLElement"]);
}
const a = (e) => !!(typeof e == "object" && e && c in e), E = (e) => e == null ? void 0 : e[c], f = (e, n) => Object.assign(e, { [c]: n }), u = (e) => {
const n = [], r = JSON.parse(
JSON.stringify(e, (o, t) => {
if (d(t)) {
const i = n.push(t) - 1;
return `${s}${i}`;
}
return typeof t == "object" && t && Object.getPrototypeOf(t) !== Object.prototype && Object.getPrototypeOf(t) !== Array.prototype ? "toString" in t ? t.toString() : void 0 : t;
})
);
return {
references: n.reduce((o, t, i) => ({ ...o, [i]: t }), {}),
serializedData: r
};
}, _ = () => {
const e = {
selectedElement: null,
select: (n) => {
if (a(n))
return e.selectedElement = n, e.selectedElement;
if (e.selectedElement) {
const r = E(e.selectedElement);
if (r.type === "middleware" && Object.values(r.references).includes(n))
return e.selectedElement;
}
return e.withdraw(), e.selectedElement;
},
withdraw: () => {
e.selectedElement = null;
}
};
return e;
}, w = (e) => {
e.defaultView && (e.defaultView[l] || (e.defaultView[l] = _()));
}, m = (e) => ({
...e,
type: "FloatingUIMiddleware"
}), p = (e, n = m) => ({
name: "floating-ui-devtools",
fn: (r) => (w(e), f(r.elements.floating, {
type: "middleware",
...u(n(r))
}), {})
});
export {
r as middleware
p as middleware
};
{
"name": "floating-ui-devtools",
"version": "0.0.9",
"version": "0.0.10",
"type": "module",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

function pt(o, d) {
for (var P = 0; P < d.length; P++) {
const _ = d[P];
if (typeof _ != "string" && !Array.isArray(_)) {
for (const v in _)
if (v !== "default" && !(v in o)) {
const E = Object.getOwnPropertyDescriptor(_, v);
E && Object.defineProperty(o, v, E.get ? E : {
enumerable: !0,
get: () => _[v]
});
}
}
}
return Object.freeze(Object.defineProperty(o, Symbol.toStringTag, { value: "Module" }));
}
const dr = "__FUIDT_CONTROLLER__", Te = "__FUIDT_ELEMENT_METADATA__", vt = "__FUIDT_HTML_REFERENCE__";
var jt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
function yt(o) {
return o && o.__esModule && Object.prototype.hasOwnProperty.call(o, "default") ? o.default : o;
}
var Se = { exports: {} }, p = {};
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/
var je, pr;
function mr() {
if (pr)
return je;
pr = 1;
var o = Object.getOwnPropertySymbols, d = Object.prototype.hasOwnProperty, P = Object.prototype.propertyIsEnumerable;
function _(E) {
if (E == null)
throw new TypeError("Object.assign cannot be called with null or undefined");
return Object(E);
}
function v() {
try {
if (!Object.assign)
return !1;
var E = new String("abc");
if (E[5] = "de", Object.getOwnPropertyNames(E)[0] === "5")
return !1;
for (var M = {}, j = 0; j < 10; j++)
M["_" + String.fromCharCode(j)] = j;
var k = Object.getOwnPropertyNames(M).map(function(D) {
return M[D];
});
if (k.join("") !== "0123456789")
return !1;
var A = {};
return "abcdefghijklmnopqrst".split("").forEach(function(D) {
A[D] = D;
}), Object.keys(Object.assign({}, A)).join("") === "abcdefghijklmnopqrst";
} catch {
return !1;
}
}
return je = v() ? Object.assign : function(E, M) {
for (var j, k = _(E), A, D = 1; D < arguments.length; D++) {
j = Object(arguments[D]);
for (var I in j)
d.call(j, I) && (k[I] = j[I]);
if (o) {
A = o(j);
for (var F = 0; F < A.length; F++)
P.call(j, A[F]) && (k[A[F]] = j[A[F]]);
}
}
return k;
}, je;
}
/** @license React v17.0.2
* 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 vr;
function mt() {
if (vr)
return p;
vr = 1;
var o = mr(), d = 60103, P = 60106;
p.Fragment = 60107, p.StrictMode = 60108, p.Profiler = 60114;
var _ = 60109, v = 60110, E = 60112;
p.Suspense = 60113;
var M = 60115, j = 60116;
if (typeof Symbol == "function" && Symbol.for) {
var k = Symbol.for;
d = k("react.element"), P = k("react.portal"), p.Fragment = k("react.fragment"), p.StrictMode = k("react.strict_mode"), p.Profiler = k("react.profiler"), _ = k("react.provider"), v = k("react.context"), E = k("react.forward_ref"), p.Suspense = k("react.suspense"), M = k("react.memo"), j = k("react.lazy");
}
var A = typeof Symbol == "function" && Symbol.iterator;
function D(t) {
return t === null || typeof t != "object" ? null : (t = A && t[A] || t["@@iterator"], typeof t == "function" ? t : null);
}
function I(t) {
for (var u = "https://reactjs.org/docs/error-decoder.html?invariant=" + t, l = 1; l < arguments.length; l++)
u += "&args[]=" + encodeURIComponent(arguments[l]);
return "Minified React error #" + t + "; visit " + u + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
}
var F = { isMounted: function() {
return !1;
}, enqueueForceUpdate: function() {
}, enqueueReplaceState: function() {
}, enqueueSetState: function() {
} }, Z = {};
function H(t, u, l) {
this.props = t, this.context = u, this.refs = Z, this.updater = l || F;
}
H.prototype.isReactComponent = {}, H.prototype.setState = function(t, u) {
if (typeof t != "object" && typeof t != "function" && t != null)
throw Error(I(85));
this.updater.enqueueSetState(this, t, u, "setState");
}, H.prototype.forceUpdate = function(t) {
this.updater.enqueueForceUpdate(this, t, "forceUpdate");
};
function ee() {
}
ee.prototype = H.prototype;
function R(t, u, l) {
this.props = t, this.context = u, this.refs = Z, this.updater = l || F;
}
var K = R.prototype = new ee();
K.constructor = R, o(K, H.prototype), K.isPureReactComponent = !0;
var re = { current: null }, te = Object.prototype.hasOwnProperty, ne = { key: !0, ref: !0, __self: !0, __source: !0 };
function ce(t, u, l) {
var m, h = {}, w = null, S = null;
if (u != null)
for (m in u.ref !== void 0 && (S = u.ref), u.key !== void 0 && (w = "" + u.key), u)
te.call(u, m) && !ne.hasOwnProperty(m) && (h[m] = u[m]);
var C = arguments.length - 2;
if (C === 1)
h.children = l;
else if (1 < C) {
for (var b = Array(C), x = 0; x < C; x++)
b[x] = arguments[x + 2];
h.children = b;
}
if (t && t.defaultProps)
for (m in C = t.defaultProps, C)
h[m] === void 0 && (h[m] = C[m]);
return { $$typeof: d, type: t, key: w, ref: S, props: h, _owner: re.current };
}
function W(t, u) {
return { $$typeof: d, type: t.type, key: u, ref: t.ref, props: t.props, _owner: t._owner };
}
function B(t) {
return typeof t == "object" && t !== null && t.$$typeof === d;
}
function J(t) {
var u = { "=": "=0", ":": "=2" };
return "$" + t.replace(/[=:]/g, function(l) {
return u[l];
});
}
var ae = /\/+/g;
function oe(t, u) {
return typeof t == "object" && t !== null && t.key != null ? J("" + t.key) : u.toString(36);
}
function Y(t, u, l, m, h) {
var w = typeof t;
(w === "undefined" || w === "boolean") && (t = null);
var S = !1;
if (t === null)
S = !0;
else
switch (w) {
case "string":
case "number":
S = !0;
break;
case "object":
switch (t.$$typeof) {
case d:
case P:
S = !0;
}
}
if (S)
return S = t, h = h(S), t = m === "" ? "." + oe(S, 0) : m, Array.isArray(h) ? (l = "", t != null && (l = t.replace(ae, "$&/") + "/"), Y(h, u, l, "", function(x) {
return x;
})) : h != null && (B(h) && (h = W(h, l + (!h.key || S && S.key === h.key ? "" : ("" + h.key).replace(ae, "$&/") + "/") + t)), u.push(h)), 1;
if (S = 0, m = m === "" ? "." : m + ":", Array.isArray(t))
for (var C = 0; C < t.length; C++) {
w = t[C];
var b = m + oe(w, C);
S += Y(w, u, l, b, h);
}
else if (b = D(t), typeof b == "function")
for (t = b.call(t), C = 0; !(w = t.next()).done; )
w = w.value, b = m + oe(w, C++), S += Y(w, u, l, b, h);
else if (w === "object")
throw u = "" + t, Error(I(31, u === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : u));
return S;
}
function q(t, u, l) {
if (t == null)
return t;
var m = [], h = 0;
return Y(t, m, "", "", function(w) {
return u.call(l, w, h++);
}), m;
}
function y(t) {
if (t._status === -1) {
var u = t._result;
u = u(), t._status = 0, t._result = u, u.then(function(l) {
t._status === 0 && (l = l.default, t._status = 1, t._result = l);
}, function(l) {
t._status === 0 && (t._status = 2, t._result = l);
});
}
if (t._status === 1)
return t._result;
throw t._result;
}
var ue = { current: null };
function L() {
var t = ue.current;
if (t === null)
throw Error(I(321));
return t;
}
var ie = { ReactCurrentDispatcher: ue, ReactCurrentBatchConfig: { transition: 0 }, ReactCurrentOwner: re, IsSomeRendererActing: { current: !1 }, assign: o };
return p.Children = { map: q, forEach: function(t, u, l) {
q(t, function() {
u.apply(this, arguments);
}, l);
}, count: function(t) {
var u = 0;
return q(t, function() {
u++;
}), u;
}, toArray: function(t) {
return q(t, function(u) {
return u;
}) || [];
}, only: function(t) {
if (!B(t))
throw Error(I(143));
return t;
} }, p.Component = H, p.PureComponent = R, p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ie, p.cloneElement = function(t, u, l) {
if (t == null)
throw Error(I(267, t));
var m = o({}, t.props), h = t.key, w = t.ref, S = t._owner;
if (u != null) {
if (u.ref !== void 0 && (w = u.ref, S = re.current), u.key !== void 0 && (h = "" + u.key), t.type && t.type.defaultProps)
var C = t.type.defaultProps;
for (b in u)
te.call(u, b) && !ne.hasOwnProperty(b) && (m[b] = u[b] === void 0 && C !== void 0 ? C[b] : u[b]);
}
var b = arguments.length - 2;
if (b === 1)
m.children = l;
else if (1 < b) {
C = Array(b);
for (var x = 0; x < b; x++)
C[x] = arguments[x + 2];
m.children = C;
}
return {
$$typeof: d,
type: t.type,
key: h,
ref: w,
props: m,
_owner: S
};
}, p.createContext = function(t, u) {
return u === void 0 && (u = null), t = { $$typeof: v, _calculateChangedBits: u, _currentValue: t, _currentValue2: t, _threadCount: 0, Provider: null, Consumer: null }, t.Provider = { $$typeof: _, _context: t }, t.Consumer = t;
}, p.createElement = ce, p.createFactory = function(t) {
var u = ce.bind(null, t);
return u.type = t, u;
}, p.createRef = function() {
return { current: null };
}, p.forwardRef = function(t) {
return { $$typeof: E, render: t };
}, p.isValidElement = B, p.lazy = function(t) {
return { $$typeof: j, _payload: { _status: -1, _result: t }, _init: y };
}, p.memo = function(t, u) {
return { $$typeof: M, type: t, compare: u === void 0 ? null : u };
}, p.useCallback = function(t, u) {
return L().useCallback(t, u);
}, p.useContext = function(t, u) {
return L().useContext(t, u);
}, p.useDebugValue = function() {
}, p.useEffect = function(t, u) {
return L().useEffect(t, u);
}, p.useImperativeHandle = function(t, u, l) {
return L().useImperativeHandle(t, u, l);
}, p.useLayoutEffect = function(t, u) {
return L().useLayoutEffect(t, u);
}, p.useMemo = function(t, u) {
return L().useMemo(t, u);
}, p.useReducer = function(t, u, l) {
return L().useReducer(t, u, l);
}, p.useRef = function(t) {
return L().useRef(t);
}, p.useState = function(t) {
return L().useState(t);
}, p.version = "17.0.2", p;
}
var ke = {};
/** @license React v17.0.2
* 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.
*/
var yr;
function ht() {
return yr || (yr = 1, function(o) {
process.env.NODE_ENV !== "production" && function() {
var d = mr(), P = "17.0.2", _ = 60103, v = 60106;
o.Fragment = 60107, o.StrictMode = 60108, o.Profiler = 60114;
var E = 60109, M = 60110, j = 60112;
o.Suspense = 60113;
var k = 60120, A = 60115, D = 60116, I = 60121, F = 60122, Z = 60117, H = 60129, ee = 60131;
if (typeof Symbol == "function" && Symbol.for) {
var R = Symbol.for;
_ = R("react.element"), v = R("react.portal"), o.Fragment = R("react.fragment"), o.StrictMode = R("react.strict_mode"), o.Profiler = R("react.profiler"), E = R("react.provider"), M = R("react.context"), j = R("react.forward_ref"), o.Suspense = R("react.suspense"), k = R("react.suspense_list"), A = R("react.memo"), D = R("react.lazy"), I = R("react.block"), F = R("react.server.block"), Z = R("react.fundamental"), R("react.scope"), R("react.opaque.id"), H = R("react.debug_trace_mode"), R("react.offscreen"), ee = R("react.legacy_hidden");
}
var K = typeof Symbol == "function" && Symbol.iterator, re = "@@iterator";
function te(e) {
if (e === null || typeof e != "object")
return null;
var r = K && e[K] || e[re];
return typeof r == "function" ? r : null;
}
var ne = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
}, ce = {
transition: 0
}, W = {
/**
* @internal
* @type {ReactComponent}
*/
current: null
}, B = {}, J = null;
function ae(e) {
J = e;
}
B.setExtraStackFrame = function(e) {
J = e;
}, B.getCurrentStack = null, B.getStackAddendum = function() {
var e = "";
J && (e += J);
var r = B.getCurrentStack;
return r && (e += r() || ""), e;
};
var oe = {
current: !1
}, Y = {
ReactCurrentDispatcher: ne,
ReactCurrentBatchConfig: ce,
ReactCurrentOwner: W,
IsSomeRendererActing: oe,
// Used by renderers to avoid bundling object-assign twice in UMD bundles:
assign: d
};
Y.ReactDebugCurrentFrame = B;
function q(e) {
{
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
n[a - 1] = arguments[a];
ue("warn", e, n);
}
}
function y(e) {
{
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
n[a - 1] = arguments[a];
ue("error", e, n);
}
}
function ue(e, r, n) {
{
var a = Y.ReactDebugCurrentFrame, i = a.getStackAddendum();
i !== "" && (r += "%s", n = n.concat([i]));
var f = n.map(function(c) {
return "" + c;
});
f.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, f);
}
}
var L = {};
function ie(e, r) {
{
var n = e.constructor, a = n && (n.displayName || n.name) || "ReactClass", i = a + "." + r;
if (L[i])
return;
y("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.", r, a), L[i] = !0;
}
}
var t = {
/**
* 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(e) {
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(e, r, n) {
ie(e, "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(e, r, n, a) {
ie(e, "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(e, r, n, a) {
ie(e, "setState");
}
}, u = {};
Object.freeze(u);
function l(e, r, n) {
this.props = e, this.context = r, this.refs = u, this.updater = n || t;
}
l.prototype.isReactComponent = {}, l.prototype.setState = function(e, r) {
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, r, "setState");
}, l.prototype.forceUpdate = function(e) {
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
};
{
var m = {
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)."]
}, h = function(e, r) {
Object.defineProperty(l.prototype, e, {
get: function() {
q("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
}
});
};
for (var w in m)
m.hasOwnProperty(w) && h(w, m[w]);
}
function S() {
}
S.prototype = l.prototype;
function C(e, r, n) {
this.props = e, this.context = r, this.refs = u, this.updater = n || t;
}
var b = C.prototype = new S();
b.constructor = C, d(b, l.prototype), b.isPureReactComponent = !0;
function x() {
var e = {
current: null
};
return Object.seal(e), e;
}
function hr(e, r, n) {
var a = r.displayName || r.name || "";
return e.displayName || (a !== "" ? n + "(" + a + ")" : n);
}
function $e(e) {
return e.displayName || "Context";
}
function G(e) {
if (e == null)
return null;
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."), typeof e == "function")
return e.displayName || e.name || null;
if (typeof e == "string")
return e;
switch (e) {
case o.Fragment:
return "Fragment";
case v:
return "Portal";
case o.Profiler:
return "Profiler";
case o.StrictMode:
return "StrictMode";
case o.Suspense:
return "Suspense";
case k:
return "SuspenseList";
}
if (typeof e == "object")
switch (e.$$typeof) {
case M:
var r = e;
return $e(r) + ".Consumer";
case E:
var n = e;
return $e(n._context) + ".Provider";
case j:
return hr(e, e.render, "ForwardRef");
case A:
return G(e.type);
case I:
return G(e._render);
case D: {
var a = e, i = a._payload, f = a._init;
try {
return G(f(i));
} catch {
return null;
}
}
}
return null;
}
var fe = Object.prototype.hasOwnProperty, De = {
key: !0,
ref: !0,
__self: !0,
__source: !0
}, Ie, Ne, ge;
ge = {};
function Me(e) {
if (fe.call(e, "ref")) {
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
if (r && r.isReactWarning)
return !1;
}
return e.ref !== void 0;
}
function xe(e) {
if (fe.call(e, "key")) {
var r = Object.getOwnPropertyDescriptor(e, "key").get;
if (r && r.isReactWarning)
return !1;
}
return e.key !== void 0;
}
function gr(e, r) {
var n = function() {
Ie || (Ie = !0, y("%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)", r));
};
n.isReactWarning = !0, Object.defineProperty(e, "key", {
get: n,
configurable: !0
});
}
function _r(e, r) {
var n = function() {
Ne || (Ne = !0, y("%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)", r));
};
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
get: n,
configurable: !0
});
}
function br(e) {
if (typeof e.ref == "string" && W.current && e.__self && W.current.stateNode !== e.__self) {
var r = G(W.current.type);
ge[r] || (y('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', r, e.ref), ge[r] = !0);
}
}
var _e = function(e, r, n, a, i, f, c) {
var s = {
// This tag allows us to uniquely identify this as a React Element
$$typeof: _,
// Built-in properties that belong on the element
type: e,
key: r,
ref: n,
props: c,
// Record the component responsible for creating this element.
_owner: f
};
return s._store = {}, Object.defineProperty(s._store, "validated", {
configurable: !1,
enumerable: !1,
writable: !0,
value: !1
}), Object.defineProperty(s, "_self", {
configurable: !1,
enumerable: !1,
writable: !1,
value: a
}), Object.defineProperty(s, "_source", {
configurable: !1,
enumerable: !1,
writable: !1,
value: i
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
};
function Er(e, r, n) {
var a, i = {}, f = null, c = null, s = null, g = null;
if (r != null) {
Me(r) && (c = r.ref, br(r)), xe(r) && (f = "" + r.key), s = r.__self === void 0 ? null : r.__self, g = r.__source === void 0 ? null : r.__source;
for (a in r)
fe.call(r, a) && !De.hasOwnProperty(a) && (i[a] = r[a]);
}
var O = arguments.length - 2;
if (O === 1)
i.children = n;
else if (O > 1) {
for (var T = Array(O), $ = 0; $ < O; $++)
T[$] = arguments[$ + 2];
Object.freeze && Object.freeze(T), i.children = T;
}
if (e && e.defaultProps) {
var U = e.defaultProps;
for (a in U)
i[a] === void 0 && (i[a] = U[a]);
}
if (f || c) {
var N = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
f && gr(i, N), c && _r(i, N);
}
return _e(e, f, c, s, g, W.current, i);
}
function Rr(e, r) {
var n = _e(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
return n;
}
function wr(e, r, n) {
if (e == null)
throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
var a, i = d({}, e.props), f = e.key, c = e.ref, s = e._self, g = e._source, O = e._owner;
if (r != null) {
Me(r) && (c = r.ref, O = W.current), xe(r) && (f = "" + r.key);
var T;
e.type && e.type.defaultProps && (T = e.type.defaultProps);
for (a in r)
fe.call(r, a) && !De.hasOwnProperty(a) && (r[a] === void 0 && T !== void 0 ? i[a] = T[a] : i[a] = r[a]);
}
var $ = arguments.length - 2;
if ($ === 1)
i.children = n;
else if ($ > 1) {
for (var U = Array($), N = 0; N < $; N++)
U[N] = arguments[N + 2];
i.children = U;
}
return _e(e.type, f, c, s, g, O, i);
}
function X(e) {
return typeof e == "object" && e !== null && e.$$typeof === _;
}
var Ue = ".", Cr = ":";
function Or(e) {
var r = /[=:]/g, n = {
"=": "=0",
":": "=2"
}, a = e.replace(r, function(i) {
return n[i];
});
return "$" + a;
}
var Le = !1, Pr = /\/+/g;
function Ve(e) {
return e.replace(Pr, "$&/");
}
function be(e, r) {
return typeof e == "object" && e !== null && e.key != null ? Or("" + e.key) : r.toString(36);
}
function le(e, r, n, a, i) {
var f = typeof e;
(f === "undefined" || f === "boolean") && (e = null);
var c = !1;
if (e === null)
c = !0;
else
switch (f) {
case "string":
case "number":
c = !0;
break;
case "object":
switch (e.$$typeof) {
case _:
case v:
c = !0;
}
}
if (c) {
var s = e, g = i(s), O = a === "" ? Ue + be(s, 0) : a;
if (Array.isArray(g)) {
var T = "";
O != null && (T = Ve(O) + "/"), le(g, r, T, "", function(dt) {
return dt;
});
} else
g != null && (X(g) && (g = Rr(
g,
// Keep both the (mapped) and old keys if they differ, just as
// traverseAllChildren used to do for objects as children
n + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
(g.key && (!s || s.key !== g.key) ? (
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
Ve("" + g.key) + "/"
) : "") + O
)), r.push(g));
return 1;
}
var $, U, N = 0, V = a === "" ? Ue : a + Cr;
if (Array.isArray(e))
for (var he = 0; he < e.length; he++)
$ = e[he], U = V + be($, he), N += le($, r, n, U, i);
else {
var Pe = te(e);
if (typeof Pe == "function") {
var cr = e;
Pe === cr.entries && (Le || q("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Le = !0);
for (var ft = Pe.call(cr), fr, lt = 0; !(fr = ft.next()).done; )
$ = fr.value, U = V + be($, lt++), N += le($, r, n, U, i);
} else if (f === "object") {
var lr = "" + e;
throw Error("Objects are not valid as a React child (found: " + (lr === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : lr) + "). If you meant to render a collection of children, use an array instead.");
}
}
return N;
}
function de(e, r, n) {
if (e == null)
return e;
var a = [], i = 0;
return le(e, a, "", "", function(f) {
return r.call(n, f, i++);
}), a;
}
function jr(e) {
var r = 0;
return de(e, function() {
r++;
}), r;
}
function kr(e, r, n) {
de(e, function() {
r.apply(this, arguments);
}, n);
}
function Sr(e) {
return de(e, function(r) {
return r;
}) || [];
}
function Tr(e) {
if (!X(e))
throw Error("React.Children.only expected to receive a single React element child.");
return e;
}
function Ar(e, r) {
r === void 0 ? r = null : r !== null && typeof r != "function" && y("createContext: Expected the optional second argument to be a function. Instead received: %s", r);
var n = {
$$typeof: M,
_calculateChangedBits: r,
// 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: e,
_currentValue2: e,
// 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
};
n.Provider = {
$$typeof: E,
_context: n
};
var a = !1, i = !1, f = !1;
{
var c = {
$$typeof: M,
_context: n,
_calculateChangedBits: n._calculateChangedBits
};
Object.defineProperties(c, {
Provider: {
get: function() {
return i || (i = !0, y("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), n.Provider;
},
set: function(s) {
n.Provider = s;
}
},
_currentValue: {
get: function() {
return n._currentValue;
},
set: function(s) {
n._currentValue = s;
}
},
_currentValue2: {
get: function() {
return n._currentValue2;
},
set: function(s) {
n._currentValue2 = s;
}
},
_threadCount: {
get: function() {
return n._threadCount;
},
set: function(s) {
n._threadCount = s;
}
},
Consumer: {
get: function() {
return a || (a = !0, y("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), n.Consumer;
}
},
displayName: {
get: function() {
return n.displayName;
},
set: function(s) {
f || (q("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", s), f = !0);
}
}
}), n.Consumer = c;
}
return n._currentRenderer = null, n._currentRenderer2 = null, n;
}
var $r = -1, Ee = 0, Fe = 1, Dr = 2;
function Ir(e) {
if (e._status === $r) {
var r = e._result, n = r(), a = e;
a._status = Ee, a._result = n, n.then(function(i) {
if (e._status === Ee) {
var f = i.default;
f === void 0 && y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`, i);
var c = e;
c._status = Fe, c._result = f;
}
}, function(i) {
if (e._status === Ee) {
var f = e;
f._status = Dr, f._result = i;
}
});
}
if (e._status === Fe)
return e._result;
throw e._result;
}
function Nr(e) {
var r = {
// We use these fields to store the result.
_status: -1,
_result: e
}, n = {
$$typeof: D,
_payload: r,
_init: Ir
};
{
var a, i;
Object.defineProperties(n, {
defaultProps: {
configurable: !0,
get: function() {
return a;
},
set: function(f) {
y("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."), a = f, Object.defineProperty(n, "defaultProps", {
enumerable: !0
});
}
},
propTypes: {
configurable: !0,
get: function() {
return i;
},
set: function(f) {
y("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."), i = f, Object.defineProperty(n, "propTypes", {
enumerable: !0
});
}
}
});
}
return n;
}
function Mr(e) {
e != null && e.$$typeof === A ? y("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? y("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && y("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && y("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
var r = {
$$typeof: j,
render: e
};
{
var n;
Object.defineProperty(r, "displayName", {
enumerable: !1,
configurable: !0,
get: function() {
return n;
},
set: function(a) {
n = a, e.displayName == null && (e.displayName = a);
}
});
}
return r;
}
var xr = !1;
function We(e) {
return !!(typeof e == "string" || typeof e == "function" || e === o.Fragment || e === o.Profiler || e === H || e === o.StrictMode || e === o.Suspense || e === k || e === ee || xr || typeof e == "object" && e !== null && (e.$$typeof === D || e.$$typeof === A || e.$$typeof === E || e.$$typeof === M || e.$$typeof === j || e.$$typeof === Z || e.$$typeof === I || e[0] === F));
}
function Ur(e, r) {
We(e) || y("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
var n = {
$$typeof: A,
type: e,
compare: r === void 0 ? null : r
};
{
var a;
Object.defineProperty(n, "displayName", {
enumerable: !1,
configurable: !0,
get: function() {
return a;
},
set: function(i) {
a = i, e.displayName == null && (e.displayName = i);
}
});
}
return n;
}
function z() {
var e = ne.current;
if (e === null)
throw 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://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);
return e;
}
function Lr(e, r) {
var n = z();
if (r !== void 0 && y("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s", r, typeof r == "number" && Array.isArray(arguments[2]) ? `
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://reactjs.org/link/rules-of-hooks` : ""), e._context !== void 0) {
var a = e._context;
a.Consumer === e ? y("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?") : a.Provider === e && y("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
}
return n.useContext(e, r);
}
function Vr(e) {
var r = z();
return r.useState(e);
}
function Fr(e, r, n) {
var a = z();
return a.useReducer(e, r, n);
}
function Wr(e) {
var r = z();
return r.useRef(e);
}
function Yr(e, r) {
var n = z();
return n.useEffect(e, r);
}
function qr(e, r) {
var n = z();
return n.useLayoutEffect(e, r);
}
function zr(e, r) {
var n = z();
return n.useCallback(e, r);
}
function Hr(e, r) {
var n = z();
return n.useMemo(e, r);
}
function Br(e, r, n) {
var a = z();
return a.useImperativeHandle(e, r, n);
}
function Gr(e, r) {
{
var n = z();
return n.useDebugValue(e, r);
}
}
var se = 0, Ye, qe, ze, He, Be, Ge, Ke;
function Je() {
}
Je.__reactDisabledLog = !0;
function Kr() {
{
if (se === 0) {
Ye = console.log, qe = console.info, ze = console.warn, He = console.error, Be = console.group, Ge = console.groupCollapsed, Ke = console.groupEnd;
var e = {
configurable: !0,
enumerable: !0,
value: Je,
writable: !0
};
Object.defineProperties(console, {
info: e,
log: e,
warn: e,
error: e,
group: e,
groupCollapsed: e,
groupEnd: e
});
}
se++;
}
}
function Jr() {
{
if (se--, se === 0) {
var e = {
configurable: !0,
enumerable: !0,
writable: !0
};
Object.defineProperties(console, {
log: d({}, e, {
value: Ye
}),
info: d({}, e, {
value: qe
}),
warn: d({}, e, {
value: ze
}),
error: d({}, e, {
value: He
}),
group: d({}, e, {
value: Be
}),
groupCollapsed: d({}, e, {
value: Ge
}),
groupEnd: d({}, e, {
value: Ke
})
});
}
se < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
}
}
var Re = Y.ReactCurrentDispatcher, we;
function pe(e, r, n) {
{
if (we === void 0)
try {
throw Error();
} catch (i) {
var a = i.stack.trim().match(/\n( *(at )?)/);
we = a && a[1] || "";
}
return `
` + we + e;
}
}
var Ce = !1, ve;
{
var Xr = typeof WeakMap == "function" ? WeakMap : Map;
ve = new Xr();
}
function Xe(e, r) {
if (!e || Ce)
return "";
{
var n = ve.get(e);
if (n !== void 0)
return n;
}
var a;
Ce = !0;
var i = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
var f;
f = Re.current, Re.current = null, Kr();
try {
if (r) {
var c = function() {
throw Error();
};
if (Object.defineProperty(c.prototype, "props", {
set: function() {
throw Error();
}
}), typeof Reflect == "object" && Reflect.construct) {
try {
Reflect.construct(c, []);
} catch (V) {
a = V;
}
Reflect.construct(e, [], c);
} else {
try {
c.call();
} catch (V) {
a = V;
}
e.call(c.prototype);
}
} else {
try {
throw Error();
} catch (V) {
a = V;
}
e();
}
} catch (V) {
if (V && a && typeof V.stack == "string") {
for (var s = V.stack.split(`
`), g = a.stack.split(`
`), O = s.length - 1, T = g.length - 1; O >= 1 && T >= 0 && s[O] !== g[T]; )
T--;
for (; O >= 1 && T >= 0; O--, T--)
if (s[O] !== g[T]) {
if (O !== 1 || T !== 1)
do
if (O--, T--, T < 0 || s[O] !== g[T]) {
var $ = `
` + s[O].replace(" at new ", " at ");
return typeof e == "function" && ve.set(e, $), $;
}
while (O >= 1 && T >= 0);
break;
}
}
} finally {
Ce = !1, Re.current = f, Jr(), Error.prepareStackTrace = i;
}
var U = e ? e.displayName || e.name : "", N = U ? pe(U) : "";
return typeof e == "function" && ve.set(e, N), N;
}
function Qe(e, r, n) {
return Xe(e, !1);
}
function Qr(e) {
var r = e.prototype;
return !!(r && r.isReactComponent);
}
function ye(e, r, n) {
if (e == null)
return "";
if (typeof e == "function")
return Xe(e, Qr(e));
if (typeof e == "string")
return pe(e);
switch (e) {
case o.Suspense:
return pe("Suspense");
case k:
return pe("SuspenseList");
}
if (typeof e == "object")
switch (e.$$typeof) {
case j:
return Qe(e.render);
case A:
return ye(e.type, r, n);
case I:
return Qe(e._render);
case D: {
var a = e, i = a._payload, f = a._init;
try {
return ye(f(i), r, n);
} catch {
}
}
}
return "";
}
var Ze = {}, er = Y.ReactDebugCurrentFrame;
function me(e) {
if (e) {
var r = e._owner, n = ye(e.type, e._source, r ? r.type : null);
er.setExtraStackFrame(n);
} else
er.setExtraStackFrame(null);
}
function Zr(e, r, n, a, i) {
{
var f = Function.call.bind(Object.prototype.hasOwnProperty);
for (var c in e)
if (f(e, c)) {
var s = void 0;
try {
if (typeof e[c] != "function") {
var g = Error((a || "React class") + ": " + n + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
throw g.name = "Invariant Violation", g;
}
s = e[c](r, c, a, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
} catch (O) {
s = O;
}
s && !(s instanceof Error) && (me(i), y("%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).", a || "React class", n, c, typeof s), me(null)), s instanceof Error && !(s.message in Ze) && (Ze[s.message] = !0, me(i), y("Failed %s type: %s", n, s.message), me(null));
}
}
}
function Q(e) {
if (e) {
var r = e._owner, n = ye(e.type, e._source, r ? r.type : null);
ae(n);
} else
ae(null);
}
var Oe;
Oe = !1;
function rr() {
if (W.current) {
var e = G(W.current.type);
if (e)
return `
Check the render method of \`` + e + "`.";
}
return "";
}
function et(e) {
if (e !== void 0) {
var r = e.fileName.replace(/^.*[\\\/]/, ""), n = e.lineNumber;
return `
Check your code at ` + r + ":" + n + ".";
}
return "";
}
function rt(e) {
return e != null ? et(e.__source) : "";
}
var tr = {};
function tt(e) {
var r = rr();
if (!r) {
var n = typeof e == "string" ? e : e.displayName || e.name;
n && (r = `
Check the top-level render call using <` + n + ">.");
}
return r;
}
function nr(e, r) {
if (!(!e._store || e._store.validated || e.key != null)) {
e._store.validated = !0;
var n = tt(r);
if (!tr[n]) {
tr[n] = !0;
var a = "";
e && e._owner && e._owner !== W.current && (a = " It was passed a child from " + G(e._owner.type) + "."), Q(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, a), Q(null);
}
}
}
function ar(e, r) {
if (typeof e == "object") {
if (Array.isArray(e))
for (var n = 0; n < e.length; n++) {
var a = e[n];
X(a) && nr(a, r);
}
else if (X(e))
e._store && (e._store.validated = !0);
else if (e) {
var i = te(e);
if (typeof i == "function" && i !== e.entries)
for (var f = i.call(e), c; !(c = f.next()).done; )
X(c.value) && nr(c.value, r);
}
}
}
function or(e) {
{
var r = e.type;
if (r == null || typeof r == "string")
return;
var n;
if (typeof r == "function")
n = r.propTypes;
else if (typeof r == "object" && (r.$$typeof === j || // Note: Memo only checks outer props here.
// Inner props are checked in the reconciler.
r.$$typeof === A))
n = r.propTypes;
else
return;
if (n) {
var a = G(r);
Zr(n, e.props, "prop", a, e);
} else if (r.PropTypes !== void 0 && !Oe) {
Oe = !0;
var i = G(r);
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
}
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
}
}
function nt(e) {
{
for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
var a = r[n];
if (a !== "children" && a !== "key") {
Q(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), Q(null);
break;
}
}
e.ref !== null && (Q(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), Q(null));
}
}
function ur(e, r, n) {
var a = We(e);
if (!a) {
var i = "";
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (i += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
var f = rt(r);
f ? i += f : i += rr();
var c;
e === null ? c = "null" : Array.isArray(e) ? c = "array" : e !== void 0 && e.$$typeof === _ ? (c = "<" + (G(e.type) || "Unknown") + " />", i = " Did you accidentally export a JSX literal instead of a component?") : c = typeof e, y("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", c, i);
}
var s = Er.apply(this, arguments);
if (s == null)
return s;
if (a)
for (var g = 2; g < arguments.length; g++)
ar(arguments[g], e);
return e === o.Fragment ? nt(s) : or(s), s;
}
var ir = !1;
function at(e) {
var r = ur.bind(null, e);
return r.type = e, ir || (ir = !0, q("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
enumerable: !1,
get: function() {
return q("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
value: e
}), e;
}
}), r;
}
function ot(e, r, n) {
for (var a = wr.apply(this, arguments), i = 2; i < arguments.length; i++)
ar(arguments[i], a.type);
return or(a), a;
}
try {
var sr = Object.freeze({});
} catch {
}
var ut = ur, it = ot, st = at, ct = {
map: de,
forEach: kr,
count: jr,
toArray: Sr,
only: Tr
};
o.Children = ct, o.Component = l, o.PureComponent = C, o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Y, o.cloneElement = it, o.createContext = Ar, o.createElement = ut, o.createFactory = st, o.createRef = x, o.forwardRef = Mr, o.isValidElement = X, o.lazy = Nr, o.memo = Ur, o.useCallback = zr, o.useContext = Lr, o.useDebugValue = Gr, o.useEffect = Yr, o.useImperativeHandle = Br, o.useLayoutEffect = qr, o.useMemo = Hr, o.useReducer = Fr, o.useRef = Wr, o.useState = Vr, o.version = P;
}();
}(ke)), ke;
}
process.env.NODE_ENV === "production" ? Se.exports = mt() : Se.exports = ht();
var Ae = Se.exports;
const gt = /* @__PURE__ */ yt(Ae), kt = /* @__PURE__ */ pt({
__proto__: null,
default: gt
}, [Ae]);
function _t(o, d) {
var P;
const _ = o;
var v;
return !!(!(_ == null || (P = _.ownerDocument) === null || P === void 0) && P.defaultView && _ instanceof _.ownerDocument.defaultView[(v = d == null ? void 0 : d.constructorName) !== null && v !== void 0 ? v : "HTMLElement"]);
}
const bt = (o) => !!(typeof o == "object" && o && Te in o), Et = (o) => o == null ? void 0 : o[Te], Rt = (o, d) => Object.assign(o, { [Te]: d }), wt = (o) => {
const d = [], P = JSON.parse(
JSON.stringify(o, (_, v) => {
if (_t(v)) {
const E = d.push(v) - 1;
return `${vt}${E}`;
}
return typeof v == "object" && v && Object.getPrototypeOf(v) !== Object.prototype && Object.getPrototypeOf(v) !== Array.prototype ? "toString" in v ? v.toString() : void 0 : v;
})
);
return {
references: d.reduce((_, v, E) => ({ ..._, [E]: v }), {}),
serializedData: P
};
}, Ct = () => {
const o = {
selectedElement: null,
select: (d) => {
if (bt(d))
return o.selectedElement = d, o.selectedElement;
if (o.selectedElement) {
const P = Et(o.selectedElement);
if (P.type === "middleware" && Object.values(P.references).includes(d))
return o.selectedElement;
}
return o.withdraw(), o.selectedElement;
},
withdraw: () => {
o.selectedElement = null;
}
};
return o;
}, Ot = (o) => {
o.defaultView && (o.defaultView[dr] || (o.defaultView[dr] = Ct()));
}, Pt = (o) => ({
...o,
type: "FloatingUIMiddleware"
});
Ae.lazy(() => import("./FloatingUIMiddleware-25a2ffdd.js"));
const St = (o, d = Pt) => ({
name: "floating-ui-devtools",
fn: (P) => (Ot(o), Rt(P.elements.floating, {
type: "middleware",
...wt(d(P))
}), {})
});
export {
dr as C,
Te as E,
vt as H,
kt as R,
mr as a,
gt as b,
jt as c,
yt as g,
St as m,
Ae as r
};
"use strict";function mt(o,d){for(var P=0;P<d.length;P++){const _=d[P];if(typeof _!="string"&&!Array.isArray(_)){for(const v in _)if(v!=="default"&&!(v in o)){const b=Object.getOwnPropertyDescriptor(_,v);b&&Object.defineProperty(o,v,b.get?b:{enumerable:!0,get:()=>_[v]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}const Ae="__FUIDT_CONTROLLER__",ge="__FUIDT_ELEMENT_METADATA__",hr="__FUIDT_HTML_REFERENCE__";var ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gr(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}var $e={exports:{}},p={};/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var Se,vr;function De(){if(vr)return Se;vr=1;var o=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,P=Object.prototype.propertyIsEnumerable;function _(b){if(b==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(b)}function v(){try{if(!Object.assign)return!1;var b=new String("abc");if(b[5]="de",Object.getOwnPropertyNames(b)[0]==="5")return!1;for(var M={},j=0;j<10;j++)M["_"+String.fromCharCode(j)]=j;var k=Object.getOwnPropertyNames(M).map(function(D){return M[D]});if(k.join("")!=="0123456789")return!1;var A={};return"abcdefghijklmnopqrst".split("").forEach(function(D){A[D]=D}),Object.keys(Object.assign({},A)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Se=v()?Object.assign:function(b,M){for(var j,k=_(b),A,D=1;D<arguments.length;D++){j=Object(arguments[D]);for(var I in j)d.call(j,I)&&(k[I]=j[I]);if(o){A=o(j);for(var V=0;V<A.length;V++)P.call(j,A[V])&&(k[A[V]]=j[A[V]])}}return k},Se}/** @license React v17.0.2
* 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 yr;function gt(){if(yr)return p;yr=1;var o=De(),d=60103,P=60106;p.Fragment=60107,p.StrictMode=60108,p.Profiler=60114;var _=60109,v=60110,b=60112;p.Suspense=60113;var M=60115,j=60116;if(typeof Symbol=="function"&&Symbol.for){var k=Symbol.for;d=k("react.element"),P=k("react.portal"),p.Fragment=k("react.fragment"),p.StrictMode=k("react.strict_mode"),p.Profiler=k("react.profiler"),_=k("react.provider"),v=k("react.context"),b=k("react.forward_ref"),p.Suspense=k("react.suspense"),M=k("react.memo"),j=k("react.lazy")}var A=typeof Symbol=="function"&&Symbol.iterator;function D(t){return t===null||typeof t!="object"?null:(t=A&&t[A]||t["@@iterator"],typeof t=="function"?t:null)}function I(t){for(var u="https://reactjs.org/docs/error-decoder.html?invariant="+t,l=1;l<arguments.length;l++)u+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+t+"; visit "+u+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var V={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Z={};function H(t,u,l){this.props=t,this.context=u,this.refs=Z,this.updater=l||V}H.prototype.isReactComponent={},H.prototype.setState=function(t,u){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error(I(85));this.updater.enqueueSetState(this,t,u,"setState")},H.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function ee(){}ee.prototype=H.prototype;function R(t,u,l){this.props=t,this.context=u,this.refs=Z,this.updater=l||V}var K=R.prototype=new ee;K.constructor=R,o(K,H.prototype),K.isPureReactComponent=!0;var re={current:null},te=Object.prototype.hasOwnProperty,ne={key:!0,ref:!0,__self:!0,__source:!0};function ce(t,u,l){var m,h={},C=null,S=null;if(u!=null)for(m in u.ref!==void 0&&(S=u.ref),u.key!==void 0&&(C=""+u.key),u)te.call(u,m)&&!ne.hasOwnProperty(m)&&(h[m]=u[m]);var w=arguments.length-2;if(w===1)h.children=l;else if(1<w){for(var E=Array(w),x=0;x<w;x++)E[x]=arguments[x+2];h.children=E}if(t&&t.defaultProps)for(m in w=t.defaultProps,w)h[m]===void 0&&(h[m]=w[m]);return{$$typeof:d,type:t,key:C,ref:S,props:h,_owner:re.current}}function W(t,u){return{$$typeof:d,type:t.type,key:u,ref:t.ref,props:t.props,_owner:t._owner}}function B(t){return typeof t=="object"&&t!==null&&t.$$typeof===d}function J(t){var u={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(l){return u[l]})}var ae=/\/+/g;function oe(t,u){return typeof t=="object"&&t!==null&&t.key!=null?J(""+t.key):u.toString(36)}function Y(t,u,l,m,h){var C=typeof t;(C==="undefined"||C==="boolean")&&(t=null);var S=!1;if(t===null)S=!0;else switch(C){case"string":case"number":S=!0;break;case"object":switch(t.$$typeof){case d:case P:S=!0}}if(S)return S=t,h=h(S),t=m===""?"."+oe(S,0):m,Array.isArray(h)?(l="",t!=null&&(l=t.replace(ae,"$&/")+"/"),Y(h,u,l,"",function(x){return x})):h!=null&&(B(h)&&(h=W(h,l+(!h.key||S&&S.key===h.key?"":(""+h.key).replace(ae,"$&/")+"/")+t)),u.push(h)),1;if(S=0,m=m===""?".":m+":",Array.isArray(t))for(var w=0;w<t.length;w++){C=t[w];var E=m+oe(C,w);S+=Y(C,u,l,E,h)}else if(E=D(t),typeof E=="function")for(t=E.call(t),w=0;!(C=t.next()).done;)C=C.value,E=m+oe(C,w++),S+=Y(C,u,l,E,h);else if(C==="object")throw u=""+t,Error(I(31,u==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":u));return S}function q(t,u,l){if(t==null)return t;var m=[],h=0;return Y(t,m,"","",function(C){return u.call(l,C,h++)}),m}function y(t){if(t._status===-1){var u=t._result;u=u(),t._status=0,t._result=u,u.then(function(l){t._status===0&&(l=l.default,t._status=1,t._result=l)},function(l){t._status===0&&(t._status=2,t._result=l)})}if(t._status===1)return t._result;throw t._result}var ue={current:null};function U(){var t=ue.current;if(t===null)throw Error(I(321));return t}var ie={ReactCurrentDispatcher:ue,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:re,IsSomeRendererActing:{current:!1},assign:o};return p.Children={map:q,forEach:function(t,u,l){q(t,function(){u.apply(this,arguments)},l)},count:function(t){var u=0;return q(t,function(){u++}),u},toArray:function(t){return q(t,function(u){return u})||[]},only:function(t){if(!B(t))throw Error(I(143));return t}},p.Component=H,p.PureComponent=R,p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ie,p.cloneElement=function(t,u,l){if(t==null)throw Error(I(267,t));var m=o({},t.props),h=t.key,C=t.ref,S=t._owner;if(u!=null){if(u.ref!==void 0&&(C=u.ref,S=re.current),u.key!==void 0&&(h=""+u.key),t.type&&t.type.defaultProps)var w=t.type.defaultProps;for(E in u)te.call(u,E)&&!ne.hasOwnProperty(E)&&(m[E]=u[E]===void 0&&w!==void 0?w[E]:u[E])}var E=arguments.length-2;if(E===1)m.children=l;else if(1<E){w=Array(E);for(var x=0;x<E;x++)w[x]=arguments[x+2];m.children=w}return{$$typeof:d,type:t.type,key:h,ref:C,props:m,_owner:S}},p.createContext=function(t,u){return u===void 0&&(u=null),t={$$typeof:v,_calculateChangedBits:u,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider={$$typeof:_,_context:t},t.Consumer=t},p.createElement=ce,p.createFactory=function(t){var u=ce.bind(null,t);return u.type=t,u},p.createRef=function(){return{current:null}},p.forwardRef=function(t){return{$$typeof:b,render:t}},p.isValidElement=B,p.lazy=function(t){return{$$typeof:j,_payload:{_status:-1,_result:t},_init:y}},p.memo=function(t,u){return{$$typeof:M,type:t,compare:u===void 0?null:u}},p.useCallback=function(t,u){return U().useCallback(t,u)},p.useContext=function(t,u){return U().useContext(t,u)},p.useDebugValue=function(){},p.useEffect=function(t,u){return U().useEffect(t,u)},p.useImperativeHandle=function(t,u,l){return U().useImperativeHandle(t,u,l)},p.useLayoutEffect=function(t,u){return U().useLayoutEffect(t,u)},p.useMemo=function(t,u){return U().useMemo(t,u)},p.useReducer=function(t,u,l){return U().useReducer(t,u,l)},p.useRef=function(t){return U().useRef(t)},p.useState=function(t){return U().useState(t)},p.version="17.0.2",p}var Te={};/** @license React v17.0.2
* 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.
*/var mr;function _t(){return mr||(mr=1,function(o){process.env.NODE_ENV!=="production"&&function(){var d=De(),P="17.0.2",_=60103,v=60106;o.Fragment=60107,o.StrictMode=60108,o.Profiler=60114;var b=60109,M=60110,j=60112;o.Suspense=60113;var k=60120,A=60115,D=60116,I=60121,V=60122,Z=60117,H=60129,ee=60131;if(typeof Symbol=="function"&&Symbol.for){var R=Symbol.for;_=R("react.element"),v=R("react.portal"),o.Fragment=R("react.fragment"),o.StrictMode=R("react.strict_mode"),o.Profiler=R("react.profiler"),b=R("react.provider"),M=R("react.context"),j=R("react.forward_ref"),o.Suspense=R("react.suspense"),k=R("react.suspense_list"),A=R("react.memo"),D=R("react.lazy"),I=R("react.block"),V=R("react.server.block"),Z=R("react.fundamental"),R("react.scope"),R("react.opaque.id"),H=R("react.debug_trace_mode"),R("react.offscreen"),ee=R("react.legacy_hidden")}var K=typeof Symbol=="function"&&Symbol.iterator,re="@@iterator";function te(e){if(e===null||typeof e!="object")return null;var r=K&&e[K]||e[re];return typeof r=="function"?r:null}var ne={current:null},ce={transition:0},W={current:null},B={},J=null;function ae(e){J=e}B.setExtraStackFrame=function(e){J=e},B.getCurrentStack=null,B.getStackAddendum=function(){var e="";J&&(e+=J);var r=B.getCurrentStack;return r&&(e+=r()||""),e};var oe={current:!1},Y={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:ce,ReactCurrentOwner:W,IsSomeRendererActing:oe,assign:d};Y.ReactDebugCurrentFrame=B;function q(e){{for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];ue("warn",e,n)}}function y(e){{for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];ue("error",e,n)}}function ue(e,r,n){{var a=Y.ReactDebugCurrentFrame,i=a.getStackAddendum();i!==""&&(r+="%s",n=n.concat([i]));var f=n.map(function(c){return""+c});f.unshift("Warning: "+r),Function.prototype.apply.call(console[e],console,f)}}var U={};function ie(e,r){{var n=e.constructor,a=n&&(n.displayName||n.name)||"ReactClass",i=a+"."+r;if(U[i])return;y("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.",r,a),U[i]=!0}}var t={isMounted:function(e){return!1},enqueueForceUpdate:function(e,r,n){ie(e,"forceUpdate")},enqueueReplaceState:function(e,r,n,a){ie(e,"replaceState")},enqueueSetState:function(e,r,n,a){ie(e,"setState")}},u={};Object.freeze(u);function l(e,r,n){this.props=e,this.context=r,this.refs=u,this.updater=n||t}l.prototype.isReactComponent={},l.prototype.setState=function(e,r){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,r,"setState")},l.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};{var m={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)."]},h=function(e,r){Object.defineProperty(l.prototype,e,{get:function(){q("%s(...) is deprecated in plain JavaScript React classes. %s",r[0],r[1])}})};for(var C in m)m.hasOwnProperty(C)&&h(C,m[C])}function S(){}S.prototype=l.prototype;function w(e,r,n){this.props=e,this.context=r,this.refs=u,this.updater=n||t}var E=w.prototype=new S;E.constructor=w,d(E,l.prototype),E.isPureReactComponent=!0;function x(){var e={current:null};return Object.seal(e),e}function Er(e,r,n){var a=r.displayName||r.name||"";return e.displayName||(a!==""?n+"("+a+")":n)}function Ie(e){return e.displayName||"Context"}function G(e){if(e==null)return null;if(typeof e.tag=="number"&&y("Received an unexpected object in getComponentName(). This is likely a bug in React. Please file an issue."),typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case o.Fragment:return"Fragment";case v:return"Portal";case o.Profiler:return"Profiler";case o.StrictMode:return"StrictMode";case o.Suspense:return"Suspense";case k:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case M:var r=e;return Ie(r)+".Consumer";case b:var n=e;return Ie(n._context)+".Provider";case j:return Er(e,e.render,"ForwardRef");case A:return G(e.type);case I:return G(e._render);case D:{var a=e,i=a._payload,f=a._init;try{return G(f(i))}catch{return null}}}return null}var fe=Object.prototype.hasOwnProperty,Ne={key:!0,ref:!0,__self:!0,__source:!0},Me,xe,Ee;Ee={};function Le(e){if(fe.call(e,"ref")){var r=Object.getOwnPropertyDescriptor(e,"ref").get;if(r&&r.isReactWarning)return!1}return e.ref!==void 0}function Ue(e){if(fe.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return e.key!==void 0}function br(e,r){var n=function(){Me||(Me=!0,y("%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)",r))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function Rr(e,r){var n=function(){xe||(xe=!0,y("%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)",r))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}function Cr(e){if(typeof e.ref=="string"&&W.current&&e.__self&&W.current.stateNode!==e.__self){var r=G(W.current.type);Ee[r]||(y('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',r,e.ref),Ee[r]=!0)}}var be=function(e,r,n,a,i,f,c){var s={$$typeof:_,type:e,key:r,ref:n,props:c,_owner:f};return s._store={},Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:i}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function wr(e,r,n){var a,i={},f=null,c=null,s=null,g=null;if(r!=null){Le(r)&&(c=r.ref,Cr(r)),Ue(r)&&(f=""+r.key),s=r.__self===void 0?null:r.__self,g=r.__source===void 0?null:r.__source;for(a in r)fe.call(r,a)&&!Ne.hasOwnProperty(a)&&(i[a]=r[a])}var O=arguments.length-2;if(O===1)i.children=n;else if(O>1){for(var T=Array(O),$=0;$<O;$++)T[$]=arguments[$+2];Object.freeze&&Object.freeze(T),i.children=T}if(e&&e.defaultProps){var L=e.defaultProps;for(a in L)i[a]===void 0&&(i[a]=L[a])}if(f||c){var N=typeof e=="function"?e.displayName||e.name||"Unknown":e;f&&br(i,N),c&&Rr(i,N)}return be(e,f,c,s,g,W.current,i)}function Or(e,r){var n=be(e.type,r,e.ref,e._self,e._source,e._owner,e.props);return n}function Pr(e,r,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a,i=d({},e.props),f=e.key,c=e.ref,s=e._self,g=e._source,O=e._owner;if(r!=null){Le(r)&&(c=r.ref,O=W.current),Ue(r)&&(f=""+r.key);var T;e.type&&e.type.defaultProps&&(T=e.type.defaultProps);for(a in r)fe.call(r,a)&&!Ne.hasOwnProperty(a)&&(r[a]===void 0&&T!==void 0?i[a]=T[a]:i[a]=r[a])}var $=arguments.length-2;if($===1)i.children=n;else if($>1){for(var L=Array($),N=0;N<$;N++)L[N]=arguments[N+2];i.children=L}return be(e.type,f,c,s,g,O,i)}function X(e){return typeof e=="object"&&e!==null&&e.$$typeof===_}var Fe=".",jr=":";function kr(e){var r=/[=:]/g,n={"=":"=0",":":"=2"},a=e.replace(r,function(i){return n[i]});return"$"+a}var Ve=!1,Sr=/\/+/g;function We(e){return e.replace(Sr,"$&/")}function Re(e,r){return typeof e=="object"&&e!==null&&e.key!=null?kr(""+e.key):r.toString(36)}function le(e,r,n,a,i){var f=typeof e;(f==="undefined"||f==="boolean")&&(e=null);var c=!1;if(e===null)c=!0;else switch(f){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case _:case v:c=!0}}if(c){var s=e,g=i(s),O=a===""?Fe+Re(s,0):a;if(Array.isArray(g)){var T="";O!=null&&(T=We(O)+"/"),le(g,r,T,"",function(yt){return yt})}else g!=null&&(X(g)&&(g=Or(g,n+(g.key&&(!s||s.key!==g.key)?We(""+g.key)+"/":"")+O)),r.push(g));return 1}var $,L,N=0,F=a===""?Fe:a+jr;if(Array.isArray(e))for(var he=0;he<e.length;he++)$=e[he],L=F+Re($,he),N+=le($,r,n,L,i);else{var ke=te(e);if(typeof ke=="function"){var lr=e;ke===lr.entries&&(Ve||q("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ve=!0);for(var pt=ke.call(lr),dr,vt=0;!(dr=pt.next()).done;)$=dr.value,L=F+Re($,vt++),N+=le($,r,n,L,i)}else if(f==="object"){var pr=""+e;throw Error("Objects are not valid as a React child (found: "+(pr==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":pr)+"). If you meant to render a collection of children, use an array instead.")}}return N}function de(e,r,n){if(e==null)return e;var a=[],i=0;return le(e,a,"","",function(f){return r.call(n,f,i++)}),a}function Tr(e){var r=0;return de(e,function(){r++}),r}function Ar(e,r,n){de(e,function(){r.apply(this,arguments)},n)}function $r(e){return de(e,function(r){return r})||[]}function Dr(e){if(!X(e))throw Error("React.Children.only expected to receive a single React element child.");return e}function Ir(e,r){r===void 0?r=null:r!==null&&typeof r!="function"&&y("createContext: Expected the optional second argument to be a function. Instead received: %s",r);var n={$$typeof:M,_calculateChangedBits:r,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null};n.Provider={$$typeof:b,_context:n};var a=!1,i=!1,f=!1;{var c={$$typeof:M,_context:n,_calculateChangedBits:n._calculateChangedBits};Object.defineProperties(c,{Provider:{get:function(){return i||(i=!0,y("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),n.Provider},set:function(s){n.Provider=s}},_currentValue:{get:function(){return n._currentValue},set:function(s){n._currentValue=s}},_currentValue2:{get:function(){return n._currentValue2},set:function(s){n._currentValue2=s}},_threadCount:{get:function(){return n._threadCount},set:function(s){n._threadCount=s}},Consumer:{get:function(){return a||(a=!0,y("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),n.Consumer}},displayName:{get:function(){return n.displayName},set:function(s){f||(q("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",s),f=!0)}}}),n.Consumer=c}return n._currentRenderer=null,n._currentRenderer2=null,n}var Nr=-1,Ce=0,Ye=1,Mr=2;function xr(e){if(e._status===Nr){var r=e._result,n=r(),a=e;a._status=Ce,a._result=n,n.then(function(i){if(e._status===Ce){var f=i.default;f===void 0&&y(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,i);var c=e;c._status=Ye,c._result=f}},function(i){if(e._status===Ce){var f=e;f._status=Mr,f._result=i}})}if(e._status===Ye)return e._result;throw e._result}function Lr(e){var r={_status:-1,_result:e},n={$$typeof:D,_payload:r,_init:xr};{var a,i;Object.defineProperties(n,{defaultProps:{configurable:!0,get:function(){return a},set:function(f){y("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."),a=f,Object.defineProperty(n,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return i},set:function(f){y("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."),i=f,Object.defineProperty(n,"propTypes",{enumerable:!0})}}})}return n}function Ur(e){e!=null&&e.$$typeof===A?y("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof e!="function"?y("forwardRef requires a render function but was given %s.",e===null?"null":typeof e):e.length!==0&&e.length!==2&&y("forwardRef render functions accept exactly two parameters: props and ref. %s",e.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),e!=null&&(e.defaultProps!=null||e.propTypes!=null)&&y("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var r={$$typeof:j,render:e};{var n;Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(a){n=a,e.displayName==null&&(e.displayName=a)}})}return r}var Fr=!1;function qe(e){return!!(typeof e=="string"||typeof e=="function"||e===o.Fragment||e===o.Profiler||e===H||e===o.StrictMode||e===o.Suspense||e===k||e===ee||Fr||typeof e=="object"&&e!==null&&(e.$$typeof===D||e.$$typeof===A||e.$$typeof===b||e.$$typeof===M||e.$$typeof===j||e.$$typeof===Z||e.$$typeof===I||e[0]===V))}function Vr(e,r){qe(e)||y("memo: The first argument must be a component. Instead received: %s",e===null?"null":typeof e);var n={$$typeof:A,type:e,compare:r===void 0?null:r};{var a;Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return a},set:function(i){a=i,e.displayName==null&&(e.displayName=i)}})}return n}function z(){var e=ne.current;if(e===null)throw 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://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`);return e}function Wr(e,r){var n=z();if(r!==void 0&&y("useContext() second argument is reserved for future use in React. Passing it is not supported. You passed: %s.%s",r,typeof r=="number"&&Array.isArray(arguments[2])?`
Did you call array.map(useContext)? Calling Hooks inside a loop is not supported. Learn more at https://reactjs.org/link/rules-of-hooks`:""),e._context!==void 0){var a=e._context;a.Consumer===e?y("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?"):a.Provider===e&&y("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return n.useContext(e,r)}function Yr(e){var r=z();return r.useState(e)}function qr(e,r,n){var a=z();return a.useReducer(e,r,n)}function zr(e){var r=z();return r.useRef(e)}function Hr(e,r){var n=z();return n.useEffect(e,r)}function Br(e,r){var n=z();return n.useLayoutEffect(e,r)}function Gr(e,r){var n=z();return n.useCallback(e,r)}function Kr(e,r){var n=z();return n.useMemo(e,r)}function Jr(e,r,n){var a=z();return a.useImperativeHandle(e,r,n)}function Xr(e,r){{var n=z();return n.useDebugValue(e,r)}}var se=0,ze,He,Be,Ge,Ke,Je,Xe;function Qe(){}Qe.__reactDisabledLog=!0;function Qr(){{if(se===0){ze=console.log,He=console.info,Be=console.warn,Ge=console.error,Ke=console.group,Je=console.groupCollapsed,Xe=console.groupEnd;var e={configurable:!0,enumerable:!0,value:Qe,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}se++}}function Zr(){{if(se--,se===0){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:d({},e,{value:ze}),info:d({},e,{value:He}),warn:d({},e,{value:Be}),error:d({},e,{value:Ge}),group:d({},e,{value:Ke}),groupCollapsed:d({},e,{value:Je}),groupEnd:d({},e,{value:Xe})})}se<0&&y("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var we=Y.ReactCurrentDispatcher,Oe;function pe(e,r,n){{if(Oe===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);Oe=a&&a[1]||""}return`
`+Oe+e}}var Pe=!1,ve;{var et=typeof WeakMap=="function"?WeakMap:Map;ve=new et}function Ze(e,r){if(!e||Pe)return"";{var n=ve.get(e);if(n!==void 0)return n}var a;Pe=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var f;f=we.current,we.current=null,Qr();try{if(r){var c=function(){throw Error()};if(Object.defineProperty(c.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(c,[])}catch(F){a=F}Reflect.construct(e,[],c)}else{try{c.call()}catch(F){a=F}e.call(c.prototype)}}else{try{throw Error()}catch(F){a=F}e()}}catch(F){if(F&&a&&typeof F.stack=="string"){for(var s=F.stack.split(`
`),g=a.stack.split(`
`),O=s.length-1,T=g.length-1;O>=1&&T>=0&&s[O]!==g[T];)T--;for(;O>=1&&T>=0;O--,T--)if(s[O]!==g[T]){if(O!==1||T!==1)do if(O--,T--,T<0||s[O]!==g[T]){var $=`
`+s[O].replace(" at new "," at ");return typeof e=="function"&&ve.set(e,$),$}while(O>=1&&T>=0);break}}}finally{Pe=!1,we.current=f,Zr(),Error.prepareStackTrace=i}var L=e?e.displayName||e.name:"",N=L?pe(L):"";return typeof e=="function"&&ve.set(e,N),N}function er(e,r,n){return Ze(e,!1)}function rt(e){var r=e.prototype;return!!(r&&r.isReactComponent)}function ye(e,r,n){if(e==null)return"";if(typeof e=="function")return Ze(e,rt(e));if(typeof e=="string")return pe(e);switch(e){case o.Suspense:return pe("Suspense");case k:return pe("SuspenseList")}if(typeof e=="object")switch(e.$$typeof){case j:return er(e.render);case A:return ye(e.type,r,n);case I:return er(e._render);case D:{var a=e,i=a._payload,f=a._init;try{return ye(f(i),r,n)}catch{}}}return""}var rr={},tr=Y.ReactDebugCurrentFrame;function me(e){if(e){var r=e._owner,n=ye(e.type,e._source,r?r.type:null);tr.setExtraStackFrame(n)}else tr.setExtraStackFrame(null)}function tt(e,r,n,a,i){{var f=Function.call.bind(Object.prototype.hasOwnProperty);for(var c in e)if(f(e,c)){var s=void 0;try{if(typeof e[c]!="function"){var g=Error((a||"React class")+": "+n+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw g.name="Invariant Violation",g}s=e[c](r,c,a,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(O){s=O}s&&!(s instanceof Error)&&(me(i),y("%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).",a||"React class",n,c,typeof s),me(null)),s instanceof Error&&!(s.message in rr)&&(rr[s.message]=!0,me(i),y("Failed %s type: %s",n,s.message),me(null))}}}function Q(e){if(e){var r=e._owner,n=ye(e.type,e._source,r?r.type:null);ae(n)}else ae(null)}var je;je=!1;function nr(){if(W.current){var e=G(W.current.type);if(e)return`
Check the render method of \``+e+"`."}return""}function nt(e){if(e!==void 0){var r=e.fileName.replace(/^.*[\\\/]/,""),n=e.lineNumber;return`
Check your code at `+r+":"+n+"."}return""}function at(e){return e!=null?nt(e.__source):""}var ar={};function ot(e){var r=nr();if(!r){var n=typeof e=="string"?e:e.displayName||e.name;n&&(r=`
Check the top-level render call using <`+n+">.")}return r}function or(e,r){if(!(!e._store||e._store.validated||e.key!=null)){e._store.validated=!0;var n=ot(r);if(!ar[n]){ar[n]=!0;var a="";e&&e._owner&&e._owner!==W.current&&(a=" It was passed a child from "+G(e._owner.type)+"."),Q(e),y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,a),Q(null)}}}function ur(e,r){if(typeof e=="object"){if(Array.isArray(e))for(var n=0;n<e.length;n++){var a=e[n];X(a)&&or(a,r)}else if(X(e))e._store&&(e._store.validated=!0);else if(e){var i=te(e);if(typeof i=="function"&&i!==e.entries)for(var f=i.call(e),c;!(c=f.next()).done;)X(c.value)&&or(c.value,r)}}}function ir(e){{var r=e.type;if(r==null||typeof r=="string")return;var n;if(typeof r=="function")n=r.propTypes;else if(typeof r=="object"&&(r.$$typeof===j||r.$$typeof===A))n=r.propTypes;else return;if(n){var a=G(r);tt(n,e.props,"prop",a,e)}else if(r.PropTypes!==void 0&&!je){je=!0;var i=G(r);y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",i||"Unknown")}typeof r.getDefaultProps=="function"&&!r.getDefaultProps.isReactClassApproved&&y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ut(e){{for(var r=Object.keys(e.props),n=0;n<r.length;n++){var a=r[n];if(a!=="children"&&a!=="key"){Q(e),y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",a),Q(null);break}}e.ref!==null&&(Q(e),y("Invalid attribute `ref` supplied to `React.Fragment`."),Q(null))}}function sr(e,r,n){var a=qe(e);if(!a){var i="";(e===void 0||typeof e=="object"&&e!==null&&Object.keys(e).length===0)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var f=at(r);f?i+=f:i+=nr();var c;e===null?c="null":Array.isArray(e)?c="array":e!==void 0&&e.$$typeof===_?(c="<"+(G(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):c=typeof e,y("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",c,i)}var s=wr.apply(this,arguments);if(s==null)return s;if(a)for(var g=2;g<arguments.length;g++)ur(arguments[g],e);return e===o.Fragment?ut(s):ir(s),s}var cr=!1;function it(e){var r=sr.bind(null,e);return r.type=e,cr||(cr=!0,q("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(r,"type",{enumerable:!1,get:function(){return q("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),r}function st(e,r,n){for(var a=Pr.apply(this,arguments),i=2;i<arguments.length;i++)ur(arguments[i],a.type);return ir(a),a}try{var fr=Object.freeze({})}catch{}var ct=sr,ft=st,lt=it,dt={map:de,forEach:Ar,count:Tr,toArray:$r,only:Dr};o.Children=dt,o.Component=l,o.PureComponent=w,o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Y,o.cloneElement=ft,o.createContext=Ir,o.createElement=ct,o.createFactory=lt,o.createRef=x,o.forwardRef=Ur,o.isValidElement=X,o.lazy=Lr,o.memo=Vr,o.useCallback=Gr,o.useContext=Wr,o.useDebugValue=Xr,o.useEffect=Hr,o.useImperativeHandle=Jr,o.useLayoutEffect=Br,o.useMemo=Kr,o.useReducer=qr,o.useRef=zr,o.useState=Yr,o.version=P}()}(Te)),Te}process.env.NODE_ENV==="production"?$e.exports=gt():$e.exports=_t();var _e=$e.exports;const _r=gr(_e),Et=mt({__proto__:null,default:_r},[_e]);function bt(o,d){var P;const _=o;var v;return!!(!(_==null||(P=_.ownerDocument)===null||P===void 0)&&P.defaultView&&_ instanceof _.ownerDocument.defaultView[(v=d==null?void 0:d.constructorName)!==null&&v!==void 0?v:"HTMLElement"])}const Rt=o=>!!(typeof o=="object"&&o&&ge in o),Ct=o=>o==null?void 0:o[ge],wt=(o,d)=>Object.assign(o,{[ge]:d}),Ot=o=>{const d=[],P=JSON.parse(JSON.stringify(o,(_,v)=>{if(bt(v)){const b=d.push(v)-1;return`${hr}${b}`}return typeof v=="object"&&v&&Object.getPrototypeOf(v)!==Object.prototype&&Object.getPrototypeOf(v)!==Array.prototype?"toString"in v?v.toString():void 0:v}));return{references:d.reduce((_,v,b)=>({..._,[b]:v}),{}),serializedData:P}},Pt=()=>{const o={selectedElement:null,select:d=>{if(Rt(d))return o.selectedElement=d,o.selectedElement;if(o.selectedElement){const P=Ct(o.selectedElement);if(P.type==="middleware"&&Object.values(P.references).includes(d))return o.selectedElement}return o.withdraw(),o.selectedElement},withdraw:()=>{o.selectedElement=null}};return o},jt=o=>{o.defaultView&&(o.defaultView[Ae]||(o.defaultView[Ae]=Pt()))},kt=o=>({...o,type:"FloatingUIMiddleware"});_e.lazy(()=>Promise.resolve().then(()=>require("./FloatingUIMiddleware-bc2bee09.cjs")));const St=(o,d=kt)=>({name:"floating-ui-devtools",fn:P=>(jt(o),wt(P.elements.floating,{type:"middleware",...Ot(d(P))}),{})});exports.CONTROLLER=Ae;exports.ELEMENT_METADATA=ge;exports.HTML_REFERENCE=hr;exports.React=Et;exports.React$1=_r;exports.commonjsGlobal=ht;exports.getDefaultExportFromCjs=gr;exports.middleware=St;exports.reactExports=_e;exports.requireObjectAssign=De;

Sorry, the diff of this file is too big to display